/* ============================================================
   Alouss Chocolate Makers — stylesheet
   Palette: deep cocoa, caramel/gold accent, warm cream
   ============================================================ */

:root {
  --cocoa-900: #1e120c;
  --cocoa-800: #2b1810;
  --cocoa-700: #3d2317;
  --cocoa-600: #5a3825;
  --caramel:   #c79a4b;
  --caramel-d: #8a6322;
  --cream:     #faf5ee;
  --cream-2:   #f3ebe0;
  --paper:     #fffdfa;
  --ink:       #2b1810;
  --muted:     #6e5f52;
  --line:      #e7ddd0;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px -22px rgba(43, 24, 16, 0.45);
  --shadow-sm: 0 8px 24px -14px rgba(43, 24, 16, 0.4);
  --max:       1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--caramel-d);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 100px; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.04em; transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cocoa-800); color: var(--cream); }
.btn-primary:hover { background: var(--cocoa-900); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--cocoa-800); border: 1.5px solid var(--cocoa-300, #cbb9a8); }
.btn-ghost:hover { background: var(--cocoa-800); color: var(--cream); border-color: var(--cocoa-800); }
.btn-light { background: var(--caramel); color: var(--cocoa-900); }
.btn-light:hover { background: #d8ab5b; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--cocoa-900); color: var(--cream-2);
  text-align: center; font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 0.55rem 1rem; font-weight: 300;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur lives on a background layer: backdrop-filter on the header itself would
   trap the fixed mobile menu inside it and cause sideways scrolling. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 245, 238, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -16px rgba(0,0,0,0.5); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding: 0.9rem 0; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 0.7rem; line-height: 1; margin-right: auto; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px; object-fit: cover;
  background: #0b0b0b; box-shadow: 0 4px 14px -6px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.02em; color: var(--cocoa-800); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { white-space: nowrap; font-size: 0.88rem; font-weight: 400; letter-spacing: 0.03em; position: relative; padding: 0.2rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--caramel-d); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.header-socials { display: flex; align-items: center; gap: 0.3rem; }
.hsoc {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: var(--cocoa-700); transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hsoc:hover { background: var(--cocoa-800); color: var(--cream); transform: translateY(-2px); }
.nav-social { display: none; }

.cart-btn { position: relative; color: var(--cocoa-800); display: grid; place-items: center; padding: 0.4rem; min-width: 44px; min-height: 44px; }
.cart-count {
  position: absolute; top: -4px; right: -6px; background: var(--caramel-d); color: #fff;
  font-size: 0.66rem; font-weight: 600; min-width: 18px; height: 18px; border-radius: 100px;
  display: grid; place-items: center; padding: 0 4px; font-family: var(--sans);
  transition: transform 0.2s ease; transform: scale(0);
}
.cart-count.show { transform: scale(1); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 6px; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cocoa-800); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) 0; }
.hero-copy .eyebrow { margin-bottom: 1.2rem; display: block; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 1.4rem; color: var(--cocoa-800); }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-photo {
  width: min(100%, 420px); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transform: rotate(-2deg); border: 6px solid var(--paper);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.hero-badge {
  position: absolute; right: 6%; bottom: 8%;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--caramel); color: var(--cocoa-900);
  display: grid; place-items: center; align-content: center; text-align: center;
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transform: rotate(8deg);
}
.hero-badge small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }

/* ---------- Trust strip ---------- */
.trust { background: var(--cocoa-800); color: var(--cream-2); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.8rem 0; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--caramel); letter-spacing: 0.01em; }
.trust-item span { font-size: 0.78rem; color: #cbb9a8; letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 3rem; }
.section-head .eyebrow { display: block; margin-bottom: 0.8rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--cocoa-800); margin-bottom: 0.8rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tab {
  padding: 0.55rem 1.3rem; border-radius: 100px; font-size: 0.85rem; font-weight: 400;
  color: var(--muted); border: 1.5px solid var(--line); transition: all 0.2s;
}
.tab:hover { border-color: var(--caramel); color: var(--cocoa-800); }
.tab.is-active { background: var(--cocoa-800); color: var(--cream); border-color: var(--cocoa-800); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.3rem; }
.card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 1 / 1; position: relative; display: grid; place-items: center;
  background: var(--cream-2);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media:has(.choc-emoji) { background: linear-gradient(150deg, var(--cocoa-600), var(--cocoa-800)); }
.card-media .choc-emoji { font-size: 3.4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4)); }
.card-media .media-tag {
  position: absolute; top: 12px; left: 12px; background: var(--caramel); color: var(--cocoa-900);
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 0.28rem 0.7rem; border-radius: 100px;
}
.card-media:has(.choc-emoji)::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, rgba(255,255,255,0.12), transparent 50%); }
.card-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.card-cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel-d); font-weight: 500; }
.card-title { font-size: 1.32rem; color: var(--cocoa-800); line-height: 1.15; }
.card-desc { font-size: 0.86rem; color: var(--muted); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; }
.card-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--cocoa-800); }
.add-btn {
  background: var(--cocoa-800); color: var(--cream); padding: 0.6rem 1.1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; transition: all 0.2s;
}
.add-btn:hover { background: var(--caramel-d); }
.add-btn:active { transform: scale(0.95); }

