/* Sabores Especiados - Parisian Spice Atelier / Forest-mist interpreted in warm spice tones */
:root {
  --terracotta: #A94F35;
  --saffron: #D6A14B;
  --cream: #FAF1E4;
  --olive: #536B4D;
  --pepper: #302A27;
  --copper: #BA7550;
  --white: #FFFFFF;
  --plum: #5B3A4A;
  --blush: #E9C2B8;
  --gold: #D6A14B;
  --font-display: "Palatino Linotype", "Georgia", "Iowan Old Style", serif;
  --font-body: "Segoe UI", "Inter", -apple-system, system-ui, sans-serif;
  --radius: 18px;
  --shadow-1: 0 18px 40px -20px rgba(48,42,39,.35);
  --measure: 68ch;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--pepper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.12; color: var(--pepper); }
a { color: var(--terracotta); text-decoration: none; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--pepper); color: var(--white); padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; opacity: .5; mix-blend-mode: overlay; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,241,228,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(48,42,39,.08); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.2rem; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .5rem; color: var(--pepper); }
.logo-word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; }
.logo-word em { font-style: normal; color: var(--terracotta); font-weight: 600; }
.main-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a { color: var(--pepper); font-size: .95rem; position: relative; padding: .3em 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--terracotta); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--pepper); background: transparent; border: none; cursor: pointer; }
.icon-btn:hover { background: rgba(169,79,53,.1); }
.cart-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; border-radius: 50%; background: var(--terracotta); color: var(--white); font-size: .68rem; display: grid; place-items: center; padding: 0 3px; }
.cart-count.bump { animation: cartBump .4s ease; }
@keyframes cartBump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }
.nav-toggle { display: none; }
.nav-close { display: none; }
.nav-scrim { position: fixed; inset: 0; background: rgba(48,42,39,.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 98; }
.nav-scrim.open { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(84vw, 340px); background: var(--white); box-shadow: var(--shadow-1); padding: 5.5rem 1.6rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; z-index: 99; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .3rem; }
  .main-nav a { display: block; padding: .7em 0; font-size: 1.05rem; }
  .nav-close { display: grid; position: absolute; top: 1.2rem; right: 1.2rem; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--cream); place-items: center; }
  body.nav-locked { overflow: hidden; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 1.5px solid transparent; position: relative; overflow: hidden; isolation: isolate; min-height: 44px; }
.btn-fill { background: var(--terracotta); color: var(--white); }
.btn-fill::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--pepper); z-index: -1; transition: left .35s ease; }
.btn-fill:hover::before { left: 0; }
.btn-outline { background: transparent; color: var(--pepper); border-color: var(--pepper); }
.btn-outline:hover { background: var(--pepper); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-dark { background: var(--pepper); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ===== Layout utilities ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.2rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}.mb-1{margin-bottom:1rem}.mb-2{margin-bottom:2rem}.mb-3{margin-bottom:3rem}

/* ===== Reveal animation ===== */
.reveal { opacity: 1; transform: none; }
.reveal.js-armed { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 15% 0); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), clip-path .7s cubic-bezier(.2,.7,.2,1); }
.reveal.js-armed.in-view { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal.js-armed { transition: none; opacity: 1; transform: none; clip-path: none; } }

/* ===== Page hero (inner pages) ===== */
.page-hero { position: relative; padding: clamp(3.5rem,8vw,6rem) 0 clamp(2.5rem,5vw,3.5rem); background: linear-gradient(135deg, var(--plum) 0%, var(--pepper) 60%); color: var(--cream); overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:-20%; background: radial-gradient(circle at 20% 20%, rgba(214,161,75,.25), transparent 55%), radial-gradient(circle at 80% 70%, rgba(169,79,53,.3), transparent 55%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--white); }
.page-hero p { color: var(--blush); max-width: 60ch; font-size: 1.05rem; }

