/* =========================================================================
   Lady House — Stylesheet (Quiet Luxury / Modern Minimalist)
   Reference: ../Design reference/the_design_system/DESIGN.md
   WordPress-portable. Plain CSS. No build step.

   Sections:
   1. Tokens & resets
   2. Typography
   3. Layout / utilities
   4. Buttons / inputs / chips
   5. Header & nav
   6. Footer
   7. Hero
   8. Product card / grid
   9. Editorial pair
   10. Shop / PLP
   11. PDP
   12. Cart
   13. Static prose
   14. A11y / motion
   ========================================================================= */

/* 1. Tokens & resets ---------------------------------------------------- */
:root {
  /* Surfaces */
  --surface:                  #f9f9f9;
  --surface-bright:           #f9f9f9;
  --surface-dim:              #dadada;
  --surface-container-lowest: #ffffff;
  --surface-container-low:    #f3f3f3;
  --surface-container:        #eeeeee;
  --surface-container-high:   #e8e8e8;
  --surface-container-highest:#e2e2e2;

  /* Text on surfaces */
  --on-surface:          #1b1b1b;
  --on-surface-variant:  #444651;
  --outline:             #747782;
  --outline-variant:     #c4c6d2;

  /* Brand chromatic accents (used very sparingly, like a magazine) */
  --primary:             #2a488d;   /* deep blue — primary CTAs + nav highlight */
  --on-primary:          #ffffff;
  --primary-container:   #254388;   /* hover */
  --primary-fixed:       #dae2ff;

  --secondary:           #853e25;   /* terracotta — eyebrow labels, accents */
  --on-secondary:        #ffffff;

  --tertiary:            #535329;   /* olive — minor accents only */

  --error:               #ba1a1a;

  /* Stone scale (for borders, mutes — matches Tailwind's stone) */
  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-900: #1c1917;

  /* Type */
  --font-headline: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-body:     'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Sizes (from DESIGN.md) */
  --type-headline-xl: 64px;
  --type-headline-lg: 48px;
  --type-headline-md: 32px;
  --type-body-lg:     18px;
  --type-body-md:     16px;
  --type-label:       12px;
  --type-interactive: 14px;

  /* Spacing scale (8px unit) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-section: 128px;

  /* Layout */
  --gutter: 24px;
  --margin-desktop: 64px;
  --margin-mobile: 20px;
  --container-max: 1280px;          /* matches max-w-7xl in reference */

  --header-height: 88px;
  --header-height-mobile: 64px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  /* No radii — sharp 0px corners on everything per design system */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: var(--type-body-md);
  line-height: 1.6;
  font-weight: 400;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 200ms var(--ease-standard); }
a:hover { color: var(--primary); }
ul, ol { padding: 0; margin: 0; list-style: none; }

/* Material Symbols sizing */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  line-height: 1;
  user-select: none;
  vertical-align: middle;
}
.material-symbols-outlined.size-sm { font-size: 18px; }
.material-symbols-outlined.size-lg { font-size: 32px; }

