/* ============================================================
   MYPRESCRIPTIONBAG — MAIN STYLESHEET
   Blue Steel B2B E-Commerce
   ============================================================ */

:root {
  --s900: #0a1628;
  --s800: #112244;
  --s700: #1a3560;
  --s600: #1e4080;
  --s500: #2563a8;
  --s400: #3b82c4;
  --s300: #6aaee0;
  --s200: #a8d1f0;
  --s100: #d6eaf8;
  --s50:  #eef6fd;
  --accent:       #00c8ff;
  --accent-dark:  #0099cc;
  --accent-light: #80e4ff;
  --white: #ffffff;
  --g50:  #f8fafc;
  --g100: #f1f5f9;
  --g200: #e2e8f0;
  --g300: #cbd5e1;
  --g500: #64748b;
  --g700: #334155;
  --g900: #0f172a;
  --success: #059669;
  --danger:  #dc2626;
  --warning: #d97706;
  --radius:   12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(10,22,40,.10);
  --shadow-lg: 0 12px 48px rgba(10,22,40,.18);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 70px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--g50); color: var(--g900); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--s800);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  transition: background var(--transition);
}
.navbar.scrolled { background: var(--s900); }
.nav-logo { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--white); }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.status-pill { font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.status-pill.pending { background: rgba(217,119,6,.15); color: #fbbf24; border: 1px solid rgba(217,119,6,.3); }
.basket-btn { position: relative; }
.basket-count { position: absolute; top: -6px; right: -8px; background: var(--accent); color: var(--s900); font-size: 10px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.avatar-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--s900); font-family: var(--font-head); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: transform var(--transition); }
.avatar-btn:hover { transform: scale(1.08); }

/* ── THEME PICKER ── */
.theme-picker { position: relative; }
.theme-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); cursor: pointer;
  transition: all var(--transition); font-size: 13px;
}
.theme-trigger:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.theme-trigger-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
  transition: background .3s ease;
}
.theme-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(12,20,44,.98); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  padding: 18px; width: 380px; z-index: 2000;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .22s cubic-bezier(.4,0,.2,1);
}
.theme-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.theme-dropdown-header {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.theme-swatch {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.07);
  cursor: pointer; transition: all var(--transition);
  background: rgba(255,255,255,.03);
  min-width: 0; /* prevent grid blowout */
}
.theme-swatch:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-1px); }
.theme-swatch.active { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }
.swatch-dots { display: flex; gap: 4px; flex-shrink: 0; }
.swatch-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.swatch-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.78); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 8px; font-family: var(--font-body); font-weight: 600; cursor: pointer; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-md  { padding: 11px 24px; font-size: 14px; }
.btn-lg  { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary { background: var(--accent); color: var(--s900); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,169,110,.35); }
.btn-steel { background: var(--s500); color: var(--white); }
.btn-steel:hover { background: var(--s600); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.28); color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.55); }
.btn-outline { background: transparent; border: 1.5px solid var(--g200); color: var(--g700); }
.btn-outline:hover { border-color: var(--s300); color: var(--s600); background: var(--s50); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #047857; }

/* ── FLASH MESSAGES ── */
.flash-container { position: fixed; top: calc(var(--nav-h) + 12px); right: 20px; z-index: 900; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: slideIn .3s ease; }
@keyframes slideIn { from { opacity:0; transform: translateX(40px); } to { opacity:1; transform: translateX(0); } }
.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.flash-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.flash button  { background: none; border: none; font-size: 16px; color: inherit; opacity: .6; cursor: pointer; }
.flash button:hover { opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform: translateY(32px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes floatY   { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-24px) scale(1.04); } }
@keyframes pulse    { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.5); } }
@keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(60px); } }
@keyframes shimmer  { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.anim-fadeup      { animation: fadeUp .7s ease both; }
.anim-fadeup-d1   { animation: fadeUp .7s .1s ease both; }
.anim-fadeup-d2   { animation: fadeUp .7s .2s ease both; }
.anim-fadeup-d3   { animation: fadeUp .7s .3s ease both; }
.anim-fadeup-d4   { animation: fadeUp .7s .4s ease both; }

/* ── LAYOUT HELPERS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 5%; }
.section-sm { padding: 60px 5%; }
.section-center { text-align: center; }
.page-pad { padding-top: var(--nav-h); }
.section-tag { display: inline-block; background: var(--s100); color: var(--s600); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 6px 16px; border-radius: 20px; margin-bottom: 14px; }
.section-tag-inv { background: rgba(200,169,110,.15); color: var(--accent-light); }
.section-title { font-family: var(--font-head); font-size: clamp(28px,4vw,48px); font-weight: 800; color: var(--s800); margin-bottom: 14px; line-height: 1.1; }
.section-title-inv { color: var(--white); }
.section-sub { font-size: 17px; color: var(--g500); max-width: 560px; margin: 0 auto 52px; }
.section-sub-inv { color: rgba(255,255,255,.55); }
.divider { border: none; border-top: 1px solid var(--g200); margin: 0; }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--g200); }
.card-lg { border-radius: var(--radius-lg); }

/* ── FORMS ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--g200); border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; color: var(--g900);
  background: var(--white); transition: border-color var(--transition);
  appearance: none;
}
.form-control:focus { outline: none; border-color: var(--s400); box-shadow: 0 0 0 3px rgba(59,130,196,.12); }
.form-control::placeholder { color: var(--g300); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--s600); text-transform: uppercase; letter-spacing: 1.5px;
  margin: 28px 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--s100);
}

/* ── ====================== ── */
/* ── LANDING PAGE           ── */
/* ── ====================== ── */

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--s900) 0%, var(--s700) 55%, var(--s800) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 5% 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,168,.35), transparent 70%);
  pointer-events: none;
}
.hero-orb-1 { width: 700px; height: 700px; top: -150px; right: -100px; animation: floatY 9s ease-in-out infinite; }
.hero-orb-2 { width: 450px; height: 450px; bottom: -80px; left: 5%; animation: floatY 12s ease-in-out infinite reverse; }
.hero-orb-3 { width: 200px; height: 200px; top: 40%; left: 40%; background: radial-gradient(circle, rgba(200,169,110,.12), transparent 70%); animation: floatY 7s ease-in-out infinite; }

