/* Holt storefront redesign (draft).
   Loaded after site.css. Holds the new header, footer, home carousel,
   Shop page and product page. Older page sections still use site.css. */

:root {
  --line: rgba(243, 238, 230, .12);
  --line-strong: rgba(243, 238, 230, .22);
  --gold-line: rgba(200, 164, 93, .28);
  --strip-h: 2.4rem;
  --bar-h: 3.6rem;
  --menu-h: 3rem;
  --chrome-h: calc(var(--strip-h) + var(--bar-h) + var(--menu-h));
  --edge: clamp(1rem, 3vw, 2.5rem);
}

body.storefront-v2 { font-weight: 400; }

/* ---------- Announcement strip ---------- */
.shipping-offer {
  display: flex;
  min-height: var(--strip-h);
  margin: 0;
  padding: .45rem var(--edge);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .15rem 1.6rem;
  background: var(--ink-raised);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.4;
  text-align: center;
}
.shipping-offer a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: .22em; }
.shipping-offer a:hover { text-decoration-color: var(--gold); }
.shipping-offer span { display: inline; margin: 0; color: var(--paper-soft); }

/* ---------- Masthead: logo, search and bag, then the menu ---------- */
.masthead {
  position: sticky;
  z-index: 90;
  top: 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: var(--bar-h) var(--menu-h);
}

.wordmark {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .42rem;
  color: var(--gold-bright);
  line-height: 1;
}
.wordmark span { font-family: var(--display); font-size: 2.35rem; font-weight: 500; letter-spacing: .22em; line-height: .78; margin-right: -.22em; }
.wordmark small { color: var(--gold); font-size: .5rem; font-weight: 600; letter-spacing: .42em; line-height: 1; text-transform: uppercase; margin-right: -.42em; }
.masthead .wordmark { grid-column: 1; grid-row: 1 / 3; padding: 0 clamp(1.4rem, 2.6vw, 2.6rem); border-right: 1px solid var(--line); }

.masthead .menu-button,
.search-toggle { display: none; }

.site-search {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.site-search__field { display: flex; width: 100%; height: 100%; align-items: center; gap: .7rem; padding-inline: 1.25rem; }
.site-search__field svg { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; color: var(--paper-soft); }
.site-search input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: .9rem;
  outline: none;
}
.site-search input::placeholder { color: rgba(213, 206, 196, .62); }
.site-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.site-search:focus-within { box-shadow: inset 0 -1px 0 var(--gold); }
.site-search__results {
  position: absolute;
  z-index: 95;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  max-height: min(26rem, 70svh);
  margin: 0;
  padding: .4rem 0;
  overflow-y: auto;
  list-style: none;
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-top: 0;
}
.site-search__results[hidden] { display: none; }
.site-search__results a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .1rem 1rem;
  padding: .7rem 1.25rem;
  color: var(--paper);
}
.site-search__results a:hover,
.site-search__results a:focus-visible { background: rgba(243, 238, 230, .06); outline: none; }
.site-search__results strong { font-weight: 500; }
.site-search__results small { grid-column: 1; color: var(--paper-soft); font-size: .78rem; }
.site-search__results .price { grid-column: 2; grid-row: 1; color: var(--paper); font-size: .85rem; }
.site-search__empty { padding: .8rem 1.25rem; color: var(--paper-soft); font-size: .85rem; }

