/* Willow — demo skincare storefront (a madebyruby demo build)
   Look: Cottage Core — sage green + cream (Variation 1 / "meadow & moss")
   Palette: bg #F5F2E8 · panel #E9EBDA · headings #3A362B · body #5E5849
            sage #A7B586 (decorative only) · moss #5F6C3A (actions) */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../../assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F5F2E8;
  --panel: #E9EBDA;
  --head: #3A362B;
  --body: #5E5849;
  --champ: #A7B586;
  --bronze: #5F6C3A;
  --bronze-dark: #4B5630;
  --line: #E1E1CE;
  --white: #FFFFFF;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 1rem/1.65 var(--sans);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--head); margin: 0 0 0.4em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); }

a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Chrome ------------------------------------------------------------ */

.attrib {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--head);
  color: var(--bg);
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}
.attrib p { margin: 0; }
.attrib a { color: var(--champ); }
.attrib a:hover { color: var(--bg); }

.announce {
  margin: 0;
  background: var(--panel);
  color: var(--bronze);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.wordmark { margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: 0.35em; color: var(--head); font-size: 1.05rem; }
.head nav { display: none; gap: 1.6rem; }
.head nav span { font-size: 0.9rem; cursor: default; }
.bag { margin: 0; display: flex; align-items: center; gap: 0.45rem; color: var(--head); font-weight: 600; font-size: 0.95rem; }

@media (min-width: 760px) {
  .head { padding: 1.2rem 2.5rem; }
  .head nav { display: flex; }
}

/* --- PDP layout ---------------------------------------------------------- */

.pdp {
  display: grid;
  gap: 2.2rem;
  width: min(100% - 2.5rem, 72rem);
  margin: 2rem auto 0;
}

@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.05fr 1fr; gap: 4rem; margin-top: 3rem; }
  .gallery { position: sticky; top: 2rem; align-self: start; }
}

.gallery-main { margin: 0; border-radius: 14px; overflow: hidden; background: var(--panel); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-top: 0.7rem; }
.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  aspect-ratio: 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--bronze); }
.thumb:hover { border-color: var(--champ); }

/* --- Buy column ------------------------------------------------------------ */

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.rating { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-size: 0.9rem; }
.dmds { color: var(--champ); letter-spacing: 0.18em; font-size: 0.85rem; }

.price-row { display: flex; align-items: baseline; gap: 0.7rem; margin: 0 0 1.1rem; }
.price { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--head); }
.price-was { color: var(--body); font-size: 1rem; }
.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--panel);
  color: var(--bronze);
  border-radius: 999px;
  padding: 0.35em 0.85em;
}

.benefits { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.benefits li { position: relative; padding-left: 1.3rem; margin: 0.45rem 0; }
.benefits li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.5em;
  width: 0.42em;
  height: 0.42em;
  background: var(--bronze);
  transform: rotate(45deg);
}

fieldset { border: 0; margin: 0 0 1.2rem; padding: 0; }
legend { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--head); margin-bottom: 0.6rem; }

.sizes { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.sizes legend { float: left; width: 100%; }
.size-pill { position: relative; }
.size-pill input { position: absolute; opacity: 0; inset: 0; }
.size-pill span {
  display: inline-block;
  border: 1.5px solid var(--body);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  font-size: 0.9rem;
  cursor: pointer;
}
.size-pill input:checked + span { background: var(--head); border-color: var(--head); color: var(--bg); }
.size-pill input:focus-visible + span { outline: 3px solid var(--bronze); outline-offset: 3px; }

.plans { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.plan { display: block; cursor: pointer; }
.plan + .plan { border-top: 1px solid var(--line); }
.plan input { position: absolute; opacity: 0; }
.plan-body { display: block; padding: 0.85rem 1rem 0.85rem 2.6rem; position: relative; }
.plan-body::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--body);
  border-radius: 50%;
}
.plan input:checked + .plan-body::before { border: 5px solid var(--bronze); }
.plan input:checked + .plan-body .plan-name { color: var(--head); font-weight: 600; }
.plan input:focus-visible + .plan-body { outline: 3px solid var(--bronze); outline-offset: -3px; border-radius: 10px; }
.plan-name { font-size: 0.95rem; }
.plan-sub { display: block; font-size: 0.8rem; margin-top: 0.15rem; }

