/* ============================================================
   Indulge Luxury Chocolates — "The Chocolate Box"
   Dark cacao lid · ivory interior · champagne gold foil
   Display: Fraunces  ·  Body: Instrument Sans
   ============================================================ */

:root {
  --ink: #201118;            /* dark cacao-plum: header, hero, footer */
  --ink-soft: #2c1a24;
  --plum: #4b1f62;           /* brand purple, used sparingly */
  --ivory: #f7f1e6;          /* interior sections */
  --ivory-deep: #efe6d6;
  --card: #fdfaf3;
  --espresso: #2b1b24;       /* text on ivory */
  --espresso-soft: #6b5a63;
  --cream-on-dark: #f3ead9;
  --muted-on-dark: #c9b8ac;
  --gold: #c39a55;           /* champagne foil */
  --gold-bright: #e9d3a3;
  --line-dark: rgba(233, 211, 163, 0.18);
  --line-light: rgba(75, 31, 98, 0.14);
  --radius: 4px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0325rem;
  line-height: 1.65;
  background: var(--ivory);
  color: var(--espresso);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }

.container { width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto; }
.section { padding: 6rem 0; }

/* ---------- small caps utility ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--plum);
  margin: 0 0 1.1rem;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream-on-dark);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}
.brand-mark { display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-on-dark);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.desktop-nav a:hover { color: var(--gold-bright); border-color: var(--gold); }
.cart-pill {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: transparent;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-pill:hover { background: var(--gold); color: var(--ink); }
.cart-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 1.5em;
  height: 1.5em;
  margin-left: 0.45em;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.85em;
}
.cart-pill:hover span { background: var(--ink); color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--ink); position: relative; overflow: hidden; }
.btn-primary:hover { background: var(--gold-bright); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    left: -60%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
  }
  .btn-primary:hover:after { left: 130%; }
}
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-secondary { background: transparent; border-color: var(--gold); color: var(--gold-bright); }
.btn-secondary:hover { background: rgba(233, 211, 163, 0.08); }
.on-light .btn-secondary, .product-card .btn {
  border: 1px solid var(--plum);
  color: var(--plum);
  background: transparent;
}
.on-light .btn-secondary:hover, .product-card .btn:hover { background: var(--plum); color: var(--ivory); }
.btn-block { width: 100%; }

/* ---------- hero (the lid) ---------- */
.hero {
  background: var(--ink);
  color: var(--cream-on-dark);
  padding: 7rem 0 7.5rem;
  position: relative;
  overflow: hidden;
}
.hero:after {
  /* faint plum bloom, like light on a lacquered lid */
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(75, 31, 98, 0.5), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  position: relative;
  white-space: nowrap;
}
/* the signature: a hand-painted gold stroke beneath the key word */
.hero h1 em .stroke {
  position: absolute;
  left: -2%;
  right: -3%;
  bottom: -0.16em;
  height: 0.34em;
  pointer-events: none;
}
.lead {
  font-size: 1.14rem;
  color: var(--muted-on-dark);
  max-width: 54ch;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

/* maker's note — ivory card, double gold frame, wax seal */
.maker-note {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  background: linear-gradient(170deg, #fdfaf3, #f3ead9);
  color: var(--espresso);
  border-radius: var(--radius);
  padding: 3rem 2.6rem 2.4rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.maker-note:before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}
.maker-note:after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(195, 154, 85, 0.35);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}
.maker-note .sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(233, 211, 163, 0.35) 45%, rgba(233, 211, 163, 0.1) 52%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
.maker-note__inner { position: relative; z-index: 2; }
.maker-note .eyebrow { color: var(--plum); margin-bottom: 1.3rem; }
.maker-note blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.42;
  font-weight: 400;
}
.maker-note blockquote em { font-style: italic; color: var(--plum); }
.maker-note__rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1rem;
  position: relative;
}
.maker-note__rule:after {
  content: "\25c6";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--gold);
  font-size: 0.4rem;
}
.maker-note .signature {
  font-family: var(--serif);
  font-style: italic;
  color: var(--espresso-soft);
  font-size: 1.02rem;
}
.maker-note .seal {
  position: absolute;
  top: -20px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--gold-bright);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  border: 1px solid var(--gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 0 0 3px rgba(233, 211, 163, 0.25);
  z-index: 3;
}
@media (prefers-reduced-motion: no-preference) {
  .maker-note { animation: note-float 7s ease-in-out infinite; }
  .maker-note .sheen { animation: note-sheen 7s ease-in-out infinite; animation-delay: 1.5s; }
  @keyframes note-float {
    0%, 100% { transform: translateY(0) rotate(0.4deg); }
    50% { transform: translateY(-9px) rotate(-0.4deg); }
  }
  @keyframes note-sheen {
    0%, 55% { transform: translateX(-110%); }
    78%, 100% { transform: translateX(110%); }
  }
}

