/* ==========================================================================
   ALLYAZ Design System — Allbirds-Benchmark European Retail Aesthetic
   Developed by Idovio Labs Team · Property of Huris S&C
   ========================================================================== */

:root {
  /* Curated European Palette */
  --ink: #172018;
  --charcoal: #232924;
  --muted: #5e685f;
  --muted-light: #8b958c;
  --paper: #f9f8f4;
  --cream: #f2ece0;
  --white: #ffffff;
  --line: #e3e4dc;
  --line-light: #edece6;
  
  /* Natural Scandinavian Accent Tones */
  --moss: #2f4333;
  --moss-hover: #243527;
  --moss-light: #edf2eb;
  --sage: #d6ded2;
  --sand: #ede5d8;
  --sand-dark: #ded2bf;
  --oat: #e7ded0;
  --stone: #c9c7bd;
  --accent-gold: #c29547;
  --danger: #b23b3b;
  --danger-light: #faecec;
  --success: #286e3b;
  --success-light: #edf7ef;
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(23, 32, 24, 0.04);
  --shadow-md: 0 12px 36px rgba(23, 32, 24, 0.08);
  --shadow-lg: 0 24px 64px rgba(23, 32, 24, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  --max-width: 1440px;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }

/* Skip Link for a11y */
.skip-link {
  position: fixed; left: 16px; top: -100px;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; z-index: 1000;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 13px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Layout Shell */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; width: 100%; }

/* ==========================================================================
   Announcement Bar (Allbirds Style Marquee / Ticker)
   ========================================================================== */
.announce {
  background: var(--moss);
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.announce-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.announce-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.94;
}
.announce-item span { opacity: 0.7; }

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(249, 248, 244, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(23, 32, 24, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav {
  height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: var(--font-sans);
  font-size: 26px;
  letter-spacing: 0.38em;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
}
.brand small {
  font-size: 7.5px;
  letter-spacing: 0.28em;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 500;
}
.navlinks {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
.navlinks a {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}
.navlinks a:hover, .navlinks a.active {
  color: var(--moss);
}
.navlinks a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--moss);
  transition: width 0.25s ease;
}
.navlinks a:hover::after, .navlinks a.active::after {
  width: 100%;
}
.navlinks .nav-highlight {
  background: var(--moss-light);
  color: var(--moss);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
}
.navlinks .nav-highlight::after { display: none; }

.navtools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.iconbtn {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  transition: all 0.2s ease;
}
.iconbtn:hover {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.iconbtn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.badge {
  position: absolute;
  right: -2px; top: -2px;
  min-width: 19px; height: 19px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(47, 67, 51, 0.4);
}
.langbtn {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  transition: all 0.2s ease;
}
.langbtn:hover {
  border-color: var(--moss);
  color: var(--moss);
}
.mobile-menu { display: none; }

/* ==========================================================================
   Hero & Editorial Sections (Allbirds Standard)
   ========================================================================== */
.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background: #ccd5c7;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-visual.svg') center/cover no-repeat;
  transform: scale(1.02);
  filter: brightness(0.96);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 30, 22, 0.68) 0%, rgba(20, 30, 22, 0.35) 50%, rgba(20, 30, 22, 0.08) 85%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-copy {
  color: var(--white);
  max-width: 700px;
  padding: 80px 0;
}
.eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}
.hero-copy .eyebrow {
  color: #dbe4d7;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 6.5vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 20px 0 24px;
}
.hero p {
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.9);
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn.light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn.light:hover {
  background: #f0eee8;
  border-color: #f0eee8;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--white);
  border-color: var(--ink);
}
.btn.moss {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.btn.moss:hover {
  background: var(--moss-hover);
}
.btn.wide { width: 100%; }
.btn.sm { padding: 9px 16px; font-size: 12.5px; }

/* Section Hierarchy */
.section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-head h2, .page-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-top: 6px;
}
.section-head p {
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
}
.text-link {
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.text-link:hover { opacity: 0.7; }

/* Category Pills / Discovery */
.category-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--moss);
}
.category-art {
  height: 106px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e2d4, #c9d5c4);
}
.category-art::before, .category-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}
.category-art::before {
  width: 70px; height: 70px; right: 12px; top: 12px;
}
.category-art::after {
  width: 90px; height: 20px; left: 10px; bottom: 16px;
  transform: rotate(-12deg);
}
.category-card span {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

/* Trust Bar */
.trustbar {
  background: #eceee7;
  border-block: 1px solid #dce0d6;
}
.trustgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trustitem {
  padding: 32px 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  border-right: 1px solid #d6dbd1;
}
.trustitem:last-child { border-right: 0; }
.trustitem svg {
  width: 32px; height: 32px;
  stroke: var(--moss);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.trustitem b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--charcoal);
}
.trustitem small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  display: block;
}

