/* ================================================================
   MAGHREBTECH - Premium Theme v5.0  |  Mobile-First | Animated
   ================================================================ */

/* TOKENS */
:root {
  --brand:        #2563EB;
  --brand-2:      #60A5FA;
  --brand-dark:   #1D4ED8;
  --brand-xdark:  #1E3A8A;
  --brand-light:  #EFF6FF;
  --brand-glow:   rgba(37,99,235,.28);
  --brand-glow-s: rgba(37,99,235,.10);
  --accent:       #F97316;
  --accent-dark:  #EA580C;
  --accent-light: #FFF7ED;
  --accent-glow:  rgba(249,115,22,.3);
  --success: #22C55E; --warning: #F59E0B; --danger: #EF4444;
  --ink:   #0F172A; --ink-2: #1E293B; --ink-3: #334155;
  --muted: #64748B; --muted-2: #94A3B8; --muted-3: #CBD5E1;
  --bg:       #F5F8FF;
  --surface:  #FFFFFF;
  --surface-2:#F1F5F9;
  --wash:     #E8EDF8;
  --line:     #E2E8F0;
  --line-2:   #CBD5E1;
  --sh-xs:  0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --sh-sm:  0 4px 6px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --sh-md:  0 10px 24px rgba(15,23,42,.07), 0 4px 8px rgba(15,23,42,.04);
  --sh-lg:  0 20px 48px rgba(15,23,42,.09), 0 8px 16px rgba(15,23,42,.05);
  --sh-xl:  0 32px 72px rgba(15,23,42,.12), 0 12px 24px rgba(15,23,42,.07);
  --sh-brand:  0 8px 32px rgba(37,99,235,.30);
  --sh-accent: 0 8px 28px rgba(249,115,22,.30);
  --r-xs:4px; --r-sm:8px; --r:12px; --r-lg:18px; --r-xl:24px; --r-2xl:32px; --r-full:9999px;
  --page-x:   clamp(1rem,4vw,2.5rem);
  --page-max: 1360px;
  --hdr-h:  70px;
  --bot-h:  70px;
  --dur:      200ms;
  --dur-med:  350ms;
  --dur-slow: 550ms;
  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --spring:   cubic-bezier(.34,1.56,.64,1);
  --safe-b:   env(safe-area-inset-bottom,0px);
}

