/* Asrar Parfums, site 2: light editorial storefront.
   Built from the reference: light page, dark cinematic image cards, grey product tiles,
   deep forest green as the only accent.
   Shape rule: containers 1.5rem, product tiles 1.25rem, every control a full pill. */

:root {
  --page: #f6f7f4;
  --surface: #ffffff;
  --tile: #e4e7e2;
  --tile-2: #dde1db;
  --ink: #141a16;
  --muted: #59625c;
  --line: rgba(20, 26, 22, 0.1);
  --green: #1f3a2f;
  --green-hover: #2a4a3c;
  --on-green: #f6f7f4;
  --on-dark: #f3f4f0;
  --on-dark-muted: rgba(243, 244, 240, 0.74);
  --forest-a: #10201a;
  --forest-b: #070e0b;
  --shadow: 0 30px 60px -36px rgba(20, 38, 30, 0.35);
  --scrim: rgba(13, 22, 18, 0.45);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-card: 1.5rem;
  --r-tile: 1.25rem;
  --wrap: 1320px;
  --gutter: clamp(1rem, 2.4vw, 1.5rem);
  --dir: 1;

  --z-top: 30;
  --z-menu: 40;
  --z-toast: 60;

  --font: "Manrope", system-ui, sans-serif;
}

[dir="rtl"] { --dir: -1; }
[lang="ar"] { --font: "IBM Plex Sans Arabic", system-ui, sans-serif; }
/* Arabic must never be letter-spaced: it breaks the joins. */
[dir="rtl"] * { letter-spacing: 0 !important; }
.flip { display: inline-block; }
[dir="rtl"] .flip { transform: scaleX(-1); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, a, input, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 1rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.dark-card :focus-visible { outline-color: var(--on-dark); }

.skip {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 70;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  transform: translateY(-200%);
  transition: transform 0.4s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
[lang="ar"] .h2 { line-height: 1.4; }
.lead { color: var(--muted); max-width: 46ch; margin-block-start: 1rem; font-size: 1.05rem; }

/* Small pill label (used three times: hero, statement, collection) */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: #eceee9;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.tag--glass {
  background: rgba(243, 244, 240, 0.12);
  box-shadow: inset 0 0 0 1px rgba(243, 244, 240, 0.22);
  color: var(--on-dark);
}

/* Buttons: pill with a nested round icon */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 3.1rem;
  padding-block: 0.3rem;
  padding-inline: 1.4rem 0.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 2.6rem; font-size: 0.84rem; gap: 0.8rem; padding-inline: 1.15rem 0.25rem; }
.btn--sm:not(:has(.btn__dot)) { padding-inline: 1.15rem; }
.btn__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform 0.5s var(--ease);
}
.btn--sm .btn__dot { width: 2.1rem; height: 2.1rem; font-size: 0.9rem; }
.btn:hover .btn__dot { transform: translateX(calc(var(--dir) * 3px)) scale(1.05); }
.btn__dot--dark { background: var(--green); color: var(--on-green); }
.btn__dot--light { background: var(--on-dark); color: var(--ink); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.45); }
.btn--glass { background: rgba(10, 18, 14, 0.35); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(243, 244, 240, 0.22); }
.btn--glass:hover { background: rgba(10, 18, 14, 0.5); }
.btn--dark { background: var(--green); color: var(--on-green); }
.btn--dark:hover { background: var(--green-hover); }
.btn--dark .btn__dot--light { background: var(--on-green); color: var(--green); }

.icon-btn, .pill-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.25rem;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.pill-btn { padding-inline: 0.95rem; font-size: 0.85rem; font-weight: 500; }
.icon-btn:hover, .pill-btn:hover { background: var(--tile); }
.icon-btn:active, .pill-btn:active { transform: scale(0.96); }
.badge {
  position: absolute;
  inset-block-start: 0.1rem;
  inset-inline-end: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.1rem;
  text-align: center;
}