/* ==========================================================================
   Product Grid & Product Card (Allbirds Benchmark)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.product-media {
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #f2eee6, #dce2d7);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.4s ease;
  z-index: 1;
}
.product-card:hover .product-media img {
  transform: scale(1.04);
}
.product-badge {
  position: absolute;
  left: 14px; top: 14px;
  background: var(--moss);
  color: var(--white);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.product-badge.eu {
  background: #254b73;
}
.product-badge.sale {
  background: #a84232;
}
.heart-btn {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.heart-btn:hover {
  transform: scale(1.1);
  background: var(--white);
}
.heart-btn.active svg {
  fill: #b53838;
  stroke: #b53838;
}
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.product-info h3 {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--ink);
}
.product-info p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-light);
}
.price {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-old {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--muted-light);
  font-weight: 400;
}
.rating {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rating span { color: var(--accent-gold); }
.quickadd {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fbfbf9;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.quickadd:hover {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
  transform: translateY(-1px);
}

/* ==========================================================================
   Editorial Storytelling Block
   ========================================================================== */
.editorial {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 540px;
  background: #1d2b21;
  color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.editorial-copy {
  padding: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-copy h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
  margin: 16px 0 20px;
}
.editorial-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}
.editorial-art {
  background: radial-gradient(circle at 25% 20%, #ece2cb 0 8%, transparent 9%), linear-gradient(145deg, #74846f, #cad1be);
  position: relative;
  overflow: hidden;
}
.editorial-art::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  right: -60px; top: 40px;
}
.editorial-art::after {
  content: "ALLYAZ · EUROPEAN CURATION";
  position: absolute;
  right: 40px; bottom: 36px;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--white);
  font-weight: 600;
}

/* Newsletter */
.newsletter {
  background: #e8e1d4;
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}
.newsletter h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--charcoal);
}
.newsletter p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 520px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  min-width: min(520px, 50vw);
}
.newsletter-form input {
  flex: 1;
  border: 1px solid #cec7bc;
  background: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}
.newsletter-form input:focus {
  outline: 2px solid var(--moss);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: #f1efe8;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding: 68px 32px 48px;
}
.footer h4 {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.footer a {
  display: block;
  color: #566157;
  font-size: 14px;
  margin: 10px 0;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--moss); }
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 32px;
  color: #6a736a;
  font-size: 12.5px;
}
.logo-block p {
  max-width: 340px;
  color: #5c665d;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
}

/* ==========================================================================
   Allbirds-Benchmark Product Detail Page (PDP)
   ========================================================================== */