/* Two-column hero layout */
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center;
  width: 100%; max-width: 1300px; margin: 0 auto;
}
.hero-content { animation: fadeUp .9s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,110,.13); border: 1px solid rgba(200,169,110,.38);
  border-radius: 20px; padding: 7px 18px;
  color: var(--accent-light); font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease infinite; }
.hero-title { font-family: var(--font-head); font-size: clamp(38px,4.5vw,68px); font-weight: 800; color: var(--white); line-height: 1.08; margin-bottom: 24px; letter-spacing: -0.5px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.68); line-height: 1.75; margin-bottom: 40px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 44px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.09); flex-wrap: wrap; justify-content: flex-start; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1; text-align: center; display: block; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.48); margin-top: 5px; text-align: center; display: block; }

/* ── REAL BAG DISPLAY ── */
.hero-bag-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 420px; animation: fadeUp 1s .2s ease both;
}
.bag-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,.2) 0%, rgba(0,200,255,.05) 50%, transparent 75%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{transform:scale(1);opacity:.7;} 50%{transform:scale(1.18);opacity:1;} }
.hero-bags-display { position: relative; width: 280px; height: 380px; z-index: 2; }
.hero-bag-img-wrap { position: absolute; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* Bag positions — they glide left/right and swap depth */
.hero-bag-back {
  left: 10px; bottom: 0;
  animation: bagSwapBack 8s ease-in-out infinite;
  z-index: 1;
}
.hero-bag-front {
  right: 10px; bottom: 20px;
  animation: bagSwapFront 8s ease-in-out infinite;
  z-index: 2;
}

/* Brown bag (back): starts behind, glides to front at 50% */
@keyframes bagSwapBack {
  0%   { transform: translateX(0) translateY(0) rotate(-4deg) scale(0.88); z-index: 1; opacity: .82; }
  40%  { transform: translateX(60px) translateY(-18px) rotate(0deg) scale(1); z-index: 3; opacity: 1; }
  50%  { transform: translateX(70px) translateY(-22px) rotate(2deg) scale(1.04); z-index: 3; opacity: 1; }
  60%  { transform: translateX(55px) translateY(-16px) rotate(1deg) scale(1); z-index: 3; opacity: 1; }
  100% { transform: translateX(0) translateY(0) rotate(-4deg) scale(0.88); z-index: 1; opacity: .82; }
}

/* White bag (front): starts in front, glides behind at 50% */
@keyframes bagSwapFront {
  0%   { transform: translateX(0) translateY(0) rotate(2deg) scale(1.04); z-index: 2; opacity: 1; }
  40%  { transform: translateX(-55px) translateY(-10px) rotate(-2deg) scale(0.9); z-index: 0; opacity: .8; }
  50%  { transform: translateX(-65px) translateY(-8px) rotate(-4deg) scale(0.88); z-index: 0; opacity: .78; }
  60%  { transform: translateX(-50px) translateY(-12px) rotate(-2deg) scale(0.9); z-index: 0; opacity: .82; }
  100% { transform: translateX(0) translateY(0) rotate(2deg) scale(1.04); z-index: 2; opacity: 1; }
}

.hero-bag-img { height: 300px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); border-radius: 8px; }
.hero-bag-back .hero-bag-img { height: 260px; }
.bag-label-tag { background: var(--accent); color: var(--s900); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px; box-shadow: 0 4px 12px rgba(0,200,255,.35); }
.pill { position: absolute; font-size: 22px; animation: pillFloat 4s ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.pill-1 { top: 20px; left: 20px; animation-delay: 0s; animation-duration: 4.5s; }
.pill-2 { top: 60px; right: 10px; animation-delay: 1.2s; animation-duration: 3.8s; }
.pill-3 { bottom: 50px; left: 10px; animation-delay: 2.1s; animation-duration: 5s; }
@keyframes pillFloat { 0%,100%{transform:translateY(0) rotate(0deg);opacity:.7;} 50%{transform:translateY(-14px) rotate(20deg);opacity:1;} }
.spark { position: absolute; border-radius: 50%; animation: sparkBlink 3s ease-in-out infinite; }
.spark-1 { width:8px; height:8px; background:var(--accent); top:30px; right:55px; animation-delay:0s; }
.spark-2 { width:5px; height:5px; background:var(--s300); top:130px; left:30px; animation-delay:.8s; }
.spark-3 { width:6px; height:6px; background:var(--accent); bottom:90px; right:30px; animation-delay:1.6s; }
.spark-4 { width:4px; height:4px; background:rgba(255,255,255,.6); bottom:160px; left:55px; animation-delay:2.4s; }
@keyframes sparkBlink { 0%,100%{opacity:0;transform:scale(.6);} 50%{opacity:1;transform:scale(1.4);} }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-bag-wrap { display: flex; height: 260px; padding-top: 16px; }
  .hero-bags-display { width: 210px; height: 220px; }
  .hero-bag-img { height: 190px; }
  .hero-bag-back .hero-bag-img { height: 165px; }
  .pill { font-size: 16px; }
  .pill-1 { top:8px; left:8px; }
  .pill-2 { top:24px; right:4px; }
  .pill-3 { bottom:24px; left:4px; }
}

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 22px; }
.feature-card { padding: 36px 28px; transition: all var(--transition); text-align: center; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--s200); }
.feature-icon { width: 56px; height: 56px; background: var(--s50); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 20px; border: 1px solid var(--s100); }
.feature-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--s800); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--g500); line-height: 1.65; }

