:root {
  --bg: #faf6f1;
  --bg-soft: #f3ebe2;
  --ink: #3b2f2a;
  --muted: #6b5c53;      /* darker so body text is easy to read */
  --accent: #b3474f;      /* rose red, from the candles */
  --line: #e6dcd1;
  --card: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h1 em { color: var(--accent); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; }
h3 { font-size: 1.35rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem clamp(16px, 4vw, 48px);
  background: rgba(250, 246, 241, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; white-space: nowrap; flex-shrink: 0; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .01em; }
.brand img { border-radius: 50%; width: 56px; height: 56px; clip-path: circle(46.5% at 50% 50%); /* trims the dark edge baked into logo.png */ }
nav { display: flex; gap: clamp(.8rem, 2.5vw, 2rem); }
nav a { text-decoration: none; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
nav a:hover { color: var(--ink); }

/* Sections */
section { padding: clamp(56px, 9vw, 110px) clamp(16px, 4vw, 48px); }
.hero { text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow { letter-spacing: .25em; text-transform: uppercase; font-size: .78rem; color: var(--muted); margin: 0 0 1rem; }
.lede { color: var(--muted); font-size: 1.15rem; font-weight: 400; max-width: 520px; margin: 0 auto 2rem; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: var(--bg); }
.btn-disabled { background: var(--bg-soft); color: var(--muted); border-color: var(--line); cursor: default; }
.btn-disabled:hover { background: var(--bg-soft); border-color: var(--line); }

/* Shop grid */
.shop { background: var(--bg-soft); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  max-width: 1200px; margin: 2.5rem auto 0;
}
.card { background: var(--card); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; }
.card-body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.card-top h3 { margin: 0; font-size: 1.3rem; }
.price { font-weight: 400; }
.desc { margin: 0 0 .8rem; color: var(--muted); font-size: 1rem; font-weight: 400; flex: 1; }
.card .btn { align-self: flex-start; padding: .6rem 1.3rem; font-size: .75rem; }

/* About / info */
.about { max-width: 640px; margin: 0 auto; text-align: center; }
.about p { color: var(--muted); font-size: 1.15rem; font-weight: 400; line-height: 1.75; text-wrap: pretty; }
.info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.info p { color: var(--muted); font-size: 1.05rem; font-weight: 400; line-height: 1.7; }
.contact { text-align: center; background: var(--bg-soft); }
.contact p { color: var(--muted); font-size: 1.05rem; font-weight: 400; }

/* Footer */
.site-footer { text-align: center; padding: 2.5rem 16px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer p { margin: .2rem 0; }
.small { font-size: .85rem; }

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: .4rem; }
  .brand { font-size: 1.45rem; gap: .55rem; }
  .brand img { width: 48px; height: 48px; }
  nav a { font-size: .75rem; letter-spacing: .08em; }
}

/* Bag link in header */
.bag-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink) !important; }
.bag-count {
  display: inline-grid; place-items: center;
  min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem;
  border-radius: 999px; background: var(--accent); color: #fff;
  font-size: .7rem; letter-spacing: 0;
}
.bag-count[hidden] { display: none; }

/* Contact list */
.help-list { list-style: none; padding: 0; margin: 0 auto 1.2rem; color: var(--ink); }
.help-list li { padding: .2rem 0; }
.help-list li::before { content: "·"; color: var(--accent); margin-right: .5rem; font-weight: 500; }

/* Checkout */
.checkout { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); min-height: 60vh; }
.checkout h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.bag-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bag-layout[hidden], .empty[hidden] { display: none; }
.bag-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; }
.bag-info h3 { margin: 0; font-size: 1.3rem; }
.bag-info .note { margin: 0 0 .6rem; }
.line-total { font-weight: 400; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 2.1rem; height: 2.1rem; border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty button:hover:not(:disabled) { background: var(--bg-soft); }
.qty button:disabled { color: var(--line); cursor: default; }
.qty span { min-width: 1.6rem; text-align: center; }
.remove {
  display: block; margin-top: .6rem; padding: .35rem 0;
  border: 0; background: none; font: inherit;
  font-size: .95rem; font-weight: 400; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.remove:hover { color: var(--accent); }

.summary { background: var(--card); border-radius: 6px; padding: 1.6rem; position: sticky; top: 90px; }
.summary h2 { text-align: left; font-size: 1.6rem; }
.summary .row { display: flex; justify-content: space-between; padding: .35rem 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .8rem; font-weight: 400; font-size: 1.1rem; }
.note { color: var(--muted); font-size: .85rem; margin: .2rem 0; }
.note[hidden], .error[hidden] { display: none; }
.btn-block { display: block; width: 100%; margin: 1.2rem 0 .6rem; cursor: pointer; font-family: var(--sans); }
.btn-block:disabled { opacity: .6; cursor: wait; }
.error { color: var(--accent); font-size: .88rem; }
.secure { font-size: .78rem; }
.continue { display: inline-block; margin-top: 1rem; font-size: .88rem; color: var(--muted); }

/* Thank-you page */
.thanks { min-height: 60vh; padding: clamp(48px, 8vw, 96px) 16px; }
.thanks-logo { margin: 0 auto 1.5rem; border-radius: 50%; }
.site-footer a { color: var(--muted); }

@media (max-width: 800px) {
  .bag-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 480px) {
  .bag-item { grid-template-columns: 72px 1fr; }
  .bag-item img { width: 72px; height: 72px; }
  .line-total { grid-column: 2; }
}

/* Card quantity + add to bag */
.card-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.card-actions .btn { flex: 1; text-align: center; padding: .7rem 1.1rem; font-size: .72rem; cursor: pointer; font-family: var(--sans); }
.card .qty button { width: 1.9rem; height: 1.9rem; }
.buy-now, .continue-shopping {
  display: block; width: 100%; margin-top: .7rem; padding: .75rem 1rem;
  text-align: center; text-decoration: none;
  font-size: .85rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.buy-now:hover, .continue-shopping:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* "Added to bag" popup */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 50;
  transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: .9rem;
  width: max-content; max-width: calc(100% - 32px);
  padding: .8rem .8rem .8rem 1.2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(59, 47, 42, .15);
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }
.toast .btn { padding: .55rem 1.1rem; font-size: .7rem; white-space: nowrap; }
.toast-close { border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; padding: 0 .3rem; line-height: 1; }

/* Checkout steps */
.steps { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: s; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .45rem; border-radius: 50%; border: 1px solid var(--line); font-size: .7rem; letter-spacing: 0; }
.steps li.active { color: var(--ink); }
.steps li.active::before { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Embedded Stripe form */
.payment[hidden] { display: none; }
.back { border: 0; background: none; padding: 0; font: inherit; font-size: .88rem; cursor: pointer; margin: 0 0 1.2rem; }
.stripe-box { background: #fff; border-radius: 6px; padding: clamp(8px, 2vw, 24px); min-height: 400px; }
.loading { padding: 4rem 0; }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .steps { gap: .8rem; font-size: .68rem; }
  .toast { border-radius: 16px; flex-wrap: wrap; justify-content: center; text-align: center; }
}
.summary .continue-shopping { margin-top: 1.1rem; }
.info strong { color: var(--ink); font-weight: 500; }

/* Contact us page */
nav a[aria-current="page"] { color: var(--ink); }
.contact-page { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 48px); }
.contact-intro { text-align: center; margin-bottom: 2.5rem; }
.contact-intro h1 em, .sent h2 em { color: var(--accent); }
.contact-intro .lede { margin-bottom: 0; }
.contact-form { background: var(--card); border-radius: 6px; padding: clamp(20px, 4vw, 40px); }
.contact-form[hidden], .sent[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.field { display: block; margin-bottom: 1.2rem; }
.field > span { display: block; margin-bottom: .4rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  font: inherit; font-weight: 300; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.turnstile { margin-bottom: .5rem; }
.form-status { margin: .3rem 0 .6rem; text-align: center; font-size: .9rem; }
.form-status[hidden] { display: none; }
.sent { text-align: center; background: var(--card); border-radius: 6px; padding: clamp(32px, 6vw, 64px) 24px; }
.contact-page .btn-block { margin-top: .4rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.checkout .payment { padding: 0; }


/* Small "each" after a price, for photos showing more than one candle */
.price .each { font-size: .78rem; font-weight: 300; color: var(--muted); letter-spacing: .03em; }

/* ---------- Phone layout ---------- */
.hero-photo, .label-phone { display: none; }
@media (max-width: 600px) {
  /* Opening screen: just the Hearthside Tray photo and "Shop all" */
  .hero { padding: 16px 16px 28px; }
  .hero-photo { display: block; margin: 0 0 1.1rem; }
  .hero-photo img {
    display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 70svh; object-fit: cover;
    border-radius: 16px; box-shadow: 0 14px 34px rgba(59, 47, 42, .18);
  }
  .label-wide { display: none; }
  .label-phone { display: block; }
  .hero-btn { width: 100%; padding: 1.05rem; font-size: .92rem; letter-spacing: .24em; text-align: center; }
  .home-shop { display: none; }   /* on phones the candles live on shop.html */

  /* Shop page: 2 across, with buttons on each card. Tap a photo for details. */
  .shop { padding-top: 28px; padding-left: 12px; padding-right: 12px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.2rem; }
  .card { border-radius: 10px; }
  .card img { cursor: pointer; }
  .card-body { padding: .7rem .7rem .8rem; gap: .25rem; }
  .card-top { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .card-top h3 { font-size: 1.05rem; line-height: 1.2; }
  .price { font-size: .95rem; }
  .card .desc, .card .qty { display: none; }
  .card-actions { margin-top: auto; padding-top: .4rem; }
  .card-actions .btn { padding: .6rem .4rem; font-size: .66rem; letter-spacing: .1em; }
  .card .buy-now { margin-top: .45rem; padding: .55rem .4rem; font-size: .66rem; letter-spacing: .1em; }
}

/* Phone quick view */
.quick, dialog.quick:modal {
  border: 0; outline: none; padding: 0; margin: auto 0 0; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92vh;
  border-radius: 18px 18px 0 0; background: var(--card); color: var(--ink);
  box-shadow: 0 -10px 40px rgba(59, 47, 42, .25); overflow-y: auto;
}
.quick[open] { animation: quick-up .25s ease-out; }
@keyframes quick-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.quick::backdrop { background: rgba(40, 30, 26, .45); }
.quick img { border-radius: 18px 18px 0 0; display: block; width: 100%; height: auto; max-height: 46vh; object-fit: cover; aspect-ratio: 3 / 4; }
.quick-close {
  position: absolute; top: 10px; right: 10px; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .9); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.quick-info { padding: 1rem 1.2rem 1.6rem; }
.quick-info h3 { margin: 0 0 .2rem; font-size: 1.5rem; }
.quick-price { margin: 0 0 .5rem; font-size: 1.1rem; }
.quick-desc { margin: 0 0 1rem; color: var(--muted); }
.quick-actions { display: flex; gap: .6rem; align-items: center; }
.quick-actions .btn { flex: 1; text-align: center; cursor: pointer; font-family: var(--sans); }
.quick-actions[hidden], .quick .buy-now[hidden], .quick .btn-disabled[hidden] { display: none; }

/* Large-order discount */
.summary .discount { color: var(--accent); }
.discount-row[hidden], #discount-row[hidden] { display: none; }
.large-note { color: var(--accent); }

/* Typeable quantity box (16px font so iPhones don't zoom in when tapped) */
.qty-input {
  width: 2.8rem; padding: .2rem 0; border: 0; background: transparent;
  font: inherit; font-size: 16px; text-align: center; color: var(--ink);
  border-radius: 6px; cursor: text;
}
.qty-input:hover { background: var(--bg-soft); }
.qty-input:focus { outline: 1px solid var(--line); background: #fff; }

/* Product photo frame */
.card-media { overflow: hidden; position: relative; }
.card-media img { display: block; }
.card .qty-input { width: 2.2rem; }
.card-actions .btn { white-space: nowrap; }

/* ---------- Section titles: label, accent word, little divider ---------- */
.section-head { text-align: center; margin: 0 auto 2.6rem; }
.section-head .eyebrow { margin-bottom: .7rem; color: var(--accent); }
.section-head h2, .about-text h2 { font-size: clamp(2.2rem, 5vw, 3.3rem); margin: 0; line-height: 1.1; }
h2 em { color: var(--accent); font-style: italic; }
.ornament {
  position: relative; display: block; width: 130px; height: 12px; margin: 1rem auto 0;
  background:
    linear-gradient(var(--accent), var(--accent)) left center / 52px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / 52px 1px no-repeat;
  opacity: .55;
}
.ornament::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  background: var(--accent); transform: translate(-50%, -50%) rotate(45deg);
}
.grid { margin-top: 0; }
.info-head { grid-column: 1 / -1; margin-bottom: .5rem; }
.info { padding-top: clamp(56px, 8vw, 96px); }
.info h3 { color: var(--ink); }

/* ---------- Product photos on computers: 4 across, using more of the page width ---------- */
.grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); max-width: 1440px; }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Computers: the top of the home page is the About story with a photo ---------- */
.about {
  max-width: 1100px; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; text-align: left;
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 16px; box-shadow: 0 18px 40px rgba(59, 47, 42, .16);
}
.about-text .eyebrow { color: var(--accent); margin-bottom: .7rem; }
.about-text h2 { text-align: left; }
.about-text .ornament { margin: 1rem 0 1.4rem; }
.about-text p { margin: 0 0 1.6rem; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo img { max-width: 420px; margin: 0 auto; }
  .about-text .ornament { margin: 1rem auto 1.4rem; }
  .about-text h2 { text-align: center; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; }     /* phones stay 2 across */
  .card-top h3 { font-size: 1.05rem; }
  .section-head { margin-bottom: 1.6rem; }
  .section-head h2, .about-text h2 { font-size: 2rem; }
}
.qty-input { caret-color: transparent; }   /* no blinking cursor: click and just type */

/* Menu links (About, Shipping...) land with the title visible below the sticky top bar */
section[id] { scroll-margin-top: 90px; }

/* Logo watermark behind the top About text (computers only, a test) */
.about-text { position: relative; z-index: 0; }
.about-text::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: min(560px, 120%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("images/logo-watermark.png") center / contain no-repeat;
  opacity: .16; pointer-events: none;
}

/* ---------- Computers: intro text, then the Hearthside Tray, then a big Shop all ---------- */
@media (min-width: 601px) {
  .hero { max-width: 900px; padding-bottom: clamp(48px, 7vw, 90px); }
  .hero .lede { margin-bottom: 2.4rem; }
  .hero-photo { display: block; margin: 0 auto 2.2rem; max-width: 480px; }
  .hero-photo img {
    width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 18px; box-shadow: 0 20px 44px rgba(59, 47, 42, .2);
  }
  .hero-btn { display: inline-block; min-width: min(420px, 100%); padding: 1.1rem 2rem; font-size: .95rem; letter-spacing: .24em; }
}

/* Menu wraps neatly on narrow phones now that it has a Home link */
@media (max-width: 600px) { nav { flex-wrap: wrap; justify-content: center; row-gap: .2rem; column-gap: .9rem; } }
@media (max-width: 380px) { nav { column-gap: .6rem; } nav a { letter-spacing: .04em; font-size: .72rem; } }

/* Top menu: darker and a touch bigger (current page in rose) */
nav a { color: var(--ink); font-size: .92rem; font-weight: 400; }
nav a:hover { color: var(--accent); }
nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 600px) { nav { column-gap: .55rem; } nav a { font-size: .8rem; letter-spacing: .04em; } .bag-count { min-width: 1.15rem; height: 1.15rem; font-size: .62rem; } }
@media (max-width: 380px) { nav a { font-size: .74rem; } }

/* Phones match the computer design, just stacked */
@media (max-width: 600px) {
  .hero { padding: 36px 16px 40px; }
  .hero .eyebrow { display: block; font-size: .72rem; margin-bottom: .8rem; }
  .hero h1 { display: block; font-size: 2.4rem; line-height: 1.12; margin: 0 0 1rem; }
  .hero .lede { display: block; font-size: 1.05rem; margin: 0 auto 1.6rem; }
  .hero-photo { margin: 0 0 1.4rem; }
  .about-text::before { width: 92%; }
}

/* Separate Shipping and About pages */
.shipping-page .info { border-top: 0; min-height: 55vh; }
.about-page .about { min-height: 0; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 3.5vw, 40px); grid-template-columns: 360px minmax(0, 560px); justify-content: center; }
.about-page .about-photo img { width: 100%; }
.about-page .about-steps { padding-top: clamp(36px, 4vw, 48px); }
@media (max-width: 760px) {
  .about-page .about { grid-template-columns: 1fr; }
  .about-page .about-photo img { width: min(250px, 100%); }
  .about-page .about { gap: 1.2rem; padding-bottom: 20px; }
  .about-page .about-text p { margin-bottom: 0; }
  .about-page .about-steps { padding-top: 28px; }
}

/* ---------- NEW / HOT! corner ribbons ---------- */
.card, .slide-media, .quick { position: relative; }
.ribbon {
  position: absolute; top: 26px; left: -44px; z-index: 3; width: 180px;
  transform: rotate(-45deg); text-align: center; pointer-events: none;
  padding: .42rem 0; font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: #fff;
  background: var(--accent); box-shadow: 0 3px 10px rgba(59, 47, 42, .25);
}
.ribbon-hot { background: linear-gradient(90deg, #9b1c2c, #c8323f); }
.quick > .ribbon { position: absolute; top: 30px; left: -44px; }
.quick { overflow-x: hidden; }

/* ---------- Home page sliding candles ---------- */
.showcase { padding-left: 0; padding-right: 0; background: var(--bg-soft); overflow: hidden; }
.marquee { overflow: hidden; padding: .4rem 0 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 90s linear infinite; }
/* Pause while the mouse is over it (computers only) or while a keyboard user tabs through it.
   A plain click doesn't count, so it keeps moving after you come back with the Back button. */
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee:has(:focus-visible) .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.slide { flex: 0 0 auto; width: 210px; text-decoration: none; color: var(--ink);
  background: var(--card); border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(59, 47, 42, .08); transition: transform .25s, box-shadow .25s; }
.slide:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(59, 47, 42, .16); }
.slide-media { overflow: hidden; }
.slide-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.slide-name { display: block; padding: .7rem .9rem 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.slide-price { display: block; padding: .15rem .9rem .85rem; font-weight: 500; }
.showcase-link { margin: 1rem 0 0; }
.showcase-link a { color: var(--accent); text-decoration: none; letter-spacing: .08em; }
.showcase-link a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .slide { width: 150px; }
  .slide-name { font-size: 1rem; padding: .55rem .7rem 0; }
  .slide-price { padding: .1rem .7rem .7rem; font-size: .9rem; }
  .ribbon { top: 18px; left: -46px; width: 160px; font-size: .7rem; padding: .32rem 0; }
}
/* People who turn off motion in their phone/computer settings get a still row they can swipe */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Sliding candles BEHIND the Hearthside Tray photo ---------- */
body { overflow-x: clip; }                       /* the strip is full-screen wide; never side-scroll */
.hero-stage { position: relative; margin: 0 0 2.2rem; }
.hero-stage .hero-photo { position: relative; z-index: 2; margin-bottom: 0; }
.marquee-bg {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 100vw;
  transform: translate(-50%, -50%); padding: 0;
}
.marquee-bg .slide { width: 200px; text-align: left; }
@media (max-width: 600px) {
  .hero-stage .hero-photo { width: 70%; margin: 0 auto; }
  .marquee-bg .slide { width: 128px; }
  .marquee-bg .slide-name { font-size: .9rem; padding: .45rem .55rem 0; }
  .marquee-bg .slide-price { font-size: .82rem; padding: .05rem .55rem .55rem; }
  .marquee-bg .ribbon { top: 12px; left: -50px; width: 150px; font-size: .55rem; padding: .22rem 0; }
}

/* Calmer background strip: softer, names only */
.marquee-bg .marquee-track { opacity: .82; }
.marquee-bg .slide { box-shadow: 0 6px 16px rgba(59, 47, 42, .07); }
.marquee-bg .slide-name { padding-bottom: .75rem; }
@media (max-width: 600px) { .marquee-bg .slide-name { padding-bottom: .55rem; } }

/* ---------- Trust strip under Shop all ---------- */
.trust { list-style: none; padding: 0; margin: 1.6rem auto 0; max-width: 760px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem;
  font-size: .9rem; color: var(--ink); font-weight: 400; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.trust .tick { color: var(--accent); font-size: .75rem; }
@media (max-width: 600px) {
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .8rem; font-size: .82rem; text-align: left; }
  .trust li { white-space: normal; }
}

/* ---------- Free-shipping progress bar ---------- */
.ship-progress { margin: .2rem 0 .3rem; }
.ship-bar { height: 6px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; margin: .3rem 0 .35rem; }
.ship-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent); transition: width .4s ease; }
.ship-bar span.done { background: #4f7a52; }

/* ---------- "Add a little extra" in the cart ---------- */
.bag-main { min-width: 0; }
.extras { margin-top: 1.8rem; }
.extras[hidden] { display: none; }
.extras h3 { font-size: 1.3rem; margin: 0 0 .8rem; }
.extras-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.extra { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .7rem;
  background: var(--card); border-radius: 10px; padding: .55rem .7rem .55rem .55rem; }
.extra img { width: 56px; height: 72px; object-fit: cover; border-radius: 6px; }
.extra-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.extra-name { font-family: var(--serif); font-size: 1.05rem; }
.extra-price { font-size: .85rem; color: var(--muted); }
.extra-add { border: 1px solid var(--ink); background: none; border-radius: 99px; padding: .4rem .8rem;
  font: inherit; font-size: .78rem; letter-spacing: .06em; cursor: pointer; color: var(--ink); white-space: nowrap; }
.extra-add:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Trust strip a little bigger on computers */
@media (min-width: 601px) {
  .trust { font-size: 1rem; gap: .6rem 1.8rem; max-width: none; flex-wrap: nowrap; }
  .trust .tick { font-size: .9rem; }
}
@media (min-width: 601px) and (max-width: 860px) { .trust { flex-wrap: wrap; } }

/* ---------- Shop cards: two clean buttons ---------- */
.card .card-add { display: block; width: 100%; margin-top: auto; padding: .75rem 1rem; font-size: .8rem; text-align: center; cursor: pointer; font-family: var(--sans); }
.card .buy-now { cursor: pointer; background: none; font-family: var(--sans); }
.card .desc { margin-bottom: 1rem; }
@media (max-width: 600px) {
  .card .card-add { padding: .6rem .4rem; font-size: .66rem; letter-spacing: .1em; }
}

/* ---------- "Choose your scent" popup ---------- */
.picker .picker-media { position: relative; overflow: hidden; }
.picker .picker-media img { display: block; width: 100%; height: auto; max-height: 34vh; object-fit: cover; aspect-ratio: 3 / 4; }
.picker-label { margin: .2rem 0 .55rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.scent-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.scent-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: .92rem; font-weight: 400;
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.scent-chip:hover { border-color: var(--ink); }
.scent-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.scent-tag { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: .12rem .45rem; border-radius: 999px; white-space: nowrap; }
.tag-pick { background: #f6e3e5; color: var(--accent); }
.tag-popular { background: var(--bg-soft); color: var(--muted); }
.scent-chip.on .scent-tag { background: rgba(255, 255, 255, .18); color: #fff; }
.picker-colors[hidden] { display: none; }
.color-swatches { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.swatch {
  display: inline-flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer;
}
.swatch-dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--swatch);
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s;
}
.swatch:hover .swatch-dot { box-shadow: 0 0 0 1px var(--ink); }
.swatch.on .swatch-dot { box-shadow: 0 0 0 2px var(--ink); }
.swatch.on .swatch-name { font-weight: 500; }
.picker-qty { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.picker-qty .picker-label { margin: 0; }
.picker-go { padding: 1rem; font-size: .85rem; cursor: pointer; font-family: var(--sans); }
.picker-go:disabled { background: var(--bg-soft); border-color: var(--line); color: var(--muted); cursor: default; }
.picker-hint { text-align: center; margin: .5rem 0 0; }
.picker-hint[hidden] { display: none; }
.bag-scent { margin: .05rem 0 .15rem; font-size: .9rem; color: var(--muted); }

/* Computers: centered popup, photo on the left, choices on the right */
@media (min-width: 601px) {
  dialog.picker:modal {
    inset: 0; margin: auto; width: min(880px, 92vw); max-height: 88vh;
    border-radius: 18px; box-shadow: 0 30px 80px rgba(40, 30, 26, .35);
  }
  .picker[open] { display: grid; grid-template-columns: 1fr 1.15fr; }
  .picker .picker-media img { height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; }
  .picker .quick-info { padding: 2rem 2rem 1.8rem; overflow-y: auto; max-height: 88vh; }
  .picker .quick-info h3 { font-size: 1.9rem; }
  .picker[open] { animation: picker-in .2s ease-out; }
}
@keyframes picker-in { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.quick-close { z-index: 5; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }   /* keep the × above the photo */

/* ---------- Large-order banner on the home page ---------- */
.bulk-banner { text-align: center; padding: clamp(40px, 6vw, 72px) 16px; border-top: 1px solid var(--line); }
.bulk-eyebrow { margin: 0 0 .8rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.bulk-text { margin: 0 auto .8rem; max-width: 820px; font-family: var(--serif); font-size: 2rem; line-height: 1.25; color: var(--ink); }
.bulk-text strong { font-weight: 500; }
.bulk-text em { color: var(--accent); font-style: italic; }
.bulk-sub { margin: 0 auto 1.6rem; max-width: 560px; color: var(--muted); font-size: 1.02rem; }
@media (max-width: 600px) { .bulk-text { font-size: 1.65rem; } .bulk-sub { font-size: .95rem; } }

/* ---------- About page extras ---------- */
.about-steps { border-top: 1px solid var(--line); }
.make-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.make-steps li { text-align: center; padding: 0 .5rem; }
.step-num { display: block; font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--accent); opacity: .85; margin-bottom: .6rem; }
.make-steps h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.make-steps p { margin: 0; color: var(--muted); line-height: 1.65; }

.about-gallery { max-width: 1100px; margin: 0 auto; padding-top: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.about-gallery .g { display: block; overflow: hidden; border-radius: 6px; }
.about-gallery .g-tall { grid-row: span 2; }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.about-gallery .g:hover img { transform: scale(1.05); }

.about-care { background: var(--bg-soft); }
.care-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.care { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.3rem; text-align: center; }
.care-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f6e3e5; color: var(--accent); font-size: 1.2rem; margin-bottom: .8rem; }
.care h3 { margin: 0 0 .45rem; font-size: 1.3rem; }
.care p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .98rem; }
.care-note { max-width: 620px; margin: 2rem auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }

.about-close { text-align: center; }
.close-line { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1.6rem; color: var(--ink); line-height: 1.15; }
.close-line em { color: var(--accent); }
.close-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .make-steps, .care-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
  .step-num { font-size: 2.4rem; }
  .make-steps h3, .care h3 { font-size: 1.2rem; }
  .make-steps p, .care p { font-size: .92rem; }
  .care { padding: 1.2rem .9rem; }
  .about-gallery { grid-auto-rows: 150px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .about-gallery img { transition: none; } }

/* Cart: "Tax — Calculated at checkout" row */
.summary .tax-row span:last-child { color: var(--muted); font-size: .9rem; font-style: italic; }