/* ---------- hallmarks marquee ---------- */
.hallmarks {
  background: var(--ink);
  color: var(--muted-on-dark);
  border-top: 1px solid var(--line-dark);
  padding: 1.3rem 0;
  overflow: hidden;
}
.hallmarks .track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.hallmarks .seg {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
}
.hallmarks .dot { color: var(--gold); font-size: 0.55rem; font-style: normal; margin: 0 1.4rem; }
@media (prefers-reduced-motion: no-preference) {
  .hallmarks .track { animation: marquee 40s linear infinite; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}

/* ---------- section headings ---------- */
.section-heading { margin-bottom: 3rem; }
.section-heading.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
h2.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.8rem;
}
h2.display .swash {
  display: block;
  width: 96px;
  height: 10px;
  margin-top: 0.65rem;
}
.section-heading p { color: var(--espresso-soft); max-width: 58ch; margin: 0; }

/* ---------- scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0s);
  }
  body.js [data-reveal].is-revealed { opacity: 1; transform: none; }
}

/* ---------- gallery (act two of the box) ---------- */
.gallery-section {
  background: var(--ink);
  color: var(--cream-on-dark);
  position: relative;
  overflow: hidden;
}
.gallery-section:before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 45%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(75, 31, 98, 0.45), transparent 65%);
  pointer-events: none;
}
.gallery-section .eyebrow { color: var(--gold); }
.gallery-section .section-heading p { color: var(--muted-on-dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.gallery-tile--slot1 { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
.gallery-tile--slot2 { grid-column: 2; grid-row: 1; }
.gallery-tile--slot3 { grid-column: 2; grid-row: 2; }
.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #3a1a4c, #241224);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem 1.6rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(32, 17, 24, 0.85));
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-tile:hover figcaption, .gallery-tile:focus-within figcaption { opacity: 1; transform: none; }
/* placeholder tiles (no image set yet) */
.gallery-tile--empty { display: grid; place-items: center; }
.gallery-tile--empty .mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  color: rgba(233, 211, 163, 0.4);
}
.gallery-tile--empty figcaption { opacity: 1; transform: none; color: var(--muted-on-dark); font-size: 0.9rem; }

/* ---------- collection / products ---------- */
.filter-card { min-width: 230px; }
.filter-card label, .field-label {
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--espresso-soft);
}
select, input, textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-light);
  color: var(--espresso);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
