/* BluBel - Elegance in every drop */

:root {
  color-scheme: only light;
  --black: #0b0908;
  --black-2: #16120f;
  --espresso: #211a15;
  --ivory: #faf6f0;
  --champagne: #f4ece1;
  --sand: #eadcc9;
  --white: #fffdf9;
  --text: #1d1814;
  --text-soft: #6f6358;
  --on-dark: #f3e9dc;
  --on-dark-soft: rgba(243, 233, 220, 0.72);
  --gold: #c9a463;
  --gold-light: #e6cc96;
  --gold-deep: #96743f;
  --gold-grad: linear-gradient(100deg, #a8844c 0%, #ecd6a2 42%, #c39c5c 68%, #f0dcaa 100%);
  --line: rgba(29, 24, 20, 0.12);
  --line-gold: rgba(201, 164, 99, 0.35);

  --font-brand: "Cinzel", "Times New Roman", serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--champagne);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--champagne);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--gold-light);
}

.skip-link:focus {
  left: 8px;
}

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

/* Mi Browser darkens the body background in dark mode, so sections set their own. */
section {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--champagne);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 520px;
}

.section-head h2,
.gifts h2,
.story h2 {
  font-size: clamp(40px, 5.4vw, 62px);
  font-weight: 300;
  margin: 18px 0 18px;
}

.section-head.center {
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), filter 0.3s var(--ease);
}

.btn-gold {
  background: var(--gold-grad);
  color: var(--black);
}

.btn-gold:hover {
  filter: brightness(1.08);
}

.btn-line {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-light);
}

.btn-line:hover {
  background: rgba(201, 164, 99, 0.12);
}

.btn-dark {
  background: var(--black);
  color: var(--gold-light);
}

.btn-dark:hover {
  background: var(--espresso);
}

.btn-outline-dark {
  border-color: var(--black);
  background: transparent;
  color: var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--gold-light);
}

.btn-block {
  width: 100%;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

.link-btn:hover {
  color: var(--gold-light);
}

/* ---------- Announcement & header ---------- */

.announce {
  padding: 9px var(--gutter);
  background: var(--gold-grad);
  color: var(--black);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid var(--line-gold);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--gold-light);
}

/* The monogram sits on a dark photo background; screen drops it into the black. */
.logo img {
  width: auto;
  height: 40px;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

.logo span {
  /* BluBel is written in mixed case, like the packaging */
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
}

.nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.basket-btn,
.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--gold-light);
}

.basket-btn svg,
.float-basket svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
}

.basket-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .logo img {
    height: 34px;
  }

  .logo span {
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--black);
    border-bottom: 1px solid var(--line-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(243, 233, 220, 0.1);
  }
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding: 0;
  background: var(--black);
  color: var(--on-dark);
  overflow: hidden;
}

/* Spray photo on the left; the mist drifts towards the text on the right. */
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 58%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 30%);
}

.hero-inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 470px;
}

/* Keep the mark centred over the word (above the middle E). */
.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  width: 96px;
  height: auto;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

.hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 104px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gold-light);
  /* cancel the trailing letter-space so the word centres on its letters */
  margin-right: -0.02em;
}

.tagline {
  display: inline-block;
  margin: 18px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-gold);
  font-family: var(--font-brand);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark);
}

