/* =========================================================
   WEVICE.LK — Design System
   Palette: deep navy + electric cobalt, warm gold used sparingly
   Type: Fraunces (display) / Plus Jakarta Sans (UI) / Space Mono (price & data)
   ========================================================= */

:root{
  /* --- Color --- */
  --primary: #0B1A33;
  --primary-light: #142A4D;
  --primary-softer: #1D3968;
  --accent: #2F5EF5;
  --accent-dark: #1E44D1;
  --accent-soft: #E8EDFE;
  --gold: #C9A227;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --text: #0B1A33;
  --muted: #66708A;
  --muted-light: #9AA2B8;
  --border: #E4E7F0;
  --border-strong: #D3D8E6;
  --danger: #E0473F;
  --success: #1E9E6B;

  /* --- Type --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* --- Radius --- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* --- Shadow --- */
  --shadow-sm: 0 1px 2px rgba(11,26,51,0.06), 0 1px 1px rgba(11,26,51,0.04);
  --shadow-md: 0 8px 24px rgba(11,26,51,0.08);
  --shadow-lg: 0 20px 48px rgba(11,26,51,0.14);
  --shadow-navy: 0 16px 40px rgba(11,26,51,0.28);

  /* --- Motion --- */
  --ease: cubic-bezier(.22,.9,.32,1);
  --dur-fast: .18s;
  --dur-med: .35s;
  --dur-slow: .6s;

  /* --- Layout --- */
  --container: 1320px;
  --header-h: 96px;
  --announce-h: 38px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 20px); }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }
button, input, select{ font-family: inherit; font-size: inherit; color: inherit; }
button{ cursor:pointer; background:none; border:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0; }

.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:12px; top:-60px; background:var(--accent); color:#fff;
  padding:10px 18px; border-radius:var(--r-sm); z-index:999; transition:top var(--dur-fast);
}
.skip-link:focus{ top:12px; }

