/* Zaryon — professional storefront polish (2026) */
body.pm-sf {
  --pm-sf-bg: #f0f3f8;
  --pm-sf-card: #ffffff;
  --pm-sf-border: rgba(15, 23, 42, 0.08);
  --pm-sf-radius: 18px;
  --pm-sf-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --pm-sf-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.05);
}

body.pm-sf .pm-page-container {
  max-width: 1240px;
}

body.pm-sf-page-content .pm-page-container,
body.pm-sf .pm-sf-shell {
  background: transparent;
}

/* —— Hero (content pages) —— */
.pm-sf-shell {
  padding-bottom: 2rem;
}

.pm-sf-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #334155 100%);
  border-radius: var(--pm-sf-radius);
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--pm-sf-shadow);
}

.pm-sf-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248, 86, 6, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.pm-sf-hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.pm-sf-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.pm-sf-hero__sub {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.pm-sf-hero--compact {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
}

/* —— Cards —— */
.pm-sf-card {
  background: var(--pm-sf-card);
  border: 1px solid var(--pm-sf-border);
  border-radius: var(--pm-sf-radius);
  box-shadow: var(--pm-sf-shadow-sm);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.pm-sf-card__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 1.35rem 0;
}

.pm-sf-card__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(248, 86, 6, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pm-sf-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pm-sf-card__body {
  padding: 1rem 1.35rem 1.35rem;
}

.pm-sf-card__head + .pm-sf-card__body {
  padding-top: 0.75rem;
}

.pm-sf-muted {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Steps */
.pm-sf-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pm-sf-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pm-sf-step__num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff7a2e, #f85606);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(248, 86, 6, 0.3);
}

.pm-sf-step__title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.pm-sf-step__text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

/* Sidebar */
.pm-sf-aside .pm-sf-card {
  position: sticky;
  top: 88px;
}

.pm-sf-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pm-sf-btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.pm-sf-btn--primary {
  background: linear-gradient(180deg, #ff7a2e, #f85606);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(248, 86, 6, 0.28);
}

.pm-sf-btn--primary:hover {
  transform: translateY(-1px);
  color: #fff !important;
}

.pm-sf-btn--outline {
  border: 1.5px solid #e2e8f0;
  color: #0f172a !important;
  background: #fff;
}

.pm-sf-btn--ghost {
  color: #64748b !important;
  background: #f8fafc;
}

/* Accordion on content pages */
body.pm-sf-page-content .accordion-item {
  border: 1px solid var(--pm-sf-border);
  border-radius: 12px !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

body.pm-sf-page-content .accordion-button {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem 1.15rem;
}

body.pm-sf-page-content .accordion-button:not(.collapsed) {
  background: rgba(248, 86, 6, 0.08);
  color: var(--pm-primary, #f85606);
  box-shadow: none;
}

/* Legacy page head → match hero when inside sf */
body.pm-sf .pm-page-head {
  background: linear-gradient(135deg, #0f172a, #334155);
  border-radius: var(--pm-sf-radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: none;
}

body.pm-sf .pm-page-title {
  color: #fff !important;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.pm-sf .pm-page-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.pm-sf-page-content .card:not(.pm-sf-card) {
  border: 1px solid var(--pm-sf-border);
  border-radius: var(--pm-sf-radius);
  box-shadow: var(--pm-sf-shadow-sm);
}

/* —— Shop —— */
body.pm-sf-shop .pm-shop-hero {
  border: none;
  box-shadow: var(--pm-sf-shadow);
}

body.pm-sf-shop .pm-shop-tabs-wrap {
  border-radius: 14px;
  margin-bottom: 1.25rem;
  box-shadow: var(--pm-sf-shadow-sm);
  border: 1px solid var(--pm-sf-border);
}

body.pm-sf-shop .pm-product-card {
  border-radius: 16px;
  border: 1px solid var(--pm-sf-border);
  box-shadow: var(--pm-sf-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

body.pm-sf-shop .pm-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

/* —— Cart —— */
body.pm-sf-cart .pm-cart-layout .pm-cart-line,
body.pm-sf-cart .card.pm-cart-summary {
  border-radius: var(--pm-sf-radius);
  border: 1px solid var(--pm-sf-border);
  box-shadow: var(--pm-sf-shadow-sm);
}

body.pm-sf-cart .pm-cart-summary {
  position: sticky;
  top: 88px;
}

body.pm-sf-cart h1.h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* —— Categories —— */
body.pm-sf-categories .pm-catx-wrap {
  padding-bottom: 1rem;
}

body.pm-sf-categories .pm-catx-card {
  border-radius: 16px;
  border: 1px solid var(--pm-sf-border);
  box-shadow: var(--pm-sf-shadow-sm);
  background: #fff;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body.pm-sf-categories .pm-catx-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 86, 6, 0.35);
  box-shadow: 0 10px 28px rgba(248, 86, 6, 0.12);
}

body.pm-sf-categories .pm-catx-search .form-control {
  border-radius: 12px;
  min-height: 46px;
}

/* —— Store / vendor —— */
body.pm-sf-store .pm-store-page .pm-store-hero,
body.pm-sf-store .pm-store-banner {
  border-radius: var(--pm-sf-radius);
  overflow: hidden;
  box-shadow: var(--pm-sf-shadow);
}

body.pm-sf-store .pm-store-tabs {
  border-radius: 14px;
  background: #fff;
  padding: 0.35rem;
  border: 1px solid var(--pm-sf-border);
  box-shadow: var(--pm-sf-shadow-sm);
}

/* —— Deals —— */
body.pm-sf-deals .pm-hscroll {
  padding-bottom: 8px;
}

body.pm-sf-deals .pm-hitem .pm-product-card {
  border-radius: 14px;
  box-shadow: var(--pm-sf-shadow-sm);
}

body.pm-sf-deals .pm-chip.active {
  background: var(--pm-primary, #f85606);
  border-color: var(--pm-primary, #f85606);
  color: #fff;
}

/* —— Wishlist —— */
body.pm-sf-wishlist .pm-empty-state {
  border-radius: var(--pm-sf-radius);
  padding: 3rem 2rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  text-align: center;
}

body.pm-sf-wishlist .pm-product-card {
  border-radius: 16px;
  box-shadow: var(--pm-sf-shadow-sm);
}

/* —— About (polish.css synergy) —— */
body.pm-sf-about .pm-about-hero {
  border-radius: var(--pm-sf-radius);
  box-shadow: var(--pm-sf-shadow);
}

body.pm-sf-about .pm-about-card,
body.pm-sf-about .pm-about-pillar {
  border-radius: var(--pm-sf-radius);
  border: 1px solid var(--pm-sf-border);
  box-shadow: var(--pm-sf-shadow-sm);
}

/* —— Stores list —— */
body.pm-sf-stores .hover-lift {
  border-radius: var(--pm-sf-radius);
  border: 1px solid var(--pm-sf-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

body.pm-sf-stores .hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--pm-sf-shadow);
}

/* —— PDP extras —— */
body.pm-sf-pdp.pm-pdp-page .breadcrumb {
  font-size: 0.8125rem;
}

@media (max-width: 991.98px) {
  .pm-sf-aside .pm-sf-card {
    position: static;
  }

  .pm-sf-hero {
    padding: 1.35rem 1.25rem;
  }
}