.pdp-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.pdp-gallery {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pdp-main-media {
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #ede7de, #d2dcce);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pdp-main-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.pdp-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pdp-thumb {
  width: 76px; height: 76px;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.pdp-thumb.active, .pdp-thumb:hover {
  border-color: var(--moss);
  transform: translateY(-2px);
}
.pdp-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.pdp-info {
  display: flex;
  flex-direction: column;
}
.pdp-breadcrumbs {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
}
.pdp-breadcrumbs a:hover { color: var(--ink); }
.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 4px 0 14px;
  color: var(--ink);
}
.pdp-reviews-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 12px 0 20px;
}
.pdp-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}
.pdp-compare {
  font-size: 18px;
  text-decoration: line-through;
  color: var(--muted-light);
}
.pdp-save-badge {
  background: #f8ece8;
  color: #a84232;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.pdp-tax-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.omnibus-notice {
  font-size: 11.5px;
  color: var(--muted-light);
  margin-bottom: 20px;
  background: #f4f3ed;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* PDP Logistics & Status Cards */
.pdp-delivery-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 18px 0;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
}
.pdp-delivery-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp-delivery-row svg {
  width: 20px; height: 20px;
  stroke: var(--moss);
  flex-shrink: 0;
}
.stock-pulse {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(40, 110, 59, 0.2);
  margin-right: 6px;
}
.pdp-actions {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

/* Accordions (Allbirds Standard) */
.pdp-accordions {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header svg {
  width: 18px; height: 18px;
  stroke: var(--muted);
  transition: transform 0.25s ease;
}
.accordion-item.open .accordion-header svg {
  transform: rotate(180deg);
}
.accordion-content {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #4f5850;
  display: none;
}
.accordion-item.open .accordion-content {
  display: block;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}
.specs-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 35%;
}

/* Frequently Bought Together (Bundle Card) */
.bundle-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}
.bundle-box h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.bundle-items {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.bundle-item-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  flex-shrink: 0;
}
.bundle-item-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.bundle-plus {
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}
.bundle-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

/* ==========================================================================
   Cart Drawer with Smart Shipping Progress Bar
   ========================================================================== */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(14, 20, 15, 0.45);
  backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0;
  width: min(520px, 96vw);
  height: 100vh;
  background: #fbfaf6;
  z-index: 96;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}
.drawer.open { transform: none; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
}

/* Smart Shipping Progress Bar */
.shipping-progress-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 18px 0 10px;
}
.shipping-progress-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.progress-bar-bg {
  width: 100%; height: 6px;
  background: #e6e8e2;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--moss);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}
.progress-bar-fill.unlocked {
  background: var(--success);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  margin: 16px 0;
  padding-right: 4px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: center;
}
.cart-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line-light);
  overflow: hidden;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}
.cart-item .item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--moss);
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  margin-top: 8px;
}
.qty-stepper button {
  width: 28px; height: 28px;
  background: transparent; border: 0;
  cursor: pointer; font-size: 14px;
  font-weight: 700;
  display: grid; place-items: center;
}
.qty-stepper span {
  padding: 0 8px; font-size: 13px; font-weight: 600;
}

/* Coupon Box */
.coupon-input-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 10px;
}
.coupon-input-row input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  text-transform: uppercase;
}
.coupon-badge {
  background: #eef4ed;
  border: 1px dashed var(--moss);
  color: var(--moss);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
}
.drawer-summary {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 7px 0;
  font-size: 14px;
}
.summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Multi-Step Checkout Flow
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  margin: 32px 0 64px;
}
.checkout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.checkout-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--white);
  font-size: 12px;
  display: grid; place-items: center;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full { grid-column: 1/-1; }
.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--charcoal);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  background: #fbfbf9;
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--moss);
  background: var(--white);
}
.order-sidebar {
  background: #f2eee8;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 112px;
  border: 1px solid #e5dfd6;
}

/* ==========================================================================
   Offers & Benefits Page (`#/offers`)
   ========================================================================== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0 54px;
}
.voucher-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.voucher-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--moss);
}
.voucher-code-box {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0;
}

/* ==========================================================================
   Self-Service Returns Portal (`#/returns`)
   ========================================================================== */