/* Product Preview (dark section) */
.products-dark { background: var(--s900); }
.product-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 16px; }
.product-preview-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
  transition: all var(--transition); cursor: pointer;
}
.product-preview-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(200,169,110,.3); }
.product-preview-card .pp-code { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--accent); }
.product-preview-card .pp-size { font-size: 12px; color: rgba(255,255,255,.45); margin: 7px 0; }
.product-preview-card .pp-price { font-size: 18px; font-weight: 700; color: var(--white); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 0; }
.step-card { padding: 40px 24px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.step-card:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 44px; font-size: 24px; color: var(--g300); }
.step-num { width: 56px; height: 56px; background: linear-gradient(135deg, var(--s600), var(--s400)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--white); margin: 0 auto 20px; box-shadow: 0 8px 24px rgba(30,64,128,.3); flex-shrink: 0; }
.step-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--s800); margin-bottom: 8px; text-align: center; }
.step-card p { font-size: 14px; color: var(--g500); line-height: 1.6; text-align: center; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--s700) 0%, var(--s900) 100%);
  border-radius: var(--radius-lg); padding: 80px 48px; text-align: center;
  margin: 80px 5% 80px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 50%, rgba(0,200,255,.08), transparent 65%);
  pointer-events: none; z-index: 0;
}
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(28px,4vw,42px); font-weight: 800; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ── ====================== ── */
/* ── PRODUCTS PAGE           ── */
/* ── ====================== ── */

.page-hero { background: linear-gradient(135deg, var(--s800), var(--s600)); padding: calc(var(--nav-h) + 48px) 5% 52px; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(32px,5vw,52px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 16px; }

.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 40px 5% 80px; max-width: 1400px; margin: 0 auto; }
.filter-sidebar { height: fit-content; position: sticky; top: calc(var(--nav-h) + 16px); }
.filter-sidebar .card { padding: 24px; }
.filter-sidebar h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--s800); margin-bottom: 20px; }
.filter-group { margin-bottom: 22px; }
.filter-group-label { display: block; font-size: 11px; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.filter-check { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; cursor: pointer; font-size: 14px; color: var(--g700); }
.filter-check input { accent-color: var(--s500); width: 16px; height: 16px; }
.colour-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.colour-pill { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--g200); color: var(--g700); transition: all var(--transition); }
.colour-pill:hover, .colour-pill.active { border-color: var(--s500); background: var(--s50); color: var(--s600); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 22px; }
.product-card { overflow: hidden; transition: all var(--transition); cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--s100), var(--s50));
  position: relative; font-size: 72px;
}
.thumb-code { position: absolute; bottom: 12px; left: 14px; font-family: var(--font-head); font-size: 13px; font-weight: 800; color: var(--s700); background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 6px; }
.product-card-body { padding: 18px 18px 0; }
.product-card-code { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--s800); }
.product-card-size { font-size: 13px; color: var(--g500); margin: 5px 0 12px; }
.colour-tags { display: flex; gap: 6px; }
.colour-tag { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.ct-brown { background: #8b6a4a22; color: #6b4c2f; border: 1px solid #8b6a4a44; }
.ct-white { background: var(--g100); color: var(--g700); border: 1px solid var(--g200); }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; margin-top: 14px; border-top: 1px solid var(--g100); }
.product-price { font-size: 19px; font-weight: 700; color: var(--s700); }
.product-ppb { font-size: 11px; color: var(--g500); margin-top: 2px; }

/* ── PRODUCT DETAIL ── */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: calc(var(--nav-h) + 48px) 5% 80px; max-width: 1200px; margin: 0 auto; }
.detail-img {
  border-radius: var(--radius-lg); height: 460px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--s100), var(--s50));
  font-size: 130px; border: 1px solid var(--g200);
  animation: fadeUp .6s ease both;
}
.detail-info { animation: fadeUp .6s .1s ease both; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g500); margin-bottom: 20px; }
.breadcrumb a { color: var(--s500); }
.breadcrumb a:hover { text-decoration: underline; }
.detail-code { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: var(--s800); line-height: 1; }
.detail-size { font-size: 16px; color: var(--g500); margin: 10px 0 28px; }
.detail-price-line { font-size: 36px; font-weight: 700; color: var(--s700); margin-bottom: 6px; }
.detail-price-line small { font-size: 16px; font-weight: 400; color: var(--g500); }
.detail-ppb { font-size: 14px; color: var(--g500); margin-bottom: 32px; }
.colour-selector { margin-bottom: 28px; }
.colour-selector label { display: block; font-size: 13px; font-weight: 600; color: var(--g700); margin-bottom: 10px; }
.colour-opts { display: flex; gap: 12px; }
.colour-opt {
  padding: 11px 22px; border-radius: 8px; border: 2px solid var(--g200);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--transition);
  background: none; color: var(--g700);
}
.colour-opt:hover { border-color: var(--s300); }
.colour-opt.active { border-color: var(--s500); background: var(--s50); color: var(--s700); }
.qty-row { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.qty-label { font-size: 14px; font-weight: 600; color: var(--g700); }
.qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--g200); border-radius: 8px; overflow: hidden; }
.qty-ctrl button { width: 40px; height: 40px; background: var(--g100); border: none; font-size: 20px; color: var(--g700); transition: background var(--transition); }
.qty-ctrl button:hover { background: var(--g200); }
.qty-ctrl span { width: 52px; text-align: center; font-weight: 700; font-size: 16px; }
.line-total { font-size: 20px; font-weight: 700; color: var(--s800); }
.detail-meta { background: var(--g50); border-radius: var(--radius); padding: 20px; border: 1px solid var(--g200); margin-top: 28px; }
.meta-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--g200); font-size: 14px; }
.meta-row:last-child { border: none; padding-bottom: 0; }
.meta-row span:first-child { color: var(--g500); }
.meta-row span:last-child { font-weight: 600; color: var(--s800); }

