/* ============================================================================
   Beauty by Maison Linguere — house stylesheet
   Palette, type and rules taken verbatim from the Brand Book (Edition 01).
   Garnet, gold and sandalwood: the only three things the house is allowed to be.
   ========================================================================== */

:root {
  /* -- colour ------------------------------------------------------------- */
  --garnet: #5C1226;
  --garnet-noir: #380914;
  --garnet-lift: #6B1730;
  --gold: #B48A46;
  --gold-deep: #8A6828;
  --champagne: #E2C88D;
  --cream: #F8F2E6;
  --cream-lift: #FDFBF5;
  --shea: #EDE1CB;
  --shea-deep: #E9DCC4;
  --espresso: #2B1C18;
  --stone: #7A6A55;
  --stone-soft: #A8997F;

  /* Gold is metal, not yellow — it always carries the five-stop gradient. */
  --gold-metal: linear-gradient(135deg, #8A6828 0%, #E2C88D 26%, #F6E7BE 44%, #C6A055 68%, #8A6828 100%);
  --gold-metal-soft: linear-gradient(140deg, #9C7833, #F6E7BE 40%, #C6A055 70%, #8A6828);

  /* -- type --------------------------------------------------------------- */
  --display: 'Cinzel', Georgia, serif;         /* headlines, nav, categories   */
  --script: 'Great Vibes', cursive;            /* the name only, never a sentence */
  --editorial: 'Cormorant Garamond', Georgia, serif; /* the reading voice      */
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; /* prices  */

  /* -- measure ------------------------------------------------------------ */
  --page: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --rule: rgba(180, 138, 70, .3);
  --rule-soft: rgba(180, 138, 70, .18);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ----------------------------------------------------------------- reset -- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

a { color: var(--garnet); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }
::selection { background: var(--champagne); color: var(--garnet-noir); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--garnet); color: var(--cream);
  padding: 14px 22px; font-family: var(--display); font-size: 12px; letter-spacing: .2em;
}
.skip-link:focus { left: 0; color: var(--cream); }

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

/* ------------------------------------------------------------- primitives -- */

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: clamp(9.5px, 1.6vw, 10.5px);
  letter-spacing: .3em; color: var(--gold); text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--plain::before { display: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--garnet); margin: 0; }

.h-display {
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  line-height: 1.06; letter-spacing: .03em;
}
.h-section {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: .05em;
}
.script { font-family: var(--script); font-weight: 400; }

/* Gold gradient set into type. Needs padding + negative margin or the
   descenders of "Linguere" get clipped by the background-clip box. */
.gilt {
  background: var(--gold-metal-soft);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding: .12em .06em; margin: -.12em -.06em;
}

.lede {
  font-family: var(--editorial); font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  line-height: 1.62; color: var(--stone);
}
.prose { font-family: var(--editorial); font-size: 1.14rem; line-height: 1.68; color: #4A3B2C; }
.prose p { margin: 0 0 1.1em; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* ----------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; text-align: center;
  padding: 18px 34px; border: 1px solid transparent; background: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled='true'] {
  opacity: .45; cursor: not-allowed; transform: none; box-shadow: none;
}

.btn--gold {
  background: var(--gold-metal); color: var(--garnet-noir);
  box-shadow: 0 12px 26px -14px rgba(138, 104, 40, .9);
}
.btn--gold:hover { color: #000; box-shadow: 0 16px 30px -14px rgba(138, 104, 40, 1); }

.btn--garnet { background: var(--garnet); color: var(--cream); }
.btn--garnet:hover { background: var(--garnet-noir); color: var(--champagne); }

.btn--ghost { border-color: rgba(92, 18, 38, .35); color: var(--garnet); }
.btn--ghost:hover { background: var(--shea); color: var(--garnet); }

.btn--ghost-light { border-color: rgba(226, 200, 141, .5); color: var(--champagne); }
.btn--ghost-light:hover { background: rgba(226, 200, 141, .12); color: var(--champagne); }

.btn--block { width: 100%; }
.btn--sm { padding: 13px 22px; font-size: 10.5px; }

.link-rule {
  font-family: var(--display); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--garnet);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  display: inline-block;
}
.link-rule--light { color: var(--champagne); border-color: rgba(226, 200, 141, .5); }

/* ------------------------------------------------------------------ badges -- */

.tag {
  display: inline-block; font-family: var(--display);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px;
}
.tag--gold { background: linear-gradient(135deg, var(--champagne), #F6E7BE); color: var(--garnet-noir); }
.tag--garnet { background: var(--garnet); color: var(--cream); }
.tag--quiet { background: var(--shea); color: var(--garnet); }

/* ================================================================ the mark == */
/* Restores the "BEAUTY BY" line the client confirmed is part of the name.      */

.mark { display: inline-flex; align-items: center; gap: 13px; }

.mark__medallion {
  position: relative; flex: none;
  width: var(--mark-size, 56px); height: var(--mark-size, 56px);
}
.mark__medallion::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 205deg, #8A6828, #E2C88D 16%, #B48A46 36%,
              #7E5C22 50%, #F3E3B6 72%, #A87F38 90%, #8A6828 100%);
}
.mark__medallion img {
  position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px);
  border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  background: var(--cream);
}

.mark__type { display: flex; flex-direction: column; line-height: 1; }
.mark__beauty {
  font-family: var(--display); font-weight: 500;
  font-size: calc(var(--mark-size, 56px) * .142);
  letter-spacing: .34em; text-indent: .34em; color: var(--gold);
}
.mark__maison {
  font-family: var(--display); font-weight: 600;
  font-size: calc(var(--mark-size, 56px) * .32);
  letter-spacing: .24em; text-indent: .24em; color: var(--garnet);
  margin-top: calc(var(--mark-size, 56px) * .045);
}
.mark__linguere {
  font-family: var(--script);
  font-size: calc(var(--mark-size, 56px) * .5);
  line-height: .86;
  margin-top: calc(var(--mark-size, 56px) * -.04);
}
.mark--light .mark__maison { color: var(--cream); }
.mark--light .mark__beauty { color: var(--gold); }
.mark--light .mark__linguere { color: var(--champagne); }

/* ================================================================== header == */

.announce {
  background: var(--garnet-noir); color: var(--champagne);
  font-family: var(--display); font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; text-align: center; padding: 11px var(--gutter);
}
.announce__list { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.announce__dot { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); flex: none; }
@media (max-width: 620px) { .announce__item + .announce__dot, .announce__item + .announce__dot + .announce__item { display: none; } }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(248, 242, 230, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -22px rgba(56, 9, 20, .6); }

.header__bar {
  max-width: var(--page); margin-inline: auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.header__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.header__nav a {
  font-family: var(--display); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--garnet);
  padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.header__nav a:hover, .header__nav a[aria-current='page'] { border-bottom-color: var(--gold); }

.header__tools { display: flex; align-items: center; gap: 18px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; background: none; position: relative; color: var(--garnet);
}
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.icon-btn:hover { color: var(--gold); }

.bag-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: var(--garnet-noir);
  font-family: var(--ui); font-size: 9.5px; font-weight: 700;
  display: grid; place-items: center;
}
.bag-count[hidden] { display: none; }

.burger { display: none; }
@media (max-width: 1020px) {
  .header__nav { display: none; }
  .burger { display: grid; }
}

/* -------- mobile drawer -------- */

.drawer {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__veil {
  position: absolute; inset: 0; background: rgba(56, 9, 20, .5);
  opacity: 0; transition: opacity .3s var(--ease);
}
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw); background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .34s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(56, 9, 20, .7);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--rule);
}
.drawer__title { font-family: var(--display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--garnet); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 28px; }
.drawer__foot { border-top: 1px solid var(--rule); padding: 20px var(--gutter); background: var(--cream-lift); }

