/* ============================================================
   AaviCasa — design tokens
   Derived from the AaviCasa Design System (claude.ai/design).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@400..700&display=swap');

:root {
  /* Forest (primary brand green) */
  --forest-950: #11211a;
  --forest-900: #16291f;
  --forest-800: #1e3527;
  --forest-700: #234032;
  --forest-600: #2f5040;
  --forest-500: #426955;
  --forest-400: #5e8270;

  /* Gold (antique gold lettering) */
  --gold-600: #b8945a;
  --gold-500: #c9a86a;
  --gold-400: #d8bc85;
  --gold-300: #e6d2a2;
  --gold-200: #f0e2c2;

  /* Blush (rose-pink house mark) */
  --blush-600: #bd6c84;
  --blush-500: #ce7e95;
  --blush-400: #dc9fb1;
  --blush-300: #eac3cf;
  --blush-200: #f3dde4;

  /* Cream / ivory canvas */
  --cream-50:  #fbf7ef;
  --cream-100: #f6f0e2;
  --cream-200: #efe6d3;
  --cream-300: #e7dcc6;

  /* Warm neutrals */
  --ink-900: #211e1b;
  --ink-700: #3d3833;
  --stone-600: #6e6760;
  --stone-500: #847c73;
  --stone-400: #9b9389;
  --stone-300: #c3bbae;
  --hairline:  #e4ddcf;
  --hairline-dark: #2f5040;

  --white: #ffffff;
  --black: #000000;

  --color-canvas: var(--cream-50);
  --color-primary: var(--forest-700);
  --color-sale: #a8473f;

  /* Fonts */
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--color-canvas); color: var(--ink-900); font-family: var(--font-sans); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink-900); margin: 0; }
p { margin: 0; }
a { color: var(--forest-700); text-decoration: none; }
a:hover { color: var(--forest-800); }
img { max-width: 100%; }
button { font-family: var(--font-sans); }

/* ---- Utility / announcement bar ---- */
.ac-utility {
  background: var(--forest-700);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 48px;
  font-size: 13px;
}
.ac-utility .wordmark {
  font-family: 'Cinzel', var(--font-display);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 5px;
  color: var(--gold-300);
  padding-left: 5px;
  text-align: center;
}
.ac-utility .ship {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-300);
  font-weight: 500;
}

/* ---- Primary header ---- */
.ac-header { background: var(--cream-50); border-bottom: 1px solid var(--hairline); }
.ac-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px 48px 18px;
}
.ac-search {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  max-width: 400px;
}
.ac-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  width: 100%;
}
.ac-logo { text-align: center; line-height: 1; }
.ac-logo .l1, .ac-logo .l2 {
  font-family: 'Cinzel', var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--forest-700);
  font-weight: 500;
}
.ac-logo .l1 { letter-spacing: 13px; padding-left: 15px; }
.ac-logo .l2 { letter-spacing: 14px; padding-left: 16px; margin-top: 5px; }
.ac-utilities { display: flex; gap: 32px; justify-content: flex-end; align-items: flex-start; }
.ac-util-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--ink-900);
  position: relative;
}
.ac-util-link span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.ac-bag-count {
  position: absolute;
  top: -6px;
  right: 6px;
  background: var(--blush-500);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 28px;
  padding: 2px 40px 20px;
  font-size: 13px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.ac-nav a { color: var(--ink-900); }
.ac-nav a.active { color: var(--forest-700); border-bottom: 1.5px solid var(--forest-700); padding-bottom: 3px; }
.ac-nav a.sale { color: var(--color-sale); }

/* ---- Page title band ---- */
.ac-title-band {
  position: relative;
  text-align: center;
  padding: 64px 24px 40px;
  border-bottom: 1px solid var(--hairline);
  background-color: var(--cream-50);
  background-image:
    linear-gradient(45deg, rgba(94,130,112,0.07) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.07) 75%),
    linear-gradient(45deg, rgba(94,130,112,0.07) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.07) 75%);
  background-size: 44px 44px, 44px 44px;
  background-position: 0 0, 22px 22px;
}
.ac-title-band .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 14px;
}
.ac-title-band .eyebrow a { color: var(--gold-600); }
.ac-title-band h1 { font-size: 52px; margin: 0 0 12px; }
.ac-hero-frame { max-width: 1000px; margin: 0 auto 24px; overflow: hidden; }
.ac-hero-frame img { display: block; width: 100%; height: 340px; object-fit: cover; background: var(--cream-200); }
.ac-title-band .sub { font-size: 17px; color: var(--stone-600); max-width: 500px; margin: 0 auto; }

