/* Local fonts (downloaded into ./FONTS). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("./FONTS/Manrope-w300.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./FONTS/Manrope-w400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./FONTS/Manrope-w600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./FONTS/Manrope-w700.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./FONTS/CormorantGaramond-w400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./FONTS/CormorantGaramond-w600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./FONTS/CormorantGaramond-w700.woff2") format("woff2");
}

:root {
  /* Palette tuned from the provided reference images:
     - Deep plum / maroon
     - Teal-blue accents
     - Magenta/purple mid-tones
     - Olive / chartreuse-green highlights
  */
  --maroon: #6d1235;
  --teal: #2b9a95;
  --chartreuse: #8da03a;
  --pink: #b53a73;
  --deep-purple: #3a0c2c;
  --green: #6a6f39;

  /* Light base — plain white page */
  --bg0: #ffffff;
  --bg1: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --card2: rgba(255, 255, 255, 0.95);
  --stroke: rgba(40, 10, 55, 0.14);
  --stroke2: rgba(40, 10, 55, 0.24);

  --text: rgba(28, 8, 44, 0.92);
  --muted: rgba(28, 8, 44, 0.62);

  --shadow: 0 18px 45px rgba(28, 8, 44, 0.12);
  --shadow2: 0 12px 28px rgba(28, 8, 44, 0.10);

  /* Thin border for images across the site (use outline to avoid layout shifts). */
  --img-stroke: rgba(0, 0, 0, 0.12);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --focus: 0 0 0 4px rgba(184, 255, 47, 0.28), 0 0 0 1px rgba(184, 255, 47, 0.85);
  --menu-bar-height: 88px;
  --hero-banner-height: max(570px, calc(52vh + 250px));
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: rgba(0, 0, 0, 0.85);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke2);
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
  outline: none;
  box-shadow: var(--focus);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleY(0.5);
  transform-origin: bottom;
  pointer-events: none;
  z-index: 2;
}

.topbar .container {
  max-width: none;
  padding-left: clamp(14px, 2.2vw, 34px);
  padding-right: clamp(14px, 2.2vw, 34px);
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
}

.fx-widget {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border-radius: 999px;
  line-height: 1;
  height: auto;
  min-height: 0;
  width: fit-content;
  max-width: none;
  position: relative;
  z-index: 120;
  cursor: pointer;
  pointer-events: auto;
}

.fx-widget,
.fx-widget * {
  pointer-events: auto;
}

.top-icon-btn--cart {
  position: relative;
  z-index: 80;
}

.fx-widget--drawer {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.14);
  backdrop-filter: none;
}

.fx-widget--drawer .fx-widget__mode {
  border-color: rgba(0, 0, 0, 0.16);
}

.fx-widget--drawer .fx-btn {
  background: #deafa4 !important;
  border: 1px solid #deafa4 !important;
  color: #111111 !important;
}

.fx-widget--drawer .fx-widget__mode button[aria-pressed="true"] {
  background: #ffffff !important;
  color: rgba(28, 8, 44, 0.92) !important;
}

.topbar--solid .fx-widget,
.topbar--dropdown-open .fx-widget {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.fx-widget__select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  max-width: 160px;
}

.fx-widget__chev {
  font-size: 12px;
  opacity: 0.9;
  transform: translateY(-0.5px);
  pointer-events: none;
}

.fx-widget:focus-within {
  box-shadow: 0 0 0 3px rgba(222, 175, 164, 0.32);
}

.fx-widget__mode {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.fx-widget__mode button {
  border: 0;
  background: transparent !important;
  color: inherit !important;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  cursor: pointer;
}

.fx-widget__mode button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.22) !important;
}

.fx-widget__value {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  max-width: none;
  min-width: 0;
}

.fx-widget__text {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

@media (max-width: 640px) {
  .fx-widget {
    padding: 5px 10px;
    gap: 6px;
    max-width: calc(100vw - 120px); /* keep room for cart + spacing */
  }
}

.brand {
  justify-self: center;
  text-decoration: none;
  color: var(--text);
}

.brand__name {
  display: inline-block;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 33px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
}
.brand__tagline {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
  justify-self: start;
}

.nav-dropdown-wrap {
  position: relative;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nav__link--shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  font: inherit;
  cursor: pointer;
}

.nav__shop-icon {
  display: inline-block;
  width: 33px;
  height: 33px;
  transform: none;
  vertical-align: baseline;
  pointer-events: none;
}

/* Branded toast (replaces browser alert) */
.hr-toast-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  display: grid;
  place-items: center;
  z-index: 9999;
  pointer-events: none;
}
.hr-toast-host--cart {
  padding: 0;
  place-items: end;
}
.hr-toast-host.is-open .hr-toast {
  opacity: 1;
  transform: translateY(0);
}
.hr-toast-host--cart.is-open .hr-toast {
  transform: translateY(0);
}
.hr-toast {
  width: min(520px, calc(100vw - 28px));
  background: #deafa4;
  border: 1px solid rgba(17, 17, 17, 0.22);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.16);
  backdrop-filter: none;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}
.hr-toast--cart {
  width: min(360px, calc(100vw - 24px));
  border-radius: 14px;
  transform: translateY(-10px);
}
.hr-toast__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}
.hr-toast__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #111111;
}
.hr-toast__close {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: rgba(17, 17, 17, 0.78);
  padding: 0 4px;
}
.hr-toast__body {
  padding: 12px 14px 14px;
  color: rgba(17, 17, 17, 0.92);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .hr-toast {
    transition: none;
    transform: none;
  }
}

.nav-dropdown {
  position: fixed;
  left: 0;
  top: calc(var(--topbar-actual-height, var(--menu-bar-height)) - 1px);
  width: 50vw;
  height: calc(var(--hero-banner-height) - var(--topbar-actual-height, var(--menu-bar-height)));
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 60;
  padding: 14px 0 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
}

.nav-dropdown-wrap.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s;
}

.nav-dropdown__inner {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  row-gap: 8px;
  padding: 0 18px;
}

.nav-dropdown__all {
  display: block;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #181818;
  text-decoration: none;
  padding: 6px 0 10px;
  border-bottom: none;
  grid-column: 1;
}

.nav-dropdown__all:hover {
  opacity: 0.65;
}

.nav-dropdown__heading {
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--muted);
  padding: 6px 0 10px;
  grid-column: 1;
}

.nav-dropdown__heading-link {
  color: #6c1b3b;
  text-decoration: none;
}
.nav-dropdown__heading-link:hover {
  opacity: 0.65;
}

