/* Olive in Bloom — design preview stylesheet
   Brand palette (owner's palette sheet): Deep Green #1B2F1E, Gold #D4AF37, White #FFFFFF, Baby Pink #FFE6F0.
   Contrast notes: green on white 14.3:1, green on pink 12.1:1, gold on green 6.8:1.
   Gold on white is only 2.1:1, so gold never carries text on light surfaces; --gold-ink is used there instead. */

:root {
  --green: #1B2F1E;
  --green-2: #24402a;      /* hover state for green surfaces */
  --gold: #D4AF37;
  --gold-ink: #7A601A;     /* gold-family text on light surfaces (≥4.5:1 on white and pink) */
  --white: #FFFFFF;
  --pink: #FFE6F0;
  --pink-deep: #F6CADB;    /* blush borders and hover fields */
  --ink-soft: #56665A;     /* secondary text: 6.1:1 on white, 5.2:1 on pink */
  --line: #E9E1E4;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --arch: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--green);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-green :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.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; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type scale (1.25 ratio, serif for display, sans for UI) ---------- */
.display {
  font: 300 clamp(48px, 7.4vw, 104px)/0.95 var(--serif);
  letter-spacing: -0.015em;
  margin: 0;
}
.h2 { font: 400 clamp(34px, 4.2vw, 54px)/1.05 var(--serif); margin: 0; letter-spacing: -0.01em; }
.h3 { font: 500 clamp(22px, 2vw, 26px)/1.2 var(--serif); margin: 0; }
.lede { font: 400 clamp(17px, 1.4vw, 19px)/1.65 var(--sans); color: var(--ink-soft); max-width: 34ch; }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid var(--green);
  font: 500 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--green); color: var(--white); }
.btn-solid:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green); }
.btn-gold:hover { background: #e2c15a; }
.btn-block { width: 100%; }

/* ---------- Preview ribbon (design stage only) ---------- */
.preview-ribbon {
  background: var(--green); color: var(--pink);
  font-size: 13px; text-align: center; padding: 8px var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 84px;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand span { font: 500 12px/1 var(--serif); letter-spacing: .32em; color: var(--green); padding-left: .32em; }
.nav-main { display: flex; gap: 30px; }
.nav-main a { text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current="page"] { border-bottom-color: var(--green); }
.header-tools { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%;
}
.icon-btn:hover { background: var(--pink); }
.icon-btn svg { width: 22px; height: 22px; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--green); color: var(--white);
  font-size: 11px; line-height: 18px; text-align: center;
}
.bag-count[data-empty="true"] { display: none; }
.menu-toggle { display: none; }

/* Browse chips: the quick, Shein-style way in, kept to a few calm pills */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 18px; border-radius: 999px;
  background: var(--pink); color: var(--green); text-decoration: none; font-size: 14px;
  border: 1px solid transparent;
}
.chip:hover { border-color: var(--green); }
.chip[aria-current="page"] { background: var(--green); color: var(--white); }