/* ---- Toolbar ---- */
.ac-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 16px;
}
.ac-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-chip {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--stone-300);
}
.ac-chip.is-active {
  background: var(--forest-700);
  color: var(--cream-50);
  border-color: var(--forest-700);
}
.ac-chip-sm {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .2s ease;
  background: transparent;
  color: var(--stone-600);
  border: 1px solid var(--stone-300);
}
.ac-chip-sm.is-active { background: var(--gold-500); color: var(--forest-950); border-color: var(--gold-500); }
.ac-sort-group { display: flex; align-items: center; gap: 10px; }
.ac-sort-group .count { font-size: 13px; color: var(--stone-500); }
.ac-sort-group .sep { width: 1px; height: 18px; background: var(--hairline); }
.ac-sort-group label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--stone-600); font-weight: 500; }
.ac-sort-group select {
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--ink-900);
}
.ac-subrow {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.ac-subrow .label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--stone-500); font-weight: 500; }
.ac-subrow .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Product grid ---- */
.ac-grid-section { padding: 48px 48px 96px; }
.ac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ac-card { display: flex; flex-direction: column; gap: 12px; }
.ac-card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}
.ac-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
}
.ac-card:hover .ac-card-photo img { transform: scale(1.04); }
.ac-card-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(251,247,239,0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
}
.ac-card:hover .ac-card-wish { opacity: 1; }
.ac-card-body { display: flex; flex-direction: column; gap: 8px; }
.ac-card-body h3 { font-size: 18px; }
.ac-card-price { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-sans); font-size: 15px; }
.ac-card-price .price { color: var(--ink-900); font-weight: 500; }
.ac-card-price .price.on-sale { color: var(--color-sale); }
.ac-card-price .compare { color: var(--stone-400); text-decoration: line-through; }
.ac-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-thumb {
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  background-color: var(--cream-100);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--hairline);
  outline: none;
}
.ac-thumb.is-active { border-color: var(--forest-700); }

/* Photo not downloaded yet — quiet placeholder instead of a broken image */
.ac-card-photo.is-missing img,
.ac-zoom-img.is-missing { visibility: hidden; }
.ac-card-photo.is-missing::after,
.ac-hero-frame.is-missing::after {
  content: "Photo coming soon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-200);
  color: var(--stone-500);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.ac-hero-frame.is-missing { position: relative; min-height: 340px; }
.ac-hero-frame.is-missing img { visibility: hidden; }
.ac-thumb.is-missing { opacity: 0.35; }

/* ---- Empty state ---- */
.ac-empty {
  max-width: 520px;
  margin: 40px auto 24px;
  text-align: center;
  border: 1px solid var(--hairline);
  padding: 56px 32px;
  background: var(--cream-100);
}
.ac-empty h3 { font-size: 26px; color: var(--forest-800); margin-bottom: 12px; }
.ac-empty p { font-size: 15px; line-height: 1.65; color: var(--stone-600); margin: 0 0 28px; }
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .05s ease;
  padding: 13px 26px;
  font-size: 13px;
  letter-spacing: 1.6px;
  background: var(--color-primary);
  color: var(--cream-50);
  border: 1px solid var(--color-primary);
}
.ac-btn:active { transform: translateY(1px); }