/* RESET */
*,*::before,*::after { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Outfit','Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:15px; line-height:1.65;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; min-height:100vh;
}
@media(max-width:768px){ body { padding-bottom:calc(var(--bot-h) + var(--safe-b)); } }
h1,h2,h3,h4,h5,h6 { font-family:'Outfit',ui-sans-serif,sans-serif; font-weight:800; line-height:1.1; margin:0; color:var(--ink); }
p { margin:0; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
button { cursor:pointer; border:0; background:none; font-family:inherit; padding:0; }
ul,ol { margin:0; padding:0; list-style:none; }
input,select,textarea { font-family:inherit; font-size:inherit; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal       { opacity:0; transform:translateY(32px); }
.reveal-left  { opacity:0; transform:translateX(-32px); }
.reveal-right { opacity:0; transform:translateX(32px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity:1; transform:none; }
/* On mobile: horizontal reveals become vertical to prevent overflow/scroll */
@media(max-width:768px) {
  .reveal-left  { transform:translateY(24px); }
  .reveal-right { transform:translateY(24px); }
}
.stagger > * {
  opacity:0; transform:translateY(28px);
  transition:opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.stagger.in > *:nth-child(1)   { opacity:1; transform:none; transition-delay:.05s; }
.stagger.in > *:nth-child(2)   { opacity:1; transform:none; transition-delay:.12s; }
.stagger.in > *:nth-child(3)   { opacity:1; transform:none; transition-delay:.19s; }
.stagger.in > *:nth-child(4)   { opacity:1; transform:none; transition-delay:.26s; }
.stagger.in > *:nth-child(5)   { opacity:1; transform:none; transition-delay:.33s; }
.stagger.in > *:nth-child(6)   { opacity:1; transform:none; transition-delay:.40s; }
.stagger.in > *:nth-child(7)   { opacity:1; transform:none; transition-delay:.47s; }
.stagger.in > *:nth-child(8)   { opacity:1; transform:none; transition-delay:.54s; }
.stagger.in > *:nth-child(9)   { opacity:1; transform:none; transition-delay:.61s; }
.stagger.in > *:nth-child(n+10){ opacity:1; transform:none; transition-delay:.68s; }
/* On mobile: cut stagger delay in half — snappier feel on small screens */
@media(max-width:768px) {
  .stagger > * { transform:translateY(18px); transition-duration:.4s; }
  .stagger.in > *:nth-child(1)   { transition-delay:.03s; }
  .stagger.in > *:nth-child(2)   { transition-delay:.07s; }
  .stagger.in > *:nth-child(3)   { transition-delay:.11s; }
  .stagger.in > *:nth-child(4)   { transition-delay:.15s; }
  .stagger.in > *:nth-child(5)   { transition-delay:.19s; }
  .stagger.in > *:nth-child(6)   { transition-delay:.23s; }
  .stagger.in > *:nth-child(7)   { transition-delay:.27s; }
  .stagger.in > *:nth-child(8)   { transition-delay:.31s; }
  .stagger.in > *:nth-child(9)   { transition-delay:.35s; }
  .stagger.in > *:nth-child(n+10){ transition-delay:.39s; }
}
/* Respect reduced-motion preference */
@media(prefers-reduced-motion:reduce) {
  .reveal,.reveal-left,.reveal-right,.stagger > * {
    opacity:1 !important; transform:none !important; transition:none !important;
  }
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position:sticky; top:0; z-index:200; height:var(--hdr-h);
  background:linear-gradient(135deg,#080D27 0%,#111944 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.site-header.scrolled {
  box-shadow:0 4px 32px rgba(8,13,39,.65);
  border-bottom-color:rgba(99,102,241,.28);
}
.hdr-inner {
  max-width:var(--page-max); margin:0 auto; height:100%;
  display:flex; align-items:center; gap:28px; padding:0 var(--page-x);
}
.hdr-logo { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.hdr-logo-img { height:36px; max-width:140px; object-fit:contain; }
.hdr-logo-text {
  font-family:'Outfit',sans-serif; font-weight:900; font-size:20px; letter-spacing:-.5px;
  background:linear-gradient(135deg,#fff 0%,rgba(255,255,255,.75) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hdr-nav { display:flex; align-items:center; gap:4px; flex:1; }
@media(max-width:768px){ .hdr-nav { display:none; } }
.hdr-nav-link {
  padding:8px 14px; border-radius:var(--r-full);
  font-size:13.5px; font-weight:600; color:rgba(255,255,255,.65);
  transition:all var(--dur) var(--ease);
}
.hdr-nav-link:hover { color:#fff; background:rgba(255,255,255,.07); }
.hdr-nav-link.active { color:#fff; background:rgba(99,102,241,.25); }
.hdr-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
.hdr-text-btn {
  padding:8px 14px; border-radius:var(--r-full);
  font-size:13.5px; font-weight:600; color:rgba(255,255,255,.65);
  transition:all var(--dur);
}
.hdr-text-btn:hover { color:#fff; }
.hdr-cta-btn {
  padding:9px 22px; border-radius:var(--r-full);
  font-size:13px; font-weight:700; color:#fff;
  background:var(--brand); box-shadow:var(--sh-brand);
  transition:all var(--dur-med);
}
.hdr-cta-btn:hover { background:var(--brand-dark); transform:translateY(-1px); }
.hdr-icon-btn {
  position:relative; width:40px; height:40px; border-radius:var(--r-full);
  display:grid; place-items:center; color:rgba(255,255,255,.7);
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07);
  transition:all var(--dur);
}
.hdr-icon-btn:hover { color:#fff; background:rgba(255,255,255,.1); }
.cart-badge {
  position:absolute; top:3px; right:3px;
  min-width:18px; height:18px;
  background:linear-gradient(135deg,var(--accent),#fb923c);
  color:#fff; font-size:9px; font-weight:800;
  border-radius:var(--r-full); display:grid; place-items:center; padding:0 4px;
  box-shadow:0 2px 8px var(--accent-glow);
}
.hdr-mobile-toggle {
  display:none; color:rgba(255,255,255,.8); width:40px; height:40px;
  border-radius:var(--r-sm); place-items:center;
  background:rgba(255,255,255,.06); transition:all var(--dur);
}
@media(max-width:768px){ .hdr-mobile-toggle { display:grid; } }
@media(max-width:768px){ .hdr-text-btn, .hdr-cta-btn { display:none; } }
.hdr-mobile-menu {
  display:none; flex-direction:column; gap:2px;
  padding:10px var(--page-x) 18px; background:#080D27;
  border-bottom:1px solid rgba(99,102,241,.15);
}
.hdr-mobile-menu.open { display:flex; animation:slideDown .22s var(--ease-out); }
.hdr-mobile-menu a {
  padding:12px 16px; border-radius:var(--r-sm);
  font-size:15px; font-weight:600; color:rgba(255,255,255,.65);
  transition:all var(--dur);
}
.hdr-mobile-menu a:hover { background:rgba(99,102,241,.15); color:#fff; }
@keyframes slideDown {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:none; }
}

/* ── BOTTOM NAV ─────────────────────────────────────────────── */
.bottom-nav {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:300;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  border-top:1px solid var(--line);
  box-shadow:0 -8px 32px rgba(15,23,42,.08);
  padding-bottom:var(--safe-b);
}
@media(max-width:768px){ .bottom-nav { display:block; } }
.bottom-nav-inner { height:var(--bot-h); display:flex; justify-content:space-around; align-items:center; }
.bottom-nav-item {
  display:flex; flex-direction:column; align-items:center; gap:3px;
  font-size:9.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  color:var(--muted-2); min-width:56px; padding:6px 0; position:relative;
  transition:all var(--dur);
}
.bottom-nav-item svg { width:22px; height:22px; transition:transform var(--dur) var(--spring); }
.bottom-nav-item.active { color:var(--brand); }
.bottom-nav-item.active::before {
  content:''; position:absolute; top:-1px; left:50%; transform:translateX(-50%);
  width:28px; height:3px; background:var(--brand); border-radius:0 0 3px 3px;
}
.bottom-nav-item:active svg { transform:scale(.85); }

/* ── FLASH MESSAGES ─────────────────────────────────────────── */
.flash-wrap {
  position:fixed; top:calc(var(--hdr-h) + 12px); left:50%; transform:translateX(-50%);
  z-index:1000; display:flex; flex-direction:column; gap:8px; width:min(480px,90vw);
}
.flash {
  display:flex; align-items:center; gap:10px; padding:14px 18px;
  border-radius:var(--r-lg); font-size:14px; font-weight:600;
  box-shadow:var(--sh-lg); animation:flashIn .3s var(--spring);
}
@keyframes flashIn {
  from { opacity:0; transform:translateY(-12px) scale(.96); }
  to   { opacity:1; transform:none; }
}
.flash-success { background:#ECFDF5; border:1px solid #A7F3D0; color:#065F46; }
.flash-error   { background:#FEF2F2; border:1px solid #FECACA; color:#991B1B; }
.flash-info    { background:var(--brand-light); border:1px solid #C7D2FE; color:#3730A3; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background:linear-gradient(175deg,#080D27 0%,#050819 100%);
  color:rgba(255,255,255,.45); margin-top:96px;
}
.footer-inner {
  max-width:var(--page-max); margin:0 auto;
  padding:64px var(--page-x) 48px;
  display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:40px;
}
@media(max-width:900px){ .footer-inner { grid-template-columns:1fr 1fr; gap:32px; } }
@media(max-width:560px){ .footer-inner { grid-template-columns:1fr; gap:28px; } }
.footer-brand-row { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand-mark {
  width:36px; height:36px; border-radius:var(--r-sm);
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff; font-family:'Outfit',sans-serif; font-weight:900; font-size:16px;
  display:grid; place-items:center; flex-shrink:0;
}
.footer-brand-name { font-family:'Outfit',sans-serif; font-weight:800; font-size:18px; color:#fff; }
.footer-desc { font-size:13.5px; line-height:1.7; color:rgba(255,255,255,.4); max-width:280px; }
.footer-col-title { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.35); margin-bottom:16px; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-link { font-size:14px; color:rgba(255,255,255,.5); transition:color var(--dur); }
.footer-link:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.06); padding:20px var(--page-x);
  max-width:var(--page-max); margin:0 auto;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:13px; color:rgba(255,255,255,.3);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:inherit; font-weight:700; border:none; cursor:pointer;
  border-radius:var(--r-full); white-space:nowrap;
  transition:all var(--dur-med) var(--ease); text-decoration:none; outline:none;
}
.btn-primary {
  padding:13px 28px; font-size:14px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff; box-shadow:var(--sh-brand);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 14px 36px var(--brand-glow); filter:brightness(1.08); }
.btn-primary:active { transform:none; }
.btn-secondary {
  padding:12px 28px; font-size:14px;
  background:var(--surface); color:var(--ink); border:1.5px solid var(--line-2);
}
.btn-secondary:hover { border-color:var(--brand); color:var(--brand); transform:translateY(-1px); box-shadow:var(--sh-sm); }
.btn-accent {
  padding:13px 28px; font-size:14px;
  background:linear-gradient(135deg,var(--accent),#fb923c);
  color:#fff; box-shadow:var(--sh-accent);
}
.btn-accent:hover { transform:translateY(-2px); filter:brightness(1.06); }
.btn-ghost {
  padding:10px 20px; font-size:13.5px; font-weight:700;
  color:var(--brand); background:var(--brand-light);
  border:1.5px solid rgba(99,102,241,.25); border-radius:var(--r-full);
  display:inline-flex; align-items:center; gap:8px; transition:all var(--dur-med);
}
.btn-ghost:hover { background:var(--brand); color:#fff; border-color:var(--brand); }

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-label { font-size:13.5px; font-weight:700; color:var(--ink-3); }
.form-control {
  width:100%; padding:13px 16px; border:1.5px solid var(--line);
  border-radius:var(--r); background:var(--surface); color:var(--ink);
  font-size:15px; font-family:inherit;
  transition:border-color var(--dur), box-shadow var(--dur);
}
.form-control:focus { border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-glow-s); outline:none; }
.form-control::placeholder { color:var(--muted-3); }

/* ── SECTION UTILS ───────────────────────────────────────────── */
.section-kicker {
  display:inline-flex; align-items:center; gap:6px;
  font-size:10.5px; font-weight:800; text-transform:uppercase;
  letter-spacing:.12em; color:var(--brand); font-family:'Inter',sans-serif;
}
.section-kicker::before { content:''; display:block; width:20px; height:2.5px; background:var(--brand); border-radius:2px; }
.section-title { font-family:'Outfit',sans-serif; font-size:clamp(1.6rem,3vw,2.4rem); font-weight:900; letter-spacing:-.03em; }

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARD
══════════════════════════════════════════════════════════════ */
.product-card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl);
  overflow:hidden; display:flex; flex-direction:column; position:relative;
  transition:transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.product-card:hover {
  transform:translateY(-6px);
  box-shadow:0 20px 52px -8px rgba(99,102,241,.2), 0 6px 16px rgba(15,23,42,.06);
  border-color:rgba(99,102,241,.3);
}
.pc-img-wrap {
  display:block; position:relative; overflow:hidden;
  aspect-ratio:1/1; flex-shrink:0;
  background:linear-gradient(145deg,#F8FAFF,#EEF2FF);
}
.pc-img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.product-card:hover .pc-img { transform:scale(1.07); }
.pc-overlay {
  position:absolute; inset:0; background:rgba(8,13,39,.08);
  display:flex; align-items:flex-end; justify-content:center;
  padding:16px; opacity:0;
  transition:opacity var(--dur-med) var(--ease); backdrop-filter:blur(2px);
}
.product-card:hover .pc-overlay { opacity:1; }
.pc-quick-add {
  width:100%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff; font-size:13px; font-weight:700;
  padding:12px 20px; border-radius:var(--r-full);
  transform:translateY(16px);
  transition:transform .3s var(--spring), filter .25s;
  box-shadow:0 6px 20px var(--brand-glow); font-family:inherit; white-space:nowrap;
}
.product-card:hover .pc-quick-add { transform:translateY(0); }
.pc-quick-add:hover { filter:brightness(1.1); }
.pc-badge {
  position:absolute; top:10px; left:10px; z-index:2;
  font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em;
  padding:4px 10px; border-radius:var(--r-sm); backdrop-filter:blur(4px);
}
.pc-badge.promo { background:linear-gradient(135deg,var(--accent),#fb923c); color:#fff; box-shadow:0 4px 12px var(--accent-glow); }
.pc-badge.new   { background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; box-shadow:0 4px 12px var(--brand-glow); }
.pc-wishlist {
  position:absolute; top:10px; right:10px; z-index:2;
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,.92); border:none; cursor:pointer;
  display:grid; place-items:center; color:var(--muted-2);
  box-shadow:var(--sh-sm); backdrop-filter:blur(8px);
  transition:all .25s var(--spring);
}
.pc-wishlist:hover { color:#E11D48; transform:scale(1.18); box-shadow:0 4px 16px rgba(225,29,72,.25); }
.pc-compare {
  position:absolute; top:52px; right:10px; z-index:2;
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,.92); border:none; cursor:pointer;
  display:grid; place-items:center; color:var(--muted-2);
  box-shadow:var(--sh-xs); backdrop-filter:blur(8px);
  opacity:0; transition:all .2s;
}
.product-card:hover .pc-compare { opacity:1; }
.pc-compare:hover { color:var(--brand); transform:scale(1.1); }
.pc-body {
  padding:16px 18px 18px; display:flex; flex-direction:column;
  flex:1; gap:4px; border-top:1px solid var(--line);
}
.pc-category { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--brand); opacity:.85; }
.pc-name {
  font-family:'Outfit',sans-serif; font-size:15px; font-weight:700;
  line-height:1.35; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height:2.7em;
}
.pc-name a { transition:color var(--dur); }
.pc-name a:hover { color:var(--brand); }
.pc-prices { display:flex; align-items:baseline; gap:8px; margin-top:auto; padding-top:10px; }
.price       { font-size:17px; font-weight:800; color:var(--ink); }
.price-promo { font-size:17px; font-weight:800; color:var(--brand); }
.price-old   { font-size:12.5px; font-weight:500; color:var(--muted-2); text-decoration:line-through; }
.pc-mobile-add {
  display:none; position:absolute; bottom:14px; right:14px;
  width:36px; height:36px;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff; border-radius:var(--r-sm); border:none;
  align-items:center; justify-content:center;
  box-shadow:0 4px 14px var(--brand-glow);
}
@media(max-width:640px){
  .pc-mobile-add { display:flex; }
  .pc-body { position:relative; padding:12px 14px 46px; }
  .product-card { border-radius:var(--r-lg); }
  .pc-overlay, .pc-compare { display:none; }
  .pc-wishlist { width:30px; height:30px; opacity:1; }
  .pc-name { font-size:13.5px; }
  .price, .price-promo { font-size:15px; }
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
}
@media(max-width:480px){ .product-grid { grid-template-columns:repeat(2,1fr); gap:12px; } }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE — HERO
══════════════════════════════════════════════════════════════ */
.home-hero {
  position:relative; overflow:hidden;
  background:linear-gradient(150deg,#06091E 0%,#0F1535 45%,#1A1060 100%);
}
.hero-orb { position:absolute; border-radius:50%; pointer-events:none; }
.hero-orb-1 {
  width:600px; height:600px; top:-200px; right:-100px;
  background:radial-gradient(circle,rgba(99,102,241,.22) 0%,transparent 70%);
  animation:orbFloat 9s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width:400px; height:400px; bottom:-80px; left:-80px;
  background:radial-gradient(circle,rgba(249,115,22,.14) 0%,transparent 70%);
  animation:orbFloat 11s ease-in-out infinite alternate-reverse;
}
.hero-orb-3 {
  width:280px; height:280px; top:35%; left:38%;
  background:radial-gradient(circle,rgba(129,140,248,.1) 0%,transparent 70%);
  animation:orbFloat 7s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  from { transform:translate(0,0) scale(1); }
  to   { transform:translate(24px,32px) scale(1.09); }
}
.home-hero-inner {
  position:relative; z-index:1;
  max-width:var(--page-max); margin:0 auto;
  padding:clamp(56px,9vw,110px) var(--page-x) 0;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
@media(max-width:900px){ .home-hero-inner { grid-template-columns:1fr; gap:36px; } }
.home-hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(99,102,241,.15); border:1px solid rgba(99,102,241,.35);
  border-radius:var(--r-full); padding:6px 14px; margin-bottom:22px;
  font-size:12px; font-weight:700; color:rgba(255,255,255,.8);
  letter-spacing:.05em; text-transform:uppercase;
}
.home-hero-badge-dot {
  width:8px; height:8px; border-radius:50%; background:var(--brand-2);
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.8); }
}
.home-hero-title {
  font-family:'Outfit',sans-serif; font-weight:900;
  font-size:clamp(2.6rem,5.5vw,5.2rem); line-height:.96;
  letter-spacing:-.04em; color:#fff; margin-bottom:22px;
}
.home-hero-title em {
  font-style:normal;
  background:linear-gradient(135deg,#818CF8 0%,#A78BFA 50%,#F97316 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.home-hero-sub { font-size:clamp(15px,2vw,17px); color:rgba(255,255,255,.55); line-height:1.7; max-width:400px; margin-bottom:32px; }
.home-hero-ctas { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:40px; }
.home-cta-primary {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; font-size:14.5px; font-weight:700; color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  border-radius:var(--r-full); border:none; cursor:pointer; text-decoration:none;
  box-shadow:0 8px 28px var(--brand-glow); transition:all var(--dur-med);
}
.home-cta-primary:hover { transform:translateY(-2px); box-shadow:0 14px 40px var(--brand-glow); filter:brightness(1.08); }
.home-cta-ghost {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 24px; font-size:14.5px; font-weight:700;
  color:rgba(255,255,255,.75);
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15);
  border-radius:var(--r-full); text-decoration:none; transition:all var(--dur-med);
}
.home-cta-ghost:hover { background:rgba(255,255,255,.12); color:#fff; }
.home-hero-stats { display:flex; align-items:center; }
.home-hero-stat { text-align:center; padding:0 20px; }
.home-hero-stat:first-child { padding-left:0; }
.home-hero-stat strong { display:block; font-family:'Outfit',sans-serif; font-size:1.7rem; font-weight:900; color:#fff; line-height:1; }
.home-hero-stat span { font-size:12px; color:rgba(255,255,255,.45); margin-top:2px; display:block; }
.home-hero-stat-sep { width:1px; height:36px; background:rgba(255,255,255,.12); }
.home-hero-grid { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:12px; }
@media(max-width:900px){ .home-hero-grid { grid-template-columns:repeat(4,1fr); grid-template-rows:1fr; } }
@media(max-width:560px){ .home-hero-grid { grid-template-columns:repeat(2,1fr); } }
.home-hero-card {
  border-radius:var(--r-xl); overflow:hidden; position:relative;
  background:#1a1f3e; display:block;
  transition:transform var(--dur-med), box-shadow var(--dur-med);
}
.home-hero-card:hover { transform:scale(1.03); box-shadow:0 16px 40px rgba(0,0,0,.4); }
.home-hero-card-1 { grid-column:1; grid-row:1/3; aspect-ratio:.75/1; }
.home-hero-card-2, .home-hero-card-3, .home-hero-card-4 { aspect-ratio:1/1; }
@media(max-width:900px){
  .home-hero-card-1, .home-hero-card-2, .home-hero-card-3, .home-hero-card-4 {
    grid-column:auto; grid-row:auto; aspect-ratio:1/1;
  }
}
.home-hero-card img { width:100%; height:100%; object-fit:cover; }
.home-hero-card-label {
  position:absolute; bottom:0; left:0; right:0;
  padding:28px 14px 12px;
  background:linear-gradient(transparent,rgba(0,0,0,.65));
  font-size:12px; font-weight:700; color:#fff; line-height:1.3;
}
.home-hero-card-empty { background:rgba(255,255,255,.04); border:1px dashed rgba(255,255,255,.08); display:grid; place-items:center; }
.home-hero-scroll { position:relative; z-index:1; display:flex; justify-content:center; padding:28px 0; }
.home-hero-scroll-dot { width:28px; height:44px; border:2px solid rgba(255,255,255,.2); border-radius:14px; display:flex; justify-content:center; padding-top:7px; }
.home-hero-scroll-dot::after { content:''; width:4px; height:8px; background:rgba(255,255,255,.5); border-radius:2px; animation:scrollBounce 1.6s ease-in-out infinite; }
@keyframes scrollBounce {
  0%,100% { transform:translateY(0); opacity:.6; }
  50%      { transform:translateY(10px); opacity:.2; }
}

/* ── TRUST STRIP ─────────────────────────────────────────────── */
.home-trust-wrap { padding:0 var(--page-x); }
.home-trust {
  max-width:var(--page-max); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr);
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-xl); box-shadow:var(--sh-md); overflow:hidden;
}
@media(max-width:900px){ .home-trust { grid-template-columns:repeat(2,1fr); } }
.home-trust-item {
  display:flex; align-items:center; gap:14px;
  padding:22px 24px; border-right:1px solid var(--line);
  transition:background var(--dur);
}
.home-trust-item:last-child { border-right:0; }
@media(max-width:900px){
  .home-trust-item:nth-child(2n) { border-right:0; }
  .home-trust-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}
.home-trust-item:hover { background:var(--brand-light); }
.home-trust-icon {
  width:44px; height:44px; flex-shrink:0; border-radius:var(--r-sm);
  background:var(--brand-light); color:var(--brand);
  display:grid; place-items:center; transition:all var(--dur);
}
.home-trust-item:hover .home-trust-icon { background:var(--brand); color:#fff; }
.home-trust-item strong { display:block; font-size:14px; font-weight:800; color:var(--ink); line-height:1.2; }
.home-trust-item span { font-size:12px; color:var(--muted); margin-top:2px; display:block; }
.home-trust-divider { display:none; }

/* ── HOME SECTIONS ───────────────────────────────────────────── */
.home-section {
  padding:72px var(--page-x) 0;
  max-width:calc(var(--page-max) + 2*var(--page-x)); margin:0 auto;
}
.home-section-head {
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:32px; gap:16px; flex-wrap:wrap;
}
.home-kicker { font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:var(--brand); font-family:'Inter',sans-serif; margin-bottom:6px; }
.home-kicker-red { color:var(--accent); }
.home-title { font-family:'Outfit',sans-serif; font-size:clamp(1.5rem,2.8vw,2.2rem); font-weight:900; letter-spacing:-.03em; }
.home-view-all {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13.5px; font-weight:700; color:var(--brand);
  padding:10px 22px; border:1.5px solid rgba(99,102,241,.3);
  border-radius:var(--r-full); background:var(--brand-light);
  transition:all var(--dur-med);
}
.home-view-all:hover { background:var(--brand); color:#fff; border-color:var(--brand); transform:translateY(-1px); box-shadow:var(--sh-brand); }
.home-view-all-sm { font-size:13.5px; font-weight:700; color:var(--brand); white-space:nowrap; transition:opacity var(--dur); }
.home-view-all-sm:hover { opacity:.7; }
.home-section-footer { display:flex; justify-content:center; margin-top:40px; }
.home-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:20px; }
@media(max-width:480px){ .home-product-grid { grid-template-columns:repeat(2,1fr); gap:10px; } }

/* ── CATEGORY CHIPS ──────────────────────────────────────────── */
.home-cats-scroll { display:flex; gap:10px; overflow-x:auto; padding-bottom:8px; scrollbar-width:none; }
.home-cats-scroll::-webkit-scrollbar { display:none; }
.home-cat-chip {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 18px; border:1.5px solid var(--line-2);
  border-radius:var(--r-full); background:var(--surface);
  font-size:13.5px; font-weight:600; color:var(--ink-3);
  white-space:nowrap; transition:all var(--dur-med); box-shadow:var(--sh-xs);
}
.home-cat-chip:hover { border-color:var(--brand); color:var(--brand); background:var(--brand-light); transform:translateY(-2px); box-shadow:var(--sh-sm); }
.home-cat-chip.active { background:linear-gradient(135deg,var(--brand),var(--brand-2)); border-color:var(--brand); color:#fff; box-shadow:var(--sh-brand); }

/* ── FLASH SALES ─────────────────────────────────────────────── */
.home-flash-section {
  background:linear-gradient(135deg,#FFF8F5 0%,#FFFBF8 100%);
  border-top:1px solid #FFE4D0; border-bottom:1px solid #FFE4D0;
  padding-top:72px; margin-top:64px;
}
.home-countdown {
  display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#E53E3E,#F97316);
  padding:9px 18px; border-radius:var(--r-full);
  box-shadow:0 4px 18px rgba(229,62,62,.35);
}
.home-countdown-unit { text-align:center; }
.home-countdown-unit span { display:block; font-family:'Outfit',sans-serif; font-size:18px; font-weight:900; color:#fff; line-height:1; }
.home-countdown-unit small { font-size:9px; font-weight:800; color:rgba(255,255,255,.7); text-transform:uppercase; letter-spacing:.06em; }
.home-countdown-sep { color:rgba(255,255,255,.7); font-weight:900; font-size:18px; margin-bottom:6px; }

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.home-newsletter {
  position:relative; overflow:hidden; text-align:center;
  background:linear-gradient(150deg,#06091E 0%,#1A1060 100%);
  border-radius:var(--r-2xl);
  padding:clamp(48px,8vw,80px) clamp(24px,5vw,80px);
}
.home-newsletter-glow {
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 80% 30%,rgba(99,102,241,.25) 0%,transparent 50%),
    radial-gradient(circle at 10% 70%,rgba(249,115,22,.12) 0%,transparent 50%);
}
.home-newsletter-inner { position:relative; z-index:1; }
.home-newsletter-icon { font-size:3rem; margin-bottom:16px; }
.home-newsletter-title { font-family:'Outfit',sans-serif; font-size:clamp(1.6rem,3vw,2.4rem); font-weight:900; color:#fff; margin-bottom:12px; letter-spacing:-.03em; }
.home-newsletter-sub { font-size:15px; color:rgba(255,255,255,.5); max-width:400px; margin:0 auto 32px; line-height:1.7; }
.home-newsletter-form { display:flex; gap:10px; max-width:460px; margin:0 auto; }
@media(max-width:480px){ .home-newsletter-form { flex-direction:column; } }
.home-newsletter-form input {
  flex:1; padding:14px 20px; border-radius:var(--r-full);
  border:1.5px solid rgba(255,255,255,.15); background:rgba(255,255,255,.1);
  color:#fff; font-size:14.5px; font-family:inherit;
}
.home-newsletter-form input::placeholder { color:rgba(255,255,255,.4); }
.home-newsletter-form input:focus { outline:none; border-color:var(--brand-2); }
.home-newsletter-form button {
  flex-shrink:0; padding:14px 28px; font-size:14px; font-weight:700; cursor:pointer;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff; border:none; border-radius:var(--r-full); font-family:inherit;
  box-shadow:var(--sh-brand); transition:all var(--dur-med);
}
.home-newsletter-form button:hover { filter:brightness(1.1); transform:translateY(-1px); }
.home-newsletter-note { font-size:12px; color:rgba(255,255,255,.3); margin-top:14px; }

/* ── CATALOG ─────────────────────────────────────────────────── */

/* ── CATALOG HERO ─────────────────────────────────────────────── */
.catalog-hero {
  max-width: var(--page-max); margin: 0 auto;
  padding: 48px var(--page-x) 32px;
  position: relative;
}
.catalog-hero::after {
  content: '';
  position: absolute;
  top: 0; left: var(--page-x); right: var(--page-x); bottom: 0;
  background: radial-gradient(ellipse at 0% 100%, rgba(37,99,235,.06) 0%, transparent 60%);
  pointer-events: none;
}
.catalog-hero .section-kicker { margin-bottom: 10px; }
.catalog-hero .section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -.04em; line-height: 1;
  margin-bottom: 10px;
}
.catalog-hero p { color: var(--muted); font-size: 14px; }
@media(max-width:640px) {
  .catalog-hero { padding: 28px var(--page-x) 20px; }
}

/* ── CATALOG FILTER BAR ───────────────────────────────────────── */
.catalog-filters {
  max-width: var(--page-max); margin: 0 auto;
  padding: 0 var(--page-x) 32px;
}
.catalog-filter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
}
.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.catalog-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
  display: flex;
}
.catalog-search-wrap .form-control {
  padding-left: 38px;
  height: 42px;
  background: var(--wash);
  border-color: transparent;
  border-radius: var(--r-full);
  font-size: 14px;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.catalog-search-wrap .form-control:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow-s);
}
.filter-group {
  display: flex;
  align-items: center;
  flex: 0 0 280px;
  min-width: 280px;
}
.filter-group .form-control {
  background: var(--wash);
  border-color: transparent;
  border-radius: var(--r-full);
  font-size: 14px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 20px;
  height: 42px;
  padding-left: 18px;
  padding-right: 40px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
.filter-group .form-control option {
  color: var(--ink);
  background: var(--surface);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.filter-group .form-control:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow-s);
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--wash);
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  padding: 0 14px;
  transition: border-color var(--dur);
}
.price-inputs:focus-within {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--brand-glow-s);
}
.price-inputs .form-control {
  width: 70px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  font-size: 14px;
  text-align: center;
  height: 38px;
  outline: none;
}
.price-inputs .price-sep {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.filter-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.filter-actions .btn-primary {
  padding: 0 24px;
  height: 42px;
  font-size: 13.5px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--brand-glow);
  transition: all var(--dur-med);
}
.filter-actions .btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.filter-actions .btn-ghost {
  padding: 0 18px;
  height: 42px;
  font-size: 13.5px;
  border-radius: var(--r-full);
  color: var(--muted);
  background: transparent;
  border: 1.5px solid var(--line);
  font-weight: 600;
  transition: all var(--dur);
  cursor: pointer;
  font-family: inherit;
}
.filter-actions .btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line-2);
  background: var(--wash);
}
.mobile-filter-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 14px 18px !important;
  border-radius: var(--r-xl) !important;
  background: var(--surface) !important;
  border: 1.5px solid var(--line) !important;
  color: var(--ink) !important;
  font-size: 14.5px !important; font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15,23,42,.05);
  margin-bottom: 12px !important;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.mobile-filter-toggle:hover {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px var(--brand-glow-s) !important;
}
.mobile-filter-toggle svg { flex-shrink: 0; color: var(--brand); }
@media(max-width:960px) {
  .mobile-filter-toggle { display: flex !important; }
  .catalog-filter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    display: none;
    padding: 18px;
  }
  .catalog-filter-form.open { display: flex; }
  .catalog-search-wrap { min-width: 0; width: 100%; }
  .filter-group { flex-basis: auto; min-width: 0; width: 100%; }
  .filter-group .form-control { width: 100%; }
  .price-inputs { width: 100%; justify-content: center; }
  .price-inputs .form-control { flex: 1; }
  .filter-actions { width: 100%; }
  .filter-actions .btn-primary { flex: 1; }
}

/* ── CATALOG GRID WRAP ───────────────────────────────────────── */
.catalog-grid-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-x) 80px;
}
.catalog-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line);
}
.catalog-count {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}
@media(max-width:640px) {
  .catalog-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
}
@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.catalog-grid.stagger .product-card {
  animation: staggerFadeUp .45s var(--ease) both;
}
.catalog-grid.stagger .product-card:nth-child(1)  { animation-delay: .04s; }
.catalog-grid.stagger .product-card:nth-child(2)  { animation-delay: .08s; }
.catalog-grid.stagger .product-card:nth-child(3)  { animation-delay: .12s; }
.catalog-grid.stagger .product-card:nth-child(4)  { animation-delay: .16s; }
.catalog-grid.stagger .product-card:nth-child(5)  { animation-delay: .20s; }
.catalog-grid.stagger .product-card:nth-child(6)  { animation-delay: .24s; }
.catalog-grid.stagger .product-card:nth-child(7)  { animation-delay: .28s; }
.catalog-grid.stagger .product-card:nth-child(8)  { animation-delay: .32s; }
.catalog-grid.stagger .product-card:nth-child(n+9) { animation-delay: .36s; }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  background: var(--surface);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-xl);
  gap: 12px;
}
.empty-state-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand-light);
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 4px;
}
.empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
}

/* Catalog result count row */
.catalog-result-count {
  max-width: var(--page-max); margin: 0 auto;
  padding: 0 var(--page-x) 12px;
  font-size: 13.5px; color: var(--muted); font-weight: 500;
}

.category-chip {
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 20px; border:1.5px solid var(--line);
  border-radius:var(--r-full); background:var(--surface);
  font-size:13.5px; font-weight:600; color:var(--ink-3);
  box-shadow:var(--sh-xs); white-space:nowrap; transition:all var(--dur-med);
}
.category-chip:hover { border-color:var(--brand); color:var(--brand); background:var(--brand-light); transform:translateY(-2px); }
.category-chip.active { background:linear-gradient(135deg,var(--brand),var(--brand-2)); border-color:var(--brand); color:#fff; box-shadow:var(--sh-brand); }

/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination { display:flex; gap:8px; align-items:center; justify-content:center; flex-wrap:wrap; }
.page-link {
  width:40px; height:40px; border-radius:var(--r-sm);
  display:grid; place-items:center;
  font-size:14px; font-weight:700; color:var(--ink-3);
  border:1.5px solid var(--line); background:var(--surface);
  transition:all var(--dur);
}
.page-link:hover { background:var(--brand-light); border-color:rgba(99,102,241,.3); color:var(--brand); }
.page-link.active { background:var(--brand); color:#fff; border-color:var(--brand); box-shadow:var(--sh-brand); }
.page-link.disabled { opacity:.3; pointer-events:none; }

/* ── ACCOUNT ─────────────────────────────────────────────────── */
.account-grid { display:grid; grid-template-columns:260px 1fr; gap:32px; max-width:var(--page-max); margin:0 auto; padding:40px var(--page-x) 80px; align-items:start; }
.account-sidebar { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:24px; box-shadow:var(--sh-sm); position:sticky; top:calc(var(--hdr-h) + 20px); }
.account-nav-item { display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:var(--r-sm); color:var(--ink-3); font-size:14px; font-weight:600; transition:all .15s; }
.account-nav-item:hover, .account-nav-item.active { background:var(--brand-light); color:var(--brand); }
@media(max-width:768px){ .account-grid { grid-template-columns:1fr; } .account-sidebar { position:static; } }

/* ── COMPAT ALIASES ──────────────────────────────────────────── */
.trust-icon { width:42px; height:42px; border-radius:var(--r-sm); background:var(--brand-light); display:grid; place-items:center; flex-shrink:0; color:var(--brand); }
.newsletter-section { background:linear-gradient(150deg,#06091E 0%,#1A1060 100%); border-radius:var(--r-2xl); position:relative; overflow:hidden; }
.newsletter-section::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 70% 50%,rgba(99,102,241,.2) 0%,transparent 60%); pointer-events:none; }
.newsletter-form { display:flex; gap:10px; }
.newsletter-form input { flex:1; padding:14px 20px; border-radius:var(--r-full); border:1.5px solid rgba(255,255,255,.15); background:rgba(255,255,255,.08); color:#fff; font-size:14.5px; font-family:inherit; }
.newsletter-form input:focus { outline:none; border-color:var(--brand-2); }
.newsletter-form button { background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; font-size:14px; font-weight:700; padding:14px 26px; border-radius:var(--r-full); border:none; cursor:pointer; flex-shrink:0; font-family:inherit; transition:all var(--dur-med); }
.newsletter-form button:hover { filter:brightness(1.1); transform:translateY(-1px); }
.hero-eyebrow { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:var(--brand); margin-bottom:18px; font-family:'Inter',sans-serif; }
.hero-eyebrow::before { content:''; display:block; width:22px; height:2px; background:var(--brand); border-radius:2px; }
.hero-title { font-family:'Outfit',sans-serif; font-size:clamp(2.8rem,5.5vw,5.8rem); font-weight:900; line-height:.94; letter-spacing:-.04em; color:var(--ink); }
.hero-title em { font-style:normal; color:var(--brand); }

/* ── KEYFRAMES ───────────────────────────────────────────────── */
@keyframes fadeUp  { from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:none; } }
@keyframes fadeIn  { from{ opacity:0; } to{ opacity:1; } }
@keyframes scaleIn { from{ opacity:0; transform:scale(.92); } to{ opacity:1; transform:scale(1); } }
@keyframes shimmer { 0%{ background-position:-400px 0; } 100%{ background-position:400px 0; } }
.skeleton {
  background:linear-gradient(90deg,var(--line) 25%,var(--wash) 50%,var(--line) 75%);
  background-size:800px 100%; animation:shimmer 1.6s infinite; border-radius:var(--r-sm);
}

/* ── CART PAGE ───────────────────────────────────────────────── */
.cart-wrap { max-width:860px; margin:0 auto; padding:40px var(--page-x) 80px; }
.cart-top { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.cart-page-title { font-family:'Outfit',sans-serif; font-size:clamp(1.8rem,4vw,2.6rem); font-weight:900; color:var(--ink); line-height:1.1; }
.cart-items { display:flex; flex-direction:column; gap:14px; }
.cart-item { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:16px 20px; box-shadow:var(--sh-xs); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.cart-item-left { display:flex; align-items:center; gap:14px; flex:1; min-width:0; }
.cart-item-img { width:72px; height:72px; border-radius:var(--r-lg); object-fit:cover; flex-shrink:0; background:var(--wash); }
.cart-item-info { min-width:0; }
.cart-item-name { font-weight:700; font-size:15px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:340px; display:block; }
.cart-item-price { font-size:13px; color:var(--muted); margin-top:3px; }
.cart-item-variant,
.cart-drawer-variant {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.cart-item-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.cart-qty-input { width:60px; height:40px; border:1.5px solid var(--line); border-radius:var(--r-sm); padding:0 10px; font-size:14px; font-family:inherit; color:var(--ink); background:var(--wash); text-align:center; transition:border-color .15s; }
.cart-qty-input:focus { outline:none; border-color:var(--brand); }
.cart-maj-btn { height:40px; padding:0 16px; background:var(--wash); border:1.5px solid var(--line); border-radius:var(--r-sm); font-size:13px; font-weight:700; color:var(--ink-3); cursor:pointer; transition:all .15s; white-space:nowrap; }
.cart-maj-btn:hover { border-color:var(--brand); color:var(--brand); }
.cart-remove-btn { width:40px; height:40px; display:grid; place-items:center; border-radius:var(--r-sm); border:1.5px solid transparent; background:transparent; color:var(--muted-2); cursor:pointer; transition:all .15s; }
.cart-remove-btn:hover { background:#FEF2F2; border-color:#FCA5A5; color:#EF4444; }
.cart-summary-bar { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:20px 24px; box-shadow:var(--sh-sm); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:20px; }
.cart-total-label { font-size:clamp(1rem,2.5vw,1.25rem); font-weight:800; color:var(--ink); }
@media(max-width:600px){
  .cart-item { flex-direction:column; align-items:flex-start; }
  .cart-item-right { width:100%; justify-content:flex-end; }
  .cart-item-name { max-width:100%; white-space:normal; }
  .cart-summary-bar { flex-direction:column; align-items:stretch; text-align:center; }
  .cart-summary-bar .btn-primary { width:100%; justify-content:center; }
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
  z-index: 9990;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 100vw);
  height: 100dvh;
  background: var(--surface);
  box-shadow: -24px 0 70px rgba(15,23,42,.24);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  z-index: 9991;
  display: flex;
  flex-direction: column;
}

.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-open .cart-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cart-drawer-head {
  height: 96px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-xdark);
  font-size: 18px;
}

.cart-drawer-title svg {
  color: var(--brand);
}

.cart-drawer-close,
.cart-drawer-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.cart-drawer-close:hover,
.cart-drawer-remove:hover {
  background: var(--wash);
  color: var(--ink);
}

.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--muted);
  text-align: center;
  font-size: 18px;
}

.cart-drawer-empty svg {
  color: var(--brand);
}

.cart-drawer-empty a,
.cart-drawer-continue {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) 34px;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-drawer-img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--wash);
}

.cart-drawer-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.cart-drawer-price {
  margin-top: 4px;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
}

.cart-drawer-qty {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.cart-drawer-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cart-drawer-qty input {
  width: 44px;
  height: 34px;
  border: 0;
  text-align: center;
  color: var(--ink);
  font-weight: 800;
  background: #fff;
}

.cart-drawer-remove {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.cart-drawer-remove:hover {
  color: var(--danger);
  background: #FEF2F2;
}

.cart-drawer-foot {
  flex-shrink: 0;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--ink);
}

.cart-drawer-total span {
  color: var(--muted);
  font-weight: 700;
}

.cart-drawer-total strong {
  font-size: 20px;
  font-weight: 900;
}

.cart-drawer-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--sh-brand);
}

