@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400;500;600&display=swap");

:root {
  --ink: #252525;
  --muted: #6b685f;
  --cream: #f5f1e9;
  --sand: #dfd4c2;
  --gold: #b28a52;
  --forest: #33433a;
  --white: #fff;
  --line: rgba(37, 37, 37, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { letter-spacing: .26em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.display {
  margin: 0;
  font: 500 clamp(40px, 6vw, 82px)/.95 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.02em;
}
.section-title {
  margin: 0 0 22px;
  font: 500 clamp(32px, 4.4vw, 58px)/1 "Cormorant Garamond", Georgia, serif;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 11px;
  transition: .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-light { border-color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }

.site-header {
  position: relative;
  z-index: 20;
  height: 95px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
}
.logo img { width: 148px; height: auto; }
.nav { display: flex; justify-content: center; gap: 28px; }
.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 3px;
  height: 1px;
  background: var(--ink);
  transition: right .2s;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.login { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.login:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.avatar {
  width: 23px; height: 23px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}
.cart { position: relative; font-size: 22px; line-height: 1; cursor: pointer; }
.cart:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.cart-count {
  position: absolute; top: -7px; right: -10px;
  display: grid; place-items: center; width: 17px; height: 17px;
  border-radius: 50%; background: var(--gold); color: #fff; font-size: 9px;
}
.menu-toggle { display: none; border: 0; background: none; padding: 8px; font-size: 24px; }

.hero {
  position: relative;
  min-height: calc(100vh - 95px);
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(16,16,14,.58), rgba(16,16,14,.15)), url("assets/hero.jpg") center/cover;
}
.hero-content { width: min(730px, 90%); padding: 100px 0; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .display { max-width: 700px; }
.hero p { margin: 28px 0 38px; font-size: 16px; }

.story { padding: 120px 0; background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; align-items: center; }
.story-copy p { max-width: 600px; color: #555147; font-weight: 300; }
.story-stamp {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font: 500 36px/1.05 "Cormorant Garamond", serif;
  text-align: center;
  padding: 60px;
}
.story-stamp::before { content: "FEZ  ·  MOROCCO  ·  SILK ROAD"; position: absolute; top: 12%; font: 500 9px/1 Montserrat, sans-serif; letter-spacing: .18em; }

.artist { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.artist-image { background: url("assets/workshop.jpg") 66% 22%/cover; }
.artist-copy { padding: 100px max(48px, 9vw); background: #d5b8aa; display: flex; flex-direction: column; justify-content: center; }
.artist-copy p { max-width: 480px; }
.script-name { margin-top: 38px; font: italic 36px/1 "Cormorant Garamond", serif; }

.free-cta {
  min-height: 630px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(22,28,24,.58), rgba(22,28,24,.58)), url("assets/artist.jpg") center 45%/cover;
}
.free-cta .inner { width: min(760px, calc(100% - 40px)); }
.free-cta p { margin: 24px auto 34px; max-width: 700px; }

.site-footer { background: #282d29; color: #eee; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 50px; }
.footer-logo { filter: invert(1); width: 150px; margin-bottom: 22px; }
.footer-title { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }
.footer-links { display: grid; gap: 9px; color: #c8cbc7; }
.newsletter { position: relative; display: flex; border-bottom: 1px solid #bbb; }
.newsletter input { width: 100%; border: 0; background: none; color: #fff; padding: 10px 0; outline: none; }
.newsletter button { border: 0; background: none; color: #fff; font-size: 20px; }
.newsletter .form-status { position: absolute; top: 100%; left: 0; margin-top: 6px; font-size: 11px; }
.copyright { margin-top: 55px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #aeb2ae; font-size: 11px; text-align: center; }

.page-hero { padding: 76px 0 64px; text-align: center; background: var(--cream); }
.page-hero p { margin: 14px auto 0; max-width: 700px; color: var(--muted); }
.shop-main { padding: 75px 0 110px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 55px 24px; }
.product-card { position: relative; }
.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f4f2ed;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.badge { position: absolute; z-index: 2; top: 0; left: 0; padding: 7px 12px; background: var(--forest); color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.quick-view {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  border: 0; padding: 12px; background: rgba(255,255,255,.94); color: var(--ink);
  text-transform: uppercase; letter-spacing: .12em; font-size: 10px;
  transform: translateY(100%); transition: transform .25s;
}
.product-card:hover .quick-view { transform: translateY(0); }
.product-info { padding-top: 17px; text-align: center; }
.product-name { display: block; min-height: 48px; font: 500 19px/1.25 "Cormorant Garamond", serif; }
.prices { margin: 7px 0 14px; font-size: 12px; }
.regular { color: #8c8a84; text-decoration: line-through; margin-right: 8px; }
.sale { color: var(--ink); font-weight: 600; }
.add-cart {
  width: 100%; border: 1px solid var(--ink); background: #fff; padding: 10px;
  text-transform: uppercase; letter-spacing: .13em; font-size: 10px; transition: .2s;
}
.add-cart:hover { background: var(--ink); color: #fff; }
.benefits { padding: 95px 0; background: var(--cream); }
.benefits h2 { text-align: center; margin-bottom: 56px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; text-align: center; }
.benefit-icon { font: 400 42px/1 "Cormorant Garamond", serif; color: var(--gold); margin-bottom: 18px; }
.benefit-grid h3 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.benefit-grid p { color: var(--muted); font-size: 12px; }

.product-page { padding: 75px 0 115px; }
.breadcrumbs { margin-bottom: 35px; color: var(--muted); font-size: 11px; }
.detail-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: start; }
.detail-image { aspect-ratio: 1; background: #f4f2ed; overflow: hidden; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy h1 { margin: 0 0 15px; font: 500 clamp(38px, 4.5vw, 60px)/1 "Cormorant Garamond", serif; }
.detail-prices { margin: 20px 0; font-size: 16px; }
.detail-prices .sale { font-size: 22px; }
.unit-price { color: var(--muted); font-size: 12px; }
.qty-label { display: block; margin: 28px 0 7px; font-size: 12px; }
.qty { width: 85px; padding: 11px; border: 1px solid var(--line); }
.detail-actions { display: grid; gap: 10px; margin: 20px 0 32px; }
.detail-actions .btn { width: 100%; }
.product-description { color: #555; }
.product-description .desc-lead { font: 400 20px/1.45 "Cormorant Garamond", serif; color: var(--ink); margin: 0 0 18px; }
.product-description .desc-heading {
  margin: 28px 0 12px;
  font: 500 13px/1.2 Montserrat, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-description .desc-list {
  margin: 0 0 8px;
  padding-left: 1.15em;
  display: grid;
  gap: 8px;
}
.product-description .desc-list li { line-height: 1.45; }
.scent-grid { display: grid; gap: 18px; margin: 8px 0 4px; }
.scent-card {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}
.scent-card h4 {
  margin: 0 0 8px;
  font: 500 22px/1.2 "Cormorant Garamond", serif;
  color: var(--ink);
}
.scent-card p { margin: 0 0 12px; }
.scent-card .notes { margin: 0; padding: 12px 0 0; border-bottom: 0; }
.notes { padding: 20px 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notes p { margin: 5px 0; }
.accordion details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.accordion summary { cursor: pointer; list-style: none; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.accordion summary::after { content: "+"; float: right; font-size: 18px; }
.accordion details[open] summary::after { content: "−"; }

.sample-intro {
  min-height: 600px;
  color: #fff;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(22,22,20,.68), rgba(22,22,20,.2)), url("assets/free-sample.jpg") center/cover;
}
.sample-intro .content { max-width: 700px; padding: 90px 0; }
.plans { padding: 100px 0; background: var(--cream); }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 850px; margin: 50px auto 0; }
.plan { background: #fff; padding: 50px 44px; text-align: center; border: 1px solid #e0dacd; }
.plan h3 { font: 500 30px/1.1 "Cormorant Garamond", serif; }
.plan p { color: var(--muted); }
.plan-price { margin: 18px 0 26px; font: 500 26px/1 "Cormorant Garamond", serif; }
.plan-price span { font: 400 13px/1 Montserrat, sans-serif; color: var(--muted); }
.sample-request { padding: 100px 0; background: var(--forest); color: #fff; }
.sample-form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.sample-form-copy p { max-width: 440px; color: #dce2dd; }
.sample-form { padding: 48px; background: var(--cream); color: var(--ink); }
.sample-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.sample-form .field input,
.sample-form .field textarea,
.sample-form .field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9e9a91;
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  outline: none;
}
.sample-form .field input::placeholder { color: #9e9a91; font-size: 12px; }
.sample-form .field textarea { min-height: 90px; resize: vertical; }
@media (max-width: 640px) {
  .sample-form .field-row { grid-template-columns: 1fr; }
}
.testimonials { padding: 100px 0; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quote { background: #fff; padding: 48px 55px 55px; min-height: 230px; }
.quote-photo {
  width: 72px;
  height: 72px;
  margin: 0 0 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #ece8e1;
}
.quote blockquote { margin: 0 0 25px; font: 400 24px/1.35 "Cormorant Garamond", serif; }
.quote cite { font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }

.faq-page { padding: 90px 0 110px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.faq-list details { padding: 25px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font: 500 23px/1.25 "Cormorant Garamond", serif; }
.faq-list summary::after { content: "+"; float: right; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); }
.contact-form { padding: 45px; background: var(--cream); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea { border: 0; border-bottom: 1px solid #9e9a91; background: transparent; padding: 10px 0; outline: none; }
.field textarea { min-height: 100px; resize: vertical; }
.form-status { min-height: 1.7em; margin: 14px 0 0; color: var(--forest); font-size: 12px; }
.form-status.error { color: #8b2f2f; }

.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 24px; background: rgba(0,0,0,.55); }
.modal.open { display: grid; }
.modal-card { position: relative; width: min(760px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.25); }
.modal-card img { width: 100%; height: 100%; object-fit: cover; background: #f4f2ed; }
.modal-copy { padding: 48px 38px; }
.modal-copy h2 { font: 500 34px/1.05 "Cormorant Garamond", serif; }
.modal-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 26px; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; padding: 14px 20px; color: #fff; background: var(--forest); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-modal[hidden] { display: none !important; }
.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 32, 28, .55);
  cursor: pointer;
}
.auth-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 36px 32px 30px;
  background: #fffcf7;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.auth-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.auth-panel h2 {
  margin: 8px 0 10px;
  font: 500 34px/1.05 "Cormorant Garamond", serif;
}
.auth-lead {
  margin: 0 0 22px;
  color: var(--muted);
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.4 "Cormorant Garamond", Georgia, serif;
  text-transform: none;
  letter-spacing: 0;
}
.auth-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink);
  grid-template-columns: none;
}
.auth-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
}
.auth-form .btn { width: 100%; margin-top: 4px; }
.auth-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 14px;
  color: var(--forest);
}
.auth-status.error { color: #8a3b2d; }
.auth-switch {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.auth-switch button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--forest);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.auth-account-actions {
  display: grid;
  gap: 10px;
}
.auth-section {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.auth-section h3 {
  margin: 0 0 10px;
  font: 500 12px/1.2 Montserrat, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-prefs p {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.auth-prefs strong {
  color: var(--ink);
  font: 500 11px/1 Montserrat, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-history {
  display: grid;
  gap: 12px;
  max-height: 220px;
  overflow: auto;
}
.auth-history-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  font-size: 14px;
}
.auth-history-item p,
.auth-history-item time {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-history-item span {
  white-space: nowrap;
  color: var(--forest);
  font-size: 12px;
}
.auth-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.auth-secondary {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 500 12px/1 Montserrat, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-secondary:hover { background: #f3eee4; }
body.auth-open { overflow: hidden; }

.cart-dialog { position: fixed; inset: 0; z-index: 70; }
.cart-dialog[hidden] { display: none; }
.cart-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.52); }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: 70px 42px 42px;
  background: var(--cream);
  box-shadow: -18px 0 60px rgba(0,0,0,.18);
}
.cart-panel h2 { margin: 8px 0 32px; font: 500 42px/1 "Cormorant Garamond", serif; }
.cart-panel-close { position: absolute; top: 20px; right: 24px; border: 0; background: none; font-size: 30px; }
.cart-items { display: grid; gap: 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 76px; height: 76px; object-fit: cover; background: var(--white); }
.cart-item h3 { margin: 0; font: 500 19px/1.2 "Cormorant Garamond", serif; }
.cart-item p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.cart-item strong { font-size: 12px; }
.cart-message { min-height: 24px; color: var(--muted); font-size: 12px; }
.cart-checkout { width: 100%; margin-top: 12px; }
.cart-checkout:disabled { cursor: not-allowed; opacity: .45; }

.origins-hero {
  padding: 88px 0 36px;
  background:
    radial-gradient(circle at 12% 20%, rgba(178, 138, 82, .18), transparent 42%),
    linear-gradient(180deg, var(--cream), #fff 70%);
}
.origins-hero-copy { max-width: 640px; }
.origins-hero-copy p { margin: 0; color: var(--muted); max-width: 520px; }
.origins-map-section { padding: 20px 0 90px; }
.spice-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d7e2d8;
}
.spice-map-art {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  filter: grayscale(1) sepia(.28) saturate(.85) brightness(1.05) contrast(.92);
}
.spice-map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.spice-marker {
  position: absolute;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  animation: spice-marker-in .6s ease both;
  animation-delay: var(--delay, 0ms);
}
.spice-marker-dot {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
  transition: transform .2s ease, background .2s ease;
}
.spice-marker-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(51, 67, 58, .45);
  animation: spice-pulse 2.4s ease-out infinite;
}
.spice-marker-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(255,252,247,.9);
  padding: 2px 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.spice-marker:hover .spice-marker-dot,
.spice-marker.active .spice-marker-dot,
.spice-marker:focus-visible .spice-marker-dot {
  background: var(--gold);
  transform: scale(1.15);
}
.spice-marker.active { z-index: 6; }
.spice-marker:hover .spice-marker-label,
.spice-marker.active .spice-marker-label,
.spice-marker:focus-visible .spice-marker-label { opacity: 1; }
.spice-popup {
  position: absolute;
  z-index: 5;
  width: min(360px, calc(100% - 24px));
  padding: 28px 28px 30px;
  background: rgba(255, 252, 247, .97);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(37, 37, 37, .16);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.spice-popup.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.spice-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
}
.spice-popup h2 {
  margin: 8px 0 12px;
  font: 500 34px/1 "Cormorant Garamond", serif;
}
.spice-popup h3 {
  margin: 18px 0 10px;
  font: 500 12px/1.2 Montserrat, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.spice-blurb { margin: 0; color: var(--muted); }
.spice-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  max-height: 168px;
  overflow-y: auto;
  padding-right: 2px;
}
.spice-chips[data-count="1"] { grid-template-columns: 88px; }
.spice-chip {
  margin: 0;
  text-align: center;
}
.spice-chip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3eee4;
}
.spice-chip figcaption {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .04em;
}
.spice-candle {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.spice-candle .btn { width: 100%; margin-top: 14px; }
@keyframes spice-pulse {
  0% { transform: scale(.55); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes spice-marker-in {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 170px 1fr auto; }
  .nav { gap: 20px; }
  .header-actions .login { display: flex; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { gap: 50px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1180px); }
  .site-header { height: 74px; }
  .header-inner { display: flex; justify-content: space-between; }
  .logo img { width: 125px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 74px; display: none;
    padding: 28px 24px; background: #fff; border-top: 1px solid var(--line);
    flex-direction: column; align-items: center; gap: 12px;
  }
  .nav.open { display: flex; }
  .header-actions { margin-left: auto; margin-right: 8px; }
  .hero { min-height: 720px; background-position: 62% center; }
  .hero-content { padding: 90px 0; }
  .story { padding: 80px 0; }
  .story-grid, .artist, .detail-grid, .faq-layout, .sample-form-wrap { grid-template-columns: 1fr; }
  .story-stamp { width: min(420px, 100%); justify-self: center; }
  .artist-image { min-height: 520px; }
  .artist-copy { padding: 75px 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 14px; }
  .product-name { font-size: 17px; }
  .quick-view { transform: none; }
  .plans-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .sample-intro { min-height: 650px; }
  .faq-layout { gap: 60px; }
  .spice-map { min-height: 0; }
  .spice-marker-label { display: none; }
  .origins-hero { padding: 64px 0 24px; }
  .sample-form-wrap { gap: 45px; }

  /* Bottom sheet: keep map visible; scroll full popup content on small screens */
  .spice-popup,
  .spice-popup.open {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    top: auto;
    width: auto;
    max-width: none;
    max-height: min(48vh, 380px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 80;
    padding: 18px 16px 20px;
    box-shadow: 0 12px 40px rgba(37, 37, 37, .22);
  }
  .spice-popup h2 {
    margin: 6px 0 8px;
    font-size: 26px;
  }
  .spice-popup h3 {
    margin: 14px 0 8px;
  }
  .spice-chips {
    max-height: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .spice-chip figcaption { font-size: 10px; }
  .spice-candle {
    margin-top: 14px;
    padding-top: 12px;
  }
  .spice-candle .btn { margin-top: 10px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .footer-grid, .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; }
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow: auto; }
  .modal-card img { max-height: 310px; }
  .page-hero { padding: 58px 0 50px; }
  .contact-form, .quote, .plan, .sample-form { padding: 34px 24px; }
  .cart-panel { padding: 64px 24px 28px; }
}