select:focus, input:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
  box-shadow: 0 18px 40px rgba(43, 27, 36, 0.14);
  transform: translateY(-3px);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ivory-deep);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
}
.product-card__body {
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .eyebrow { margin-bottom: 0.5rem; font-size: 0.64rem; }
.product-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.product-card__desc { color: var(--espresso-soft); font-size: 0.95rem; margin: 0 0 0.9rem; }
.product-card__meta-line {
  color: var(--espresso-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 1.2rem;
}
.product-card__foot {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.price { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.price--tbc { font-size: 0.98rem; font-style: italic; color: var(--espresso-soft); }
.product-card .btn:disabled, .on-light .btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  color: var(--plum);
}
.product-card .btn { padding: 0.7rem 1.2rem; font-size: 0.72rem; }

.see-more-wrap { display: flex; justify-content: center; margin-top: 2.6rem; }

/* ---------- story ---------- */
.story-section { background: var(--ivory-deep); }
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.two-col p { color: var(--espresso-soft); }
.two-col p.lede { color: var(--espresso); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; }
.content-card {
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2.2rem 2.2rem 2rem;
  position: relative;
}
.content-card:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  pointer-events: none;
}
.content-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; margin: 0 0 1.1rem; }
.feature-list { margin: 0; padding: 0; list-style: none; color: var(--espresso-soft); }
.feature-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-light); }
.feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- gifting ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.promo-card { position: relative; padding-top: 1.6rem; }
.promo-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--line-light);
}
.promo-card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 44px;
  background: var(--gold);
  transition: width 0.45s ease;
}
.promo-card:hover:after { width: 100%; }
.promo-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; margin: 0 0 0.7rem; }
.promo-card p:last-child { color: var(--espresso-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-light); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
}
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { color: var(--espresso-soft); margin: 0 0 1.4rem; max-width: 65ch; }

/* ---------- footer (the base of the box) ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding: 4rem 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.site-footer strong {
  display: block;
  color: var(--cream-on-dark);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}
.footer-col strong {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.footer-brand p { margin: 0 0 1rem; }
.footer-logo { height: 58px; width: auto; display: block; margin-bottom: 1.2rem; }
.footer-place {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.66rem;
  color: var(--gold);
}
.site-footer a:hover { color: var(--gold-bright); }
.footer-col a { display: block; padding: 0.25rem 0; }
.social-row { display: flex; gap: 0.9rem; margin-top: 1.1rem; }
.social-row a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  color: var(--muted-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ---------- cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32, 17, 24, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 29;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100vh;
  height: 100dvh;
  background: var(--ivory);
  color: var(--espresso);
  border-left: 3px solid var(--gold);
  z-index: 30;
  transform: translateX(104%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
body.drawer-open .cart-drawer { transform: translateX(0); }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.cart-drawer__header {
  padding: 1.4rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--ink);
  color: var(--cream-on-dark);
}
.cart-drawer__header .eyebrow { color: var(--gold); margin-bottom: 0.3rem; }
.cart-drawer__header h2 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: 0; }
.cart-drawer__body { padding: 1.5rem; overflow-y: auto; display: grid; gap: 1.2rem; align-content: start; }
.cart-items { display: grid; gap: 0.9rem; }
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--card);
}
.cart-item img { width: 68px; height: 68px; border-radius: 2px; object-fit: cover; }
.cart-item h4 { margin: 0 0 0.2rem; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.cart-item small, .cart-item p, .shipping-note { color: var(--espresso-soft); }
.cart-item p { margin: 0 0 0.2rem; font-size: 0.85rem; }
.qty-controls { display: inline-flex; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.qty-controls button { width: 32px; height: 32px; border: 0; background: transparent; color: var(--espresso); cursor: pointer; }
.qty-controls button:hover:not(:disabled) { background: var(--ivory-deep); }
.icon-button, .text-button { border: 0; background: transparent; color: var(--gold-bright); cursor: pointer; }
.icon-button { font-size: 1.9rem; line-height: 1; }
.cart-summary-box { border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--card); padding: 1.3rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.85rem; align-items: center; color: var(--espresso-soft); }
.summary-line strong { color: var(--espresso); font-weight: 600; }
.summary-line.total { padding-top: 0.9rem; border-top: 1px solid var(--line-light); font-size: 1.08rem; color: var(--espresso); }
.summary-line.total strong { font-family: var(--serif); font-size: 1.3rem; }
.shipping-note { font-size: 0.85rem; margin: 0.4rem 0 1rem; }
.cart-summary-box select { margin-bottom: 1.1rem; }

.hidden { display: none !important; }
.empty-state {
  padding: 2rem 1.5rem;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  color: var(--espresso-soft);
  text-align: center;
  background: var(--card);
}

/* ---------- status banners ---------- */
.status-section { padding: 2rem 0 0; }
.status-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: var(--card);
}
.status-banner strong { font-family: var(--serif); font-size: 1.1rem; }
.status-banner span { color: var(--espresso-soft); }