.breadcrumbs { list-style: none; display: flex; gap: .4rem; flex-wrap: wrap; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--blush); }
.breadcrumbs li::after { content: "/"; margin-left: .4rem; opacity: .6; }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--blush); text-decoration: underline; }

/* ===== Prose / legal ===== */
.prose { max-width: var(--measure); margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.legal-toc { background: var(--white); border: 1px solid rgba(48,42,39,.1); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 0 0 2rem; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; gap: 1rem; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* ===== Notices ===== */
.notice { border-radius: var(--radius); padding: 1rem 1.3rem; border: 1px solid; font-size: .92rem; margin-bottom: 1.5rem; }
.notice-info { background: #EEF3EC; border-color: var(--olive); color: #2f3f2b; }
.notice-warning { background: #FBEFE2; border-color: var(--saffron); color: #6a4a12; }
.notice-demo { background: #FDECE6; border-color: var(--terracotta); color: #7a2e1a; font-weight: 600; }

/* ===== Cards / products ===== */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(48,42,39,.4); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--blush); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-body h3 { font-size: 1.1rem; margin-bottom: .3em; }
.card-price { font-weight: 700; color: var(--terracotta); font-size: 1.05rem; }
.card-tag { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; background: var(--olive); color: var(--white); padding: .25em .6em; border-radius: 999px; margin-bottom: .5em; }

.scroll-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.scroll-strip > * { scroll-snap-align: start; min-width: 260px; }

/* ===== Product detail ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 1/1; }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-meta dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .92rem; }
.product-meta dt { color: var(--copper); font-weight: 600; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.3rem 0; }
.qty-input { width: 72px; padding: .6em; border-radius: 10px; border: 1.5px solid rgba(48,42,39,.2); font-size: 1rem; }

/* ===== Cart / checkout ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .9rem .6rem; text-align: left; border-bottom: 1px solid rgba(48,42,39,.1); font-size: .92rem; }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-1); position: sticky; top: calc(var(--header-h) + 20px); }
.cart-summary dl { display: flex; justify-content: space-between; margin: .4rem 0; font-size: .95rem; }
.cart-summary .total-row { font-weight: 700; font-size: 1.15rem; border-top: 1px solid rgba(48,42,39,.15); padding-top: .7rem; margin-top: .7rem; }

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--pepper); }
.field input, .field select, .field textarea { padding: .75em .9em; border-radius: 10px; border: 1.5px solid rgba(48,42,39,.2); background: var(--white); font: inherit; accent-color: var(--terracotta); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field-error { color: var(--terracotta); font-size: .8rem; min-height: 1.1em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.3em; font-size: .9rem; }
.form-msg-ok { color: var(--olive); font-weight: 600; }
.form-msg-error { color: var(--terracotta); font-weight: 600; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid rgba(48,42,39,.12); padding: .3rem 0; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 1rem .2rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--terracotta); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 .2rem 1.1rem; color: #4a433f; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { background: var(--pepper); color: var(--cream); border-radius: var(--radius); padding: 2rem; }
.contact-info h3 { color: var(--saffron); }
.contact-info a { color: var(--blush); }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .8rem; }

/* ===== Footer ===== */
.site-footer { background: var(--pepper); color: var(--cream); padding: 4rem 0 0; position: relative; z-index: 2; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.2rem; display: grid; grid-template-columns: 1.3fr 2fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .logo { color: var(--cream); margin-bottom: .6rem; }
.footer-brand p { color: var(--blush); font-size: .88rem; }
.legal-line { font-size: .78rem; color: rgba(250,241,228,.6); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h3 { color: var(--saffron); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: var(--blush); font-size: .9rem; }
.footer-col a:hover { color: var(--white); }
.newsletter-form h3 { color: var(--saffron); font-size: 1rem; }
.newsletter-form p { color: var(--blush); font-size: .85rem; }
.field-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.field-row input { flex: 1; min-width: 160px; padding: .7em .9em; border-radius: 10px; border: none; }
.footer-bottom { max-width: 1280px; margin: 2.5rem auto 0; padding: 1.4rem 1.2rem; border-top: 1px solid rgba(250,241,228,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; color: rgba(250,241,228,.75); }
.footer-bottom a { color: var(--blush); display: inline-flex; align-items: center; gap: .4em; }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 640px; margin: 0 auto; background: var(--pepper); color: var(--cream); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-1); z-index: 150; }
.cookie-banner p { font-size: .88rem; color: var(--blush); margin-bottom: .9rem; }
.cookie-banner a { color: var(--saffron); }
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ===== Decorative dividers ===== */
.divider { width: 100%; height: auto; display: block; color: var(--copper); }

@media (max-width: 390px) { .container { padding: 0 1rem; } }

/* COMPONENTS: .container - max-width centered wrapper */
/* COMPONENTS: .section - vertical page section spacing */
/* COMPONENTS: .grid/.grid-2/.grid-3/.grid-4 - responsive grid layouts */
/* COMPONENTS: .btn/.btn-fill/.btn-outline/.btn-ghost/.btn-dark - button variants with fill-sweep hover */
/* COMPONENTS: .reveal/.js-armed/.in-view - scroll reveal animation hooks */
/* COMPONENTS: .page-hero - dark gradient hero banner for inner pages */
/* COMPONENTS: .breadcrumbs - small breadcrumb trail list */
/* COMPONENTS: .prose - readable long-form legal/article text column */
/* COMPONENTS: .legal-toc - table of contents box for legal pages */
/* COMPONENTS: .notice/.notice-info/.notice-warning/.notice-demo - callout boxes */
/* COMPONENTS: .card/.card-media/.card-body/.card-price/.card-tag - product/content card */
/* COMPONENTS: .scroll-strip - horizontal snap-scroll row on mobile */
/* COMPONENTS: .product-detail/.product-gallery/.product-meta/.product-actions/.qty-input - product page layout */
/* COMPONENTS: .cart-table/.cart-summary - cart and checkout summary layout */
/* COMPONENTS: .form-grid/.field/.field-error/.hp-field/.form-msg - form building blocks */
/* COMPONENTS: .faq-item - details/summary accordion row */
/* COMPONENTS: .contact-layout/.contact-info - contact page split layout */
/* COMPONENTS: .site-header/.main-nav/.header-actions/.icon-btn/.cart-count - header & nav */
/* COMPONENTS: .site-footer/.footer-nav/.footer-col/.newsletter-form - footer */
/* COMPONENTS: .cookie-banner/.cookie-actions - cookie consent banner */
/* COMPONENTS: .grain-overlay - fixed SVG noise texture over the page */
/* COMPONENTS: .divider - decorative SVG section divider */

/* ===== Hero (homepage) ===== */
.hero { position: relative; padding: clamp(4rem,10vw,8rem) 0; background: linear-gradient(135deg, var(--plum) 0%, var(--pepper) 60%); color: var(--cream); overflow: hidden; }
.hero::before { content:""; position:absolute; inset:-20%; background: radial-gradient(circle at 20% 20%, rgba(214,161,75,.25), transparent 55%), radial-gradient(circle at 80% 70%, rgba(169,79,53,.3), transparent 55%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--white); }
.hero p { color: var(--blush); max-width: 70ch; font-size: 1.1rem; }

/* ===== FAQ section ===== */
.faq { max-width: 900px; margin: 0 auto; }

/* ===== Product specs ===== */
.product-specs { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-1); margin: 1.5rem 0; }
.product-specs dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; font-size: .95rem; }
.product-specs dt { color: var(--copper); font-weight: 600; }
.product-specs dd { margin: 0; padding-bottom: .6rem; }
@media (max-width: 600px) { .product-specs dl { grid-template-columns: 1fr; gap: .8rem; } }

/* wg-contrast-autofix */
#cookieConfig { color: #ffffff !important; }