.round-btn {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: #eceee9;
  color: var(--ink);
  font-size: 1rem;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.round-btn:hover { background: var(--tile-2); }
.round-btn:active { transform: scale(0.95); }
.round-btn--dark { background: var(--green); color: var(--on-green); }
.round-btn--dark:hover { background: var(--green-hover); }
.round-btn:disabled { opacity: 0.35; cursor: default; }

/* Top bar */
.top {
  position: relative;
  z-index: var(--z-top);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
}
.brand { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.top__actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.top__contact { margin-inline-start: 0.5rem; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
  height: 2.6rem;
  padding-inline: 0.6rem;
  margin-inline-start: -0.6rem;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: background 0.4s var(--ease);
}
.menu-btn:hover { background: var(--tile); }
.menu-btn__icon { position: relative; width: 1.15rem; height: 0.8rem; }
.menu-btn__icon span {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.6s var(--ease), inset-block-start 0.6s var(--ease);
}
.menu-btn__icon span:nth-child(1) { inset-block-start: 0.1rem; }
.menu-btn__icon span:nth-child(2) { inset-block-start: 0.6rem; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { transform: translateY(0.25rem) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { transform: translateY(-0.25rem) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: grid;
  align-content: center;
  padding: 6rem var(--gutter) 3rem;
  background: rgba(246, 247, 244, 0.86);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
body.menu-open .top { z-index: calc(var(--z-menu) + 1); }
.menu__list { display: grid; gap: 0.25rem; width: 100%; max-width: var(--wrap); margin-inline: auto; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: inline-block;
  padding-block: 0.25rem;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.15;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease), color 0.4s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.menu__list a:hover { color: var(--green); }
.menu.is-open .menu__list a { transform: none; opacity: 1; transition-delay: calc(120ms + var(--i) * 70ms); }

/* Dark image cards (hero, gifts, notes) */
.dark-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-card);
  color: var(--on-dark);
  background:
    radial-gradient(70% 60% at 50% 35%, #1d3529 0%, transparent 70%),
    linear-gradient(180deg, var(--forest-a), var(--forest-b));
}
.dark-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s var(--ease-out), transform 1.6s var(--ease);
}
.dark-card.has-img > img { opacity: 1; }
.dark-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 12, 9, 0.78) 0%, rgba(6, 12, 9, 0.25) 42%, rgba(6, 12, 9, 0) 65%);
}

/* Hero */
.hero__card {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(480px, calc(100dvh - 210px), 680px);
  padding: 2rem 1.5rem clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.hero__img { object-position: 50% 30%; transform: scale(1.06); }
.hero__card.has-img .hero__img { transform: none; transition-duration: 1s, 2.4s; }
.hero__content { display: grid; justify-items: center; gap: 1.25rem; }
.hero__title {
  max-width: 16ch;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
[lang="ar"] .hero__title { text-transform: none; line-height: 1.3; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-block-start: 0.5rem; }

/* Signature tiles */
.sig { padding-block: 1rem 0; }
.sig__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { display: grid; gap: 0.9rem; text-align: center; }
.tile__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-tile);
  background: var(--tile);
}
.tile__name { font-size: 0.95rem; font-weight: 500; }

/* Product imagery inside light tiles: photo when present, tinted placeholder before */
.shot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 45% at 50% 55%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%), var(--tile);
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease);
}
.shot.has-img img { opacity: 1; }
.shot__ph {
  width: 34%;
  aspect-ratio: 3 / 5;
  border-radius: 40% 40% 1.25rem 1.25rem / 22% 22% 1.25rem 1.25rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 80%, #fff 20%), var(--tint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 24px 40px -24px rgba(20, 26, 22, 0.5);
  opacity: 0.85;
}
.shot.has-img .shot__ph { display: none; }
.tile__media:hover .shot img, .card__media:hover .shot img { transform: scale(1.04); }

/* Statement */
.statement {
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding-block: clamp(6rem, 12vw, 10rem);
  text-align: center;
}
.statement__body {
  max-width: 38ch;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
[lang="ar"] .statement__body { line-height: 1.75; }

/* Gifts */
.gifts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gift {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  width: 100%;
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}
.gift__img { object-position: 50% 30%; }
.gift:hover .gift__img { transform: scale(1.03); }
.gift__content { display: grid; justify-items: center; gap: 0.6rem; max-width: 34ch; }
.gift__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.gift__content p { color: var(--on-dark-muted); font-size: 0.92rem; margin-block-end: 0.75rem; }

/* Collection carousel */
.collection { padding-block: clamp(6rem, 11vw, 9rem); }
/* Size cards from the container, not %, so the track never widens the mobile layout viewport. */
.collection > .wrap:last-child { container-type: inline-size; }
.collection__head { display: grid; justify-items: center; gap: 1.25rem; text-align: center; margin-block-end: clamp(2.5rem, 5vw, 3.5rem); }
.collection__head .h2 { max-width: 18ch; }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100cqi - 3rem) / 4);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block-end: 0.25rem;
}
.track::-webkit-scrollbar { display: none; }
.card { position: relative; scroll-snap-align: start; display: grid; align-content: start; gap: 0.9rem; }
.card__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--r-tile);
  background: var(--tile);
}
.card__badges { position: absolute; inset-block-start: 0.85rem; inset-inline-start: 0.85rem; z-index: 1; display: flex; gap: 0.35rem; }
.flag { padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.68rem; font-weight: 600; background: var(--surface); color: var(--ink); }
.flag--dark { background: var(--green); color: var(--on-green); }
.card__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.card__tag { margin-block-start: 0.15rem; font-size: 0.85rem; color: var(--muted); }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.price { position: relative; display: flex; align-items: baseline; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.price strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.price s { color: var(--muted); font-size: 0.88rem; }
.cart-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  font-size: 1.05rem;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease);
}
.cart-btn:hover { background: var(--green-hover); transform: scale(1.06); }
.cart-btn:active { transform: scale(0.94); }