.cart-drawer-continue {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 640px) {
  .cart-drawer { width: 100vw; }
  .cart-drawer-head { height: 82px; padding: 0 20px; }
  .cart-drawer-body { padding: 14px; }
  .cart-drawer-foot { padding: 18px 16px calc(18px + env(safe-area-inset-bottom,0px)); }
}

/* ── CHECKOUT PAGE ───────────────────────────────────────────── */
.co-wrap { max-width:var(--page-max); margin:0 auto; padding:40px var(--page-x) 80px; }
.co-kicker { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--brand); margin-bottom:6px; }
.co-title { font-family:'Outfit',sans-serif; font-size:clamp(1.8rem,4vw,2.6rem); font-weight:900; color:var(--ink); line-height:1.1; margin-bottom:28px; }
/* Steps bar */
.co-steps { display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:36px; position:relative; }
.co-step { display:flex; flex-direction:column; align-items:center; gap:6px; position:relative; flex:1; }
.co-step-num { width:36px; height:36px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:800; flex-shrink:0; position:relative; z-index:1; }
.co-step-num.active { background:var(--brand); color:#fff; box-shadow:0 0 0 4px var(--brand-glow-s); }
.co-step-num.done { background:#22C55E; color:#fff; }
.co-step-num.idle { background:var(--line-2); color:var(--muted); }
.co-step-label { font-size:12px; font-weight:600; color:var(--muted); text-align:center; white-space:nowrap; }
.co-step-label.active { color:var(--brand); font-weight:700; }
/* Connecting line between steps */
.co-sep { flex:1; height:2px; background:var(--line-2); margin-top:-18px; position:relative; z-index:0; flex-shrink:1; min-width:12px; }
.co-sep.done { background:#22C55E; }
/* Layout grid */
.co-grid { display:grid; grid-template-columns:1fr 320px; gap:28px; align-items:start; }
/* Panel */
.co-panel { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:28px; box-shadow:var(--sh-sm); }
.co-section-title { font-size:16px; font-weight:800; color:var(--ink); margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.co-section-title svg { color:var(--brand); flex-shrink:0; }
.co-divider { border:none; border-top:1px solid var(--line); margin:20px 0; }
/* Form rows */
.co-form-row { display:grid; gap:12px; }
.co-form-2col { grid-template-columns:1fr 1fr; }
/* Shipping/Payment options */
.co-option { display:flex; align-items:center; gap:14px; background:var(--surface); border:1.5px solid var(--line); border-radius:var(--r-lg); padding:16px 18px; cursor:pointer; transition:border-color .15s, box-shadow .15s; }
.co-option:hover { border-color:var(--brand-2); }
.co-option input[type=radio] { accent-color:var(--brand); width:18px; height:18px; flex-shrink:0; }
.co-option-title { font-weight:700; font-size:14px; color:var(--ink); }
.co-option-price { font-weight:800; color:var(--brand); font-size:13px; margin-left:6px; }
.co-option-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.co-option-disabled { opacity:.45; cursor:not-allowed; pointer-events:none; }
.co-option-active { border-color:var(--brand); background:var(--brand-light); }
.co-option-badge { font-size:11px; font-weight:700; color:var(--accent); margin-left:6px; }
/* Summary sidebar */
.co-sidebar { position:sticky; top:calc(var(--hdr-h) + 20px); padding:20px; }
.co-sidebar-items { max-height:220px; overflow-y:auto; display:flex; flex-direction:column; gap:0; margin-bottom:16px; padding-right:4px; }
.co-sidebar-item { display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; gap:8px; }
.co-sidebar-item-name { font-weight:600; color:var(--ink); }
.co-sidebar-item-qty { font-size:11px; color:var(--muted); margin-top:2px; }
.co-sidebar-item-price { font-weight:700; color:var(--ink); flex-shrink:0; }
.co-promo-form { display:flex; gap:8px; margin-bottom:16px; padding-top:12px; border-top:1px solid var(--line); flex-wrap:wrap; }
.co-promo-input { flex:1; min-width:0; height:40px; border:1.5px solid var(--line); border-radius:var(--r-sm); padding:0 12px; font-size:13px; font-family:inherit; }
.co-promo-input:focus { outline:none; border-color:var(--brand); }
.co-promo-btn { height:40px; padding:0 18px; background:var(--brand); color:#fff; border:none; border-radius:var(--r-sm); font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; flex-shrink:0; transition:background var(--dur) var(--ease); }
.co-promo-btn:hover { background:var(--brand-2); }
.co-totals { display:flex; flex-direction:column; gap:8px; font-size:13px; }
.co-totals-row { display:flex; justify-content:space-between; }
.co-totals-row .label { color:var(--muted); }
.co-totals-row .val { font-weight:600; color:var(--ink); }
.co-totals-row .free { color:#22C55E; font-weight:700; }
.co-totals-row .discount { color:#22C55E; font-weight:700; }
.co-total-final { display:flex; justify-content:space-between; align-items:center; padding-top:14px; margin-top:6px; border-top:2px solid var(--line); font-family:'Outfit',sans-serif; font-size:1.25rem; font-weight:900; color:var(--ink); }
/* Confirm step recap */
.co-recap-card { background:var(--wash); border-radius:var(--r-lg); padding:14px 16px; font-size:13px; display:flex; flex-direction:column; gap:4px; }
.co-recap-card-title { font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:6px; }
/* Continue button */
.co-continue-btn { width:100%; height:52px; background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; border:none; border-radius:var(--r-lg); font-size:16px; font-weight:800; cursor:pointer; font-family:inherit; transition:all var(--dur-med); margin-top:20px; display:flex; align-items:center; justify-content:center; gap:8px; }
.co-continue-btn:hover { filter:brightness(1.08); transform:translateY(-2px); box-shadow:0 8px 24px var(--brand-glow); }
/* Guest note */
.co-guest-note { font-size:13px; color:var(--muted); margin-bottom:16px; }
/* Readonly field */
.form-control-readonly { background:var(--wash) !important; color:var(--muted) !important; cursor:not-allowed; }
@media(max-width:900px){
  .co-grid { grid-template-columns:1fr; }
  .co-sidebar { position:static; }
}
@media(max-width:640px){
  .co-form-2col { grid-template-columns:1fr; }
  .co-step-label { display:none; }
  .co-step-label.active { display:block; }
  .co-step-num { width:30px; height:30px; font-size:12px; }
  .co-sep { margin-top:-15px; }
  .co-panel { padding:20px 16px; }
  .co-steps { margin-bottom:24px; }
}

/* ── SHARE WIDGET ────────────────────────────────────────────── */
.share-widget { position:fixed; left:20px; z-index:9999; bottom:clamp(90px,12vh,30px); }
@media(max-width:768px){ .share-widget { bottom:calc(var(--bot-h) + var(--safe-b) + 12px) !important; left:14px !important; } }

/* ── COMPARE WIDGET (mobile) ─────────────────────────────────── */
#compare-widget { bottom: 90px; right: 14px; }
@media(max-width:768px){ #compare-widget { bottom:calc(var(--bot-h) + var(--safe-b) + 12px) !important; right:14px !important; } }

/* ── CHATBOT WIDGET (mobile) ─────────────────────────────────── */
/* The chatbot.css sets bottom:30px/right:30px — override on mobile */
@media(max-width:768px){
  .chatbot-widget { bottom:calc(var(--bot-h) + var(--safe-b) + 12px) !important; right:14px !important; }
}
.share-fab {
  width:52px; height:52px; border-radius:50%;
  background:#0F172A;
  color:#fff; border:none; cursor:pointer;
  box-shadow:0 8px 24px rgba(15,23,42,.35);
  display:grid; place-items:center; transition:all .3s var(--spring);
}
.share-fab:hover { transform:scale(1.1) rotate(15deg); background:#1E293B; box-shadow:0 14px 32px rgba(15,23,42,.45); }
.share-fab:active { transform:scale(.9); }
.share-overlay {
  position:fixed; inset:0; background:rgba(8,13,39,.55);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  display:none; align-items:center; justify-content:center; z-index:10000; padding:20px;
}
.share-overlay.open { display:flex; animation:fadeIn .25s var(--ease-out); }
.share-menu-card {
  background:#fff; border-radius:var(--r-2xl); padding:36px;
  width:100%; max-width:400px; position:relative;
  text-align:center; box-shadow:var(--sh-xl); animation:scaleIn .25s var(--spring);
}
.share-close { position:absolute; top:18px; right:18px; width:32px; height:32px; border-radius:50%; background:var(--surface-2); border:none; cursor:pointer; font-size:14px; color:var(--muted); display:grid; place-items:center; transition:all var(--dur); }
.share-close:hover { background:var(--line); }
.share-title { font-family:'Outfit',sans-serif; font-size:22px; font-weight:900; color:var(--ink); margin-bottom:8px; }
.share-subtitle { font-size:14px; color:var(--muted); margin-bottom:28px; }
.share-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.share-item { text-decoration:none; display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--ink-3); font-size:12px; font-weight:700; transition:all .2s; border:none; background:none; cursor:pointer; }
.share-item:hover { transform:translateY(-5px); }
.share-icon { width:54px; height:54px; border-radius:var(--r-lg); display:flex; align-items:center; justify-content:center; background:var(--surface-2); color:var(--muted); transition:all .2s; }
.share-item.wa:hover .share-icon   { background:#e7f9ed; color:#25d366; }
.share-item.fb:hover .share-icon   { background:#e7f0ff; color:#1877f2; }
.share-item.tg:hover .share-icon   { background:#e1f5fe; color:#0088cc; }
.share-item.copy:hover .share-icon { background:#fff8e1; color:#f59e0b; }

/* ── UTILITIES ───────────────────────────────────────────────── */
.text-brand  { color:var(--brand); }
.text-accent { color:var(--accent); }
.text-muted  { color:var(--muted); }
.surface-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); box-shadow:var(--sh-sm); }
.badge { display:inline-flex; align-items:center; padding:4px 10px; border-radius:var(--r-full); font-size:11px; font-weight:700; }
.badge-brand   { background:var(--brand-light); color:var(--brand-xdark); }
.badge-accent  { background:var(--accent-light); color:var(--accent-dark); }
.badge-success { background:#ECFDF5; color:#065F46; }

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  — Full Premium Layout
   ════════════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-x) 80px;
  align-items: start;
}
@media(max-width:1024px){ .product-detail { gap: 36px; } }
@media(max-width:768px){
  .product-detail { grid-template-columns: 1fr; gap: 28px; padding: 24px var(--page-x) 60px; }
}

/* ── Gallery ──────────────────────────────────────────────── */
.product-gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 20px); }
@media(max-width:768px){ .product-gallery { position: static; } }

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  position: relative;
}
.gallery-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.04) 0%, transparent 65%);
  pointer-events: none;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease-out);
}
.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--line);
  background: var(--surface);
  transition: all var(--dur-med);
  flex-shrink: 0;
}
.gallery-thumb img { width:100%; height:100%; object-fit:contain; }
.gallery-thumb:hover { border-color: rgba(37,99,235,.4); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.gallery-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* ── Info Panel ───────────────────────────────────────────── */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.product-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap; margin-bottom: 18px;
}
.product-breadcrumb a { color: var(--muted); transition: color var(--dur); }
.product-breadcrumb a:hover { color: var(--brand); }
.product-breadcrumb span { color: var(--muted-3); }