/* 2. Typography --------------------------------------------------------- */
.headline-xl {
  font-family: var(--font-headline);
  font-size: clamp(40px, 6vw, var(--type-headline-xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.headline-lg {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.5vw, var(--type-headline-lg));
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.headline-md {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, var(--type-headline-md));
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
.body-lg {
  font-size: var(--type-body-lg);
  font-weight: 400;
  line-height: 1.6;
}
.body-md {
  font-size: var(--type-body-md);
  font-weight: 400;
  line-height: 1.6;
}
.label-caps {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.label-caps--secondary { color: var(--secondary); }
.label-caps--muted     { color: var(--stone-500); }
.interactive-text {
  font-family: var(--font-body);
  font-size: var(--type-interactive);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.serif-caps-tight {
  /* For the wordmark logo */
  font-family: var(--font-headline);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.serif-caps {
  /* For nav links */
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
}
.tnum { font-variant-numeric: tabular-nums; }

.text-muted    { color: var(--on-surface-variant); }
.text-subtle   { color: var(--stone-500); }
.text-fixed    { color: var(--on-surface); }
.text-secondary{ color: var(--secondary); }

/* 3. Layout / utilities ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}
@media (min-width: 768px) { .container { padding: 0 var(--margin-desktop); } }

.section            { padding: var(--space-section) 0; }
.section-tight      { padding: var(--space-16) 0; }
@media (max-width: 767px) {
  .section       { padding: var(--space-16) 0; }
  .section-tight { padding: var(--space-10) 0; }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.section-header__eyebrow { display: block; margin-bottom: var(--space-4); }
.section-header__link {
  border-bottom: 1px solid var(--on-surface);
  padding-bottom: 4px;
  white-space: nowrap;
}

.flex   { display: flex; }
.grid   { display: grid; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-gutter { gap: var(--gutter); }
.items-center  { align-items: center; }
.items-end     { align-items: flex-end; }
.items-start   { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-1 { flex: 1; }
.hide-mobile { display: none; }
@media (min-width: 768px) {
  .hide-mobile  { display: revert; }
  .hide-desktop { display: none; }
}

.divider-top { border-top: 1px solid var(--stone-200); }

/* 4. Buttons / inputs / chips ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 56px;
  padding: 0 32px;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--type-interactive);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color 200ms var(--ease-standard),
              color 200ms var(--ease-standard),
              border-color 200ms var(--ease-standard),
              opacity 200ms var(--ease-standard);
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--primary:hover { background: var(--primary-container); color: var(--on-primary); opacity: 0.95; }

.btn--outline {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--on-surface);
}
.btn--outline:hover { background: var(--on-surface); color: white; }

.btn--ghost {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--stone-300);
}
.btn--ghost:hover { background: var(--stone-100); border-color: var(--on-surface); color: var(--on-surface); }

.btn--block { width: 100%; }
.btn--sm    { height: 44px; padding: 0 20px; font-size: 12px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Inputs — bottom-border only, per design system */
.input,
.select,
.textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--on-surface);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: var(--type-body-md);
  color: var(--on-surface);
  border-radius: 0;
  transition: border-color 200ms var(--ease-standard);
  min-height: 44px;
}
.input::placeholder, .textarea::placeholder { color: var(--stone-400); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--primary);
  border-bottom-width: 2px;
  padding-bottom: 11px; /* keep height stable */
}
.input--error { border-bottom-color: var(--secondary); }
.input-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
}
.input-helper { font-size: 12px; color: var(--stone-500); margin-top: 6px; }
.input-error  { font-size: 12px; color: var(--secondary); margin-top: 6px; }
.field        { margin-bottom: var(--space-6); }

/* Inline newsletter / arrow input (footer) */
.inline-input {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--stone-300);
  padding-bottom: 8px;
  transition: border-color 200ms;
}
.inline-input:focus-within { border-bottom-color: var(--on-surface); }
.inline-input input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  min-height: 32px;
}
.inline-input input:focus-visible { outline: none; }
.inline-input button { color: var(--stone-500); }
.inline-input:focus-within button { color: var(--on-surface); }

/* Chips — rectangular, sharp corners */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--stone-200);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  cursor: pointer;
  transition: border-color 200ms, background-color 200ms, color 200ms;
}
.chip:hover { border-color: var(--stone-400); }
.chip.is-selected {
  background: var(--on-surface);
  color: white;
  border-color: var(--on-surface);
}

/* Color swatch (round) */
.swatch {
  width: 24px; height: 24px;
  border-radius: 9999px;
  border: 1px solid var(--stone-300);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 200ms;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-selected { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--on-surface); }

/* Icon button (header / utility) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--on-surface);
  cursor: pointer;
  position: relative;
  transition: opacity 200ms;
  border-radius: 0;
}
.icon-btn:hover { opacity: 0.65; color: var(--on-surface); }
.icon-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.icon-btn__count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 5. Header & nav ------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-mobile);
  padding: 0 var(--margin-mobile);
}
@media (min-width: 768px) {
  .site-header__inner {
    height: var(--header-height);
    padding: 0 var(--margin-desktop);
  }
}

.brand {
  font-family: var(--font-headline);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 22px;
  color: var(--on-surface);
  white-space: nowrap;
}
.brand:hover { color: var(--on-surface); }

.nav-primary {
  display: none;
}
@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
    gap: 40px;
    margin-left: 56px;
  }
  .nav-primary a {
    font-family: var(--font-headline);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--stone-600);
    padding-bottom: 4px;
    position: relative;
    transition: color 200ms;
  }
  .nav-primary a:hover { color: var(--on-surface); }
  .nav-primary a.is-active {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
@media (max-width: 1023px) { .header-actions { gap: var(--space-2); } }

/* Spacer below fixed header */
.header-spacer { height: var(--header-height-mobile); }
@media (min-width: 768px) { .header-spacer { height: var(--header-height); } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms var(--ease-standard), visibility 200ms;
}
.mobile-nav[aria-hidden="false"] { visibility: visible; opacity: 1; }
.mobile-nav__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 86%;
  max-width: 360px;
  background: var(--surface);
  padding: var(--margin-mobile);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 280ms var(--ease-out);
}
.mobile-nav[aria-hidden="false"] .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--stone-200);
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
  border-bottom: 1px solid var(--stone-100);
}
.mobile-nav__list a:hover { color: var(--on-surface); }