.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(56vh, 380px);
  overflow-y: auto;
  grid-column: 1;
  grid-row: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-dropdown__list a {
  display: block;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #6c1b3b;
  text-decoration: none;
  padding: 7px 0;
  border-bottom: none;
}

.nav-dropdown__list li:last-child a {
  border-bottom: none;
}

.nav-dropdown__list a:hover {
  opacity: 0.65;
}

@media (max-width: 760px) {
  .nav-dropdown {
    width: min(420px, 92vw);
  }

  .nav-dropdown__inner {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .nav-dropdown__all,
  .nav-dropdown__heading,
  .nav-dropdown__list {
    grid-column: 1;
    grid-row: auto;
  }

}

/* Offerings / all products — Hannah Lavery–style layout */
.offering {
  margin-top: 0;
}

.offering-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.offering-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.offering-breadcrumb a:hover {
  text-decoration: underline;
}

.offering-breadcrumb__sep {
  margin: 0 6px;
  opacity: 0.6;
}

.offering-title {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.offering-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offering-toolbar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
}

.offering-toolbar__filter-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.offering-toolbar__count {
  font-size: 13px;
  color: var(--muted);
}

.offering-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offering-sort-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offering-sort {
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  font-size: 13px;
  color: var(--text);
}

.offering-search {
  margin: 16px 0 0;
}

.offering-search input {
  width: 100%;
  max-width: 420px;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 14px;
  background: #fff;
}

.offering-offerings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offering-cat {
  appearance: none;
  border: none;
  background: none;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.offering-cat:hover {
  color: var(--text);
}

.offering-cat.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.offering-grid {
  margin-top: 18px;
}

/* Space + heading below hero (home + shop) */
.hero-below {
  padding-top: 56px;
}

/* Use more horizontal space for post-hero offerings on desktop */
.container.hero-below {
  max-width: 1680px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section title — centered scale similar to Purr “Featured Offerings” (boutique Shopify heading) */
.featured-offerings-heading {
  display: block;
  width: 100%;
  margin: 0 auto 26px;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(31.2px, 3.64vw, 46.8px);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #6c1b3b;
  line-height: 1.2;
}

@media (min-width: 750px) {
  .featured-offerings-heading {
    font-size: clamp(31.2px, 3.64vw, 46.8px);
  }
}

/* Same vertical gap as .hero-below padding-top (hero image → first section heading). */
.hero-below .featured-collections-home + .featured-offerings-heading {
  margin-top: 56px;
}

/* No collections carousel: keep the same gap between the two section headings. */
.hero-below .featured-offerings-heading + .featured-offerings-heading {
  margin-top: 56px;
}

.featured-offerings-section {
  margin-top: 0;
}

/* Main section headings that sit directly under the fixed menu bar (OUR OFFERINGS, shop offering titles, etc.). Later in file than .hero-below so it overrides 56px when both classes apply. */
.page-heading-below-topbar {
  padding-top: calc(var(--topbar-actual-height, var(--menu-bar-height)) + 28px);
}

/* Offerings page: bottom spacing + width */
.offerings-page {
  padding-bottom: 38px;
  max-width: 1680px;
}

/* Offering tiles under FEATURED OFFERINGS (inspired by Hannah Lavery section cards) */
.offering-spotlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap: 22px;
  justify-content: center;
}

/* Admin drag reordering affordances */
.offering-spotlight[draggable="true"] {
  cursor: grab;
}
.offering-spotlight[draggable="true"]:active {
  cursor: grabbing;
}
.offering-spotlight.is-dragging {
  opacity: 0.55;
  transform: scale(0.98);
}

.admin-product-panel[draggable="true"] {
  cursor: grab;
}
.admin-product-panel[draggable="true"]:active {
  cursor: grabbing;
}
.admin-product-panel.is-dragging {
  opacity: 0.6;
}

/* Collections tiles must match Categories tiles exactly */
.collections-page .offering-spotlights {
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap: 22px;
  justify-content: center;
}
.collections-page .offering-spotlight {
  min-height: 460px;
  height: 460px;
}

@media (max-width: 1100px) {
  .collections-page .offering-spotlights {
    gap: 16px;
  }
  .collections-page .offering-spotlight {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .collections-page .offering-spotlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .collections-page .offering-spotlight {
    min-height: clamp(340px, 96vw, 420px);
    height: clamp(340px, 96vw, 420px);
  }
}

/* Featured Collections: single marquee card on home */
.featured-collections-home {
  cursor: pointer;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Static “what’s on offer” image: same frame as carousel, not clickable */
.whats-on-offer-shop {
  cursor: default;
}

/* Portrait-first: full width on mobile, constrained on desktop */
@media (min-width: 760px) {
  .featured-collections-home {
    max-width: clamp(360px, 46vw, 620px);
  }
}
.featured-collections-home__body {
  padding-top: 12px !important;
}

/* Home About intro: same rhythm gap as heading spacing, then full-bleed accent rule. */
.hero-below .whats-on-offer-shop + .home-about-intro {
  margin-top: 56px;
}

.home-about-intro {
  width: 100%;
  padding-bottom: 56px;
}

.home-about-intro__rule {
  height: 1px;
  background: #deafa4;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.home-about-intro__body {
  max-width: 760px;
  margin: 48px auto 0;
}

.home-about-intro__title {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f1f1f;
}

.home-about-intro__text {
  margin: 0;
  max-width: 660px;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.75;
  color: rgba(22, 17, 26, 0.9);
}

.home-about-intro__cta {
  margin-top: 22px;
  min-width: 124px;
}

/* Category page (sub-offerings): intro centered directly under category heading. */
.catalog-intro--category-page,
.catalog-intro--sub-category-page {
  padding-bottom: 0;
  margin: 4px 0 28px !important;
}

.catalog-intro--category-page .home-about-intro__body,
.catalog-intro--sub-category-page .home-about-intro__body {
  margin-top: 0;
  max-width: 720px;
  text-align: center;
}

.catalog-intro--category-page .home-about-intro__text,
.catalog-intro--sub-category-page .home-about-intro__text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.offerings-page .catalog-intro-mount--category-page {
  margin-top: -12px;
  margin-bottom: 8px;
}

.shop-products-section .catalog-intro-mount--sub-category-page {
  margin-top: -12px;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .home-about-intro__body {
    margin-top: 34px;
    max-width: 100%;
  }

  .catalog-intro--category-page .home-about-intro__body,
  .catalog-intro--sub-category-page .home-about-intro__body {
    margin-top: 0;
  }
}

.featured-collections-home__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}
.featured-collections-home__overlay .offering-spotlight__btn {
  pointer-events: auto;
  position: absolute;
  left: 14px;
  bottom: 15px;
}
.featured-collections-home__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
/* (label moved into each slide: .featured-collections-strip__title) */
/* (previous crossfade classes removed; now uses strip slider) */

/* Featured Collections: side-by-side strip slider (no crossfade) */
.featured-collections-strip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.featured-collections-strip__track {
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transform: translateX(0);
  transition: transform 650ms ease;
}
.featured-collections-strip__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.featured-collections-strip__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}
.featured-collections-strip__title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 70px;
  z-index: 2;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.offering-spotlight {
  position: relative;
  display: block;
  min-height: 460px;
  height: 460px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.offering-spotlight__image-link {
  position: absolute;
  inset: 0;
  display: block;
}

.offering-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}

.offering-spotlight:hover img {
  transform: scale(1.04);
}

.offering-spotlight__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(to top, rgba(10, 7, 13, 0.64) 0%, rgba(10, 7, 13, 0.18) 45%, transparent 72%);
}

.offering-spotlight__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.offering-spotlight__title-link {
  text-decoration: none;
  color: inherit;
}



@media (max-width: 1100px) {
  .container.hero-below {
    max-width: 1120px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .offering-spotlights {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
  }

  .offering-spotlight {
    min-height: 420px;
    height: 420px;
  }
}

/* Shop: content below hero (heading + grid) */
.shop-products-below-hero {
  margin-top: 0;
}

.shop-products-section {
  margin-top: 0;
}

.shop-product-grid {
  margin-top: 0;
  /* Match Categories/Collections tile sizing (centered, capped width cards). */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
}

.shop-product-grid .product-card {
  grid-column: auto;
  width: 100%;
}



/* Product details action row: matching style, inverse colors */
.product-detail-actions .btn {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  min-width: 136px;
  justify-content: center;
  text-decoration: none;
}

/* Product details layout (responsive) */
.product-detail-grid .product-detail-media {
  grid-column: span 5;
  min-height: 460px;
}
.product-detail-grid .product-detail-info {
  grid-column: span 7;
  min-height: 460px;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-detail-grid .product-detail-media__media {
  height: 460px;
  padding: 0;
}
.product-detail-grid .product-detail-media__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}

.product-detail-grid .product-detail-media__media.product-detail-gallery {
  position: relative;
}
.product-detail-gallery__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.product-detail-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}
.product-detail-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #111111;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}
.product-detail-gallery__nav--prev {
  left: 8px;
}
.product-detail-gallery__nav--next {
  right: 8px;
}
.product-detail-gallery__nav:hover {
  background: #ffffff;
}
.product-detail-gallery__nav:focus-visible {
  outline: 2px solid #deafa4;
  outline-offset: 2px;
}

.product-detail-actions {
  margin-top: auto;
  /* Breathing room above buttons; avoid translateY (it overlapped long details + delivery copy on desktop). */
  padding-top: clamp(24px, 4vw, 40px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .product-detail-grid .product-detail-media,
  .product-detail-grid .product-detail-info {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .product-detail-grid .product-detail-media__media {
    height: clamp(340px, 96vw, 420px);
  }

  .product-detail-grid .product-detail-info {
    padding: 14px;
  }

  .product-detail-actions {
    margin-top: 16px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }
  .product-detail-actions .btn {
    width: 100%;
  }
}




.offering-spotlight__btn,
.back-to-offerings-btn,
.cart-drawer__btn,
.product-card__add-btn {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.offering-spotlight__btn {
  width: fit-content;
  min-width: 120px;
  padding: 10px 16px;
}

.back-to-offerings-btn {
  line-height: 1;
  margin: 0 0 16px;
}

.cart-drawer__btn {
  justify-content: center;
  padding: 12px 14px;
}

.product-card__add-btn {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  justify-content: center;
}
@media (max-width: 640px) {
  .offering-spotlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .offering-spotlight {
    min-height: clamp(340px, 96vw, 420px);
    height: clamp(340px, 96vw, 420px);
  }

  .offering-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .offering-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .offering-sort {
    flex: 1;
    min-width: 0;
  }

  .nav-dropdown {
    left: 0;
    right: auto;
  }
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  border: none;
  transition: transform 120ms ease, border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.nav__link:hover {
  color: rgba(0, 0, 0, 0.88);
  background: transparent;
  transform: translateY(-1px);
}

.nav__cta {
  color: rgba(0, 0, 0, 0.84);
  background:
    radial-gradient(28px 28px at 20% 25%, rgba(184, 255, 47, 0.95), transparent 60%),
    linear-gradient(135deg, rgba(184, 255, 47, 0.88), rgba(15, 118, 110, 0.9));
  border-color: rgba(40, 10, 55, 0.14);
}
.nav__cta:hover {
  background:
    radial-gradient(28px 28px at 20% 25%, rgba(184, 255, 47, 0.95), transparent 60%),
    linear-gradient(135deg, rgba(184, 255, 47, 0.95), rgba(15, 118, 110, 0.95));
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 2px; /* keep search close to cart */
  justify-self: end;
}

.topbar-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  min-height: 40px;
  width: 52px; /* collapsed: icon-only (desktop/tablet) */
  overflow: hidden;
  transition: width 180ms ease, border-color 180ms ease, background 180ms ease;
}

.topbar-search:not(.is-open) {
  justify-content: center;
  padding: 0;
  gap: 0;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  width: 28px; /* contain magnifier button only */
  min-height: 28px;
  overflow: visible; /* allow icon + shadow without cropping */
}

.topbar-search:not(.is-open) .topbar-search__clear {
  display: none !important;
}

.topbar-search:not(.is-open) .topbar-search__input {
  opacity: 0 !important;
  pointer-events: none !important;
}

.topbar-search:not(.is-open) .topbar-search__btn {
  width: 28px !important;
  height: 28px !important;
}

.topbar-search__input {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  outline: none;
  font: inherit;
  font-size: 14px;
  width: 100%;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

/* Hide the browser's built-in "clear search" icon (blue ×). */
.topbar-search__input::-webkit-search-cancel-button,
.topbar-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.topbar-search__input::placeholder {
  color: rgba(255, 255, 255, 0.70);
}

.topbar-search__btn {
  width: 34px !important;
  height: 34px !important;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff !important;
  pointer-events: auto;
}

.topbar-search.is-open .topbar-search__btn {
  color: #ffffff !important;
}

/* Default: search icon stays white; hover can use accent. */
.topbar-search:not(.is-open) .topbar-search__btn:hover {
  color: #deafa4 !important;
}

.topbar-search__btn .top-icon-svg {
  width: 20px;
  height: 20px;
}

/* Match cart icon shadow style for the magnifier. */
.topbar-search__btn .top-icon-svg {
  filter: drop-shadow(0 1px 2px rgba(64, 64, 64, 0.9)) !important;
}

.topbar-search__clear {
  width: 34px !important;
  height: 34px !important;
  display: none;
  place-items: center;
  color: rgba(255, 255, 255, 0.92) !important;
  flex: 0 0 auto;
  font-size: 44px;
  line-height: 1;
}

.topbar-search.is-open {
  width: clamp(160px, 18vw, 280px);
}

.topbar-search.is-open .topbar-search__input {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.shop-search-bar {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
  position: relative;
  z-index: 5;
}

.shop-search-bar .topbar-search {
  background: rgba(20, 12, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.shop-search-bar .topbar-search__input {
  color: #ffffff !important;
}

.shop-search-bar .topbar-search__input::placeholder {
  color: rgba(255, 255, 255, 0.70) !important;
}

.shop-search-bar .topbar-search__btn,
.shop-search-bar .topbar-search__clear {
  color: rgba(255, 255, 255, 0.92) !important;
}

.topbar-search.has-value .topbar-search__clear {
  display: grid;
}

.topbar-search:focus-within {
  box-shadow: 0 0 0 3px rgba(222, 175, 164, 0.32);
}

@media (max-width: 640px) {
  /* Pull search closer to cart on small screens. */
  .topbar__right {
    gap: 2px;
    margin-right: 0;
  }

  .topbar-search {
    padding: 5px 8px;
    gap: 4px;
  }
  .topbar-search:not(.is-open) {
    width: 32px; /* avoid cropping/shadow clipping; prevents overlap */
    padding: 0;
    min-height: 24px;
  }
  .topbar-search:not(.is-open) .topbar-search__btn {
    width: 32px;
    height: 32px;
  }
  .topbar-search:not(.is-open) .topbar-search__btn .top-icon-svg {
    width: 22px;
    height: 22px;
  }
  .topbar-search.is-open {
    width: clamp(150px, 40vw, 220px);
  }
  .topbar-search__btn,
  .topbar-search__clear {
    width: 30px;
    height: 30px;
  }
}

.top-action-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--text);
  padding: 10px 8px;
}

.top-action-link:hover {
  opacity: 0.7;
}

.nav__link,
.nav__link:hover,
.nav__link:focus,
.nav__link:active,
.top-action-link,
.top-action-link:hover,
.top-action-link:focus,
.top-action-link:active,
.top-icon-btn,
.top-icon-btn:hover,
.top-icon-btn:focus,
.top-icon-btn:active {
  background: transparent !important;
  border: none !important;
}

.top-icon-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
}

.top-icon-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.top-icon-btn:hover {
  opacity: 0.7;
}

.top-icon-btn:focus {
  outline: none;
  box-shadow: var(--focus);
}

.top-icon-btn--cart {
  position: relative;
  width: 72px;
  height: 72px;
  color: #ffffff;
}

.top-icon-svg--cart {
  width: 36px;
  height: 36px;
  color: #ffffff;
  transform: scale(1.5);
  transform-origin: center;
  filter: drop-shadow(0 1px 2px rgba(64, 64, 64, 0.9));
}

/* Keep shadows exclusive to the cart icon. */
.nav__link,
.top-action-link,
.top-icon-btn:not(.top-icon-btn--cart),
.top-icon-btn:not(.top-icon-btn--cart) .top-icon-svg {
  text-shadow: none !important;
  filter: none !important;
}

.top-cart-count {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  min-width: 21px;
  height: 21px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 21px;
  text-align: center;
  padding: 0 4px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(120, 120, 120, 0.28) !important;
}
.cart-drawer__backdrop:hover,
.cart-drawer__backdrop:focus {
  background: rgba(120, 120, 120, 0.28) !important;
  border: none !important;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  max-width: 100vw;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid var(--stroke);
  box-shadow: -10px 0 28px rgba(0, 0, 0, 0.16);
  padding: 16px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  font-size: 150%;
}

@media (max-width: 640px) {
  .cart-drawer__panel {
    width: 100vw;
    max-width: 100vw;
  }
}

.cart-drawer__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: #f1f1f1;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-drawer__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cart-drawer__close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}

.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding-top: 12px;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 123px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-drawer__item img {
  width: 123px;
  height: 144px;
  object-fit: cover;
}

.cart-drawer__right {
  display: flex;
  flex-direction: column;
  height: 144px; /* match image height so bottom aligns */
}

.cart-drawer__name {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.cart-drawer__meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-drawer__line {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text);
}

.cart-drawer__qty {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer__qty button {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  cursor: pointer;
}

.cart-drawer__summary {
  margin-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 12px;
}

.cart-drawer__fx {
  margin-top: 10px;
  display: grid;
  width: 100%;
}

.cart-drawer__fx .fx-widget--drawer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  overflow: hidden;
}

.cart-drawer__fx .fx-widget__select {
  max-width: 100%;
}

.cart-drawer__fx .fx-widget__value {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cart-drawer__fx .fx-widget__text {
  min-width: 0;
}

.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Cart typography scale-up (50% larger) */
.cart-drawer__title {
  font-size: 20px;
}
.cart-drawer__name {
  font-size: 20px;
}
.cart-drawer__line {
  font-size: 18px;
}
.cart-drawer__row {
  font-size: 20px;
}
.cart-drawer__qty button {
  font-size: 20px;
}
.cart-drawer__qty span {
  font-size: 20px;
  display: inline-block;
  width: 6ch;
  text-align: center;
}
.cart-drawer__btn {
  font-size: 18px;
}

.cart-drawer__actions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.cart-drawer__actions .cart-drawer__btn {
  width: 100%;
}



.page {
  flex: 1 0 auto;
  padding: 0 0 38px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.hero__card {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(650px 340px at 10% 10%, rgba(109, 27, 59, 0.32), transparent 55%),
    radial-gradient(520px 300px at 80% 20%, rgba(15, 118, 110, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.58));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(360px 180px at 50% -30%, rgba(184, 255, 47, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(255, 79, 166, 0.12), transparent 40%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.kicker__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chartreuse), var(--pink));
  box-shadow: 0 0 0 3px rgba(184, 255, 47, 0.12);
}

.hero__title {
  margin: 14px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: 0.01em;
  line-height: 1.03;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  appearance: none;
  border: 1px solid #deafa4;
  background: #ffffff;
  color: #111111;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  user-select: none;
}
.btn:hover {
  background: #deafa4;
  border-color: #deafa4;
  color: #111111;
  transform: translateY(-1px);
}
.btn:focus {
  outline: none;
  box-shadow: var(--focus);
}

/* Hero secondary CTA — light outline on dark overlay */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.95);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.hero__side {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.50));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin: 0;
}

.side__list {
  display: grid;
  gap: 10px;
}

.side__item {
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
}

.side__item strong {
  font-size: 13px;
}
.side__item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  margin-top: 22px;
}

.section.shop-products-section {
  margin-top: 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
}

.small-muted {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}

.field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.60);
}

.field input,
.field select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.field input::placeholder {
  color: rgba(28, 8, 44, 0.40);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border-radius: 999px;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.chip:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.88);
  background: rgba(255, 255, 255, 0.80);
}
.chip[aria-pressed="true"] {
  color: rgba(0, 0, 0, 0.88);
  background:
    radial-gradient(18px 18px at 20% 20%, rgba(184, 255, 47, 0.95), transparent 60%),
    linear-gradient(135deg, rgba(184, 255, 47, 0.88), rgba(255, 79, 166, 0.55));
  border-color: rgba(40, 10, 55, 0.22);
}
.chip:focus {
  outline: none;
  box-shadow: var(--focus);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.product-card {
  grid-column: span 3;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(28, 8, 44, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 10, 55, 0.20);
  background: rgba(255, 255, 255, 0.78);
}

.product-card__media {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(160px 80px at 15% 15%, rgba(109, 27, 59, 0.25), transparent 62%),
    radial-gradient(200px 90px at 85% 25%, rgba(15, 118, 110, 0.25), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  border-bottom: 1px solid rgba(28, 8, 44, 0.10);
}

.product-card__qty {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: rgba(28, 8, 44, 0.7);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: normal;
}

.product-card__media img {
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: 12px;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}

.product-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card__qty {
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(28, 8, 44, 0.7);
  line-height: 1.25;
}

.product-card__bottom-spacer {
  display: none;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card__meta--title-price {
  align-items: baseline;
}

.product-card__meta--title-only {
  display: block;
  min-width: 0;
}

.product-card__meta--title-only .product-card__title {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  color: rgba(28, 8, 44, 0.88);
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__origin-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(40, 10, 55, 0.12);
  background: rgba(240, 238, 241, 0.52);
  color: rgba(28, 8, 44, 0.52);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__origin-badge--on-image {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(28, 8, 44, 0.14);
  backdrop-filter: blur(2px);
}

.product-card__title--inline {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  flex: 1;
  padding-right: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.58);
  color: rgba(28, 8, 44, 0.70);
}

.price {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-card__title {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.25;
  text-transform: none;
  color: rgba(28, 8, 44, 0.88);
}

.product-card__desc {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__bottom {
  position: relative;
  min-height: 22px;
  margin-top: 0;
}

.link {
  color: rgba(184, 255, 47, 0.9);
  text-decoration: none;
  font-weight: 700;
}

.link:hover {
  text-decoration: underline;
}

.btn--small {
  padding: 9px 12px;
  font-size: 13px;
}

.callout {
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
}
.callout--warn {
  border-color: rgba(255, 79, 166, 0.28);
  background: rgba(255, 79, 166, 0.08);
}
.callout--ok {
  border-color: rgba(184, 255, 47, 0.28);
  background: rgba(184, 255, 47, 0.08);
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Checkout: Shopify-like two-column layout with a right summary sidebar. */
.checkout-grid {
  align-items: start;
}
.checkout-left {
  grid-column: span 7;
  padding: 16px;
  min-height: 460px;
}
.checkout-right {
  grid-column: span 5;
  padding: 16px;
  min-height: 460px;
  position: sticky;
  top: calc(var(--topbar-actual-height, var(--menu-bar-height)) + 28px);
  align-self: start;
}
.checkout-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.checkout-summary-bar {
  display: none;
  width: 100%;
  margin-top: 14px;
  padding: 14px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(28, 8, 44, 0.10);
  cursor: pointer;
  text-align: left;
}
.checkout-summary-bar__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.checkout-summary-bar__meta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  float: right;
}
.checkout-summary-bar__total {
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
}
.checkout-summary-bar__chev {
  width: 22px;
  text-align: center;
  color: var(--muted);
  transform: translateY(-1px);
}
.checkout-summary-body {
  display: block;
}

/* Checkout form (Shopify-inspired) */
.checkout-form {
  display: block;
}
.checkout-section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #181818;
}
.checkout-card-heading {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6c1b3b;
}
.checkout-section-card {
  background: #f1f1f1;
  border-radius: 14px;
  padding: 14px;
}
.checkout-field {
  margin-top: 10px;
}
.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-field-row--3 {
  grid-template-columns: 1.1fr 0.9fr 0.7fr;
}
.checkout-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  user-select: none;
}
.checkout-check input {
  margin-top: 3px;
}
.checkout-pay-now {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 16px;
}
.checkout-continue-shopping.checkout-pay-now {
  margin-top: 10px;
}
.checkout-payments .radio-card strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .checkout-left,
  .checkout-right {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .checkout-summary-bar {
    display: block;
  }
  .checkout-right {
    position: static;
    order: -1;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
  }
  /* Collapsed by default; expanded via .is-open on the card. */
  .checkout-right .checkout-summary-head {
    display: none;
  }
  .checkout-right .checkout-summary-body {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(28, 8, 44, 0.10);
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 220ms ease, opacity 200ms ease, transform 220ms ease;
  }
  .checkout-right.is-open .checkout-summary-body {
    max-height: 900px;
    opacity: 1;
    transform: translateY(0);
  }

  .checkout-field-row,
  .checkout-field-row--3 {
    grid-template-columns: 1fr;
  }
}

.label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.control {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  outline: none;
  width: 100%;
  font-size: 14px;
}
.control:focus {
  box-shadow: var(--focus);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card {
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.60);
  padding: 12px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.radio-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.82);
}
.radio-card input {
  margin-right: 10px;
  transform: translateY(1px);
}
.radio-card strong {
  display: block;
  font-size: 14px;
}
.radio-card span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.35;
}

.summary {
  margin-top: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  padding: 14px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
  color: rgba(28, 8, 44, 0.78);
}
.summary-row strong {
  color: rgba(28, 8, 44, 0.92);
}
.hr {
  height: 1px;
  background: rgba(28, 8, 44, 0.12);
  margin: 12px 0;
}

.cart-list {
  display: grid;
  gap: 12px;
  font-size: 150%;
}

.cart-item {
  border-radius: var(--radius-xl);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  padding: 12px;
  display: grid;
  grid-template-columns: 129px 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.cart-item img {
  width: 129px;
  height: 105px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 8, 44, 0.10);
}
.cart-item__title {
  font-weight: 800;
}
.cart-item__sub {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.cart-item__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* push qty/buttons to bottom */
}

/* Full cart page typography scale-up (50% larger) */
.cart-item__title {
  font-size: 21px;
}
.cart-item__sub {
  font-size: 20px;
}
.cart-item__right .qty button {
  font-size: 20px;
}
.cart-item__right .qty span {
  font-size: 20px;
}
.cart-item__right .btn {
  font-size: 18px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty button {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  cursor: pointer;
}
.qty button:focus {
  outline: none;
  box-shadow: var(--focus);
}
.qty span {
  min-width: 6ch;
  text-align: center;
  font-weight: 800;
}

.footer {
  flex-shrink: 0;
  padding: 10px 0;
  border-top: 1px solid var(--stroke);
  background: #f1f1f1;
}

/* Prevent footer "pop-in" during SPA route loads (keep space, hide visually). */
body.route-loading .footer {
  visibility: hidden;
}

/* Align footer content with topbar/nav left edge */
.footer .container {
  max-width: none;
  padding-left: calc(clamp(14px, 2.2vw, 34px) + 20px);
  padding-right: clamp(14px, 2.2vw, 34px);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: hidden;
}
.footer__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}
.footer__small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}
.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Keep footer height constant: allow left text to truncate instead of wrapping/scrolling. */
.footer__inner > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.footer__title,
.footer__small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.footer__links a {
  color: rgba(28, 8, 44, 0.78);
  text-decoration: none;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
}
.footer__links a:hover {
  border-color: rgba(40, 10, 55, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

/* Footer cart icon button: match topbar icon size, inverted colors */
.footer-cart-btn {
  position: relative;
  /* Override the generic footer link pill styles */
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #181818 !important;
  text-decoration: none;
}
.footer-cart-btn:hover {
  border-color: transparent !important;
  background: transparent !important;
}
.footer-cart-svg {
  /* Exact same geometry as top cart, but inverted colors and no shadow */
  color: #181818 !important;
  filter: none !important;
}

.footer-cart-count {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 21px;
  height: 21px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 21px;
  text-align: center;
  padding: 0 4px;
}

/* Style refresh inspired by fashion storefront layouts */
.nav__link,
.nav__cta,
.icon-pill,
.btn,
.chip,
.product-card,
.tag,
.control,
.field,
.radio-card,
.summary,
.cart-item,
.footer__links a {
  border-radius: 0;
}

.nav__link {
  border: none;
  padding: 8px 10px;
  letter-spacing: 0.02em;
}

.nav__link:hover {
  border: none;
  background: transparent;
}

.nav__cta {
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
}

.topbar {
  background: transparent;
  backdrop-filter: none;
}

/* Scroll behavior like Hannah Lavery:
   - at top over hero: transparent bar so hero image shows through
   - once scrolled: white bar with dark text/icons */
.topbar.topbar--over-hero {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none;
}

.topbar.topbar--over-hero .nav__link,
.topbar.topbar--over-hero .brand__name,
.topbar.topbar--over-hero .top-action-link,
.topbar.topbar--over-hero .top-icon-btn {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.topbar.topbar--solid {
  background: #6c1b3b !important;
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}

.topbar.topbar--dropdown-open {
  background: #6c1b3b !important;
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(8px);
}

.topbar.topbar--over-hero.topbar--dropdown-open {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: rgba(0, 0, 0, 0.10) !important;
  backdrop-filter: blur(10px);
}

.topbar.topbar--over-hero.topbar--dropdown-open .nav__link,
.topbar.topbar--over-hero.topbar--dropdown-open .brand__name,
.topbar.topbar--over-hero.topbar--dropdown-open .top-action-link,
.topbar.topbar--over-hero.topbar--dropdown-open .top-icon-btn {
  color: rgba(28, 8, 44, 0.92) !important;
  text-shadow: none !important;
  filter: none !important;
}

.topbar.topbar--over-hero.topbar--dropdown-open .top-icon-svg--cart {
  color: rgba(28, 8, 44, 0.92) !important;
  filter: drop-shadow(0 1px 2px rgba(64, 64, 64, 0.35)) !important;
}

.topbar {
  transition: background-color 180ms ease, border-color 180ms ease;
}

.topbar.topbar--solid .nav__link,
.topbar.topbar--solid .brand__name,
.topbar.topbar--solid .top-action-link,
.topbar.topbar--solid .top-icon-btn {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.topbar.topbar--dropdown-open .nav__link,
.topbar.topbar--dropdown-open .brand__name,
.topbar.topbar--dropdown-open .top-action-link,
.topbar.topbar--dropdown-open .top-icon-btn {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Keep all top-bar elements on one row across sizes.
   Scale typography/icons down responsively instead of wrapping. */
.topbar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, 1vw, 12px);
  white-space: nowrap;
}

.nav {
  flex-wrap: nowrap;
  gap: clamp(6px, 1vw, 14px);
  min-width: 0;
}

.nav__link {
  font-size: clamp(11px, 1.05vw, 17px);
  font-weight: 700;
  padding: clamp(5px, 0.8vw, 8px) clamp(6px, 0.9vw, 10px);
}

.brand__name {
  font-size: clamp(18px, 2.55vw, 33px);
  letter-spacing: clamp(0.04em, 0.45vw, 0.12em);
}

.topbar__right {
  gap: clamp(2px, 0.7vw, 8px);
}

.top-action-link {
  font-size: clamp(11px, 1.05vw, 17px);
  font-weight: 700;
  padding: clamp(4px, 0.8vw, 10px) clamp(4px, 0.8vw, 8px);
}

.top-icon-btn {
  width: clamp(30px, 3.1vw, 48px);
  height: clamp(30px, 3.1vw, 48px);
  font-size: clamp(14px, 1.9vw, 24px);
}

.top-icon-svg {
  width: clamp(15px, 1.7vw, 24px);
  height: clamp(15px, 1.7vw, 24px);
}

/* Cart icon: 50% larger than the current cart icon size */
.top-icon-btn--cart {
  /* Reduce wasted button area while keeping the SVG icon size. */
  width: 44px !important;
  height: 56px !important;
  background: transparent !important;
  border: none !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
}
.top-icon-btn--cart:hover,
.top-icon-btn--cart:focus,
.top-icon-btn--cart:active {
  background: transparent !important;
  border: none !important;
}
.top-icon-svg--cart {
  /* Keep the large cart icon, but nudge it right so it doesn't overlap search. */
  transform: translateX(1px) scale(2.25) !important;
}

.hero-banner {
  position: relative;
  /* Explicit height so the image layer always has a box (abspos children don’t always size parents reliably). */
  min-height: var(--hero-banner-height);
  height: var(--hero-banner-height);
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #f5f5f5;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Reveal more of the top by roughly one menu-bar height */
  object-position: center calc(50% + var(--menu-bar-height) + 235px);
  filter: saturate(0.92) contrast(1.04);
}

@media (max-width: 640px) {
  /* Mobile: keep the hero photo visually "pinned" to the top. */
  .hero-banner__media img {
    object-position: center top;
  }
}

/* Shown before manifest loads — neutral placeholder */
.hero-banner__media--fallback {
  background: #eeeeee;
}

.hero-banner__skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.09) 45%,
    rgba(255, 255, 255, 0) 90%
  );
  background-size: 200% 100%;
  animation: hero-shimmer 1.35s ease-in-out infinite;
}