/* ---- Footer ---- */
.ac-footer {
  position: relative;
  background-color: #eaf0ea;
  background-image:
    linear-gradient(to bottom, var(--cream-100) 0%, rgba(246,240,226,0) 100%),
    linear-gradient(45deg, rgba(94,130,112,0.07) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.07) 75%),
    linear-gradient(45deg, rgba(94,130,112,0.07) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.07) 75%);
  background-size: 100% 150px, 44px 44px, 44px 44px;
  background-position: top, 0 0, 22px 22px;
  background-repeat: no-repeat, repeat, repeat;
  color: var(--ink-900);
}
.ac-footer-cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 72px 48px 56px;
  max-width: 1360px;
  margin: 0 auto;
}
.ac-footer-cols .col-title { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--forest-700); font-weight: 600; margin-bottom: 20px; }
.ac-footer-cols .links { display: flex; flex-direction: column; gap: 13px; font-size: 14px; }
.ac-footer-cols .links a, .ac-footer-cols .links span { color: var(--ink-900); }
.ac-footer-cols .links span.muted { color: var(--stone-600); }
.ac-social { display: flex; gap: 16px; margin-bottom: 32px; }
.ac-social a { display: flex; color: var(--forest-700); }
.ac-region { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.ac-region span { font-size: 14px; color: var(--ink-900); font-weight: 500; }
.ac-border-band { position: relative; z-index: 2; border-top: 1px solid rgba(94,130,112,0.18); }
.ac-border-band img { display: block; width: 100%; height: auto; }
.ac-footer-dark { position: relative; z-index: 2; background: var(--forest-800); color: var(--gold-200); }
.ac-footer-notice { max-width: 1360px; margin: 0 auto; padding: 22px 48px; font-size: 13px; line-height: 1.6; text-align: center; color: var(--gold-200); }
.ac-footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gold-300);
  letter-spacing: 0.4px;
}

/* ---- Lightbox ---- */
.ac-zoom {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(18,26,21,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  cursor: zoom-out;
}
.ac-zoom[hidden] { display: none; }
.ac-zoom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: min(1500px, calc(100vw - 96px));
}
.ac-zoom-row img.ac-zoom-img {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.ac-zoom-panel {
  flex: 0 1 380px;
  min-width: 260px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  cursor: default;
  color: var(--cream-50);
}
.ac-zoom-panel .kicker { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold-300); font-weight: 500; margin-bottom: 12px; }
.ac-zoom-panel h3 { font-size: 26px; margin: 0 0 20px; color: var(--cream-50); }
.ac-zoom-panel p.desc { font-size: 14px; line-height: 1.7; color: rgba(251,247,239,0.82); margin: 0 0 22px; text-wrap: pretty; }
.ac-zoom-panel .blocks { display: flex; flex-direction: column; gap: 18px; }
.ac-zoom-panel .blocks .label { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(251,247,239,0.5); margin-bottom: 6px; }
.ac-zoom-panel .blocks p { font-size: 14px; line-height: 1.7; color: rgba(251,247,239,0.82); margin: 0; }
.ac-zoom-panel .note { font-size: 13px; line-height: 1.65; color: rgba(251,247,239,0.5); margin: 24px 0 0; font-style: italic; }
.ac-zoom-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(251,247,239,0.4);
  color: var(--cream-50);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ac-zoom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.ac-zoom-nav button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(251,247,239,0.4);
  color: var(--cream-50);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.ac-zoom-nav .counter { font-family: var(--font-sans); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(251,247,239,0.75); }

/* ---- Buttons: extra variants ---- */
.ac-btn-on-image { background: var(--cream-50); color: var(--ink-900); border-color: var(--cream-50); }
.ac-btn-outline-dark { background: transparent; color: var(--cream-50); border-color: var(--cream-50); }