.masthead__tools {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.masthead__tools > a,
.masthead .cart-trigger {
  display: inline-flex;
  min-width: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0 1.25rem;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  cursor: pointer;
}
.masthead__tools svg,
.masthead .cart-trigger svg { width: 1.2rem; height: 1.2rem; color: var(--paper); }
.masthead .cart-trigger b {
  min-width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: .68rem;
  font-weight: 600;
}
.masthead__tools > a:hover,
.masthead .cart-trigger:hover { background: rgba(243, 238, 230, .05); }

.menubar {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-inline: .45rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.menubar::-webkit-scrollbar { display: none; }
.menubar a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 .85rem;
  color: var(--paper-soft);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.menubar a:first-child { color: var(--paper); }
.menubar a::after {
  position: absolute;
  right: .85rem;
  bottom: 0;
  left: .85rem;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.menubar a:hover { color: var(--paper); }
.menubar a:hover::after,
.menubar a[aria-current="page"]::after { transform: scaleX(1); }
.menubar a[aria-current="page"] { color: var(--paper); }
.menubar__contact { display: none !important; }
.menubar__sep { flex: 1 1 auto; }

/* ---------- Home carousel ---------- */
.home-v2 main { display: block; }
.showcase {
  position: relative;
  /* Leaves the top of the shop row in view, so the bars are visible without scrolling. */
  height: clamp(26rem, calc(80svh - var(--chrome-h)), 48rem);
  overflow: hidden;
  background: var(--ink-soft);
  isolation: isolate;
}
.showcase__slide {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.showcase__slide:first-child,
.showcase.is-ready .showcase__slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.showcase.is-ready .showcase__slide:first-child:not(.is-active) { opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.showcase.is-ready .showcase__slide.is-active { z-index: 1; }

.showcase__media { position: absolute; z-index: -2; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: minmax(0, 1fr); gap: 3px; background: var(--ink); }
.showcase__media picture,
.showcase__media img { width: 100%; height: 100%; }
.showcase__media img { object-fit: cover; transform: scale(1.02); transition: transform 7s linear; }
.showcase__slide.is-active .showcase__media img { transform: scale(1); }
.showcase__media img.focus-right { object-position: 68% center; }
.showcase__media img.focus-low { object-position: center 64%; }
.showcase__slide::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(3, 3, 2, .86) 0%, rgba(3, 3, 2, .48) 26%, rgba(3, 3, 2, 0) 52%),
    linear-gradient(90deg, rgba(3, 3, 2, .45) 0%, rgba(3, 3, 2, 0) 45%);
}
.showcase__slide--pair::after {
  background:
    linear-gradient(0deg, rgba(3, 3, 2, .92) 0%, rgba(3, 3, 2, .66) 30%, rgba(3, 3, 2, 0) 58%),
    linear-gradient(90deg, rgba(3, 3, 2, .5) 0%, rgba(3, 3, 2, 0) 45%);
}
.showcase__caption {
  position: absolute;
  bottom: 5.4rem;
  left: var(--edge);
  display: grid;
  max-width: min(34rem, calc(100% - 2 * var(--edge)));
  gap: .7rem;
}
.showcase__title { font-family: var(--display); font-size: clamp(2.6rem, 5.4vw, 4.9rem); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.showcase__line { color: var(--paper-soft); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.5; }
.showcase__cta {
  justify-self: start;
  margin-top: .45rem;
  padding-bottom: .2rem;
  border-bottom: 1px solid var(--gold);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 500;
}
.showcase__slide:hover .showcase__cta,
.showcase__slide:focus-visible .showcase__cta { color: var(--gold-bright); }
.showcase__slide:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: -6px; }

.showcase__controls {
  position: absolute;
  z-index: 3;
  right: var(--edge);
  bottom: 1.9rem;
  left: var(--edge);
  display: none;
  align-items: center;
  gap: 1rem;
}
.showcase.is-ready .showcase__controls { display: flex; }
.showcase__pager { display: flex; flex: 1 1 auto; gap: .5rem; }
.showcase__dot {
  position: relative;
  width: 3rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.showcase__dot::before,
.showcase__dot span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  content: "";
  background: rgba(243, 238, 230, .3);
}
.showcase__dot span { background: var(--paper); transform: scaleX(0); transform-origin: left; }
.showcase__dot[aria-current="true"] span { transform: scaleX(1); }
.showcase.is-playing .showcase__dot[aria-current="true"] span { animation: showcase-progress var(--slide-time, 6.5s) linear forwards; }
.showcase.is-paused .showcase__dot[aria-current="true"] span { animation-play-state: paused; }
@keyframes showcase-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.showcase__button {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(3, 3, 2, .35);
  color: var(--paper);
  cursor: pointer;
}
.showcase__button:hover { border-color: var(--paper-soft); background: rgba(3, 3, 2, .6); }
.showcase__button svg { width: 1rem; height: 1rem; }
.showcase__button .icon-play { display: none; }
.showcase.is-stopped .showcase__button .icon-play { display: block; }
.showcase.is-stopped .showcase__button .icon-pause { display: none; }

/* ---------- Home: shop row, what goes into a bar, reviews ---------- */
.home-shop { padding: clamp(1.8rem, 3.5vw, 2.8rem) 0 clamp(2.5rem, 5vw, 4rem); }
.home-shop__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .6rem 2.5rem;
  align-items: baseline;
  padding: 0 var(--edge) 1.3rem;
}
.home-shop__title { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; line-height: 1; }
.home-shop__offer { max-width: 40rem; margin: 0; color: var(--paper-soft); font-size: .95rem; line-height: 1.55; }
.home-shop__offer strong { color: var(--paper); font-weight: 600; }
.home-shop__all { padding-bottom: .15rem; border-bottom: 1px solid var(--gold); color: var(--paper); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.home-shop__all:hover { color: var(--gold-bright); }

.proof {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--edge);
  border-top: 1px solid var(--line);
}
.proof__media { display: block; aspect-ratio: 4 / 5; max-height: 36rem; overflow: hidden; background: var(--ink-soft); }
.proof__media img { width: 100%; height: 100%; object-fit: cover; }
.proof__title { margin: 0 0 1.6rem; font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3.3rem); font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.proof__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.2rem; margin: 0; }
.proof__facts div { padding-top: .9rem; border-top: 1px solid var(--gold-line); }
.proof__facts dt { margin: 0 0 .4rem; color: var(--paper); font-size: .98rem; font-weight: 600; }
.proof__facts dd { margin: 0; color: var(--paper-soft); font-size: .9rem; line-height: 1.6; }
.proof__links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2rem 0 0; }
.proof__links a { padding-bottom: .15rem; border-bottom: 1px solid var(--gold); color: var(--paper); font-size: .9rem; font-weight: 500; }
.proof__links a:hover { color: var(--gold-bright); }