/* ---------- Story ---------- */
.story { background: var(--cream-2); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--cocoa-600), var(--cocoa-900));
  position: relative; box-shadow: var(--shadow); display: grid; place-items: end start;
}
.story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-photo .photo-label {
  position: relative; z-index: 2;
  margin: 1.2rem; color: var(--cream-2); font-size: 0.78rem; letter-spacing: 0.08em;
  background: rgba(0,0,0,0.4); padding: 0.4rem 0.8rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.story-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--cocoa-800); margin: 0.7rem 0 1.2rem; }
.story-copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.02rem; }
.story-copy blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--cocoa-700);
  border-left: 3px solid var(--caramel); padding-left: 1.2rem; margin: 1.6rem 0; line-height: 1.35;
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-no { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--caramel); display: block; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.25rem; color: var(--cocoa-800); margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; color: var(--muted); }

/* ---------- About Cocoa ---------- */
.cocoa { background: linear-gradient(160deg, var(--cocoa-800), var(--cocoa-900)); color: var(--cream); }
.cocoa-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.cocoa-intro .eyebrow { color: var(--caramel); display: block; margin-bottom: 0.8rem; }
.cocoa-intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }
.cocoa-intro p { color: #d4c4b4; font-size: 1.05rem; }
.cocoa-stages { counter-reset: stage; display: grid; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.cocoa-stages li {
  counter-increment: stage; position: relative; padding-left: 3.4rem;
  padding-bottom: 1.4rem; border-bottom: 1px solid var(--cocoa-600);
}
.cocoa-stages li:last-child { border-bottom: none; padding-bottom: 0; }
.cocoa-stages li::before {
  content: counter(stage, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--caramel);
}
.cocoa-stages h3 { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--cream); }
.cocoa-stages p { color: #c4b4a4; font-size: 0.94rem; }

/* ---------- Maker note ---------- */
.maker-note {
  max-width: 44rem; margin: 0 auto 3rem; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm); position: relative;
}
.maker-note::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--cocoa-900) url("assets/images/favicon.png") center / 78% no-repeat;
  box-shadow: 0 0 0 6px var(--cream);
}
.maker-statement { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--cocoa-800); line-height: 1.2; margin: 0.6rem 0 0.8rem; }
.maker-statement em { font-style: italic; color: var(--caramel-d); }
.maker-sub { color: var(--muted); font-size: 1rem; max-width: 38rem; margin: 0 auto; }