/* ── AUTH PAGES ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--s900), var(--s700)); padding: 100px 20px 40px; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px 44px; width: 100%; max-width: 620px; box-shadow: var(--shadow-lg); animation: fadeUp .6s ease; }
.auth-card h2 { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--s800); margin-bottom: 6px; }
.auth-sub { font-size: 15px; color: var(--g500); margin-bottom: 32px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--g500); }
.auth-footer a { color: var(--s500); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.demo-box { margin-top: 24px; padding: 14px 16px; background: var(--s50); border-radius: 8px; font-size: 12px; color: var(--g500); border: 1px solid var(--s100); }
.demo-box strong { color: var(--s700); display: block; margin-bottom: 4px; }

/* ── PENDING PAGE ── */
.pending-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--s900), var(--s700)); padding: 20px; }
.pending-card { background: var(--white); border-radius: var(--radius-lg); padding: 60px 48px; max-width: 480px; text-align: center; box-shadow: var(--shadow-lg); animation: fadeUp .6s ease; }
.pending-icon { font-size: 64px; margin-bottom: 24px; display: block; animation: floatY 3s ease infinite; }
.pending-card h2 { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--s800); margin-bottom: 14px; }
.pending-card p { color: var(--g500); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.alert { padding: 13px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── BASKET ── */
.basket-wrap { padding: calc(var(--nav-h) + 40px) 5% 80px; max-width: 1200px; margin: 0 auto; }
.basket-wrap h1 { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--s800); margin-bottom: 28px; }
.basket-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.basket-item { display: flex; align-items: center; gap: 18px; padding: 20px; margin-bottom: 14px; transition: box-shadow var(--transition); }
.basket-item:hover { box-shadow: var(--shadow); }
.basket-item-thumb { width: 80px; height: 80px; background: var(--s50); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; border: 1px solid var(--s100); }
.basket-item-info { flex: 1; min-width: 0; }
.basket-item-code { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--s800); }
.basket-item-detail { font-size: 13px; color: var(--g500); margin: 4px 0 10px; }
.basket-item-price { font-size: 18px; font-weight: 700; color: var(--s700); flex-shrink: 0; }
.qty-ctrl-sm { display: flex; align-items: center; border: 1.5px solid var(--g200); border-radius: 6px; overflow: hidden; }
.qty-ctrl-sm button { width: 32px; height: 32px; background: var(--g100); border: none; font-size: 18px; color: var(--g700); }
.qty-ctrl-sm button[type=submit]:hover { background: var(--g200); }
.qty-ctrl-sm span { width: 36px; text-align: center; font-weight: 700; font-size: 14px; }
.remove-btn { background: none; border: none; color: var(--g300); font-size: 18px; padding: 8px; transition: color var(--transition); }
.remove-btn:hover { color: var(--danger); }
.order-summary { padding: 28px; height: fit-content; position: sticky; top: calc(var(--nav-h) + 16px); }
.order-summary h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--s800); margin-bottom: 22px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--g700); margin-bottom: 10px; }
.sum-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; color: var(--s800); padding-top: 14px; border-top: 2px solid var(--g200); margin-top: 6px; }
.sum-items { border-top: 1px solid var(--g100); margin-bottom: 16px; padding-top: 16px; }
.sum-item-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--g500); margin-bottom: 6px; }
.secure-badge { text-align: center; font-size: 12px; color: var(--g500); margin-top: 14px; }
.empty-basket { text-align: center; padding: 80px 20px; }
.empty-basket-icon { font-size: 72px; margin-bottom: 20px; }
.empty-basket h3 { font-family: var(--font-head); font-size: 26px; color: var(--s800); margin-bottom: 10px; }
.empty-basket p { color: var(--g500); margin-bottom: 28px; }

/* ── CHECKOUT ── */
.checkout-wrap { padding: calc(var(--nav-h) + 40px) 5% 80px; max-width: 1000px; margin: 0 auto; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.checkout-form-card { padding: 36px; }
.checkout-summary { padding: 28px; height: fit-content; position: sticky; top: calc(var(--nav-h) + 16px); }
.checkout-summary h3, .checkout-form-card h2 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--s800); margin-bottom: 22px; }
.payment-methods { display: flex; gap: 8px; margin-bottom: 22px; }
.pay-icon { padding: 5px 12px; background: var(--g100); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--g600); border: 1px solid var(--g200); }
.pay-icon-stripe { background: #635bff; color: white; border-color: #635bff; }
#card-element { padding: 13px 14px; border: 1.5px solid var(--g200); border-radius: 8px; margin-bottom: 8px; }
#card-element.StripeElement--focus { border-color: var(--s400); box-shadow: 0 0 0 3px rgba(59,130,196,.12); }
#card-errors { color: var(--danger); font-size: 13px; margin-bottom: 16px; }

/* ── ACCOUNT ── */
.account-wrap { padding: calc(var(--nav-h) + 40px) 5% 80px; max-width: 1200px; margin: 0 auto; }
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.account-sidebar { height: fit-content; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--g200); }
.account-user-block { padding: 24px 20px; background: linear-gradient(135deg, var(--s800), var(--s600)); }
.account-avatar { width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--s900); margin-bottom: 12px; }
.account-user-name  { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--white); }
.account-user-email { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; }
.account-nav-item { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; font-weight: 500; color: var(--g700); cursor: pointer; border-left: 3px solid transparent; transition: all var(--transition); text-decoration: none; }
.account-nav-item:hover { background: var(--g50); color: var(--s700); }
.account-nav-item.active { background: var(--s50); color: var(--s600); border-left-color: var(--s500); font-weight: 600; }
.account-content { padding: 32px; }
.account-content h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--s800); margin-bottom: 24px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: 1px; padding: 10px 12px; border-bottom: 2px solid var(--g200); }
.order-table td { padding: 14px 12px; font-size: 14px; color: var(--g700); border-bottom: 1px solid var(--g100); }
.order-table tr:last-child td { border: none; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.sb-delivered  { background: #d1fae5; color: #065f46; }
.sb-processing { background: #dbeafe; color: #1e40af; }
.sb-pending    { background: #fef3c7; color: #92400e; }
.sb-rejected   { background: #fee2e2; color: #991b1b; }

/* ── ADMIN ── */
.admin-wrap { padding: calc(var(--nav-h) + 40px) 5% 80px; }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--s800); }
.admin-header p { color: var(--g500); margin-top: 4px; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { padding: 24px; }
.stat-card-label { font-size: 13px; color: var(--g500); margin-bottom: 8px; }
.stat-card-num { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--s800); }
.stat-card-num.accent { color: var(--accent-dark); }
.stat-card-num.success { color: var(--success); }
.admin-tabs { display: flex; border-bottom: 2px solid var(--g200); margin-bottom: 24px; gap: 0; }
.admin-tab { padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--g500); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); text-decoration: none; }
.admin-tab:hover { color: var(--s600); }
.admin-tab.active { color: var(--s600); border-bottom-color: var(--s500); }
.admin-table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--g200); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--g50); padding: 13px 18px; text-align: left; font-size: 11px; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: 1.2px; border-bottom: 1px solid var(--g200); }
.admin-table td { padding: 15px 18px; font-size: 14px; color: var(--g700); border-bottom: 1px solid var(--g100); }
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: var(--g50); }
.action-btns { display: flex; gap: 8px; }

