/* FitRoniX public site — mockup v1 (dark · neon orange · cyan) */
@import url('fonts/shabnam.css');

:root {
  --bg: #0b0b0e;
  --bg2: #12121a;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(255,77,0,0.35);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --dim: #71717a;
  --orange: #ff4d00;
  --orange2: #ff6600;
  --cyan: #00d1ff;
  --cyan-dim: rgba(0,209,255,0.15);
  --orange-dim: rgba(255,77,0,0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1200px;
  --site-max-wide: 1676px;
  --site-container-pad: 20px;
  --header-h: 72px;
  --glass: rgba(18,18,24,0.72);
  --glow-o: 0 0 24px rgba(255,77,0,0.35);
  --glow-c: 0 0 24px rgba(0,209,255,0.25);
  --brand-logo-c1: #f05a5e;
  --brand-logo-c2: #ff8c5a;
  --brand-logo-sub: #b3b3b3;
  --brand-logo-bg: #2c2c2c;
  --site-font: Shabnam, Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-family: var(--site-font);
}
body.site-body {
  margin: 0;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea {
  font-family: inherit;
}

.site-wrap { position: relative; min-height: 100vh; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: rgba(11,11,14,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  width: 100%; max-width: var(--max);
  display: flex; align-items: center; gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo-text {
  font-size: 1.35rem; font-weight: 800;
  background: linear-gradient(90deg, var(--brand-logo-c1), var(--brand-logo-c2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-logo-sub {
  font-size: 11px;
  color: var(--brand-logo-sub);
  display: block;
  margin-top: 1px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav {
  flex: 1; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap;
}
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.site-header-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.site-btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid rgba(255,255,255,0.12);
}
.site-btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.site-btn-panel.on {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,209,255,0.08);
}
.site-cart-btn--empty { opacity: 0.5; }
.site-cart-btn--has { opacity: 1; box-shadow: var(--glow-o); }
.site-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-family: inherit;
  font-size: 13px; font-weight: 600; text-decoration: none; border: none;
  cursor: pointer; transition: transform .12s, box-shadow .2s;
}
.site-btn:active { transform: scale(.97); }
.site-btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.site-btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.site-btn-primary {
  background: linear-gradient(135deg, var(--orange), #e64500);
  color: #fff; box-shadow: var(--glow-o);
}
.site-btn-primary:hover { box-shadow: 0 0 32px rgba(255,77,0,0.5); }
.site-btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #0b0b0e; box-shadow: var(--glow-c);
}
.site-menu-btn {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer;
}

/* ── Hero ── */
.site-hero {
  position: relative;
  min-height: min(92vh, 920px);
  padding: calc(var(--header-h) + 40px) 24px 60px;
  display: flex; align-items: center;
  overflow: hidden;
}
.site-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(115deg, rgba(11,11,14,0.94) 0%, rgba(11,11,14,0.72) 45%, rgba(11,11,14,0.55) 100%),
    linear-gradient(180deg, rgba(255,77,0,0.08) 0%, transparent 50%, rgba(0,209,255,0.06) 100%),
    url('../images/hero-gym-bg.svg') center center / cover no-repeat;
}
.site-hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
}
.site-hero-glow--o { width: 420px; height: 420px; top: 10%; left: 5%; background: rgba(255,77,0,0.12); }
.site-hero-glow--c { width: 320px; height: 320px; bottom: 15%; right: 10%; background: rgba(0,209,255,0.08); }
.site-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center;
}
.site-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
  font-size: 12px; font-weight: 600; color: var(--orange);
  background: rgba(255,77,0,0.1); border: 1px solid rgba(255,77,0,0.35);
}
.site-hero-copy h1 {
  margin: 0 0 16px; font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 800; line-height: 1.28;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.site-hero-copy h1 span {
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-hero-lead {
  margin: 0 0 24px; color: var(--muted); font-size: 15px; max-width: 32em; line-height: 1.75;
}
.site-hero-stats {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
}
.site-hero-stat {
  flex: 1 1 100px; min-width: 100px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  text-align: center;
}
.site-hero-stat-val {
  display: block; font-size: 1.35rem; font-weight: 800; color: var(--cyan);
  line-height: 1.2; margin-bottom: 4px;
}
.site-hero-stat-lbl { font-size: 11px; color: var(--dim); }
.site-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.site-btn-lg { padding: 14px 26px; font-size: 14px; }

.site-hero-visual { display: flex; flex-direction: column; gap: 16px; }

.site-hero-form {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: calc(var(--radius) + 4px);
  padding: 22px 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.site-hero-form-head { margin-bottom: 16px; }
.site-hero-form h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.site-hero-form .sub { margin: 0; font-size: 12px; color: var(--dim); }
.site-hero-form-note {
  margin: 12px 0 0; font-size: 11px; color: var(--dim); text-align: center;
}
.site-field { margin-bottom: 14px; }
.site-field label {
  display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px;
}
.site-field input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.35);
  color: var(--text); font-family: inherit; font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.site-field input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.site-hero-form .site-btn { width: 100%; margin-top: 4px; padding: 13px; }

/* ── Services strip (classic) ── */
.site-services {
  padding: 0 24px 48px; margin-top: -32px; position: relative; z-index: 2;
}
.site-services-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.site-svc-card {
  display: block; text-decoration: none; color: inherit;
  padding: 20px 16px; border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.site-svc-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--glow-o);
}
.site-svc-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--orange-dim), var(--cyan-dim));
  border: 1px solid rgba(255,255,255,0.06);
}
.site-svc-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.site-svc-card p { margin: 0; font-size: 11px; color: var(--dim); line-height: 1.5; }
.site-svc-more {
  display: inline-block; margin-top: 10px; font-size: 11px;
  color: var(--cyan); font-weight: 600;
}

/* ── Section common ── */
.site-section {
  padding: 64px 24px;
  position: relative;
}
.site-section.alt { background: rgba(255,255,255,0.02); }
.site-section-inner { max-width: var(--max); margin: 0 auto; }
.site-sec-title {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 40px; text-align: right;
}
.site-sec-num {
  flex-shrink: 0; width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800; color: var(--orange);
  border-radius: 12px; background: var(--orange-dim);
  border: 1px solid rgba(255,77,0,0.35);
}
.site-sec-title-text { flex: 1; min-width: 0; }
.site-sec-title-text h2 {
  margin: 0 0 8px; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800;
  position: relative; display: block;
}
.site-sec-title-text h2::after {
  content: ''; display: block; width: 48px; height: 3px; margin-top: 10px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}
.site-sec-title-text p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.site-sec-cta { flex-shrink: 0; align-self: center; font-size: 12px; }

/* ── Process timeline ── */
.site-process-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.site-step-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-step-node {
  display: flex; align-items: center; width: 100%; margin-bottom: 14px;
}
.site-step-num {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  background: var(--bg2); border: 2px solid var(--orange);
  box-shadow: var(--glow-o); color: var(--orange);
}
.site-step-item:nth-child(even) .site-step-num {
  border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-c);
}
.site-step-line {
  flex: 1; height: 3px; margin: 0 4px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: 2px; opacity: 0.5;
}
.site-step-content {
  padding: 16px 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  width: 100%; min-height: 88px;
}
.site-step-content h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.site-step-content p { margin: 0; font-size: 11px; color: var(--dim); line-height: 1.55; }

/* ── Training cards ── */
.site-plans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.site-plan-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg2); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.site-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-o);
  border-color: var(--border-glow);
}
.site-plan-card.site-plan-preview-on,
.site-diet-card.site-plan-preview-on {
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}
.site-plan-img {
  height: 180px; background-size: cover; background-position: center;
  position: relative;
}
.site-plan-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,14,0.85) 100%);
  pointer-events: none;
}
.site-plan-img.bodybuilding { background: linear-gradient(135deg, #1a1a2e, #ff4d0044), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="60" x="30" font-size="40">🏋</text></svg>') center/50% no-repeat; }
.site-plan-img.has-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.site-plan-img.fatloss { background: linear-gradient(135deg, #1a2e1a, #00d1ff33); }
.site-plan-img.crossfit { background: linear-gradient(135deg, #2e1a1a, #ff4d0033); }
.site-plan-img.home { background: linear-gradient(135deg, #1a1a2e, #00d1ff22); }
.site-plan-badges {
  position: absolute; top: 10px; right: 10px; left: 10px;
  display: flex; flex-wrap: wrap; gap: 6px; z-index: 2;
}
.site-plan-badge {
  padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: rgba(11,11,14,0.85); border: 1px solid rgba(255,77,0,0.4); color: var(--orange);
  backdrop-filter: blur(8px);
}
.site-plan-badge--cyan { border-color: rgba(0,209,255,0.4); color: var(--cyan); }
.site-plan-body { padding: 16px; }
.site-plan-body h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.site-plan-meta {
  list-style: none; margin: 0 0 14px; padding: 0; font-size: 12px;
  display: grid; gap: 6px;
}
.site-plan-meta li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.site-plan-meta-k { color: var(--dim); }
.site-plan-meta-v { color: var(--text); font-weight: 600; }
.site-plan-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 4px;
}
.site-plan-price { font-size: 14px; color: var(--cyan); font-weight: 800; }
.site-plan-price small { font-size: 11px; color: var(--dim); font-weight: 500; }
.site-plan-card .site-btn { font-size: 12px; padding: 10px 16px; flex-shrink: 0; }

/* ── Diet cards ── */
.site-diet-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.site-empty-plans {
  grid-column: 1 / -1;
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
}
.site-empty-plans p { margin: 0 0 6px; }
.site-diet-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: stretch;
  padding: 20px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.site-diet-card:hover { border-color: rgba(0,209,255,0.35); box-shadow: var(--glow-c); }
.site-diet-visual {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.site-diet-chart {
  width: 100px; height: 100px; border-radius: 50%;
  position: relative; display: grid; place-items: center; flex-shrink: 0;
}
.site-diet-chart-inner {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
  font-size: 10px; font-weight: 700; text-align: center; line-height: 1.3;
}
.site-diet-meal {
  width: 100%; height: 72px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e3a2f, #2d5a3d);
  display: grid; place-items: center; font-size: 32px;
}
.site-diet-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.site-diet-tag {
  padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(255,77,0,0.3);
}
.site-diet-tag--goal { background: var(--cyan-dim); color: var(--cyan); border-color: rgba(0,209,255,0.3); }
.site-diet-info h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.site-diet-info p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.site-diet-macro {
  display: flex; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--muted);
}
.site-diet-macro strong { color: var(--text); }
.site-diet-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.site-diet-price { font-weight: 800; font-size: 15px; color: var(--text); }
.site-diet-price small { font-size: 11px; color: var(--dim); font-weight: 500; }
.site-diet-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.site-diet-actions .site-btn-sm { font-size: 12px; padding: 8px 14px; }

/* ── Pricing ── */
.site-pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch;
}
.site-price-card {
  padding: 24px 20px; border-radius: var(--radius);
  background: var(--bg2); border: 1px solid var(--border);
  text-align: center; display: flex; flex-direction: column;
  transition: transform .2s;
}
.site-price-card.featured {
  border: 2px solid var(--orange);
  box-shadow: var(--glow-o), 0 0 60px rgba(255,77,0,0.15);
  transform: scale(1.04);
  z-index: 1;
}
.site-price-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; margin-bottom: 12px;
  background: var(--orange-dim); color: var(--orange); border: 1px solid var(--orange);
}
.site-price-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.site-price-val {
  font-size: 1.5rem; font-weight: 800; color: var(--cyan); margin-bottom: 16px;
}
.site-price-val small { font-size: 12px; color: var(--dim); font-weight: 500; }
.site-price-features {
  list-style: none; margin: 0 0 20px; padding: 0; flex: 1;
  text-align: right; font-size: 12px; color: var(--muted);
}
.site-price-features li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.site-price-features li::before { content: '✓ '; color: var(--orange); }

/* ── Shop ── */
.site-shop-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px;
}
.site-shop-tab {
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.site-shop-tab.on, .site-shop-tab:hover {
  background: var(--orange-dim); border-color: var(--orange); color: var(--orange);
}
.site-shop-search {
  max-width: 400px; margin: 0 auto 28px; position: relative;
}
.site-shop-search input {
  width: 100%; padding: 12px 44px 12px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.4);
  color: var(--text); font-family: inherit; font-size: 13px;
}
.site-shop-search input:focus { outline: none; border-color: var(--cyan); }
.site-shop-search span {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--dim); pointer-events: none;
}
.site-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.site-product-card {
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--bg2); border: 1px solid var(--border);
  text-align: center; transition: border-color .2s, box-shadow .2s;
}
.site-product-card:hover { border-color: rgba(255,77,0,0.3); box-shadow: var(--glow-o); }
.site-product-img {
  height: 200px; margin-bottom: 12px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.22));
  display: grid; place-items: center; font-size: 48px;
  overflow: hidden; text-decoration: none; color: inherit;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.site-product-img .shop-product-photo {
  width: 100%; height: 100%; max-height: 172px;
  object-fit: contain; object-position: center; display: block;
}
.site-product-card h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.site-product-price { color: var(--cyan); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.site-product-price.sale { color: #f97316; }
.site-product-price-box { position: relative; margin-bottom: 12px; min-height: 42px; }
.site-product-price-old {
  display: block; font-size: 11px; color: var(--dim); text-decoration: line-through; margin-bottom: 2px;
}
.site-product-discount-badge {
  position: absolute; left: 0; top: 0; font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 999px; background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.35);
}
.site-product-sale-ribbon {
  position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 9px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; background: var(--orange); color: #fff;
}
.site-product-card.on-sale { border-color: rgba(255,77,0,0.25); }
.site-product-card .site-btn { width: 100%; font-size: 11px; padding: 9px; }
.site-shop-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 8px;
}
.site-shop-head .site-shop-tabs { margin-bottom: 0; justify-content: flex-start; }
.site-shop-all { font-size: 12px; padding: 8px 14px; white-space: nowrap; }

/* ── Shop page (full) ── */
.shop-page .shop-main { padding-top: var(--header-h); }
.shop-hero {
  padding: 32px 24px 24px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,77,0,0.06) 0%, transparent 100%);
}
.shop-hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.shop-hero-badge {
  display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--orange-dim); color: var(--orange); margin-bottom: 10px;
}
.shop-hero h1 { margin: 0 0 8px; font-size: 1.75rem; font-weight: 800; }
.shop-hero p { margin: 0; color: var(--muted); font-size: 14px; max-width: 520px; }
.shop-hero-stats { display: flex; gap: 20px; }
.shop-stat {
  text-align: center; padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--bg2); border: 1px solid var(--border); min-width: 72px;
}
.shop-stat strong { display: block; font-size: 1.25rem; color: var(--cyan); }
.shop-stat span { font-size: 11px; color: var(--dim); }

