/* Bienestar Puro — design system */
:root {
  --teal-900: #0f3d3e;
  --teal-700: #1c5f5f;
  --teal-500: #2f8787;
  --mustard: #e8c659;
  --mustard-deep: #c99c2e;
  --ivory: #f3ecdc;
  --ivory-2: #ece2cc;
  --ink: #1a1a16;
  --paper: #fbf8f1;
  --line: rgba(15,61,62,.18);
  --radius: 14px;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 68ch;
  --shadow-1: 0 10px 30px -14px rgba(15,61,62,.35);
  --shadow-2: 0 18px 46px -20px rgba(15,61,62,.45);
}
html, body { overflow-x: clip; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mustard-deep); outline-offset: 2px; border-radius: 4px; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__word { width: 150px; height: 28px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  text-decoration: none; font-size: .95rem; letter-spacing: .02em; color: var(--teal-900);
  position: relative; padding-bottom: 3px;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--mustard-deep); transition: width .25s ease;
}
.nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { width: 100%; }
.nav__menu a[aria-current="page"] { color: var(--mustard-deep); font-weight: 600; }
.nav__cart {
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  border: 1px solid var(--teal-900); border-radius: 999px; padding: .45rem .9rem;
  color: var(--teal-900); font-size: .9rem;
}
.nav__cart svg { width: 18px; height: 18px; }
[data-cart-count] {
  display: inline-flex; min-width: 1.4em; height: 1.4em; align-items: center; justify-content: center;
  background: var(--mustard); color: var(--teal-900); border-radius: 999px; font-size: .75rem; font-weight: 700;
}
[data-cart-count].bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--teal-900); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 30%; top: 0; height: 100vh;
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 2rem; gap: 1.6rem; background: var(--teal-900);
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease;
  }
  .nav__menu.is-open { transform: translateX(0); visibility: visible; }
  .nav__menu a { color: var(--ivory); font-size: 1.1rem; }
  .nav__cart { color: var(--teal-900); background: var(--ivory); border-color: var(--ivory); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.hero__headline {
  font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 0 1rem; color: var(--teal-900);
}
.hero__headline .word {
  display: inline-block; opacity: 0; transform: translateY(1em);
  animation: word-rise .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@media (prefers-reduced-motion: reduce) { .hero__headline .word { opacity: 1; transform: none; animation: none; } }
@keyframes word-rise { to { opacity: 1; transform: translateY(0); } }
.hero__lede { font-size: 1.1rem; max-width: 36ch; color: var(--teal-700); }
.hero__collage { position: relative; aspect-ratio: 1/1; }
.hero__collage img {
  position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-2);
}
.hero__collage .ph-1 { width: 68%; height: 72%; top: 0; right: 0; }
.hero__collage .ph-2 { width: 46%; height: 42%; left: 0; bottom: 6%; border: 6px solid var(--paper); }
.hero__collage .shape { position: absolute; z-index: -1; }
.hero__collage .shape--pattern { top: -8%; left: -10%; width: 55%; height: 55%; opacity: .5; }
.hero__caption {
  position: absolute; bottom: -10px; left: 8%; background: var(--mustard); color: var(--teal-900);
  padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow-1);
}

/* ---------- Grain overlay ---------- */
.grain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; z-index: 1; mix-blend-mode: multiply; }

/* ---------- Sections / page hero (inner pages) ---------- */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--ivory); }
.page-hero {
  background: var(--teal-900); color: var(--ivory); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.page-hero h1 { color: var(--ivory); font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--ivory-2); max-width: 60ch; }
.page-hero .ornament { position: absolute; right: -4%; top: -10%; width: 42%; opacity: .25; }

.breadcrumbs { display: flex; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .85rem; color: var(--ivory-2); flex-wrap: wrap; }
.breadcrumbs a { color: var(--ivory-2); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; }

/* ---------- Section heading ---------- */
.section-head { max-width: 60ch; margin: 0 0 2rem; }
.section-head__kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mustard-deep); font-weight: 700; margin-bottom: .5rem;
}

/* ---------- Divider SVGs ---------- */
.divider { width: 100%; height: auto; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: color .25s ease, transform .15s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; left: -100%; width: 100%; z-index: -1;
  transition: left .3s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal-900); color: var(--ivory); }