/* ---------- Hero: the one bold move — an arched boutique window sealed with the brand badge ---------- */
.hero { background: var(--pink); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: clamp(24px, 5vw, 80px);
  padding-top: clamp(40px, 6vw, 88px);
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 112px); }
.hero-copy .display { margin-bottom: 26px; }
.hero-copy .lede { margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-arch { position: relative; justify-self: center; width: min(100%, 520px); }
.hero-arch .frame {
  aspect-ratio: 4 / 5.4; border-radius: var(--arch); overflow: hidden;
  background: var(--pink-deep);
  box-shadow: 0 0 0 10px var(--white), 0 0 0 11px var(--pink-deep);
}
.hero-arch .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.seal {
  position: absolute; left: -58px; bottom: 64px; width: 150px; height: 150px;
  border-radius: 50%; background: var(--green); display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(27,47,30,.28);
  animation: seal-in 1.1s cubic-bezier(.2,.7,.2,1) .25s both;
}
.seal img { width: 128px; height: auto; }
/* The one orchestrated moment: the seal presses onto the arch once on load. */
@keyframes seal-in { from { opacity: 0; transform: scale(.7) rotate(-25deg); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head p { margin: 10px 0 0; color: var(--ink-soft); }
.text-link { font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Product cards ---------- */
/* Three across on desktop: a small catalogue gets room to breathe instead of a dense wall. */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.product-grid.four { grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { position: relative; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--pink); border-radius: 4px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.card:hover .card-media img + img { opacity: 1; }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--white); color: var(--green); font-size: 12px; padding: 5px 11px; border-radius: 999px;
}
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  min-height: 44px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--green); font-size: 14px; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.card-body { padding-top: 14px; }
.card-title { font: 500 21px/1.2 var(--serif); margin: 0; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 15px; }
.price { color: var(--green); font-weight: 500; }
.swatches { display: flex; gap: 6px; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,47,30,.25); }

/* ---------- Collections (arched tiles echo the hero) ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection { text-decoration: none; text-align: center; }
.collection .arch { aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--pink); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.collection:hover img { transform: scale(1.04); }
.collection .h3 { margin-top: 18px; }
.collection p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Promotion band (admin-editable banner) ---------- */
.promo { background: var(--pink); }
.promo-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.promo-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.promo .lede { margin: 18px 0 30px; }

/* ---------- Story (green, where gold is allowed to shine) ---------- */
.on-green { background: var(--green); color: var(--pink); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.story-grid .h2 { color: var(--white); }
.story-grid p { color: #D9E0DA; max-width: 46ch; }
.story-mark { width: 92px; margin-bottom: 28px; }
.story-photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; border: 1px solid var(--gold); padding: 10px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch); }
.on-green .btn-ghost { border-color: var(--gold); color: var(--gold); }
.on-green .btn-ghost:hover { background: var(--gold); color: var(--green); }

/* ---------- Reviews (empty state until real reviews exist) ---------- */
.reviews-empty {
  border: 1px dashed var(--pink-deep); border-radius: 8px; padding: 40px var(--gutter);
  text-align: center; color: var(--ink-soft);
}
.reviews-empty .h3 { color: var(--green); margin-bottom: 8px; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; background: var(--pink); }
.newsletter .h2 { margin-bottom: 12px; }
.newsletter p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 46ch; }
.signup { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--green); background: var(--white); color: var(--green); font: inherit;
}
.signup input::placeholder { color: var(--ink-soft); }
.form-note { margin-top: 14px; font-size: 14px; min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: #D9E0DA; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; margin: 0; }
.site-footer h2 { font: 500 20px/1.2 var(--serif); color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(212,175,55,.35); font-size: 14px;
}

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--green); color: var(--white); text-decoration: none;
  box-shadow: 0 10px 28px rgba(27,47,30,.3); font-size: 15px;
}
.whatsapp svg { width: 22px; height: 22px; color: var(--gold); }

/* ---------- Bag drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(27,47,30,.35); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(420px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--pink); }
.line-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 76px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.line-item h4 { font: 500 19px/1.2 var(--serif); margin: 0; }
.line-item .small { color: var(--ink-soft); margin: 2px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--green); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.remove { border: 0; background: none; font-size: 14px; text-decoration: underline; color: var(--ink-soft); margin-left: 12px; }
.totals { display: grid; gap: 6px; margin-bottom: 18px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 600; font-size: 17px; padding-top: 8px; border-top: 1px solid var(--pink-deep); }
.empty-bag { text-align: center; padding: 56px 8px; color: var(--ink-soft); }
.empty-bag .h3 { color: var(--green); margin-bottom: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px);
  background: var(--green); color: var(--white); padding: 14px 22px; border-radius: 999px; font-size: 15px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.drawer-open .toast { display: none; } /* the open bag already shows what changed */