.rma-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 720px;
  margin: 32px auto;
  box-shadow: var(--shadow-md);
}
.rma-label-preview {
  background: #f8f8f4;
  border: 2px dashed var(--charcoal);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  font-family: monospace;
}
.rma-barcode {
  height: 48px;
  background: repeating-linear-gradient(90deg, #172018, #172018 3px, transparent 3px, transparent 6px);
  margin: 16px 0;
}

/* ==========================================================================
   Help Centre & Support Ticketing (`#/help`)
   ========================================================================== */
.help-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 24px 0 32px;
}
.help-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.help-tab-btn.active {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.faq-accordion {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  margin-bottom: 40px;
}

/* ==========================================================================
   Live Order Tracking (`#/track`)
   ========================================================================== */
.tracking-timeline {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
}
.tracking-timeline::before {
  content: "";
  position: absolute;
  top: 18px; left: 30px; right: 30px; height: 3px;
  background: var(--line);
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 140px;
}
.timeline-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line);
  margin: 0 auto 10px;
  display: grid; place-items: center;
  font-size: 14px;
}
.timeline-step.completed .timeline-dot {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--white);
}
.timeline-step.active .timeline-dot {
  border-color: var(--moss);
  color: var(--moss);
  box-shadow: 0 0 0 4px rgba(47, 67, 51, 0.2);
}

/* ==========================================================================
   Admin Executive Analytics & Profit Engine Dashboard (`#/admin`)
   ========================================================================== */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.admin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.admin-card .kpi-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-card .kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 4px;
}
.admin-card .kpi-sub {
  font-size: 12.5px;
  color: var(--success);
  font-weight: 600;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 24px 0;
}
.admin-table th, .admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-size: 13.5px;
}
.admin-table th {
  background: #f4f3ed;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* ==========================================================================
   Modals, Search as You Type & Cookie CMP
   ========================================================================== */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: grid; place-items: center;
  background: rgba(14, 20, 15, 0.55);
  backdrop-filter: blur(6px);
  padding: 20px;
}
.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: min(720px, 96vw);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.search-modal-input {
  width: 100%;
  border: 2px solid var(--moss);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  font-size: 18px;
  background: #fdfdfb;
  margin: 18px 0 24px;
}
.search-modal-input:focus { outline: none; }
.search-results-list {
  display: grid;
  gap: 12px;
  max-height: 50vh;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
  cursor: pointer;
}
.search-result-item:hover { background: var(--paper); }
.search-thumb {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  flex-shrink: 0;
}
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 90;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cookie-banner h3 { margin: 0 0 6px; font-size: 17px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; max-width: 820px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .navlinks { display: none; }
  .mobile-menu { display: grid; }
  .nav { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; }
  .category-row { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .editorial-art { min-height: 320px; }
  .trustgrid { grid-template-columns: repeat(2, 1fr); }
  .pdp-layout { grid-template-columns: 1fr; gap: 36px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .admin-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .announce-inner { padding: 8px 16px; font-size: 11px; gap: 14px; }
  .announce-item:nth-child(n+3) { display: none; }
  .nav { height: 70px; }
  .brand { font-size: 22px; }
  .brand small { display: none; }
  .hero, .hero-inner { min-height: 580px; }
  .hero h1 { font-size: 52px; }
  .category-row { display: flex; overflow-x: auto; padding-bottom: 12px; }
  .category-card { min-width: 160px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-info { padding: 14px; }
  .product-info p { display: none; }
  .offers-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 36px 24px; }
  .newsletter-form { min-width: 0; width: 100%; flex-direction: column; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr; padding: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .trustgrid { grid-template-columns: 1fr; }
  .trustitem { border-right: 0; border-bottom: 1px solid #d6dbd1; }
  .admin-metrics-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }

/* ==========================================================================
   Pagination & Country Shipping Badges (12,000 Products Scale)
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 24px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--moss);
  color: var(--moss);
}

.page-btn.active {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 700;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--moss-light);
  color: var(--moss);
  margin-top: 8px;
}

.country-badge.restricted {
  background: var(--danger-light);
  color: var(--danger);
}