.product-cat-tag {
  display: inline-flex; align-items: center;
  padding: 4px 14px; border-radius: var(--r-full);
  background: var(--brand-light); color: var(--brand);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}

.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

/* Price row */
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}
#price-promo, .product-price-promo {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
}
#price-original, .product-price-original {
  font-size: 1.05rem; font-weight: 500;
  color: var(--muted-2);
  text-decoration: line-through;
}
#price-main, .product-price {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
}

/* Stock badge */
.product-stock-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 5px 14px; border-radius: var(--r-full);
  margin-bottom: 14px;
}
.product-stock-badge::before { content: '●'; font-size: 9px; }
.product-stock-badge.out { color: #dc2626; background: #fff5f5; border-color: #fecaca; }
.product-stock-badge.low { color: #d97706; background: #fffbeb; border-color: #fde68a; }

/* Divider */
.product-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

/* Qty + Add to cart */
.product-add-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 20px 0 14px;
  flex-wrap: wrap;
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  height: 52px;
}
.qty-btn {
  width: 44px; height: 100%;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 400;
  color: var(--ink-3); background: none; border: none;
  cursor: pointer; transition: background var(--dur), color var(--dur);
  line-height: 1;
}
.qty-btn:hover { background: var(--brand-light); color: var(--brand); }
.qty-val {
  width: 52px; height: 100%;
  text-align: center; border: none;
  background: transparent; font-size: 15px; font-weight: 700;
  color: var(--ink); outline: none;
  -moz-appearance: textfield;
}
.qty-val::-webkit-outer-spin-button,
.qty-val::-webkit-inner-spin-button { -webkit-appearance: none; }

.product-add-btn {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border: none; border-radius: var(--r);
  cursor: pointer; box-shadow: 0 6px 20px rgba(37,99,235,.35);
  transition: all var(--dur-med);
  letter-spacing: .01em;
  position: relative; overflow: hidden;
}
.product-add-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.product-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,99,235,.42);
}
.product-add-btn:active { transform: translateY(0); }
.product-add-btn:disabled {
  background: var(--muted-3); box-shadow: none;
  cursor: not-allowed; transform: none;
}

