/* Atelier de Sabores — design system. Style: Alpine meadow (wildflower line art, mountain backdrop) adapted to a French jam atelier mood. */

:root {
  --burgundy: #772D3C;
  --apricot: #E9B66D;
  --cream: #F7F0E4;
  --sage: #62775A;
  --brown: #40342F;
  --rose: #E8C7C7;
  --white: #FFFFFF;
  --ink: var(--brown);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -10px rgba(64, 52, 47, .25);
  --shadow-lg: 0 24px 60px -20px rgba(64, 52, 47, .35);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1200px;
  --gap: clamp(1rem, 2vw, 2rem);
}

html, body { overflow-x: clip; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--burgundy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
a { color: var(--burgundy); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
input, select, textarea { accent-color: var(--burgundy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: #6b5c54; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.center { text-align: center; }
.mt-0{margin-top:0}.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--burgundy);
  cursor: pointer;
  overflow: hidden;
  min-height: 44px;
  background: var(--burgundy);
  color: var(--cream);
  isolation: isolate;
  transition: color .3s ease, border-color .3s ease, transform .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--sage);
  z-index: -1;
  transition: left .35s ease;
}
.btn:hover::before { left: 0; }
.btn:hover { border-color: var(--sage); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--burgundy); }
.btn-outline::before { background: var(--burgundy); }
.btn-outline:hover { color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247,240,228,.6); }
.btn-ghost::before { background: rgba(247,240,228,.18); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn > * { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,240,228,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(64,52,47,.08);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem clamp(1.25rem, 4vw, 2.5rem); max-width: var(--maxw); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--burgundy); }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-word { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; }
.logo-word small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul { display: flex; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { font-size: .92rem; font-weight: 600; color: var(--brown); position: relative; padding: .3em 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--burgundy); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.site-nav a.is-active { color: var(--burgundy); }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.icon-btn { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--burgundy); border-radius: 50%; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(119,45,60,.08); }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--apricot); color: var(--brown); font-size: .65rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--burgundy); margin: 0 auto; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
    background: var(--cream); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 5.5rem 1.5rem 2rem; gap: 1.5rem;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s ease;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem,8vw,6rem) 0 clamp(2.5rem,6vw,4rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); align-items: center; }