.btn-primary::before { background: var(--mustard-deep); }
.btn-primary:hover { color: var(--teal-900); }
.btn-primary:hover::before { left: 0; }
.btn-ghost { border-color: var(--teal-900); color: var(--teal-900); background: transparent; }
.btn-ghost::before { background: var(--teal-900); }
.btn-ghost:hover { color: var(--ivory); }
.btn-ghost:hover::before { left: 0; }
.btn-ghost--dark { border-color: var(--ivory); color: var(--ivory); }
.btn-ghost--dark::before { background: var(--ivory); }
.btn-ghost--dark:hover { color: var(--teal-900); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Cards / collage ---------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; }

/* ---------- Product grid / strip ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.product-strip {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
}
.product-strip .card { min-width: 230px; scroll-snap-align: start; }
.product-card__price { font-weight: 700; color: var(--teal-900); }
.product-card__old { text-decoration: line-through; color: #9a9a8c; font-size: .85rem; margin-right: .4rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.product-detail__media img { border-radius: var(--radius); box-shadow: var(--shadow-1); aspect-ratio: 1/1; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--teal-900); }
.product-detail__list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.product-detail__list li { padding-left: 1.5rem; position: relative; }
.product-detail__list li::before { content: ""; position: absolute; left: 0; top: .4em; width: 10px; height: 10px; background: var(--mustard); border-radius: 50%; }
.qty-input { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-input button { border: none; background: var(--ivory); width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer; }
.qty-input input { width: 48px; border: none; text-align: center; font-size: 1rem; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .9rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-summary {
  background: var(--ivory); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .7rem; align-self: start;
}
.cart-summary__row { display: flex; justify-content: space-between; }
.cart-summary__total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--teal-700); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--teal-900); }
.field input, .field select, .field textarea {
  font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  accent-color: var(--teal-700);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-700); }
.field-error { color: #a1382e; font-size: .82rem; min-height: 1.1em; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; accent-color: var(--mustard-deep); }
.honeypot-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; margin: 1rem 0; }
.notice-success { background: #e4f3e1; color: #28602a; }
.notice-error { background: #fbe4e1; color: #a1382e; }
.notice-info { background: var(--ivory); color: var(--teal-900); }

/* ---------- Prose / legal pages ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2rem; color: var(--teal-900); }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose a { color: var(--teal-700); text-decoration: underline; }
.legal-toc { background: var(--ivory); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.legal-toc h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.3rem; }
.legal-toc a { color: var(--teal-900); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: var(--measure); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem 1.2rem; }
.faq-item summary { cursor: pointer; padding: 1rem 0; font-weight: 700; color: var(--teal-900); 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.4rem; color: var(--mustard-deep); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 1rem; color: var(--teal-700); }

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { background: var(--teal-900); color: var(--ivory); border-radius: var(--radius); padding: 1.8rem; }
.contact-info a { color: var(--mustard); }
.contact-info__list { list-style: none; padding: 0; display: grid; gap: .8rem; margin: 1rem 0 0; }
.contact-info__list li { display: flex; align-items: center; gap: .7rem; }
.contact-info__list svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 760px) { .contact-layout, .product-detail { grid-template-columns: 1fr; } }

/* ---------- Signature feature: Ritual Finder ---------- */
.ritual {
  background: var(--teal-900); color: var(--ivory); border-radius: 24px; padding: clamp(1.8rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.ritual__pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; }
.ritual__grid { position: relative; z-index: 1; display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .ritual__grid { grid-template-columns: 1fr; } }
.ritual__options { display: grid; gap: .9rem; }
.ritual__group { display: grid; gap: .5rem; }
.ritual__group legend { font-weight: 700; color: var(--mustard); margin-bottom: .3rem; }
.ritual__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.ritual__pills label {
  border: 1px solid var(--ivory); border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.ritual__pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ritual__pills input:checked + span,
.ritual__pills label:has(input:checked) { background: var(--mustard); color: var(--teal-900); font-weight: 700; }
.ritual__result { background: rgba(243,236,220,.08); border: 1px dashed var(--ivory-2); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .6rem; align-content: start; }
.ritual__result h3 { color: var(--mustard); margin: 0; }

/* ---------- Newsletter / footer ---------- */
.site-footer { background: var(--teal-900); color: var(--ivory-2); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-grid > div { min-width: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-grid h3 { color: var(--ivory); font-size: 1rem; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--ivory-2); text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { text-decoration: underline; }
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-logo svg { width: 36px; height: 36px; max-width: 100%; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .6rem; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 160px; padding: .65rem .9rem; border-radius: 999px; border: 1px solid var(--ivory-2); background: transparent; color: var(--ivory); }
.newsletter-form input::placeholder { color: var(--ivory-2); }
.footer-bottom { border-top: 1px solid rgba(243,236,220,.2); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--ivory-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 90;
  background: var(--teal-900); color: var(--ivory); border-radius: var(--radius); padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; box-shadow: var(--shadow-2);
  max-width: 720px; margin-inline: auto;
}
.cookie-banner p { margin: 0; font-size: .88rem; color: var(--ivory-2); flex: 1 1 260px; }
.cookie-banner a { color: var(--mustard); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex: none; }

/* ---------- Toast ---------- */
.bp-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--teal-900); color: var(--ivory);
  padding: .8rem 1.2rem; border-radius: 10px; box-shadow: var(--shadow-2); z-index: 100;
  opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease;
}
.bp-toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease, clip-path .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ---------- Utilities ---------- */
.flow > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.text-center { text-align: center; }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--ivory); color: var(--teal-900); border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 700; }