.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  font-family: var(--display); font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--garnet);
  padding: 17px 0; border-bottom: 1px solid var(--rule-soft);
}
.drawer-nav__group { font-family: var(--display); font-size: 10px; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; padding: 26px 0 6px; }
.drawer-nav__sub {
  font-family: var(--editorial) !important; font-size: 17px !important;
  letter-spacing: 0 !important; text-transform: none !important; color: var(--stone) !important;
  padding: 11px 0 !important;
}

/* ================================================================ the bag === */

.bag-line { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.bag-line__img { width: 84px; height: 84px; flex: none; background: var(--shea); object-fit: cover; }
.bag-line__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bag-line__brand { font-family: var(--ui); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.bag-line__name { font-family: var(--display); font-size: 14px; color: var(--garnet); }
.bag-line__meta { font-family: var(--ui); font-size: 12px; color: var(--stone); }
.bag-line__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 12px; }
.bag-line__price { font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--garnet-noir); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); background: var(--cream-lift); }
.qty button {
  width: 32px; height: 32px; border: 0; background: none; color: var(--garnet);
  font-size: 16px; line-height: 1; display: grid; place-items: center;
}
.qty button:hover { background: var(--shea); }
.qty output { min-width: 30px; text-align: center; font-family: var(--ui); font-size: 13px; font-weight: 600; }

