/* =========================================================================
   Essence Lab — brand stylesheet
   Palette: Matte Obsidian #1C1C1E · Antique Gold #C5A059 / #D4AF37
            Studio White #F8F9FA · Terracotta #8B3A2B
   ========================================================================= */

:root {
  /* Core palette */
  --obsidian:      #1C1C1E;
  --gold:          #C5A059;
  --gold-bright:   #D4AF37;
  --white:         #F8F9FA;
  --terracotta:    #8B3A2B;

  /* Derived surfaces */
  --ink:           #131315;
  --surface:       #212124;
  --surface-2:     #2A2A2E;
  --line:          rgba(197, 160, 89, 0.22);
  --line-soft:     rgba(248, 249, 250, 0.10);
  --muted:         rgba(248, 249, 250, 0.62);
  --muted-2:       rgba(248, 249, 250, 0.42);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Jost", "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1280px;
  --radius:    2px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.55);

  --header-h: 76px;
}

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: var(--obsidian); }

/* --------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 820px; }
.container--mid    { max-width: 1040px; }

.section        { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt   { background: var(--ink); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------- typographic ui */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.eyebrow--center::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.lead {
  font-size: 1.075rem;
  color: var(--muted);
  max-width: 62ch;
}

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

.gold { color: var(--gold); }
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--obsidian);
  font-weight: 600;
}
.btn--gold:hover { background: var(--white); color: var(--obsidian); }

.btn--ghost { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--ghost:hover { background: var(--gold); color: var(--obsidian); }

.btn--light { background: var(--white); color: var(--obsidian); }
.btn--light:hover { background: var(--gold); }

.btn--outline { border-color: var(--line-soft); color: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--wa { background: #25D366; color: #08331a; font-weight: 600; }
.btn--wa:hover { background: #1eb355; }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.66rem; }
.btn--lg { padding: 18px 44px; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: gap .25s ease, border-color .25s ease;
}
.link-arrow:hover { gap: 18px; border-color: var(--gold); }

/* ------------------------------------------------------ announcement bar */

.announce {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.announce a { border-bottom: 1px solid currentColor; }

/* --------------------------------------------------------------- header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 28, 30, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--display);
  font-size: 1.42rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.logo__tag {
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .28s ease;
}
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--white);
  transition: border-color .2s ease, color .2s ease;
}
.icon-btn:hover { border-color: var(--line); color: var(--gold); }
.icon-btn svg { width: 19px; height: 19px; }

.cart-badge {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--obsidian);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.burger { display: none; }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--obsidian);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav a {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:hover { color: var(--gold); }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 45%, rgba(197, 160, 89, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(139, 58, 43, 0.16), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0;
}
.hero__title { margin-bottom: 24px; }
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__text { font-size: 1.1rem; color: var(--muted); max-width: 46ch; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta strong {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--gold);
  font-weight: 400;
}
.hero__meta span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual img { max-height: 62vh; width: auto; filter: drop-shadow(0 40px 70px rgba(0,0,0,.6)); }
.hero__glow {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 66%);
  filter: blur(38px);
  z-index: -1;
}

/* --------------------------------------------------------- trust strip */

.trust {
  border-block: 1px solid var(--line-soft);
  background: var(--ink);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--line-soft);
}
.trust__item:last-child { border-right: 0; }
.trust__item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.trust__item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.trust__item span { font-size: 0.75rem; color: var(--muted-2); }

/* -------------------------------------------------------- product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: var(--ink);
  overflow: hidden;
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 55%, var(--card-accent, rgba(197,160,89,.20)), transparent 70%);
  pointer-events: none;
}
.card__media img {
  max-height: 78%;
  width: auto;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
  position: relative;
  z-index: 1;
}
.card:hover .card__media img { transform: scale(1.06); }

.card__flags {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--obsidian);
  font-weight: 600;
}
.badge--dark  { background: rgba(28,28,30,.86); color: var(--gold); border: 1px solid var(--line); }
.badge--terra { background: var(--terracotta); color: var(--white); }
.badge--out   { background: rgba(28,28,30,.9); color: var(--muted); border: 1px solid var(--line-soft); }

.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card__family {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__name { font-family: var(--display); font-size: 1.55rem; margin: 0; }
.card__name a:hover { color: var(--gold); }
.card__inspired { font-size: 0.78rem; color: var(--muted-2); font-style: italic; }
.card__notes { font-size: 0.82rem; color: var(--muted); flex: 1; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.price { font-family: var(--display); font-size: 1.35rem; color: var(--white); }
.price small { font-size: 0.7rem; color: var(--muted-2); font-family: var(--sans); }
.price del { color: var(--muted-2); font-size: .85rem; margin-right: 6px; }

/* ---------------------------------------------------------------- stars */

.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star {
  width: 13px; height: 13px;
  background: var(--line-soft);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}
.star.is-full { background: var(--gold); }
.star.is-half { background: linear-gradient(90deg, var(--gold) 50%, var(--line-soft) 50%); }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted-2); }

/* ------------------------------------------------------- product detail */

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.pdp__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--ink);
  border: 1px solid var(--line-soft);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pdp__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 50% 52%, var(--card-accent, rgba(197,160,89,.20)), transparent 70%);
}
.pdp__media img { max-height: 76%; width: auto; position: relative; z-index: 1; }