.track__ctrl { display: flex; align-items: center; gap: 1.5rem; max-width: 760px; margin: 2.5rem auto 0; }
.track__bar { position: relative; flex: 1; height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.track__bar span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 50%;
  border-radius: 999px;
  background: var(--green);
  transition: transform 0.35s var(--ease-out);
}
.track__btns { display: flex; gap: 0.5rem; }

/* Signature notes feature */
.notes__card {
  display: grid;
  min-height: clamp(560px, 62vw, 760px);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.notes__img { object-position: 50% 45%; }
.notes__card::after {
  background:
    linear-gradient(to top, rgba(6, 12, 9, 0.7) 0%, rgba(6, 12, 9, 0) 40%),
    linear-gradient(to bottom, rgba(6, 12, 9, 0.55) 0%, rgba(6, 12, 9, 0) 30%);
}
.notes__intro { display: grid; justify-items: start; gap: 0.5rem; align-self: start; max-width: 22rem; }
.notes__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-block-end: 0.5rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(243, 244, 240, 0.3);
  font-size: 1.15rem;
}
.notes__name { font-size: 0.85rem; color: var(--on-dark-muted); }
.notes__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute;
  display: grid;
  gap: 0.2rem;
  max-width: 14.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.callout__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); }
[lang="ar"] .callout__label { font-size: 0.85rem; text-transform: none; }
.callout::before {
  content: "";
  position: absolute;
  inset-block-start: 0.55rem;
  width: clamp(2.5rem, 6vw, 5.5rem);
  height: 1px;
  background: linear-gradient(to right, rgba(243, 244, 240, 0.55), rgba(243, 244, 240, 0.1));
}
.callout--a { inset-inline-start: 7%; inset-block-start: 48%; text-align: end; }
.callout--a::before { inset-inline-start: calc(100% + 1rem); }
.callout--b { inset-inline-end: 7%; inset-block-start: 30%; }
.callout--c { inset-inline-end: 7%; inset-block-start: 62%; }
.callout--b::before, .callout--c::before { inset-inline-end: calc(100% + 1rem); transform: scaleX(-1); }
[dir="rtl"] .callout--a::before { transform: scaleX(-1); }
[dir="rtl"] .callout--b::before, [dir="rtl"] .callout--c::before { transform: none; }
.notes__cta { align-self: end; justify-self: center; position: relative; }
.notes__price { opacity: 0.6; font-variant-numeric: tabular-nums; }