.bag-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.bag-total__label { font-family: var(--display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--garnet); }
.bag-total__value { font-family: var(--ui); font-size: 20px; font-weight: 600; color: var(--garnet-noir); }
.bag-note { font-family: var(--editorial); font-size: 15px; color: var(--stone); margin: 0 0 14px; }

.empty {
  text-align: center; padding: 56px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty__title { font-family: var(--display); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--garnet); }
.empty__body { font-family: var(--editorial); font-size: 17px; color: var(--stone); max-width: 34ch; margin: 0; }

/* ================================================================ product === */

.grid {
  display: grid; gap: clamp(16px, 2.2vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.card {
  display: flex; flex-direction: column;
  background: var(--cream-lift); border: 1px solid rgba(180, 138, 70, .26);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(56, 9, 20, .45);
  border-color: var(--gold);
}
.card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--shea); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__flags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

.card__body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__brand { font-family: var(--ui); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card__name { font-family: var(--display); font-size: 16px; letter-spacing: .04em; color: var(--garnet); }
.card__name a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.card__desc { font-family: var(--editorial); font-size: 15.5px; line-height: 1.42; color: var(--stone); flex: 1; }
.card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 4px; }
.card__price { font-family: var(--ui); font-size: 16px; font-weight: 600; color: var(--garnet-noir); }
.card__price--ask { font-size: 12.5px; font-weight: 500; color: var(--stone); letter-spacing: .04em; }
.card__shades { display: flex; gap: 5px; align-items: center; }
.card__swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.card__more { font-family: var(--ui); font-size: 10.5px; color: var(--stone); }

/* Quick-add sits above the card-wide link. */
.card__add { position: relative; z-index: 2; margin-top: 12px; }

/* ---------------------------------------------------------------- filters -- */

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--rule); background: var(--cream-lift); color: var(--garnet);
  transition: all .2s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed='true'] { background: var(--garnet); border-color: var(--garnet); color: var(--cream); }

.select {
  font-family: var(--ui); font-size: 13px; padding: 11px 14px;
  border: 1px solid var(--rule); background: var(--cream-lift); color: var(--espresso);
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label,
.label {
  font-family: var(--display); font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--garnet);
}
.input {
  font-family: var(--ui); font-size: 14.5px; padding: 15px 16px;
  border: 1px solid var(--rule); background: var(--cream-lift); color: var(--espresso);
  width: 100%;
}
.input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(180, 138, 70, .16); }
.input::placeholder { color: var(--stone-soft); }
.field__hint { font-family: var(--editorial); font-size: 15px; color: var(--stone); }
.field__error { font-family: var(--ui); font-size: 12px; color: #A3132F; }

/* =================================================================== hero === */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(102deg, #4A0E1E 0%, #5C1226 46%, #6B1730 100%);
  min-height: clamp(520px, 74vh, 700px);
  display: flex; align-items: center;
}
.hero__art {
  position: absolute; right: -6%; bottom: -12%;
  width: min(880px, 74%); opacity: .92;
  -webkit-mask-image: radial-gradient(70% 70% at 58% 44%, #000 42%, transparent 88%);
  mask-image: radial-gradient(70% 70% at 58% 44%, #000 42%, transparent 88%);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(94deg, rgba(56, 9, 20, .95) 0%, rgba(74, 14, 30, .84) 34%, rgba(92, 18, 38, .2) 64%, transparent 100%);
}
.hero__frame { position: absolute; inset: clamp(14px, 2.4vw, 28px); border: 1px solid rgba(226, 200, 141, .28); pointer-events: none; }
.hero__inner { position: relative; max-width: 760px; padding-block: clamp(56px, 9vw, 96px); display: flex; flex-direction: column; gap: 24px; }
.hero__title { color: var(--cream); }
.hero__cta { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero__art { right: -22%; bottom: auto; top: -4%; width: 118%; opacity: .34; }
  .hero__scrim { background: linear-gradient(180deg, rgba(56, 9, 20, .72) 0%, rgba(74, 14, 30, .92) 46%, rgba(92, 18, 38, .96) 100%); }
}

/* ------------------------------------------------------------- categories -- */

.cat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  background: var(--cream); border-bottom: 1px solid var(--rule);
}
.cat-strip__item {
  display: flex; flex-direction: column; gap: 11px;
  padding: clamp(28px, 3.4vw, 44px) clamp(20px, 2.4vw, 36px);
  border-right: 1px solid var(--rule-soft);
  transition: background .25s var(--ease);
}
.cat-strip__item:last-child { border-right: 0; }
.cat-strip__item:hover { background: #F1E8D6; }
.cat-strip__no { font-family: var(--ui); font-size: 10.5px; letter-spacing: .2em; color: var(--gold); }
.cat-strip__name { font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.5rem); letter-spacing: .12em; color: var(--garnet); }
.cat-strip__desc { font-family: var(--editorial); font-size: 16px; line-height: 1.44; color: var(--stone); }
.cat-strip__count { font-family: var(--ui); font-size: 10.5px; letter-spacing: .14em; color: var(--gold); margin-top: 2px; }

.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 26px; overflow: hidden;
  background: var(--garnet); color: var(--cream);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(56, 9, 20, .88) 6%, rgba(56, 9, 20, .22) 54%, transparent 100%); }