:focus-visible{ outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

.desktop-only{ display:none; }
.mobile-only{ display:inline-flex; }
@media (min-width: 1025px){
  .desktop-only{ display:flex; }
  .mobile-only{ display:none; }
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: var(--r-pill); font-weight:600; font-size:.95rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space:nowrap;
}
.btn-primary{ background: var(--accent); color:#fff; box-shadow: 0 10px 24px rgba(47,94,245,0.32); }
.btn-primary:hover{ background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,94,245,0.4); }
.btn-ghost{ background: transparent; color: var(--primary); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover{ border-color: var(--primary); background: rgba(11,26,51,0.03); transform: translateY(-2px); }
.btn-light{ background: #fff; color: var(--primary); }
.btn-light:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block{ width:100%; }

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.announce-bar{
  height: var(--announce-h);
  background: var(--primary);
  color: rgba(255,255,255,0.88);
  display:flex; align-items:center; justify-content:center; gap: 40px;
  font-size: .8rem; font-weight:500; position: relative; overflow:hidden;
  animation: fadeIn var(--dur-slow) var(--ease) both;
}
.announce-track{ display:flex; align-items:center; gap:40px; }
.announce-item{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.announce-item .icon{ width:15px; height:15px; opacity:.85; flex-shrink:0; }
.announce-track-link{
  position:absolute; right:24px; font-size:.78rem; color:rgba(255,255,255,.7);
  border-left:1px solid rgba(255,255,255,.2); padding-left:16px; display:none;
}
@media (min-width:1025px){ .announce-track-link{ display:block; } }

@media (max-width: 1024px){
  .announce-bar{ justify-content:flex-start; }
  .announce-track{
    animation: ticker 16s linear infinite;
    padding-left: 100%;
  }
}
@keyframes ticker{
  from{ transform: translateX(0); }
  to{ transform: translateX(-100%); }
}
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  animation: slideDown var(--dur-slow) var(--ease) both;
  animation-delay: .05s;
}
@keyframes slideDown{
  from{ transform: translateY(-16px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}
.header-inner{
  max-width: var(--container); margin:0 auto;
  display:flex; align-items:center; gap:24px;
  padding: 16px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand-mark{ color: var(--accent); display:flex; }
.brand-copy{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-family: var(--font-display); font-weight:700; font-size:1.5rem; letter-spacing:.02em; color: var(--primary); }
.brand-tag{ font-size:.68rem; letter-spacing:.09em; text-transform:uppercase; color: var(--muted); font-weight:600; }

.icon-btn{ width:40px; height:40px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-sm); color: var(--primary); flex-shrink:0; }
.icon-btn:hover{ background: var(--bg); }
.icon-btn svg{ width:22px; height:22px; }
.menu-toggle .burger, .menu-toggle .burger::before, .menu-toggle .burger::after{
  content:''; display:block; width:20px; height:2px; background: var(--primary); border-radius:2px; position:relative; transition: all var(--dur-fast);
}
.menu-toggle .burger::before{ position:absolute; top:-6px; }
.menu-toggle .burger::after{ position:absolute; top:6px; }

.header-search{ flex:1; display:flex; align-items:stretch; max-width:640px; margin:0 auto; }
.search-scope{
  border:1.5px solid var(--border-strong); border-right:none; border-radius: var(--r-pill) 0 0 var(--r-pill);
  padding: 0 16px; background: var(--bg); color: var(--muted); font-size:.85rem; font-weight:500; max-width:150px;
}
.search-field-wrap{ position:relative; flex:1; display:flex; align-items:center; border:1.5px solid var(--border-strong); border-left:none; border-right:none; }
.search-icon{ width:18px; height:18px; margin-left:16px; color: var(--muted); flex-shrink:0; }
.header-search input{
  border:none; outline:none; padding: 12px 12px; width:100%; background:transparent; font-size:.92rem;
}
.search-submit{
  background: var(--primary); color:#fff; width:48px; border-radius: 0 var(--r-pill) var(--r-pill) 0;
  display:flex; align-items:center; justify-content:center; transition: background var(--dur-fast);
}
.search-submit:hover{ background: var(--accent); }
.search-submit svg{ width:18px; height:18px; }

.header-search:focus-within .search-scope,
.header-search:focus-within .search-field-wrap{
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.header-search:focus-within .search-scope{ box-shadow:none; }

.search-suggest{
  position:absolute; top: calc(100% + 10px); left:0; right:0; background:#fff;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); border:1px solid var(--border);
  padding: 10px; z-index:40; animation: dropIn var(--dur-fast) var(--ease) both;
}
@keyframes dropIn{ from{ opacity:0; transform: translateY(-6px); } to{ opacity:1; transform: translateY(0); } }
.search-suggest-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color: var(--muted-light); padding: 6px 10px; font-weight:700; }
.search-suggest-item{
  display:flex; align-items:center; gap:10px; padding: 10px 10px; border-radius: var(--r-sm); font-size:.9rem; cursor:pointer;
  transition: background var(--dur-fast);
}
.search-suggest-item:hover, .search-suggest-item:focus-visible{ background: var(--bg); }
.search-suggest-item svg{ width:16px; height:16px; color: var(--muted); flex-shrink:0; }

.header-actions{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.header-action-btn{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:2px;
  padding: 6px 12px; border-radius: var(--r-sm); color: var(--primary);
}
.header-action-btn:hover{ background: var(--bg); }
.header-action-btn svg{ width:22px; height:22px; }
.action-label{ font-size:.7rem; font-weight:600; color: var(--muted); }
.badge{
  position:absolute; top:0; right:4px; background: var(--accent); color:#fff; font-size:.65rem; font-weight:700;
  min-width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  padding: 0 2px; box-shadow: 0 0 0 2px #fff;
}
.badge.bump{ animation: bump .4s var(--ease); }
@keyframes bump{ 0%{ transform: scale(1); } 40%{ transform: scale(1.5); } 100%{ transform: scale(1); } }

.mobile-search-panel{ padding: 0 16px 14px; }
.mobile-search-panel .search-field-wrap{ border:1.5px solid var(--border-strong); border-radius: var(--r-pill); }
.mobile-search-panel input{ border:none; outline:none; padding:11px 12px; width:100%; background:transparent; }

/* Secondary nav */
.site-nav{
  max-width: var(--container); margin:0 auto; padding: 0 24px 14px;
  align-items:center; gap:28px;
}
.all-categories-btn{
  display:flex; align-items:center; gap:8px; background: var(--primary); color:#fff;
  padding: 11px 18px; border-radius: var(--r-sm); font-weight:600; font-size:.88rem; flex-shrink:0;
  transition: background var(--dur-fast);
}
.all-categories-btn:hover{ background: var(--accent); }
.all-categories-btn svg{ width:16px; height:16px; }
.nav-links{ display:flex; align-items:center; gap:26px; flex:1; }
.nav-links a{
  font-size:.9rem; font-weight:600; color: var(--text); position:relative; padding: 4px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-3px; width:0; height:2px; background: var(--accent);
  transition: width var(--dur-med) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--accent); }
.hot-deals-btn{
  display:flex; align-items:center; gap:7px; background: linear-gradient(135deg, #FF5C4D, #E0473F);
  color:#fff; padding: 10px 18px; border-radius: var(--r-pill); font-weight:700; font-size:.85rem;
  box-shadow: 0 8px 20px rgba(224,71,63,.32); flex-shrink:0; transition: transform var(--dur-fast);
}
.hot-deals-btn:hover{ transform: translateY(-2px) scale(1.02); }
.hot-deals-btn svg{ width:16px; height:16px; }

/* =========================================================
   DRAWER OVERLAY (shared)
   ========================================================= */
.drawer-overlay{
  position:fixed; inset:0; background: rgba(11,26,51,0.5); z-index:80;
  animation: fadeIn var(--dur-med) var(--ease) both; backdrop-filter: blur(2px);
}

/* Mobile nav drawer */
.mobile-drawer{
  position:fixed; top:0; left:0; bottom:0; width: 82%; max-width:340px; background:#fff; z-index:90;
  transform: translateX(-100%); transition: transform var(--dur-med) var(--ease);
  overflow-y:auto; box-shadow: var(--shadow-lg);
}
.mobile-drawer.is-open{ transform: translateX(0); }
.mobile-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding: 18px 20px; border-bottom:1px solid var(--border); }
.mobile-drawer-head .brand-name{ font-size:1.3rem; }
.mobile-nav-links{ padding: 10px 8px; }
.mobile-nav-links a{ display:block; padding: 13px 14px; font-weight:600; border-radius: var(--r-sm); }
.mobile-nav-links a:hover{ background: var(--bg); }
.mobile-drawer-cats{ padding: 10px 20px 30px; border-top:1px solid var(--border); margin-top:10px; }
.mobile-drawer-cats h3{ font-family: var(--font-body); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color: var(--muted-light); margin: 16px 0 8px; }
.mobile-drawer-cats li a{ display:flex; align-items:center; gap:10px; padding: 11px 4px; font-size:.92rem; font-weight:500; }
.mobile-drawer-cats li a svg{ width:18px; height:18px; color: var(--accent); }

/* =========================================================
   LAYOUT
   ========================================================= */
.layout-wrap{
  max-width: var(--container); margin: 0 auto; padding: 28px 24px 0;
  display:flex; gap: 24px; align-items:flex-start;
}
.content-column{ flex:1; min-width:0; display:flex; flex-direction:column; gap: 64px; }

/* Category sidebar */
.category-sidebar{
  width: 264px; flex-shrink:0; background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border); padding: 10px; box-shadow: var(--shadow-sm);
  position:sticky; top: calc(var(--header-h) + var(--announce-h) + 12px);
}
.category-sidebar li a{
  display:flex; align-items:center; gap:12px; padding: 12px 12px; border-radius: var(--r-sm);
  font-size:.89rem; font-weight:500; transition: background var(--dur-fast), color var(--dur-fast), padding-left var(--dur-fast);
}
.category-sidebar li a svg{ width:19px; height:19px; color: var(--accent); flex-shrink:0; }
.category-sidebar li a .count{ margin-left:auto; font-family: var(--font-mono); font-size:.72rem; color: var(--muted-light); }
.category-sidebar li a .arrow{ margin-left:auto; color: var(--muted-light); font-size:.8rem; transition: transform var(--dur-fast); }
.category-sidebar li a:hover{ background: var(--accent-soft); color: var(--accent-dark); padding-left:16px; }
.category-sidebar li a:hover .arrow{ transform: translateX(3px); }
.category-sidebar li a.is-active{ background: var(--primary); color:#fff; }
.category-sidebar li a.is-active svg{ color:#fff; }

.mobile-cat-launcher{
  display:flex; align-items:center; gap:10px; width:100%; padding: 13px 16px; background:#fff;
  border:1px solid var(--border-strong); border-radius: var(--r-md); font-weight:600; font-size:.9rem;
}
.mobile-cat-launcher svg{ width:18px; height:18px; color: var(--accent); }

/* =========================================================
   HERO
   ========================================================= */
.hero{ display:flex; flex-direction:column; gap:20px; }
.hero-carousel{
  position:relative; border-radius: var(--r-lg); overflow:hidden; min-height: 540px; box-shadow: var(--shadow-navy);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(47,94,245,.38), transparent 62%),
    radial-gradient(45% 60% at 0% 100%, rgba(201,162,39,.16), transparent 62%),
    linear-gradient(135deg, #0A1830 0%, #0F2550 100%);
}
.hero-slide{
  display:none; grid-template-columns: 1.05fr .95fr; align-items:center; gap: 32px;
  padding: 64px 72px 104px; min-height:540px; position:relative;
}
.hero-slide.is-active{ display:grid; animation: heroIn .7s var(--ease) both; }
.hero-slide[data-accent="2"]{ background: radial-gradient(50% 70% at 85% 15%, rgba(201,162,39,.22), transparent 60%); }
.hero-slide[data-accent="3"]{ background: radial-gradient(50% 70% at 85% 15%, rgba(30,158,107,.22), transparent 60%); }
@keyframes heroIn{ from{ opacity:0; } to{ opacity:1; } }

.hero-eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size:.82rem; font-weight:600; letter-spacing:.01em;
  color: #F1E3A6; margin-bottom:22px; padding: 7px 16px 7px 12px;
  background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius: var(--r-pill);
}
.hero-eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background: var(--gold); box-shadow:0 0 0 4px rgba(201,162,39,.2); }
.hero-title{ color:#fff; font-size: clamp(2.5rem, 4.5vw, 4.2rem); line-height:1.02; letter-spacing:-.025em; margin-bottom:20px; max-width:12ch; }
.hero-desc{ color: rgba(255,255,255,.76); font-size:1.08rem; line-height:1.65; max-width:44ch; margin-bottom:34px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-cta .btn{ padding: 16px 32px; font-size:1rem; }
.hero-cta .btn-ghost{
  color:#fff; border:1.5px solid rgba(255,255,255,.38); background: rgba(255,255,255,.07); backdrop-filter: blur(6px);
}
.hero-cta .btn-ghost:hover{ color:#fff; border-color:#fff; background: rgba(255,255,255,.16); }

.hero-slide.is-active .hero-copy > :nth-child(1){ transition-delay:.08s; }
.hero-slide.is-active .hero-copy > :nth-child(2){ transition-delay:.18s; }
.hero-slide.is-active .hero-copy > :nth-child(3){ transition-delay:.28s; }
.hero-slide.is-active .hero-copy > :nth-child(4){ transition-delay:.38s; }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; height:100%; min-height:380px; }
.hero-blob{
  position:absolute; width:440px; height:440px; border-radius:50%;
  background: radial-gradient(circle, rgba(47,94,245,.55), rgba(47,94,245,0) 68%); filter: blur(14px);
}
.hero-ring{
  position:absolute; width:290px; height:380px; border-radius:30px; border:1px solid rgba(255,255,255,.24);
  transform: translate(26px, 4px) rotate(5deg);
}
.hero-ring::before, .hero-ring::after{ content:none; }
.hero-product{
  position:relative; z-index:2; width:290px; max-width:78%; height:380px; object-fit:cover;
  border-radius: 30px; box-shadow: 0 34px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12);
}
.hero-slide.is-active .hero-product{ animation: heroImg .9s var(--ease) both, float 7s ease-in-out .9s infinite; }
@keyframes heroImg{ from{ opacity:0; transform: translateY(26px) scale(.97); } to{ opacity:1; transform:none; } }
@keyframes float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }

.hero-tag{
  position:absolute; bottom:30px; left:max(0px, calc(50% - 230px)); min-width:190px; z-index:3;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  padding: 13px 20px 13px 18px; border-radius: 18px; border-left:4px solid var(--accent);
  display:flex; flex-direction:column; gap:2px; box-shadow: var(--shadow-lg);
}
.hero-tag-label{ font-size:.7rem; font-weight:600; color: var(--muted); }
.hero-tag-name{ font-weight:700; font-size:.92rem; color: var(--primary); }
.hero-tag-price{ font-weight:800; color: var(--accent); font-size:1.1rem; font-variant-numeric: tabular-nums; }

/* Controls: progress dots bottom-left, arrows bottom-right */
.hero-dots{ position:absolute; bottom:32px; left:72px; display:flex; gap:10px; z-index:5; }
.hero-dots button{ position:relative; width:52px; height:20px; background:none; border:0; padding:0; cursor:pointer; }
.hero-dots button::before, .hero-dots button::after{
  content:''; position:absolute; left:0; top:8px; height:4px; border-radius:2px;
}
.hero-dots button::before{ right:0; background: rgba(255,255,255,.22); }
.hero-dots button::after{ width:0; background:#fff; }
.hero-dots button.is-active::after{ animation: heroFill 6s linear forwards; }
.hero-carousel:hover .hero-dots button.is-active::after{ animation:none; width:100%; }
@keyframes heroFill{ from{ width:0; } to{ width:100%; } }

.hero-arrow{
  position:absolute; top:auto; bottom:24px; transform:none; width:46px; height:46px; border-radius:50%;
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; line-height:1; z-index:5;
  backdrop-filter: blur(6px); transition: background var(--dur-fast), border-color var(--dur-fast);
}
.hero-arrow:hover{ background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.5); }
.hero-arrow-prev{ left:auto; right:130px; }
.hero-arrow-next{ left:auto; right:72px; }

.hero-stats{ display:flex; gap: 20px; flex-wrap:wrap; }
.hero-stat{
  flex:1; min-width:160px; background:#fff; border:1px solid var(--border); border-radius: var(--r-md);
  padding: 20px 22px; display:flex; align-items:baseline; gap:2px; flex-wrap:wrap; box-shadow: var(--shadow-sm);
}
.stat-num{ font-family: var(--font-display); font-weight:700; font-size:1.9rem; color: var(--primary); }
.stat-suffix{ font-family: var(--font-display); font-weight:700; font-size:1.9rem; color: var(--accent); }
.stat-label{ width:100%; font-size:.8rem; color: var(--muted); margin-top:2px; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal-up{ opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-up.in-view{ opacity:1; transform: translateY(0); }
.hero-slide.is-active .reveal-up{ opacity:1; transform:translateY(0); transition-delay: .1s; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px;
  display:flex; flex-direction:column; gap:10px; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.benefit-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-icon{
  width:46px; height:46px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent);
  display:flex; align-items:center; justify-content:center;
}
.benefit-icon svg{ width:22px; height:22px; }
.benefit-card h3{ font-size:1.05rem; }
.benefit-card p{ color: var(--muted); font-size:.88rem; }

/* =========================================================
   SECTION HEAD / EYEBROW
   ========================================================= */
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:28px; }
.section-eyebrow{
  display:inline-block; font-family: var(--font-mono); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase;
  color: var(--accent); margin-bottom:10px; font-weight:700;
}
.section-eyebrow--light{ color: #8FB0FF; }
.section-head h2{ font-size: clamp(1.5rem, 2.4vw, 2.1rem); max-width:34ch; line-height:1.2; }
.light-heading{ color:#fff; }
.view-all-link{ font-weight:700; font-size:.9rem; color: var(--accent); flex-shrink:0; }
.view-all-link:hover{ text-decoration: underline; }

/* =========================================================
   TABS + TOOLBAR
   ========================================================= */
.tabs{ display:flex; gap:6px; background: #fff; border:1px solid var(--border); border-radius: var(--r-pill); padding:5px; flex-wrap:wrap; }
.tab{ padding: 9px 18px; border-radius: var(--r-pill); font-weight:600; font-size:.85rem; color: var(--muted); transition: background var(--dur-fast), color var(--dur-fast); }
.tab:hover{ color: var(--text); }
.tab.is-active{ background: var(--primary); color:#fff; }

.toolbar{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom: 26px; padding: 16px 20px;
  background:#fff; border:1px solid var(--border); border-radius: var(--r-md);
}
.toolbar-group{ display:flex; align-items:center; gap:8px; }
.toolbar-group label{ font-size:.78rem; font-weight:700; color: var(--muted); }
.toolbar-group select{
  border:1.5px solid var(--border-strong); border-radius: var(--r-sm); padding: 8px 10px; font-size:.85rem; background:#fff;
}
.toolbar-clear{ margin-left:auto; font-size:.82rem; font-weight:700; color: var(--accent); }
.toolbar-clear:hover{ text-decoration:underline; }
.active-filter-note{ margin: -14px 0 20px; font-size:.85rem; color: var(--muted); }
.empty-state{ text-align:center; padding: 60px 20px; color: var(--muted); font-size:1rem; }

/* =========================================================
   PRODUCT GRID + CARD
   ========================================================= */
.product-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--r-lg); overflow:hidden;
  display:flex; flex-direction:column; transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  opacity:0; transform: translateY(18px); animation: cardIn .6s var(--ease) forwards;
}
@keyframes cardIn{ to{ opacity:1; transform: translateY(0); } }
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-media{ position:relative; aspect-ratio: 1/1; overflow:hidden; background: var(--bg); }
.product-media img{ width:100%; height:100%; object-fit:cover; transition: transform var(--dur-slow) var(--ease); }
.product-card:hover .product-media img{ transform: scale(1.08); }

.product-badge{
  position:absolute; top:12px; left:12px; background: var(--primary); color:#fff; font-size:.68rem; font-weight:700;
  padding: 5px 10px; border-radius: var(--r-pill); letter-spacing:.03em; text-transform:uppercase; z-index:2;
}
.product-badge.badge-sale{ background: var(--danger); }
.product-badge.badge-new{ background: var(--accent); }

.wishlist-toggle{
  position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center; z-index:2; transition: transform var(--dur-fast);
  box-shadow: var(--shadow-sm);
}
.wishlist-toggle:hover{ transform: scale(1.1); }
.wishlist-toggle svg{ width:17px; height:17px; color: var(--primary); transition: color var(--dur-fast); }
.wishlist-toggle.is-active svg{ color: var(--danger); fill: var(--danger); }
.wishlist-toggle.pulse{ animation: heartPulse .4s var(--ease); }
@keyframes heartPulse{ 0%{transform:scale(1);} 40%{transform:scale(1.35);} 100%{transform:scale(1);} }

.quick-actions{
  position:absolute; left:0; right:0; bottom:-46px; display:flex; justify-content:center; gap:8px; padding:10px;
  transition: bottom var(--dur-med) var(--ease); z-index:2;
}
.product-card:hover .quick-actions{ bottom:0; }
.quick-actions button{
  background:#fff; color: var(--primary); width:38px; height:38px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; box-shadow: var(--shadow-md); transition: background var(--dur-fast), color var(--dur-fast);
}
.quick-actions button:hover{ background: var(--primary); color:#fff; }
.quick-actions svg{ width:16px; height:16px; }

.product-body{ padding: 16px 18px 18px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-category{ font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color: var(--muted-light); font-weight:700; }
.product-name{ font-family: var(--font-body); font-weight:700; font-size:.96rem; line-height:1.3; color: var(--text); }
.product-rating{ display:flex; align-items:center; gap:6px; font-size:.8rem; color: var(--muted); }
.product-rating .stars{ color: var(--gold); letter-spacing:1px; font-size:.78rem; }
.product-price-row{ display:flex; align-items:center; gap:8px; margin-top:4px; margin-bottom:12px; flex-wrap:wrap; }
.price-current{ font-family: var(--font-mono); font-weight:700; font-size:1.05rem; color: var(--primary); }
.price-old{ font-family: var(--font-mono); font-size:.82rem; color: var(--muted-light); text-decoration: line-through; }
.price-discount{ font-size:.72rem; font-weight:700; color: var(--success); background: rgba(30,158,107,.1); padding: 2px 7px; border-radius: var(--r-pill); }

.add-to-cart-btn{
  margin-top:auto; display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  padding: 11px; border-radius: var(--r-sm); background: var(--primary); color:#fff; font-weight:700; font-size:.85rem;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.add-to-cart-btn:hover{ background: var(--accent); }
.add-to-cart-btn:active{ transform: scale(.97); }
.add-to-cart-btn svg{ width:15px; height:15px; }
.add-to-cart-btn.in-cart{ background: var(--success); }

/* =========================================================
   PROMO GRID
   ========================================================= */
.promo-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.promo-card{
  position:relative; border-radius: var(--r-lg); overflow:hidden; min-height: 300px; display:flex; align-items:flex-end;
  box-shadow: var(--shadow-md);
}
.promo-card img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease);
}
.promo-card:hover img{ transform: scale(1.07) translateY(-4px); }
.promo-card::after{
  content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(11,26,51,.88) 0%, rgba(11,26,51,.25) 55%, rgba(11,26,51,0) 100%);
}
.promo-copy{ position:relative; z-index:2; padding: 30px; color:#fff; }
.promo-eyebrow{ font-family: var(--font-mono); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color: var(--gold); }
.promo-copy h3{ color:#fff; font-size:1.5rem; margin: 8px 0 6px; }
.promo-copy p{ color: rgba(255,255,255,.75); font-size:.88rem; margin-bottom:16px; }
.promo-card .btn-light{ padding: 10px 20px; font-size:.85rem; }

/* =========================================================
   FLASH SALE
   ========================================================= */
.flash-sale{
  background: var(--primary); border-radius: var(--r-lg); padding: 44px; position:relative; overflow:hidden;
}
.flash-sale::before{
  content:''; position:absolute; top:-120px; right:-120px; width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle, rgba(47,94,245,.35), transparent 70%);
}
.flash-sale .section-head{ position:relative; z-index:2; }
.countdown{ display:flex; gap:10px; }
.countdown-unit{
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius: var(--r-sm);
  padding: 10px 16px; text-align:center; min-width:66px;
}
.countdown-unit span{ display:block; font-family: var(--font-mono); font-weight:700; font-size:1.4rem; color:#fff; }
.countdown-unit small{ font-size:.65rem; text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,.55); }

.flash-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position:relative; z-index:2; }
.flash-card{
  background:#fff; border-radius: var(--r-md); overflow:hidden; display:flex; flex-direction:column;
  transition: transform var(--dur-fast) var(--ease); opacity:0; transform: translateY(18px); animation: cardIn .6s var(--ease) forwards;
}
.flash-card:hover{ transform: translateY(-5px); }
.flash-card .product-media{ aspect-ratio: 4/3; }
.flash-card-body{ padding: 14px 16px 16px; display:flex; flex-direction:column; gap:6px; }
.flash-card .product-name{ font-size:.88rem; }
.stock-bar-track{ height:6px; background: var(--border); border-radius: var(--r-pill); overflow:hidden; margin-top:6px; }
.stock-bar-fill{ height:100%; background: linear-gradient(90deg, var(--danger), #FF8A6E); border-radius: var(--r-pill); transition: width 1s var(--ease); }
.stock-label{ font-size:.72rem; color: var(--danger); font-weight:700; }

/* =========================================================
   SHOP BY CATEGORY
   ========================================================= */
.category-scroller{ display:grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.category-tile{ display:flex; flex-direction:column; align-items:center; gap:12px; text-align:center; }
.category-tile-img{
  width:92px; height:92px; border-radius:50%; overflow:hidden; border:2px solid var(--border);
  transition: border-color var(--dur-fast), transform var(--dur-fast); position:relative;
}
.category-tile-img img{ width:100%; height:100%; object-fit:cover; transition: transform var(--dur-med) var(--ease); }
.category-tile:hover .category-tile-img{ border-color: var(--accent); transform: translateY(-4px); }
.category-tile:hover .category-tile-img img{ transform: scale(1.12); }
.category-tile-name{ font-weight:700; font-size:.86rem; transition: color var(--dur-fast); }
.category-tile:hover .category-tile-name{ color: var(--accent); }
.category-tile-count{ font-family: var(--font-mono); font-size:.7rem; color: var(--muted-light); }

/* =========================================================
   TOP RATED
   ========================================================= */
.top-rated-grid{ display:grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.top-rated-card{
  background: linear-gradient(180deg, #fff, #FBFCFF); border:1px solid var(--border); border-radius: var(--r-md);
  padding: 16px; text-align:center; transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  opacity:0; transform: translateY(18px); animation: cardIn .6s var(--ease) forwards;
}
.top-rated-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.top-rated-card img{ width:100%; aspect-ratio:1/1; object-fit:cover; border-radius: var(--r-sm); margin-bottom:10px; }
.top-rated-card .stars{ color: var(--gold); font-size:.85rem; letter-spacing:1px; }
.top-rated-card .rating-num{ font-family: var(--font-mono); font-weight:700; font-size:.85rem; margin: 2px 0; }
.top-rated-card .product-name{ font-size:.82rem; }
.top-rated-card .review-count{ font-size:.72rem; color: var(--muted-light); }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter{
  background: linear-gradient(120deg, var(--primary), var(--primary-softer));
  border-radius: var(--r-lg); padding: 50px 44px; position:relative; overflow:hidden;
}
.newsletter::after{
  content:''; position:absolute; bottom:-100px; left:-60px; width:280px; height:280px; border-radius:50%;
  background: radial-gradient(circle, rgba(201,162,39,.16), transparent 70%);
}
.newsletter-inner{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; position:relative; z-index:2; }
.newsletter-icon{
  width:56px; height:56px; border-radius:50%; background: rgba(255,255,255,.1); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.newsletter-icon svg{ width:26px; height:26px; }
.newsletter-copy{ flex:1; min-width:240px; }
.newsletter-copy h2{ color:#fff; font-size:1.7rem; margin-bottom:6px; }
.newsletter-copy p{ color: rgba(255,255,255,.7); font-size:.92rem; }
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; position:relative; }
.newsletter-form input{
  padding: 14px 18px; border-radius: var(--r-pill); border:none; min-width:280px; font-size:.92rem; outline:none;
  box-shadow: inset 0 0 0 1.5px transparent;
}
.newsletter-form input:focus{ box-shadow: inset 0 0 0 2px var(--accent); }
.newsletter-form input.is-invalid{ box-shadow: inset 0 0 0 2px var(--danger); }
.form-error{ position:absolute; bottom:-24px; left:4px; color:#FFC9C4; font-size:.78rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--primary); color: rgba(255,255,255,.7); margin-top:70px; }
.footer-top{
  max-width: var(--container); margin:0 auto; padding: 60px 24px 40px;
  display:grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 30px;
}
.footer-brand{ display:flex; flex-direction:column; gap:12px; }
.footer-brand .brand-mark{ color: var(--accent); }
.footer-brand .brand-name{ color:#fff; font-size:1.3rem; }
.footer-brand p{ font-size:.85rem; line-height:1.6; max-width:32ch; }
.social-links{ display:flex; gap:10px; margin-top:6px; }
.social-links a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center;
  justify-content:center; transition: background var(--dur-fast), border-color var(--dur-fast);
}
.social-links a:hover{ background: var(--accent); border-color: var(--accent); }
.social-links svg{ width:15px; height:15px; }
.footer-col h3{ font-family: var(--font-body); color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom: 16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:.86rem; transition: color var(--dur-fast); }
.footer-col a:hover{ color:#fff; }
.footer-contact li{ font-size:.86rem; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding: 22px 24px; max-width: var(--container); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer-bottom p{ font-size:.8rem; }
.payment-icons{ display:flex; gap:10px; }
.payment-icons li{
  border:1px solid rgba(255,255,255,.2); border-radius:6px; padding: 4px 10px; font-size:.68rem; font-weight:700;
  font-family: var(--font-mono); letter-spacing:.03em;
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; width: 420px; max-width:100%; background:#fff; z-index:90;
  transform: translateX(100%); transition: transform var(--dur-med) var(--ease); display:flex; flex-direction:column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.is-open{ transform: translateX(0); }
.cart-drawer-head{ display:flex; align-items:center; justify-content:space-between; padding: 20px 22px; border-bottom:1px solid var(--border); }
.cart-drawer-head h2{ font-family: var(--font-body); font-size:1.05rem; font-weight:800; }
.cart-drawer-head h2 span{ font-weight:500; color: var(--muted); font-size:.85rem; }
.cart-drawer-body{ flex:1; overflow-y:auto; padding: 10px 22px; }
.cart-empty{ text-align:center; color: var(--muted); padding: 60px 10px; font-size:.92rem; }
.cart-items{ display:flex; flex-direction:column; gap:16px; padding: 10px 0; }
.cart-item{ display:flex; gap:14px; animation: cardIn .35s var(--ease) both; }
.cart-item img{ width:74px; height:74px; object-fit:cover; border-radius: var(--r-sm); background: var(--bg); flex-shrink:0; }
.cart-item-info{ flex:1; display:flex; flex-direction:column; gap:4px; }
.cart-item-name{ font-weight:700; font-size:.88rem; }
.cart-item-price{ font-family: var(--font-mono); font-weight:700; color: var(--accent); font-size:.85rem; }
.cart-item-controls{ display:flex; align-items:center; gap:10px; margin-top:4px; }
.qty-control{ display:flex; align-items:center; border:1px solid var(--border-strong); border-radius: var(--r-pill); }
.qty-control button{ width:26px; height:26px; display:flex; align-items:center; justify-content:center; font-weight:700; }
.qty-control button:hover{ color: var(--accent); }
.qty-control span{ min-width:20px; text-align:center; font-size:.85rem; font-family: var(--font-mono); }
.cart-item-remove{ font-size:.78rem; color: var(--danger); font-weight:600; }
.cart-item-remove:hover{ text-decoration: underline; }

.cart-drawer-foot{ border-top:1px solid var(--border); padding: 18px 22px 22px; display:flex; flex-direction:column; gap:12px; }

/* ============ CHECKOUT MODAL ============ */
.checkout-modal{
  position:fixed; top:50%; left:50%; transform:translate(-50%,-50%);
  width:460px; max-width:92%; max-height:88vh; overflow-y:auto;
  background:#fff; border-radius:var(--r-lg); z-index:95; box-shadow:var(--shadow-lg);
}
.checkout-modal-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:1px solid var(--border); }
.checkout-modal-head h2{ font-family: var(--font-body); font-size:1.05rem; font-weight:800; }
.checkout-modal-body{ padding:20px 22px 26px; }
.checkout-summary{ display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.checkout-line{ display:flex; justify-content:space-between; font-size:.9rem; color:var(--muted); }
.checkout-total-row{
  display:flex; justify-content:space-between; align-items:center; font-size:1rem;
  padding:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin-bottom:18px;
}
.checkout-form{ display:flex; flex-direction:column; gap:6px; }
.checkout-form label{ font-size:.82rem; font-weight:700; margin-top:10px; color:var(--text); }
.checkout-form label:first-child{ margin-top:0; }
.checkout-form label .muted{ font-weight:400; color:var(--muted-light); }
.checkout-form input, .checkout-form textarea{
  font-family:var(--font-body); font-size:.92rem; padding:10px 12px; border:1px solid var(--border-strong);
  border-radius:var(--r-sm); color:var(--text); background:#fff;
}
.checkout-form input:focus, .checkout-form textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; }
.checkout-error{ color:var(--danger); font-size:.85rem; min-height:1.1em; margin:10px 0 0; }
.checkout-form .btn{ margin-top:14px; }
@media (max-width:520px){ .checkout-modal{ width:100%; } }
.cart-subtotal-row{ display:flex; align-items:center; justify-content:space-between; font-size:1rem; }
.cart-subtotal-row strong{ font-family: var(--font-mono); font-size:1.15rem; }

/* =========================================================
   TOASTS
   ========================================================= */
.toast-stack{ position:fixed; bottom:24px; left:50%; transform: translateX(-50%); z-index:120; display:flex; flex-direction:column; gap:10px; align-items:center; width: 100%; padding: 0 16px; pointer-events:none; }
.toast{
  background: var(--primary); color:#fff; padding: 13px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:10px; font-size:.86rem; font-weight:600;
  animation: toastIn .35s var(--ease) both;
  max-width: 92vw;
}
.toast.is-leaving{ animation: toastOut .3s var(--ease) both; }
.toast svg{ width:18px; height:18px; color: var(--success); flex-shrink:0; }
@keyframes toastIn{ from{ opacity:0; transform: translateY(16px) scale(.96); } to{ opacity:1; transform: translateY(0) scale(1); } }
@keyframes toastOut{ to{ opacity:0; transform: translateY(10px) scale(.96); } }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top{
  position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%; background: var(--primary);
  color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg); z-index:50;
  transition: transform var(--dur-fast), background var(--dur-fast); animation: fadeIn var(--dur-fast) var(--ease);
}
.back-to-top:hover{ background: var(--accent); transform: translateY(-3px); }
.back-to-top svg{ width:20px; height:20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .category-scroller{ grid-template-columns: repeat(4, 1fr); }
  .top-rated-grid{ grid-template-columns: repeat(3, 1fr); }
  .flash-grid{ grid-template-columns: repeat(2, 1fr); }
  .promo-grid{ grid-template-columns: 1fr 1fr; }
  .promo-card--wide{ grid-column: span 2; }
}

@media (max-width: 1024px){
  :root{ --header-h: 128px; }
  .category-sidebar{ display:none; }
  .hero-slide{ grid-template-columns:1fr; padding: 40px 32px; text-align:center; }
  .hero-copy{ order:2; }
  .hero-visual{ order:1; min-height:260px; }
  .hero-cta{ justify-content:center; }
  .hero-tag{ left:50%; transform: translateX(-50%); }
  .benefits{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px){
  .header-inner{ flex-wrap:wrap; }
  .site-nav{ flex-wrap:wrap; gap:14px; padding-bottom:14px; }
  .nav-links{ order:3; width:100%; overflow-x:auto; gap:20px; padding-bottom:4px; }
  .nav-links::-webkit-scrollbar{ display:none; }
}

@media (max-width: 780px){
  :root{ --header-h: 64px; }
  .header-inner{ padding: 12px 16px; gap:10px; }
  .brand-tag{ display:none; }
  .brand-name{ font-size:1.25rem; }
  .layout-wrap{ padding: 20px 16px 0; gap:0; }
  .content-column{ gap: 48px; }

  .hero-carousel{ min-height:auto; }
  .hero-slide{ padding: 32px 20px; min-height:auto; gap:28px; }
  .hero-title{ max-width:none; }
  .hero-desc{ max-width:none; margin-left:auto; margin-right:auto; }
  .hero-dots{ left:50%; transform: translateX(-50%); }
  .hero-arrow{ width:36px; height:36px; }

  .hero-stats{ flex-direction:column; }
  .benefits{ grid-template-columns: repeat(2,1fr); gap:12px; }
  .benefit-card{ padding: 18px 16px; }

  .section-head{ margin-bottom:20px; }
  .tabs{ width:100%; overflow-x:auto; }
  .toolbar{ flex-direction:column; align-items:stretch; gap:12px; }
  .toolbar-group{ justify-content:space-between; }
  .toolbar-clear{ margin-left:0; text-align:center; }

  .product-grid{ grid-template-columns: repeat(2, 1fr); gap:14px; }
  .promo-grid{ grid-template-columns: 1fr; }
  .promo-card--wide{ grid-column: span 1; }

  .flash-sale{ padding: 26px 18px; }
  .flash-sale .section-head{ flex-direction:column; align-items:flex-start; }
  .countdown-unit{ min-width:56px; padding:8px 10px; }
  .flash-grid{ grid-template-columns: repeat(2, 1fr); gap:12px; }

  .category-scroller{ grid-template-columns: repeat(3, 1fr); gap:14px; }
  .top-rated-grid{ grid-template-columns: repeat(2, 1fr); gap:12px; }

  .newsletter{ padding: 30px 20px; }
  .newsletter-inner{ flex-direction:column; text-align:center; }
  .newsletter-form{ width:100%; justify-content:center; }
  .newsletter-form input{ min-width:0; width:100%; }

  .footer-top{ grid-template-columns: 1fr 1fr; padding: 44px 20px 30px; }
  .footer-brand{ grid-column: span 2; }
  .footer-bottom{ flex-direction:column; text-align:center; padding: 20px; }

  .cart-drawer{ width:100%; }
  .back-to-top{ width:42px; height:42px; bottom:18px; right:18px; }
}

@media (max-width: 420px){
  .product-grid{ grid-template-columns: 1fr; }
  .category-scroller{ grid-template-columns: repeat(2, 1fr); }
  .flash-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   HERO — refinements (stats strip, responsive, reduced motion)
   ========================================================= */
.hero-stats{
  gap:0; background:#fff; border:1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow:hidden;
}
.hero-stat{ flex:1; background:transparent; border:0; border-radius:0; box-shadow:none; padding: 22px 30px; }
.hero-stat + .hero-stat{ border-left:1px solid var(--border); }

@media (max-width: 1024px){
  .hero-slide{ grid-template-columns:1fr; padding: 44px 32px 96px; text-align:center; }
  .hero-eyebrow{ margin-left:auto; margin-right:auto; }
  .hero-title{ max-width:none; }
  .hero-desc{ margin-left:auto; margin-right:auto; }
  .hero-visual{ min-height:340px; }
  .hero-tag{ left:50%; margin-left:-95px; transform:none; bottom:16px; }
  .hero-dots{ left:32px; }
  .hero-arrow-next{ right:32px; }
  .hero-arrow-prev{ right:90px; }
}
@media (max-width: 780px){
  .hero-slide{ padding: 32px 20px 88px; gap:20px; }
  .hero-product{ width:240px; height:310px; }
  .hero-ring{ width:240px; height:310px; }
  .hero-visual{ min-height:300px; }
  .hero-dots{ left:20px; bottom:30px; transform:none; }
  .hero-dots button{ width:40px; }
  .hero-arrow{ width:40px; height:40px; bottom:24px; }
  .hero-arrow-next{ right:20px; }
  .hero-arrow-prev{ right:68px; }
  .hero-stat + .hero-stat{ border-left:0; border-top:1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide.is-active, .hero-slide.is-active .hero-product{ animation:none; }
  .hero-dots button.is-active::after{ animation:none; width:100%; }
}

/* =========================================================
   MOBILE COMPACT — everything smaller on phones
   ========================================================= */
@media (max-width: 1024px){
  .hero-tag{ left:0; right:0; margin:0 auto; width:fit-content; transform:none; }
}

@media (max-width: 780px){
  html{ font-size:14.5px; }
  .announce-bar{ font-size:.72rem; }
  .header-inner{ padding:10px 12px; gap:8px; }
  .brand-name{ font-size:1.15rem; }
  .layout-wrap{ padding:14px 12px 0; }
  .content-column{ gap:34px; }
  .btn{ padding:12px 22px; font-size:.9rem; }
  .mobile-cat-launcher{ font-size:.85rem; padding:10px 14px; }

  /* Hero */
  .hero{ gap:12px; }
  .hero-carousel{ border-radius:18px; }
  .hero-slide{ padding:24px 18px 76px; gap:14px; }
  .hero-eyebrow{ font-size:.74rem; padding:5px 12px 5px 10px; margin-bottom:14px; }
  .hero-title{ font-size:clamp(1.8rem, 8vw, 2.3rem); margin-bottom:12px; }
  .hero-desc{ font-size:.92rem; margin-bottom:20px; }
  .hero-cta{ gap:10px; }
  .hero-cta .btn{ padding:12px 22px; font-size:.9rem; }
  .hero-visual{ min-height:240px; }
  .hero-blob{ width:280px; height:280px; }
  .hero-product, .hero-ring{ width:180px; height:238px; border-radius:22px; }
  .hero-tag{ bottom:6px; min-width:150px; padding:9px 14px 9px 12px; border-radius:14px; }
  .hero-tag-name{ font-size:.8rem; }
  .hero-tag-price{ font-size:.95rem; }
  .hero-dots{ left:18px; bottom:26px; }
  .hero-dots button{ width:28px; }
  .hero-arrow{ width:36px; height:36px; bottom:20px; font-size:1.25rem; }
  .hero-arrow-next{ right:18px; }
  .hero-arrow-prev{ right:60px; }

  /* Stats: one compact row */
  .hero-stats{ flex-direction:row; border-radius:16px; }
  .hero-stat{ min-width:0; padding:12px 6px; flex-direction:column; align-items:center; text-align:center; }
  .hero-stat + .hero-stat{ border-top:0; border-left:1px solid var(--border); }
  .stat-num, .stat-suffix{ font-size:1.25rem; }
  .stat-label{ font-size:.66rem; text-align:center; margin-top:0; }

  /* Benefits */
  .benefits{ gap:10px; }
  .benefit-card{ padding:14px 12px; }
  .benefit-card h3{ font-size:.86rem; }
  .benefit-card p{ font-size:.72rem; }

  /* Section headings, tabs, toolbar */
  .section-head{ margin-bottom:14px; gap:10px; }
  .section-head h2{ font-size:1.3rem; }
  .toolbar{ gap:8px; padding:10px 12px; }

  /* Product cards: always 2 per row, tighter */
  .product-grid, .flash-grid{ grid-template-columns:repeat(2, 1fr); gap:10px; }
  .product-card{ border-radius:14px; }
  .product-badge{ top:8px; left:8px; font-size:.58rem; padding:3px 8px; }
  .wishlist-toggle{ top:7px; right:7px; width:30px; height:30px; }
  .wishlist-toggle svg{ width:14px; height:14px; }
  .product-body{ padding:10px 11px 12px; gap:4px; }
  .product-category{ font-size:.6rem; }
  .product-name{ font-size:.82rem; }
  .product-rating{ font-size:.7rem; }
  .price-current{ font-size:.92rem; }
  .price-old{ font-size:.72rem; }
  .price-discount{ font-size:.62rem; padding:2px 6px; }
  .add-to-cart-btn{ margin-top:8px; padding:9px; font-size:.78rem; }

  /* Promo, flash sale, categories, top rated */
  .promo-grid{ gap:12px; }
  .promo-copy h3{ font-size:1.15rem; }
  .flash-sale{ padding:20px 12px; border-radius:18px; }
  .flash-card-body{ padding:10px 11px 12px; }
  .countdown-unit{ min-width:46px; padding:6px 8px; }
  .category-scroller{ grid-template-columns:repeat(4, 1fr); gap:10px; }
  .category-tile{ gap:7px; }
  .category-tile-img{ width:62px; height:62px; }
  .category-tile-name{ font-size:.72rem; }
  .category-tile-count{ font-size:.6rem; }
  .top-rated-grid{ gap:10px; }
  .top-rated-card{ padding:8px; }

  /* Newsletter + footer */
  .newsletter{ padding:24px 16px; border-radius:18px; }
  .newsletter-copy h2{ font-size:1.3rem; }
  .newsletter-copy p{ font-size:.84rem; }
  .footer-top{ padding:30px 16px 20px; gap:22px 14px; }
  .footer-col h3{ margin-bottom:10px; }
  .footer-col ul{ gap:8px; }
  .footer-bottom{ padding:16px; }
  .back-to-top{ width:38px; height:38px; bottom:14px; right:14px; }
}

@media (max-width: 420px){
  html{ font-size:14px; }
  /* cancel the old single-column rules: keep 2 per row */
  .product-grid, .flash-grid{ grid-template-columns:repeat(2, 1fr); }
  .category-scroller{ grid-template-columns:repeat(4, 1fr); }
  .category-tile-img{ width:56px; height:56px; }
  .hero-product, .hero-ring{ width:160px; height:212px; }
  .hero-visual{ min-height:220px; }
}

/* =========================================================
   MOBILE HEADER — ☰  WEVICE.LK (centered)  account/wishlist/cart
   search bar on its own row, duplicate search icon removed
   ========================================================= */
@media (min-width: 1025px){
  .mobile-only{ display:none !important; }
}
@media (max-width: 1024px){
  .header-inner{
    display:grid; grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "menu brand actions" "search search search";
    align-items:center; gap:8px;
  }
  .menu-toggle{ grid-area:menu; justify-self:start; }
  .brand{ grid-area:brand; justify-self:center; }
  .header-actions{ grid-area:actions; justify-self:end; gap:0; }
  .header-search{ grid-area:search; width:100%; max-width:none; margin:0; }

  #mobileSearchToggle{ display:none !important; }   /* duplicate search icon */
  .brand-tag{ display:none; }
  .brand-mark svg{ width:28px; height:28px; }
  .brand-name{ font-size:1.1rem; }
  .header-action-btn{ padding:6px 7px; }
  .header-action-btn .action-label{ display:none; }
}

/* =========================================================
   MOBILE BOTTOM NAV  (Shop · Cart · Home · Saved · You)
   ========================================================= */
.bottom-nav{ display:none; }
@media (max-width: 780px){
  body{ padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  #trending{ scroll-margin-top:130px; }

  .bottom-nav{
    display:grid; grid-template-columns:repeat(5, 1fr); align-items:end;
    position:fixed; left:0; right:0; bottom:0; z-index:70;
    background: var(--surface); border-top:1px solid var(--border);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 26px rgba(11,26,51,.08);
  }
  .bn-item{
    position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:5px;
    padding:4px 0; color: var(--muted); font-size:.6rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
    -webkit-tap-highlight-color: transparent; transition: color var(--dur-fast);
  }
  .bn-item svg{ width:22px; height:22px; }
  .bn-item.is-active{ color: var(--primary); }

  .bn-circle{
    position:relative; box-sizing:border-box; width:30px; height:30px; margin-top:0; border-radius:50%;
    border:4px solid transparent; background:transparent; color:inherit;
    display:flex; align-items:center; justify-content:center;
    transition: width .28s var(--ease), height .28s var(--ease), margin-top .28s var(--ease),
                background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease),
                border-color .28s var(--ease), transform .15s var(--ease);
  }
  .bn-circle svg{ width:22px; height:22px; flex-shrink:0; }
  .bn-item.is-active .bn-circle{
    width:54px; height:54px; margin-top:-30px; background: var(--primary); color:#fff;
    border-color: var(--surface); box-shadow: 0 8px 20px rgba(11,26,51,.35);
  }
  .bn-item.is-active .bn-circle svg{ width:23px; height:23px; }
  .bn-item:active .bn-circle{ transform: scale(.9); }

  .bn-badge{
    position:absolute; top:-3px; right:-5px; min-width:16px; height:16px; padding:0 3px; border-radius:8px;
    background: var(--accent); color:#fff; font-size:.6rem; font-weight:700; letter-spacing:0;
    display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 2px var(--surface);
  }
  .bn-item.is-active .bn-badge{ top:-1px; right:-2px; }
  .bn-badge[hidden]{ display:none; }

  /* keep floating things above the bar */
  .toast-stack{ bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top{ bottom: calc(90px + env(safe-area-inset-bottom, 0px)); right:14px; }
}

/* =========================================================
   PHONE HEADER (final): ☰  WEVICE.LK  🔍
   Cart / Saved / Account live in the bottom nav; search bar opens from the icon
   ========================================================= */
@media (max-width: 780px){
  .header-inner{
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "menu brand actions";
    gap:0;
  }
  .header-search{ display:none; }
  .header-actions > :not(#mobileSearchToggle){ display:none !important; }
  #mobileSearchToggle{ display:inline-flex !important; }
  .mobile-search-panel{ padding:0 12px 12px; }
}

/* =========================================================
   SHOP PAGE
   ========================================================= */
.shop-hero{ padding: 6px 2px 0; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:.82rem; color: var(--muted); margin-bottom:10px; }
.breadcrumb a{ color: var(--muted); font-weight:600; transition: color var(--dur-fast); }
.breadcrumb a:hover{ color: var(--accent); }
.shop-hero h1{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height:1.1; letter-spacing:-.02em; color: var(--primary); margin:0 0 6px; }
.shop-sub{ color: var(--muted); font-size:.95rem; margin:0; }
.shop-products .tabs{ margin-bottom:16px; width:fit-content; max-width:100%; overflow-x:auto; }
@media (max-width: 780px){
  .shop-hero h1{ font-size:1.6rem; }
  .shop-sub{ font-size:.85rem; }
  .breadcrumb{ font-size:.74rem; margin-bottom:6px; }
  .shop-products .tabs{ width:100%; }
}

/* =========================================================
   TABS on phones: one row, swipe sideways, pill never clipped
   ========================================================= */
@media (max-width: 780px){
  .tabs, .shop-products .tabs{
    flex-wrap:nowrap; width:100%; max-width:100%; overflow-x:auto; overflow-y:hidden;
    gap:4px; padding:4px; scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .tabs::-webkit-scrollbar{ display:none; }
  .tab{ flex:0 0 auto; white-space:nowrap; padding:8px 14px; font-size:.8rem; }
}

/* =========================================================
   SINGLE PRODUCT PAGE  (product.html)
   ========================================================= */
.product-link{ display:block; width:100%; height:100%; }
.product-name a{ color:inherit; }
.product-name a:hover{ color: var(--accent); }
.link-arrow{ font-weight:700; font-size:.9rem; color: var(--accent); }
.link-arrow:hover{ color: var(--accent-dark); }

.pp-wrap{ max-width: var(--container); margin:0 auto; padding: 28px 24px 0; display:flex; flex-direction:column; gap: 48px; }
.pp-wrap .breadcrumb{ flex-wrap:wrap; margin:0; }
.pp-wrap .breadcrumb [aria-current]{ color: var(--primary); font-weight:600; }

.pp-main{ display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 48px; align-items:start; }

/* gallery */
.pp-gallery{ position:sticky; top: calc(var(--header-h) + 16px); }
.pp-image{ position:relative; aspect-ratio:1/1; border-radius: var(--r-lg); overflow:hidden; background: var(--surface); border:1px solid var(--border); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.pp-image img{ width:100%; height:100%; object-fit:cover; transition: transform .25s var(--ease); will-change: transform; }
.pp-image .product-badge{ top:16px; left:16px; z-index:2; }
.pp-save-pill{ position:absolute; top:16px; right:16px; z-index:2; background: var(--danger); color:#fff; font-weight:800; font-size:.8rem; padding:6px 12px; border-radius: var(--r-pill); }
.pp-zoom-hint{ text-align:center; color: var(--muted-light); font-size:.78rem; margin-top:10px; }

/* info */
.pp-info{ display:flex; flex-direction:column; gap:18px; min-width:0; }
.pp-cat{ font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--accent); width:fit-content; }
.pp-title{ font-size: clamp(1.7rem, 3vw, 2.5rem); line-height:1.12; letter-spacing:-.02em; color: var(--primary); }
.pp-rating{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; font-size:.9rem; }
.pp-rating .stars{ color: var(--gold); letter-spacing:2px; font-size:1rem; }
.pp-reviews-link{ color: var(--muted); text-decoration: underline; text-underline-offset:3px; }
.pp-reviews-link:hover{ color: var(--accent); }
.pp-stock{ font-weight:700; font-size:.78rem; padding:4px 10px; border-radius: var(--r-pill); }
.pp-stock.is-in{ color: var(--success); background: rgba(30,158,107,.1); }
.pp-stock.is-low{ color:#B45309; background: rgba(245,158,11,.14); }
.pp-stock.is-out{ color: var(--danger); background: rgba(224,71,63,.1); }

.pp-price-box{ background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); padding:18px 20px; }
.pp-price-row{ display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 14px; }
.pp-price{ font-family: var(--font-mono); font-weight:700; font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--primary); }
.pp-price-row .price-old{ font-size:1.05rem; }
.pp-price-row .price-discount{ font-size:.8rem; padding:4px 10px; }
.pp-tax-note{ color: var(--muted); font-size:.8rem; margin-top:6px; }
.pp-short{ color:#3A4663; line-height:1.7; font-size:.98rem; }
.pp-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.pp-tags li{ background: var(--accent-soft); color: var(--accent-dark); font-size:.74rem; font-weight:700; padding:5px 12px; border-radius: var(--r-pill); text-transform:capitalize; }

.pp-buy{ display:flex; flex-direction:column; gap:14px; padding-top:6px; border-top:1px solid var(--border); }
.pp-buy{ padding-top:20px; }
.pp-label{ display:block; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color: var(--muted); margin-bottom:8px; }
.pp-qty{ width:fit-content; background: var(--surface); }
.pp-qty button{ width:42px; height:42px; font-size:1.15rem; }
.pp-qty input{ width:46px; height:42px; border:0; background:transparent; text-align:center; font-family: var(--font-mono); font-weight:700; font-size:1rem; outline:none; }
.pp-qty:focus-within{ border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pp-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:stretch; }
.pp-add{ flex:1 1 200px; padding:16px 28px; font-size:1rem; }
.pp-add svg{ width:20px; height:20px; }
.pp-buynow{ flex:1 1 150px; padding:16px 28px; font-size:1rem; background: var(--primary); color:#fff; }
.pp-buynow:hover{ background: var(--primary-softer); transform: translateY(-2px); box-shadow: var(--shadow-navy); }
.pp-actions .btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none; box-shadow:none; }
.pp-wish{ width:54px; border:1.5px solid var(--border-strong); border-radius: var(--r-pill); display:flex; align-items:center; justify-content:center; background: var(--surface); color: var(--primary); transition: all var(--dur-fast) var(--ease); }
.pp-wish svg{ width:22px; height:22px; }
.pp-wish:hover{ border-color: var(--danger); color: var(--danger); }
.pp-wish.is-active{ color: var(--danger); border-color: var(--danger); background: rgba(224,71,63,.06); }

.pp-trust{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.pp-trust li{ display:flex; gap:10px; align-items:flex-start; background: var(--surface); border:1px solid var(--border); border-radius: var(--r-md); padding:12px; font-size:.76rem; color: var(--muted); line-height:1.35; }
.pp-trust svg{ width:22px; height:22px; color: var(--accent); flex-shrink:0; }
.pp-trust strong{ display:block; color: var(--primary); font-size:.8rem; }
.pp-meta{ font-size:.82rem; color: var(--muted); }
.pp-meta span{ font-family: var(--font-mono); color: var(--primary); }
.pp-meta a{ color: var(--accent); font-weight:600; }

/* tabs */
.pp-tabs-wrap{ background: var(--surface); border:1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.pp-tabs-wrap .tabs{ background: var(--bg); width:fit-content; max-width:100%; overflow-x:auto; margin-bottom:20px; }
.pp-panel{ display:none; line-height:1.8; color:#3A4663; max-width: 80ch; }
.pp-panel.is-active{ display:block; animation: ppFade .3s var(--ease) both; }
@keyframes ppFade{ from{ opacity:0; transform: translateY(6px);} to{ opacity:1; transform:none; } }
.pp-spec{ border-collapse:collapse; width:100%; max-width:560px; }
.pp-spec th, .pp-spec td{ text-align:left; padding:11px 0; border-bottom:1px solid var(--border); font-size:.92rem; }
.pp-spec th{ color: var(--muted); font-weight:600; width:38%; }
.pp-list{ list-style:disc; padding-left:20px; display:flex; flex-direction:column; gap:8px; }

.pp-related{ padding-bottom: 8px; }

/* mobile sticky add-to-cart */
.pp-sticky{ display:none; }

/* states */
.pp-empty{ text-align:center; padding: 80px 16px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.pp-empty p{ color: var(--muted); }
.pp-skeleton{ display:grid; grid-template-columns: 1fr 1fr; gap:48px; }
.pp-sk-img{ aspect-ratio:1/1; border-radius: var(--r-lg); }
.pp-sk-lines{ display:flex; flex-direction:column; gap:16px; padding-top:20px; }
.pp-sk-lines span{ height:22px; border-radius:8px; }
.pp-sk-lines span:nth-child(1){ width:30%; } .pp-sk-lines span:nth-child(2){ width:85%; height:38px; } .pp-sk-lines span:nth-child(3){ width:50%; } .pp-sk-lines span:nth-child(4){ width:70%; height:90px; }
.pp-sk-img, .pp-sk-lines span{ background: linear-gradient(90deg,#E9ECF5 25%,#F4F6FB 50%,#E9ECF5 75%); background-size:200% 100%; animation: ppShimmer 1.3s infinite linear; }
@keyframes ppShimmer{ to{ background-position:-200% 0; } }

@media (max-width: 900px){
  .pp-wrap{ padding:16px 16px 0; gap:32px; }
  .pp-main, .pp-skeleton{ grid-template-columns:1fr; gap:22px; }
  .pp-gallery{ position:static; }
  .pp-image{ border-radius: var(--r-md); cursor:default; }
  .pp-trust{ grid-template-columns:1fr; }
  .pp-tabs-wrap{ padding:18px 16px; }
  .pp-related .product-grid{ grid-template-columns: repeat(2,1fr); gap:12px; }
}
@media (max-width: 780px){
  .pp-sticky{
    position:fixed; left:0; right:0; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); z-index:60; display:flex; align-items:center; gap:12px;
    padding:10px 14px; background: var(--surface); border-top:1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(11,26,51,.1);
  }
  .pp-sticky-info{ flex:1; min-width:0; display:flex; flex-direction:column; }
  .pp-sticky-info strong{ font-family: var(--font-mono); font-size:1.05rem; }
  .pp-sticky-info span{ font-size:.74rem; color: var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .pp-sticky .btn{ padding:12px 22px; }
  .pp-sticky .btn[disabled]{ opacity:.5; }
  #productPage{ padding-bottom: 150px; }   /* clear sticky bar + bottom nav */
  .back-to-top{ bottom: 160px; }
}

/* ---- Variable products: size / colour selectors ---- */
.pp-variants { display: grid; gap: 14px; margin: 18px 0 6px; }
.pp-opt-group .pp-label { display: block; margin-bottom: 8px; font-weight: 600; }
.pp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-opt { min-width: 44px; padding: 9px 16px; border: 1.5px solid #d5d9e4; border-radius: 10px; background: #fff; color: inherit; font: inherit; font-size: .92rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pp-opt:hover { border-color: #5b6bff; }
.pp-opt.is-active { border-color: #5b6bff; background: #eef0ff; color: #2e3bd1; font-weight: 600; }
.pp-opt.is-unavailable { opacity: .4; text-decoration: line-through; }
.cart-item-variant { color: #66708a; font-weight: 400; }

.pp-opt-color { display: inline-flex; align-items: center; gap: 8px; }
.pp-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex: none; }

/* ---- Checkout: payment method ---- */
.pay-methods { border: 1px solid #d5d9e4; border-radius: 12px; padding: 10px 12px 12px; margin: 14px 0 4px; }
.pay-methods legend { padding: 0 6px; font-weight: 600; font-size: .9rem; }
.pay-option { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 10px; cursor: pointer; margin: 0; }
.pay-option:hover { background: #f4f6ff; }
.pay-option input { margin-top: 4px; width: auto; flex: none; }
.pay-option span { display: flex; flex-direction: column; }
.pay-option small { color: #66708a; font-weight: 400; margin-top: 2px; }

/* =========================================================
   MY ACCOUNT PAGE (account.html)
   ========================================================= */
a.header-action-btn{ text-decoration:none; }
.acct-wrap{ max-width: 960px; margin:0 auto; padding: 32px 24px 64px; }
.acct-loading{ text-align:center; color: var(--muted); padding: 80px 0; }
.acct-card{ background:#fff; border:1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 28px; }
.acct-auth{ max-width: 460px; margin: 24px auto 0; }
.acct-auth h1{ font-size:1.7rem; margin-bottom:6px; }
.acct-auth .acct-sub{ color: var(--muted); font-size:.9rem; margin:0 0 18px; }
.acct-tabs{ display:flex; gap:6px; border-bottom:1px solid var(--border); margin-bottom:22px; flex-wrap:wrap; }
.acct-tab{ padding: 10px 16px; font-weight:700; font-size:.9rem; color: var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; background:none; cursor:pointer; }
.acct-tab:hover{ color: var(--primary); }
.acct-tab.is-active{ color: var(--accent); border-bottom-color: var(--accent); }
.acct-form{ display:flex; flex-direction:column; gap:6px; }
.acct-form label{ font-size:.82rem; font-weight:700; margin-top:10px; color: var(--text); }
.acct-form label:first-child{ margin-top:0; }
.acct-form label .muted{ font-weight:400; color: var(--muted-light); }
.acct-form input, .acct-form textarea{
  font-family: var(--font-body); font-size:.92rem; padding:10px 12px; border:1px solid var(--border-strong);
  border-radius: var(--r-sm); color: var(--text); background:#fff; width:100%;
}
.acct-form input:focus, .acct-form textarea:focus{ outline:2px solid var(--accent); outline-offset:1px; }
.acct-form .btn{ margin-top:16px; }
.acct-form .btn[disabled]{ opacity:.6; cursor:wait; }
.acct-row2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.acct-msg{ font-size:.85rem; min-height:1.2em; margin:12px 0 0; }
.acct-msg.is-error{ color: var(--danger); }
.acct-msg.is-ok{ color: var(--success); }
.acct-note{ margin-top:18px; font-size:.82rem; color: var(--muted); text-align:center; }
.acct-note a{ color: var(--accent); font-weight:600; }

.acct-head{ display:flex; align-items:center; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.acct-avatar{ width:56px; height:56px; border-radius:50%; background: var(--accent); color:#fff; display:grid; place-items:center; font-family: var(--font-display); font-weight:700; font-size:1.3rem; flex-shrink:0; }
.acct-head-text{ flex:1; min-width:180px; }
.acct-head-text h1{ font-size:1.5rem; }
.acct-head-text p{ margin:2px 0 0; color: var(--muted); font-size:.88rem; word-break:break-all; }

.acct-empty{ text-align:center; padding: 36px 12px; color: var(--muted); }
.acct-empty .btn{ margin-top:14px; }
.acct-orders{ display:flex; flex-direction:column; gap:14px; }
.acct-order{ border:1px solid var(--border); border-radius: var(--r-md, 14px); background:#fff; overflow:hidden; }
.acct-order-head{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding: 14px 18px; width:100%; text-align:left; background:none; cursor:pointer; }
.acct-order-head:hover{ background: var(--bg); }
.acct-order-id{ font-weight:800; font-family: var(--font-mono); }
.acct-order-date{ color: var(--muted); font-size:.85rem; }
.acct-order-total{ margin-left:auto; font-family: var(--font-mono); font-weight:700; }
.acct-badge{ font-size:.72rem; font-weight:700; padding: 3px 10px; border-radius: var(--r-pill); text-transform:capitalize; background: var(--bg); color: var(--muted); }
.acct-badge.st-pending{ background:#FFF4D6; color:#8A6100; }
.acct-badge.st-processing{ background:#E3ECFF; color:#2347B8; }
.acct-badge.st-shipped{ background:#E6F0FF; color:#1C5FB5; }
.acct-badge.st-completed{ background: rgba(30,158,107,.12); color: var(--success); }
.acct-badge.st-cancelled{ background:#FDE3E1; color: var(--danger); }
.acct-order-body{ border-top:1px solid var(--border); padding: 16px 18px; display:none; }
.acct-order.is-open .acct-order-body{ display:block; }
.acct-items{ list-style:none; margin:0 0 14px; padding:0; display:flex; flex-direction:column; gap:8px; }
.acct-items li{ display:flex; justify-content:space-between; gap:12px; font-size:.9rem; }
.acct-items .acct-var{ color: var(--muted); font-size:.8rem; }
.acct-items a{ color: var(--primary); font-weight:600; }
.acct-items a:hover{ color: var(--accent); }
.acct-meta{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; font-size:.85rem; color: var(--muted); border-top:1px dashed var(--border); padding-top:12px; }
.acct-meta strong{ display:block; color: var(--text); font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:2px; }
@media (max-width:600px){
  .acct-wrap{ padding: 20px 16px 48px; }
  .acct-card{ padding: 20px 16px; }
  .acct-row2, .acct-meta{ grid-template-columns: 1fr; }
  .acct-order-total{ margin-left:0; }
}