/* Wishlist + Compare row */
.product-actions-secondary {
  display: flex; gap: 10px;
}
.product-wishlist-btn, .product-compare-btn {
  flex: 1; height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink-3);
  cursor: pointer; transition: all var(--dur-med);
}
.product-wishlist-btn:hover {
  border-color: #E11D48; color: #E11D48;
  background: #fff5f7;
}
.product-compare-btn:hover {
  border-color: var(--brand); color: var(--brand);
  background: var(--brand-light);
}

/* ── Variant Selector (override inline styles) ────────────── */
.product-variants { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 16px; }
.variant-group-label {
  font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; letter-spacing: .01em;
}
.variant-group-label span { font-weight: 400; color: var(--muted); margin-left: 6px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }

.vopt-btn {
  border: 2px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-sm);
  padding: 7px 18px;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all var(--dur);
  color: var(--ink-3); font-family: inherit;
}
.vopt-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.vopt-btn.selected { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.vopt-btn.unavailable { opacity: .38; cursor: not-allowed; text-decoration: line-through; }

.vopt-color {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--line);
  cursor: pointer; transition: all var(--dur);
  position: relative; outline: 3px solid transparent; outline-offset: 2px;
}
.vopt-color:hover { outline-color: var(--brand); transform: scale(1.1); }
.vopt-color.selected { border-color: #fff; outline-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.vopt-color.unavailable { opacity: .35; cursor: not-allowed; }
.vopt-color.unavailable::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg,transparent,transparent 3px,rgba(0,0,0,.25) 3px,rgba(0,0,0,.25) 4px);
  border-radius: 50%;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.product-tabs-section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-x) 80px;
}
.tabs-header {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 36px;
}
.tab-btn {
  padding: 14px 26px;
  font-size: 14.5px; font-weight: 700;
  color: var(--muted); background: none;
  border: none; border-bottom: 3px solid transparent;
  margin-bottom: -2px; cursor: pointer;
  transition: all var(--dur-med); font-family: inherit;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }

.tabs-content { }
.tab-pane { display: none; animation: fadeUp .3s var(--ease-out); }
.tab-pane.active { display: block; }

/* Description tab */
.tab-rich-text { max-width: 780px; }
.tab-rich-text p { font-size: 15px; line-height: 1.75; color: var(--ink-3); margin-bottom: 16px; }
.tab-rich-text h2,.tab-rich-text h3,.tab-rich-text h4 { color: var(--ink); margin: 28px 0 12px; }
.tab-rich-text ul { list-style: disc; padding-left: 22px; }
.tab-rich-text li { font-size: 15px; color: var(--ink-3); margin-bottom: 6px; }

.specifications-header { margin-bottom: 20px; }
.specifications-title { font-size: 18px; font-weight: 800; color: var(--ink); }

.specs-table-wrap {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th {
  width: 200px; text-align: left;
  padding: 14px 22px;
  background: var(--surface-2); color: var(--muted);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.specs-table td {
  padding: 14px 22px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td,.specs-table tr:hover th { background: var(--brand-light); }

/* ── Reviews ──────────────────────────────────────────────── */
.reviews-container { }

.review-summary-header {
  display: grid;
  grid-template-columns: 180px 1fr 190px;
  gap: 36px;
  padding: 28px 0 24px;
  align-items: center;
}
@media(max-width:768px){
  .review-summary-header { grid-template-columns: 1fr; gap: 20px; }
}

.summary-col-avg { text-align: center; }
.avg-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.avg-value { font-size: 44px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 8px; font-family:'Outfit',sans-serif; }
.avg-stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 6px; }
.avg-count { font-size: 13px; color: var(--muted); }

.summary-col-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; }
.bar-label { font-size: 12.5px; font-weight: 600; color: var(--muted); width: 40px; flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; background: var(--line); border-radius: var(--r-full); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: var(--r-full); transition: width .6s var(--ease-out); }
.bar-count { font-size: 12.5px; color: var(--muted); width: 28px; text-align: right; flex-shrink: 0; }

.summary-col-action { display: flex; justify-content: center; }
.write-review-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r);
  background: var(--brand); color: #fff;
  font-size: 14px; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(37,99,235,.3);
  transition: all var(--dur-med);
}
.write-review-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,99,235,.38); }