/* ---------- Wholesale ---------- */
.wholesale {
  background: linear-gradient(135deg, var(--cocoa-800), var(--cocoa-900));
  color: var(--cream); text-align: center;
}
.wholesale-inner { max-width: 40rem; margin: 0 auto; }
.wholesale .eyebrow { color: var(--caramel); }
.wholesale h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0.7rem 0 1rem; }
.wholesale p { color: #d4c4b4; margin-bottom: 1.8rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-col h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--cocoa-800); margin: 0.7rem 0 1rem; }
.contact-col > p { color: var(--muted); margin-bottom: 1.6rem; }
.contact-list li { display: flex; flex-direction: column; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 0.2rem; }
.contact-list a { font-family: var(--serif); font-size: 1.3rem; color: var(--cocoa-800); }
.contact-list a:hover { color: var(--caramel-d); }
.follow-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 1.6rem 0 0.8rem; }
.socials { display: flex; gap: 0.7rem; }
.social-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cocoa-800); color: var(--cream);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.social-btn:hover { background: var(--caramel-d); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.social-btn:active { transform: translateY(-1px) scale(0.96); }

/* Footer variant — gold on dark */
.socials-footer { margin-top: 1rem; }
.socials-footer .social-btn {
  display: grid; place-items: center; padding: 0;
  width: 42px; height: 42px; background: rgba(255,255,255,0.08); color: var(--caramel);
}
.socials-footer .social-btn:hover { background: var(--caramel); color: var(--cocoa-900); }

.shipping-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.shipping-card h3 { font-size: 1.5rem; color: var(--cocoa-800); margin-bottom: 1rem; }
.ship-list li { padding: 0.6rem 0 0.6rem 1.5rem; position: relative; color: var(--muted); font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.ship-list li:last-child { border-bottom: none; }
.ship-list li::before { content: "🍫"; position: absolute; left: 0; font-size: 0.85rem; }
.ship-list a { color: var(--caramel-d); text-decoration: underline; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--cocoa-900); color: var(--cream); text-align: center; padding: clamp(3rem, 6vw, 5rem) 0; }
.news-inner { max-width: 34rem; margin: 0 auto; }
.newsletter h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.newsletter p { color: #cbb9a8; margin-bottom: 1.6rem; }
.news-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.news-form input {
  flex: 1; min-width: 220px; padding: 0.85rem 1.2rem; border-radius: 100px; border: 1px solid var(--cocoa-600);
  background: rgba(255,255,255,0.06); color: var(--cream); font-family: var(--sans); font-size: 0.9rem;
}
.news-form input::placeholder { color: #a8978a; }
.news-form input:focus { outline: none; border-color: var(--caramel); }
.news-note { margin-top: 1rem; color: var(--caramel); }
.news-note.is-bad { color: #f2b8a8; } /* signup failed: warmer warning colour on the dark band */

/* ---------- Footer ---------- */
.site-footer { background: #0b0b0b; color: var(--cream-2); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--cocoa-600); }
.footer-logo {
  width: 116px; height: 116px; border-radius: 14px; display: block;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,0.6);
}
.footer-brand p { margin-top: 1rem; color: #a8978a; font-size: 0.9rem; max-width: 22rem; }
.footer-col h4, .footer-col h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--caramel); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; padding: 0.3rem 0; color: #cbb9a8; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; color: #8a7869; font-size: 0.82rem; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(30, 18, 12, 0.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: 0.3s; z-index: 90;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 90vw);
  background: var(--cream); z-index: 100; transform: translateX(100%); visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.35s;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); visibility: visible; transition-delay: 0s; box-shadow: -20px 0 60px -30px rgba(0,0,0,0.5); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.5rem; color: var(--cocoa-800); }
.cart-close { font-size: 1.8rem; color: var(--muted); line-height: 1; padding: 0 0.3rem; }
.cart-close:hover { color: var(--cocoa-800); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci-thumb { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(145deg, var(--cocoa-600), var(--cocoa-900)); display: grid; place-items: center; font-size: 1.4rem; }
.ci-thumb { overflow: hidden; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { min-width: 0; }
.ci-name { font-family: var(--serif); font-size: 1.05rem; color: var(--cocoa-800); line-height: 1.1; }
.ci-price { font-size: 0.82rem; color: var(--muted); }
.ci-qty { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.ci-qty button { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line); color: var(--cocoa-800); font-size: 1rem; display: grid; place-items: center; line-height: 1; }
.ci-qty button:hover { background: var(--cocoa-800); color: var(--cream); border-color: var(--cocoa-800); }
.ci-qty span { min-width: 18px; text-align: center; font-size: 0.9rem; }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.ci-line { font-family: var(--serif); font-weight: 600; color: var(--cocoa-800); }
.ci-remove { font-size: 0.82rem; padding: 0.5rem 0.2rem; color: var(--muted); text-decoration: underline; }
.ci-remove:hover { color: #b3402f; }

.cart-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; color: var(--muted); padding: 2rem; }
.cart-drawer.is-empty .cart-items, .cart-drawer.is-empty .cart-foot { display: none; }
.cart-drawer.is-empty .cart-empty { display: flex; }

.cart-foot { padding: 1.4rem 1.5rem; border-top: 1px solid var(--line); background: var(--paper); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.cart-subtotal span:first-child { font-size: 0.9rem; color: var(--muted); letter-spacing: 0.04em; }
.cart-subtotal span:last-child { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--cocoa-800); }
.cart-ship-note { font-size: 0.76rem; color: var(--muted); margin-bottom: 1rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(200%); opacity: 0; visibility: hidden;
  background: var(--cocoa-900); color: var(--cream); padding: 0.85rem 1.4rem; border-radius: 100px;
  font-size: 0.88rem; box-shadow: var(--shadow); z-index: 120; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s, visibility 0s 0.35s;
  display: flex; align-items: center; gap: 0.5rem;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Keyboard focus (visible outline for keyboard users) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.tab:focus-visible,
.add-btn:focus-visible,
.social-btn:focus-visible,
.hsoc:focus-visible {
  outline: 2px solid var(--caramel-d);
  outline-offset: 3px;
}

/* ---------- Respect "reduce motion" accessibility setting ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 280px; }
  .story-grid, .contact-grid, .cocoa-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 360px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(280px, 80vw);
    background: var(--cream); flex-direction: column; align-items: flex-start; gap: 0.5rem;
    padding: 5rem 2rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0s 0.3s;
    z-index: 60;
  }
  .nav-toggle { position: relative; z-index: 70; }
  .nav-links.open { transform: translateX(0); visibility: visible; transition-delay: 0s; box-shadow: -20px 0 60px -30px rgba(0,0,0,0.5); }
  .nav-links a { font-size: 1.1rem; padding: 0.6rem 0; }
  .header-socials { display: none; }
  .nav-social { display: flex; gap: 0.4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
  .nav-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cocoa-800); color: var(--cream); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Back-soon (seasonal) products ---------- */
.card.is-unavailable .card-media img { filter: grayscale(0.55) brightness(0.9); opacity: 0.85; }
.media-tag--soon { background: var(--cocoa-800); color: var(--cream); }
.add-btn--ask { background: transparent; color: var(--cocoa-800); border: 1.5px solid var(--cocoa-800); text-decoration: none; display: inline-flex; align-items: center; }
.add-btn--ask:hover { background: var(--cocoa-800); color: var(--cream); }

/* ---------- Cart totals ---------- */
.cart-line { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; color: var(--muted); margin-bottom: 0.25rem; }
.cart-line--total { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--cocoa-800); margin: 0.5rem 0 0.2rem; }

/* ---------- Process step photos ---------- */
.step.has-photo { padding-top: 0; overflow: hidden; }
.step-photo { display: block; width: calc(100% + 3.2rem); max-width: none; margin: 0 -1.6rem 1.1rem; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Photo hero + collection banner ---------- */
.hero--photo { position: relative; background: var(--cocoa-900); height: clamp(600px, 62vw, 900px); display: block; overflow: hidden; }
.hero--photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero--photo .hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 12% 12%, rgba(20,10,5,0.62) 0%, rgba(20,10,5,0) 100%),
  linear-gradient(180deg, rgba(20,10,5,0.30) 0%, rgba(20,10,5,0) 28%); }
.hero--photo .hero-inner { position: relative; display: block; padding: clamp(1.6rem, 3.2vw, 3rem) 0 0; }
.hero--photo .hero-copy { max-width: 31rem; }
.hero--photo .eyebrow { color: var(--caramel); margin-bottom: 0.7rem; }
.hero--photo h1 { color: var(--cream); font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: 0.9rem; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.hero--photo .hero-lead { color: rgba(250,245,238,0.92); font-size: 1rem; max-width: 26rem; margin-bottom: 1.2rem; }
.hero--photo .btn-ghost { color: var(--cream); border-color: rgba(250,245,238,0.55); }
.hero--photo .btn-ghost:hover { background: var(--cream); color: var(--cocoa-900); }
.collection-banner { background: var(--cocoa-900); line-height: 0; }
.collection-banner img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; }
@media (max-width: 900px) {
  .hero--photo { height: auto; min-height: 0; }
  .hero--photo .hero-bg { position: relative; display: block; height: auto; aspect-ratio: 3 / 2; }
  .hero--photo .hero-shade { display: none; }
  .hero--photo .hero-inner { padding: 1.6rem 0 2.2rem; background: var(--cocoa-900); }
  .hero--photo .hero-copy { max-width: none; }
  .hero--photo .hero-lead { max-width: none; }
}

/* Smaller product cards (tighter photo, quieter type) */
.card-media { aspect-ratio: 1 / 1; }
.card-body { padding: 1rem 1.1rem 1.15rem; }
.card-title { font-size: 1.15rem; }
.card-desc { font-size: 0.8rem; }
.add-btn { padding: 0.5rem 0.95rem; font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream-2); }
.faq-list { max-width: 48rem; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq-list summary { cursor: pointer; padding: 1.05rem 0; font-family: var(--serif); font-size: 1.2rem; color: var(--cocoa-800); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--caramel-d); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 1.1rem; color: var(--muted); font-size: 0.95rem; max-width: 42rem; }
.geo-shop { padding: 1rem 0; color: var(--muted); }
.geo-shop li { margin: 0.4rem 0; }

/* ---------- Real logo in the header (her gold lockup on a black tile) ---------- */
.brand--logo { gap: 0; }
.brand-tile { display: block; width: 86px; height: 86px; border-radius: 12px; background: #0b0b0b; padding: 3px; box-shadow: 0 6px 18px -8px rgba(0,0,0,0.55); }
.brand-tile img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nav { padding: 0.45rem 0; }
@media (max-width: 640px) { .brand-tile { width: 66px; height: 66px; } }

/* Option B: dark header so the gold logo sits directly on the page (toggle with class on <html>) */
html.hdr-dark .site-header::before { background: rgba(20,11,7,0.94); }
html.hdr-dark .site-header { border-bottom: 0; background: #140b07; }
html.hdr-dark .brand-tile { background: transparent; box-shadow: none; padding: 0; width: 78px; height: 78px; }
html.hdr-dark .nav-links a, html.hdr-dark .cart-btn, html.hdr-dark .hsoc { color: var(--cream); }
html.hdr-dark .nav-links a::after { background: var(--caramel); }
html.hdr-dark .hsoc:hover { background: var(--caramel); color: var(--cocoa-900); }
html.hdr-dark .nav-toggle span { background: var(--cream); }

@media (max-width: 1000px) {
  html.hdr-dark .nav-links { background: #140b07; }
  html.hdr-dark .nav-links a { color: var(--cream); }
  html.hdr-dark .nav-social { border-top-color: rgba(250,245,238,0.18); }
  html.hdr-dark .nav-social a { background: var(--caramel); color: var(--cocoa-900); }
}

/* ---------- Product pages ---------- */
.pdp-links { display: flex; gap: 1.6rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.pdp-links a { color: var(--cream); font-size: 0.88rem; letter-spacing: 0.03em; }
@media (max-width: 720px) { .pdp-links { display: none; } }
.pdp { padding-top: 1.4rem; padding-bottom: 3rem; }
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--caramel-d); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pdp-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.pdp-photo img { display: block; width: 100%; height: auto; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-800); margin: 0.3rem 0 0.6rem; }
.pdp-price { font-family: var(--serif); font-size: 2rem; color: var(--cocoa-800); margin-bottom: 0.8rem; }
.pdp-price small { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); margin-left: 0.4rem; }
.pdp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.1rem; }
.pdp-tags li { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--caramel); color: var(--caramel-d); padding: 0.25rem 0.7rem; border-radius: 100px; }
.pdp-story { font-size: 1.08rem; color: var(--ink, #3a2a22); margin-bottom: 1.5rem; max-width: 34rem; }
.pdp-back { margin-left: 0.6rem; }
.pdp-facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.pdp-facts dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel-d); padding-top: 1rem; }
.pdp-facts dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }
.pdp-nutri { margin-top: 3rem; max-width: 40rem; }
.pdp-nutri h2, .pdp-more h2 { font-size: 1.6rem; color: var(--cocoa-800); margin-bottom: 0.4rem; }
.pdp-note { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.pdp-nutri table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pdp-nutri th, .pdp-nutri td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line); }
.pdp-nutri thead th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pdp-more { margin-top: 3rem; }
.pdp-more ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.pdp-more a { color: var(--caramel-d); border-bottom: 1px solid var(--line); }
.pdp-foot { border-top: 1px solid var(--line); padding: 1.5rem 0; text-align: center; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 800px) { .pdp-grid { grid-template-columns: 1fr; } }
.card-media a.card-link, .card-title a { color: inherit; }
.card-title a:hover { color: var(--caramel-d); }