.cta {
  display: block;
  width: 100%;
  margin-top: 1.2rem;
  background: var(--bronze);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  font: 600 1rem/1 var(--sans);
  padding: 1.05em 1.4em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--bronze-dark); }
.cta-sm { width: auto; margin: 0; padding: 0.8em 1.3em; font-size: 0.92rem; }

.trust { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 1rem 0 1.6rem; font-size: 0.8rem; }
.trust span { position: relative; padding-left: 1rem; }
.trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.4em;
  height: 0.4em;
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
}

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--head);
  font-size: 0.95rem;
  padding: 0.85rem 0.2rem;
  list-style-position: outside;
}
details p { margin: 0 0 1rem; font-size: 0.93rem; padding: 0 0.2rem; }

.cross {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 1.5rem;
}
.cross img { width: 64px; height: 64px; border-radius: 8px; background: var(--panel); flex: none; object-fit: cover; }
.cross div { flex: 1; }
.cross-name { margin: 0; font-weight: 600; color: var(--head); font-size: 0.93rem; }
.cross-price { margin: 0; font-size: 0.83rem; }
.cross-btn {
  background: none;
  border: 1.5px solid var(--bronze);
  color: var(--bronze);
  border-radius: 999px;
  font: 600 0.85rem/1 var(--sans);
  padding: 0.7em 1.2em;
  cursor: pointer;
}
.cross-btn:hover { background: var(--bronze); color: var(--white); }

/* --- Reviews ------------------------------------------------------------------ */

.reviews { width: min(100% - 2.5rem, 72rem); margin: 3.5rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.review-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.review p { margin: 0 0 0.6rem; font-size: 0.93rem; }
.review .dmds { margin-bottom: 0.4rem; }
.reviewer { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); }

/* --- Footer --------------------------------------------------------------------- */

.foot {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  padding: 2.2rem 1.4rem 5.5rem;
  text-align: center;
}
.foot p { max-width: 46rem; margin: 0.6rem auto; font-size: 0.88rem; }

/* --- Sticky bar + toast ------------------------------------------------------------ */

.sticky-bar[hidden] { display: none; }
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 0.7rem 1.2rem;
  box-shadow: 0 -8px 24px -16px rgba(31, 27, 22, 0.35);
}
.sticky-bar p { margin: 0; font-size: 0.9rem; color: var(--head); display: flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 4.6rem;
  transform: translate(-50%, 12px);
  z-index: 30;
  margin: 0;
  background: var(--head);
  color: var(--bg);
  font-size: 0.88rem;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(92vw, 30rem);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ==========================================================================
   FULL STORE — shared chrome, homepage, cart drawer, placeholders
   ========================================================================== */

/* --- Header (store) ------------------------------------------------------ */
a.wordmark { text-decoration: none; }
a.wordmark:hover { color: var(--head); }
.head-nav { display: none; gap: 1.6rem; }
.head-nav a { font-family: var(--sans); font-weight: 500; font-size: 0.9rem; color: var(--body); text-decoration: none; }
.head-nav a:hover, .head-nav a[aria-current] { color: var(--head); }
.head-actions { display: flex; align-items: center; gap: 0.2rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--head); cursor: pointer; border-radius: 999px; }
.icon-btn:hover { background: var(--panel); }
.icon-btn:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.cart-count { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 3px; background: var(--bronze); color: #fff; border-radius: 999px; font: 600 10px/16px var(--sans); text-align: center; }
.cart-count[data-empty="true"] { display: none; }
@media (min-width: 760px) { .head-nav { display: flex; } }

.crumbs { width: min(100% - 2.5rem, 72rem); margin: 1rem auto 0; font-family: var(--sans); font-size: 0.82rem; color: var(--body); }
.crumbs a { color: var(--body); text-decoration: none; }
.crumbs a:hover { color: var(--bronze); }
.crumbs span:last-child { color: var(--head); }

/* --- Placeholder boxes --------------------------------------------------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; overflow: hidden; border-radius: 14px;
  border: 1.5px dashed var(--champ);
  background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 13px, #EEF0E2 13px, #EEF0E2 26px);
  color: var(--bronze); font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; line-height: 1.5;
}
.ph span { opacity: 0.9; }

/* --- Hero ---------------------------------------------------------------- */
.hero-store { display: grid; gap: 2rem; align-items: center; width: min(100% - 2.5rem, 72rem); margin: 2rem auto 0; }
@media (min-width: 860px) { .hero-store { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; margin-top: 3rem; } }
.hero-eyebrow { font-family: var(--sans); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); margin: 0 0 1rem; }
.hero-copy h1 { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: clamp(2.2rem, 4.8vw, 3.4rem); line-height: 1.08; margin: 0 0 1rem; }
.hero-sub { font-size: 1.12rem; max-width: 38ch; margin: 0 0 1.8rem; }
.hero-cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-cta .cta { display: inline-block; width: auto; }
.ghost-link { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; }