/* ── FOOTER ── */
.site-footer { background: var(--s900); color: rgba(255,255,255,.55); padding: 72px 5% 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-col h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 9px; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 0; font-size: 13px; }

/* ══════════════════════════════════════
   HAMBURGER + MOBILE MENU
══════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; cursor: pointer; padding: 0;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.15); }
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--s900); border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 998; transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1; transform: translateY(0); pointer-events: all;
}
.mobile-menu-inner { padding: 16px 20px 24px; }
.mobile-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.82);
  text-decoration: none; transition: background var(--transition);
  margin-bottom: 4px;
}
.mobile-link:hover { background: rgba(255,255,255,.07); }
.mobile-link-danger { color: #f87171; }
.mobile-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 12px 0; }
.mobile-badge { background: var(--accent); color: var(--s900); font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 10px; margin-left: 4px; }
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 997;
  background: rgba(0,0,0,.4);
}
.mobile-overlay.open { display: block; }

/* ══════════════════════════════════════
   TABLET  ≤ 1024px
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════
   MOBILE  ≤ 768px
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV */
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* HERO */
  .hero { padding: 90px 5% 56px; min-height: auto; }
  .hero-inner { display: flex; flex-direction: column; gap: 0; }
  .hero-content { order: 2; }
  .hero-bag-wrap { order: 1; height: 260px; margin-bottom: 24px; padding-top: 20px; }
  .hero-bags-display { width: 210px; height: 210px; }
  .hero-bag-img { height: 180px; }
  .hero-bag-back .hero-bag-img { height: 155px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 18px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; justify-content: center; }
  .hero-stat { text-align: center; min-width: 80px; }
  .hero-stat-num { font-size: 26px; }
  .hero-stat-label { font-size: 11px; }
  .hero-badge { font-size: 12px; padding: 5px 13px; }

  /* SECTIONS */
  .section { padding: 64px 5%; }
  .section-sm { padding: 40px 5%; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }
  .section-tag { font-size: 10px; }

  /* FEATURES */
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px 20px; }

  /* PRODUCT PREVIEW */
  .product-preview-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .product-preview-card { padding: 18px 12px; }
  .product-preview-card .pp-code { font-size: 20px; }
  .product-preview-card .pp-price { font-size: 14px; }

  /* STEPS */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps-grid .step-card::after { display: none; }
  .step-card { padding: 24px 16px; }
  .step-num { width: 44px; height: 44px; font-size: 18px; }

  /* CTA BANNER */
  .cta-banner { padding: 40px 24px; margin: 48px 16px 48px; border-radius: var(--radius); }
  .cta-banner h2 { font-size: 22px; }
  .cta-banner p { font-size: 14px; margin-bottom: 24px; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* PAGE HERO */
  .page-hero { padding: calc(var(--nav-h) + 28px) 5% 32px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 14px; }

  /* PRODUCTS LIST */
  .products-layout { padding: 20px 5% 60px; gap: 16px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-thumb { height: 120px; font-size: 44px; }
  .product-card-body { padding: 12px 12px 0; }
  .product-card-code { font-size: 17px; }
  .product-card-size { font-size: 11px; margin-bottom: 8px; }
  .product-card-foot { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  .product-price { font-size: 16px; }
  .product-ppb { font-size: 10px; }
  .filter-sidebar .card { padding: 16px; }
  .colour-pills { gap: 6px; }
  .colour-pill { padding: 6px 12px; font-size: 12px; }

  /* PRODUCT DETAIL */
  .detail-layout { grid-template-columns: 1fr; gap: 24px; padding: calc(var(--nav-h) + 16px) 5% 48px; }
  .detail-img { height: 220px; font-size: 80px; border-radius: var(--radius); }
  .detail-code { font-size: 36px; }
  .detail-price-line { font-size: 26px; }
  .colour-opts { flex-direction: column; gap: 8px; }
  .colour-opt { width: 100%; text-align: center; justify-content: center; }
  .qty-row { flex-wrap: wrap; gap: 12px; }

  /* AUTH PAGES */
  .auth-wrap { padding: 80px 16px 32px; align-items: flex-start; }
  .auth-card { padding: 28px 20px; border-radius: var(--radius); }
  .auth-card h2 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section-title { font-size: 11px; margin: 20px 0 12px; }

  /* BASKET */
  .basket-wrap { padding: calc(var(--nav-h) + 16px) 4% 48px; }
  .basket-wrap h1 { font-size: 26px; margin-bottom: 16px; }
  .basket-layout { grid-template-columns: 1fr; gap: 16px; }
  .basket-item { padding: 14px; gap: 12px; }
  .basket-item-thumb { width: 56px; height: 56px; font-size: 24px; }
  .basket-item-code { font-size: 16px; }
  .basket-item-detail { font-size: 11px; }
  .order-summary { position: static; padding: 20px; }

  /* CHECKOUT */
  .checkout-wrap { padding: calc(var(--nav-h) + 16px) 4% 48px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-form-card { padding: 24px 16px; }
  .checkout-summary { position: static; padding: 20px; }

  /* ACCOUNT */
  .account-wrap { padding: calc(var(--nav-h) + 16px) 4% 48px; }
  .account-layout { grid-template-columns: 1fr; gap: 16px; }
  .account-content { padding: 20px 16px; }
  .account-content h2 { font-size: 20px; margin-bottom: 16px; }
  .order-table { font-size: 12px; }
  .order-table th, .order-table td { padding: 10px 8px; }

  /* ADMIN */
  .admin-wrap { padding: calc(var(--nav-h) + 16px) 4% 48px; }
  .admin-header h1 { font-size: 26px; }
  .admin-stats { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-card-num { font-size: 26px; }
  .admin-tabs { overflow-x: auto; white-space: nowrap; gap: 0; }
  .admin-tab { padding: 10px 16px; font-size: 13px; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table th, .admin-table td { padding: 10px 12px; font-size: 12px; white-space: nowrap; }
  .action-btns { flex-direction: column; gap: 6px; }
  .action-btns .btn { font-size: 11px; padding: 5px 10px; }

  /* PENDING */
  .pending-card { padding: 40px 24px; }
  .pending-icon { font-size: 48px; }
  .pending-card h2 { font-size: 22px; }

  /* FOOTER */
  .site-footer { padding: 48px 5% 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 16px 0; }
}

/* ══════════════════════════════════════
   SMALL MOBILE  ≤ 380px
══════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .product-preview-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 24px 16px; }
  .nav-logo { font-size: 16px; }
}

/* ══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  cursor: pointer; text-decoration: none;
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
  animation: none;
}
.wa-float svg { width: 30px; height: 30px; fill: white; }
.wa-tooltip {
  position: absolute; right: 70px; top: 50%;
  transform: translateY(-50%);
  background: #111; color: white; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.wa-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #111;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 6px 36px rgba(37,211,102,.75), 0 0 0 10px rgba(37,211,102,.1); }
}

/* ══════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════ */
.faq-section { background: var(--s900); }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); margin-bottom: 10px;
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.88);
  transition: color .2s; gap: 16px; user-select: none;
}
.faq-q:hover { color: var(--white); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .2s;
  font-size: 18px; font-weight: 700; color: var(--s900); line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 24px;
  font-size: 14px; color: rgba(255,255,255,.58); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-title-block { text-align: left; }
.faq-pre { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.faq-main-title { font-family: var(--font-head); font-size: clamp(36px,5vw,64px); font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 48px; }
.faq-main-title span { color: var(--accent); }

/* ══════════════════════════════════════
   MOBILE THEME PICKER IN DRAWER
══════════════════════════════════════ */
.mobile-theme-section { padding: 16px 14px 8px; }
.mobile-theme-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.mobile-theme-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.mobile-theme-swatch {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.08);
  cursor: pointer; background: rgba(255,255,255,.03);
  transition: all .2s;
}
.mobile-theme-swatch:hover { background: rgba(255,255,255,.08); }
.mobile-theme-swatch.active { border-color: var(--accent); background: rgba(255,255,255,.1); }
.mobile-swatch-dots { display: flex; gap: 3px; }
.mobile-swatch-dot { width: 9px; height: 9px; border-radius: 50%; }
.mobile-swatch-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════
   POLICY / CONTACT PAGES
══════════════════════════════════════ */
.policy-wrap { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) 5% 80px; }
.policy-wrap h1 { font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight: 800; color: var(--s800); margin-bottom: 8px; }
.policy-meta { font-size: 13px; color: var(--g500); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid var(--s100); }
.policy-wrap h2 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--s800); margin: 36px 0 12px; }
.policy-wrap p { font-size: 15px; color: var(--g700); line-height: 1.8; margin-bottom: 16px; }
.policy-wrap ul { padding-left: 24px; margin-bottom: 16px; }
.policy-wrap ul li { font-size: 15px; color: var(--g700); line-height: 1.8; margin-bottom: 6px; }
.policy-wrap a { color: var(--s500); }
.policy-wrap a:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: calc(var(--nav-h) + 48px) 5% 80px; max-width: 1100px; margin: 0 auto; }
.contact-info h1 { font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight: 800; color: var(--s800); margin-bottom: 14px; }
.contact-info p { font-size: 16px; color: var(--g500); line-height: 1.75; margin-bottom: 36px; }
.contact-method { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-method-icon { width: 48px; height: 48px; background: var(--s50); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; border: 1px solid var(--s100); }
.contact-method-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--s800); margin-bottom: 3px; }
.contact-method-text span, .contact-method-text a { font-size: 14px; color: var(--g500); }
.contact-form-card { padding: 36px; }
.contact-form-card h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--s800); margin-bottom: 24px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: calc(var(--nav-h) + 24px) 5% 60px; }
  .policy-wrap { padding: calc(var(--nav-h) + 28px) 5% 60px; }
  .mobile-theme-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   ABOUT US PAGE