@keyframes hero-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.hero-loading-note {
  text-align: center;
  padding: 20px 0 6px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sit above the photo so the image stays visible; darken only the bottom for text */
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  padding: 42px 28px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(12, 8, 18, 0.72) 0%,
    rgba(12, 8, 18, 0.28) 38%,
    transparent 72%
  );
}

.hero-banner__content {
  width: 100%;
  padding-bottom: 18px;
  transform: translateY(-100px);
}

.hero-banner__overlay .btn {
  pointer-events: auto;
}

.hero-banner__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  opacity: 0.92;
}

.hero-banner__title {
  margin: 8px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1;
}

.hero-banner__subtitle {
  margin: 0;
  max-width: 48ch;
  line-height: 1.5;
  opacity: 0.95;
}

.hero-banner__bottomrow {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
}

.hero-banner__actions {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  column-gap: 10px;
  width: min(92vw, 760px);
  pointer-events: auto;
  z-index: 10;
}

.hero-banner__actions-spacer {
  width: 100%;
}

.hero-banner__actions .hero-banner__cta {
  position: relative;
  z-index: 2;
  justify-self: center;
}

.hero-banner__actions .topbar-search {
  position: relative;
  z-index: 3; /* ensure it's never hidden by the CTA */
  justify-self: start;
  pointer-events: auto;
}