/* Header: real emblem stamp + typed wordmark (Alouss / CHOCOLATE MAKERS), for the dark header */
.brand-mark { width: 52px; height: 52px; border-radius: 12px; }
html.hdr-dark .brand-name { color: var(--cream); font-size: 1.75rem; }
html.hdr-dark .brand-sub { color: var(--caramel); }
.nav { padding: 0.75rem 0; }
@media (max-width: 640px) { .brand-mark { width: 44px; height: 44px; } html.hdr-dark .brand-name { font-size: 1.5rem; } }

/* Header logo: her original gold lockup, straight on the dark header */
.brand--logo .brand-tile { width: 84px; height: 84px; }
@media (max-width: 640px) { .brand--logo .brand-tile { width: 66px; height: 66px; } }
html.hdr-dark .brand--logo .brand-tile { background: transparent; box-shadow: none; padding: 0; }

/* story sign-off + pack pages (2 Oct) */
.story-copy blockquote .story-sign { display: block; margin-top: 0.6rem; font-family: var(--sans); font-style: normal; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel-d); }
.pdp-incl { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.pdp-incl a { color: var(--caramel-d); border-bottom: 1px solid var(--line); }

/* testimonials */
.testimonials { background: var(--cream-2, #f6efe4); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg, 14px); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--cocoa-800); }
.quote-card figcaption { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel-d); }

/* static pages (shipping, ebook, policies) */
.page-main h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa-800); margin: 1rem 0 1.2rem; }
.page-body { max-width: 42rem; color: var(--ink, #3a2a22); font-size: 1.05rem; line-height: 1.7; }
.page-body h2 { font-size: 1.5rem; color: var(--cocoa-800); margin: 1.8rem 0 0.4rem; }
.page-body a:not(.btn) { color: var(--caramel-d); border-bottom: 1px solid var(--line); }
.page-body ul { padding-left: 1.2rem; list-style: disc; }
.page-body li { margin-bottom: 0.3rem; }
.ebook-grid { max-width: 56rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.ebook-cover img { width: 100%; height: auto; border-radius: var(--radius-lg, 14px); box-shadow: var(--shadow); }
.ebook-form { margin-top: 1.2rem; }
.ebook-done { margin-top: 1.2rem; }
.ebook-err { margin-top: 0.8rem; color: #a12a1a; }
@media (max-width: 800px) { .ebook-grid { grid-template-columns: 1fr; } .ebook-cover { order: -1; max-width: 18rem; } }

/* cart: pack choices */
.cart-picks { margin: 0.8rem 0; }
.cart-picks label { display: block; font-size: 0.85rem; margin-bottom: 0.3rem; color: var(--cocoa-800); }
.cart-picks textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0.55rem 0.7rem; font: inherit; font-size: 0.9rem; resize: vertical; }


/* ---------- 3 Oct polish: contrast, focus, tap targets, hierarchy ---------- */
.hero--photo .btn-primary { background: var(--caramel); color: var(--cocoa-900); }
.hero--photo .btn-primary:hover { background: #dcb35f; color: var(--cocoa-900); }
.tab { min-height: 44px; }
.add-btn { min-height: 44px; padding: 0.6rem 1.2rem; }
.card-title a { display: inline-block; padding: 0.3rem 0; }
.footer-col a { display: block; width: fit-content; padding: 0.45rem 0; }
.social-btn { width: 46px; height: 46px; }
.socials-footer .social-btn { width: 46px; height: 46px; }
.cart-count { font-size: 0.75rem; }
.skip-link { position: absolute; left: 0.8rem; top: -4rem; z-index: 200; background: var(--cocoa-900); color: var(--cream); padding: 0.7rem 1.1rem; border-radius: 8px; transition: top 0.15s; }
.skip-link:focus { top: 0.8rem; outline: 3px solid var(--caramel); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn:focus-visible, .add-btn:focus-visible, .tab:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--caramel-d); outline-offset: 3px; }
.site-header a:focus-visible, .site-header button:focus-visible, .hero--photo .btn:focus-visible, .site-footer a:focus-visible, .cart-btn:focus-visible, .hsoc:focus-visible { outline-color: var(--caramel); }
.news-form input:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
.cart-how { font-size: 0.85rem; color: var(--muted); margin: 0.6rem 0 0.8rem; }
.mail-fallback { margin-top: 0.8rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-size: 0.88rem; background: var(--cream-2); }
.mail-fallback button { margin-top: 0.5rem; text-decoration: underline; color: var(--caramel-d); font-weight: 500; padding: 0.4rem 0; }
.toast a { pointer-events: auto; color: inherit; text-decoration: underline; }
.toast.show { pointer-events: auto; }
/* sub-page header cart link */
.cart-link { position: relative; color: var(--cream); display: grid; place-items: center; min-width: 44px; min-height: 44px; margin-left: 1.2rem; }
.cart-link .cart-count { position: absolute; top: 2px; right: 0; transform: scale(1); }
.cart-link .cart-count[hidden] { display: none; }
.pdp-links a { padding: 0.6rem 0; }

/* 4 Oct: lead testimonial, ebook link */
.quote-card--lead { grid-column: 1 / -1; padding: 2.2rem clamp(1.5rem, 4vw, 3rem); text-align: center; align-items: center; }
.quote-card--lead blockquote { font-size: clamp(1.5rem, 3vw, 2rem); max-width: 40rem; }
.quote-card figcaption a { color: inherit; border-bottom: 1px solid var(--line); }
.quote-card figcaption a:hover { border-bottom-color: var(--caramel-d); }
.news-ebook { margin-top: 1rem; font-size: 0.95rem; }
.news-ebook a, .news-note a { color: var(--caramel); border-bottom: 1px solid currentColor; padding: 0.4rem 0; display: inline-block; }

.card-dedic { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--caramel-d); margin-top: -0.2rem; }

/* pack picker */
.picker { margin-top: 3rem; max-width: 40rem; }
.picker h2 { font-size: 1.8rem; color: var(--cocoa-800); margin-bottom: 0.3rem; }
.picker-status { color: var(--muted); margin-bottom: 1rem; }
.picker-status .pk-n { font-weight: 600; color: var(--cocoa-800); }
.picker-list { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.picker-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.picker-list img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.pk-name { flex: 1; font-family: var(--serif); font-size: 1.2rem; color: var(--cocoa-800); }
.pk-ctl { display: flex; align-items: center; gap: 0.2rem; }
.pk-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 1.3rem; color: var(--cocoa-800); background: var(--paper); }
.pk-ctl button:hover:not(:disabled) { border-color: var(--caramel-d); }
.pk-ctl button:disabled { opacity: 0.35; cursor: not-allowed; }
.pk-ctl output { min-width: 2rem; text-align: center; font-weight: 500; }
.ci-picks { font-size: 0.82rem; color: var(--muted); margin: 0.1rem 0 0.2rem; }

/* wholesale form */
.ws-form { text-align: left; max-width: 34rem; margin: 1.6rem auto 0; display: grid; gap: 0.9rem; }
.ws-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.ws-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: #d4c4b4; }
.ws-form input, .ws-form select, .ws-form textarea { width: 100%; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid rgba(250,245,238,0.25); background: rgba(250,245,238,0.08); color: var(--cream); font: inherit; font-size: 0.95rem; }
.ws-form select option { color: var(--cocoa-900); }
.ws-form input:focus-visible, .ws-form select:focus-visible, .ws-form textarea:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
.ws-form .btn { justify-self: start; }
.ws-note { color: var(--caramel); margin: 0; }
.ws-alt { font-size: 0.9rem; margin: 0; }
.ws-alt a { color: var(--caramel); }
@media (max-width: 600px) { .ws-row { grid-template-columns: 1fr; } }
.wholesale .ws-note, .wholesale .ws-alt { margin: 0; font-size: 0.95rem; }

/* recipes */
.rec-sum { max-width: 42rem; color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6rem; }
.rec-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); margin: 1.5rem 0 2.5rem; align-items: start; }
.recipe h2 { font-size: 1.7rem; color: var(--cocoa-800); margin-bottom: 0.6rem; }
.recipe h3 { font-size: 1.25rem; color: var(--cocoa-800); margin: 1.2rem 0 0.4rem; }
.rec-ing { list-style: none; padding: 0; background: var(--cream-2); border-radius: 12px; padding: 0.6rem 1.2rem; }
.rec-ing li { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.rec-ing li:last-child { border-bottom: 0; }
.rec-steps { padding-left: 1.3rem; }
.rec-steps li { margin-bottom: 0.9rem; line-height: 1.6; padding-left: 0.3rem; }
.rec-steps li::marker { color: var(--caramel-d); font-family: var(--serif); font-weight: 600; font-size: 1.2em; }
.recipe-cta { background: var(--cream-2); border-radius: 16px; padding: 1.6rem; margin-top: 2rem; }
.recipe-cta h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.recipe-cta p { margin-bottom: 1rem; }
.recipe-cta a:not(.btn) { color: var(--caramel-d); border-bottom: 1px solid var(--line); }
.rec-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.rec-cards a { display: grid; gap: 0.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; height: 100%; }
.rec-cards a:hover { box-shadow: var(--shadow-sm); border-color: var(--caramel); }
.rc-cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel-d); font-weight: 500; }
.rc-name { font-family: var(--serif); font-size: 1.5rem; color: var(--cocoa-800); }
.rc-sum { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) { .rec-grid { grid-template-columns: 1fr; } }