.shop-layout {
  max-width: var(--max); margin: 0 auto; padding: 24px 16px 48px;
  display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start;
}
.shop-filter-card {
  position: relative;
  padding: 18px; border-radius: var(--radius); background: var(--bg2);
  border: 1px solid var(--border);
}
.shop-page .shop-filter-card {
  padding: 0;
}
.shop-filter-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.shop-filter-head h3 { margin: 0; font-size: 14px; }
.shop-filter-reset {
  background: none; border: none; color: var(--cyan); font-size: 11px;
  cursor: pointer; font-family: inherit; padding: 4px 8px;
}
.shop-filter-block { margin-bottom: 18px; }
.shop-filter-label { display: block; font-size: 11px; font-weight: 600; color: var(--dim); margin-bottom: 8px; }
.shop-filter-search { max-width: none; margin: 0; }
.shop-cat-checks, .shop-brand-checks { display: flex; flex-direction: column; gap: 6px; max-height: 140px; overflow-y: auto; }
.shop-check {
  display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; color: var(--muted);
}
.shop-check input { accent-color: var(--orange); }
.shop-price-range { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.shop-price-input {
  flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.35);
  color: var(--text); font-family: inherit; font-size: 12px;
}
.shop-range { width: 100%; accent-color: var(--orange); margin-top: 4px; }
.shop-range-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); margin-top: 4px; }
.shop-filter-toggle { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.shop-filter-toggle input { accent-color: var(--orange); }

.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.shop-results-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.shop-toolbar-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shop-sort-select {
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg2); color: var(--text); font-family: inherit; font-size: 12px;
}
.shop-view-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg2); color: var(--muted); cursor: pointer; font-family: inherit;
}
.shop-view-btn.on { border-color: var(--cyan); color: var(--cyan); background: rgba(0,209,255,0.08); }
.shop-mobile-filter-btn {
  display: none; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg2); color: var(--text); font-family: inherit; font-size: 12px; cursor: pointer;
}
.shop-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; min-height: 0; }
.shop-filter-chip {
  padding: 5px 12px; border-radius: 999px; font-size: 11px;
  border: 1px solid var(--border); background: rgba(255,77,0,0.08);
  color: var(--orange); cursor: pointer; font-family: inherit;
}
.shop-products-grid { margin-bottom: 32px; }
.shop-grid-more-wrap {
  display: flex;
  justify-content: center;
  margin: -12px 0 32px;
}
.shop-grid-more-btn {
  min-width: 220px;
  padding: 12px 24px;
}
.shop-product-card { text-align: right; }
.shop-product-card.out-of-stock { opacity: 0.65; }
.shop-product-body { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.shop-product-cat { font-size: 10px; color: var(--cyan); font-weight: 600; }
.shop-product-brand { font-size: 11px; color: var(--dim); margin-bottom: 4px; }
.shop-oos-tag {
  display: block; padding: 9px; border-radius: 8px; font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px dashed var(--border); color: var(--dim); text-align: center;
}
.shop-list-view { grid-template-columns: 1fr !important; }
.shop-offers-section { margin-top: 8px; }
.site-nav a.on { color: var(--orange); }

/* ── Shop categories + product page ── */
.shop-categories-section { padding: 20px 16px 32px; border-bottom: 1px solid var(--border); }
.shop-cat-browse { max-width: var(--max); margin: 0 auto; }
.shop-cat-browse-title {
  margin: 0 0 28px; font-size: 1.15rem; font-weight: 700; text-align: center; color: var(--text);
}
.shop-cat-browse-grid {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 28px 16px;
  justify-items: center;
}
@media (max-width: 1100px) {
  .shop-cat-browse-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 720px) {
  .shop-cat-browse-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 10px; }
}
.shop-cat-bubble {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border: none; background: transparent; cursor: pointer; font-family: inherit;
  color: inherit; padding: 0; width: 100%; max-width: 108px;
  transition: transform .2s ease;
}
.shop-cat-bubble:hover { transform: translateY(-3px); }
.shop-cat-bubble-ring {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 55%, rgba(0,0,0,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center; position: relative;
  overflow: visible; transition: box-shadow .2s, border-color .2s;
}
.shop-cat-bubble.is-sub .shop-cat-bubble-ring { width: 76px; height: 76px; }
.shop-cat-bubble:hover .shop-cat-bubble-ring {
  border-color: rgba(255,77,0,0.45);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,77,0,0.12);
}
.shop-cat-bubble-visual {
  display: grid; place-items: center; width: 100%; height: 100%;
  pointer-events: none;
}
.shop-cat-bubble-emoji {
  font-size: 44px; line-height: 1; display: block;
  transform: translateY(-10px) scale(1.05);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45));
}
.shop-cat-bubble.is-sub .shop-cat-bubble-emoji { font-size: 34px; transform: translateY(-8px); }
.shop-cat-bubble-img {
  width: 78px; height: 78px; object-fit: contain; object-position: center bottom;
  transform: translateY(-12px);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.5));
}
.shop-cat-bubble.is-sub .shop-cat-bubble-img { width: 62px; height: 62px; transform: translateY(-10px); }
.shop-cat-bubble-label {
  font-size: 11px; font-weight: 500; color: var(--muted); text-align: center;
  line-height: 1.45; max-width: 100px; transition: color .15s;
}
.shop-cat-bubble:hover .shop-cat-bubble-label { color: var(--text); }
.shop-cat-title { margin: 0; font-size: 1.1rem; }
.shop-categories-inner { max-width: var(--max); margin: 0 auto; }
.shop-categories-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.shop-category-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg2);
  cursor: pointer; font-family: inherit; color: inherit; transition: border-color .15s, transform .15s;
}
.shop-category-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.shop-category-icon { font-size: 28px; }
.shop-cat-filter-group { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.shop-cat-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.shop-check-main { font-weight: 600; margin-bottom: 4px; }
.shop-check-sub { padding-right: 14px; font-size: 12px; color: var(--muted); }
.product-badge { position: absolute; top: 8px; right: 8px; font-size: 9px; padding: 3px 8px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; }
.site-product-img { position: relative; }
.product-card-link { text-decoration: none; color: inherit; }
.product-rating { font-size: 11px; color: #fbbf24; margin-bottom: 6px; }
.product-old-price { text-decoration: line-through; color: var(--dim); font-size: 11px; margin-left: 6px; }
.product-breadcrumb { font-size: 12px; color: var(--dim); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.product-breadcrumb a { color: var(--cyan); text-decoration: none; }
.product-page .product-main { padding-top: calc(var(--header-h) + var(--commerce-subnav-h, 44px)); padding-bottom: 48px; overflow-x: clip; }
.product-page-inner { max-width: var(--site-max-wide); margin-inline: auto; padding-inline: var(--site-container-pad, 20px); width: 100%; box-sizing: border-box; }

/* ── Digikala-style product hero ── */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 42%) minmax(0, 1fr) minmax(280px, 300px);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.product-col-gallery {
  display: block;
  min-width: 0;
  position: relative;
}
.product-col-gallery .product-gallery { flex: 1; min-width: 0; }
.product-gallery-actions {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0; flex-shrink: 0; align-items: center;
}
.product-action-btn {
  width: 28px; height: 28px; padding: 0; border: none; border-radius: 0;
  background: transparent; color: #81858b; cursor: pointer;
  display: grid; place-items: center; transition: color .15s;
}
.product-action-btn:hover { color: var(--orange); }
.product-action-btn svg { display: block; }
.product-gallery-main {
  min-height: 460px;
  aspect-ratio: 1;
  border-radius: 0;
  background: #fff;
  border: none;
  overflow: hidden;
  position: relative;
}
.product-zoom-wrap { width: 100%; height: 100%; position: relative; }
.product-zoom-stage {
  width: 100%; height: 100%; min-height: 360px; position: relative;
  display: grid; place-items: center; cursor: crosshair;
}
.product-zoom-stage.zooming .product-zoom-img { opacity: 0.35; }
.product-zoom-lens {
  position: absolute; border: 2px solid var(--orange);
  background: rgba(255,77,0,0.08); pointer-events: none; z-index: 2;
  border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.product-zoom-result {
  position: absolute; top: 0; inset-inline-end: calc(100% + 12px); inset-inline-start: auto;
  width: min(320px, 38vw); height: 100%; min-height: 360px; border-radius: var(--radius);
  border: 1px solid var(--border); background-color: #fff;
  background-repeat: no-repeat; z-index: 25; pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.product-page .product-zoom-result { display: none !important; }
.product-gallery-thumbs-wrap {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  margin-top: 16px; width: 100%;
}
.product-gallery-thumbs {
  display: flex; gap: 10px; overflow-x: auto; flex: 1 1 auto; max-width: 100%;
  justify-content: flex-start; scroll-behavior: smooth; flex-wrap: nowrap; padding-bottom: 4px;
  scrollbar-width: thin;
}
.product-gallery-thumbs::-webkit-scrollbar { height: 5px; }
.product-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.product-thumb-nav {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg2); color: var(--muted);
  cursor: pointer; font-size: 18px; line-height: 1; padding: 0;
  display: grid; place-items: center;
}
.product-thumb-nav:hover { border-color: var(--orange); color: var(--orange); }
.product-col-info { min-width: 0; }
.product-brand-line { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.product-highlights.compact { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.product-highlights.compact li { padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.product-highlights.compact li:last-child { border-bottom: none; }
.product-title { margin: 0 0 6px; font-size: 1.35rem; line-height: 1.5; font-weight: 700; }
.product-title-en { margin: 0 0 10px; font-size: 13px; color: var(--dim); }
.product-rating-lg { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.product-rating-stars { color: #fbbf24; letter-spacing: 1px; }
.product-rating-meta { color: var(--dim); font-size: 12px; }
.product-rating-link {
  padding: 0; border: none; background: none; cursor: pointer; font-family: inherit; text-align: right;
}
.product-rating-link:hover .product-rating-meta { color: var(--cyan); }
.product-desc-short { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0 0 14px; }
.product-kf-box {
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(0,0,0,0.12);
}
.product-kf-title { margin: 0 0 8px; font-size: 12px; color: var(--dim); font-weight: 600; }
.product-promo-icon { margin-left: 6px; }
.product-seller-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(74,222,128,0.12); color: #4ade80; margin-right: auto;
}
.product-price-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.product-price-top .product-old-price-lg { display: inline; margin: 0; }
.product-discount-badge {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  background: #ef4444; color: #fff;
}
.product-buybox-stock {
  font-size: 12px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.product-buybox-stock.in { color: #4ade80; }
.product-buybox-stock.out { color: #f87171; }
.product-stock-dot {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
}

.product-key-features-wrap { margin-bottom: 14px; }
.product-key-features { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.product-key-features li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.product-kf-label { color: var(--dim); }
.product-view-specs-link {
  margin-top: 8px; padding: 0; border: none; background: none; color: var(--cyan);
  font-size: 12px; cursor: pointer; font-family: inherit; text-decoration: underline;
}
.product-promo-banner {
  margin: 12px 0; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(0,209,255,0.08); border: 1px solid rgba(0,209,255,0.2);
  font-size: 12px; color: var(--cyan);
}
.product-variants { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.product-variants-label { font-size: 12px; color: var(--dim); }
.product-variant-chip {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg2); color: var(--muted);
}
.product-badge-lg {
  display: inline-block; font-size: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; margin-bottom: 8px;
}

.product-col-buybox { position: relative; }
.product-buybox-card {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg2); box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.product-seller {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.product-seller-label { color: var(--dim); }
.product-seller-rating { color: #fbbf24; font-size: 12px; }
.product-buybox-actions { margin: 14px 0; }
.product-add-cart-btn { width: 100%; padding: 14px; font-size: 14px; font-weight: 700; }
.product-buybox-perks { margin: 0; padding: 0; list-style: none; font-size: 11px; color: var(--dim); }
.product-buybox-perks li { padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.product-buybox-perks li::before { display: none; }

.product-trust-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; font-size: 11px; color: var(--muted);
}
.product-trust-icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,209,255,0.1); color: var(--cyan); font-size: 16px;
}

.product-section { margin-bottom: 32px; }
.product-section-title { margin: 0 0 16px; font-size: 1.1rem; font-weight: 700; }
.product-carousel {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.product-carousel-card {
  flex: 0 0 180px; scroll-snap-align: start;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg2); overflow: hidden;
}
.product-carousel-card.out-of-stock { opacity: 0.65; }
.product-carousel-img {
  display: grid; place-items: center; height: 140px; position: relative;
  background: rgba(0,0,0,0.15); text-decoration: none; color: inherit; font-size: 48px;
}
.product-carousel-body { padding: 10px; position: relative; }
.product-carousel-body h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.4; }
.product-carousel-body .site-product-price { font-size: 12px; margin: 0; }
.product-carousel-cart {
  position: absolute; inset-inline-start: 10px; bottom: 10px; width: 28px; height: 28px;
  border-radius: 50%; border: none; background: var(--orange); color: #fff;
  font-size: 16px; cursor: pointer; line-height: 1;
}
.product-carousel-discount {
  position: absolute; top: 8px; inset-inline-start: 8px; font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 6px; background: #ef4444; color: #fff;
}
.product-carousel-card.on-sale { border-color: rgba(255,77,0,0.25); }

.product-video-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.product-video-scroll::-webkit-scrollbar { height: 6px; }
.product-video-scroll .product-video-card {
  flex: 0 0 160px; scroll-snap-align: start;
}
.product-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-video-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg2); transition: border-color .15s; cursor: pointer;
  text-align: inherit; font: inherit; width: 100%;
}
.product-video-card--file { appearance: none; padding: 0; background: var(--bg2); }
.product-video-card:hover { border-color: var(--orange); }
.product-video-thumb {
  aspect-ratio: 9/16; height: 220px; display: grid; place-items: center; position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.55)); overflow: hidden;
}
.product-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-video-play {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: 2px solid rgba(255,255,255,0.85);
  display: grid; place-items: center; font-size: 16px; color: #fff;
}
.product-video-title { padding: 10px; font-size: 12px; line-height: 1.5; }
.product-page .product-video-card { text-align: center; }
.product-page .product-video-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  padding: 14px 16px 16px;
  color: #3f4064;
}
.product-video-thumb.is-poster-loading .product-video-thumb-fallback {
  animation: product-video-poster-pulse 1.2s ease-in-out infinite;
}
@keyframes product-video-poster-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.product-video-modal {
  position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,0.72);
}
.product-video-modal.on { display: flex; }
.product-video-modal-box {
  width: min(840px, 100%); background: var(--bg, #111); border: 1px solid var(--border);
  border-radius: var(--radius, 12px); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.product-video-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.product-video-modal-close {
  border: none; background: none; color: inherit; font-size: 22px; line-height: 1; cursor: pointer;
}
.product-video-modal-body { background: #000; }
.product-video-modal-body video { display: block; width: 100%; max-height: min(70vh, 560px); }

.product-tabs-wrap { margin-top: 8px; }
.product-tab-nav {
  display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px;
}
.product-tab-btn {
  padding: 12px 20px; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 13px; color: var(--dim);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s;
}
.product-tab-btn.on, .product-tab-btn:hover { color: var(--orange); border-bottom-color: var(--orange); }
.product-tab-panel { display: none; }
.product-tab-panel.on { display: block; }
.product-intro-body { font-size: 14px; line-height: 1.8; color: var(--muted); }
.product-specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.product-specs-table th, .product-specs-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: right;
}
.product-specs-table th { width: 35%; color: var(--dim); font-weight: 500; background: rgba(0,0,0,0.12); }
.product-specs-table tr:last-child th, .product-specs-table tr:last-child td { border-bottom: none; }

.product-reviews-layout { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.product-reviews-sidebar { text-align: center; }
.product-reviews-score { margin-bottom: 14px; }
.product-reviews-score-val { display: block; font-size: 2rem; font-weight: 700; color: var(--text); }
.product-reviews-stars { display: block; margin: 6px 0; }
.product-review-summary.product-review-ai-box {
  background: rgba(0,209,255,0.06); border-color: rgba(0,209,255,0.2);
}
.product-review-ai-title { margin: 0 0 12px; font-size: 13px; color: var(--cyan); }
.product-review-summary-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-rating-bars { margin: 12px 0 16px; text-align: right; }
.product-rating-bar-row {
  display: grid; grid-template-columns: 42px 1fr 36px; gap: 8px; align-items: center;
  font-size: 11px; margin-bottom: 5px;
}
.product-rating-bar-track {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.product-rating-bar-fill { display: block; height: 100%; background: #fbbf24; border-radius: inherit; }
.product-rating-bar-pct { color: var(--dim); font-size: 10px; }
.product-review-media { margin-bottom: 18px; }
.product-review-media h4 { margin: 0 0 10px; font-size: 13px; }
.product-review-media-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
}
.product-review-media-item {
  flex: 0 0 72px; width: 72px; height: 72px; padding: 0; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--bg2);
}
.product-review-media-item:hover, .product-review-media-item:focus { border-color: var(--orange); }
.product-review-media-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-review-verified {
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: rgba(74,222,128,0.15); color: #4ade80;
}
.product-review-summary {
  margin-bottom: 20px; padding: 16px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.15); border: 1px solid var(--border);
}
.review-summary-col h4 { margin: 0 0 10px; font-size: 13px; }
.review-pros h4 { color: #4ade80; }
.review-cons h4 { color: #f87171; }
.review-summary-col ul { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.review-summary-col li { padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.review-icon { flex-shrink: 0; }
.review-pros .review-icon { color: #4ade80; }
.review-cons .review-icon { color: #f87171; }
.product-reviews-list { display: flex; flex-direction: column; gap: 14px; }
.product-review-item {
  padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg2);
}
.product-review-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 12px; }
.product-review-head time { color: var(--dim); margin-right: auto; }
.product-review-item p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.product-review-reply { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px !important; }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; margin-bottom: 32px; }
.shop-product-photo, .product-gallery-photo {
  width: 100%; height: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  display: block; border-radius: inherit;
}
.product-gallery-thumb-btn {
  flex: 0 0 64px; width: 64px; height: 64px; padding: 0;
  border: 2px solid #e0e0e6; border-radius: 10px;
  overflow: hidden; cursor: pointer; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.product-gallery-thumb-btn.on { border-color: #ef4056; box-shadow: 0 0 0 1px #ef4056; }
.product-gallery-thumb-btn img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fafafa; }
.product-info h1 { margin: 0 0 10px; font-size: 1.5rem; }
.product-rating-lg { color: #fbbf24; margin-bottom: 8px; }
.product-rating-lg span { color: var(--dim); font-size: 12px; }
.product-brand-line { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.product-price-lg { font-size: 1.35rem; }
.product-old-price-lg { display: block; text-decoration: line-through; color: var(--dim); font-size: 13px; margin-bottom: 4px; }
.product-desc { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.product-highlights { margin: 0 0 16px; padding-right: 18px; font-size: 13px; color: var(--muted); }
.product-highlights li { margin-bottom: 4px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.product-specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12px; }
.product-specs dt { color: var(--dim); }
.product-related-wrap { padding: 40px 16px 60px; border-top: 1px solid var(--border); }
.product-related-title { margin: 0 0 20px; font-size: 1.15rem; }

/* ── Blog ── */
.blog-page .blog-main { padding-top: var(--header-h); }
.blog-hero { padding: 32px 16px 20px; border-bottom: 1px solid var(--border); }
.blog-hero-inner { max-width: var(--max); margin: 0 auto; }
.blog-hero-badge { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(0,209,255,0.12); color: var(--cyan); margin-bottom: 8px; }
.blog-hero h1 { margin: 0 0 8px; }
.blog-featured { padding: 24px 16px; }
.blog-featured-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--border); }
.blog-featured-media { display: grid; place-items: center; font-size: 64px; background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); }
.blog-layout { max-width: var(--max); margin: 0 auto; padding: 0 16px 48px; display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.blog-filter-card h3 { margin: 0 0 12px; font-size: 14px; }
.blog-cat-list { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.blog-cat-btn {
  text-align: right; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; cursor: pointer; font-family: inherit; font-size: 12px; color: var(--muted);
}
.blog-cat-btn.on, .blog-cat-btn:hover { border-color: var(--border); background: rgba(255,77,0,0.08); color: var(--orange); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg2); }
.blog-card-thumb { display: grid; place-items: center; font-size: 40px; padding: 24px; background: rgba(0,0,0,0.15); text-decoration: none; }
.blog-card-body { padding: 14px; }
.blog-card-cat { font-size: 10px; color: var(--cyan); font-weight: 600; }
.blog-card-body h3 { margin: 6px 0; font-size: 14px; }
.blog-card-body h3 a { color: inherit; text-decoration: none; }
.blog-card-body p { font-size: 12px; color: var(--muted); margin: 0 0 8px; line-height: 1.6; }
.blog-card-meta { font-size: 11px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 10px; }
.blog-post-article { padding: 24px 16px 40px; }
.blog-post-header { margin-bottom: 20px; }
.blog-post-cover { font-size: 72px; text-align: center; padding: 32px; background: var(--bg2); border-radius: var(--radius); margin-bottom: 24px; }
.blog-post-content { font-size: 15px; line-height: 1.85; color: var(--muted); }
.blog-post-content h3 { color: var(--text); margin-top: 20px; }
.blog-post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.blog-post-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.blog-related-section { padding-bottom: 40px; }

/* ── Home blog strip ── */
.site-home-blog-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.site-home-blog-card {
  display: flex; flex-direction: column; min-height: 100%;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--glass); overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.site-home-blog-card:hover {
  border-color: rgba(255,77,0,0.35);
  box-shadow: var(--glow-o);
  transform: translateY(-2px);
}
.site-home-blog-card.featured { grid-row: span 2; }
.site-home-blog-thumb {
  display: grid; place-items: center; text-decoration: none;
  font-size: 48px; min-height: 120px;
  background: linear-gradient(135deg, rgba(255,77,0,0.12), rgba(0,209,255,0.08));
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.site-home-blog-card.featured .site-home-blog-thumb {
  min-height: 180px; font-size: 64px;
}
.site-home-blog-card:hover .site-home-blog-thumb {
  background: linear-gradient(135deg, rgba(255,77,0,0.18), rgba(0,209,255,0.12));
}
.site-home-blog-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.site-home-blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.site-home-blog-cat {
  font-size: 10px; font-weight: 700; color: var(--cyan);
  padding: 3px 8px; border-radius: 999px;
  background: rgba(0,209,255,0.1); border: 1px solid rgba(0,209,255,0.25);
}
.site-home-blog-type {
  font-size: 10px; font-weight: 700; color: var(--orange);
  padding: 3px 8px; border-radius: 999px;
  background: var(--orange-dim); border: 1px solid rgba(255,77,0,0.25);
}
.site-home-blog-body h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.site-home-blog-card.featured .site-home-blog-body h3 { font-size: 17px; }
.site-home-blog-body h3 a { color: inherit; text-decoration: none; }
.site-home-blog-body h3 a:hover { color: var(--orange); }
.site-home-blog-body p {
  margin: 0 0 12px; font-size: 12px; color: var(--muted); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.site-home-blog-meta {
  display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--dim);
  padding-top: 10px; border-top: 1px dashed var(--border);
}
.site-home-blog-empty {
  padding: 28px; text-align: center; border: 1px dashed var(--border);
  border-radius: var(--radius); color: var(--muted); background: rgba(0,0,0,0.15);
}
.site-home-blog-empty p { margin: 0 0 6px; }

.site-offers {
  margin-top: 32px; padding: 24px; border-radius: var(--radius);
  border: 1px solid transparent;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(135deg, var(--cyan), var(--orange)) border-box;
}
.site-offers h3 {
  margin: 0 0 16px; font-size: 14px; font-weight: 700;
  color: var(--orange); text-align: center;
}
.site-offers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.site-offer-card {
  padding: 16px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3); text-align: center;
}
.site-offer-card .emoji { font-size: 28px; margin-bottom: 8px; }
.site-offer-card strong { display: block; font-size: 13px; margin-bottom: 6px; }
.site-offer-card .old { text-decoration: line-through; color: var(--dim); font-size: 11px; }
.site-offer-card .new { color: var(--cyan); font-weight: 800; font-size: 15px; }

/* ── Testimonials ── */
.site-testimonials { text-align: center; }
.site-testimonials-wrap { max-width: 720px; margin: 0 auto; }
.site-avatars {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.site-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--bg2);
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
  cursor: pointer; transition: all .2s; opacity: 0.6;
}
.site-avatar.on {
  width: 72px; height: 72px; opacity: 1;
  border-color: var(--orange); box-shadow: var(--glow-o);
}
.site-quote-box {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--glass); border: 1px solid rgba(255,77,0,0.25);
  box-shadow: var(--glow-o);
}
.site-quote-stars { color: #fbbf24; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.site-quote-content p {
  margin: 0 0 20px; font-size: 15px; line-height: 1.85; color: var(--muted);
  font-style: italic;
}
.site-quote-author strong { color: var(--orange); font-size: 14px; display: block; }
.site-quote-author span { display: block; font-size: 12px; color: var(--dim); margin-top: 4px; }

/* ── Footer ── */
.site-footer {
  padding: 48px 24px 28px;
  border-top: 1px solid transparent;
  background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(90deg, var(--cyan), var(--orange), var(--cyan)) border-box;
  border-top-width: 2px; border-top-style: solid;
}
.site-footer-inner { max-width: var(--max); margin: 0 auto; }
.site-footer-top {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; margin-bottom: 32px;
}
.site-footer-brand .site-logo-text { font-size: 1.5rem; }
.site-footer-brand p { color: var(--muted); font-size: 13px; margin: 8px 0 16px; }
.site-footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.site-footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.site-footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.site-footer-cols h4 {
  margin: 0 0 12px; font-size: 12px; font-weight: 700;
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.05em;
}
.site-footer-cols a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 13px; padding: 4px 0; transition: color .15s;
}
.site-footer-cols a:hover { color: var(--cyan); }
.site-footer-trust {
  display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.site-trust-badge {
  padding: 8px 14px; border-radius: 8px; font-size: 11px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--dim);
}
.site-footer-bottom {
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 16px;
  font-size: 12px; color: var(--dim);
}

.site-footer-bottom > span:first-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── نسخه پنل · یک خط افقی بدون پس‌زمینه ── */
.site-footer-ver {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
  color: var(--dim);
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-footer-ver .dash-scroll-ver-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 0;
}

.site-footer-ver .dash-scroll-ver-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.site-footer-ver .dash-scroll-ver-text {
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  letter-spacing: 0.05em;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  padding: 0;
  color: var(--dim);
  line-height: 1;
}

.site-draft-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 300; padding: 10px 20px; border-radius: 999px;
  background: rgba(234,179,8,0.15); border: 1px solid rgba(234,179,8,0.4);
  color: #fde047; font-size: 12px; display: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .site-services-inner { grid-template-columns: repeat(3, 1fr); }
  .site-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .site-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .site-products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-cat-browse-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 10px; }
  .shop-cat-bubble-ring { width: 80px; height: 80px; }
  .shop-cat-bubble.is-sub .shop-cat-bubble-ring { width: 68px; height: 68px; }
  .shop-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .product-hero-grid {
    display: flex; flex-direction: column; gap: 16px;
  }
  .product-col-gallery { order: 1; }
  .product-col-info { order: 2; }
  .product-col-buybox { order: 3; }
  .product-zoom-result { display: none !important; }
  .product-gallery-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .product-buybox-card { position: static; }
  .product-trust-row { grid-template-columns: repeat(2, 1fr); }
  .product-review-summary-cols { grid-template-columns: 1fr; }
  .product-reviews-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-home-blog-grid { grid-template-columns: 1fr; }
  .site-home-blog-card.featured { grid-row: auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .shop-sidebar.open {
    display: block; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.6); padding: 16px; overflow-y: auto;
  }
  .shop-sidebar.open .shop-filter-card { max-width: 360px; margin: 0 auto; position: relative; top: 0; }
  .shop-mobile-filter-btn { display: inline-block; }
  .site-hero-inner { grid-template-columns: 1fr; }
  .site-hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .site-hero-stats { justify-content: center; }
  .site-hero-stat { flex: 1 1 calc(33% - 8px); }
  .site-sec-title { flex-wrap: wrap; }
  .site-sec-cta { width: 100%; text-align: center; }
  .site-process-track { grid-template-columns: repeat(2, 1fr); }
  .site-step-line { display: none; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-h); left: 0; right: 0; padding: 16px;
    background: rgba(11,11,14,0.98); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px); z-index: 150;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  }
  .site-nav.open a { padding: 12px; border-radius: 8px; }
  .site-menu-btn { display: flex; align-items: center; justify-content: center; }
  .site-services-inner { grid-template-columns: repeat(2, 1fr); }
  .site-diet-grid { grid-template-columns: 1fr; }
  .site-process-track { grid-template-columns: 1fr; }
  .site-step-node { justify-content: center; }
  .site-price-card.featured { transform: none; }
  .site-offers-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0 12px; }
  .site-logo-text { font-size: 1.15rem; }
  .site-footer-top { grid-template-columns: 1fr; }
  .site-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-plans-grid, .site-pricing-grid, .site-products-grid { grid-template-columns: 1fr; }
  .site-header-actions .site-btn-outline:not(.site-btn-panel) { display: none; }
  .site-header-actions .site-btn-ghost { display: none; }
  .site-hero { min-height: auto; padding-bottom: 40px; }
  .site-hero-copy h1 { font-size: 1.5rem; }
  .site-hero-ctas { flex-direction: column; }
  .site-hero-ctas .site-btn { width: 100%; text-align: center; justify-content: center; }
  .site-hero-form { padding: 20px 16px; }
  .site-services-inner { grid-template-columns: 1fr; gap: 10px; }
  .site-svc-card { padding: 16px; }
  .site-section { padding: 40px 16px; }
  .site-sec-title h2 { font-size: 1.25rem; }
  .site-header-inner { padding: 0 12px; gap: 10px; }
  .site-header-actions .site-btn-primary { padding: 8px 12px; font-size: 12px; }
  .site-footer-cols { grid-template-columns: 1fr; }
  .site-footer-bottom { flex-direction: column; text-align: center; }
  .site-shop-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .site-shop-tab { flex-shrink: 0; font-size: 11px; }
  .site-testimonials .site-avatars { gap: 8px; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  .site-avatar { flex-shrink: 0; }
  .site-draft-banner { left: 12px; right: 12px; transform: none; width: auto; font-size: 11px; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   Commerce header + product page (Digikala-style light)
   ══════════════════════════════════════════════════════════ */
:root {
  --commerce-subnav-h: 50px;
  --commerce-path-h: 36px;
  --commerce-strip-h: calc(var(--commerce-subnav-h) + var(--commerce-path-h));
  --commerce-header-top: 72px;
  --commerce-nav-font: var(--site-font);
  --commerce-nav-font-size: 12px;
  --commerce-crumb-font-size: 12px;
  --commerce-nav-color: #62666d;
  --commerce-nav-icon-color: #a1a3a8;
  --commerce-crumb-color: #81858b;
  --commerce-nav-divider: #f0f0f1;
  --commerce-menu-pad-y: 12px;
  --commerce-crumb-pad-top: 14px;
  --commerce-crumb-pad-bottom: 18px;
  --commerce-crumb-zone-h: 58px;
}

/* عرض یکسان دیجی‌کالایی — هدر، منو، محتوا */
.site-container,
.site-header-commerce,
.site-commerce-subnav-inner,
.site-commerce-subnav-inner--dk,
.shop-page-head-inner,
.shop-page .shop-layout,
.product-page-inner,
.shop-page .site-footer-inner,
.product-page .site-footer-inner {
  width: 100%;
  max-width: var(--site-max-wide);
  margin-inline: auto;
  padding-inline: var(--site-container-pad);
  box-sizing: border-box;
}

.shop-page,
.product-page {
  --max: var(--site-max-wide);
}

/* ── Commerce header (Digikala-style light) ── */
.site-header--commerce {
  width: 100%;
  height: var(--commerce-header-top);
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #e0e0e2;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  backdrop-filter: none;
}
.site-header--commerce > .site-header-commerce {
  flex: 0 1 var(--site-max-wide);
}
.site-header-commerce {
  height: 100%;
  min-width: 0;
}
.site-header-commerce-top {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: 100%;
  min-width: 0;
}
.site-logo--commerce {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.site-logo--commerce .site-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.1;
}
.site-logo--commerce .site-logo-text {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--brand-logo-c1), var(--brand-logo-c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.site-logo--commerce .site-logo-sub {
  font-size: 10px;
  margin-top: 3px;
  color: #81858b;
}
.site-commerce-search {
  flex: 0 0 auto;
  width: min(52%, 620px);
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: none;
  background: #f0f0f1;
  margin: 0;
}
.site-commerce-search:focus-within {
  background: #fff;
  box-shadow: inset 0 0 0 1px #c0c2c5;
}
.site-commerce-search-ico { color: #a1a3a8; display: flex; flex-shrink: 0; }
.site-commerce-search-input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 13px; color: #3f4064;
}
.site-commerce-search-input::placeholder { color: #a1a3a8; }
.site-header-actions--commerce {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-inline-start: auto;
}
.site-commerce-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #62666d;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.site-commerce-icon-btn:hover {
  color: #3f4064;
  background: #f5f5f7;
}
.site-commerce-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #c0c2c5;
  background: #fff;
  color: #3f4064;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.site-commerce-auth-btn:hover {
  border-color: #a1a3a8;
  color: #23254e;
  background: #f5f5f7;
}
.site-commerce-auth-ico {
  display: inline-flex;
  color: #81858b;
}
.site-commerce-auth-ico svg { display: block; }
.site-commerce-auth-sep {
  color: #c0c2c5;
  font-weight: 400;
  margin-inline: 2px;
}
.site-commerce-header-divider {
  width: 1px;
  height: 28px;
  background: #e0e0e2;
  flex-shrink: 0;
}
.site-commerce-cart-btn .site-commerce-cart-badge {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-logo-c1), var(--brand-logo-c2));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}
.site-commerce-cart-btn.site-cart-btn--empty .site-commerce-cart-badge {
  display: none;
}
.site-header-actions--commerce .site-btn-auth { display: none; }
.site-btn-cart {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  background: #ef4056; color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 600; border: none;
  box-shadow: none;
}
.site-btn-cart:hover { background: #d6374c; }
.site-btn-cart .site-cart-count {
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: rgba(255,255,255,0.25);
  font-size: 11px; display: inline-grid; place-items: center;
}
.site-menu-btn--commerce {
  display: none; width: 40px; height: 40px;
  border: 1px solid #c0c2c5; border-radius: 8px;
  background: #fff; color: #62666d; padding: 0;
  place-items: center;
}

.site-commerce-subnav[hidden] { display: none !important; }
.site-commerce-subnav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 190;
  height: auto;
  min-height: var(--commerce-subnav-h);
  background: #fff;
  border-bottom: 1px solid #e8e8ed;
  display: flex;
  justify-content: center;
  padding: 0;
}
.site-commerce-subnav-inner {
  flex: 0 1 var(--site-max-wide);
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
.site-commerce-subnav-inner::-webkit-scrollbar { display: none; }
.site-commerce-subnav--dk {
  min-height: 0;
  height: auto;
  font-family: var(--commerce-nav-font);
}
.site-commerce-subnav--dk .site-commerce-subnav-inner--dk {
  display: block;
  padding-block: 0;
  overflow: visible;
  height: auto;
}
.site-commerce-subnav--dk .shop-category-nav-track {
  padding: var(--commerce-menu-pad-y) 0;
  min-height: 0;
  box-sizing: border-box;
}
.product-page .site-commerce-subnav.site-commerce-subnav--dk {
  border-bottom: none;
}
.product-page .site-commerce-subnav.site-commerce-subnav--dk::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--commerce-nav-divider);
  pointer-events: none;
}
.product-page .site-commerce-subnav--dk .shop-category-nav-track {
  border-bottom: none;
}
.site-commerce-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #3f4064;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-commerce-subnav-link:hover { background: #f5f5f7; color: #1f1f23; }
.site-commerce-subnav-link--cats { font-weight: 600; color: #1f1f23; }
.site-commerce-subnav-link--hot { color: #ef4056; }
.site-commerce-subnav-link--muted { color: #81858b; }
.site-commerce-subnav-divider {
  width: 1px; height: 20px; background: #e8e8ed; flex-shrink: 0; margin: 0 4px;
}
.site-commerce-subnav-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  flex-shrink: 0;
}
.site-commerce-subnav-spacer { flex: 1; min-width: 12px; }

/* Card-style commerce subnav (Digikala category tiles) */
.site-commerce-subnav--cards .site-commerce-subnav-inner {
  align-items: stretch;
  gap: 10px;
  overflow: visible;
}
.site-commerce-subnav-grid {
  display: grid;
  grid-template-columns: repeat(var(--shop-cat-cols, 6), minmax(76px, 1fr));
  gap: 10px;
  width: 100%;
}
.site-commerce-subnav-card {
  width: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px 8px 8px;
  border-radius: var(--shop-cat-radius, 0);
  background: #fafafa;
  border: 1px solid #e5e5e8;
  text-decoration: none;
  color: #1f1f23;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.site-commerce-subnav-card:hover {
  border-color: #1f1f23;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.site-commerce-subnav-card-visual {
  width: 100%;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.site-commerce-subnav-card-visual .shop-cat-bubble-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: none;
  filter: none;
}
.site-commerce-subnav-card-emoji,
.site-commerce-subnav-card-ico {
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: #3f4064;
}
.site-commerce-subnav-card-ico svg { display: block; }
.site-commerce-subnav-card-ico--hot { color: #ef4056; }
.site-commerce-subnav-card-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #1f1f23;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-commerce-subnav-card--hot .site-commerce-subnav-card-label { color: #ef4056; }
.site-commerce-subnav-card--muted .site-commerce-subnav-card-label { color: #81858b; font-weight: 500; }
.site-commerce-subnav-card--cats { background: #ececef; }

.shop-page .shop-main {
  padding-top: calc(var(--header-h) + var(--commerce-subnav-h));
}
.product-page .product-main {
  padding-top: calc(var(--header-h) + var(--commerce-subnav-h));
}
.shop-page.shop-page--has-subnav .shop-main {
  padding-top: calc(var(--header-h) + var(--commerce-subnav-h) + 16px);
}

.product-page {
  --bg: #ffffff;
  --bg2: #ffffff;
  --surface: #ffffff;
  --border: #e8e8ed;
  --text: #3f4064;
  --muted: #62666d;
  --dim: #81858b;
  --orange: #ef4056;
  --cyan: #19bfd3;
  --glass: #ffffff;
  --product-radius: 6px;
  --product-radius-sm: 4px;
  background: #fff;
}
.product-page .product-col-info,
.product-page .product-buybox-card,
.product-page .product-trust-row,
.product-page .product-details-card,
.product-card-section,
.product-page .product-tabs-wrap,
.product-page .product-section,
.product-page .product-similar-card,
.product-page .product-video-card,
.product-page .product-col-info .product-kf-box,
.product-intro-video-stage,
.product-gallery-thumb-btn {
  border-radius: var(--product-radius);
}
.product-page .product-add-cart-btn { border-radius: var(--product-radius-sm); }

/* Commerce pages — light shell (header + content) */
html:has(body.product-page),
html:has(body.shop-page) {
  background: #fff;
}
body.site-body.product-page,
body.site-body.shop-page {
  background: #fff;
  color: #3f4064;
}
body.site-body.product-page .site-wrap,
body.site-body.shop-page .site-wrap {
  background: #fff;
  min-height: 100vh;
}

/* Primary site header — light on shop/product pages */
.shop-page .site-header,
.product-page .site-header {
  background: #fff;
  backdrop-filter: none;
  border-bottom: 1px solid #e0e0e2;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.shop-page .site-logo-sub,
.product-page .site-logo-sub {
  color: #81858b;
}
.shop-page .site-nav a,
.product-page .site-nav a {
  color: #62666d;
}
.shop-page .site-nav a:hover,
.product-page .site-nav a:hover {
  color: #3f4064;
  background: #f5f5f7;
}
.shop-page .site-nav a.on,
.product-page .site-nav a.on {
  color: #ef4056;
  background: rgba(239, 64, 86, 0.08);
}
.shop-page .site-btn-ghost,
.product-page .site-btn-ghost {
  color: #62666d;
  border-color: #c0c2c5;
}
.shop-page .site-btn-ghost:hover,
.product-page .site-btn-ghost:hover {
  color: #3f4064;
  border-color: #a1a3a8;
}
.shop-page .site-btn-outline,
.product-page .site-btn-outline {
  color: #3f4064;
  border-color: #c0c2c5;
}
.shop-page .site-btn-outline:hover,
.product-page .site-btn-outline:hover {
  color: #ef4056;
  border-color: #ef4056;
}
.shop-page .site-btn-panel.on,
.product-page .site-btn-panel.on {
  border-color: #19bfd3;
  color: #19bfd3;
  background: rgba(25, 191, 211, 0.08);
}
.shop-page .site-btn-primary,
.product-page .site-btn-primary {
  background: #ef4056;
  box-shadow: none;
}
.shop-page .site-btn-primary:hover,
.product-page .site-btn-primary:hover {
  background: #d6374c;
  box-shadow: none;
}
.shop-page .site-cart-btn--has,
.product-page .site-cart-btn--has {
  box-shadow: none;
}
@media (max-width: 768px) {
  .shop-page .site-nav.open,
  .product-page .site-nav.open {
    background: #fff;
    border-bottom: 1px solid #e0e0e2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
}

/* Shop category menu — Digikala light style (only commerce subnav) */
.shop-page .site-commerce-subnav,
.product-page .site-commerce-subnav {
  background: #fff;
  border-bottom: none;
}

.product-page .product-main { background: #fff; }

/* Breadcrumb — داخل باکس گالری (مطابق دیجی‌کالا) */
.product-page .product-breadcrumb.product-gallery-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--commerce-nav-font);
  font-size: var(--commerce-crumb-font-size);
  font-weight: 400;
  line-height: 2.17;
  letter-spacing: normal;
  color: var(--commerce-crumb-color);
  min-height: var(--commerce-crumb-zone-h);
  margin: 0;
  padding: var(--commerce-crumb-pad-top) 0 var(--commerce-crumb-pad-bottom);
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  grid-row: 1;
  grid-column: 1 / -1;
}
.product-page .product-gallery-breadcrumb a,
.product-page .product-gallery-breadcrumb .product-breadcrumb-current,
.product-page .product-gallery-breadcrumb .shop-breadcrumb-sep {
  color: var(--commerce-crumb-color);
  text-decoration: none;
  font-weight: 400;
}
.product-page .product-gallery-breadcrumb a:hover {
  color: var(--commerce-crumb-color);
}

.product-page .product-page-inner {
  padding-top: 0;
}
.product-page .product-hero-grid {
  grid-template-columns: minmax(460px, 42%) minmax(0, 1fr) minmax(260px, 300px);
  margin-top: 0;
  margin-bottom: 20px;
  gap: 20px;
  align-items: start;
}
.product-page .product-gallery-card {
  padding: 0 16px 16px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  grid-template-rows: auto auto auto;
  row-gap: 12px;
  flex: none;
  min-height: 0;
  align-content: start;
}
.product-page .product-gallery-actions {
  grid-row: 2;
  padding-top: 0;
  align-self: center;
}
.product-page .product-gallery-main {
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: min(100%, 440px);
  margin-inline: auto;
  min-height: 0;
  aspect-ratio: 1;
  max-height: min(440px, 36vw);
  height: auto;
}
.product-page .product-gallery-main .product-gallery-open {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-page .product-gallery-main .product-gallery-open img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-page .product-gallery-thumbs-wrap {
  grid-row: 3;
  margin-top: 0;
}
.product-page .product-gallery-card--no-actions .product-gallery-main {
  grid-row: 2;
  grid-column: 1;
}

/* Hero grid */
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 42%) minmax(0, 1fr) minmax(260px, 300px);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}
.product-page .product-hero-grid {
  grid-template-columns: minmax(460px, 42%) minmax(0, 1fr) minmax(260px, 300px);
}
.product-page .product-col-gallery,
.product-page .product-col-info,
.product-page .product-col-buybox {
  min-width: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.product-page .product-col-gallery {
  align-self: start;
}
.product-page .product-col-info,
.product-page .product-col-buybox {
  align-self: start;
  box-sizing: border-box;
}
.product-page .product-col-buybox {
  padding-top: var(--commerce-crumb-zone-h);
}
.product-col-gallery { min-width: 0; }
.product-gallery-card {
  background: #fff;
  border: 1px solid #e0e0e6;
  border-radius: 8px;
  padding: 20px 16px 16px;
  position: relative;
  box-shadow: none;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 16px;
  flex: 1;
  min-height: 100%;
  box-sizing: border-box;
}
.product-gallery-actions {
  position: static;
  grid-row: 1;
  grid-column: 1;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 0;
  align-self: start;
  justify-self: center;
}
.product-action-btn {
  width: 40px; height: 40px; padding: 0;
  border: 1px solid #e0e0e6; border-radius: 50%;
  background: #fff; color: #9a9ca5;
  cursor: pointer; display: grid; place-items: center;
  transition: color .15s, border-color .15s, box-shadow .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.product-action-btn:hover { color: #ef4056; border-color: #ef4056; }
.product-action-btn.on {
  color: #ef4056;
  border-color: #ef4056;
  background: rgba(239, 64, 86, 0.08);
}
.product-action-btn.on svg { fill: rgba(239, 64, 86, 0.15); }
.product-action-btn--muted {
  color: #9a9ca5;
  border-color: #e0e0e6;
  background: #fff;
}
.product-action-btn--muted:hover {
  color: #62666d;
  border-color: #c4c6ce;
  background: #fafafa;
}
.product-gallery-card--no-actions {
  grid-template-columns: minmax(0, 1fr);
}
.product-gallery-card--no-actions .product-gallery-main {
  grid-column: 1;
}
.product-gallery-main {
  grid-row: 1;
  grid-column: 2;
  min-height: 0;
  width: 100%;
  aspect-ratio: 1;
  max-height: min(520px, 42vw);
  border-radius: 0;
  background: #fff;
  border: none;
  overflow: hidden;
  position: relative;
}
.product-gallery-thumbs-wrap {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  padding-top: 4px;
  border-top: 1px solid #f0f0f3;
}
.product-thumb-nav {
  flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid #e0e0e6;
  background: #fff; color: #81858b; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  transition: border-color .15s, color .15s;
}
.product-thumb-nav:hover { border-color: #ef4056; color: #ef4056; }
.product-gallery-thumbs {
  display: flex; gap: 10px; overflow-x: auto; flex: 1 1 auto;
  max-width: 100%; justify-content: flex-start;
  scroll-behavior: smooth; padding-bottom: 2px;
}
.product-gallery-thumb-btn {
  flex: 0 0 64px; width: 64px; height: 64px;
  border: 2px solid #e0e0e6; border-radius: 10px;
  overflow: hidden; padding: 0; cursor: pointer; background: #fff;
}
.product-gallery-thumb-btn.on { border-color: #ef4056; box-shadow: 0 0 0 1px #ef4056; }

.product-page .product-col-info {
  background: #fff; color: #3f4064;
  border: none;
  border-radius: 0;
  padding: var(--commerce-crumb-zone-h) 0 24px;
  box-shadow: none;
  flex: 0 1 auto;
  box-sizing: border-box;
}
.product-page .product-col-info > :last-child {
  margin-top: 0;
}
.product-page .product-col-info .product-title {
  color: #3f4064;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75;
  margin-bottom: 0;
}
.product-page .product-meta-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.6;
}
.product-page .product-meta-path a {
  color: #19bfd3;
  text-decoration: none;
  font-weight: 400;
}
.product-page .product-meta-path a:hover {
  text-decoration: underline;
}
.product-page .product-meta-path-sep {
  color: #19bfd3;
  user-select: none;
}
.product-page .product-title-en {
  margin: 0 0 12px;
  font-size: 12px;
  color: #81858b;
  line-height: 1.6;
}
.product-page .product-head-engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 16px;
  padding: 0;
  border-top: none;
}
.product-page .product-head-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.product-page .product-head-rating-star {
  display: inline-flex;
  line-height: 0;
}
.product-page .product-head-rating-val {
  font-size: 13px;
  font-weight: 700;
  color: #3f4064;
}
.product-page .product-head-rating-voters {
  font-size: 12px;
  color: #81858b;
  font-weight: 400;
}
.product-page .product-head-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.product-page .product-head-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e0e0e2;
  background: #f5f5f7;
  color: #62666d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.product-page .product-head-pill:hover {
  background: #ececf0;
  border-color: #d0d2d7;
  color: #3f4064;
}
.product-page .product-head-pill-ico {
  display: inline-flex;
  color: #81858b;
  line-height: 0;
}
.product-page .product-head-pill--ai {
  background: #f5f5f7;
  border-color: #e0e0e2;
  color: #62666d;
}
.product-page .product-head-pill--ai:hover {
  background: #ececf0;
  color: #3f4064;
}
.product-page .product-head-pill-spark {
  font-size: 10px;
  line-height: 1;
  color: #81858b;
}
.product-page .product-desc-short {
  margin: 0 0 16px;
  font-size: 13px;
  color: #62666d;
  line-height: 1.85;
}
.product-page .product-col-info .product-brand-line {
  margin-top: 0;
}
.product-page .product-buybox-card {
  background: #fff;
  border: 1px solid #e0e0e2;
  border-radius: 8px;
  box-shadow: none;
  position: sticky;
  top: calc(var(--header-h) + var(--commerce-subnav-h));
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}
.product-page .product-buybox-seller-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid #e0e0e2;
  flex-shrink: 0;
}
.product-page .product-buybox-seller-bar-label {
  font-size: 14px;
  font-weight: 700;
  color: #3f4064;
  line-height: 1.4;
}
.product-page .product-buybox-seller-bar-link {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #19bfd3;
  cursor: pointer;
  white-space: nowrap;
}
.product-page .product-buybox-seller-bar-link:hover {
  text-decoration: underline;
}
.product-page .product-buybox-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.product-page .product-buybox-top {
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0f0f3;
  flex-shrink: 0;
  background: #fff;
}
.product-page .product-buybox-head {
  display: none;
}
.product-page .product-buybox-head-label {
  font-size: 12px; color: #81858b; font-weight: 600;
}
.product-page .product-buybox-head-link {
  border: none; background: none; padding: 0; font-family: inherit;
  font-size: 11px; color: #19bfd3; cursor: pointer;
}
.product-page .product-buybox-head-link:hover { text-decoration: underline; }
.product-page .product-buybox-seller {
  display: flex; align-items: flex-start; gap: 10px;
}
.product-page .product-buybox-seller-ico {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px;
  background: #f5f5f7; color: #81858b;
  display: grid; place-items: center;
}
.product-page .product-buybox-seller-main { min-width: 0; flex: 1; }
.product-page .product-buybox-seller-name {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: #1f1f23; margin-bottom: 6px;
}
.product-page .product-buybox-verified {
  width: 16px; height: 16px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 10px; font-weight: 700;
  display: inline-grid; place-items: center; line-height: 1;
}
.product-page .product-buybox-seller-pill {
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(34,197,94,0.12); color: #16a34a; font-weight: 600;
}
.product-page .product-buybox-seller-stats {
  font-size: 11px; color: #81858b; line-height: 1.6;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.product-page .product-buybox-stat-sep { color: #d1d5db; }
.product-page .product-buybox-stat-good { color: #16a34a; font-weight: 600; }
.product-page .product-buyer-satisfaction {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d5d7de;
}
.product-page .product-buyer-satisfaction-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.product-page .product-buyer-satisfaction-head strong {
  font-size: 12px;
  font-weight: 600;
  color: #3f4064;
  line-height: 1.5;
}
.product-page .product-buyer-satisfaction-count {
  font-size: 11px;
  color: #81858b;
}
.product-page .product-buyer-satisfaction-bar {
  margin-bottom: 6px;
}
.product-page .product-buyer-satisfaction-track {
  position: relative;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #ececf0;
}
.product-page .product-buyer-satisfaction-segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
  gap: 2px;
}
.product-page .product-buyer-satisfaction-segments .seg {
  display: block;
  height: 100%;
  border-radius: 1px;
}
.product-page .product-buyer-satisfaction-segments .seg-1 { background: #f97316; }
.product-page .product-buyer-satisfaction-segments .seg-2 { background: #facc15; }
.product-page .product-buyer-satisfaction-segments .seg-3 { background: #a3e635; }
.product-page .product-buyer-satisfaction-segments .seg-4 { background: #4ade80; }
.product-page .product-buyer-satisfaction-segments .seg-5 { background: #16a34a; }
.product-page .product-buyer-satisfaction-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(100% - var(--buyer-sat-pct, 0%));
  background: #e8e9ed;
  transition: width .25s ease;
}
.product-page .product-buyer-satisfaction-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #9a9ca5;
  line-height: 1.4;
}
.product-page .product-buybox-core {
  padding: 16px;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #f0f0f3;
}
.product-page .product-buybox-core .product-price-block { margin-bottom: 8px; }
.product-page .product-buybox-core .product-price-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.product-page .product-buybox-core .product-old-price-lg {
  font-size: 13px; color: #81858b; text-decoration: line-through;
}
.product-page .product-buybox-extra {
  margin-top: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
  border-top: 1px dashed #d5d7de;
  padding: 0;
}
.product-page .product-buybox-meta-divider {
  border-top: 1px dashed #d5d7de;
  border-bottom: 1px dashed #d5d7de;
  margin-bottom: -1px;
}
.product-page .product-buybox-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 12px;
  color: #3f4064;
  line-height: 1.55;
  border-bottom: none;
}
.product-page .product-buybox-meta-row--last {
  border-bottom: none;
  margin-bottom: 0;
}
.product-page .product-buybox-variants {
  padding: 14px 18px 16px;
  border-bottom: 1px solid #f0f0f3;
}
.product-page .product-buybox-variants-label {
  font-size: 12px;
  font-weight: 600;
  color: #81858b;
  margin-bottom: 10px;
}
.product-page .product-variant-box--buybox {
  border: 1px solid #e0e0e6;
  border-radius: var(--product-radius-sm, 4px);
  overflow: hidden;
  background: #fff;
}
.product-page .product-variant-box--buybox .product-variant-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-page .product-variant-box--buybox .product-variant-line {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #1f1f23;
  padding: 11px 12px;
}
.product-page .product-variant-box--buybox .product-variant-line + .product-variant-line {
  border-top: 1px solid #ececf0;
}
.product-page .product-buybox-meta-ico {
  flex-shrink: 0; color: #9a9ca5; display: inline-flex;
}
.product-page .product-buybox-meta-ico--package { color: #3b82f6; }
.product-page .product-buybox-shipping {
  border-bottom: 1px dashed #d5d7de;
}
.product-page .product-buybox-shipping.product-buybox-meta-row--last {
  border-bottom: none;
  margin-bottom: 0;
}
.product-page .product-buybox-shipping-summary {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; font-size: 12px; color: #3f4064;
  cursor: pointer; list-style: none;
}
.product-page .product-buybox-shipping-summary::-webkit-details-marker { display: none; }
.product-page .product-buybox-shipping-title { flex: 1; font-weight: 500; }
.product-page .product-buybox-shipping-chevron {
  color: #b0b3bb; display: inline-flex; transition: transform .15s;
  margin-inline-start: auto;
}
.product-page .product-buybox-shipping[open] .product-buybox-shipping-chevron {
  transform: rotate(-90deg);
}
.product-page .product-buybox-shipping-body {
  padding: 0 18px 14px 46px;
  position: relative;
}
.product-page .product-buybox-shipping-by {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: #81858b; margin-bottom: 10px;
  position: relative;
}
.product-page .product-buybox-shipping-connector {
  position: absolute;
  right: 27px;
  top: -8px;
  width: 2px;
  height: 14px;
  border-right: 2px dotted #3b82f6;
}
.product-page .product-buybox-shipping-by-ico {
  display: inline-flex;
  color: #f59e0b;
  flex-shrink: 0;
}
.product-page .product-buybox-shipping-list,
.product-page .product-buybox-shipping-pay-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-page .product-buybox-shipping-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 11px;
  color: #62666d;
}
.product-page .product-buybox-shipping-opt-ico {
  color: #9a9ca5;
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 1px;
}
.product-page .product-buybox-shipping-opt-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-page .product-buybox-shipping-opt-main strong {
  font-size: 12px;
  color: #3f4064;
  font-weight: 600;
}
.product-page .product-buybox-shipping-free {
  margin: 8px 0 0;
  font-size: 11px;
  color: #16a34a;
}
.product-page .product-buybox-shipping-free.hint { color: #81858b; }
.product-page .product-buybox-shipping-payments {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e8e9ed;
}
.product-page .product-buybox-shipping-payments-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #9a9ca5;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.product-page .product-buybox-shipping-pay {
  font-size: 11px;
  color: #62666d;
  padding: 4px 0;
}
.product-page .product-buybox-shipping-detail {
  margin: 0; font-size: 11px; color: #62666d; line-height: 1.6;
}
.product-page .product-buybox-extra .product-buybox-perks {
  margin-top: 0;
  border-top: none;
  padding: 8px 18px 12px;
}
.product-page .product-buybox-perks {
  margin-top: auto;
}
.product-page .product-add-cart-btn {
  background: #ef4056 !important; border-color: #ef4056 !important;
  box-shadow: none;
}
.product-page .site-product-price.product-price-lg,
.product-page .product-buybox-card .site-product-price {
  color: #ef4056;
  font-size: 1.5rem;
  font-weight: 700;
}
.product-buybox-perks { border-top: 1px solid #f0f0f3; padding-top: 12px; margin-top: 4px; }
.product-perk-ico {
  display: inline-flex; color: #9a9ca5; flex-shrink: 0;
}
.product-perk-ico svg { display: block; }

/* Trust row */
.product-page .product-trust-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: #fff; border: 1px solid #e8e8ed;
  padding: 0; margin-bottom: 20px; overflow: hidden;
}
.product-page .product-trust-item {
  padding: 18px 12px; font-size: 11px; color: #62666d;
  border-inline-start: 1px solid #f0f0f3;
}
.product-page .product-trust-item:first-child { border-inline-start: none; }
.product-page .product-trust-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #f5f5f7; color: #81858b;
  display: grid; place-items: center;
}

/* Product details card */
.product-details-card {
  background: #fff; border: 1px solid #e8e8ed;
  padding: 20px 24px; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.product-details-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid #f0f0f3;
}
.product-details-title {
  margin: 0; font-size: 1rem; font-weight: 700; color: #1f1f23;
}
.product-details-more {
  border: none; background: none; color: #19bfd3;
  font-family: inherit; font-size: 12px; cursor: pointer; padding: 0;
}
.product-details-more:hover { text-decoration: underline; }
.product-details-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0;
}
.product-details-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f5f5f7;
  font-size: 13px;
}
.product-details-row dt { margin: 0; color: #81858b; font-weight: 500; }
.product-details-row dd { margin: 0; color: #3f4064; }

/* Tabs + sections */
.product-card-section,
.product-page .product-tabs-wrap {
  background: #fff; border: 1px solid #e8e8ed;
  padding: 0 24px 24px; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.product-page .product-tab-nav {
  border-bottom-color: #e8e8ed; margin-bottom: 0;
}
.product-page .product-tab-btn {
  padding: 16px 20px; font-size: 13px; color: #81858b;
}
.product-page .product-tab-btn.on,
.product-page .product-tab-btn:hover { color: #ef4056; border-bottom-color: #ef4056; }
.product-page .product-tab-panels {
  padding-top: 20px;
  width: 100%;
}
.product-page .product-tab-panel {
  width: 100%;
}
.product-page .product-tab-section {
  width: 100%;
  max-width: none;
}
.product-tab-section { margin-bottom: 8px; width: 100%; }
.product-tab-section-title {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #3f4064;
  border-bottom: 2px solid #ef4056;
  line-height: 1.4;
}
.product-tab-prose {
  color: #3f4064;
  font-size: 14px;
  line-height: 2;
  text-align: justify;
  width: 100%;
  max-width: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-tab-prose p { margin: 0 0 14px; }
.product-expert-body {
  max-width: none;
  width: 100%;
}
.product-tab-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: #19bfd3;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.product-tab-readmore:hover { color: #0e7490; }
.product-tab-highlights { margin-top: 16px; }
.product-intro-videos {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed #e8e8ed;
}
.product-intro-video-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  overflow: visible;
  padding: 12px 0 20px;
}
.product-intro-video-scroll .product-video-card {
  flex: 0 1 280px;
  width: min(100%, 300px);
  max-width: 320px;
}
.product-intro-video-scroll .product-video-thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 158px;
}
.product-intro-video-stage {
  margin-top: 14px;
  border: 1px solid #e8e8ed;
  overflow: hidden;
  background: #000;
}
.product-intro-video-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #e8e8ed;
}
.product-intro-video-stage-close {
  border: none;
  background: none;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.product-intro-video-stage video {
  display: block;
  width: 100%;
  max-height: min(420px, 55vh);
  background: #000;
}
.product-intro-videos .product-video-card { min-width: 220px; }
.product-video-thumb-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #ececf0 0%, #d8d8e0 100%);
}
.product-video-thumb-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.12));
}
.product-faq-list { display: flex; flex-direction: column; gap: 0; }
.product-faq-item {
  border-bottom: 1px solid #ececf0;
  padding: 12px 0;
}
.product-faq-item summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #3f4064;
  list-style: none;
  padding-inline-start: 0;
}
.product-faq-item summary::-webkit-details-marker { display: none; }
.product-faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 18px;
  color: #81858b;
  font-weight: 400;
}
.product-faq-item[open] summary::before { content: '−'; }
.product-faq-item p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: #62666d;
}
.product-expert-body { max-width: none; }
.product-page .product-specs-table {
  width: 100%;
  table-layout: fixed;
}
.product-page .product-specs-table td {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-page .product-faq-item p {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-page .product-intro-short {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.product-page .product-tab-nav {
  gap: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}
.product-page .product-tab-btn { flex-shrink: 0; white-space: nowrap; }
.product-page .product-section {
  background: #fff; border: 1px solid #e8e8ed;
  padding: 20px 24px; margin-bottom: 20px;
}
.product-page .product-section-title {
  margin: 0 0 16px; font-size: 1rem; font-weight: 700; color: #1f1f23;
}
.product-page .product-carousel-card,
.product-page .product-video-card {
  border-color: #e8e8ed;
}
.product-page .product-video-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  overflow: visible;
  padding: 12px 0 8px;
  scroll-snap-type: none;
}
.product-page .product-video-scroll .product-video-card {
  flex: 0 1 280px;
  width: min(100%, 300px);
  max-width: 320px;
  scroll-snap-align: unset;
}
.product-page .product-video-scroll .product-video-thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 158px;
}

/* Similar products — product page */
.product-page .product-similar-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e6 transparent;
}
.product-page .product-similar-scroll::-webkit-scrollbar { height: 6px; }
.product-page .product-similar-scroll::-webkit-scrollbar-thumb {
  background: #e0e0e6;
  border-radius: 999px;
}
.product-page .product-similar-card {
  flex: 0 0 168px;
  width: 168px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e8e8ed;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product-page .product-similar-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.product-page .product-similar-card.out-of-stock { opacity: 0.7; }
.product-page .product-similar-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  position: relative;
  background: #f9f9fb;
  border-bottom: 1px solid #f0f0f3;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  overflow: hidden;
}
.product-page .product-similar-photo {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-page .product-similar-emoji {
  font-size: 42px;
  line-height: 1;
}
.product-page .product-similar-discount {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  z-index: 2;
}
.product-page .product-similar-badge {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #ef4056;
  color: #fff;
  z-index: 2;
}
.product-page .product-similar-body {
  padding: 10px 12px 12px;
}
.product-page .product-similar-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  color: #3f4043;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.product-page .product-similar-title a {
  color: inherit;
  text-decoration: none;
}
.product-page .product-similar-title a:hover { color: #ef4056; }
.product-page .product-similar-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-page .product-similar-old {
  font-size: 11px;
  color: #b8b9c2;
  text-decoration: line-through;
}
.product-page .product-similar-price {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1f1f23 !important;
  line-height: 1.4;
}
.product-page .product-similar-price small {
  font-size: 10px;
  font-weight: 500;
  color: #81858b;
}
.product-page .product-similar-section .site-product-price {
  font-size: 13px !important;
  color: #1f1f23 !important;
}

.product-page .product-col-info .product-title-en { color: #81858b; }
.product-page .product-col-info .product-brand-line { color: #62666d; margin-bottom: 8px; }
.product-page .product-col-info .product-brand-line strong { color: #19bfd3; }
.product-page .product-col-info .product-rating-meta { color: #19bfd3; }
.product-page .product-col-info .product-desc-short { color: #62666d; line-height: 1.8; }
.product-page .product-col-info .product-kf-box {
  background: transparent;
  border: none;
}
.product-page .product-col-info .product-kf-title { color: #81858b; }
.product-page .product-col-info .product-kf-label { color: #81858b; }
.product-page .product-col-info .product-key-features li {
  border-bottom: none;
  color: #3f4064;
}
.product-page .product-col-info .product-kf-box .product-variants--boxed {
  margin-top: 10px;
  padding-top: 10px;
  border-top: none;
}
.product-page .product-col-info .product-kf-box .product-variants--boxed .product-variants-label {
  font-size: 12px;
  margin-bottom: 10px;
}
.product-page .product-col-info .product-kf-box .product-variant-box--buybox .product-variant-line {
  font-size: 14px;
  padding: 11px 12px;
}
.product-page .product-col-info .product-promo-banner {
  background: linear-gradient(90deg, rgba(25,191,211,0.08), rgba(239,64,86,0.06));
  border-color: rgba(25,191,211,0.2); color: #0e7490;
}
.product-page .product-col-info .product-variant-chip {
  background: #f5f5f7; border-color: #e0e0e6; color: #3f4064;
}
.product-page .product-variants--boxed {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  border-top: none;
}
.product-page .product-variants--boxed .product-variants-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #81858b;
  margin-bottom: 10px;
}
.product-page .product-variant-box {
  border: 1px solid #e0e0e6;
  border-radius: var(--product-radius-sm, 4px);
  overflow: hidden;
  background: #fff;
}
.product-page .product-variant-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-page .product-variant-line {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: #1f1f23;
  padding: 12px 14px;
}
.product-page .product-variant-line + .product-variant-line {
  border-top: none;
}
.product-page .product-col-info .product-title-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
  margin: 0 0 12px;
}
.product-page .product-col-info .product-title-head .product-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 220px);
}
.product-page .product-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-sizing: border-box;
}
.product-page .product-page-badge--hot {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe4ea 100%);
  color: #c2185b;
  border: 1px solid rgba(233, 30, 99, 0.18);
  box-shadow: 0 1px 2px rgba(233, 30, 99, 0.08);
}
.product-page .product-page-badge--sale {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1px solid rgba(249, 115, 22, 0.2);
  box-shadow: 0 1px 2px rgba(249, 115, 22, 0.08);
}
.product-page .product-page-badge--muted {
  background: #f5f5f7;
  color: #62666d;
  border: 1px solid #ececf0;
}
.product-page .product-col-info .product-view-specs-link { color: #19bfd3; }
.product-page .product-specs-table th { background: #f5f5f7; color: #81858b; }
.product-page .product-review-summary.product-review-ai-box {
  background: #eef6ff; border-color: #bfdbfe;
}
.product-gallery-open {
  width: 100%; height: 100%; padding: 24px; border: none;
  cursor: zoom-in; position: relative; display: grid; place-items: center;
  background: #fff;
}
.product-gallery-open img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
}
.product-gallery-zoom-hint {
  position: absolute; bottom: 16px; inset-inline-start: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.98); color: #81858b;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); pointer-events: none;
  border: 1px solid #e0e0e6;
}

@media (min-width: 1280px) {
  .product-page .product-gallery-main {
    max-height: 480px;
    max-width: min(100%, 480px);
  }
  .product-page .product-hero-grid {
    grid-template-columns: minmax(500px, 44%) minmax(0, 1fr) minmax(280px, 320px);
  }
}

@media (max-width: 1100px) {
  .product-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-col-buybox { grid-column: 1 / -1; }
  .product-page .product-col-buybox { padding-top: 0; }
  .product-page .product-buybox-card { position: static; }
  .product-details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --site-container-pad: 16px; --commerce-header-top: 64px; }
  .site-header--commerce { padding: 0; }
  .site-commerce-search { display: none; }
  .site-commerce-auth-btn { display: none; }
  .site-commerce-header-divider { display: none; }
  .site-header-actions--commerce { gap: 8px; }
  .site-menu-btn--commerce { display: grid; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-page .product-hero-grid { grid-template-columns: 1fr; }
  .product-page .product-col-gallery,
  .product-page .product-col-info,
  .product-page .product-col-buybox {
    height: auto;
    display: block;
    padding-top: 0;
  }
  .product-page .product-col-info {
    padding-bottom: 24px;
  }
  .product-page .product-gallery-card {
    flex: none;
    min-height: 0;
  }
  .product-page .product-buybox-card {
    height: auto;
    flex: none;
    display: block;
  }
  .product-page .product-buybox-extra {
    flex: none;
    min-height: 0;
    justify-content: flex-start;
  }
  .product-page .product-col-info > :last-child { margin-top: 0; }
  .product-page .product-buybox-perks { margin-top: 4px; }
  .product-page .product-trust-row { grid-template-columns: repeat(2, 1fr); }
  .product-page .product-trust-item { border-inline-start: none; border-bottom: 1px solid #f0f0f3; }
  .product-gallery-actions {
    flex-direction: row; grid-row: auto; grid-column: 1 / -1;
    padding: 0; justify-content: center; gap: 10px;
  }
  .product-gallery-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .product-gallery-main {
    grid-column: 1;
    max-height: none;
    min-height: 320px;
  }
  .product-details-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Legacy product-page overrides (kept for compatibility) */

/* Digikala-style fullscreen lightbox */
body.product-lightbox-open { overflow: hidden; }
.product-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column;
  background: rgba(28, 28, 33, 0.96);
  outline: none;
}
.product-lightbox[hidden] { display: none !important; }

.product-lb-close {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  width: 40px; height: 40px; padding: 0; border: none; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: opacity .15s;
}
.product-lb-close:hover { opacity: 0.75; }

.product-lb-tabs {
  display: flex; justify-content: center; gap: 0;
  padding: 20px 16px 12px; flex-shrink: 0;
}
.product-lb-tab {
  padding: 10px 22px; border: none; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75); font-family: inherit; font-size: 13px;
  cursor: pointer; transition: background .15s, color .15s;
}
.product-lb-tab:first-child { border-radius: 0 8px 8px 0; }
.product-lb-tab:last-child { border-radius: 8px 0 0 8px; }
.product-lb-tab.on {
  background: rgba(255,255,255,0.16); color: #fff; font-weight: 600;
  box-shadow: inset 0 -2px 0 #fff;
}
.product-lb-tab[hidden] { display: none; }

.product-lb-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  min-height: 0; padding: 0 16px; position: relative;
}
.product-lb-stage {
  flex: 1; max-width: min(900px, 72vw); max-height: 68vh;
  display: grid; place-items: center; background: #fff;
  border-radius: 4px; overflow: hidden; min-height: 280px;
}
.product-lb-img {
  max-width: 100%; max-height: 68vh; object-fit: contain; display: block;
}
.product-lb-empty {
  margin: 0; padding: 40px; color: #81858b; font-size: 14px; text-align: center;
}
.product-lb-video-wrap {
  width: 100%; aspect-ratio: 16/9; background: #000;
}
.product-lb-video-wrap iframe,
.product-lb-video-wrap video {
  width: 100%; height: 100%; border: none; display: block;
}
.product-lb-video-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px; text-decoration: none; color: #3f4064;
}
.product-lb-video-poster {
  position: relative; width: min(320px, 80vw); aspect-ratio: 9/16;
  background: #f0f0f3; border-radius: 8px; overflow: hidden;
  display: grid; place-items: center;
}
.product-lb-video-poster img { width: 100%; height: 100%; object-fit: cover; }
.product-lb-play {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff;
  display: grid; place-items: center;
}
.product-lb-video-label { font-size: 14px; font-weight: 600; }

.product-lb-nav {
  flex: 0 0 52px; width: 52px; height: 52px; margin: 0 8px;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.12);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .15s;
}
.product-lb-nav:hover:not(:disabled) { background: rgba(255,255,255,0.22); }
.product-lb-nav:disabled { opacity: 0.25; cursor: default; }

.product-lb-foot {
  flex-shrink: 0; display: flex; align-items: center; gap: 12px;
  padding: 16px 24px 24px; overflow: hidden;
}
.product-lb-thumbs {
  flex: 1; display: flex; gap: 8px; overflow-x: auto;
  justify-content: center; padding-bottom: 4px; scrollbar-width: thin;
}
.product-lb-thumbs::-webkit-scrollbar { height: 4px; }
.product-lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 999px; }
.product-lb-thumb {
  flex: 0 0 64px; width: 64px; height: 64px; padding: 0;
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  cursor: pointer; background: rgba(255,255,255,0.1);
}
.product-lb-thumb.on { border-color: #fff; }
.product-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-lb-thumb--video { display: grid; place-items: center; color: #fff; }
.product-lb-thumb-play { display: grid; place-items: center; width: 100%; height: 100%; }
.product-lb-foot-btn {
  flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 10px; border: none; border-radius: 8px; background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85); font-family: inherit; font-size: 10px; cursor: pointer;
}
.product-lb-foot-btn:hover { background: rgba(255,255,255,0.14); }
.product-lb-foot-btn svg { display: block; }

@media (max-width: 768px) {
  .product-lb-close { top: 12px; left: 12px; }
  .product-lb-nav { width: 40px; height: 40px; flex-basis: 40px; }
  .product-lb-stage { max-width: 100%; max-height: 55vh; }
  .product-lb-foot { flex-wrap: wrap; justify-content: center; }
  .product-lb-foot-btn span { display: none; }
}

/* ── Shop page — Digikala-style light theme ── */
.shop-page {
  --bg: #ffffff;
  --bg2: #ffffff;
  --surface: #ffffff;
  --border: #e0e0e2;
  --text: #3f4043;
  --muted: #62666d;
  --dim: #81858b;
  --orange: #ef4056;
  --cyan: #19bfd3;
  --glass: #ffffff;
  --shop-filter-sticky-top: calc(var(--header-h) + 8px);
  --shop-filter-sticky-max-h: calc(100vh - var(--header-h) - 16px);
  background: #fff;
  color: var(--text);
}
.shop-page.shop-page--has-subnav {
  --shop-filter-sticky-top: calc(var(--header-h) + var(--commerce-subnav-h) + 8px);
  --shop-filter-sticky-max-h: calc(100vh - var(--header-h) - var(--commerce-subnav-h) - 16px);
}

.shop-page-head {
  background: #fff;
  border-bottom: 1px solid #e0e0e2;
  padding: 0 0 14px;
}
.shop-page-head-inner {
  width: 100%;
  max-width: var(--site-max-wide);
  margin-inline: auto;
  padding-inline: var(--site-container-pad);
  box-sizing: border-box;
}
.shop-commerce-strip {
  display: flex;
  flex-direction: column;
  font-family: var(--commerce-nav-font);
}
.shop-page-head-copy {
  min-width: 0;
  padding-top: 12px;
}
.shop-category-nav[hidden] { display: none !important; }

/* Digikala-style inline category menu */
.shop-category-nav--dk {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--commerce-nav-divider);
  font-family: var(--commerce-nav-font);
}
.shop-category-nav-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: var(--commerce-menu-pad-y) 0;
  min-height: 0;
  box-sizing: border-box;
}
.shop-category-nav-track::-webkit-scrollbar { display: none; }
.shop-category-nav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  padding: 0 12px;
  font-family: var(--commerce-nav-font);
  font-size: var(--commerce-nav-font-size);
  font-weight: 400;
  line-height: 2.17;
  letter-spacing: normal;
  color: var(--commerce-nav-color);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s;
}
.shop-category-nav-link-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--commerce-nav-icon-color);
}
.shop-category-nav-link-ico svg {
  width: 18px;
  height: 18px;
  display: block;
}
.shop-category-nav-link.is-hot .shop-category-nav-link-ico {
  color: var(--commerce-nav-icon-color);
}
.shop-category-nav-link.on .shop-category-nav-link-ico,
.shop-category-nav-link:hover .shop-category-nav-link-ico {
  color: var(--commerce-nav-icon-color);
}
.shop-category-nav-link-text {
  line-height: 2.17;
  font-weight: 400;
  letter-spacing: normal;
}
.shop-category-nav-link + .shop-category-nav-link {
  border-inline-start: 1px solid var(--commerce-nav-divider);
  padding-inline-start: 12px;
  margin-inline-start: 0;
}
.shop-category-nav-link:hover {
  color: var(--commerce-nav-color);
}
.shop-category-nav-link.on {
  color: var(--commerce-nav-color);
  font-weight: 400;
}
.shop-category-nav-link.is-hot {
  color: #ef4056;
  font-weight: 400;
}
.shop-category-nav-link.is-hot.on,
.shop-category-nav-link.is-hot:hover {
  color: #ef4056;
  font-weight: 400;
}
.shop-category-nav-link.is-muted {
  color: var(--commerce-nav-color);
  font-weight: 400;
}
.shop-category-nav-link.is-sub {
  color: var(--commerce-nav-color);
  font-size: var(--commerce-nav-font-size);
  font-weight: 400;
}