.hero-shape { position: absolute; pointer-events: none; z-index: 0; transition: transform .1s linear; }
.hero-shape svg { width: 100%; height: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--sage); margin-bottom: 1rem; }
.hero-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(140deg, var(--burgundy), #5c2230); color: var(--cream); padding: clamp(3rem,6vw,4.5rem) 0 clamp(2.5rem,5vw,3.5rem); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--cream); }
.page-hero p { color: rgba(247,240,228,.85); max-width: 620px; }
.page-hero .breadcrumbs a, .page-hero .breadcrumbs span { color: rgba(247,240,228,.8); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: .5em; flex-wrap: wrap; font-size: .85rem; margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumbs li { display: flex; gap: .5em; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: "/"; opacity: .6; margin-left: .5em; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.breadcrumbs a:hover { text-decoration-color: currentColor; }

/* ---------- Cards / card stack ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.25rem 1.3rem 1.4rem; }
.card-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sage); margin-bottom: .4em; }
.card-price { font-family: var(--font-display); color: var(--burgundy); font-size: 1.2rem; }

.card-stack { display: grid; gap: 1.5rem; }
.card-stack .card { opacity: 1; }
@media (min-width: 720px) {
  .card-stack { grid-template-columns: repeat(3, 1fr); }
  .card-stack .card { transform: translateY(18px) rotate(-1.2deg); }
  .card-stack .card:nth-child(2) { transform: translateY(-6px) rotate(.6deg); }
  .card-stack .card:nth-child(3n) { transform: translateY(18px) rotate(1.2deg); }
  .card-stack.in-view .card, .card-stack .reveal.in-view { transform: translateY(0) rotate(0); }
}

/* ---------- Scroll-snap product strip ---------- */
.product-strip { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; }
.product-strip .card { flex: 0 0 240px; scroll-snap-align: start; }
@media (min-width: 860px) { .product-strip { overflow: visible; display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; } .product-strip .card { flex: initial; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 12% 0); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
  .reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
  .reveal[data-d="1"] { transition-delay: .08s; }
  .reveal[data-d="2"] { transition-delay: .16s; }
  .reveal[data-d="3"] { transition-delay: .24s; }
  .reveal[data-d="4"] { transition-delay: .32s; }
}

/* ---------- Dividers / ornaments ---------- */
.divider { display: block; width: 100%; height: 48px; margin: 0 auto; }
.divider svg { width: 100%; height: 100%; }
.seal { width: 92px; height: 92px; }

/* ---------- Icon sprite usage ---------- */
.icon { width: 26px; height: 26px; stroke: var(--burgundy); fill: none; stroke-width: 1.6; }

/* ---------- Feature section (signature feature) ---------- */
.pairing-tool { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem,4vw,2.5rem); }
.pairing-tool select { width: 100%; }
.pairing-result { background: var(--cream); border: 1px dashed var(--sage); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-top: 1rem; min-height: 60px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.field { display: flex; flex-direction: column; gap: .4em; font-size: .92rem; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .75em .9em; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(64,52,47,.2); background: var(--white); color: var(--ink); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-error { color: var(--burgundy); font-size: .82rem; font-weight: 600; min-height: 1.2em; }
.field-hint { font-weight: 400; color: #6b5c54; font-size: .82rem; }
.form-error { background: rgba(119,45,60,.08); color: var(--burgundy); padding: .8em 1em; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 1rem; }
.form-success { background: rgba(98,119,90,.12); color: var(--sage); padding: .8em 1em; border-radius: var(--radius-sm); font-weight: 700; }
.checkbox-field { display: flex; align-items: flex-start; gap: .6em; font-weight: 400; font-size: .9rem; }
.checkbox-field input { min-height: auto; width: 18px; height: 18px; margin-top: .2em; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Notice / badges ---------- */
.notice { display: flex; gap: .8em; align-items: flex-start; background: rgba(233,182,109,.2); border: 1px solid var(--apricot); border-radius: var(--radius-sm); padding: 1em 1.2em; }
.notice.sage { background: rgba(98,119,90,.12); border-color: var(--sage); }
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; background: var(--rose); color: var(--burgundy); }
.badge.sage { background: rgba(98,119,90,.18); color: var(--sage); }

/* ---------- Prose / legal pages ---------- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.legal-toc { background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.legal-toc h2 { font-size: 1.1rem; margin-bottom: .6em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: .9rem; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: .2rem 1.3rem; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--burgundy); padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1em; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--sage); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.1rem; margin: 0; color: #5a4c45; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: flex-start; }
.product-gallery { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-info .card-price { font-size: 1.8rem; display: block; margin: .4em 0; }
.product-meta { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: .8rem; margin: 1.4rem 0; }
.product-meta div { background: var(--white); border-radius: var(--radius-sm); padding: .8em 1em; box-shadow: var(--shadow); }
.product-meta dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sage); font-weight: 700; }
.product-meta dd { margin: .2em 0 0; font-weight: 600; }
.product-tabs { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.product-tabs section h3 { border-bottom: 2px solid var(--rose); padding-bottom: .3em; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 1em 1.1em; text-align: left; border-bottom: 1px solid rgba(64,52,47,.08); }
.cart-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sage); }
.cart-table .qty-input { width: 64px; min-height: 40px; padding: .4em; border-radius: var(--radius-sm); border: 1.5px solid rgba(64,52,47,.2); }
.cart-summary { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: .95rem; }
.cart-summary-row.total { font-family: var(--font-display); font-size: 1.3rem; color: var(--burgundy); border-top: 1px solid rgba(64,52,47,.12); padding-top: .7rem; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: flex-start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.checkout-steps { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; list-style: none; padding: 0; }
.checkout-steps li { font-size: .78rem; font-weight: 700; padding: .5em 1em; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); color: var(--sage); }
.checkout-steps li.is-active { background: var(--burgundy); color: var(--cream); }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gap); align-items: flex-start; }
.contact-info { background: var(--burgundy); color: var(--cream); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info a { color: var(--apricot); }
.contact-info .icon { stroke: var(--apricot); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sage); color: var(--cream); border-radius: var(--radius); padding: clamp(2rem,5vw,3rem); text-align: center; }
.newsletter h2 { color: var(--cream); }
.newsletter-form { display: flex; gap: .8rem; max-width: 460px; margin: 1.4rem auto 0; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; min-height: 48px; border-radius: 999px; border: none; padding: 0 1.2em; }
.newsletter-form .btn { background: var(--apricot); color: var(--brown); border-color: var(--apricot); }
.newsletter-form .btn::before { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: rgba(247,240,228,.85); padding: clamp(3rem,6vw,4.5rem) 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 2rem; }
.footer-grid h3 { color: var(--apricot); font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6em; }
.footer-grid a { color: rgba(247,240,228,.85); }
.footer-grid a:hover { color: var(--apricot); }
.footer-bottom { border-top: 1px solid rgba(247,240,228,.15); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(247,240,228,.6); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 90; bottom: 1rem; left: 1rem; right: 1rem; max-width: 560px; margin: 0 auto; background: var(--brown); color: var(--cream); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-lg); }
.cookie-banner p { font-size: .88rem; color: rgba(247,240,228,.9); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .8rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(4rem,10vw,7rem) 0; }
.not-found .divider { max-width: 220px; margin: 1.5rem auto; }

/* ---------- Grain texture overlay ---------- */
.grain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .035; z-index: 1; mix-blend-mode: multiply; }

/* ---------- Page headers ---------- */
.page-hero { background: var(--white); padding: 3rem 0 2rem; }
.breadcrumbs { display: flex; gap: .5rem; align-items: center; font-size: .95rem; color: #666; flex-wrap: wrap; }
.breadcrumbs a { color: var(--burgundy); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin: 0 .4rem; color: #999; }

/* ---------- Product pages ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-gallery img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.product-info { display: flex; flex-direction: column; gap: 1.5rem; }
.product-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.product-tabs { display: flex; flex-direction: column; gap: 2rem; }
.product-tabs h2 { font-size: 1.3rem; margin: 0 0 1rem; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cards and badges ---------- */
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; cursor: pointer; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media { overflow: hidden; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.card-tag { display: inline-block; font-size: .75rem; padding: .35em .6em; background: rgba(118,45,60,.1); color: var(--burgundy); border-radius: 4px; font-weight: 600; }
.card-price { font-size: 1.2rem; font-weight: 600; color: var(--burgundy); margin-top: auto; }
.badge { display: inline-block; padding: .4em .8em; background: var(--apricot); color: var(--ink); border-radius: 4px; font-size: .85rem; font-weight: 600; }
.notice { padding: 1.5rem; border-radius: var(--radius); background: rgba(233,182,109,.08); border-left: 4px solid var(--apricot); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { padding: .75rem; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: .95rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--burgundy); background: #fafafa; }
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: .85rem; color: #666; margin-top: -.3rem; }
.field-error { padding: .8rem; background: #fef0f0; border-left: 3px solid #d32f2f; color: #d32f2f; border-radius: 4px; font-size: .9rem; }
.checkbox-field { display: flex; align-items: flex-start; gap: .7rem; }
.checkbox-field input { margin-top: .25rem; width: 18px; height: 18px; cursor: pointer; }
.checkbox-field label { cursor: pointer; font-weight: 400; }
.honeypot-field { display: none !important; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.faq-item summary { padding: 1.2rem; cursor: pointer; font-weight: 600; user-select: none; display: flex; justify-content: space-between; align-items: center; background: #fafafa; transition: background .2s ease; }
.faq-item summary:hover { background: #f5f5f5; }
.faq-item summary::after { content: "▼"; font-size: .8rem; color: var(--burgundy); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item > :not(summary) { padding: 1rem 1.2rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Long-form text ---------- */
.prose { max-width: 700px; margin: 0 auto; }
.prose h2, .prose h3 { margin-top: 1.8rem; margin-bottom: .8rem; }
.prose ul, .prose ol { margin: 1rem 0; padding-left: 1.5rem; }
.prose li { margin-bottom: .4rem; }
.prose code { background: #f5f5f5; padding: .2em .4em; border-radius: 3px; font-size: .9em; font-family: monospace; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th { background: var(--cream); padding: .75rem; text-align: left; font-weight: 600; border-bottom: 2px solid var(--burgundy); }
.prose td { padding: .75rem; border-bottom: 1px solid #ddd; }

/* ---------- Cart and checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }
.cart-table { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.cart-table table tr { border-bottom: 1px solid #eee; }
.cart-table td { padding: .8rem; vertical-align: middle; }
.cart-summary { display: flex; flex-direction: column; gap: 1rem; }
.cart-summary > div { background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 768px) { .cart-layout { grid-template-columns: 1fr; } }

/* COMPONENTS: .class - what it is
.container - centered max-width content wrapper
.section - vertical page section spacing
.section-head - centered intro text block above a section
.grid / .grid-2 / .grid-3 / .grid-4 - responsive auto-fit grids
.stack - vertical flex stack with gap
.btn / .btn-outline / .btn-ghost / .btn-sm / .btn-block - button variants with fill-sweep hover
.site-header / .site-header-inner - sticky site header bar
.logo / .logo-word - SVG logo mark + wordmark lockup
.site-nav - main navigation (desktop row, mobile off-canvas panel)
.nav-toggle - mobile hamburger button
.header-actions / .icon-btn / .cart-count - header icon buttons and cart badge
.hero / .hero-grid / .hero-shape / .hero-eyebrow / .hero-visual / .hero-actions - home hero section with parallax shapes
.page-hero - inner page top banner (title + breadcrumbs)
.breadcrumbs - breadcrumb trail list
.card / .card-media / .card-body / .card-tag / .card-price - generic content/product card
.card-stack - fanning card layout for home sections
.product-strip - horizontal scroll-snap product carousel (mobile)
.reveal - scroll-reveal animation hook (IntersectionObserver adds .in-view)
.divider / .seal - decorative SVG dividers and seal/badge graphics
.icon - stroke icon from the sprite via <use>
.pairing-tool / .pairing-result - signature flavor-pairing feature widget
.form-grid / .field / .field-error / .field-hint / .form-error / .form-success - form layout and states
.checkbox-field / .honeypot-field - consent checkbox and hidden spam-trap field
.notice / .badge - inline callout box and small status badges
.prose - readable long-form legal/article text measure
.legal-toc - table of contents box for legal pages
.faq / .faq-item - FAQ accordion (details/summary)
.product-detail / .product-gallery / .product-info / .product-meta / .product-tabs - product page layout
.cart-table / .cart-summary / .cart-layout / .checkout-steps - cart and checkout layout
.contact-layout / .contact-info - contact page two-column layout
.newsletter / .newsletter-form - newsletter signup block
.site-footer / .footer-grid / .footer-bottom - site footer
.cookie-banner / .cookie-actions - cookie consent banner
.not-found - 404 page layout
.grain - fixed full-screen SVG noise texture overlay
*/

/* wg-contrast-autofix */
div.container div.footer-grid div p.field-hint { color: #ffffff !important; }
div.cookie-banner p a { color: #ffffff !important; }