/* ---- Home hero (three-image cross-fade, 21s loop) ---- */
.ac-hero { position: relative; height: 640px; overflow: hidden; }
.ac-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ac-hero-img.a { animation: heroFadeA 21s ease-in-out infinite; }
.ac-hero-img.b { animation: heroFadeB 21s ease-in-out infinite; }
.ac-hero-img.c { animation: heroFadeC 21s ease-in-out infinite; }
@keyframes heroFadeA { 0%, 28% { opacity: 1; } 33%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroFadeB { 0%, 28% { opacity: 0; } 33%, 61% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes heroFadeC { 0%, 61% { opacity: 0; } 66%, 95% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ac-hero-img { animation: none; }
  .ac-hero-img.b, .ac-hero-img.c { opacity: 0; }
}
.ac-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,33,26,0.55) 0%, rgba(17,33,26,0.3) 45%, rgba(17,33,26,0.1) 70%);
  pointer-events: none;
}
.ac-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 72px;
  max-width: 720px;
  pointer-events: none;
}
.ac-hero-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: 18px;
}
.ac-hero-copy h1 { font-size: 52px; line-height: 1.1; color: var(--cream-50); margin: 0 0 20px; }
.ac-hero-copy p { font-size: 18px; line-height: 1.6; color: var(--cream-100); margin: 0 0 32px; max-width: 420px; }
.ac-hero-cta { pointer-events: auto; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Promo strip ---- */
.ac-promo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--hairline);
}
.ac-promo > div { padding: 32px 24px; text-align: center; border-right: 1px solid var(--hairline); }
.ac-promo > div:last-child { border-right: none; }
.ac-promo .t { font-family: var(--font-display); font-size: 22px; color: var(--forest-700); margin-bottom: 6px; }
.ac-promo .s { font-size: 14px; color: var(--stone-600); }

/* ---- Category tiles (Home + Shop) ---- */
.ac-tiles-section { padding: 96px 48px 40px; }
.ac-tiles-head { text-align: center; margin-bottom: 48px; }
.ac-tiles-head .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 14px;
}
.ac-tiles-head h2 { font-size: 42px; color: var(--ink-900); margin: 0; }
.ac-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ac-tile { display: block; }
.ac-tile-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--cream-200);
  transition: filter .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s cubic-bezier(.2,.6,.2,1);
}
.ac-tile-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-tile:hover .ac-tile-frame {
  filter: brightness(1.08) contrast(1.05) saturate(1.05);
  box-shadow: inset 0 2px 40px rgba(255,255,255,0.35), inset 0 -60px 60px rgba(17,33,26,0.25);
}
.ac-tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,33,26,0.5) 0%, rgba(17,33,26,0) 55%);
  pointer-events: none;
}
.ac-tile-cap {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-tile-label { font-family: var(--font-display); font-size: 26px; color: var(--cream-50); }
.ac-tile-label.sm { font-size: 24px; }
.ac-tile-cta { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-300); }

/* ---- Home brand-story band ---- */
.ac-story-band {
  background-color: #eaf0ea;
  background-image:
    linear-gradient(45deg, rgba(94,130,112,0.09) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.09) 75%),
    linear-gradient(45deg, rgba(94,130,112,0.09) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.09) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-top: 56px;
}
.ac-story-img {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.ac-story-img img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  box-shadow: 0 8px 28px rgba(35,45,30,0.14);
}
.ac-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}
.ac-story-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b56a83;
  font-weight: 600;
  margin-bottom: 20px;
}
.ac-story-copy h2 { font-size: 40px; line-height: 1.1; color: var(--forest-800); margin: 0 0 24px; }
.ac-story-copy p { font-size: 18px; line-height: 1.65; color: #3f5a49; margin: 0 0 32px; max-width: 460px; }

/* ---- Newsletter ---- */
.ac-newsletter { background: var(--cream-100); text-align: center; padding: 84px 24px; }
.ac-newsletter .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 16px;
}
.ac-newsletter h2 { font-size: 38px; color: var(--ink-900); margin: 0 0 14px; }
.ac-newsletter > p { font-size: 16px; color: var(--stone-600); margin: 0 0 28px; }
.ac-newsletter form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.ac-newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--white);
  color: var(--ink-900);
}
.ac-newsletter .ac-note {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--forest-600);
  margin-top: 4px;
}

