/* =========================================================
   ELSE. Perfumes — styles
   Light storefront: white + warm sand, near-black type,
   wine red reserved for price and small accents.
   Fonts match the reference: Archivo (headings) + Helvetica (body).
   ========================================================= */

:root {
  --bg: #ffffff;
  --sand: #f4f1ec;
  --sand-2: #ebe7e0;
  --ink: #1c1c1c;
  --ink-soft: #3a3a3a;
  --muted: #706b65;
  --line: #e4dfd7;
  --wine: #8a1c2b;
  --photo: #0e0e0e;

  --heading: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --track: 0.18em;

  --gutter: max(16px, 4vw);
  --max: 1400px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track);
  line-height: 1.2;
  text-wrap: balance;
}
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.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;
}

.eyebrow {
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--wine);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  font-family: var(--heading);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--bg); color: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  transition: opacity 0.25s;
}
.icon-btn:hover { opacity: 0.6; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink);
  color: var(--bg);
  height: 40px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 max(4px, env(safe-area-inset-right, 0px)) 0 max(4px, env(safe-area-inset-left, 0px));
}
.announce__arrow { height: 40px; display: grid; place-items: center; opacity: 0.7; }
.announce__arrow:hover { opacity: 1; }
.announce__track { position: relative; height: 40px; }
.announce__item {
  position: absolute; inset: 0;
  line-height: 40px;
  text-align: center;
  font-family: var(--heading);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.announce__item.is-active { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.is-scrolled .header { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(28, 28, 28, 0.05); }
.header__inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo img { height: 26px; width: auto; }

.nav { display: flex; gap: 34px; }
.nav a, .header__link {
  font-family: var(--heading);
  font-size: 12.5px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a::after, .header__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .header__link:hover::after { transform: scaleX(1); }

.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.header__menu { display: none; justify-self: start; margin-inline-start: -10px; }

.cart-btn { position: relative; margin-inline-end: -10px; }
.lang-switch {
  font-size: 14px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.lang-switch:hover { border-bottom-color: currentColor; }
.lang-switch[lang="ur"] { font-size: 15px; line-height: 1.4; }
.cart-btn__count {
  position: absolute; top: 5px; inset-inline-end: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--wine);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn__count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Mobile nav ---------- */
.mnav {
  position: fixed; inset: 0;
  z-index: 120;
  background: var(--bg);
  padding: env(safe-area-inset-top, 0px) var(--gutter) 32px;
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mnav.is-open { transform: none; visibility: visible; }
.mnav__head {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.mnav__head .icon-btn { margin-inline-end: -10px; }
.mnav__logo { height: 24px; width: auto; }
.mnav__links { display: grid; }
.mnav__links a {
  font-family: var(--heading);
  font-size: 18px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero slider ---------- */
.slider {
  position: relative;
  height: min(84vh, 66.67vw);
  min-height: 460px;
  background: var(--photo);
  color: #fff;
  overflow: hidden;
}
.slider__track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 0.9s var(--ease); }
.slide__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  transition: transform 3.8s linear;
}
.slide.is-active .slide__img { transform: scale(1); }
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 65%);
}
.slide__content {
  position: relative;
  z-index: 2;
  margin-left: max(var(--gutter), 96px);
  max-width: min(520px, 80vw);
  display: grid;
  justify-items: start;
  gap: 16px;
}
.slide__content > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: 0.08s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: 0.16s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: 0.24s; }
.slide__eyebrow {
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.slide__title {
  font-family: var(--heading);
  font-size: clamp(32px, 4.8vw, 66px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
}
.slide__text { font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.slide__content .btn { margin-top: 8px; }

.slider__arrow {
  position: absolute; top: 50%; z-index: 3;
  width: 48px; height: 48px;
  margin-top: -24px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}
.slider__arrow:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.slider__arrow--prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.slider__arrow--next { right: max(16px, env(safe-area-inset-right, 0px)); }

.slider__controls {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
}
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 28px; height: 24px; display: grid; align-items: center; }
.slider__dot::before { content: ""; height: 2px; background: rgba(255, 255, 255, 0.35); transition: background-color 0.3s; }
.slider__dot:hover::before { background: rgba(255, 255, 255, 0.7); }
.slider__dot[aria-selected="true"]::before { background: #fff; }
.slider__pause { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; opacity: 0.8; }
.slider__pause:hover { opacity: 1; }
.slider__pause .i-play { display: none; }
.slider.is-paused .slider__pause .i-play { display: block; }
.slider.is-paused .slider__pause .i-pause { display: none; }

.slider__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: rgba(255, 255, 255, 0.15); }
.slider__progress span { display: block; height: 100%; width: 0; background: #fff; }
.slider__progress span.is-running { animation: progress var(--slide-ms, 3000ms) linear forwards; }
.slider.is-paused .slider__progress span { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

/* ---------- Lookbook ---------- */
.lookbook {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  border-top: 1px solid var(--line);
}
.lookbook__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.look { margin: 0; }
.look img, .look video { display: block; width: 100%; aspect-ratio: 2 / 3; max-width: 100%; object-fit: cover; background: var(--photo); }
.look figcaption {
  margin-top: 14px;
  font-family: var(--heading);
  font-size: 12.5px;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

/* ---------- Gifting ---------- */
.gift {
  display: grid;
  background: var(--photo);
  color: #fff;
  overflow: hidden;
}
.gift > * { grid-area: 1 / 1; }
.gift__img { width: 100%; height: min(76vh, 60vw); min-height: 420px; object-fit: cover; object-position: 65% center; }
.gift::after {
  content: "";
  grid-area: 1 / 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.gift__content {
  z-index: 2;
  align-self: center;
  justify-self: left; /* text sits on the photo's empty left side in both languages */
  margin-left: var(--gutter);
  max-width: min(460px, 86vw);
  display: grid;
  justify-items: start;
  gap: 16px;
}
.gift__title { font-size: clamp(28px, 3.6vw, 48px); font-weight: 300; letter-spacing: 0.08em; line-height: 1.15; }
.gift__content > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.85); }
.eyebrow--light { color: rgba(255, 255, 255, 0.78); }

/* ---------- Promises ---------- */
.promises {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-bottom: 1px solid var(--line);
}
.promise { display: grid; justify-items: center; text-align: center; gap: 10px; }
.promise svg { color: var(--wine); margin-bottom: 4px; }
.promise h3 { font-size: 13px; font-weight: 500; }
.promise p { font-size: 14px; color: var(--muted); }

/* ---------- Section heading ---------- */
.section-head { text-align: center; display: grid; gap: 12px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); }
.section-head p { color: var(--muted); }

/* ---------- Shop / product ---------- */
.shop {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.gallery { display: grid; gap: 12px; }
.gallery__main {
  position: relative;
  aspect-ratio: 960 / 1020;
  max-width: 100%;
  background: var(--photo);
  overflow: hidden;
}
.gallery__main img, .gallery__main video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute; top: 0; left: 0;
  z-index: 2;
  background: var(--bg);
  color: var(--ink);
  padding: 9px 22px;
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.pinfo { position: sticky; top: calc(var(--header-h) + 24px); }
.pinfo__kicker { font-size: 13px; color: var(--muted); }
.pinfo__title { margin-top: 10px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.12em; }
.pinfo__sub { margin-top: 10px; color: var(--muted); font-size: 16px; }
.pinfo__price {
  margin-top: 18px;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--wine);
}
.pinfo__desc { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 60ch; }
.pinfo__row { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.pinfo__label {
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: var(--track);
  text-transform: uppercase;
  min-width: 48px;
}
.chip {
  padding: 8px 18px;
  border: 1px solid var(--line);
  font-size: 13.5px;
}
.chip.is-selected { border-color: var(--ink); }
.pinfo__buy { margin-top: 26px; display: flex; gap: 12px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 36px; font-size: 17px; }
.qty button:hover { color: var(--wine); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.qty--lg { border-color: var(--ink); }
.qty--lg button { width: 44px; height: 48px; }

.accordion { margin-top: 34px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--heading);
  font-size: 12.5px;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform 0.3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > p { padding-bottom: 20px; color: var(--ink-soft); max-width: 60ch; }
.notes { margin: 0; padding-bottom: 18px; display: grid; gap: 10px; }
.notes div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.notes dt { font-family: var(--heading); font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.notes dd { margin: 0; color: var(--ink-soft); }

/* ---------- Story ---------- */
.story {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
}
.story__media { aspect-ratio: 2 / 3; max-width: 100%; background: var(--photo); overflow: hidden; }
.story__media img, .story__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.story__content { max-width: 560px; display: grid; gap: 20px; }
.story__title { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; letter-spacing: 0.1em; margin-bottom: 6px; }
.story__content > p:not(.eyebrow) { color: var(--ink-soft); }
.story__facts {
  list-style: none;
  margin: 14px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.story__facts li { display: grid; gap: 4px; }
.story__facts strong { font-family: var(--heading); font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.04em; }
.story__facts span { font-size: 13px; color: var(--muted); }

/* ---------- Launch ---------- */
.launch {
  background: var(--sand);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.launch__media { background: var(--photo); overflow: hidden; min-height: 420px; }
.launch__media img, .launch__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.launch__inner {
  max-width: 640px;
  margin: 0 auto;
  align-self: center;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
}
.launch__date { font-size: clamp(34px, 5vw, 64px); letter-spacing: 0.14em; font-weight: 300; }
.launch__lede { color: var(--ink-soft); max-width: 52ch; }

.countdown {
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 560px;
}
.countdown__unit {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px 6px 16px;
  display: grid;
  gap: 6px;
}
.countdown__num {
  font-family: var(--heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__label { font-family: var(--heading); font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.countdown.is-live { display: block; }
.countdown.is-live .countdown__unit { display: none; }
.countdown__live { font-family: var(--heading); font-size: 22px; letter-spacing: var(--track); text-transform: uppercase; }

/* ---------- Forms ---------- */
.field {
  position: relative;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.field input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  outline: none;
  font-size: 15px;
  transition: border-color 0.25s;
}
.field input:focus { border-color: var(--ink); }
.field input::placeholder { color: var(--muted); }
.field .btn { padding: 0 26px; }
.field__msg {
  position: absolute;
  inset-inline-start: 0; top: calc(100% + 8px);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: start;
}
.field__msg.is-error { color: var(--wine); }

/* ---------- Footer ---------- */
/* ---------- Newsletter ---------- */
.news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.news__media { background: var(--photo); overflow: hidden; min-height: 380px; }
.news__media img, .news__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.news__content {
  align-self: center;
  max-width: 560px;
  padding: clamp(48px, 6vw, 90px) var(--gutter);
  display: grid;
  gap: 16px;
}
.news__title { font-size: clamp(24px, 2.8vw, 38px); letter-spacing: 0.1em; line-height: 1.2; }
.news__content > p:not(.eyebrow) { color: var(--ink-soft); }
.news .field { margin: 10px 0 24px; }

.footer { background: var(--sand-2); }
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer__logo { height: 28px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--ink-soft); }
.socials { display: flex; gap: 4px; margin-top: 14px; margin-inline-start: -11px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; transition: color 0.25s; }
.socials a:hover { color: var(--wine); }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h3 { font-size: 12.5px; font-weight: 500; margin-bottom: 6px; }
.footer__col a { font-size: 14.5px; color: var(--ink-soft); width: fit-content; transition: color 0.25s; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(28, 28, 28, 0.12);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  z-index: 140;
  background: rgba(28, 28, 28, 0.4);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.overlay.is-visible { opacity: 1; }
.cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 150;
  width: min(440px, 100%);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.cart.is-open { transform: none; visibility: visible; }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 14px;
  padding-inline: 24px 14px;
  border-bottom: 1px solid var(--line);
}
.cart__head h2 { font-size: 15px; font-weight: 500; }
.cart__items { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart__empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  color: var(--ink-soft);
}
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items,
.cart.is-empty .cart__foot { display: none; }

.line-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.line-item img { width: 84px; height: 90px; object-fit: cover; background: var(--photo); }
.line-item__top { display: flex; justify-content: space-between; gap: 12px; }
.line-item__name { font-family: var(--heading); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.line-item__price { font-size: 14px; white-space: nowrap; }
.line-item__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-item__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.line-item__remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.line-item__remove:hover { color: var(--ink); }

.cart__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.cart__row {
  display: flex; justify-content: space-between;
  font-family: var(--heading);
  font-size: 13px;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.cart__note { margin: 8px 0 18px; font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 160;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--bg);
  padding: 13px 22px;
  font-family: var(--heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Stock indicator ---------- */
.stock {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
}
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: #2f6b3a; }
.stock--low { color: #9a5b00; }
.stock--out { color: var(--wine); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--dark:disabled:hover { background: var(--ink); color: var(--bg); }

/* ---------- Checkout ---------- */
.checkout {
  position: fixed; inset: 0;
  z-index: 170;
  background: rgba(28, 28, 28, 0.45);
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: max(24px, env(safe-area-inset-top, 0px)) 16px 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.checkout.is-open { opacity: 1; }
.checkout__panel {
  width: min(1040px, 100%);
  background: var(--bg);
  transform: translateY(14px);
  transition: transform 0.4s var(--ease);
}
.checkout.is-open .checkout__panel { transform: none; }
.checkout__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 14px;
  padding-inline: 28px 14px;
  border-bottom: 1px solid var(--line);
}
.checkout__head h2 { font-size: 16px; font-weight: 500; }
.checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}
.checkout__main { padding: 28px; display: grid; gap: 28px; }
.co-section { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.co-section legend {
  font-family: var(--heading);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: grid; gap: 6px; min-width: 0; }
.co-field[hidden] { display: none; }
.co-field > span { font-size: 13px; color: var(--ink-soft); }
.co-field em { font-style: normal; color: var(--muted); }
.co-field input, .co-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font: inherit;
  font-size: 15px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.co-field input:focus, .co-field textarea:focus { border-color: var(--ink); }
.co-file input { padding: 10px; font-size: 14px; }

.co-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.co-method { position: relative; cursor: pointer; }
.co-method input { position: absolute; opacity: 0; }
.co-method__box {
  display: grid; gap: 2px;
  padding-block: 14px;
  padding-inline: 44px 16px;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.2s, background-color 0.2s;
}
.co-method__box::before {
  content: "";
  position: absolute; inset-inline-start: 16px; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}
.co-method input:checked + .co-method__box { border-color: var(--ink); background: var(--sand); }
.co-method input:checked + .co-method__box::before { border: 5px solid var(--ink); }
.co-method input:focus-visible + .co-method__box { outline: 1px solid var(--ink); outline-offset: 2px; }
.co-method__name { font-family: var(--heading); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.co-method__hint { font-size: 12.5px; color: var(--muted); }

.co-pay { background: var(--sand); padding: 18px 20px; display: grid; gap: 10px; }
.co-pay:empty { display: none; }
.co-pay__title { font-family: var(--heading); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.co-pay__amount { font-size: 15px; }
.co-pay__amount strong { color: var(--wine); }
.co-pay__list { margin: 0; display: grid; gap: 8px; }
.co-pay__list div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; }
.co-pay__list dt { font-size: 13px; color: var(--muted); }
.co-pay__list dd { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; word-break: break-all; }
.co-copy {
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 4px 10px; background: var(--bg);
}
.co-copy:hover { background: var(--ink); color: var(--bg); }
.co-pay__steps { margin: 0; padding-inline-start: 18px; font-size: 14px; color: var(--ink-soft); display: grid; gap: 4px; }
.co-pay__note { font-size: 14px; color: var(--ink-soft); }

.checkout__summary {
  background: var(--sand);
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.checkout__summary h3 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.co-items { list-style: none; margin: 0; padding: 0 0 12px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.co-items li, .co-sum { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.co-sum[hidden] { display: none; }
.co-sum--total {
  padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--heading); font-size: 16px; font-weight: 500;
}
.co-error { color: var(--wine); font-size: 14px; min-height: 1em; }
.co-error:empty { display: none; }
.co-small { font-size: 12.5px; color: var(--muted); }
/* Honeypot field: off-screen for people, still present for form bots */
.co-trap { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.co-success { padding: 56px 28px 64px; display: grid; justify-items: center; text-align: center; gap: 14px; outline: none; }
.co-success svg { color: #2f6b3a; }
.co-success h3 { font-size: 20px; }
.co-success__no { font-size: 16px; }
.co-success__no strong { font-family: var(--heading); letter-spacing: 0.06em; }
.co-success > p { max-width: 52ch; color: var(--ink-soft); }
.co-success__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

@media (max-width: 760px) {
  .checkout { padding: 0; }
  .checkout__panel { min-height: 100%; }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__main, .checkout__summary { padding: 22px 16px; }
  .co-row { grid-template-columns: 1fr; }
  .co-methods { grid-template-columns: 1fr; }
  .co-pay__list div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  scroll-margin-top: var(--header-h);
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0;
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 300; transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding-bottom: 22px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- 404 page ---------- */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 48px var(--gutter);
}
.notfound__logo { height: 34px; width: auto; margin-bottom: 18px; }
.notfound__title { font-size: clamp(24px, 3vw, 34px); }
.notfound__text { color: var(--ink-soft); max-width: 46ch; }
.notfound__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ---------- Reveal (starts visible, just settles into place) ---------- */
.js .reveal {
  transform: translateY(18px);
  transition: transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .promises { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .nav, .header__link { display: none; }
  .header__menu { display: inline-grid; }
  .logo img { height: 22px; }

  .product { grid-template-columns: 1fr; }
  .pinfo { position: static; }

  .story { grid-template-columns: 1fr; }
  .story__media { aspect-ratio: 4 / 5; }
  .launch, .news { grid-template-columns: 1fr; }
  .launch__media, .news__media { min-height: 0; aspect-ratio: 3 / 2; }
  /* On phones, show uploaded videos whole, at their own shape (no cropping). */
  .launch__media:has(video), .news__media:has(video), .story__media:has(video) { aspect-ratio: auto; }
  .launch__media video, .news__media video, .story__media video { height: auto; aspect-ratio: auto; object-fit: contain; }
}

@media (max-width: 767px) {
  .slider { height: 82svh; min-height: 520px; max-height: 760px; }
  .slide { align-items: flex-end; }
  .slide__img { object-position: 66% center; }
  .slide::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.78) 100%); }
  .slide__content { margin: 0 var(--gutter) 84px; max-width: none; }
  .slider__arrow { display: none; }
  .slider__controls { bottom: 20px; }
  .slider__dot { width: 22px; }

  .lookbook__grid {
    grid-template-columns: repeat(3, 74%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .lookbook__grid::-webkit-scrollbar { display: none; }
  .look { scroll-snap-align: start; }

  .gift > * { grid-area: auto; }
  .gift::after { display: none; }
  .gift__img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .gift__content { margin: 0; padding: 36px var(--gutter) 44px; max-width: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .promises { padding: 40px var(--gutter); gap: 28px 16px; }
  .promise p { font-size: 13px; }
  .section-head { margin-bottom: 32px; }
  .countdown { gap: 8px; }
  .countdown__unit { padding: 14px 2px 12px; }
  .countdown__label { font-size: 9.5px; letter-spacing: 0.12em; }
  .field { flex-direction: column; }
  .field input { flex: none; width: 100%; }
  .field .btn { width: 100%; }
  .field__msg { position: static; margin-top: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .announce__item { font-size: 10.5px; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