.cat-tile__label { position: relative; font-family: var(--display); font-size: 1.15rem; letter-spacing: .14em; color: var(--cream); }
.cat-tile__meta { position: relative; font-family: var(--ui); font-size: 10.5px; letter-spacing: .16em; color: var(--champagne); margin-top: 6px; }

/* ---------------------------------------------------------------- section -- */

.section { padding-block: clamp(52px, 7vw, 92px); }
.section--tight { padding-block: clamp(36px, 4.5vw, 60px); }
.section--garnet { background: var(--garnet); color: var(--cream); }
.section--garnet h2, .section--garnet .h-section { color: var(--cream); }
.section--noir { background: var(--garnet-noir); color: var(--cream); }
.section--lift { background: linear-gradient(160deg, var(--cream-lift), #EFE4CE); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 42px);
}
.section__head-l { display: flex; flex-direction: column; gap: 12px; }

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

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.4vw, 64px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

.gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--shea); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__flags { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__thumb { aspect-ratio: 1 / 1; background: var(--shea); border: 1px solid transparent; padding: 0; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current='true'] { border-color: var(--gold); }

.pdp__info { display: flex; flex-direction: column; }
.pdp__title { font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.1; letter-spacing: .03em; margin-top: 16px; }
.pdp__sub { font-family: var(--editorial); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--stone); margin-top: 10px; }
.pdp__price-row {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-top: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--rule);
}
.pdp__price { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2rem); color: var(--garnet-noir); }
.pdp__unit { font-family: var(--ui); font-size: 13px; color: var(--stone); }

.shades { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.shade {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--rule); background: var(--cream-lift);
  padding: 9px 14px 9px 10px; transition: all .2s var(--ease);
}
.shade:hover { border-color: var(--gold); }
.shade[aria-pressed='true'] { border-color: var(--garnet); background: var(--shea); }
.shade__dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); flex: none; }
.shade__name { font-family: var(--ui); font-size: 12.5px; color: var(--espresso); }

.acc { border-top: 1px solid var(--rule); margin-top: 34px; }
.acc__item { border-bottom: 1px solid var(--rule-soft); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; background: none; border: 0; text-align: left;
  font-family: var(--display); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--garnet);
}
.acc__sign { width: 14px; height: 14px; position: relative; flex: none; }
.acc__sign::before, .acc__sign::after {
  content: ''; position: absolute; background: var(--gold); transition: transform .25s var(--ease);
}
.acc__sign::before { inset: 6px 0 auto; height: 1px; }
.acc__sign::after { inset: 0 6px auto; width: 1px; height: 14px; }
.acc__btn[aria-expanded='true'] .acc__sign::after { transform: scaleY(0); }
.acc__panel { padding-bottom: 24px; font-family: var(--editorial); font-size: 17.5px; line-height: 1.66; color: #4A3B2C; }
.acc__panel[hidden] { display: none; }
.acc__panel ul { margin: 0; padding-left: 1.1em; }
.acc__panel li { margin-bottom: .45em; }

/* -------------------------------------------------------------- assurance -- */

.assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-block: 1px solid var(--rule); }
.assure__item { padding: clamp(24px, 3vw, 38px) clamp(18px, 2.2vw, 32px); border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 8px; }
.assure__item:last-child { border-right: 0; }
.assure__title { font-family: var(--display); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--garnet); }
.assure__body { font-family: var(--editorial); font-size: 16px; line-height: 1.42; color: var(--stone); }