.pdp__title { margin-bottom: 10px; }
.pdp__inspired {
  font-size: 0.85rem;
  color: var(--muted-2);
  font-style: italic;
  border-left: 2px solid var(--line);
  padding-left: 14px;
  margin-bottom: 22px;
}
.pdp__price {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold);
  margin: 6px 0 4px;
}

.variants { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.variant {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  text-align: center;
  min-width: 108px;
}
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant:hover { border-color: var(--line); }
.variant.is-selected { border-color: var(--gold); background: rgba(197,160,89,.08); }
.variant.is-out { opacity: .4; cursor: not-allowed; }
.variant__size { display: block; font-size: 0.92rem; font-weight: 500; }
.variant__price { display: block; font-size: 0.78rem; color: var(--gold); margin-top: 2px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button {
  width: 42px; height: 48px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.1rem;
  transition: background .2s ease, color .2s ease;
}
.qty button:hover { background: var(--surface-2); color: var(--gold); }
.qty input {
  width: 52px; height: 48px;
  background: transparent;
  border: 0;
  color: var(--white);
  text-align: center;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.buy-row .btn { flex: 1; min-width: 190px; }

/* scent pyramid */
.pyramid { display: grid; gap: 0; border: 1px solid var(--line-soft); }
.pyramid__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.pyramid__row:last-child { border-bottom: 0; }
.pyramid__label {
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.pyramid__notes { font-size: 0.92rem; color: var(--muted); }

/* performance meters */
.meter { margin-bottom: 16px; }
.meter__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.meter__track { height: 3px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.meter__fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }

/* accordion */
.acc { border-top: 1px solid var(--line-soft); }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color .2s ease;
}
.acc__btn:hover { color: var(--gold); }
.acc__btn::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .3s ease;
  flex: none;
}
.acc__item.is-open .acc__btn::after { transform: rotate(45deg); }
.acc__panel { display: none; padding-bottom: 22px; color: var(--muted); font-size: 0.92rem; }
.acc__item.is-open .acc__panel { display: block; }

/* ---------------------------------------------------------------- forms */

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.field .req { color: var(--terracotta); }

.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,160,89,.14);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { min-height: 130px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
.select option { background: var(--ink); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.help { font-size: 0.76rem; color: var(--muted-2); margin-top: 6px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  margin-bottom: 12px;
}
.check:hover { border-color: var(--line); }
.check.is-selected { border-color: var(--gold); background: rgba(197,160,89,.07); }
.check input { margin-top: 4px; accent-color: var(--gold); flex: none; }
.check strong { display: block; font-weight: 500; font-size: 0.92rem; }
.check span { font-size: 0.8rem; color: var(--muted-2); }

/* --------------------------------------------------------------- alerts */

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.alert--success { border-color: rgba(80,200,120,.4);  background: rgba(80,200,120,.09);  color: #86e0a5; }
.alert--error   { border-color: rgba(230,90,70,.45);  background: rgba(230,90,70,.09);   color: #ef9c8c; }
.alert--info    { border-color: var(--line);          background: rgba(197,160,89,.08);  color: var(--gold); }
.alert--warn    { border-color: rgba(212,175,55,.45); background: rgba(212,175,55,.09);  color: var(--gold-bright); }

.toast-wrap {
  position: fixed;
  top: 90px; right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.86rem;
  box-shadow: var(--shadow);
  animation: toast-in .35s ease both;
}
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } }

/* ----------------------------------------------------------------- cart */

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.cart-line__img {
  width: 96px; aspect-ratio: 4/5;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
}
.cart-line__img img { max-height: 80%; width: auto; }
.cart-line__name { font-family: var(--display); font-size: 1.2rem; }
.cart-line__meta { font-size: 0.78rem; color: var(--muted-2); }
.cart-line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.summary {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.summary h3 { font-size: 1.3rem; margin-bottom: 20px; }
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.summary__row--save { color: #86e0a5; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--white);
}

.coupon-form { display: flex; gap: 8px; margin: 18px 0; }
.coupon-form .input { flex: 1; padding: 11px 14px; font-size: 0.86rem; }

.progress-note {
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(197,160,89,.08);
  border: 1px solid var(--line);
  padding: 11px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.empty-state { text-align: center; padding: clamp(56px, 10vw, 110px) 20px; }
.empty-state svg { width: 56px; height: 56px; color: var(--line); margin: 0 auto 22px; }

/* ------------------------------------------------------------- checkout */

.step-bar { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2);
}
.step + .step::before { content: "—"; color: var(--line-soft); margin-right: 8px; }
.step.is-active { color: var(--gold); }

.bank-box {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 14px;
  font-size: 0.88rem;
}
.bank-box dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 0; }
.bank-box dt { color: var(--muted-2); font-size: 0.8rem; }
.bank-box dd { margin: 0; color: var(--white); }

/* --------------------------------------------------------- order status */

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-soft);
}
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px; top: 5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 1px solid var(--line-soft);
}
.timeline__item.is-done::before { background: var(--gold); border-color: var(--gold); }
.timeline__item strong { font-size: 0.9rem; font-weight: 500; }
.timeline__item span { display: block; font-size: 0.78rem; color: var(--muted-2); }