/* ---------- Product page ---------- */
.crumbs { font-size: 14px; color: var(--ink-soft); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); padding-top: 22px; padding-bottom: 88px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-self: start; position: sticky; top: 104px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 1.5px solid transparent; border-radius: 4px; overflow: hidden; background: none; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.gallery-main { aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--pink); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.buy-box .tagline { color: var(--ink-soft); margin: 0 0 6px; }
.buy-box h1 { font: 400 clamp(40px, 4.4vw, 60px)/1 var(--serif); margin: 0 0 14px; letter-spacing: -0.01em; }
.buy-box .price { font-size: 22px; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.option { border: 0; padding: 0; margin: 30px 0 0; }
.option legend { display: flex; width: 100%; justify-content: space-between; font-size: 15px; margin-bottom: 12px; padding: 0; }
.option legend strong { font-weight: 500; }
.colour-options, .size-options { display: flex; flex-wrap: wrap; gap: 10px; }
.colour-options label { position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.colour-options input, .size-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.colour-options .dot { position: absolute; inset: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,47,30,.25); }
.colour-options .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; }
.colour-options input:checked ~ .ring { border-color: var(--green); }
.colour-options input:focus-visible ~ .ring { outline: 2px solid var(--green); outline-offset: 2px; }
.size-options label {
  min-width: 56px; min-height: 48px; padding: 0 14px; display: grid; place-items: center;
  border: 1.5px solid #9AA79C; border-radius: 999px; cursor: pointer; font-size: 15px;
}
.size-options label:hover { border-color: var(--green); }
.size-options input:checked + span { font-weight: 600; }
.size-options label:has(input:checked) { background: var(--green); border-color: var(--green); color: var(--white); }
.size-options label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
/* Sold out: dashed outline plus a diagonal slash, so it never relies on colour alone */
.size-options label { position: relative; }
.size-options label.is-out { color: #7D897F; border-style: dashed; cursor: not-allowed; overflow: hidden;
  background: linear-gradient(to top right, transparent calc(50% - .75px), #9AA79C calc(50% - .75px), #9AA79C calc(50% + .75px), transparent calc(50% + .75px)); }
.link-btn { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.size-hint { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; min-height: 1.4em; }
.size-hint.warn { color: #8B2335; }
.buy-actions { display: grid; gap: 12px; margin-top: 28px; }
.delivery-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; background: var(--pink); border-radius: 8px; font-size: 15px; }
.delivery-note svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; }
.details { margin-top: 28px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 500; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font: 300 24px/1 var(--sans); }
.details details[open] summary::after { content: "–"; }
.details .detail-body { padding: 0 0 20px; color: var(--ink-soft); }
.details .detail-body p { margin: 0 0 10px; }

/* Size guide dialog */
dialog.sheet { border: 0; border-radius: 12px; padding: 0; width: min(560px, calc(100% - 32px)); color: var(--green); }
dialog.sheet::backdrop { background: rgba(27,47,30,.4); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--pink); }
.sheet-body { padding: 20px 24px 28px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 500; }

/* Mobile sticky buy bar */
.sticky-buy { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid.four { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-main { display: none; }
  .menu-toggle { display: grid; }
  .header-row { min-height: 68px; }
  .brand img { height: 32px; }
  .brand span { font-size: 10px; }
  .header-tools .hide-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 36px; }
  .hero-copy { padding-bottom: 8px; text-align: left; }
  .hero-arch { width: min(88%, 420px); margin-bottom: -2px; }
  .seal { left: -30px; bottom: 40px; width: 112px; height: 112px; }
  .seal img { width: 96px; }
  .product-grid, .product-grid.four { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  /* Exactly three pieces: the first takes the full width, the other two sit side by side */
  .product-grid > .card:first-child:nth-last-child(3) { grid-column: 1 / -1; }
  .product-grid > .card:first-child:nth-last-child(3) .card-media { aspect-ratio: 4 / 5; }
  .quick-add { opacity: 1; transform: none; min-height: 40px; font-size: 13px; }
  .card-title { font-size: 19px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .collections { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .collection { scroll-snap-align: start; }
  .promo-inner, .story-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 420px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pdp { grid-template-columns: 1fr; padding-bottom: 120px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; }
  .sticky-buy {
    display: flex; gap: 12px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
  }
  .sticky-buy .price { white-space: nowrap; }
  .sticky-buy .btn { flex: 1; }
  .has-sticky .whatsapp { bottom: 92px; }
}
@media (max-width: 520px) {
  .whatsapp span { display: none; }
  .whatsapp { padding: 0; width: 52px; justify-content: center; }
  .signup { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Mobile menu panel */
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 18px; }
.mobile-menu a { display: block; padding: 12px 0; font: 400 26px/1.2 var(--serif); text-decoration: none; }
.menu-open .mobile-menu { display: block; }

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

/* =====================================================================
   Build additions (2026-11-29): shop, filters, checkout, order, reviews, forms
   ===================================================================== */
.muted { color: var(--ink-soft); }
.warn { color: #8B2335; display: block; }
.was { color: var(--ink-soft); font-weight: 400; margin-right: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.empty-note { padding: 48px 0; color: var(--ink-soft); font-size: 17px; }
.notice { background: var(--pink); border-left: 3px solid var(--green); padding: 14px 18px; border-radius: 4px; margin: 0 0 24px; }
.muted-on-green { color: #B0BDB2; }
.center { text-align: center; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 15px; font-weight: 500; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select, .f-grid input, .f-grid select, .code-form input {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid #8C998E; border-radius: 10px;
  background: var(--white); color: var(--green); font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .f-grid input:focus, .f-grid select:focus, .code-form input:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #8B2335; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-error { background: #FBE9EC; color: #6E1526; border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; }
.form-note { font-size: 15px; }

/* Shop page */
.shop-page { padding-top: 36px; padding-bottom: 96px; }
.shop-head { margin-bottom: 20px; }
.filters { display: grid; gap: 12px; margin-bottom: 28px; }
.f-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid #8C998E; border-radius: 999px; padding: 0 18px; background: var(--white); max-width: 560px; }
.f-search:focus-within { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 1px; }
.f-search svg { width: 20px; height: 20px; flex: 0 0 20px; }
.f-search input { flex: 1; min-width: 0; border: 0; min-height: 50px; font: inherit; color: var(--green); background: transparent; outline: none; }
.f-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 10px 20px; border-radius: 999px; background: var(--pink); font-weight: 500; list-style: none; }
.f-more summary::-webkit-details-marker { display: none; }
.f-more summary::after { content: "+"; font-weight: 300; font-size: 20px; line-height: 1; }
.f-more[open] summary::after { content: "\2013"; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 16px; }
.f-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.f-grid .f-check { display: flex; align-items: center; gap: 10px; align-self: end; min-height: 50px; }
.f-check input { width: 20px; height: 20px; accent-color: var(--green); }
.f-actions { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.result-count { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }

/* Card link styled as button */
a.quick-add { display: grid; place-items: center; text-decoration: none; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 26px; background: var(--pink); border-radius: 8px; }
.review blockquote { margin: 10px 0 14px; font: 400 21px/1.4 var(--serif); }
.review figcaption { font-size: 14px; color: var(--ink-soft); }
.stars { color: var(--gold-ink); letter-spacing: 2px; font-size: 16px; }
.rating-link { display: inline-block; margin-top: 6px; font-size: 15px; }
.review-form-wrap { margin-top: 24px; }
.review-form-wrap > summary { list-style: none; display: inline-flex; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form { max-width: 560px; margin-top: 20px; }
.stars-input { border: 0; padding: 0; margin: 0 0 16px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input legend { font-weight: 500; margin-bottom: 6px; float: left; width: 100%; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 32px; line-height: 1; color: #8C998E; cursor: pointer; padding: 2px; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--gold-ink); }
.stars-input input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* Checkout */
.checkout { padding-top: 36px; padding-bottom: 96px; }
.checkout > h1 { margin-bottom: 24px; }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.co-step { padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.co-step h2 { margin-bottom: 16px; }
.zones, .pay-methods { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.zone, .pay { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid #8C998E; border-radius: 12px; cursor: pointer; }
.zone:has(input:checked), .pay:has(input:checked) { border-color: var(--green); background: var(--pink); box-shadow: inset 0 0 0 1px var(--green); }
.zone input, .pay input { width: 20px; height: 20px; accent-color: var(--green); flex: 0 0 20px; }
.zone-name { flex: 1; display: grid; }
.zone-name small, .pay small { color: var(--ink-soft); font-size: 14px; }
.pay span { display: grid; }
.zone-fee { font-weight: 500; white-space: nowrap; }
.co-submit { min-height: 58px; font-size: 16px; }
.co-submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.co-secure { text-align: center; margin-top: 12px; }
.co-summary { position: sticky; top: 110px; background: var(--pink); border-radius: 12px; padding: 24px; }
.co-summary h2 { margin-bottom: 14px; }
.co-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.co-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.co-lines img { width: 64px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.co-lines strong { display: block; font: 500 18px/1.2 var(--serif); }
.code-form { display: flex; gap: 8px; }
.code-form input { min-height: 46px; }
.code-form .btn { min-height: 46px; padding: 0 18px; }
.code-note { min-height: 1.4em; margin: 8px 0 12px; }
.co-summary .totals { margin-bottom: 14px; }

/* Order page */
.order-page { padding-top: 48px; padding-bottom: 96px; max-width: 760px; }
.pay-wait, .order-done { text-align: center; padding: 24px 0 40px; }
.pay-wait .lede, .order-done .lede { margin: 14px auto 8px; max-width: 46ch; }
.pay-icon, .done-icon { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); }
.done-icon { background: var(--green); color: var(--gold); }
.pay-icon svg, .done-icon svg { width: 34px; height: 34px; }
.spinner { width: 34px; height: 34px; margin: 22px auto 0; border-radius: 50%; border: 3px solid var(--pink-deep); border-top-color: var(--green); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.track { list-style: none; padding: 0; margin: 28px auto 8px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 620px; counter-reset: s; }
.track li { position: relative; padding-top: 34px; font-size: 14px; color: var(--ink-soft); }
.track li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #8C998E; background: var(--white); font-size: 13px; line-height: 23px; color: var(--ink-soft); z-index: 1; }
.track li.done { color: var(--green); font-weight: 500; }
.track li.done::before { content: "\2713"; background: var(--green); border-color: var(--green); color: var(--white); }
.track li + li::after { content: ""; position: absolute; top: 13px; right: calc(50% + 13px); width: calc(100% - 26px); height: 1.5px; background: #C9D1CB; }
.track li.done + li.done::after { background: var(--green); }
.order-summary { background: var(--pink); border-radius: 12px; padding: 24px; margin-top: 12px; }
.order-summary h2 { margin-bottom: 14px; }
.order-help { text-align: center; margin-top: 28px; color: var(--ink-soft); }

/* Info pages */
.info-page { padding-top: 48px; padding-bottom: 96px; max-width: 820px; }
.info-page > h1 { margin-bottom: 24px; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; }
.prose h2 { margin: 32px 0 10px; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.contact-ways svg { width: 20px; height: 20px; }
.contact-form { max-width: 620px; }

@media (max-width: 860px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
  .field-row { grid-template-columns: 1fr; }
  .track li { font-size: 12px; }
}