/* ---- Story page ---- */
.ac-story-hero {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--forest-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 24px 26px;
}
.ac-story-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: 10px;
}
.ac-story-hero h1 { font-size: 38px; line-height: 1.06; color: var(--cream-50); margin: 0; max-width: 900px; }

.ac-prose { background: var(--cream-50); padding: 84px 24px 0; }
.ac-prose > p,
.ac-closing > p,
.ac-split p {
  font-size: 19px;
  line-height: 1.75;
  color: #3f5a49;
  margin: 0 auto 26px;
  max-width: 720px;
  text-wrap: pretty;
}
.ac-quote {
  background-color: #eaf0ea;
  background-image:
    linear-gradient(45deg, rgba(94,130,112,0.09) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.09) 75%),
    linear-gradient(45deg, rgba(94,130,112,0.09) 25%, transparent 25%, transparent 75%, rgba(94,130,112,0.09) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
  padding: 88px 24px;
  margin: 76px 0;
  text-align: center;
}
.ac-quote .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b56a83;
  font-weight: 600;
  margin-bottom: 24px;
}
.ac-quote p {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.28;
  color: var(--forest-800);
  margin: 0 auto;
  max-width: 860px;
  text-wrap: pretty;
}
.ac-split {
  background: var(--cream-50);
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ac-split p { max-width: none; }
.ac-split-img { aspect-ratio: 4 / 5; }
.ac-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-closing {
  background: var(--cream-50);
  padding: 40px 24px 96px;
  text-align: center;
}
.ac-closing .lead {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.4;
  color: var(--forest-800);
  margin: 0 auto 20px;
  max-width: 720px;
}
.ac-closing > p { margin-bottom: 40px; }
.ac-closing::before {
  content: "";
  display: block;
  max-width: 720px;
  margin: 0 auto 56px;
  border-top: 1px solid var(--hairline);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ac-header-row { grid-template-columns: 1fr; gap: 14px; padding: 16px 20px; }
  .ac-search { max-width: none; order: 2; }
  .ac-logo { order: 1; }
  .ac-utilities { order: 3; justify-content: center; }
  .ac-utility, .ac-nav, .ac-toolbar, .ac-title-band { padding-left: 20px; padding-right: 20px; }
  .ac-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ac-grid-section { padding: 32px 20px 64px; }
  .ac-title-band h1 { font-size: 38px; }
  .ac-footer-cols { grid-template-columns: 1fr 1fr; padding: 48px 20px 40px; gap: 28px; }
  .ac-zoom-row { flex-direction: column; overflow-y: auto; max-height: calc(100vh - 96px); }
  .ac-zoom-row img.ac-zoom-img { max-height: 50vh; }
  .ac-zoom-panel { flex: 1 1 auto; max-height: none; }
}
@media (max-width: 480px) {
  .ac-grid { grid-template-columns: 1fr; }
  .ac-footer-cols { grid-template-columns: 1fr; }
}

/* ---- Responsive: home / story sections ---- */
@media (max-width: 1100px) {
  .ac-tiles { grid-template-columns: repeat(2, 1fr); }
  .ac-story-band { grid-template-columns: 1fr; }
  .ac-story-img { min-height: 0; }
  .ac-story-copy { padding: 56px 32px; }
  .ac-split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .ac-hero { height: 520px; }
  .ac-hero-copy { padding: 0 24px; }
  .ac-hero-copy h1 { font-size: 36px; }
  .ac-hero-copy p { font-size: 16px; }
  .ac-promo { grid-template-columns: 1fr; }
  .ac-promo > div { border-right: none; border-bottom: 1px solid var(--hairline); }
  .ac-promo > div:last-child { border-bottom: none; }
  .ac-tiles-section { padding: 56px 20px 24px; }
  .ac-tiles-head h2 { font-size: 30px; }
  .ac-quote p { font-size: 28px; }
  .ac-prose > p, .ac-closing > p, .ac-split p { font-size: 17px; }
  .ac-story-hero h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .ac-tiles { grid-template-columns: 1fr; }
}

/* ---- Breadcrumb ---- */
.ac-breadcrumb {
  padding: 20px 48px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone-500);
}
.ac-breadcrumb a { color: var(--gold-600); }
.ac-breadcrumb span { margin: 0 6px; }
.ac-breadcrumb .current { color: var(--stone-500); margin: 0; }