/* --------------------------------------------------------------- tables */

.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th {
  text-align: left;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.table td { padding: 15px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.02); }
.table-wrap { overflow-x: auto; }

.pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}
.pill--gold  { border-color: var(--gold); color: var(--gold); }
.pill--green { border-color: rgba(80,200,120,.45); color: #86e0a5; }
.pill--red   { border-color: rgba(230,90,70,.5); color: #ef9c8c; }
.pill--blue  { border-color: rgba(120,160,230,.45); color: #9db9ee; }

/* ------------------------------------------------------------ testimonials */

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote__body { font-family: var(--display); font-size: 1.18rem; line-height: 1.55; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.quote__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(197,160,89,.14);
  color: var(--gold);
  font-size: 0.9rem;
  font-family: var(--display);
  flex: none;
}
.quote__name { font-size: 0.85rem; }
.quote__loc { font-size: 0.74rem; color: var(--muted-2); }

/* ------------------------------------------------------------- newsletter */

.cta-band {
  position: relative;
  background: var(--ink);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(197,160,89,.14), transparent 70%);
}
.cta-band .container { position: relative; }

.subscribe { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.subscribe .input { flex: 1; }

/* ----------------------------------------------------------------- footer */

.footer { background: var(--ink); border-top: 1px solid var(--line-soft); padding: clamp(56px, 7vw, 88px) 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { font-size: 0.88rem; color: var(--muted); transition: color .2s ease; }
.footer a:hover { color: var(--gold); }
.footer__about { font-size: 0.88rem; color: var(--muted); max-width: 34ch; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(197,160,89,.08); }
.social svg { width: 17px; height: 17px; }

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* --------------------------------------------------------- float actions */

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #08331a;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }

/* ------------------------------------------------------------ page head */

.page-head {
  padding: clamp(48px, 7vw, 92px) 0 clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(197,160,89,.13), transparent 65%);
}
.page-head .container { position: relative; }

.breadcrumb { display: flex; gap: 8px; font-size: 0.72rem; color: var(--muted-2); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------------------------------------------------------- shop toolbar */

.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filters__group { margin-bottom: 30px; }
.filters__group h4 {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.filters ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.filters a { font-size: 0.88rem; color: var(--muted); }
.filters a:hover, .filters a.is-active { color: var(--gold); }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.toolbar__count { font-size: 0.82rem; color: var(--muted-2); }
.toolbar .select { width: auto; padding: 9px 40px 9px 14px; font-size: 0.82rem; }

/* ---------------------------------------------------------- bundle page */

.bundle-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.bundle-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  background: var(--ink);
  position: relative;
}
.bundle-slot.is-filled { border-style: solid; border-color: var(--gold); }
.bundle-slot img { max-height: 62%; width: auto; }
.bundle-slot__num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--line);
}
.bundle-slot__remove {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--obsidian);
  color: var(--muted);
  display: grid; place-items: center;
  font-size: 0.9rem;
  line-height: 1;
}
.bundle-slot__remove:hover { border-color: var(--terracotta); color: var(--terracotta); }

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 28px;
}
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.nowrap { white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__visual img { max-height: 40vh; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters__group { margin-bottom: 20px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: grid; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card__body { padding: 15px; gap: 7px; }
  .card__name { font-size: 1.2rem; }
  .card__notes { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line__img { width: 72px; }
  .cart-line__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .bundle-slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .subscribe { flex-direction: column; }
  .buy-row .btn { min-width: 100%; }
  .toast-wrap { left: 16px; right: 16px; max-width: none; }
  .pyramid__row { grid-template-columns: 1fr; gap: 6px; }
}

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

@media print {
  .header, .footer, .announce, .wa-float, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