/* Customer reviews. The review system draws these (and only when real reviews exist). */
.storefront-v2 .holt-feedback {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--edge);
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--paper);
}
.storefront-v2 .holt-feedback h2 { margin: 0 0 .6rem; font-family: var(--display); font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; line-height: 1; }
.storefront-v2 .holt-feedback > p { max-width: 40rem; margin: 0 0 1.8rem; color: var(--paper-soft); font: 400 .92rem/1.6 var(--sans); }
.storefront-v2 .holt-feedback-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.storefront-v2 .holt-feedback-grid:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.storefront-v2 .holt-feedback-card { display: flex; border: 0; background: var(--ink); }
/* The label artwork is not a photo of the soap, so it stays out of review cards. */
.storefront-v2 .holt-feedback-card img { display: none; }
.storefront-v2 .holt-feedback-copy { display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.3rem; }
.storefront-v2 .holt-feedback-rating { margin: 0; color: var(--gold-bright); font: 600 .82rem/1.4 var(--sans); letter-spacing: .04em; }
.storefront-v2 .holt-feedback-copy blockquote { flex: 1 1 auto; margin: .8rem 0 1.1rem; color: var(--paper); font: 400 1.18rem/1.45 var(--display); white-space: pre-wrap; }
.storefront-v2 .holt-feedback-copy > p { margin: 0; color: var(--paper); font: 600 .88rem/1.4 var(--sans); }
.storefront-v2 .holt-feedback-copy small { display: block; margin-top: .3rem; color: var(--paper-soft); font: 400 .78rem/1.5 var(--sans); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--ink); }
.home-v2 .site-foot { border-top: 0; }
.site-foot__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding: 3.2rem var(--edge) 2.6rem;
}
.site-foot__brand { display: grid; align-content: start; justify-items: start; gap: 1.2rem; }
.site-foot__brand .wordmark { justify-items: start; }
.site-foot__brand .wordmark span { font-size: 2rem; }
.site-foot__brand p { max-width: 22rem; margin: 0; color: var(--paper-soft); font-size: .9rem; line-height: 1.6; }
.site-foot__col { display: grid; align-content: start; gap: .5rem; line-height: 1.45; }
.site-foot__col h2 { margin: 0 0 .35rem; color: var(--paper); font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.site-foot__col a { justify-self: start; color: var(--paper-soft); font-size: .88rem; overflow-wrap: anywhere; }
.site-foot__col a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.site-foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
  padding: 1.1rem var(--edge) 1.4rem;
  border-top: 1px solid var(--line);
  color: rgba(213, 206, 196, .78);
  font-size: .78rem;
}
.site-foot__base a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.site-foot__base a:hover { color: var(--paper); }
.site-foot__base span:first-child { color: var(--paper-soft); }