.reviews-divider { height: 1px; background: var(--line); margin: 4px 0 28px; }

.reviews-list-min { display: flex; flex-direction: column; gap: 24px; }

.review-card {
  display: flex; gap: 20px;
  padding: 24px; border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--dur-med);
}
.review-card:hover { box-shadow: var(--sh-md); }
@media(max-width:600px){ .review-card { flex-direction: column; } }

.review-sidebar { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; width: 72px; }
.review-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-user-info { text-align: center; }
.user-name { font-size: 12px; font-weight: 700; color: var(--ink); }
.user-date { font-size: 11px; color: var(--muted); }

.review-main { flex: 1; }
.review-header-row { margin-bottom: 4px; }
.review-stars { display: flex; gap: 2px; }
.review-verified {
  display: flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; color: #16a34a;
  margin: 6px 0 10px;
}
.review-text { font-size: 14.5px; line-height: 1.7; color: var(--ink-3); }

.review-admin-reply {
  margin-top: 14px; padding: 14px 18px;
  background: var(--brand-light); border-radius: var(--r);
  border-left: 3px solid var(--brand);
}
.reply-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--brand); margin-bottom: 6px;
}
.reply-body { font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

.review-actions { display: flex; gap: 12px; margin-top: 14px; }
.action-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--muted); background: none; border: none;
  cursor: pointer; transition: color var(--dur);
}
.action-btn:hover { color: var(--brand); }

.empty-reviews {
  text-align: center; padding: 60px 20px;
  color: var(--muted); font-size: 15px;
}