/* ---- Product page ---- */
.ac-pdp {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 32px 48px 96px;
  max-width: 1360px;
  margin: 0 auto;
}
.ac-pdp-main {
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ac-pdp-main img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.ac-pdp-thumbs { margin-top: 12px; }
.ac-pdp-thumbs .ac-thumb { width: 64px; height: 64px; }

.ac-pdp-buy { padding-top: 4px; }
.ac-pdp-buy .eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 12px;
}
.ac-pdp-buy h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.ac-pdp-price {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 28px;
}
.ac-pdp-row { margin-bottom: 20px; }
.ac-pdp-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--stone-600);
  font-weight: 500;
  margin-bottom: 10px;
}
.ac-pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ac-pdp-sizes a.ac-chip-sm { text-decoration: none; }
.ac-pdp-sizes a.ac-chip-sm:hover { border-color: var(--forest-700); color: var(--forest-700); }

/* quantity stepper — shared by product page and bag */
.ac-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-xs);
  background: var(--white);
  overflow: hidden;
}
.ac-qty button {
  width: 40px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  color: var(--ink-900);
  line-height: 1;
}
.ac-qty button:hover { background: var(--cream-100); }
.ac-qty input {
  width: 52px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  background: transparent;
  -moz-appearance: textfield;
}
.ac-qty input::-webkit-outer-spin-button,
.ac-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ac-btn-full { width: 100%; }
.ac-btn:disabled { opacity: .5; cursor: not-allowed; }

.ac-pdp-feedback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--forest-600);
}
.ac-pdp-ship {
  margin-top: 14px;
  font-size: 13px;
  color: var(--stone-500);
  line-height: 1.6;
}
.ac-pdp-enquire-note {
  font-size: 15px;
  color: var(--stone-600);
  margin-bottom: 14px;
}

/* description blocks, on a light background this time */
.ac-pdp-details {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.ac-pdp-details .desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone-600);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.ac-pdp-details .blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 26px;
}
.ac-pdp-details .blocks .label {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 6px;
}
.ac-pdp-details .blocks p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0;
}
.ac-pdp-details .note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone-500);
  margin: 26px 0 0;
  font-style: italic;
}