/* --- Feature row --------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; width: min(100% - 2.5rem, 72rem); margin: clamp(1.5rem, 3.5vw, 2.5rem) auto 0; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--bronze); }
.feature-icon svg { width: 30px; height: 30px; }
.feature-name { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: 1.05rem; margin: 0.5rem 0 0.2rem; }
.feature-note { font-family: var(--sans); font-size: 0.85rem; color: var(--body); margin: 0; }
.feature-badge { width: clamp(40px, 5vw, 52px); height: auto; display: block; margin: 0 auto 0.5rem; }

/* --- Homepage sections --------------------------------------------------- */
.section { width: min(100% - 2.5rem, 72rem); margin-inline: auto; padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.view-all { font-family: var(--sans); font-weight: 600; font-size: 0.9rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; }
.pc-media { display: block; border-radius: 14px; overflow: hidden; }
.pc-media:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.pc-body { padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.3rem; }
.pc-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0; }
.pc-body h3 a { color: var(--head); text-decoration: none; }
.pc-body h3 a:hover { color: var(--bronze); }
.pc-price { font-family: var(--sans); color: var(--body); font-size: 0.95rem; margin: 0; }
.mini-add { margin-top: 0.5rem; align-self: start; background: none; border: 1.5px solid var(--bronze); color: var(--bronze); border-radius: 999px; font: 600 0.82rem/1 var(--sans); padding: 0.6em 1.1em; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.mini-add:hover { background: var(--bronze); color: #fff; }

/* --- Story --------------------------------------------------------------- */
.story { display: grid; gap: 0; align-items: stretch; width: min(100% - 2.5rem, 72rem); margin: clamp(1rem, 2.5vw, 1.5rem) auto clamp(2rem, 5vw, 3rem); background: var(--panel); border-radius: 20px; overflow: hidden; }
@media (min-width: 820px) { .story { grid-template-columns: 1fr 1fr; } }
.story-media { display: flex; }
.story-media .ph { border: 0; border-radius: 0; min-height: 22rem; }
.story-copy { padding: clamp(1.8rem, 4vw, 3rem); }
.story-copy h2 { margin: 0 0 0.8rem; }
.story-copy p { margin: 0 0 1rem; }
.story-copy .cta { display: inline-block; width: auto; margin-top: 0.4rem; }

/* --- Newsletter ---------------------------------------------------------- */
.newsletter { text-align: center; width: min(100% - 2.5rem, 42rem); margin: clamp(3rem, 7vw, 5rem) auto; padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid var(--line); }
.newsletter h2 { margin: 0 0 0.6rem; }
.newsletter > p { margin: 0 auto 1.4rem; max-width: 44ch; }
.nl-form { display: flex; gap: 0.6rem; max-width: 26rem; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl-form input { flex: 1; min-width: 12rem; font: 400 1rem/1 var(--serif); padding: 0.9em 1em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--head); }
.nl-form input:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.newsletter .cta { display: inline-block; width: auto; }
.nl-note { margin-top: 1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--bronze); min-height: 1.2em; }

/* --- Store footer -------------------------------------------------------- */
.store-foot { border-top: 1px solid var(--line); background: var(--panel); margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.5rem, 5vw, 3.5rem) 1.4rem 3rem; }
.store-foot-cols { display: grid; gap: 2rem; width: min(100%, 72rem); margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 720px) { .store-foot-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-brand .wordmark { margin: 0 0 0.8rem; }
.foot-brand p { font-family: var(--sans); font-size: 0.9rem; max-width: 34ch; }
.foot-col h3 { font-family: var(--sans); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--head); margin: 0 0 0.8rem; }
.foot-col a { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--body); text-decoration: none; margin: 0.4rem 0; }
.foot-col a:hover { color: var(--bronze); }
.store-foot-note { width: min(100%, 72rem); margin: 2.2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.82rem; color: var(--body); }