.hero .lead {
  color: var(--on-dark-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (max-width: 860px) {
  .hero {
    display: block;
    min-height: 0;
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-media img {
    object-position: 52% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }

  .hero-inner {
    display: block;
    margin-top: -48px;
    padding-top: 0;
    padding-bottom: 64px;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-mark {
    width: 72px;
    margin: 0 auto;
  }

  .hero .lead {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* ---------- Pillars ---------- */

.pillars {
  padding: 30px 0;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.pillars-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.pillars-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
}

.pillars-inner > div + div {
  border-left: 1px solid rgba(150, 116, 63, 0.35);
}

.pillars svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.pillars span {
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

@media (max-width: 700px) {
  .pillars-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

  .pillars-inner > div:nth-child(3) {
    border-left: 0;
  }
}

/* ---------- Shop ---------- */

.shop {
  background: var(--champagne);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  margin: 26px 0 56px;
}

.filters button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--text-soft);
  font-family: var(--font-brand);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.filters button:hover {
  color: var(--text);
}

.filters button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 52px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 14px;
  }

  .product h3 {
    font-size: 21px;
  }

  .product-notes {
    font-size: 12px;
  }

  .add-btn,
  .product .qty {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }
}

.product {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-art {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #eee2d1 0%, #dccab2 100%);
  overflow: hidden;
}

.product-art svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.product-art img {
  position: absolute;
  left: 50%;
  bottom: 6%;
  height: 86%;
  width: auto;
  max-width: 92%;
  object-fit: contain;
  transform: translateX(-50%);
  /* Fade every edge of the cropped photo into the card. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
  mask-composite: intersect;
  transition: transform 0.8s var(--ease);
}

.product:hover .product-art svg {
  transform: scale(1.04);
}

.product:hover .product-art img {
  transform: translateX(-50%) scale(1.04);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 20px;
}

.product-type {
  font-family: var(--font-brand);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product h3 {
  font-size: 28px;
  margin: 6px 0 4px;
}

.product-notes {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-soft);
}

.product-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.product-price {
  font-size: 15px;
  font-weight: 600;
}

.product-price small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.add-btn {
  min-height: 44px;
  min-width: 170px;
  padding: 10px 24px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.add-btn:hover {
  background: var(--black);
  color: var(--gold-light);
}

.qty {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold-light);
}

.qty button {
  width: 44px;
  height: 42px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
}

.qty span {
  min-width: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Gifts ---------- */

.gifts {
  background: var(--black);
  color: var(--on-dark);
}

.gifts-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.gifts-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-gold);
}

.gifts h2 {
  color: var(--on-dark);
}

.gifts h2 em,
.gifts .eyebrow {
  color: var(--gold);
}

.gifts .lead {
  color: var(--on-dark-soft);
}

.gift-price {
  margin: 20px 0 26px;
  font-family: var(--font-brand);
  font-size: 30px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.gift-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--on-dark-soft);
}

@media (max-width: 860px) {
  .gifts-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Story ---------- */

.story {
  background: var(--ivory);
}

.story-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.story-media img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .story-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Care ---------- */

.care {
  background: var(--champagne);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.care-grid > div {
  padding: 36px 32px 0;
  text-align: center;
}

.care-grid > div + div {
  border-left: 1px solid var(--line);
}

.care-grid h3 {
  font-family: var(--font-brand);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--gold-deep);
}

.care-grid p {
  margin: 0;
  font-weight: 300;
  color: var(--text-soft);
}

@media (max-width: 760px) {
  .care-grid {
    grid-template-columns: 1fr;
  }

  .care-grid > div {
    padding: 30px 0;
  }

  .care-grid > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 72px 0 30px;
  background: var(--black);
  color: var(--on-dark-soft);
  font-size: 13px;
  border-top: 1px solid var(--line-gold);
}

.site-footer p {
  max-width: 300px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-family: var(--font-brand);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  padding: 4px 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 233, 220, 0.1);
  font-size: 12px;
}

@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Floating basket ---------- */

.float-basket {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px -16px rgba(11, 9, 8, 0.6);
}

/* ---------- Drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 9, 8, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

body.drawer-open .drawer {
  transform: none;
}

body.drawer-open .drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  background: var(--black);
  border-bottom: 1px solid var(--line-gold);
}

.drawer-head h2 {
  font-family: var(--font-brand);
  font-size: 18px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.drawer-step {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  background: var(--ivory);
}

.drawer-foot {
  padding: 20px 26px 24px;
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.basket-empty {
  margin: 40px 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.5;
}

.basket-empty a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.basket {
  margin: 0;
  padding: 0;
  list-style: none;
}

.basket li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.basket-thumb {
  width: 64px;
  height: 80px;
  background: linear-gradient(180deg, #eee2d1 0%, #dccab2 100%);
  overflow: hidden;
}

.basket-thumb svg,
.basket-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-name {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}

.basket-meta {
  font-size: 12px;
  color: var(--text-soft);
}

.basket-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.basket-line {
  font-size: 13px;
  font-weight: 600;
}

.basket .qty {
  min-height: 34px;
  background: transparent;
  color: var(--text);
}

.basket .qty button {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.basket .qty span {
  min-width: 22px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}

.sum-row.strong {
  font-size: 16px;
  font-weight: 600;
}

.fine {
  margin: 8px 0 14px;
  font-size: 12px;
  color: var(--text-soft);
}

.drawer-foot .fine:last-child {
  margin: 12px 0 0;
  text-align: center;
}

/* Checkout form */

.back-link {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field {
  margin-bottom: 14px;
}

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

.field label,
.choice legend {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 16px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
  outline: none;
}

.field input:user-invalid {
  border-color: #a8443a;
}

.choice {
  margin: 4px 0 14px;
  padding: 0;
  border: 0;
}

.choice label,
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
}

.check {
  margin-bottom: 14px;
}

.choice input,
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--black);
}

.summary {
  margin-top: 8px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.summary ul {
  margin: 0 0 10px;
  padding: 0 0 10px;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.summary .sum-row.strong {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

/* Done */

.done {
  text-align: center;
  padding-top: 48px;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  font-size: 26px;
}

.done h3 {
  font-size: 32px;
  margin-bottom: 14px;
}

.done p {
  margin: 0 0 28px;
  color: var(--text-soft);
}

.done .btn + .btn {
  margin-top: 10px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 70;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--gold-light);
  font-size: 13px;
  white-space: nowrap;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Modals: size picker & offer popup ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 9, 8, 0.62);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.modal-panel {
  position: relative;
  display: grid;
  width: min(900px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: var(--ivory);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.modal.show .modal-backdrop {
  opacity: 1;
}

.modal.show .modal-panel {
  opacity: 1;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 9, 8, 0.6);
  color: var(--gold-light);
  font-size: 24px;
  line-height: 1;
}

.product-art[data-pick] {
  cursor: pointer;
}

/* Size picker */

.picker-panel {
  grid-template-columns: 0.9fr 1.1fr;
}

.picker-media {
  position: relative;
  min-height: 320px;
  background: linear-gradient(180deg, #eee2d1 0%, #dccab2 100%);
}

.picker-media img {
  position: absolute;
  inset: 6% 10%;
  width: 80%;
  height: 88%;
  object-fit: contain;
}

.picker-body {
  padding: 30px 30px 28px;
  background: var(--ivory);
}

.picker-body h2 {
  font-size: 38px;
  margin: 4px 0 2px;
}

.picker-notes {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-soft);
}

.picker-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
}

.picker-step h3 {
  font-family: var(--font-brand);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-chip {
  padding: 4px 12px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.size-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.size-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.size-opt strong {
  font-size: 16px;
}

.size-opt span,
.size-opt em {
  font-size: 12px;
  font-style: normal;
  color: var(--text-soft);
}

.size-opt[aria-checked="true"] {
  border: 2px solid var(--black);
  background: var(--champagne);
}

.count-opts {
  display: grid;
  gap: 18px;
}

.count-opt {
  position: relative;
  display: grid;
  grid-template-columns: auto 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.count-opt.is-on {
  border: 2px solid var(--black);
}

.count-opt input {
  width: 20px;
  height: 20px;
  accent-color: var(--black);
}

.count-badge {
  position: absolute;
  top: -12px;
  left: 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.count-thumb {
  position: relative;
  width: 52px;
  height: 60px;
  border-radius: 6px;
  background: linear-gradient(180deg, #eee2d1 0%, #dccab2 100%);
}

.count-thumb img,
.count-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.count-thumb b {
  position: absolute;
  right: -6px;
  bottom: -6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 10px;
}

.count-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.count-text small {
  font-size: 12px;
  color: var(--text-soft);
}

.count-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.count-price strong {
  font-size: 18px;
}

.count-price s {
  font-size: 12px;
  color: var(--text-soft);
}

.count-price .free {
  font-size: 11px;
  font-weight: 600;
  color: #2f7d4f;
}

.picker-hint {
  margin: 12px 0 18px;
  font-size: 12px;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .modal {
    padding: 0;
    align-items: end;
  }

  .modal-panel {
    max-height: 94vh;
    max-height: 94dvh;
  }

  .picker-panel {
    grid-template-columns: 1fr;
  }

  .picker-media {
    min-height: 0;
    height: 190px;
  }

  .picker-body {
    padding: 20px 18px 22px;
  }

  .picker-body h2 {
    font-size: 30px;
  }

  .count-opt {
    grid-template-columns: auto 44px 1fr auto;
    gap: 10px;
  }

  .count-thumb {
    width: 44px;
    height: 52px;
  }
}

/* Offer popup */

.promo-panel {
  grid-template-columns: 1fr 1fr;
  width: min(820px, 100%);
  background: var(--black);
  border: 1px solid var(--line-gold);
}

.promo-media {
  position: relative;
  min-height: 420px;
  background: radial-gradient(ellipse at 50% 40%, #3a2c20 0%, var(--black) 75%);
}

.promo-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  /* Show the whole picture (bottles are tall), fading its edges into the panel. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.promo-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 34px;
  text-align: center;
  background: var(--black);
  color: var(--on-dark);
}

.promo-mark {
  width: 64px;
  height: auto;
  margin-bottom: 14px;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

.promo-body .eyebrow {
  color: var(--gold);
}

.promo-body h2 {
  margin: 14px 0 12px;
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.promo-message {
  margin: 0 0 26px;
  color: var(--on-dark-soft);
}

.promo-skip {
  margin-top: 12px;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--on-dark-soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.promo-fine {
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(243, 233, 220, 0.5);
}

.promo-fine:empty {
  display: none;
}

@media (max-width: 720px) {
  .promo-panel {
    grid-template-columns: 1fr;
  }

  .promo-media {
    min-height: 0;
    height: 220px;
  }

  .promo-body {
    padding: 26px 22px 28px;
  }
}

/* Offer inside the basket and checkout */

.checkout-promo {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  background: var(--black);
  color: var(--on-dark);
  font-size: 13px;
}

.checkout-promo p {
  margin: 0;
}

.checkout-promo .cp-title {
  margin-bottom: 4px;
  font-family: var(--font-brand);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cp-btn {
  margin-top: 10px;
  padding: 8px 16px;
  border: 0;
  background: var(--gold-grad);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sum-row.saving {
  color: #2f7d4f;
  font-weight: 600;
}

.preview-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 8px 16px;
  background: #2f7d4f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Stock, payment errors, legal pages ---------- */

.add-btn:disabled,
.add-btn:disabled:hover,
.btn:disabled {
  border-color: var(--line);
  background: transparent;
  color: var(--text-soft);
  cursor: not-allowed;
}

.btn-dark:disabled {
  background: #6d655d;
  color: #f4ece1;
}

.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.size-opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.grid-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--text-soft);
}

.pay-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #a8443a;
  background: #fbeeea;
  color: #7d2e26;
  font-size: 14px;
}

.fine a {
  color: inherit;
  text-decoration: underline;
}

.legal {
  background: var(--champagne);
  padding: 56px 0 80px;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-family: var(--font-brand);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal h2 {
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 34px 0 10px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.legal ul,
.legal ol {
  padding-left: 20px;
}

.legal a {
  color: inherit;
  text-decoration: underline;
}

.legal .updated {
  color: var(--text-soft);
  font-size: 14px;
}

/* ---------- Track your order ---------- */

.track-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 26px 0 14px;
}

.track-form .field {
  margin: 0;
}

.track-form .btn {
  min-height: 48px;
}

.track-card {
  margin: 18px 0 26px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.track-card h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 4px 0 16px;
}

.track-ref {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.track-courier {
  margin: 0 0 18px;
}

.timeline {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding-bottom: 18px;
  color: var(--text-soft);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li.is-done::before {
  background: var(--gold);
}

.t-dot {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fffdf9;
}

.timeline li.is-done {
  color: var(--text);
}

.timeline li.is-done .t-dot {
  border-color: var(--gold);
  background: var(--gold);
}

.timeline li.is-current .t-dot {
  box-shadow: 0 0 0 5px rgba(201, 164, 99, 0.25);
}

.timeline strong {
  display: block;
  font-weight: 600;
}

.t-date,
.t-note {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.track-items {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.track-items h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.track-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 15px;
}

.track-items small {
  color: var(--text-soft);
  text-align: right;
}

.track-total {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.track-help {
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .track-form {
    grid-template-columns: 1fr;
  }

  .track-card {
    padding: 20px 16px;
  }
}

.legal a.btn {
  text-decoration: none;
}

/* Policy and tracking pages: logo left, "Back to the shop" right. */
.site-header .header-inner > .btn {
  grid-column: 3;
  justify-self: end;
}

.legal .timeline {
  padding: 0;
}

/* Picker step 3: a card per bottle, each with a scent search */
.picker-scents {
  margin-bottom: 18px;
}

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

.slot {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}

.slot:hover {
  border-color: var(--gold);
}

.slot.is-open {
  display: block;
  border: 1px solid var(--black);
  cursor: default;
}

.slot.is-filled {
  border-color: var(--gold);
}

.slot.is-free {
  background: #fdf8ef;
}

.slot-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--champagne);
  font-size: 14px;
  font-weight: 600;
}

.slot-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.slot-text small {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
}

.slot-kicker {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8803f;
}

.slot-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.slot-change {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
}

.slot-thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 48px;
  overflow: hidden;
  background: var(--champagne);
}

.slot-thumb img,
.slot-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-search {
  position: relative;
}

.slot-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
}

.slot-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px 10px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.slot-list {
  list-style: none;
  max-height: 260px;
  margin: 8px 0 0;
  padding: 0;
  overflow-y: auto;
}

.slot-list button {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.slot-list button:hover,
.slot-list button[aria-current="true"] {
  background: var(--champagne);
}

.slot-list button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.slot-none {
  padding: 12px 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.slot-cancel,
.slot-fill {
  justify-self: start;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- My account ---------- */

.acc-loading {
  padding: 60px 0;
  text-align: center;
  color: var(--text-soft);
}

.acc-card {
  margin: 22px 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.acc-card .field {
  margin-bottom: 14px;
}

.acc-small {
  font-size: 14px;
  color: var(--text-soft);
}

.acc-saved {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #2f7d4f;
}

.acc-rule {
  margin: 22px 0 14px;
  border: 0;
  border-top: 1px solid var(--line);
}

.acc-danger {
  color: #a8443a;
}

.acc-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.acc-head .btn {
  min-height: 42px;
  padding: 8px 18px;
}

.acc-tabs {
  display: flex;
  gap: 4px;
  margin: 18px 0 6px;
  border-bottom: 1px solid var(--line);
}

.acc-tabs button {
  padding: 12px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.acc-tabs button[aria-selected="true"] {
  color: var(--text);
  border-bottom-color: var(--black);
}

.acc-orders {
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.legal .acc-orders li {
  font-size: 15px;
  line-height: 1.5;
}

.acc-order {
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fffdf9;
}

.acc-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.acc-order-head small {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
}

.acc-status {
  padding: 3px 10px;
  border-radius: 12px;
  background: #ece7e0;
  color: #6d655d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.acc-status.s-paid { background: #f6e1b8; color: #6e4c0d; }
.acc-status.s-packed { background: #dbe7f3; color: #23476b; }
.acc-status.s-shipped { background: #dcefe2; color: #245c37; }
.acc-status.s-delivered { background: #2f7d4f; color: #fff; }
.acc-status.s-cancelled { background: #f3d8d3; color: #8a2f25; }

.legal ul.acc-items {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.acc-items small {
  color: var(--text-soft);
}

.acc-order-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.acc-empty .btn {
  margin-top: 6px;
}

/* Account link in the shop header */
.account-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold-light);
}

.account-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.legal .acc-orders {
  padding: 0;
}

.legal .acc-small {
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .site-header .header-inner > .btn {
    grid-column: 2 / 4;
    min-height: 38px;
    padding: 8px 14px;
    white-space: nowrap;
  }
}

/* ---------- Refine row: who for, season, family, saved ---------- */

.refine {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: -18px auto 36px;
  max-width: 980px;
}

.refine-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.refine button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.refine button[aria-pressed="true"] {
  border-color: var(--black);
  background: var(--black);
  color: var(--gold-light);
}

.refine .refine-clear {
  border-color: transparent;
  text-decoration: underline;
}

.product-meta {
  margin: -4px 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8803f;
}

.grid-empty .link-btn {
  font-size: inherit;
  text-decoration: underline;
}

/* Wishlist heart on product photos */
.wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.85);
  color: var(--black);
  cursor: pointer;
}

.wish svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.wish[aria-pressed="true"] {
  color: #a8443a;
}

.wish[aria-pressed="true"] svg {
  fill: currentColor;
}

/* ---------- Scent profile (in the size picker) ---------- */

.profile {
  margin: -6px 0 22px;
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.profile-chips span {
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--champagne);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.pyramid {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pyramid li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 2px 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.pyramid strong {
  grid-row: span 2;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8803f;
}

.pyramid span {
  font-size: 14px;
}

.pyramid small {
  font-size: 11px;
  color: var(--text-soft);
}

.meters {
  display: grid;
  gap: 8px;
}

.meter {
  display: grid;
  grid-template-columns: 58px auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

.meter-dots {
  display: flex;
  gap: 4px;
}

.meter-dots i {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

.meter-dots i.on {
  background: var(--gold);
}

.meter small {
  font-weight: 400;
  color: var(--text-soft);
}

/* ---------- Scent Finder ---------- */

.finder-band {
  padding: 56px 0;
  background: var(--black);
  color: var(--champagne);
}

.finder-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.finder-band h2 {
  margin: 6px 0 10px;
  color: var(--champagne);
}

.finder-band h2 em {
  color: var(--gold-light);
}

.finder-band .lead {
  max-width: 560px;
  margin: 0;
  color: #d8cdbd;
}

.finder-panel {
  display: block;
  width: min(620px, 100%);
}

.finder-body {
  padding: 40px 36px 34px;
}

.finder-body h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 4vw, 34px);
}

.finder-progress {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8803f;
}

.finder-progress span {
  display: block;
  height: 3px;
  margin-top: 8px;
  background: var(--line);
}

.finder-progress i {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.finder-options {
  display: grid;
  gap: 10px;
}

.finder-options button {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.finder-options button:hover,
.finder-options button[aria-pressed="true"] {
  border-color: var(--black);
  background: var(--champagne);
}

.finder-back {
  margin-top: 16px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.finder-results {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
}

.finder-results li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.finder-results li.is-top {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.fr-art {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #eee2d1 0%, #dccab2 100%);
}

.fr-art img,
.fr-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fr-text strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.fr-best {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fr-text strong {
  display: block;
}

.fr-pct {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #a8803f;
}

.fr-text small {
  display: block;
  margin: 4px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.fr-why {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.fr-text .add-btn {
  min-width: 0;
}

.finder-note {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .refine {
    margin-top: -12px;
  }

  .finder-body {
    padding: 34px 20px 26px;
  }

  .finder-results li {
    grid-template-columns: 70px 1fr;
  }
}

/* Keep the bottle in view at the top while the picker's details scroll. */
@media (min-width: 641px) {
  .picker-media {
    position: sticky;
    top: 0;
    align-self: start;
    height: min(600px, calc(100vh - 32px));
  }
}

[data-open-finder][hidden],
.finder-band[hidden] {
  display: none !important;
}

/* ---------- Reviews ---------- */

.stars {
  color: #b88a3e;
  letter-spacing: 1px;
}

.product-rating {
  margin: -6px 0 12px;
  font-size: 13px;
}

.product-rating span:not(.stars) {
  color: var(--text-soft);
}

.reviews {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.reviews h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.review-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.review-list p {
  margin: 4px 0;
}

.review-list small {
  color: var(--text-soft);
}

.verified {
  color: #2f7d4f;
  font-weight: 600;
}

/* ---------- Back in stock ---------- */

.notify-btn {
  border-style: dashed;
}

.notify-line {
  margin: -6px 0 16px;
  font-size: 13px;
  color: var(--text-soft);
}

.notify-line .link-btn {
  font-size: inherit;
  text-decoration: underline;
}

.notify-panel {
  display: block;
  width: min(460px, 100%);
}

.notify-body {
  padding: 36px 30px 28px;
}

.notify-body h2 {
  margin: 6px 0 14px;
}

.notify-body .field {
  margin-bottom: 14px;
}

/* ---------- Discovery credit at checkout ---------- */

.credit-row {
  display: flex;
  gap: 8px;
}

.credit-row input {
  flex: 1;
  text-transform: uppercase;
}

.credit-row .btn {
  min-height: 0;
  padding: 0 16px;
}

.credit-msg {
  min-height: 18px;
  margin: 6px 0 0;
  font-size: 13px;
  color: #8a5a12;
}

.credit-msg.ok {
  color: #2f7d4f;
}

/* Tracking page: credit and reviews */
.t-credit {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--gold);
  background: #fdf8ef;
}

.legal .t-credit p {
  margin: 6px 0;
  font-size: 15px;
}

.legal .t-credit .t-credit-code {
  font-family: var(--font-brand);
  font-size: 24px;
  letter-spacing: 0.12em;
}

.t-credit .btn {
  margin-top: 8px;
}

.t-review {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  text-decoration: underline;
}

.track-items li small {
  text-align: right;
}

.t-review-form {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.t-review-form h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.t-review-form .field {
  margin-bottom: 12px;
}

.r-stars {
  display: inline-flex;
  flex-direction: row-reverse;
  margin-bottom: 12px;
}

.r-stars input {
  position: absolute;
  opacity: 0;
}

.r-stars label {
  padding: 0 3px;
  font-size: 30px;
  line-height: 1;
  color: var(--line);
  cursor: pointer;
}

.r-stars input:checked ~ label,
.r-stars label:hover,
.r-stars label:hover ~ label {
  color: #b88a3e;
}

.r-stars input:focus-visible + label {
  outline: 2px solid var(--black);
}

.legal .acc-credit {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-left: 3px solid var(--gold);
  background: #fdf8ef;
  font-size: 14px;
}

.t-review-form .link-btn {
  margin-left: 14px;
}

/* "i" on Top / Heart / Base: tap or hover for an explanation */
.pyramid strong {
  position: relative;
  white-space: nowrap;
}

.note-info {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #a8803f;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: 1px;
  cursor: help;
}

.note-info::after {
  content: attr(data-tip);
  white-space: normal;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 5;
  width: min(260px, 70vw);
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--black);
  color: var(--champagne);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.note-info:hover::after,
.note-info:focus::after {
  opacity: 1;
  visibility: visible;
}

.note-info:hover,
.note-info:focus {
  background: #a8803f;
  color: #fff;
  outline: none;
}

/* HouseOfRewards */
.acc-hor { margin-bottom: 22px; }
.acc-hor-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.acc-hor-points { margin: 0 0 4px; font-size: 18px; }
.acc-hor-points strong { font-size: 32px; font-weight: 500; }
.acc-hor .btn { margin-top: 10px; }
.hor-check a { color: inherit; text-decoration: underline; }

/* Basket: free-delivery progress and add-ons */
.ship-card { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ship-msg { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.ship-bar { height: 10px; border-radius: 999px; background: var(--text); overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--gold); transition: width .35s ease; }
.ship-scale { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 12.5px; color: #6b6158; }
.ship-scale strong { color: var(--text); font-weight: 600; }
.upsell { margin: 0 0 24px; }
.upsell h3 { margin: 0 0 2px; font-size: 17px; font-weight: 600; font-family: inherit; }
.upsell-hint { margin: 0 0 12px; font-size: 13px; color: #6b6158; }
.upsell-hint:empty { display: none; }
.upsell-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.upsell-card { flex: 0 0 82%; max-width: 330px; scroll-snap-align: start; display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.upsell-row .upsell-card:only-child { flex-basis: 100%; max-width: none; }
.upsell-thumb { flex: 0 0 72px; width: 72px; height: 90px; border-radius: 8px; overflow: hidden; }
.upsell-thumb > * { width: 100%; height: 100%; }
.upsell-thumb img { object-fit: cover; }
.upsell-info { min-width: 0; }
.upsell-name { margin: 0; font-weight: 600; font-size: 15px; }
.upsell-price { margin: 2px 0 4px; font-weight: 600; font-size: 16px; }
.upsell-meta { margin: 0 0 10px; font-size: 13px; color: #6b6158; }
.upsell-add { display: inline-block; padding: 9px 20px; border: 1px solid var(--text); border-radius: 10px; background: transparent; color: inherit; font: inherit; font-weight: 500; cursor: pointer; }
.upsell-add:hover { background: var(--text); color: #fff; }
.upsell-then { margin: 8px 0 0; font-size: 12.5px; color: #6b6158; line-height: 1.4; }
.sum-row s { margin-right: 6px; color: var(--text-soft); font-weight: 400; }

/* HouseOfRewards header pill and join dialog */
.hor-pill { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.hor-pill[hidden] { display: none; }
.hor-pill:hover { transform: translateY(-1px); }
.hor-pill.is-join { color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 6px 16px rgba(201, 164, 99, .35); animation: hor-pulse 2.4s infinite; }
.hor-pill.is-member { color: var(--gold-deep); background: rgba(201, 164, 99, .12); border: 1px solid var(--line-gold); }
.hor-pill-short { display: none; }
@keyframes hor-pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(201, 164, 99, .35); } 50% { box-shadow: 0 6px 18px rgba(201, 164, 99, .45), 0 0 0 6px rgba(201, 164, 99, .15); } }
@media (prefers-reduced-motion: reduce) { .hor-pill.is-join { animation: none; } }
@media (max-width: 720px) {
  .hor-pill { padding: 6px 11px; font-size: 12px; margin-right: 2px; }
  .hor-pill.is-join .hor-pill-text { display: none; }
  .hor-pill.is-join .hor-pill-short { display: inline; }
  .hor-pill.is-member .hor-pill-text { display: none; }
}
.hor-panel { max-width: 460px; text-align: center; }
.hor-brand { margin: 0 0 16px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.hor-brand span { color: var(--gold-deep); }
.hor-panel h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.hor-sub { margin: 0 0 20px; color: var(--text-soft); }
.hor-benefits { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; }
.hor-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; }
.hor-benefits li span { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--gold-deep); background: rgba(201, 164, 99, .16); }
.hor-panel .field { text-align: left; }
.hor-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-soft); }
.hor-later { display: block; margin: 14px auto 0; }
.hor-tick { width: 56px; height: 56px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }

/* "Try me" tester on the hero bottle */
.tester { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border: 1px solid rgba(230, 204, 150, .55); border-radius: 999px; background: rgba(11, 9, 8, .55); color: var(--on-dark); font: inherit; cursor: pointer; transform: translate(14px, 18px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: tester-float 3.2s ease-in-out infinite; }
.tester[hidden] { display: none; }
.tester:hover { border-color: var(--gold-light); }
.tester-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.tester-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold-light); animation: tester-ping 1.8s ease-out infinite; }
.tester-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.tester-text strong { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: .02em; color: var(--gold-light); }
.tester-text small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-soft); }
@keyframes tester-float { 0%, 100% { transform: translate(14px, 18px); } 50% { transform: translate(14px, 10px); } }
@keyframes tester-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.tester-mist { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.tester-mist span { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 196, .95), rgba(230, 204, 150, 0)); opacity: 0; animation: tester-puff 1.1s ease-out forwards; }
@keyframes tester-puff { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 12% { opacity: .95; } 100% { transform: translate(var(--dx), var(--dy)) scale(2.4); opacity: 0; } }
.tester-card { position: absolute; z-index: 4; width: 300px; max-width: calc(100% - 24px); padding: 18px 20px 16px; border: 1px solid var(--line-gold); border-radius: 14px; background: rgba(22, 18, 15, .92); color: var(--on-dark); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.tester-card.show { opacity: 1; transform: none; }
.tester-card[hidden] { display: none; }
.tester-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--on-dark-soft); font-size: 20px; cursor: pointer; }
.tester-eyebrow { margin: 0 0 2px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.tester-name { margin: 0 0 10px; font-family: var(--font-display); font-size: 28px; line-height: 1.1; color: var(--gold-light); }
.tester-notes { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; }
.tester-notes li { display: flex; gap: 10px; padding: 3px 0; }
.tester-notes span { flex: 0 0 46px; color: var(--on-dark-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.tester-plain { margin: 0 0 14px; font-size: 14px; }
.tester-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tester-actions .btn { padding: 10px 16px; font-size: 11px; }
.tester-actions .link-btn { color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) { .tester, .tester-dot::after { animation: none; } }

/* Coming soon: until "Website is live" is ticked in admin, only the header and hero show,
   and links/buttons (apart from the "Try me" tester) go nowhere. main.js removes the class when live. */
body.coming-soon main > :not(.hero),
body.coming-soon .site-footer,
body.coming-soon .skip-link { display: none !important; }
body.coming-soon [data-tester-pick] { display: none; }