/* ---- Bag ---- */
.ac-cart {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 96px;
}
.ac-cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.ac-cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.ac-cart-line:first-child { border-top: 1px solid var(--hairline); }
.ac-cart-thumb {
  display: block;
  width: 96px;
  aspect-ratio: 4 / 5;
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ac-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-cart-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-900);
  display: block;
  margin-bottom: 4px;
}
.ac-cart-unit { font-size: 13px; color: var(--stone-500); margin-bottom: 8px; }
.ac-cart-remove {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  letter-spacing: .6px;
  color: var(--stone-500);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-cart-remove:hover { color: var(--color-sale); }
.ac-cart-line-total {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.ac-cart-summary {
  background: var(--cream-100);
  border: 1px solid var(--hairline);
  padding: 32px;
  position: sticky;
  top: 24px;
}
.ac-cart-summary h2 { font-size: 24px; margin: 0 0 22px; }
.ac-cart-summary .row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--stone-600);
  padding: 9px 0;
}
.ac-cart-summary .row.total {
  border-top: 1px solid var(--hairline);
  margin-top: 10px;
  padding-top: 18px;
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-900);
}
.ac-cart-summary .ac-btn { margin-top: 22px; }
.ac-cart-nudge {
  font-size: 13px;
  color: var(--gold-600);
  line-height: 1.6;
  margin: 8px 0 0;
}
.ac-cart-nudge.is-met { color: var(--forest-600); }
.ac-cart-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone-600);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.ac-cart-continue {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .6px;
  color: var(--stone-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-cart-empty {
  text-align: center;
  padding: 72px 24px;
  border: 1px solid var(--hairline);
  background: var(--cream-100);
  max-width: 560px;
  margin: 0 auto;
}
.ac-cart-empty h2 { font-size: 28px; color: var(--forest-800); margin-bottom: 12px; }
.ac-cart-empty p { font-size: 15px; color: var(--stone-600); margin-bottom: 26px; }

/* the bag badge only shows once something is in it */
.ac-bag-count[hidden] { display: none; }

/* card titles are links now */
.ac-card-body h3 a { color: var(--ink-900); }
.ac-card-body h3 a:hover { color: var(--forest-700); }
.ac-card-photo { display: block; }

/* ---- Responsive: product page + bag ---- */
@media (max-width: 900px) {
  .ac-pdp { grid-template-columns: 1fr; gap: 32px; padding: 24px 20px 64px; }
  .ac-pdp-buy h1 { font-size: 30px; }
  .ac-cart-grid { grid-template-columns: 1fr; gap: 32px; }
  .ac-cart-summary { position: static; }
  .ac-breadcrumb { padding: 16px 20px 0; }
  .ac-cart { padding: 32px 20px 64px; }
}
@media (max-width: 560px) {
  .ac-cart-line {
    grid-template-columns: 72px 1fr;
    grid-template-areas: "thumb info" "qty total";
    row-gap: 14px;
  }
  .ac-cart-thumb { grid-area: thumb; width: 72px; }
  .ac-cart-info { grid-area: info; }
  .ac-cart-line .ac-qty { grid-area: qty; }
  .ac-cart-line-total { grid-area: total; text-align: right; }
}

/* ============================================================
   Phone refinements
   These come last so they win over the earlier breakpoints
   without needing extra specificity.
   ============================================================ */
@media (max-width: 720px) {

  /* ---- announcement bar ---------------------------------- */
  /* The wordmark repeats the logo directly beneath it and only
     squeezed the shipping line into two ragged rows. */
  .ac-utility { padding: 10px 16px; font-size: 11.5px; justify-content: center; }
  .ac-utility .wordmark { display: none; }
  .ac-utility .ship { gap: 7px; text-align: center; line-height: 1.35; }

  /* ---- header -------------------------------------------- */
  .ac-header-row { padding: 16px 16px 10px; gap: 14px; }
  .ac-logo .l1, .ac-logo .l2 { font-size: 27px; }
  .ac-logo .l1 { letter-spacing: 10px; padding-left: 11px; }
  .ac-logo .l2 { letter-spacing: 11px; padding-left: 12px; margin-top: 3px; }
  .ac-search { padding: 10px 16px; }
  .ac-search input { font-size: 14px; }
  .ac-utilities { gap: 34px; }
  .ac-util-link span { font-size: 10px; }

  /* ---- category nav -------------------------------------- */
  /* Eight long labels centred with wrap enabled produced ragged,
     uneven rows. One scrolling line reads as deliberate. */
  .ac-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    column-gap: 22px;
    padding: 4px 16px 14px;
    font-size: 12px;
  }
  .ac-nav::-webkit-scrollbar { display: none; }
  .ac-nav a { white-space: nowrap; flex: none; }

  /* ---- page title band ----------------------------------- */
  .ac-title-band { padding: 34px 16px 24px; }
  .ac-title-band h1 { font-size: 32px; }
  .ac-title-band .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .ac-title-band .sub { font-size: 15px; }
  .ac-hero-frame { margin-bottom: 18px; }
  .ac-hero-frame img { height: 200px; }

  /* ---- filter toolbar ------------------------------------ */
  /* Was the worst of it: the row label sat inline with wrapping
     chips, so each chip landed at a different indent. Label on its
     own line, chips on one scrolling line under it. */
  .ac-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 16px 18px;
  }
  .ac-chips,
  .ac-subrow .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .ac-chips::-webkit-scrollbar,
  .ac-subrow .row::-webkit-scrollbar { display: none; }
  .ac-chips .ac-chip,
  .ac-subrow .row .ac-chip-sm { flex: none; white-space: nowrap; }
  .ac-subrow {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 0;
  }
  .ac-sort-group { justify-content: flex-start; }
  .ac-sort-group select { flex: 1; max-width: 190px; }

  /* ---- product grid -------------------------------------- */
  /* Two up: one per row turned an 11-item collection into eleven
     full screens of scrolling. */
  .ac-grid-section { padding: 22px 16px 56px; }
  .ac-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .ac-card { gap: 9px; }
  .ac-card-body { gap: 5px; }
  .ac-card-body h3 { font-size: 15px; line-height: 1.25; }
  .ac-card-price { font-size: 13.5px; }
  .ac-thumbs { gap: 6px; }
  .ac-thumbs .ac-thumb { width: 34px; height: 34px; }
  .ac-card-wish { width: 30px; height: 30px; top: 8px; right: 8px; }

  /* ---- product page -------------------------------------- */
  .ac-breadcrumb { padding: 14px 16px 0; font-size: 11px; }
  .ac-pdp { padding: 18px 16px 56px; gap: 26px; }
  .ac-pdp-buy h1 { font-size: 27px; }
  .ac-pdp-price { font-size: 20px; margin-bottom: 22px; }
  .ac-pdp-thumbs .ac-thumb { width: 52px; height: 52px; }
  .ac-pdp-details { margin-top: 30px; padding-top: 24px; }

  /* ---- bag ----------------------------------------------- */
  .ac-cart { padding: 26px 16px 56px; }
  .ac-cart-summary { padding: 24px 20px; }

  /* ---- footer -------------------------------------------- */
  .ac-footer-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 40px 16px 32px; }
  .ac-footer-notice { padding: 18px 16px; font-size: 12px; }
  .ac-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  /* Keep two across — cards are ~160px here, which still reads well
     and matches how phone shoppers expect a grid to behave. */
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
  .ac-title-band h1 { font-size: 28px; }
  .ac-card-body h3 { font-size: 14px; }
  .ac-footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .ac-logo .l1, .ac-logo .l2 { font-size: 23px; }
  .ac-logo .l1 { letter-spacing: 8px; padding-left: 9px; }
  .ac-logo .l2 { letter-spacing: 9px; padding-left: 10px; }
  .ac-utilities { gap: 26px; }
  .ac-grid { gap: 12px 10px; }
}

@media (max-width: 720px) {
  /* Category tiles two-up as well — eight full-width tiles made the home
     page eight screens tall before the story band. */
  .ac-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ac-tile-cap { left: 12px; right: 12px; bottom: 12px; gap: 5px; }
  .ac-tile-label { font-size: 16px; line-height: 1.2; }
  .ac-tile-label.sm { font-size: 14px; }
  .ac-tile-cta { font-size: 10px; letter-spacing: 1.1px; }
  .ac-hero-copy h1 { font-size: 34px; }
}
@media (max-width: 480px) {
  .ac-tiles { grid-template-columns: repeat(2, 1fr); }
}