/* testimonials: no orphan card on desktop */
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: repeat(6, 1fr); }
  .quote-card { grid-column: span 2; }
  .quote-card--lead { grid-column: 1 / -1; }
  .quote-card:nth-child(n+5) { grid-column: span 3; }
}

/* film */
.film { background: var(--cocoa-900); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.film-inner { max-width: 62rem; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.film-poster, .film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 0.6rem; width: 100%; color: var(--cream); background: linear-gradient(180deg, rgba(20,11,7,0.15), rgba(20,11,7,0.55)); font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; }
.film-play svg { width: 76px; height: 76px; padding: 22px 20px 22px 24px; border-radius: 50%; background: var(--caramel); color: var(--cocoa-900); transition: transform 0.2s; }
.film-play:hover svg { transform: scale(1.08); }
.film-play:focus-visible { outline: 3px solid var(--caramel); outline-offset: -6px; }

/* ---------- Online checkout extras (PayPal + email fallback) ---------- */
.paypal-box { margin-top: 0.7rem; }
.pay-or { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--muted); margin: 0 0 0.6rem; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.3; }
#paypalBtn { min-height: 44px; }
.checkout-alt { font-size: 0.8rem; color: var(--muted); margin: 0.8rem 0 0; text-align: center; }
.checkout-alt a { color: inherit; text-decoration: underline; }
.footer-abn { white-space: nowrap; margin-left: 0.4rem; }
.btn.is-off { opacity: 0.55; cursor: default; pointer-events: none; }
.picker li.is-off { opacity: 0.5; }