/* 6. Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--stone-200);
  background: var(--stone-50);
  margin-top: var(--space-section);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding: var(--space-20) var(--margin-mobile);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    padding: var(--space-20) var(--margin-desktop);
    gap: var(--space-8);
  }
}
.footer-brand .brand { font-size: 18px; }
.footer-brand p {
  font-family: var(--font-headline);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-500);
  line-height: 1.7;
  margin: var(--space-6) 0 0;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin: 0 0 var(--space-5);
}
.footer-col a {
  display: block;
  font-family: var(--font-headline);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-500);
  padding: 5px 0;
  transition: color 200ms;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(231, 229, 228, 0.5);
  padding: var(--space-6) var(--margin-mobile);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-headline);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-400);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (min-width: 768px) { .footer-bottom { padding: var(--space-6) var(--margin-desktop); } }

/* 7. Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 560px;
  max-height: 880px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero { height: auto; min-height: 0; padding: var(--space-12) 0; aspect-ratio: 4/5; max-height: none; }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.08);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  padding: 0 var(--margin-mobile);
  text-align: center;
  color: white;
}
@media (min-width: 768px) { .hero__content { padding: 0 var(--margin-desktop); } }
.hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-6);
}
.hero__headline {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 var(--space-8);
}

/* 8. Product card / grid ----------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter) var(--gutter);
}
@media (min-width: 768px)  { .product-grid--3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-12) var(--gutter); } }
@media (min-width: 768px)  { .product-grid--4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-12) var(--gutter); } }
@media (min-width: 1024px) { .product-grid--shop { grid-template-columns: repeat(3, 1fr); gap: var(--space-16) var(--gutter); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid--shop { grid-template-columns: repeat(2, 1fr); gap: var(--space-12) var(--gutter); }
}
@media (max-width: 767px) {
  .product-grid { gap: var(--space-8) var(--gutter); }
}

/* Asymmetric stagger — homepage New Arrivals: middle card sits 48px lower */
@media (min-width: 768px) {
  .product-grid--stagger > :nth-child(2) { margin-top: 48px; }
}

.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-container);
  overflow: hidden;
  margin-bottom: var(--space-5);
}
.product-card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }

.product-card__quick {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 1;
  opacity: 0;
  transition: opacity 200ms var(--ease-standard);
  pointer-events: none;
}
.product-card:hover .product-card__quick,
.product-card:focus-within .product-card__quick {
  opacity: 1;
  pointer-events: auto;
}
.product-card__quick .quick-add {
  background: rgba(255, 255, 255, 0.95);
  color: var(--on-surface);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
}
.product-card__quick .quick-add:hover { background: var(--on-surface); color: white; }

.product-card__name {
  font-size: var(--type-body-md);
  font-weight: 400;
  color: var(--on-surface);
  margin: 0 0 6px;
  line-height: 1.4;
}
.product-card__price {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-variant-numeric: tabular-nums;
}
.product-card__price-mrp {
  text-decoration: line-through;
  margin-left: 8px;
  color: var(--stone-400);
  text-transform: none;
  letter-spacing: 0.05em;
}