.hero-banner__actions .topbar-search.is-open {
  width: clamp(180px, 42vw, 320px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.hero-banner__actions .topbar-search.is-open .topbar-search__input {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-banner__actions .topbar-search:not(.is-open) {
  width: var(--hero-cta-h, 44px);
  min-height: var(--hero-cta-h, 44px);
}

.hero-banner__actions .topbar-search:not(.is-open) .topbar-search__btn {
  width: var(--hero-cta-h, 44px) !important;
  height: var(--hero-cta-h, 44px) !important;
}

.hero-banner__actions .topbar-search:not(.is-open) .topbar-search__btn .top-icon-svg {
  width: calc(var(--hero-cta-h, 44px) * 0.60);
  height: calc(var(--hero-cta-h, 44px) * 0.60);
}

/* Keep magnifier size consistent when opening in the hero. */
.hero-banner__actions .topbar-search__btn .top-icon-svg {
  width: calc(var(--hero-cta-h, 44px) * 0.60);
  height: calc(var(--hero-cta-h, 44px) * 0.60);
}

/* Hero CTA styled to match Hannah Lavery's clean outline button behavior */
.hero-banner__cta {
  background: #deafa4;
  color: #1a1a1a;
  border: 1px solid #deafa4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 27px;
}

.hero-banner__cta:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .hero-banner__cta {
    width: 33.333vw;
    min-width: 120px;
    max-width: 180px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(11px, 2.8vw, 14px);
  }
}

.clean-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0 0;
  border-bottom: 1px solid rgba(28, 8, 44, 0.12);
  margin-bottom: 8px;
}

.clean-tab {
  text-decoration: none;
  color: var(--muted);
  padding: 0 2px 10px;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.clean-tab:hover,
.clean-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.chip {
  border: none;
  background: transparent;
  padding: 0 2px 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 12px;
  color: var(--muted);
}

.chip:hover {
  background: transparent;
  transform: none;
}

.chip[aria-pressed="true"] {
  background: transparent;
  color: var(--text);
  border-bottom: 2px solid var(--text);
}

.product-card {
  border: none;
  box-shadow: none;
  background: transparent;
  min-height: 460px;
  height: 460px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  inset: auto;
  display: block;
  overflow: hidden;
  border-bottom: none;
  background: transparent;
  padding: 0;
  z-index: 0;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

/* Override earlier card rules — image fills tile (Purr-style) */
.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Bottom bar on image; slides up on hover (desktop) */
.product-card__quickadd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  transform: translateY(100%);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.product-card:hover .product-card__quickadd {
  transform: translateY(0);
  pointer-events: auto;
}



.product-card__add-btn:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(184, 255, 47, 0.55);
}

.product-card__body {
  position: static;
  z-index: auto;
  padding: 14px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.product-card__desc {
  display: none;
}

.tag {
  border: none;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

.link {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

/* Product card "View details" button styling */
.product-card__bottom .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% * 2 / 3);
  max-width: calc(100% * 2 / 3);
  padding: 8px 12px;
  border: 1px solid #deafa4;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  min-height: 40px;
  box-sizing: border-box;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.product-card__bottom .link:hover {
  background: #deafa4;
  border-color: #deafa4;
  color: #111111;
  text-decoration: none;
}

/* Universal button system (project-wide) */
button,
.btn,
a.btn,
.product-card__bottom .link {
  background: #ffffff !important;
  border: 1px solid #deafa4 !important;
  color: #111111 !important;
}

button:hover,
button:focus,
.btn:hover,
.btn:focus,
a.btn:hover,
a.btn:focus,
.product-card__bottom .link:hover,
.product-card__bottom .link:focus {
  background: #deafa4 !important;
  border-color: #deafa4 !important;
  color: #111111 !important;
}

/* Card footer: title row above; stock + price row; centered View details */
.product-card__bottom {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  row-gap: 10px;
  align-items: center;
  margin-top: 0;
  padding-top: 8px;
  overflow: visible !important;
}

.product-card__stock-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.product-card__stock-row .product-card__qty {
  position: static !important;
  transform: none !important;
  padding-right: 0 !important;
  min-width: 0;
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__stock-row .price {
  flex-shrink: 0;
  text-align: right;
  font-size: 14.5px;
}

.product-card__bottom .product-card__qty {
  text-align: left;
  white-space: nowrap;
}

.product-card__details-link {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  width: calc(100% * 2 / 3);
  max-width: calc(100% * 2 / 3);
  box-sizing: border-box;
  position: static !important;
  transform: none !important;
}

.product-card__bottom-spacer {
  display: none !important;
}

/* Touch / reduced-hover: keep add-to-cart visible on the image */
@media (hover: none) {
  .product-card__quickadd {
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 1100px) {
  :root {
    --menu-bar-height: 76px;
    --hero-banner-height: max(530px, calc(44vh + 250px));
  }

  .hero-banner {
    min-height: var(--hero-banner-height);
    height: var(--hero-banner-height);
  }

  .hero-banner__overlay {
    padding: 28px 18px;
    padding-bottom: 0;
  }

  .hero-banner__bottomrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 12px;
  }
  .product-card {
    grid-column: span 4;
    min-height: 420px;
    height: 420px;
  }
  .toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-items: stretch;
    row-gap: 0;
  }
  .nav {
    width: auto;
    justify-content: flex-start;
    justify-self: start;
    gap: clamp(4px, 1.6vw, 8px);
  }
  .topbar__right {
    justify-self: end;
  }
  .product-card {
    grid-column: span 6;
    min-height: 300px;
    height: 300px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
  .cart-item {
    grid-template-columns: 74px 1fr;
    grid-auto-rows: auto;
  }
  .cart-item__right {
    grid-column: 1 / -1;
  }
}

/* Final deterministic product-card sizing.
   Requirement: product IMAGE tile height must match OUR OFFERINGS card height,
   with extra space below for name/price + VIEW DETAILS. */
.product-card {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
}

.product-card__media {
  position: relative !important;
  flex: 0 0 auto !important;
  height: 460px !important; /* match category tile height */
  overflow: hidden !important;
  background: #f3f3f3 !important;
}

/* Featured Collections hero card: 9% taller on all devices */
.featured-collections-home .product-card__media {
  height: 624px !important; /* 567 * 1.10 */
}

.product-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

.product-card__body {
  position: static !important;
  padding: 14px 0 2px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: transparent !important;
}

.product-card__bottom {
  margin-top: auto !important;
}

@media (max-width: 1100px) {
  .product-card__media {
    height: 420px !important; /* match category tile height */
  }
  .featured-collections-home .product-card__media {
    height: 575px !important; /* 523 * 1.10 */
  }
}

@media (max-width: 640px) {
  .product-card__media {
    height: clamp(340px, 96vw, 420px) !important; /* match category tile height on phones */
  }
  .featured-collections-home .product-card__media {
    height: 431px !important; /* preserve original featured/offer mobile card size */
  }
}

/* Phones: slightly tighter card footer rhythm */
@media (max-width: 640px) {
  .product-card__bottom {
    row-gap: 8px !important;
    padding-top: 10px !important;
  }

  .product-card__stock-row {
    gap: 8px;
  }

  .product-card__details-link {
    justify-self: center !important;
    width: calc(100% * 2 / 3) !important;
    max-width: calc(100% * 2 / 3) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .product-card__bottom .link {
    width: calc(100% * 2 / 3) !important;
    max-width: calc(100% * 2 / 3) !important;
    min-height: 44px;
    padding: 10px 12px !important;
    font-size: 11px !important;
  }
}

/* Final override: keep SHOP product grid centered and unsquashed.
   The shop list uses `class="grid shop-product-grid"`; `.grid` defaults to 12-col layout.
   Force a capped-width centered grid for the shop only (same card width behavior as Categories tiles). */
.grid.shop-product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px)) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 22px !important;
}
.grid.shop-product-grid .product-card {
  grid-column: auto !important;
  width: 100% !important;
}

/* Focused offering view: center BACK + cards as one unit */
.shop-grid-wrap {
  /* Deterministic centered frame: 3 capped-width cards per row on desktop.
     3*420 + 2*22 = 1304px */
  max-width: 1304px;
  margin: 0 auto;
}
.shop-grid-frame {
  display: block;
  position: relative;
  padding-top: 0;
  width: 100%;
}
.shop-grid-frame .back-to-offerings-btn {
  position: static;
  margin: 0 0 16px;
}
.shop-grid-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  width: 100%;
}
.shop-grid-row .product-card {
  width: 100%;
}

/* Mobile shop: two columns on all narrow viewports (does not affect category tiles).
   Includes small phones (<360px) where the old min-width gate left a single column. */
@media (max-width: 640px) {
  .shop-product-grid,
  .shop-grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .grid.shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* Preserve the 21:23 product image aspect ratio while the card width shrinks to half-screen. */
  .shop-product-grid .product-card__media,
  .shop-grid-row .product-card__media,
  .grid.shop-product-grid .product-card__media {
    height: auto !important;
    aspect-ratio: 21 / 23 !important;
  }
}

/* Gift vouchers — amount picker (#/gift-vouchers) */
.gift-vouchers-page {
  padding-bottom: 28px;
}
.gift-vouchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.gift-vouchers-amount-card {
  display: block;
  width: 100%;
  border: 1px solid var(--stroke2);
  background: var(--card2);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.gift-vouchers-amount-card:hover {
  box-shadow: var(--shadow2);
}
.gift-vouchers-amount-card.is-selected {
  border-color: #deafa4;
  box-shadow: 0 0 0 2px rgba(222, 175, 164, 0.45);
}
.gift-vouchers-amount-card__media {
  height: 160px;
  background: #f8f6f7;
}
.gift-vouchers-amount-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid var(--img-stroke);
  outline-offset: -1px;
}
.gift-vouchers-amount-card__body {
  padding: 14px 14px 16px;
}
.gift-vouchers-amount-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.gift-vouchers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

/* Shop by brand — per-brand social links (#/offerings?brand=…, #/sub-offerings?…&brand=…) */
.brand-socials {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke2);
  text-align: center;
}
.brand-socials__heading {
  margin: 0 0 14px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-socials__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: center;
  align-items: center;
}
.brand-socials__link {
  display: inline-flex;
  align-items: center;
  font-family: "Manrope", system-ui, sans-serif;
  text-decoration: none !important;
  color: inherit;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stroke2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.brand-socials__link:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.brand-socials__link-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-socials__icon-svg {
  flex-shrink: 0;
  display: block;
}
.brand-socials__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
/* Snapchat brand treatment: yellow tile, black wordmark + icon */
.brand-socials__link--snapchat {
  background: #fffc00;
  border-color: rgba(0, 0, 0, 0.12);
}
.brand-socials__link--snapchat .brand-socials__label {
  color: #000;
}