/* ── Review Modal ─────────────────────────────────────────── */
.minim-modal-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(8,13,39,.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.minim-modal-overlay.open { display: flex; animation: fadeIn .25s var(--ease-out); }

.minim-modal {
  background: var(--surface); border-radius: var(--r-xl);
  width: 100%; max-width: 480px;
  box-shadow: var(--sh-xl);
  animation: scaleIn .3s var(--spring);
  overflow: hidden;
}
.minim-modal-header {
  padding: 24px 28px 0;
}
.minim-modal-header h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.minim-modal-body { padding: 20px 28px; }
.modal-label { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.star-rating-input {
  display: flex; flex-direction: row-reverse; justify-content: flex-end;
  gap: 4px; margin-bottom: 18px;
}
.star-rating-input input { display: none; }
.star-rating-input label {
  font-size: 30px; color: var(--line-2); cursor: pointer; transition: color .1s;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #FFAB00; }

.minim-form-group { margin-bottom: 14px; }
.minim-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--ink);
  font-size: 14px; font-family: inherit;
  transition: border-color var(--dur);
  resize: vertical;
}
.minim-input:focus { outline: none; border-color: var(--brand); background: #fff; }

.minim-modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--line);
}
.minim-btn-cancel {
  padding: 10px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; font-family: inherit;
  background: var(--surface-2); color: var(--ink-3);
  border: 1.5px solid var(--line); cursor: pointer; transition: all var(--dur);
}
.minim-btn-cancel:hover { background: var(--line); }
.minim-btn-post {
  padding: 10px 26px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; font-family: inherit;
  background: var(--brand); color: #fff; border: none;
  cursor: pointer; box-shadow: 0 4px 14px rgba(37,99,235,.28);
  transition: all var(--dur-med);
}
.minim-btn-post:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ── Recommendations slider ─────────────────────────────── */
.recommendation-section {
  max-width: var(--page-max);
  margin: 0 auto 60px;
  padding: 0 var(--page-x);
}
.recommendation-header { margin-bottom: 22px; }
.recommendation-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--ink);
}
.recommendation-title svg { color: var(--brand); }

/* ================================================================
   Visual Refinement Layer - warm premium commerce polish
   ================================================================ */
:root {
  --brand: #1F6FEB;
  --brand-2: #38BDF8;
  --brand-dark: #1D4ED8;
  --brand-xdark: #102A6B;
  --brand-light: #EAF4FF;
  --brand-glow: rgba(31, 111, 235, .24);
  --brand-glow-s: rgba(31, 111, 235, .11);
  --accent: #FF7A45;
  --accent-dark: #EA580C;
  --accent-light: #FFF1E8;
  --accent-glow: rgba(255, 122, 69, .24);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --ink: #111827;
  --ink-2: #243145;
  --ink-3: #475569;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --muted-3: #CBD5E1;
  --bg: #F6F9FE;
  --surface: #FFFFFF;
  --surface-2: #F3F7FC;
  --wash: #EAF0FA;
  --line: #DFE8F4;
  --line-2: #C7D5E8;
  --sh-xs: 0 1px 2px rgba(17,24,39,.05);
  --sh-sm: 0 8px 18px rgba(17,24,39,.07);
  --sh-md: 0 16px 36px rgba(17,24,39,.09);
  --sh-lg: 0 24px 56px rgba(17,24,39,.12);
  --sh-xl: 0 36px 78px rgba(17,24,39,.16);
  --sh-brand: 0 14px 34px rgba(31,111,235,.25);
  --sh-accent: 0 14px 30px rgba(255,122,69,.22);
}

html { background: var(--bg); }
body {
  background:
    linear-gradient(180deg, #F8FBFF 0%, #F3F7FC 46%, #F7FAFE 100%);
  color: var(--ink);
}
main { position: relative; }
::selection { background: rgba(31,111,235,.18); color: var(--ink); }

.hero-orb,
.home-newsletter-glow { display: none !important; }

.site-header {
  background: rgba(13, 25, 52, .92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.site-header.scrolled {
  background: rgba(13, 25, 52, .97);
  box-shadow: 0 16px 42px rgba(8, 18, 38, .22);
}
.hdr-logo-img {
  max-height: 42px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.hdr-nav-link,
.hdr-text-btn {
  color: rgba(255,255,255,.72);
}
.hdr-nav-link:hover,
.hdr-nav-link.active,
.hdr-text-btn:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
}
.hdr-cta-btn,
.btn-primary,
.home-cta-primary,
.filter-actions .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--sh-brand);
  border: 0;
}
.hdr-cta-btn:hover,
.btn-primary:hover,
.home-cta-primary:hover,
.filter-actions .btn-primary:hover {
  box-shadow: 0 18px 42px rgba(31,111,235,.28);
}
.hdr-icon-btn {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}
.cart-badge {
  background: linear-gradient(135deg, var(--accent), #FFB86B);
  box-shadow: 0 8px 18px var(--accent-glow);
}

.site-footer {
  background: #0D1934;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-link:hover { color: #A7F3D0; }

.form-control,
.minim-input,
input.form-control,
select.form-control,
textarea.form-control {
  border-radius: 12px;
  border-color: var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.form-control:focus,
.minim-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow-s), 0 10px 22px rgba(31,111,235,.08);
}
.btn-primary,
.btn-accent,
.btn-secondary,
.btn-ghost,
.home-view-all,
.cmp-btn-add,
.cmp-btn-clear {
  border-radius: 8px;
}

.home-hero {
  background:
    linear-gradient(135deg, #0C1834 0%, #153B78 55%, #1F6FEB 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.home-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(246,249,254,0), var(--bg));
  pointer-events: none;
}
.home-hero-badge {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
}
.home-hero-title em {
  background: linear-gradient(135deg, #93C5FD 0%, #A7F3D0 48%, #FDBA74 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-cta-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.home-hero-card {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.home-hero-card-label {
  background: rgba(13,25,52,.72);
  border: 1px solid rgba(255,255,255,.12);
}
.home-trust,
.catalog-filter-form,
.panel,
.empty-state,
.product-info-card,
.co-summary-card,
.account-card,
.cart-summary,
.cmp-table-wrap,
.cmp-empty {
  border-color: rgba(199,213,232,.72);
  box-shadow: var(--sh-sm);
}
.home-trust {
  border-radius: 8px;
  overflow: hidden;
}
.home-trust-icon {
  background: var(--brand-light);
  color: var(--brand);
}
.home-trust-item:hover {
  background: #F8FBFF;
}
.home-title,
.section-title,
.catalog-hero .section-title {
  letter-spacing: 0;
}
.home-kicker,
.section-kicker {
  color: var(--brand);
}
.home-kicker-red { color: var(--accent); }

.product-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(199,213,232,.8);
  border-radius: 8px;
  box-shadow: var(--sh-xs);
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31,111,235,.28);
  box-shadow: var(--sh-md);
}
.pc-img-wrap {
  background: linear-gradient(145deg, #F8FBFF, #EEF5FF);
  border-radius: 8px;
}
.pc-img { object-fit: contain; padding: 10px; }
.pc-overlay {
  background: linear-gradient(180deg, rgba(13,25,52,0), rgba(13,25,52,.66));
}
.pc-quick-add,
.pc-mobile-add {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  box-shadow: var(--sh-brand);
}
.pc-badge.promo {
  background: linear-gradient(135deg, var(--accent), #FFB86B);
  box-shadow: var(--sh-accent);
}
.pc-badge.new {
  background: linear-gradient(135deg, #10B981, #34D399);
}
.pc-wishlist,
.pc-compare {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(199,213,232,.85);
  box-shadow: var(--sh-xs);
}
.pc-wishlist:hover {
  color: #E11D48;
  border-color: rgba(225,29,72,.22);
  background: #FFF1F4;
}
.pc-compare:hover {
  color: var(--brand);
  border-color: rgba(31,111,235,.24);
  background: var(--brand-light);
}
.pc-category {
  color: var(--brand);
  letter-spacing: .08em;
}
.price,
.product-price,
#price-main {
  color: var(--ink);
}
.price-promo,
.product-price-promo,
#price-promo {
  color: var(--accent);
}

.catalog-hero {
  border-radius: 0 0 28px 28px;
}
.catalog-filters {
  margin-top: -4px;
}
.catalog-filter-form {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 8px;
}
.catalog-search-wrap .form-control,
.filter-group .form-control,
.price-inputs {
  background: #F2F6FC;
  border-color: transparent;
}
.filter-group .form-control:focus,
.catalog-search-wrap .form-control:focus,
.price-inputs:focus-within {
  background: #fff;
  border-color: var(--brand);
}
.pagination .page-link,
.page-link {
  border-radius: 8px;
}
.pagination .page-link.active,
.page-link.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--sh-brand);
}

.home-newsletter {
  background: linear-gradient(135deg, #0D1934 0%, #123A74 62%, #1F6FEB 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-lg);
}
.home-newsletter-form input {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}
.home-newsletter-form button {
  background: linear-gradient(135deg, var(--accent), #FFB86B);
}

.bottom-nav {
  background: rgba(255,255,255,.95);
  border-top-color: rgba(199,213,232,.82);
}
.bottom-nav-item.active { color: var(--brand); }

@media (max-width: 640px) {
  .home-product-grid,
  .catalog-grid {
    gap: 12px;
  }
  .product-card {
    border-radius: 8px;
  }
  .pc-name {
    font-size: 13.5px;
  }
  .catalog-filter-form {
    border-radius: 8px;
  }
}