/* 9. Editorial pair ---------------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}
.editorial__media {
  grid-column: span 12;
  overflow: hidden;
}
.editorial__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.editorial__copy {
  grid-column: span 12;
}
@media (min-width: 768px) {
  .editorial__media { grid-column: span 7; }
  .editorial__copy  { grid-column: 9 / span 4; }
  .editorial--reverse .editorial__media { grid-column: 6 / span 7; order: 2; }
  .editorial--reverse .editorial__copy  { grid-column: span 4; order: 1; }
  .editorial__media--portrait img { aspect-ratio: 4 / 5; }
}
.editorial__copy h2 { margin-bottom: var(--space-6); }
.editorial__copy p {
  color: var(--stone-600);
  margin: 0 0 var(--space-8);
  line-height: 1.7;
}

/* Editorial pair with "pasted" overlap (PDP context) */
.pasted {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}
.pasted__media {
  grid-column: span 12;
  background: var(--surface-container);
  overflow: hidden;
}
.pasted__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pasted__copy {
  grid-column: span 12;
  background: white;
  border: 1px solid var(--stone-100);
  padding: var(--space-12);
}
@media (min-width: 768px) {
  .pasted__media { grid-column: span 7; padding-right: var(--space-12); }
  .pasted__copy  { grid-column: 6 / span 7; margin-left: -64px; padding: var(--space-12); }
}
@media (min-width: 1024px) {
  .pasted__media { grid-column: span 7; }
  .pasted__copy  { grid-column: 8 / span 5; margin-left: -96px; }
}

/* 10. Shop / PLP ------------------------------------------------------- */
.page-header {
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}
.page-header h1 { margin-bottom: var(--space-4); }
.page-header p { color: var(--on-surface-variant); max-width: 64ch; margin: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-12);
  border-bottom: 1px solid var(--stone-200);
}
.filter-group { display: flex; flex-direction: column; gap: var(--space-3); }
.filter-group__label {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}
.filter-group__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-group__swatches { display: flex; gap: 16px; align-items: center; }

.sort-control {
  display: flex; align-items: center; gap: 12px;
}
.sort-control select {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--type-interactive);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-surface);
  min-height: 36px;
  cursor: pointer;
  padding-right: 24px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%231b1b1b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.sort-control select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.shop-toolbar__count {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: var(--space-6);
}

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-24);
}
.pagination .num {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--stone-400);
  cursor: pointer;
  padding-bottom: 4px;
  transition: color 200ms;
}
.pagination .num:hover { color: var(--on-surface); }
.pagination .num.is-active {
  color: var(--on-surface);
  border-bottom: 1px solid var(--on-surface);
}
.pagination button {
  color: var(--on-surface);
  cursor: pointer;
}
.pagination button[disabled] { color: var(--stone-300); cursor: default; }

/* 11. PDP -------------------------------------------------------------- */
.pdp {
  padding-top: var(--space-12);
  padding-bottom: var(--space-section);
}
.pdp__layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.pdp__gallery   { grid-column: span 12; display: flex; flex-direction: column; gap: var(--gutter); }
.pdp__info      { grid-column: span 12; }
@media (min-width: 1024px) {
  .pdp__gallery { grid-column: span 7; }
  .pdp__info    { grid-column: span 5; position: sticky; top: calc(var(--header-height) + 32px); align-self: start; }
}
.pdp__main {
  aspect-ratio: 3 / 4;
  background: var(--surface-container);
  overflow: hidden;
}
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
.pdp__thumb {
  aspect-ratio: 3 / 4;
  background: var(--surface-container);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active::after {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid var(--on-surface);
  pointer-events: none;
}

.pdp__eyebrow { color: var(--stone-500); margin-bottom: var(--space-2); }
.pdp__title { margin-bottom: var(--space-4); }
.pdp__price {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: 0 0 var(--space-8);
}
.pdp__price-mrp {
  font-size: 14px;
  color: var(--stone-400);
  text-decoration: line-through;
  letter-spacing: 0.04em;
}
.pdp__price-discount {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pdp__description {
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin: 0 0 var(--space-6);
}
.pdp__meta-list {
  display: flex; flex-direction: column; gap: 8px;
  margin: 0 0 var(--space-10);
}
.pdp__meta-list li {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
}

.pdp__option-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-4);
}
.pdp__option-row .size-guide {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--stone-500);
}
.size-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: var(--space-8);
}
.size-row button {
  height: 48px;
  border: 1px solid var(--stone-200);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--on-surface);
  transition: border-color 200ms, background-color 200ms, color 200ms;
}
.size-row button:hover { border-color: var(--on-surface); }
.size-row button.is-selected {
  background: var(--on-surface);
  color: white;
  border-color: var(--on-surface);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stone-200);
  height: 48px;
  margin-bottom: var(--space-6);
}
.qty-stepper button { width: 44px; height: 100%; font-size: 18px; font-weight: 400; color: var(--on-surface); }
.qty-stepper button:hover { background: var(--stone-100); }
.qty-stepper input {
  width: 56px; height: 100%;
  border: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  background: transparent;
}
.qty-stepper input:focus-visible { outline: 0; }