══════════════════════════════════════ */

/* Hero intro section */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: calc(var(--nav-h) + 60px) 6% 80px;
  max-width: 1300px; margin: 0 auto;
}
.about-intro-img-wrap { position: relative; }
.about-intro-main-img {
  width: 100%; border-radius: 20px;
  object-fit: cover; height: 480px;
  box-shadow: var(--shadow-lg);
}
.about-quality-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--white); border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--g200);
  animation: fadeUp .8s .4s ease both; opacity: 0;
}
.about-quality-badge.visible { opacity: 1; }
.quality-badge-icon { font-size: 28px; margin-bottom: 6px; }
.quality-badge-num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--s700); line-height: 1; }
.quality-badge-num sup { font-size: 16px; vertical-align: super; }
.quality-badge-label { font-size: 13px; color: var(--g500); margin-top: 4px; font-weight: 500; }
.about-intro-text .section-tag { margin-bottom: 12px; }
.about-intro-text h1 { font-family: var(--font-head); font-size: clamp(32px,4vw,48px); font-weight: 800; color: var(--s800); line-height: 1.12; margin-bottom: 20px; }
.about-intro-text p { font-size: 16px; color: var(--g500); line-height: 1.8; margin-bottom: 32px; }
.about-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-bottom: 36px; }
.about-check-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--s800); }
.check-circle { width: 28px; height: 28px; border-radius: 50%; background: var(--s50); border: 2px solid var(--s300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--s500); font-size: 13px; font-weight: 800; }
.about-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Mission / Vision section */
.about-mission { padding: 80px 6%; background: var(--g50); }
.about-mission-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; max-width: 1300px; margin: 0 auto; }
.about-mission-left h2 { font-family: var(--font-head); font-size: clamp(28px,3.5vw,42px); font-weight: 800; color: var(--s800); line-height: 1.12; margin-bottom: 8px; }
.about-mission-left h2 span { color: var(--accent); }
.about-mission-left p { font-size: 15px; color: var(--g500); line-height: 1.8; margin-bottom: 28px; }
.mvg-accordion { }
.mvg-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--g200); margin-bottom: 10px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.mvg-item.open { border-color: var(--s300); box-shadow: var(--shadow); }
.mvg-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; gap: 12px; }
.mvg-q-text { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--s800); }
.mvg-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--s500); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; font-weight: 700; flex-shrink: 0; transition: transform .3s, background .2s; }
.mvg-item.open .mvg-btn { transform: rotate(45deg); background: var(--accent); color: var(--s900); }
.mvg-body { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; padding: 0 20px; }
.mvg-item.open .mvg-body { max-height: 300px; padding: 0 20px 18px; }
.mvg-body-inner { display: flex; gap: 16px; align-items: flex-start; }
.mvg-body-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mvg-body-text { font-size: 14px; color: var(--g500); line-height: 1.75; }