/* ---------- Bag drawer touch-ups ---------- */
.cart-empty span { color: var(--paper-soft); }
.storefront-v2 .cart-item__price { color: var(--paper); font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.storefront-v2 .cart-item__copy p { color: var(--paper-soft); }

/* ---------- Phone and tablet ---------- */
@media (max-width: 980px) {
  :root { --bar-h: 3.75rem; --menu-h: 0rem; }
  .masthead__inner { grid-template-columns: 3rem 3rem minmax(0, 1fr) 3rem 3rem; grid-template-rows: var(--bar-h) auto; }
  .masthead .wordmark { grid-column: 3; grid-row: 1; padding: 0; border: 0; }
  .wordmark span { font-size: 1.9rem; }
  .wordmark small { font-size: .42rem; }
  .masthead .menu-button,
  .search-toggle {
    display: grid;
    width: 3rem;
    height: var(--bar-h);
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
  }
  .masthead .menu-button { grid-column: 1; grid-row: 1; }
  .search-toggle { grid-column: 2; grid-row: 1; }
  .search-toggle svg { width: 1.15rem; height: 1.15rem; }
  .site-search { grid-column: 1 / -1; grid-row: 2; display: none; height: 3.2rem; border-top: 1px solid var(--line); border-bottom: 0; }
  .masthead.is-searching .site-search { display: flex; }
  .masthead__tools { grid-column: 4 / 6; grid-row: 1; justify-content: flex-end; border: 0; }
  .masthead__tools > a { display: none; }
  .masthead .cart-trigger { padding: 0 1rem; border: 0; }
  .masthead .cart-trigger span { display: none; }

  .menubar {
    position: fixed;
    z-index: 99;
    top: var(--menu-top, calc(var(--strip-h) + var(--bar-h)));
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: .6rem var(--edge) 2rem;
    overflow-y: auto;
    background: var(--ink);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .menubar.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease), visibility 0s; }
  .menubar a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
    font-family: var(--display);
    font-size: 1.85rem;
    font-weight: 400;
  }
  .menubar a::after { display: none; }
  .menubar a[aria-current="page"] { color: var(--gold-bright); }
  .menubar__contact { display: inline-flex !important; }
  .menubar__sep { display: none; }

  .showcase { height: clamp(26rem, calc(80svh - var(--strip-h) - var(--bar-h)), 44rem); }
  .showcase__media picture + picture { display: none; }
  .showcase__media .pair-phone-hide { display: none; }
  .showcase__media .pair-phone-hide + picture { display: block; }
  /* Keep the gift box label clear of the caption on narrow screens. */
  .showcase__slide--gift .showcase__media { bottom: 34%; }
  .showcase__slide--gift .showcase__media img { object-position: center 38%; }
  .showcase__caption { bottom: 4.6rem; }
  .showcase__controls { bottom: 1.2rem; }
  .showcase__button--step { display: none; }

  .home-shop__head { grid-template-columns: minmax(0, 1fr) auto; }
  .home-shop__offer { grid-column: 1 / -1; grid-row: 2; }
  .proof { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .proof__facts { grid-template-columns: 1fr; gap: 1.2rem; }
  .storefront-v2 .holt-feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .site-foot__inner { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --strip-h: 3.4rem; }
  .shipping-offer { flex-direction: column; gap: .1rem; font-size: .76rem; }
  .showcase__dot { width: 2.2rem; }
  .home-shop__head { grid-template-columns: 1fr; }
  .home-shop__all { grid-row: 3; justify-self: start; }
  .proof { grid-template-columns: 1fr; gap: 1.6rem; }
  .proof__media { aspect-ratio: 4 / 3; max-height: none; }
  .proof__media img { object-position: center 62%; }
  /* Reviews scroll sideways on phones instead of stacking eight cards. */
  .storefront-v2 .holt-feedback { padding-inline: 0; }
  .storefront-v2 .holt-feedback h2,
  .storefront-v2 .holt-feedback > p { padding-inline: var(--edge); }
  .storefront-v2 .holt-feedback-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: .75rem;
    padding: 0 var(--edge) .4rem;
    overflow-x: auto;
    border: 0;
    background: transparent;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    overscroll-behavior-x: contain;
  }
  .storefront-v2 .holt-feedback-card { border: 1px solid var(--line); scroll-snap-align: start; }
  .site-foot__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase__slide,
  .showcase__media img { transition: none !important; transform: none !important; }
  .menubar { transition: none; }
}