.pdp__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-10); }

/* Accordion */
.accordion { border-top: 1px solid var(--stone-200); }
.accordion__item { border-bottom: 1px solid var(--stone-100); }
.accordion__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--on-surface);
}
.accordion__btn .material-symbols-outlined { font-size: 20px; transition: transform 200ms; }
.accordion__btn[aria-expanded="true"] .material-symbols-outlined { transform: rotate(180deg); }
.accordion__panel {
  padding: 0 0 var(--space-6);
  display: none;
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.7;
}
.accordion__panel[data-open="true"] { display: block; }
.accordion__panel ul { padding-left: 18px; list-style: disc; }
.accordion__panel ul li { margin-bottom: 4px; }

/* 12. Cart ------------------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1.5fr 1fr; gap: var(--space-16); } }

.cart-list { display: flex; flex-direction: column; }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--stone-200);
  align-items: start;
}
@media (min-width: 640px) { .cart-item { grid-template-columns: 120px 1fr auto; gap: var(--space-6); } }
.cart-item__image {
  width: 96px;
  aspect-ratio: 3 / 4;
  background: var(--surface-container);
  overflow: hidden;
}
@media (min-width: 640px) { .cart-item__image { width: 120px; } }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: var(--type-body-md); font-weight: 400; margin: 0 0 6px; color: var(--on-surface); }
.cart-item__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: var(--space-3);
}
.cart-item__qty { display: flex; align-items: center; gap: var(--space-4); }
.cart-item__remove {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cart-item__remove:hover { color: var(--secondary); }
.cart-item__price {
  font-family: var(--font-body);
  font-size: var(--type-body-md);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--on-surface);
  text-align: right;
  white-space: nowrap;
}

.cart-summary {
  border-top: 1px solid var(--stone-200);
  padding-top: var(--space-8);
}
@media (min-width: 1024px) {
  .cart-summary {
    border-top: 0;
    padding: 0;
    position: sticky;
    top: calc(var(--header-height) + 32px);
    align-self: start;
  }
}
.cart-summary h2 { margin-bottom: var(--space-8); }
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--on-surface-variant);
}
.cart-summary__row--total {
  border-top: 1px solid var(--stone-200);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  font-size: var(--type-body-lg);
  font-weight: 500;
  color: var(--on-surface);
}
.cart-summary .btn { margin-top: var(--space-6); }

.coupon-row { display: flex; gap: var(--space-3); margin: var(--space-6) 0; align-items: flex-end; }
.coupon-row .input { flex: 1; }
.coupon-row .btn { white-space: nowrap; height: 44px; padding: 0 16px; }

.empty-state {
  text-align: center;
  padding: var(--space-24) var(--space-6);
  border: 1px solid var(--stone-200);
}
.empty-state .material-symbols-outlined { font-size: 56px; color: var(--stone-400); margin-bottom: var(--space-4); }
.empty-state h3 { font-family: var(--font-headline); font-weight: 400; font-size: 28px; margin: 0 0 var(--space-3); }
.empty-state p { color: var(--on-surface-variant); margin: 0 0 var(--space-8); }

/* 13. Static prose ----------------------------------------------------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--type-body-lg);
  line-height: 1.8;
  color: var(--on-surface-variant);
}
.prose h1 {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(36px, 5vw, var(--type-headline-lg));
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: 0 0 var(--space-6);
}
.prose h2 {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(22px, 3vw, var(--type-headline-md));
  line-height: 1.3;
  color: var(--on-surface);
  margin: var(--space-12) 0 var(--space-4);
}
.prose h3 {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin: var(--space-8) 0 var(--space-3);
}
.prose p { margin: 0 0 var(--space-4); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose ul li { margin-bottom: 6px; }
.prose strong { font-weight: 600; color: var(--on-surface); }
.prose a { color: var(--primary); border-bottom: 1px solid currentColor; }

/* 14. A11y / motion ---------------------------------------------------- */
.sr-only {
  position: absolute;
  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;
  top: -40px; left: 8px;
  background: var(--on-surface);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 200ms;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { top: 8px; color: white; }

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