/* Image mosaic on the right */
.about-img-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; }
.mosaic-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic-img-tall { grid-row: 1 / 3; height: 100%; }
.mosaic-img-placeholder {
  background: linear-gradient(135deg, var(--s100), var(--s50));
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 48px; border: 2px dashed var(--s200);
}

/* Stats bar */
.about-stats-bar {
  background: var(--white);
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  padding: 48px 6%;
}
.about-stats-inner {
  display: flex; justify-content: space-around; align-items: center;
  max-width: 1000px; margin: 0 auto; flex-wrap: wrap; gap: 0;
}
.about-stat {
  text-align: center; padding: 16px 24px; flex: 1; min-width: 140px;
  position: relative;
}
.about-stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--g200);
}
.about-stat-num {
  font-family: var(--font-head); font-size: 44px; font-weight: 800;
  color: var(--s600); line-height: 1;
}
.about-stat-label {
  font-size: 13px; color: var(--g500); margin-top: 8px; font-weight: 500;
}

/* Team / values */
.about-values { padding: 80px 6%; background: var(--white); }
.about-values h2 { font-family: var(--font-head); font-size: clamp(26px,3vw,38px); font-weight: 800; color: var(--s800); text-align: center; margin-bottom: 12px; }
.about-values .sub { font-size: 16px; color: var(--g500); text-align: center; margin-bottom: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.value-card { text-align: center; padding: 36px 24px; border-radius: var(--radius); border: 1px solid var(--g200); transition: all .25s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--s200); }
.value-icon { width: 60px; height: 60px; background: var(--s50); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 18px; border: 1px solid var(--s100); }
.value-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--s800); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--g500); line-height: 1.6; }

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 36px; padding: calc(var(--nav-h) + 32px) 5% 60px; }
  .about-intro-main-img { height: 280px; }
  .about-quality-badge { bottom: -16px; left: 12px; }
  .about-checklist { grid-template-columns: 1fr; gap: 10px; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
  .mosaic-img-tall { grid-row: 1 / 3; }
  .about-stats-inner { gap: 0; flex-wrap: wrap; }
  .about-stat { min-width: 100px; padding: 12px 16px; }
  .about-stat:not(:last-child)::after { display: none; }
  .about-stat-num { font-size: 32px; }
  .about-mission { padding: 60px 5%; }
  .about-values { padding: 60px 5%; }
  /* Values grid: 2 columns on tablet */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .value-card { padding: 24px 16px; }
  /* Mission accordion body */
  .mvg-body-inner { flex-direction: column; }
  .mvg-body-img { width: 100%; height: 120px; }
}
@media (max-width: 500px) {
  .about-img-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic-img-tall { grid-row: auto; height: 200px; }
  .about-cta-row { flex-direction: column; }
  .about-cta-row .btn { width: 100%; justify-content: center; }
  /* Values grid: 1 column on small phones */
  .values-grid { grid-template-columns: 1fr; }
  /* Stats: 2×3 grid on small phone */
  .about-stat { min-width: 45%; flex: 1 1 45%; }
  .about-stat-num { font-size: 28px; }
  /* Checklist single col */
  .about-checklist { grid-template-columns: 1fr; }
  /* Intro image shorter on phone */
  .about-intro { padding: calc(var(--nav-h) + 20px) 4% 48px; }
}

/* ══════════════════════════════════════
   PRODUCT CARD REAL IMAGES
══════════════════════════════════════ */
.product-card-thumb-img {
  height: 200px;
  background: linear-gradient(135deg, var(--s100), var(--s50));
  overflow: hidden;
  position: relative;
}
.product-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  display: block;
}
.product-card:hover .product-thumb-img {
  transform: scale(1.07);
}