/* ---------- Order receipt (thank-you page, printable) ---------- */
.receipt { margin: 2rem 0 1.5rem; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-width: 680px; }
.rc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.rc-head h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; margin-bottom: 0.3rem; }
.rc-biz { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin: 0; }
.rc-meta { display: grid; grid-template-columns: auto auto; gap: 0.2rem 1rem; font-size: 0.88rem; margin: 0; align-content: start; }
.rc-meta dt, .rc-extra dt { color: var(--muted); }
.rc-meta dd, .rc-extra dd { margin: 0; }
.rc-items { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.rc-items th, .rc-items td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rc-items thead th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rc-items .num { text-align: right; white-space: nowrap; padding-left: 1rem; }
.rc-items tfoot th { font-weight: 400; color: var(--muted); }
.rc-items tfoot tr.rc-total th, .rc-items tfoot tr.rc-total td { font-weight: 600; color: var(--ink); border-bottom: 0; font-size: 1.05rem; }
.rc-detail { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }
.rc-extra { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-size: 0.9rem; margin: 0 0 1rem; }
.rc-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.rc-actions { margin: 1rem 0 0; }
@media (max-width: 520px) { .receipt { padding: 1.1rem; } .rc-extra { grid-template-columns: 1fr; } .rc-extra dd { margin-bottom: 0.4rem; } }
@media print {
  .site-header, .pdp-links, .cart-link, .crumbs, .pdp-foot, .toast, .rc-actions, .rc-shop { display: none !important; }
  body { background: #fff !important; }
  .page-body:has(.receipt) > p:not(.rc-note) { display: none; }
  .receipt { border: 0; padding: 0; margin: 0; max-width: none; }
  .pdp, main { padding: 0 !important; }
}

/* ---------- Discount code in the cart ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cart-code { margin: 0.2rem 0 0.4rem; }
.cart-code-toggle { background: none; border: 0; padding: 0; color: var(--muted); font-size: 0.82rem; text-decoration: underline; cursor: pointer; }
.cart-code-box { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.cart-code-box[hidden], .cart-line[hidden] { display: none; } /* display:flex above would otherwise override the hidden attribute */
.cart-code-box input { flex: 1; min-width: 0; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.9rem; text-transform: uppercase; background: #fff; }
.cart-code-box button { border: 1px solid var(--ink); background: var(--ink); color: var(--cream); border-radius: 999px; padding: 0.55rem 1rem; font: inherit; font-size: 0.85rem; cursor: pointer; }
.cart-code-msg { font-size: 0.8rem; color: #2f6b3a; margin: 0.35rem 0 0; min-height: 1em; }
.cart-code-msg.is-bad { color: #a12a1a; }
.cart-line--disc span:last-child { color: #2f6b3a; }
/* Spark workshop sign-up (/spark/, opened from the QR code at the stall) */
.spark-page { max-width: 34rem; }
.spark-form { margin-top: 1.4rem; display: grid; gap: 1rem; }
.spark-field { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--cocoa-800); }
.spark-field input { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; }
.spark-field input:focus-visible, .spark-ticks input:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; }
.spark-opt { color: var(--muted); font-size: 0.85rem; }
.spark-ticks { border: 0; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.spark-ticks legend { font-size: 0.92rem; color: var(--cocoa-800); margin-bottom: 0.4rem; }
.spark-ticks label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.spark-ticks input { width: 1.15rem; height: 1.15rem; accent-color: var(--caramel-d); }
.spark-form .btn { justify-self: start; }
.spark-err { color: #a12a1a; font-size: 0.9rem; margin: 0; }
.spark-small { color: var(--muted); font-size: 0.82rem; margin: 0; }
.spark-done { margin-top: 1.4rem; }
.spark-done .btn { margin: 0.3rem 0.4rem 0 0; }