/* Newsletter */
.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  padding-block: clamp(6rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem);
}
.news__form label { display: block; margin-block-end: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--green); }
.field.is-invalid { box-shadow: inset 0 0 0 1.5px #a3352b; }
.field input { flex: 1; min-width: 0; padding: 0.7rem 1.1rem; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.field input::placeholder { color: #7a827c; }
.form-msg { min-height: 1.5rem; margin-block-start: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.form-msg.is-error { color: #a3352b; }
.form-msg.is-ok { color: var(--green); }

/* Footer */
.footer { padding-block: 2.5rem 2rem; box-shadow: inset 0 1px 0 var(--line); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.92rem; }
.footer__links a { color: var(--muted); transition: color 0.4s var(--ease); }
.footer__links a:hover { color: var(--ink); }
.footer__legal { margin-block-start: 2rem; font-size: 0.82rem; color: var(--muted); }
.brand--foot { font-size: 1.6rem; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; overflow: visible; }
dialog::backdrop { background: var(--scrim); opacity: 0; transition: opacity 0.5s var(--ease); }
dialog.is-open::backdrop { opacity: 1; }

.modal { width: min(960px, calc(100% - 2rem)); margin: auto; }
.modal__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(28px) scale(0.98);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.6s var(--ease);
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.pdp__media { position: relative; min-height: 26rem; margin: 0.5rem; border-radius: var(--r-tile); overflow: hidden; }
.pdp__info { position: relative; display: grid; gap: 1.2rem; align-content: start; padding: clamp(1.5rem, 4vw, 2.75rem); }
.pdp__close { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; background: #eceee9; }
.pdp__fam { font-size: 0.85rem; color: var(--muted); }
.pdp__name { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; margin-block-start: 0.25rem; }
.pdp__desc { color: var(--muted); max-width: 44ch; }
.pdp__notes { display: grid; gap: 0.5rem; margin: 0; }
.pdp__notes div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; font-size: 0.94rem; }
.pdp__notes dt { color: var(--muted); }
.pdp__notes dd { margin: 0; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; padding: 0; margin: 0; }
.sizes legend { padding: 0; margin-block-end: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.size { position: relative; }
.size input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.size span { display: block; padding: 0.6rem 1.15rem; border-radius: 999px; font-size: 0.9rem; background: #eceee9; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.size input:checked + span { background: var(--green); color: var(--on-green); }
.size input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.pdp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-block-start: 0.25rem; }
.pdp__price { position: relative; display: flex; align-items: baseline; gap: 0.5rem; font-size: 1.7rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.pdp__price s { font-size: 1rem; color: var(--muted); font-weight: 400; }

.drawer { inset-block: 0; margin: 0; margin-inline-start: auto; width: min(440px, 100%); height: 100dvh; }
.drawer__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(calc(var(--dir) * 100%));
  transition: transform 0.7s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem 1rem; padding-inline: 1.5rem 1rem; box-shadow: inset 0 -1px 0 var(--line); }
.drawer__title { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }
.drawer__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0.5rem 1.5rem; }
.drawer__foot { display: grid; gap: 0.9rem; padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--line); }
.empty { display: grid; justify-items: start; gap: 1.25rem; padding-block: 2rem; color: var(--muted); }
.line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; padding-block: 1rem; align-items: start; }
.line + .line { box-shadow: inset 0 1px 0 var(--line); }
.line__thumb { position: relative; width: 4.5rem; aspect-ratio: 3 / 4; border-radius: 0.9rem; overflow: hidden; background: var(--tile); }
.line__thumb .shot__ph { width: 40%; }
.line__name { font-weight: 500; }
.line__size { font-size: 0.85rem; color: var(--muted); }
.line__price { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; gap: 0.15rem; margin-block-start: 0.6rem; border-radius: 999px; background: #eceee9; }
.qty button { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; font-size: 0.95rem; }
.qty button:hover { background: var(--tile-2); }
.qty span { min-width: 1.5rem; text-align: center; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.line__remove { display: block; margin-block-start: 0.5rem; font-size: 0.82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__remove:hover { color: var(--ink); }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ship { font-size: 0.88rem; color: var(--muted); }
.btn--block { justify-content: space-between; width: 100%; padding-inline-start: 1.6rem; }

.toast {
  position: fixed;
  inset-inline: 0;
  inset-block-end: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(1.5rem);
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* Demo label */
.demo-bar {
  padding: 0.45rem var(--gutter);
  background: var(--green);
  color: var(--on-green);
  font-size: 0.75rem;
  text-align: center;
}

/* Entry motion only on the hero; the rest of the page sits still. */
.reveal:not(.hero .reveal) { opacity: 1; transform: none; }
.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .track { grid-auto-columns: calc((100cqi - 2rem) / 3); }
}

@media (max-width: 900px) {
  .gifts, .news, .modal__panel { grid-template-columns: 1fr; }
  .gift { aspect-ratio: 4 / 5; max-height: none; }
  .pdp__media { min-height: 0; aspect-ratio: 4 / 3; }
  .notes__card { min-height: 0; gap: 1.75rem; padding-block-end: 2rem; }
  .callouts { margin-block-start: 15rem; }
  .callouts { position: relative; inset: auto; display: grid; gap: 1.25rem; pointer-events: auto; }
  .callout, .callout--a, .callout--b, .callout--c { position: static; max-width: none; text-align: start; }
  .callout::before { display: none; }
  .notes__card::after { background: linear-gradient(to top, rgba(6, 12, 9, 0.92) 0%, rgba(6, 12, 9, 0.55) 48%, rgba(6, 12, 9, 0) 70%), linear-gradient(to bottom, rgba(6, 12, 9, 0.55) 0%, rgba(6, 12, 9, 0) 30%); }
  .notes__cta { justify-self: start; }
}

@media (max-width: 720px) {
  .sig__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .track { grid-auto-columns: 72cqi; gap: 0.75rem; }
  .top__contact { display: none; }
  .menu-btn__label { display: none; }
  .hero__card { min-height: min(640px, calc(100dvh - 96px)); padding-inline: 1rem; }
  /* Phone: photo sits in the top of the card and fades into the dark, so the bottle stays clear of the copy. */
  .hero__card > .hero__img { height: 64%; object-position: 50% 30%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
  .hero__cta .btn { justify-content: space-between; }
  .field { flex-direction: column; align-items: stretch; border-radius: 1.5rem; }
  .field .btn { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html, .track { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--page); }
}

.sr { position: absolute; inset-inline-start: 0; inset-block-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