/* ══════════════════════════════════════
   PRODUCT DETAIL REAL IMAGES
══════════════════════════════════════ */
.detail-img-wrap {
  animation: fadeUp .6s ease both;
  display: flex; flex-direction: column; gap: 16px;
}
.detail-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--s100) 0%, var(--s50) 100%);
  height: 480px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--g200);
  position: relative;
  cursor: zoom-in;
}
.detail-img-main::after {
  content: '🔍';
  position: absolute; bottom: 14px; right: 16px;
  font-size: 16px; opacity: .4;
  transition: opacity .2s;
}
.detail-img-main:hover::after { opacity: .8; }
.detail-product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.detail-img-main:hover .detail-product-img {
  transform: scale(1.06);
}

/* Thumbnail switcher */
.detail-img-thumbs {
  display: flex; flex-direction: column; gap: 8px;
}
.detail-thumbs-label {
  font-size: 13px; font-weight: 700; color: var(--g700);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.detail-thumbs-row {
  display: flex; gap: 12px;
}
.detail-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 2px solid var(--g200); border-radius: 10px;
  padding: 8px 10px; cursor: pointer; transition: all .2s;
  text-decoration: none; flex: 1;
  background: white;
}
.detail-thumb img {
  width: 100%; height: 72px; object-fit: cover;
  border-radius: 6px;
}
.detail-thumb span {
  font-size: 12px; font-weight: 600; color: var(--g700);
  text-align: center; line-height: 1.5;
}
.detail-thumb span small {
  display: block; font-size: 11px; font-weight: 500; color: var(--g500);
}
.detail-thumb:hover { border-color: var(--s300); }
.detail-thumb.active { border-color: var(--s500); background: var(--s50); }
.detail-thumb.active span { color: var(--s700); }
.detail-thumb.active span small { color: var(--s500); font-weight: 700; }

/* Lightbox overlay */
.img-lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center;
  cursor: zoom-out;
  animation: fadeIn .2s ease;
}
.img-lightbox.open { display: flex; }
.img-lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: white; font-size: 32px; cursor: pointer; opacity: .7;
  background: none; border: none; line-height: 1;
}
.lightbox-close:hover { opacity: 1; }

@media (max-width: 768px) {
  .detail-img-main { height: 280px; }
  .detail-thumb img { height: 52px; }
  .product-card-thumb-img { height: 160px; }
}

/* Landing product preview with image */
.pp-img-wrap {
  width: 100%; height: 110px;
  overflow: hidden; border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(255,255,255,.06);
}
.pp-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-preview-card:hover .pp-img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .pp-img-wrap { height: 80px; }
}

/* ══════════════════════════════════════
   MOBILE FILTER BAR
══════════════════════════════════════ */

/* Hidden on desktop, shown on mobile */
.mobile-filter-bar {
  display: none;
}

@media (max-width: 1024px) {
  /* Hide desktop sidebar on tablet/mobile */
  .filter-sidebar { display: none; }
  /* Make grid full width */
  .products-layout { grid-template-columns: 1fr; }

  /* Show mobile filter bar */
  .mobile-filter-bar {
    display: block;
    background: var(--white);
    border-bottom: 1px solid var(--g200);
    position: sticky;
    top: var(--nav-h);
    z-index: 500;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
  }

  .mobile-filter-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-filter-scroll::-webkit-scrollbar { display: none; }

  /* Each filter pill button */
  .mf-dropdown { position: relative; flex-shrink: 0; }

  .mf-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 20px;
    border: 1.5px solid var(--g200);
    background: var(--white); color: var(--g700);
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap;
    transition: all .2s ease;
  }
  .mf-btn:hover { border-color: var(--s300); color: var(--s600); background: var(--s50); }
  .mf-btn.mf-btn-active { background: var(--s600); color: white; border-color: var(--s600); }
  .mf-btn.mf-btn-active .mf-chevron { stroke: white; }

  .mf-chevron {
    width: 10px; height: 7px;
    stroke: var(--g500);
    transition: transform .25s ease;
    flex-shrink: 0;
  }
  .mf-btn.open .mf-chevron { transform: rotate(180deg); }

  /* Dropdown panel — fixed so it always appears on top of everything */
  .mf-panel {
    display: none;
    position: fixed;
    top: auto; left: auto;
    background: var(--white);
    border: 1px solid var(--g200); border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    min-width: 200px; z-index: 9999;
    overflow: hidden;
  }
  .mf-panel.open { display: block; animation: mfSlideDown .18s ease; }

  @keyframes mfSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .mf-panel-title {
    padding: 12px 16px 8px;
    font-size: 11px; font-weight: 700;
    color: var(--g500); text-transform: uppercase; letter-spacing: 1.2px;
    border-bottom: 1px solid var(--g100);
  }

  .mf-option {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px;
    font-size: 14px; font-weight: 500; color: var(--g700);
    text-decoration: none; cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid var(--g100);
  }
  .mf-option:last-child { border: none; }
  .mf-option:hover { background: var(--s50); color: var(--s700); }
  .mf-option.selected { color: var(--s700); font-weight: 600; }

  /* Checkmark dot */
  .mf-dot {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid var(--g200); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; font-weight: 900; color: transparent;
    transition: all .15s;
  }
  .mf-option.selected .mf-dot {
    background: var(--s500); border-color: var(--s500); color: white;
    content: '✓';
  }
  .mf-option.selected .mf-dot::after { content: '✓'; }

  /* Clear filter button */
  .mf-clear-btn {
    display: inline-flex; align-items: center;
    padding: 8px 14px; border-radius: 20px;
    background: #fee2e2; color: var(--danger);
    font-size: 13px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    border: 1.5px solid #fecaca;
    flex-shrink: 0; transition: all .2s;
  }
  .mf-clear-btn:hover { background: #fecaca; }

  /* Overlay behind open dropdown — must be below panel but above page content */
  .mf-overlay {
    display: none; position: fixed;
    inset: 0; z-index: 8000;
    background: transparent;
  }
  .mf-overlay.active { display: block; }

  /* Products layout on mobile — remove sidebar gap */
  .products-layout {
    padding: 20px 4% 60px;
    gap: 0;
  }
  /* Ensure products grid never creates a stacking context above panel */
  .products-grid, .products-layout, .product-card {
    isolation: auto;
    transform: none;
  }
}