/* ---------- Shop page ---------- */
.shop-banner { position: relative; height: clamp(7rem, 11vw, 11rem); overflow: hidden; background: var(--ink-soft); }
.shop-banner__media,
.shop-banner__media img { width: 100%; height: 100%; }
.shop-banner__media img { object-fit: cover; object-position: center 58%; }
.shop-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem 3rem; align-items: end; padding: 1.6rem var(--edge) 1.5rem; }
.shop-intro__title { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.shop-intro__text { max-width: 36rem; margin: 0; color: var(--paper-soft); font-size: 1rem; line-height: 1.6; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 var(--edge);
  border: 1px solid var(--line);
  background: var(--line);
}
.product-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Four across is too narrow for "Add to bag — $12.50" beside Details, so stack them. */
.product-grid--four .shop-card__actions { flex-direction: column; gap: .45rem; }
.product-grid--four .shop-card__actions a,
.product-grid--four .shop-card__actions button { flex: 0 0 auto; }
.product-tile { display: grid; grid-template-rows: auto 1fr auto; background: var(--ink); }
.product-tile__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-soft); }
.product-tile__media picture,
.product-tile__media img { width: 100%; height: 100%; }
.product-tile__media img { object-fit: cover; }
.product-tile--gift .product-tile__media img { object-position: center 30%; }
.product-tile__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; align-content: start; padding: 1.2rem 1.3rem 1rem; }
.product-tile__name { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 400; line-height: 1; }
.product-tile__name a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .15em; }
.product-tile__price { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: 1rem; font-weight: 500; }
.product-tile__notes { grid-column: 1 / -1; margin: 0; color: var(--paper-soft); font-size: .9rem; }
.product-tile .availability-note { grid-column: 1 / -1; margin: .35rem 0 0; color: var(--gold-bright); font-size: .8rem; }
.product-tile .shop-card__actions { display: flex; gap: .6rem; padding: 0 1.3rem 1.3rem; border: 0; }
.product-tile .shop-card__actions a,
.product-tile .shop-card__actions button {
  display: inline-flex;
  min-height: 2.9rem;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
.product-tile .shop-card__actions button { order: -1; flex-grow: 1.6; border-color: var(--gold); background: var(--gold); color: var(--ink); cursor: pointer; }
.product-tile .shop-card__actions button:hover { border-color: var(--gold-bright); background: var(--gold-bright); }
.product-tile .shop-card__actions button:disabled { border-color: var(--line-strong); background: transparent; color: var(--paper-soft); cursor: default; }
.product-tile .shop-card__actions a:hover { border-color: var(--paper-soft); background: rgba(243, 238, 230, .04); }
/* The gift box has no Add to bag button (it is built below), so its link is the main action. */
.product-tile--gift .shop-card__actions a { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.product-tile--gift .shop-card__actions a:hover { border-color: var(--gold-bright); background: var(--gold-bright); }
/* With a creator code the price reads "$12.50 $11.25 with MARIA10" (scripts/creator-code.js), too wide to sit beside
   the name, so it takes its own line under it. */
.product-tile__body:has(.price-was) .product-tile__price { grid-column: 1 / -1; grid-row: auto; align-self: start; }
/* The tile shows the struck list price just above, so its button stays one line: "Add to bag — $11.25". */
.product-tile .shop-card__actions .price-was { display: none; }

.offer-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem 3rem; align-items: baseline; margin: 0 var(--edge); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.offer-band h2 { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.05; }
.offer-band p { max-width: 36rem; margin: 0; color: var(--paper-soft); }

.gift-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) var(--edge); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + var(--menu-h) + 1rem); }
.gift-feature__media img { width: 100%; max-height: 34rem; height: auto; object-fit: cover; }
.gift-feature__copy { max-width: 32rem; }
.gift-feature__copy > p { color: var(--paper-soft); }
.gift-feature__title { margin: 0 0 .6rem; font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 400; line-height: 1; }
.gift-feature__price { margin: 0 0 1.2rem; color: var(--paper) !important; font-size: 1.15rem; font-weight: 500; }
.gift-feature__price span + span { color: var(--paper-soft); font-size: .9rem; font-weight: 400; }
.gift-feature .gift-builder { margin-top: 1.6rem; }
.gift-feature .gift-builder label { color: var(--paper-soft); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.gift-feature .gift-builder select { border-color: var(--line-strong); border-radius: 0; background: var(--ink-raised); color: var(--paper); }
.gift-feature .gift-builder .button { justify-self: start; min-height: 3rem; padding-inline: 1.4rem; font-size: .85rem; letter-spacing: .01em; text-transform: none; }

.limited { padding: clamp(2.5rem, 5vw, 4rem) var(--edge); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + var(--menu-h) + 1rem); }
.limited__title { margin: 0 0 1.6rem; font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.05; }
.limited__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.limited .limited-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: center; padding: 1.3rem; border: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--ink-soft); }
.limited-card img { width: 100%; height: auto; }
.limited-card h3 { margin: 0 0 .4rem; font-family: var(--display); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.limited-card p { margin: 0 0 .45rem; color: var(--paper-soft); font-size: .9rem; line-height: 1.5; }
.limited-card .limited-card__price { color: var(--paper); }
.limited-card .limited-card__price .price { font-weight: 500; }
.limited-card .limited-card__fine { font-size: .8rem; }
.limited-card .availability-note { margin: .4rem 0 0; color: var(--gold-bright); }
.limited-card .muse-release__copy { text-align: left; }

.merch-band { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); align-items: center; gap: 2rem; margin: clamp(2rem, 4vw, 3rem) var(--edge); border: 1px solid var(--line); color: var(--paper); }
.merch-band__media { aspect-ratio: 1; overflow: hidden; }
.merch-band__media img { width: 100%; height: 100%; object-fit: cover; }
.merch-band__copy { display: grid; gap: .5rem; max-width: 36rem; padding: 1.2rem 1.4rem 1.2rem 0; color: var(--paper-soft); }
.merch-band__title { color: var(--paper); font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.merch-band__cta { justify-self: start; margin-top: .3rem; padding-bottom: .15rem; border-bottom: 1px solid var(--gold); color: var(--paper); font-size: .9rem; font-weight: 500; }
.merch-band:hover .merch-band__cta { color: var(--gold-bright); }

/* ---------- Product page ---------- */
.crumbs { display: flex; gap: .6rem; padding: 1.1rem var(--edge) 0; color: var(--paper-soft); font-size: .82rem; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--paper); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; padding: 1.2rem var(--edge) clamp(2.5rem, 5vw, 4rem); }
.pdp__gallery { display: grid; gap: 1rem; }
.pdp__shot { margin: 0; background: var(--ink-soft); }
.pdp__shot img { width: 100%; height: auto; }
.pdp__shot--label { padding: clamp(1rem, 3vw, 2.5rem); border: 1px solid var(--line); }
.pdp__shot--bar picture { display: block; aspect-ratio: 1; overflow: hidden; }
.pdp__shot--bar img { height: 100%; object-fit: cover; object-position: center 66%; }
.pdp__shot figcaption { padding: .7rem .9rem; border-top: 1px solid var(--line); color: var(--paper-soft); font-size: .8rem; }
.pdp__made { padding: 1rem 0 .2rem; }
.pdp__made-title { margin: 0 0 .45rem; font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: 0; }
.pdp__made p { margin: 0; color: var(--paper-soft); font-size: .88rem; line-height: 1.6; }
.pdp-reviews.holt-feedback { margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.pdp__buy { position: sticky; top: calc(var(--bar-h) + var(--menu-h) + 1.2rem); display: grid; gap: 1rem; }
.pdp__heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.pdp__name { margin: 0; font-family: var(--display); font-size: clamp(2.8rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: -.02em; line-height: .95; }
.pdp__price { margin: 0; font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.pdp__mood { margin: 0; color: var(--gold-bright); font-size: .9rem; }
.pdp__lede { margin: 0; color: var(--paper); font-family: var(--display); font-size: 1.45rem; line-height: 1.3; }
.pdp__notes { display: grid; gap: 0; margin: .3rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pdp__notes li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.pdp__notes strong { font-weight: 500; }
.pdp__notes span { color: var(--paper-soft); }
.pdp .product-purchase { display: flex; flex-wrap: nowrap; gap: .6rem; margin: .3rem 0 0; }
.pdp .product-purchase:not(:has([data-add-to-cart])) { display: none; }
.pdp .quantity-control { flex: 0 0 auto; min-height: 3.2rem; border-color: var(--line-strong); }
.pdp .product-purchase .button { flex: 1 1 auto; min-height: 3.2rem; font-size: .9rem; letter-spacing: .01em; text-transform: none; }
.pdp__buy > .availability-note { margin: -.3rem 0 0; color: var(--gold-bright); font-size: .82rem; }
.pdp__facts { display: grid; gap: .45rem; margin: .2rem 0 0; padding: 1rem 1.1rem; list-style: none; border: 1px solid var(--line); background: var(--ink-soft); color: var(--paper-soft); font-size: .86rem; line-height: 1.5; }
.pdp__facts strong { color: var(--paper); font-weight: 500; }
.pdp__facts a,
.pdp__details a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.pdp__details { border-top: 1px solid var(--line); }
.pdp__details details { border-bottom: 1px solid var(--line); }
.pdp__details summary { display: flex; justify-content: space-between; padding: .9rem 0; cursor: pointer; font-size: .92rem; font-weight: 500; list-style: none; }
.pdp__details summary::-webkit-details-marker { display: none; }
.pdp__details summary::after { content: "+"; color: var(--paper-soft); font-weight: 400; }
.pdp__details details[open] summary::after { content: "−"; }
.pdp__details p { margin: 0 0 .9rem; color: var(--paper-soft); font-size: .88rem; line-height: 1.6; }
.more-scents { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.more-scents__title { margin: 0; padding: 0 var(--edge) 1.2rem; font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; }

@media (max-width: 1180px) {
  /* Three tiles across leave the buttons too narrow to share a row, so they stack. */
  .more-scents .shop-card__actions { flex-direction: column; gap: .45rem; }
  .more-scents .shop-card__actions a,
  .more-scents .shop-card__actions button { flex: 0 0 auto; }
  .product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--four .shop-card__actions { flex-direction: row; }
  .product-grid--four .shop-card__actions a,
  .product-grid--four .shop-card__actions button { flex: 1 1 0; }
}

@media (max-width: 980px) {
  .gift-feature,
  .limited__grid { grid-template-columns: 1fr; }
  .gift-feature__media { max-width: 30rem; }
  /* minmax(0, …): a long line (a creator code's price) wraps instead of widening the page. */
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp__buy { position: static; }
  /* One photo at a time on phones, with the next one peeking in, so the
     name, price and Add to bag stay near the top of the page. */
  .pdp__gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: .6rem;
    align-items: start;
    margin-inline: calc(-1 * var(--edge));
    padding-inline: var(--edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    overscroll-behavior-x: contain;
  }
  .pdp__gallery:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
  .pdp__shot { scroll-snap-align: start; }
  .pdp__shot > picture { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
  .pdp__shot > picture img { height: 100%; object-fit: cover; }
  .pdp__shot--label { display: none; }
}

@media (max-width: 560px) {
  /* The struck list price shows by the name, so Add to bag keeps one line: "Add to bag — $11.25". */
  .pdp .product-purchase .price-was { display: none; }
}

@media (max-width: 760px) {
  .shop-intro,
  .offer-band { grid-template-columns: 1fr; }
  .shop-intro { padding-top: 1.6rem; padding-bottom: 1.4rem; }
  .product-grid,
  .product-grid--two,
  .product-grid--four { grid-template-columns: 1fr; margin: 0; border-inline: 0; }
  .product-tile { grid-template-columns: 9.5rem minmax(0, 1fr); grid-template-rows: auto auto; }
  .product-tile__media { grid-row: 1 / 3; aspect-ratio: auto; height: 100%; }
  .product-tile__body { padding: 1rem 1rem .6rem; }
  .product-tile__name { font-size: 1.6rem; }
  .product-tile .shop-card__actions { flex-direction: column; padding: 0 1rem 1rem; gap: .45rem; }
  .product-tile .shop-card__actions a,
  .product-tile .shop-card__actions button { min-height: 2.7rem; flex: 0 0 auto; }
  .offer-band { margin: 0 var(--edge); }
  .limited .limited-card { grid-template-columns: 1fr; }
  .merch-band { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; margin-inline: var(--edge); }
  .merch-band__copy { padding: 1rem 1rem 1rem 0; font-size: .88rem; }
  .merch-band__title { font-size: 1.5rem; }
  .pdp__notes li { grid-template-columns: 6.5rem minmax(0, 1fr); }
}

/* ---------- Older interior pages under the new header ----------
   Their top padding was sized for the old header, which sat on top of the page. */
.storefront-v2 .interior-title { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.storefront-v2 .contact-hero { padding-top: clamp(3.5rem, 7vw, 6rem); }
.storefront-v2 .error-page,
.storefront-v2 .checkout-result { min-height: calc(100svh - var(--chrome-h)); padding-top: clamp(3rem, 6vw, 5rem); }
/* Keep the order number (for example WEB-EC7A73DA) on one line. */
.storefront-v2 .order-summary__header span:first-child { white-space: nowrap; }