/* COMPONENTS:
.container - centered max-width content wrapper
.site-header / .site-header__bar - sticky top header bar
.logo / .logo__mark / .logo__word - site logo mark + wordmark SVGs
.nav / .nav__menu / .nav__cart / .nav__toggle - primary navigation, cart link, mobile burger
[data-cart-count] - cart item count badge (bump animation on .bump)
.hero / .hero__grid / .hero__headline / .hero__lede / .hero__collage / .hero__caption - home hero composition
.grain - full-viewport fixed grain texture overlay
.section / .section--alt - generic vertical section spacing, alt background variant
.page-hero - dark hero banner for inner pages
.breadcrumbs - breadcrumb trail list for inner pages
.section-head / .section-head__kicker - section heading block with eyebrow label
.divider - full-width decorative SVG divider
.btn / .btn-primary / .btn-ghost / .btn-ghost--dark / .btn-sm / .btn-block - button variants with fill-sweep hover
.card / .card__media / .card__body - generic lift+zoom card
.product-grid / .product-strip / .product-card__price / .product-card__old - catalog grid and mobile scroll-snap strip
.product-detail / .product-detail__media / .product-detail__price / .product-detail__list - product page layout
.qty-input - quantity stepper control
.cart-table / .cart-summary / .cart-summary__row / .cart-summary__total / .cart-empty - cart/checkout layout
.form-grid / .field / .field-error / .honeypot-field - form layout and validation
.notice / .notice-success / .notice-error / .notice-info - inline form/page notices
.prose - readable long-form legal/content text column
.legal-toc - table of contents box for legal pages
.faq / .faq-item - details/summary FAQ accordion
.contact-layout / .contact-info / .contact-info__list - contact page split layout
.ritual / .ritual__pattern / .ritual__grid / .ritual__options / .ritual__group / .ritual__pills / .ritual__result - signature "Ritual Finder" feature
.site-footer / .footer-grid / .footer-logo / .newsletter-form / .footer-bottom - site footer
.cookie-banner / .cookie-banner__actions - cookie consent banner
.bp-toast - transient toast message
.reveal / .in-view - scroll-reveal animation hook
.flow / .mt-* / .mb-* / .grid-2 / .grid-3 / .text-center / .badge - spacing & layout utilities
*/

/* ---------- Cart qty update & remove ---------- */
.qty-update {
  font: inherit;
  padding: .5rem .6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  accent-color: var(--teal-700);
  font-size: .95rem;
}
.qty-update:focus { border-color: var(--teal-700); outline: none; }

.btn-remove {
  background: none;
  border: none;
  color: var(--teal-700);
  cursor: pointer;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  transition: color .2s ease;
}
.btn-remove:hover { color: var(--mustard-deep); }
.btn-remove:active { transform: scale(0.9); }

.product-detail__body {
  /* right column container for product info */
}

/* wg-contrast-autofix */
nav.nav ul.nav__menu li a { color: #111111 !important; }
main section.section.container div.section-head.text-center span.section-head__kicker { color: #111111 !important; }
section.section.section--alt div.container div.section-head span.section-head__kicker { color: #111111 !important; }
div.cookie-banner div.cookie-banner__actions button.btn.btn-ghost--dark { color: #111111 !important; }