/* ---------- gentle entrance (hero only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > * {
    animation: rise 0.7s ease both;
  }
  .hero-grid > *:nth-child(2) { animation-delay: 0.15s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .maker-note { margin: 0 auto; }
  .product-grid, .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .desktop-nav { display: none; }
  .section { padding: 4rem 0; }
  .hero { padding: 4.5rem 0 5rem; }
  .product-grid, .promo-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-tile--slot1, .gallery-tile--slot2, .gallery-tile--slot3 { grid-column: auto; grid-row: auto; }
  .gallery-tile--slot1 { aspect-ratio: 4 / 3; }
  .section-heading.split { flex-direction: column; align-items: flex-start; }
  .filter-card { width: 100%; }
}

/* ---------- product detail modal ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32, 17, 24, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 39;
}
body.modal-open .product-modal, body.modal-open .modal-backdrop { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.product-modal__panel {
  position: relative;
  background: var(--ivory);
  color: var(--espresso);
  border-radius: var(--radius);
  width: min(880px, 100%);
  max-height: min(88vh, 88dvh);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.3s ease;
}
body.modal-open .product-modal__panel { transform: none; }
.product-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  z-index: 3;
  color: var(--plum);
  font-size: 2.1rem;
}
.product-modal__media {
  position: relative;
  background: var(--ivory-deep);
  cursor: zoom-in;
  min-height: 320px;
}
.product-modal__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-modal__media:after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(195, 154, 85, 0.45);
  border-radius: 2px;
  pointer-events: none;
}
.product-modal__zoom-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(32, 17, 24, 0.75);
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product-modal__media:hover .product-modal__zoom-hint { opacity: 1; }
.product-modal__body { padding: 2.4rem 2.4rem 2.2rem; }
.product-modal__body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
}
.product-modal__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1.1rem;
}
.product-modal__price .price { font-size: 1.55rem; }
.product-modal__meta {
  color: var(--espresso-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}
.product-modal__desc { color: var(--espresso-soft); margin: 0 0 1.4rem; }
.spec-list { margin: 0 0 1.8rem; border-top: 1px solid var(--line-light); }
.spec-list .spec { padding: 0.85rem 0; border-bottom: 1px solid var(--line-light); }
.spec-list dt {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--plum);
  margin: 0 0 0.3rem;
}
.spec-list dd { margin: 0; color: var(--espresso-soft); font-size: 0.95rem; }

/* "More info" text link on product cards */
.text-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--gold); border-color: var(--plum); }
.product-card__links { margin: 0 0 1.2rem; }
.product-card__media { cursor: zoom-in; }

/* ---------- media arrows (multi-image products) ---------- */
.media-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(32, 17, 24, 0.6);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  padding: 0 0 3px;
  cursor: pointer;
  z-index: 3;
  opacity: 0.85;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.media-arrow:hover { opacity: 1; background: var(--gold); color: var(--ink); }
.media-arrow--prev { left: 10px; }
.media-arrow--next { right: 10px; }
.media-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(32, 17, 24, 0.65);
  color: var(--gold-bright);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.55rem;
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(24, 12, 18, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
body.lightbox-open .lightbox { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(195, 154, 85, 0.35);
  outline-offset: 6px;
  border-radius: 2px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform: scale(0.97);
  transition: transform 0.3s ease;
}
body.lightbox-open .lightbox img { transform: none; }
.lightbox figcaption {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-bright);
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 2.6rem;
  color: var(--gold-bright);
  z-index: 2;
}
.gallery-tile:not(.gallery-tile--empty) { cursor: zoom-in; }

@media (max-width: 720px) {
  .product-modal { padding: 0.8rem; }
  .product-modal__panel { grid-template-columns: 1fr; }
  .product-modal__media { min-height: 0; aspect-ratio: 4 / 3; }
  .product-modal__media img { position: static; aspect-ratio: 4 / 3; }
  .product-modal__body { padding: 1.6rem 1.4rem 1.6rem; }
}