/* --- Cart drawer --------------------------------------------------------- */
.drawer-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(35, 32, 20, 0.42); }
.drawer-overlay[hidden] { display: none; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(92vw, 25rem); background: var(--bg); box-shadow: -14px 0 44px -22px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; transform: translateX(101%); visibility: hidden; transition: transform 0.28s ease, visibility 0s linear 0.28s; }
.cart-drawer.open { transform: none; visibility: visible; transition: transform 0.28s ease; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 1.2rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 0.4rem 1.3rem; }
.cart-empty { text-align: center; color: var(--body); font-family: var(--sans); font-size: 0.95rem; padding: 3rem 1rem; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line-media { width: 56px; height: 56px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: 0.98rem; margin: 0 0 0.2rem; }
.cart-line-variant { font-family: var(--sans); font-size: 0.8rem; color: var(--body); margin: 0 0 0.45rem; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.cart-qty button { width: 26px; height: 26px; border: 0; background: none; color: var(--head); font-size: 1rem; line-height: 1; cursor: pointer; }
.cart-qty span { min-width: 1.4rem; text-align: center; font-family: var(--sans); font-size: 0.85rem; }
.cart-col-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.cart-line-price { font-family: var(--sans); font-weight: 600; color: var(--head); font-size: 0.92rem; }
.cart-remove { background: none; border: 0; color: var(--body); font-family: var(--sans); font-size: 0.75rem; text-decoration: underline; cursor: pointer; padding: 0; }
.cart-remove:hover { color: var(--bronze); }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.3rem; }
.cart-foot[hidden] { display: none; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 1.1rem; color: var(--head); margin: 0 0 0.4rem; }
.cart-subtotal strong { font-weight: 600; }
.cart-fineprint { font-family: var(--sans); font-size: 0.78rem; color: var(--body); margin: 0 0 1rem; }
.cart-foot .cta { display: block; width: 100%; }

/* --- Full-bleed hero (photo with overlaid text) -------------------------- */
.hero-full { position: relative; width: 100%; min-height: clamp(23rem, 56vh, 38rem); display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--panel), var(--panel) 16px, #EEF0E2 16px, #EEF0E2 32px); color: var(--bronze); }
.hero-photo .ph-label { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; opacity: 0.9; }
.hero-full::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(245,242,232,0.94) 0%, rgba(245,242,232,0.72) 30%, rgba(245,242,232,0.18) 58%, rgba(245,242,232,0) 78%); }
.hero-inner { position: relative; z-index: 2; width: min(100% - 3rem, 72rem); margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem); }
.hero-inner h1 { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; margin: 0 0 0.8rem; }
.hero-inner .hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--body); max-width: 30ch; margin: 0 0 1.6rem; }
.hero-inner .cta { display: inline-block; width: auto; }
@media (max-width: 640px) { .hero-full::after { background: linear-gradient(180deg, rgba(245,242,232,0.5) 0%, rgba(245,242,232,0.86) 100%); } }

/* --- Collection page ----------------------------------------------------- */
.collection-head { width: min(100% - 2.5rem, 72rem); margin: 1.5rem auto 0; }
.collection-head h1 { font-family: var(--serif); font-weight: 600; color: var(--head); font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.5rem; }
.collection-head p { max-width: 48ch; margin: 0 0 0.5rem; }
.collection-count { font-family: var(--sans); font-size: 0.85rem; color: var(--body); }
.collection-wrap { width: min(100% - 2.5rem, 72rem); margin: 2rem auto clamp(3rem, 7vw, 5rem); }

/* placeholder tweaks for gallery + cross-sell */
.gallery-main .ph { border-radius: 14px; }
.thumb .ph { border: 0; border-radius: 8px; }
.thumb .ph span { font-size: 0.9rem; }
.cross-ph { width: 64px; height: 64px; flex: none; border-radius: 8px; }
.pc-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.story-media img { width: 100%; height: 100%; min-height: 22rem; object-fit: cover; display: block; }
