: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: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; }
.brand img { border-radius: 50%; }
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.25rem; }
  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; }