/* Legacy card nav (product subnav) */
.shop-page-head-main {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: start;
}
.shop-page-head-main--no-nav {
  grid-template-columns: 1fr;
}
.shop-category-nav:not(.shop-category-nav--dk) {
  display: grid;
  grid-template-columns: repeat(var(--shop-cat-cols, 6), minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.shop-category-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 6px 8px;
  border: 1px solid #e5e5e8;
  border-radius: var(--shop-cat-radius, 0);
  background: #fafafa;
  text-decoration: none;
  color: #1f1f23;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.shop-category-nav-item:hover,
.shop-category-nav-item.on {
  border-color: #1f1f23;
  background: #fff;
}
.shop-category-nav-item.is-hot { color: #ef4056; }
.shop-category-nav-item.is-hot:hover,
.shop-category-nav-item.is-hot.on { border-color: #ef4056; background: #fff8f9; }
.shop-category-nav-item.is-muted { color: #81858b; }
.shop-category-nav-visual {
  width: 100%;
  height: 48px;
  display: grid;
  place-items: center;
}
.shop-category-nav-visual .shop-cat-bubble-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.shop-category-nav-emoji {
  font-size: 24px;
  line-height: 1;
}
.shop-category-nav-ico {
  display: grid;
  place-items: center;
  color: inherit;
}
.shop-category-nav-ico svg { display: block; }
.shop-category-nav-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-category-nav-item.is-sub .shop-category-nav-label {
  font-size: 9px;
  font-weight: 500;
  color: #62666d;
}
.site-commerce-subnav-card.is-sub .site-commerce-subnav-card-label {
  font-size: 9px;
  font-weight: 500;
  color: #62666d;
}
.shop-page-head .shop-categories-section {
  background: transparent;
  border: none;
  padding: 16px 0 0;
  margin: 0;
}
.shop-nav-cat-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-nav-cat-group-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  color: #1f1f23;
}
.shop-nav-cat-grid {
  display: grid;
  grid-template-columns: repeat(var(--shop-cat-cols, 3), minmax(0, 1fr));
  gap: 12px;
}
.shop-nav-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px 14px;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  background: #f2f2f2;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.shop-nav-cat-card:hover,
.shop-nav-cat-card.on {
  border-color: #c0c2c9;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}
.shop-nav-cat-card-visual {
  width: 100%;
  min-height: 88px;
  display: grid;
  place-items: center;
}
.shop-nav-cat-card-visual .shop-cat-bubble-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  transform: none;
  filter: none;
}
.shop-nav-cat-card-visual .shop-cat-bubble-emoji {
  font-size: 42px;
  transform: none;
  filter: none;
}
.shop-nav-cat-card-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #1f1f23;
  line-height: 1.45;
}
.shop-page-head .shop-cat-browse {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.shop-page-head .shop-cat-browse::-webkit-scrollbar { display: none; }
.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: var(--commerce-nav-font);
  font-size: var(--commerce-crumb-font-size);
  font-weight: 400;
  line-height: 2.17;
  letter-spacing: normal;
  color: var(--commerce-crumb-color);
  margin: 0;
  padding: var(--commerce-crumb-pad-top) 0 0;
}
.shop-breadcrumb a {
  color: var(--commerce-crumb-color);
  text-decoration: none;
  font-weight: 400;
}
.shop-breadcrumb a:hover {
  color: var(--commerce-crumb-color);
}
.shop-breadcrumb-sep {
  color: var(--commerce-crumb-color);
  user-select: none;
  font-size: var(--commerce-crumb-font-size);
  font-weight: 400;
}
.shop-breadcrumb-current {
  color: var(--commerce-crumb-color);
  font-weight: 400;
}
.shop-page-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1f1f23;
}
.shop-page-sub {
  margin: 0;
  font-size: 13px;
  color: #81858b;
}

.shop-page .shop-categories-section {
  background: #fff;
  border-bottom: 1px solid #e8e8ed;
  padding: 16px 20px 20px;
}
.shop-page-head .shop-categories-section {
  background: transparent;
  border: none;
  padding: 16px 0 0;
}
.shop-page .shop-cat-browse-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  color: #3f4043;
  display: none;
}
.shop-page .shop-main { background: #fff; }
.shop-page .shop-cat-browse-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  justify-content: flex-start;
}
.shop-page .shop-cat-browse-grid::-webkit-scrollbar { display: none; }
.shop-page .shop-cat-bubble {
  flex: 0 0 auto;
  max-width: none;
  width: 88px;
}
.shop-page .shop-cat-bubble-ring {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #f0f0f1;
  border: 1px solid #e8e8ed;
  box-shadow: none;
}
.shop-page .shop-cat-bubble.is-sub .shop-cat-bubble-ring {
  width: 64px;
  height: 64px;
}
.shop-page .shop-cat-bubble:hover .shop-cat-bubble-ring {
  border-color: #c0c2c9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.shop-page .shop-cat-bubble-emoji {
  font-size: 32px;
  transform: none;
}
.shop-page .shop-cat-bubble.is-sub .shop-cat-bubble-emoji { font-size: 26px; transform: none; }
.shop-page .shop-cat-bubble-img {
  width: 52px;
  height: 52px;
  transform: none;
  object-fit: contain;
}
.shop-page .shop-cat-bubble.is-sub .shop-cat-bubble-img {
  width: 44px;
  height: 44px;
  transform: none;
}
.shop-page .shop-cat-bubble-label {
  font-size: 11px;
  color: #3f4043;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  max-width: 88px;
}
.shop-page .shop-cat-bubble.on .shop-cat-bubble-ring {
  border-color: #ef4056;
  background: #fff5f6;
}
.shop-page .shop-cat-bubble.on .shop-cat-bubble-label { color: #ef4056; }

.shop-page .shop-layout {
  width: 100%;
  max-width: var(--site-max-wide);
  margin-inline: auto;
  padding-inline: var(--site-container-pad);
  padding-block: 16px 48px;
  gap: 16px;
  grid-template-columns: 260px 1fr;
  align-items: start;
}
.shop-page .shop-content {
  min-width: 0;
}
.shop-page .shop-sidebar {
  position: sticky;
  top: var(--shop-filter-sticky-top);
  z-index: 12;
  align-self: start;
  width: 100%;
  min-width: 0;
  max-height: var(--shop-filter-sticky-max-h);
}
.shop-page .shop-filter-card {
  background: #fff;
  border: 1px solid #e0e0e6;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(28, 31, 35, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  max-height: var(--shop-filter-sticky-max-h);
  overflow: hidden;
}
.shop-page .shop-filter-head {
  flex-shrink: 0;
  padding: 0 14px;
  margin: 0;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #ececef;
  background: #fff;
}
.shop-page .shop-filter-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
}
.shop-page .shop-filter-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f1f23;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shop-page .shop-filter-title-ico {
  color: #ef4056;
  flex-shrink: 0;
}
.shop-page .shop-filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.shop-page .shop-filter-count[hidden] { display: none !important; }
.shop-page .shop-filter-result-hint {
  margin: 0 0 8px;
  padding-bottom: 2px;
  font-size: 11px;
  color: #81858b;
  line-height: 1.5;
}
.shop-page .shop-filter-result-hint:empty,
.shop-page .shop-filter-result-hint[hidden] { display: none !important; }
.shop-page .shop-filter-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d0d0d6 transparent;
}
.shop-page .shop-filter-body::-webkit-scrollbar { width: 5px; }
.shop-page .shop-filter-body::-webkit-scrollbar-thumb {
  background: #d0d0d6;
  border-radius: 999px;
}
.shop-page .shop-filter-reset {
  color: #19bfd3;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.shop-page .shop-filter-reset:hover {
  background: #e8f8fb;
  color: #008eb3;
}
.shop-page .shop-filter-quick {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  margin: 0;
  background: #f7f7f9;
  border-bottom: 1px solid #ececef;
}
.shop-page .shop-filter-quick .shop-filter-switch {
  padding: 8px 4px;
  border-radius: 8px;
  transition: background .15s;
}
.shop-page .shop-filter-quick .shop-filter-switch:hover {
  background: rgba(255, 255, 255, 0.85);
}
.shop-page .shop-filter-switch-label {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #3f4043;
}
.shop-page .shop-filter-accordion {
  border-bottom: 1px solid #f0f0f3;
}
.shop-page .shop-filter-accordion:last-child { border-bottom: none; }
.shop-page .shop-filter-summary-text {
  flex: 1;
  min-width: 0;
}
.shop-page .shop-filter-search--compact {
  margin-bottom: 8px;
}
.shop-page .shop-filter-search--compact input {
  padding-block: 8px;
  font-size: 11px;
}
.shop-page .shop-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.shop-page .shop-price-preset {
  border: 1px solid #e0e0e6;
  background: #fff;
  color: #62666d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.shop-page .shop-price-preset:hover {
  border-color: #b8b9c2;
  color: #3f4043;
}
.shop-page .shop-price-preset.on {
  border-color: #ef4056;
  background: #fff5f6;
  color: #ef4056;
  font-weight: 600;
}
.shop-page .shop-price-sep {
  color: #c0c2c9;
  font-size: 12px;
}
.shop-page .shop-rating-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.shop-page .shop-rating-opt {
  border: 1px solid #e0e0e6;
  background: #fff;
  color: #62666d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.shop-page .shop-rating-opt:hover {
  border-color: #b8b9c2;
  color: #3f4043;
}
.shop-page .shop-rating-opt.on {
  border-color: #ef4056;
  background: #fff5f6;
  color: #ef4056;
  font-weight: 600;
}
.shop-page .shop-filter-empty-hint {
  margin: 0;
  padding: 8px 4px;
  font-size: 11px;
  color: #a1a3a8;
  text-align: center;
}
.shop-page .shop-check input:checked + .shop-check-label,
.shop-page .shop-check:has(input:checked) {
  color: #ef4056;
  font-weight: 600;
}
.shop-page .shop-check:has(input:checked) .shop-check-count {
  color: #ef4056;
}
.shop-page .shop-filter-accordion {
  border-bottom: 1px solid #f0f0f3;
}
.shop-page .shop-filter-accordion:last-child { border-bottom: none; }
.shop-page .shop-filter-accordion summary {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #3f4043;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background .15s, color .15s;
}
.shop-page .shop-filter-accordion summary:hover {
  background: #fafafa;
  color: #1f1f23;
}
.shop-page .shop-filter-accordion summary::-webkit-details-marker { display: none; }
.shop-page .shop-filter-accordion summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid #81858b;
  border-bottom: 2px solid #81858b;
  transform: rotate(45deg);
  transition: transform .15s;
  flex-shrink: 0;
}
.shop-page .shop-filter-accordion[open] summary::after {
  transform: rotate(-135deg);
}
.shop-page .shop-filter-accordion > .shop-filter-block,
.shop-page .shop-filter-accordion > .shop-filter-switch,
.shop-page .shop-filter-accordion > .shop-filter-toggles {
  padding: 0 16px 14px;
}
.shop-page .shop-filter-block--flush { margin: 0; }
.shop-page .shop-filter-toggles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shop-page .shop-filter-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #62666d;
  cursor: pointer;
  padding: 0 16px 14px;
  position: relative;
}
.shop-page .shop-filter-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-page .shop-filter-quick .shop-filter-switch {
  padding: 8px 4px;
}
.shop-page .shop-switch-track {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #e0e0e6;
  position: relative;
  flex-shrink: 0;
}
.shop-page .shop-switch-thumb {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform .2s;
}
.shop-page .shop-filter-switch input:checked + .shop-switch-track {
  background: #ef4056;
}
.shop-page .shop-filter-switch input:checked + .shop-switch-track .shop-switch-thumb {
  transform: translateX(-16px);
}
[dir="rtl"] .shop-page .shop-filter-switch input:checked + .shop-switch-track .shop-switch-thumb {
  transform: translateX(16px);
}
.shop-page .shop-filter-search input {
  background: #f5f5f7;
  border-color: #e0e0e6;
  color: #3f4043;
}
.shop-page .shop-filter-search input:focus { border-color: #b8b9c2; background: #fff; }
.shop-page .shop-check {
  color: #62666d;
  font-size: 12px;
  width: 100%;
}
.shop-page .shop-check input { accent-color: #ef4056; flex-shrink: 0; }
.shop-page .shop-cat-checks,
.shop-page .shop-brand-checks {
  max-height: none;
  overflow: visible;
  gap: 0;
}
.shop-page .shop-cat-filter-group {
  border-bottom: 1px solid #f0f0f3;
  padding: 2px 0 4px;
}
.shop-page .shop-cat-filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.shop-page .shop-cat-filter-subs {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-inline-start: 8px;
  margin-top: 0;
  border-inline-start: 2px solid #f0f0f3;
}
.shop-page .shop-check-main,
.shop-page .shop-check-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  margin: 0;
  cursor: pointer;
  transition: background .15s;
  line-height: 1.35;
  min-height: 0;
}
.shop-page .shop-check-main:hover,
.shop-page .shop-check-sub:hover {
  background: #f5f5f7;
}
.shop-page .shop-check-sub {
  font-size: 11px;
  color: #81858b;
  padding-inline-start: 4px;
}
.shop-page .shop-check-main {
  font-weight: 600;
  color: #3f4043;
  margin-bottom: 0;
}
.shop-page .shop-check-label {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}
.shop-page .shop-check-count {
  flex-shrink: 0;
  font-size: 10px;
  color: #a1a3a8;
  font-weight: 500;
  min-width: 1.5em;
  text-align: end;
}
.shop-page .shop-brand-checks {
  gap: 2px;
  max-height: 180px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d0d0d6 transparent;
  padding-inline-end: 2px;
}
.shop-page .shop-brand-checks .shop-check {
  padding: 7px 8px;
  border-radius: 6px;
}
.shop-page .shop-brand-checks .shop-check:hover {
  background: #f5f5f7;
}
.shop-page .shop-price-input {
  background: #f5f5f7;
  border-color: #e0e0e6;
  color: #3f4043;
}
.shop-page .shop-range { accent-color: #ef4056; }
.shop-page .shop-filter-select,
.shop-page .shop-sort-select {
  background: #f5f5f7;
  border-color: #e0e0e6;
  color: #3f4043;
}
.shop-page .shop-filter-toggle { color: #62666d; }
.shop-page .shop-filter-toggle input { accent-color: #ef4056; }

.shop-page .shop-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  padding: 0 14px;
  min-height: 48px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.shop-page .shop-toolbar-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.shop-page .shop-toolbar-aside {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.shop-page .shop-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-page .shop-sort-bar::-webkit-scrollbar { display: none; }
.shop-page .shop-sort-label {
  font-size: 12px;
  color: #81858b;
  white-space: nowrap;
  flex-shrink: 0;
}
.shop-page .shop-sort-pills {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.shop-page .shop-sort-pill {
  padding: 6px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #62666d;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.shop-page .shop-sort-pill:hover { background: #f5f5f7; color: #3f4043; }
.shop-page .shop-sort-pill.on {
  background: #fff0f2;
  color: #ef4056;
  font-weight: 600;
}
.shop-page .shop-results-meta {
  font-size: 12px;
  color: #81858b;
  font-weight: 500;
  white-space: nowrap;
}
.shop-page .shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shop-page .shop-view-btn {
  background: #fff;
  border-color: #e0e0e6;
  color: #81858b;
  display: grid;
  place-items: center;
}
.shop-page .shop-view-btn.on {
  border-color: #ef4056;
  color: #ef4056;
  background: #fff5f6;
}
.shop-page .shop-sort-select--mobile { display: none; }
.shop-page .shop-mobile-filter-btn {
  background: #fff;
  border-color: #e0e0e6;
  color: #3f4043;
  font-weight: 500;
}
.shop-page .shop-filter-chip {
  background: #fff5f6;
  border-color: #ffc2cb;
  color: #ef4056;
}
.shop-page .shop-empty { color: #81858b; text-align: center; padding: 40px 16px; }

/* Grid view — modern floating cards */
.shop-page .shop-products-grid:not(.shop-list-view) {
  display: grid;
  grid-template-columns: repeat(var(--shop-cols, 5), minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 24px;
}
.shop-page .dk-product-card--grid {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #ececee;
  border-inline-start: 1px solid #ececee !important;
  border-radius: 14px;
  background: #fafafa;
  text-align: right;
  overflow: hidden;
  min-height: 100%;
  transition: background .2s ease, border-color .2s ease, box-shadow .22s ease, transform .22s ease;
}
.shop-page .dk-product-card--grid:hover {
  background: #fff;
  border-color: #e3e3e8;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
  z-index: 2;
}
.shop-page .dk-product-card--grid.out-of-stock { opacity: 0.82; }

.shop-page .dk-grid-media {
  display: block;
  position: relative;
  margin: 10px 10px 0;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececee;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shop-page .dk-product-card--grid:hover .dk-grid-media {
  border-color: #e0e0e6;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.shop-page .dk-grid-media-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
}
.shop-page .dk-grid-media img,
.shop-page .dk-grid-media .shop-product-photo {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}
.shop-page .dk-product-card--grid:hover .dk-grid-media img,
.shop-page .dk-product-card--grid:hover .dk-grid-media .shop-product-photo {
  transform: scale(1.05);
}
.shop-page .dk-grid-emoji {
  font-size: 44px;
  line-height: 1;
}
.shop-page .dk-grid-sale-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(239, 64, 86, 0.28);
  z-index: 2;
}
.shop-page .dk-grid-feature-badge {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #19bfd3;
  border: 1px solid #d4f1f8;
  line-height: 1.3;
  z-index: 2;
}

.shop-page .dk-grid-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 10px 12px 12px;
}
.shop-page .dk-grid-eyebrow {
  font-size: 10px;
  line-height: 1.3;
}
.shop-page .dk-grid-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  background: #f0f4f8;
  border: 1px solid #e3e7ed;
  color: #62666d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.shop-page .dk-grid-brand-chip:hover {
  background: #e8f7fa;
  border-color: #b3e5f0;
  color: #1f1f23;
  box-shadow: 0 1px 4px rgba(25, 191, 211, 0.12);
}
.shop-page .dk-grid-brand-chip svg {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  color: #19bfd3;
}
.shop-page .dk-grid-brand-label {
  color: #a1a3a8;
  font-weight: 500;
  flex-shrink: 0;
}
.shop-page .dk-grid-brand-name {
  color: #424750;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.shop-page .dk-grid-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f1f23;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.shop-page .dk-grid-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.shop-page .dk-grid-title a:hover { color: #ef4056; }
.shop-page .dk-grid-desc-wrap {
  margin: 2px 0 0;
}
.shop-page .dk-grid-desc {
  margin: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(to left, #f5f6f8 0%, #fafbfc 100%);
  border-inline-start: 2px solid #19bfd3;
  font-size: 11px;
  line-height: 1.55;
  color: #62666d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-page .dk-grid-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 18px;
  font-size: 10px;
}
.shop-page .dk-grid-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #62666d;
}
.shop-page .dk-grid-rating strong {
  color: #1f1f23;
  font-weight: 700;
}
.shop-page .dk-grid-rating svg { flex-shrink: 0; }
.shop-page .dk-grid-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  line-height: 1.2;
}
.shop-page .dk-grid-status svg { flex-shrink: 0; }
.shop-page .dk-grid-status--in { color: #2e7d52; }
.shop-page .dk-grid-status--out { color: #ef4056; }

.shop-page .dk-grid-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #ececee;
}
.shop-page .dk-grid-price-panel {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid #e8eaed;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.shop-page .dk-grid-price-panel.has-sale {
  background: linear-gradient(145deg, #fffafb 0%, #fff0f3 100%);
  border-color: rgba(239, 64, 86, 0.16);
}
.shop-page .dk-grid-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.shop-page .dk-grid-price-old {
  font-size: 10px;
  color: #a1a3a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.shop-page .dk-grid-price-old-num { text-decoration: line-through; }
.shop-page .dk-grid-price-badge {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}
.shop-page .dk-grid-price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 4px;
  white-space: nowrap;
  min-width: 0;
}
.shop-page .dk-grid-price-num {
  font-size: 16px;
  font-weight: 800;
  color: #1f1f23;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.shop-page .dk-grid-price-panel.has-sale .dk-grid-price-num { color: #ef4056; }
.shop-page .dk-grid-price-unit {
  font-size: 9px;
  font-weight: 500;
  color: #81858b;
  flex-shrink: 0;
}
.shop-page .dk-grid-price-save {
  display: block;
  padding-top: 4px;
  border-top: 1px dashed rgba(46, 125, 82, 0.22);
  font-size: 9px;
  font-weight: 600;
  color: #2e7d52;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-page .dk-grid-buy {
  opacity: 1 !important;
  transform: none !important;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-radius: 9px;
  background: #ef4056;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.shop-page .dk-grid-buy svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}
.shop-page .dk-grid-buy:hover {
  background: #d9364a;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(239, 64, 86, 0.28);
}
.shop-page .dk-grid-buy--disabled {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f0f0f3;
  color: #a1a3a8;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.shop-page .shop-products-grid:not(.shop-list-view) .dk-add-cart.dk-grid-buy {
  opacity: 1 !important;
  transform: none !important;
  margin-top: 0;
  border: none;
  background: #ef4056;
  color: #fff;
}
.shop-page .shop-products-grid:not(.shop-list-view) .dk-add-cart.dk-grid-buy:hover {
  background: #d9364a;
  color: #fff;
}

.shop-page .dk-discount-badge {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-inline-start: auto;
}

/* ── Sale footer strip (bottom edge) — colors via CSS vars from admin ── */
.shop-page .dk-sale-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background-size: 220% 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-position .55s ease;
}
.shop-page .dk-sale-footer--sale {
  background-image: linear-gradient(105deg, var(--promo-sale-c1, #a31515) 0%, var(--promo-sale-c2, #ef4056) 35%, var(--promo-sale-c3, #ff5252) 65%, var(--promo-sale-c2, #ef4056) 100%);
}
.shop-page .dk-sale-footer--amazing {
  background-image: linear-gradient(105deg, var(--promo-amazing-c1, #4a148c) 0%, var(--promo-amazing-c2, #7b1fa2) 35%, var(--promo-amazing-c3, #e040fb) 65%, var(--promo-amazing-c2, #7b1fa2) 100%);
}
.shop-page .dk-sale-footer--popular {
  background-image: linear-gradient(105deg, var(--promo-popular-c1, #0d47a1) 0%, var(--promo-popular-c2, #1976d2) 35%, var(--promo-popular-c3, #42a5f5) 65%, var(--promo-popular-c2, #1976d2) 100%);
}
.shop-page .dk-product-card--grid.on-sale:hover .dk-sale-footer,
.shop-page .shop-list-view .dk-product-card--list.on-sale:hover .dk-sale-footer {
  background-position: 100% 0;
}
.shop-page .dk-sale-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 42%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
  z-index: 0;
}
.shop-page .dk-sale-footer::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.65) 50%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}
.shop-page .dk-sale-footer > * {
  position: relative;
  z-index: 1;
}
.shop-page .dk-sale-footer-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.shop-page .dk-sale-footer-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.shop-page .dk-sale-footer-copy strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.shop-page .dk-sale-footer-save {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.94;
}
.shop-page .dk-sale-footer-deco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  animation: dk-sale-spark 2.4s ease-in-out infinite;
}
@keyframes dk-sale-spark {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Grid — footer flush with card bottom */
.shop-page .dk-product-card--grid.on-sale {
  padding: 0;
}
.shop-page .dk-product-card--grid.on-sale .dk-sale-footer {
  margin-top: 0;
  margin-inline: 0;
  width: 100%;
  border-radius: 0 0 13px 13px;
}
.shop-page .dk-product-card--grid.on-sale:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.shop-page .dk-product-card--grid.promo-amazing.on-sale:hover {
  box-shadow: 0 10px 28px rgba(123, 31, 162, 0.12);
}
.shop-page .dk-product-card--grid.promo-popular.on-sale:hover {
  box-shadow: 0 10px 28px rgba(25, 118, 210, 0.12);
}

/* List — footer spans full card width */
.shop-page .shop-list-view .dk-product-card--list.on-sale:hover {
  border-color: #ececee;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.shop-page .shop-list-view .dk-product-card--list .dk-sale-footer {
  padding: 9px 18px;
  border-radius: 0 0 13px 13px;
}

@media (prefers-reduced-motion: reduce) {
  .shop-page .dk-sale-footer-deco { animation: none; }
  .shop-page .dk-sale-footer { transition: none; }
}

.shop-page .dk-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.shop-page .dk-price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.shop-page .dk-price {
  font-size: 15px;
  font-weight: 700;
  color: #1f1f23;
  letter-spacing: -0.02em;
}
.shop-page .dk-currency {
  font-size: 10px;
  color: #81858b;
  font-weight: 500;
}
.shop-page .dk-old-price {
  font-size: 11px;
  color: #b8b9c2;
  text-decoration: line-through;
}
.shop-page .dk-oos {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #81858b;
  padding: 4px 8px;
  background: #f5f5f7;
  border-radius: 4px;
}
.shop-page .dk-add-cart {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid #ef4056;
  border-radius: 6px;
  background: #fff;
  color: #ef4056;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, opacity .2s, transform .2s;
  opacity: 0;
  transform: translateY(4px);
}
.shop-page .dk-product-card:hover .dk-add-cart {
  opacity: 1;
  transform: translateY(0);
}
.shop-page .dk-add-cart:hover {
  background: #ef4056;
  color: #fff;
}
.shop-page .shop-list-view .dk-add-cart.dk-list-buy {
  opacity: 1 !important;
  transform: none !important;
  margin-top: 0;
  border: none;
  background: #ef4056;
  color: #fff;
}
.shop-page .shop-list-view .dk-add-cart.dk-list-buy:hover {
  background: #d9364a;
  color: #fff;
}
.shop-page .shop-offers-section {
  margin-top: 8px;
  padding-top: 8px;
}
.shop-offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.shop-offers-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f1f23;
}
.shop-offers-more {
  font-size: 12px;
  color: #19bfd3;
  text-decoration: none;
  font-weight: 500;
}
.shop-offers-more:hover { text-decoration: underline; }
.shop-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.shop-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #fff5f6 0%, #fff 60%);
  border: 1px solid #ffd6dc;
  border-radius: 10px;
  overflow: visible;
  transition: box-shadow .2s, transform .2s;
}
.shop-offer-card:hover {
  box-shadow: 0 6px 20px rgba(239,64,86,0.12);
  transform: translateY(-2px);
}
.shop-offer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.shop-offer-link:hover h3 { color: #ef4056; }
.shop-offer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.shop-offer-view {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e0e0e6;
  border-radius: 6px;
  background: #fff;
  color: #3f4043;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.shop-offer-view:hover {
  border-color: #ef4056;
  color: #ef4056;
}
.shop-offer-buy {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #ef4056;
  border-radius: 6px;
  background: #fff;
  color: #ef4056;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.shop-offer-buy:hover {
  background: #ef4056;
  color: #fff;
}
.shop-offer-visual {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ffe0e5;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.shop-offer-body { flex: 1; min-width: 0; }
.shop-offer-body h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3f4043;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-offer-prices { display: flex; flex-direction: column; gap: 2px; }
.shop-offer-old {
  font-size: 11px;
  color: #b8b9c2;
  text-decoration: line-through;
}
.shop-offer-price {
  font-size: 14px;
  font-weight: 700;
  color: #ef4056;
}
.shop-offer-price small { font-size: 10px; font-weight: 500; color: #81858b; }
.shop-offer-pct {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
}

/* List view — minimal card rows */
.shop-page .shop-products-grid.shop-list-view,
.shop-page .shop-list-view {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  grid-template-columns: unset !important;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 24px;
}

.shop-page .shop-list-view .dk-product-card--list {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #ececee;
  border-inline-start: none !important;
  border-radius: 14px;
  background: #fafafa;
  overflow: hidden;
  min-height: 0;
  position: relative;
  transition: background .2s ease, border-color .2s ease, box-shadow .22s ease, transform .22s ease;
}
.shop-page .shop-list-view .dk-product-card--list:hover {
  background: #fff;
  border-color: #e3e3e8;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
  z-index: 2;
}
.shop-page .shop-list-view .dk-product-card--list.out-of-stock {
  opacity: 0.82;
}

.shop-page .dk-list-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 204px;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
}

.shop-page .dk-list-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #ececee;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.shop-page .shop-list-view .dk-product-card--list:hover .dk-list-media {
  border-color: #e0e0e6;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.shop-page .dk-list-media-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}
.shop-page .dk-list-media img,
.shop-page .dk-list-media .shop-product-photo {
  width: 100%;
  height: 100%;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}
.shop-page .shop-list-view .dk-product-card--list:hover .dk-list-media img,
.shop-page .shop-list-view .dk-product-card--list:hover .dk-list-media .shop-product-photo {
  transform: scale(1.04);
}
.shop-page .dk-list-emoji {
  font-size: 42px;
  line-height: 1;
}
.shop-page .dk-list-sale-badge {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(239, 64, 86, 0.28);
}
.shop-page .dk-list-feature-badge {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #19bfd3;
  border: 1px solid #d4f1f8;
  line-height: 1.3;
}

.shop-page .dk-list-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shop-page .dk-list-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
}
.shop-page .dk-list-cat {
  color: #81858b;
  font-weight: 500;
}
.shop-page .dk-list-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: #f0f4f8;
  border: 1px solid #e3e7ed;
  color: #62666d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.shop-page .dk-list-brand-chip:hover {
  background: #e8f7fa;
  border-color: #b3e5f0;
  color: #1f1f23;
  box-shadow: 0 1px 4px rgba(25, 191, 211, 0.12);
}
.shop-page .dk-list-brand-chip svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: #19bfd3;
}
.shop-page .dk-list-brand-label {
  color: #a1a3a8;
  font-weight: 500;
  flex-shrink: 0;
}
.shop-page .dk-list-brand-name {
  color: #424750;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.shop-page .dk-list-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f1f23;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-page .dk-list-title a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.shop-page .dk-list-title a:hover { color: #ef4056; }
.shop-page .dk-list-desc-wrap {
  margin: 6px 0 4px;
}
.shop-page .dk-list-desc {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(to left, #f8f9fb 0%, #fcfcfd 100%);
  border: 1px solid #ececee;
  border-inline-start: 3px solid #19bfd3;
  font-size: 12px;
  line-height: 1.65;
  color: #62666d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-page .dk-list-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.shop-page .dk-list-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #62666d;
}
.shop-page .dk-list-rating strong {
  color: #1f1f23;
  font-weight: 700;
}
.shop-page .dk-list-reviews {
  font-size: 11px;
  color: #a1a3a8;
  font-weight: 400;
}
.shop-page .dk-list-reviews--solo {
  font-size: 12px;
  color: #81858b;
}
.shop-page .dk-list-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.shop-page .dk-list-status svg { flex-shrink: 0; }
.shop-page .dk-list-status--in { color: #2e7d52; }
.shop-page .dk-list-status--out { color: #ef4056; }

.shop-page .dk-list-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 216px;
  flex-shrink: 0;
  padding-inline-start: 18px;
  border-inline-start: 1px solid #ececee;
  box-sizing: border-box;
}
.shop-page .dk-list-price-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.shop-page .dk-list-price-panel.has-sale {
  background: linear-gradient(145deg, #fffafb 0%, #fff0f3 100%);
  border-color: rgba(239, 64, 86, 0.18);
}
.shop-page .dk-list-price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.shop-page .dk-list-price-old {
  font-size: 11px;
  color: #a1a3a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  text-align: end;
  flex: 1;
}
.shop-page .dk-list-price-old-num { text-decoration: line-through; }
.shop-page .dk-list-price-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ef4056;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}
.shop-page .dk-list-price-main {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 5px;
  white-space: nowrap;
}
.shop-page .dk-list-price-num {
  font-size: 20px;
  font-weight: 800;
  color: #1f1f23;
  letter-spacing: -0.03em;
  line-height: 1;
}
.shop-page .dk-list-price-panel.has-sale .dk-list-price-num { color: #ef4056; }
.shop-page .dk-list-price-unit {
  font-size: 10px;
  font-weight: 500;
  color: #81858b;
  flex-shrink: 0;
}
.shop-page .dk-list-price-save {
  display: block;
  text-align: end;
  padding-top: 6px;
  border-top: 1px dashed rgba(46, 125, 82, 0.22);
  font-size: 10px;
  font-weight: 600;
  color: #2e7d52;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-page .dk-list-buy {
  opacity: 1 !important;
  transform: none !important;
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  font-size: 11px;
  font-weight: 700;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  border: none;
  background: #ef4056;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.shop-page .dk-list-buy svg { flex-shrink: 0; width: 14px; height: 14px; }
.shop-page .dk-list-buy:hover {
  background: #d9364a;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(239, 64, 86, 0.28);
}
.shop-page .dk-list-buy--disabled {
  display: block;
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f0f0f3;
  color: #a1a3a8;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

@media (max-width: 960px) {
  .shop-page .dk-list-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 14px;
  }
  .shop-page .dk-list-aside {
    grid-column: 1 / -1;
    width: auto;
    padding-inline-start: 0;
    border-inline-start: none;
    border-top: 1px solid #ececee;
    padding-top: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .shop-page .dk-list-price-panel {
    flex: 1;
    min-width: 0;
  }
  .shop-page .dk-list-price-main,
  .shop-page .dk-list-price-save {
    justify-content: flex-start;
    text-align: start;
  }
  .shop-page .dk-list-buy {
    width: auto;
    min-width: 136px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .shop-page .dk-list-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .shop-page .dk-list-media {
    max-width: 120px;
    margin-inline: auto;
  }
  .shop-page .dk-list-aside {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-page .dk-list-price-panel {
    align-items: stretch;
  }
  .shop-page .dk-list-price-main,
  .shop-page .dk-list-price-save {
    justify-content: flex-end;
    text-align: end;
  }
  .shop-page .dk-list-buy {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .shop-page .shop-layout { grid-template-columns: 1fr; }
  .shop-page .shop-sidebar { display: none; }
}
@media (max-width: 860px) {
  .shop-page .shop-toolbar {
    flex-wrap: wrap;
    padding: 10px 12px;
    min-height: 0;
    gap: 8px;
  }
  .shop-page .shop-toolbar-main {
    flex: 1 1 100%;
  }
  .shop-page .shop-toolbar-aside {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .shop-page .shop-sort-pills { display: none; }
  .shop-page .shop-sort-select--mobile { display: block; min-width: 0; flex: 1; }
  .shop-page .shop-sort-label { display: none; }
  .site-commerce-subnav-card { padding: 8px 6px 6px; }
  .site-commerce-subnav-card-visual { height: 44px; }
  .site-commerce-subnav-card-label { font-size: 10px; }
  .shop-category-nav-link {
    font-size: 12px;
    padding: 6px 12px;
  }
  .shop-page .shop-layout { grid-template-columns: 1fr; }
  .shop-page .shop-sidebar { display: none; }
  .shop-page .shop-filter-card { position: static; max-height: none; }
  .shop-offers-grid { grid-template-columns: 1fr; }
  .shop-offer-actions { flex-direction: column; }
  .shop-offer-view,
  .shop-offer-buy { width: 100%; }
  .shop-page .dk-add-cart { opacity: 1; transform: none; }
  .shop-page .shop-sidebar.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0,0,0,0.45);
    padding: 16px;
    overflow-y: auto;
  }
  .shop-page .shop-sidebar.open .shop-filter-card {
    max-width: 360px;
    margin: 0 auto;
    position: relative;
    top: 0;
  }
  .shop-page .shop-mobile-filter-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 480px) {
  .shop-page .shop-products-grid:not(.shop-list-view) {
    gap: 10px;
  }
  .shop-category-nav-link {
    font-size: 11px;
    padding: 5px 10px;
  }
  .shop-page { --commerce-subnav-h: 96px; }
}

/* Product action modals & toast */
body.site-product-modal-open { overflow: hidden; }
.site-product-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px);
  z-index: 10050; padding: 12px 20px; border-radius: 10px;
  background: #1f1f23; color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.site-product-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.site-product-modal {
  position: fixed; inset: 0; z-index: 10040;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,0.55);
}
.site-product-modal[hidden] { display: none !important; }
.site-product-modal-box {
  width: min(440px, 100%); background: #fff; border-radius: 12px;
  border: 1px solid #e0e0e6; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}
.site-product-modal-box--wide { width: min(640px, 100%); }
.site-product-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid #f0f0f3;
}
.site-product-modal-close {
  border: none; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #81858b;
}
.site-product-modal-body { padding: 16px; }
.site-product-modal-lead { margin: 0 0 14px; font-size: 13px; color: #62666d; }
.site-product-modal-check {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px;
  font-size: 13px; color: #3f4064; cursor: pointer;
}
.site-product-modal-field { margin-bottom: 14px; }
.site-product-modal-field label { display: block; font-size: 12px; color: #81858b; margin-bottom: 6px; }
.site-product-modal-input {
  width: 100%; padding: 10px 12px; border: 1px solid #e0e0e6; border-radius: 8px;
  font: inherit; font-size: 14px; box-sizing: border-box;
}
.site-product-modal-submit { width: 100%; margin-top: 4px; }
.site-price-chart-wrap {
  background: #fafafa; border: 1px solid #f0f0f3; border-radius: 8px;
  padding: 8px; margin-bottom: 12px;
}
.site-price-chart-svg { display: block; width: 100%; height: auto; }
.site-price-chart-meta {
  display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 12px; color: #62666d; margin-bottom: 8px;
}
.site-price-chart-note { font-size: 11px; margin: 0; }
.site-compare-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.site-compare-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
.site-compare-table th, .site-compare-table td {
  padding: 10px 12px; border: 1px solid #f0f0f3; text-align: right; vertical-align: top;
}
.site-compare-table thead th { background: #f5f5f7; font-weight: 600; }
.site-product-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-product-modal-box--share { width: min(420px, 100%); }
.product-share-lead {
  font-weight: 600;
  color: #1f1f23;
  margin-bottom: 16px;
}
.product-share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.product-share-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 84px;
  padding: 10px 6px;
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #fafafa;
  text-decoration: none;
  color: #3f4064;
  transition: background .15s, border-color .15s, transform .12s;
}
.product-share-opt:hover {
  background: #fff;
  border-color: #d5d7de;
  transform: translateY(-1px);
}
.product-share-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.product-share-opt-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.product-share-opt--telegram .product-share-opt-icon { background: #229ed9; }
.product-share-opt--whatsapp .product-share-opt-icon { background: #25d366; }
.product-share-opt--twitter .product-share-opt-icon { background: #0f1419; }
.product-share-opt--linkedin .product-share-opt-icon { background: #0a66c2; }
.product-share-opt--facebook .product-share-opt-icon { background: #1877f2; }
.product-share-opt--email .product-share-opt-icon {
  background: #f0f0f3;
  color: #62666d;
}
.product-share-link-block { margin-top: 4px; }
.product-share-link-label {
  display: block;
  font-size: 12px;
  color: #81858b;
  margin-bottom: 8px;
}
.product-share-link-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.product-share-link-input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  background: #fafafa;
}
.product-share-copy-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding-inline: 14px;
}
.product-share-native-btn {
  width: 100%;
  margin-top: 12px;
}
@media (max-width: 420px) {
  .product-share-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-share-link-row { flex-direction: column; }
  .product-share-copy-btn { width: 100%; }
}

/* ── Page loader (product & public pages) ── */
.site-page-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h, 72px) - var(--commerce-subnav-h, 0px));
  padding: 48px 24px;
  animation: site-page-loader-in 0.35s ease-out both;
}
.site-page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.site-page-loader-visual {
  position: relative;
  width: 56px;
  height: 56px;
}
.site-page-loader-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(239, 64, 86, 0.12);
  border-top-color: #ef4056;
  animation: site-loader-spin 0.85s linear infinite;
}
.site-page-loader[data-loader-init] .site-page-loader-visual::before {
  display: none;
}
.site-page-loader-visual::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 64, 86, 0.08) 0%, transparent 70%);
  animation: site-page-loader-glow 2.4s ease-in-out infinite;
}
.site-page-loader-canvas {
  display: block;
  position: relative;
  z-index: 1;
}
.site-page-loader-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--dim, #81858b);
  letter-spacing: 0.01em;
}
.site-page-loader-dots {
  display: inline-block;
  min-width: 1.2em;
  text-align: start;
}
.product-page .site-page-loader {
  background: #fff;
}

/* ── Product empty / not-found state ── */
.product-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(58vh, 520px);
  padding: 32px 0 56px;
}
.product-empty-state-card {
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 36px;
  text-align: center;
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  box-shadow: 0 12px 32px rgba(63, 64, 100, 0.07);
}
.product-empty-state-visual {
  position: relative;
  width: 120px;
  height: 96px;
  margin: 0 auto 24px;
}
.product-empty-state-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ef4056;
}
.product-empty-state-icon svg {
  width: 72px;
  height: 72px;
}
.product-empty-state-float {
  position: absolute;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ececef;
  box-shadow: 0 4px 12px rgba(63, 64, 100, 0.08);
  animation: productEmptyFloat 3s ease-in-out infinite;
}
.product-empty-state-float--1 {
  top: 4px;
  right: -8px;
  animation-delay: 0.2s;
}
.product-empty-state-float--2 {
  bottom: 0;
  left: -10px;
  animation-delay: 0.7s;
}
.product-empty-state-title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3f4064;
  line-height: 1.5;
}
.product-empty-state-desc {
  margin: 0 auto 28px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.85;
  color: #81858b;
}
.product-empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.product-empty-state-actions .site-btn {
  min-width: 148px;
}
.product-page .product-empty-state-actions .site-btn-primary {
  background: linear-gradient(135deg, #ef4056, #d6374c);
  box-shadow: 0 4px 16px rgba(239, 64, 86, 0.28);
}
.product-page .product-empty-state-actions .site-btn-primary:hover {
  box-shadow: 0 6px 22px rgba(239, 64, 86, 0.38);
}
.product-page .product-empty-state-actions .site-btn-outline {
  border-color: #c0c2c5;
  color: #62666d;
}
.product-page .product-empty-state-actions .site-btn-outline:hover {
  border-color: #19bfd3;
  color: #19bfd3;
  background: rgba(25, 191, 211, 0.06);
}
@keyframes productEmptyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (max-width: 560px) {
  .product-empty-state-card {
    padding: 32px 20px 28px;
  }
  .product-empty-state-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .product-empty-state-actions .site-btn {
    width: 100%;
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-empty-state-float { animation: none; }
}

@keyframes site-page-loader-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes site-page-loader-glow {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes site-loader-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .site-page-loader { animation: none; }
  .site-page-loader-visual::after { animation: none; }
  .site-page-loader-visual::before { animation: none; border-top-color: #ef4056; }
}

/* ── Commerce width lock (Digikala-style 1676px) ── */
.shop-page .site-header--commerce > .site-header-commerce,
.product-page .site-header--commerce > .site-header-commerce,
.shop-page .shop-page-head-inner,
.shop-page .shop-layout,
.product-page .product-page-inner,
.product-page .site-commerce-subnav-inner,
.shop-page .site-footer-inner,
.product-page .site-footer-inner {
  width: 100%;
  max-width: var(--site-max-wide);
  margin-inline: auto;
  padding-inline: var(--site-container-pad);
  box-sizing: border-box;
}

/* ── Commerce footer (Fitronix layout — dynamic columns) ── */
.shop-page .site-footer.site-footer--fitronix,
.product-page .site-footer.site-footer--fitronix {
  width: 100%;
  padding: 0;
  margin-top: 0;
  border-top: 1px solid #e0e0e2;
  border-top-width: 1px;
  border-top-style: solid;
  background: #fff;
  box-shadow: none;
}

.shop-page .fx-footer-card,
.product-page .fx-footer-card {
  width: 100%;
  max-width: var(--site-max-wide);
  margin: 0 auto;
  padding-inline: var(--site-container-pad);
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.shop-page .fx-footer-inner,
.product-page .fx-footer-inner {
  max-width: none;
  margin: 0;
}

.shop-page .fx-footer-top,
.product-page .fx-footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(var(--fx-footer-cols, 3), minmax(0, 1fr));
  gap: 0;
  padding: 40px 0 0;
}

.shop-page .fx-footer-cell,
.product-page .fx-footer-cell {
  padding: 0 28px 32px;
}

.shop-page .fx-footer-cell + .fx-footer-cell,
.product-page .fx-footer-cell + .fx-footer-cell {
  border-inline-start: 1px solid #e0e0e2;
}

.shop-page .fx-footer-brand,
.product-page .fx-footer-brand {
  padding-inline-start: 32px;
}

.shop-page .fx-footer-logo,
.product-page .fx-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.shop-page .fx-footer-logo .fx-logo-mark,
.product-page .fx-footer-logo .fx-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #001a33, #0a3d6b);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.shop-page .fx-footer-logo .fx-logo-mark::after,
.product-page .fx-footer-logo .fx-logo-mark::after {
  content: '';
  position: absolute;
  top: -2px;
  inset-inline-end: -2px;
  width: 14px;
  height: 14px;
  background: #ef4056;
  border-radius: 0 10px 0 10px;
}

.shop-page .fx-footer-logo .fx-logo-text,
.product-page .fx-footer-logo .fx-logo-text {
  color: #001a33;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.shop-page .fx-footer-headline,
.product-page .fx-footer-headline {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  color: #001a33;
}

.shop-page .fx-footer-tagline,
.product-page .fx-footer-tagline {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
  color: #62666d;
}

.shop-page .fx-footer-social,
.product-page .fx-footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-page .fx-footer-social-btn,
.product-page .fx-footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e2;
  display: grid;
  place-items: center;
  color: #62666d;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.shop-page .fx-footer-social-btn:hover,
.product-page .fx-footer-social-btn:hover {
  border-color: #ef4056;
  color: #ef4056;
}

.shop-page .fx-footer-col h4,
.product-page .fx-footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  color: #001a33;
}

.shop-page .fx-footer-col nav,
.product-page .fx-footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-page .fx-footer-col a,
.product-page .fx-footer-col a {
  display: block;
  font-size: 13px;
  color: #62666d;
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.5;
  transition: color 0.15s;
}

.shop-page .fx-footer-col a:hover,
.product-page .fx-footer-col a:hover {
  color: #ef4056;
}

.shop-page .fx-footer-bottom,
.product-page .fx-footer-bottom {
  border-top: 1px solid #e0e0e2;
  padding: 16px 32px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #81858b;
  background: #fff;
}

@media (max-width: 1100px) {
  .shop-page .fx-footer-top,
  .product-page .fx-footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .shop-page .fx-footer-cell,
  .product-page .fx-footer-cell {
    border-inline-start: none;
  }
  .shop-page .fx-footer-cell:nth-child(n+2),
  .product-page .fx-footer-cell:nth-child(n+2) {
    border-top: 1px solid #e0e0e2;
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .shop-page .fx-footer-top,
  .product-page .fx-footer-top {
    grid-template-columns: 1fr;
  }
  .shop-page .fx-footer-cell,
  .product-page .fx-footer-cell,
  .shop-page .fx-footer-brand,
  .product-page .fx-footer-brand {
    padding-inline: 24px;
  }
  .shop-page .fx-footer-bottom,
  .product-page .fx-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-inline: 24px;
  }
}

.fx-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.fx-dual-date-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: inherit;
  color: #0e7490;
}
.fx-dual-date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fx-dual-date-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.fx-dual-date-text {
  font-size: 13px;
  font-weight: 600;
  color: #0e7490;
  line-height: 1.45;
}
.fx-dual-date-text--en {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.fx-dual-date--site { margin-top: 0; }