/* ================================================================ checkout == */

.checkout { display: grid; grid-template-columns: 1.35fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 940px) { .checkout { grid-template-columns: 1fr; } }

.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.step {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone-soft); padding: 10px 0;
}
.step__no {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rule);
  display: grid; place-items: center; font-family: var(--ui); font-size: 11px;
}
.step.is-active { color: var(--garnet); }
.step.is-active .step__no { background: var(--garnet); border-color: var(--garnet); color: var(--cream); }
.step.is-done .step__no { background: var(--gold-metal); border-color: var(--gold); color: var(--garnet-noir); }
.step__arrow { color: var(--rule); margin-inline: 8px; }

.panel { background: var(--cream-lift); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 34px); }
.panel + .panel { margin-top: 20px; }
.panel__title { font-family: var(--display); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--garnet); margin-bottom: 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--shea); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 30px); }
@media (max-width: 940px) { .summary { position: static; } }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; font-family: var(--ui); font-size: 14px; color: var(--stone); }
.summary__row strong { color: var(--espresso); font-weight: 600; }
.summary__total { border-top: 1px solid var(--rule); margin-top: 10px; padding-top: 16px; }
.summary__total .summary__row { font-size: 18px; }

.pay-option {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--rule); background: var(--cream-lift); padding: 18px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pay-option + .pay-option { margin-top: 12px; }
.pay-option:hover { border-color: var(--gold); }
.pay-option:has(input:checked) { border-color: var(--garnet); background: var(--shea); }
.pay-option input { margin-top: 3px; accent-color: var(--garnet); width: 17px; height: 17px; flex: none; }
.pay-option__name { font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--garnet); }
.pay-option__desc { font-family: var(--editorial); font-size: 16px; line-height: 1.4; color: var(--stone); margin-top: 5px; }
.pay-option.is-unavailable { opacity: .62; cursor: not-allowed; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  border-left: 3px solid var(--gold); background: rgba(226, 200, 141, .17);
  padding: 16px 18px; font-family: var(--editorial); font-size: 16px; line-height: 1.5; color: #4A3B2C;
}
.notice--garnet { border-left-color: var(--garnet); background: rgba(92, 18, 38, .07); }
.notice strong { font-family: var(--ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--garnet); display: block; margin-bottom: 4px; }

/* ================================================================== footer == */

.footer { background: var(--garnet-noir); color: rgba(237, 225, 203, .82); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(26px, 4vw, 56px); }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__group-title { font-family: var(--display); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 13px; }
.footer__links a { font-family: var(--editorial); font-size: 17px; color: rgba(237, 225, 203, .82); }
.footer__links a:hover { color: var(--champagne); }
.footer__blurb { font-family: var(--editorial); font-size: 17px; line-height: 1.55; color: rgba(237, 225, 203, .72); max-width: 34ch; margin: 20px 0 0; }
.footer__base {
  margin-top: clamp(34px, 4vw, 54px); padding-top: 24px; border-top: 1px solid rgba(180, 138, 70, .28);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer__fine { font-family: var(--ui); font-size: 11px; letter-spacing: .09em; color: rgba(237, 225, 203, .5); }

.signup { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.signup .input { flex: 1; min-width: 200px; border-right: 0; }
@media (max-width: 480px) { .signup .input { border-right: 1px solid var(--rule); } .signup .btn { width: 100%; } }

/* ----------------------------------------------------------------- toast --- */

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  z-index: 200; background: var(--garnet); color: var(--cream);
  padding: 15px 26px; font-family: var(--display); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 20px 44px -20px rgba(56, 9, 20, .8);
  transition: transform .34s var(--ease);
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-up { transform: translate(-50%, 0); }

/* -------------------------------------------------------------- utilities -- */

.stack { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-12 { gap: 12px; } .stack-16 { gap: 16px; }
.stack-20 { gap: 20px; } .stack-28 { gap: 28px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mt-auto { margin-top: auto; }
.text-centre { text-align: center; }
.crumbs { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-family: var(--ui); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-soft); padding-block: 20px; }
.crumbs a { color: var(--stone-soft); }
.crumbs a:hover { color: var(--garnet); }
.crumbs [aria-current] { color: var(--garnet); }
