/* callebaut.com.ar — identidad Callebaut® (crema, chocolate, dorado, Marcellus)
   con el lenguaje de Keto & Co (Poppins, pills, verde de confirmación). */

:root {
  --cream: #f5f1e8;
  --cream-2: #ece4d4;
  --paper: #fffdf9;
  --choco: #2a1810;
  --choco-2: #3a2317;
  --cocoa: #6b4430;
  --gold: #a87c43;
  --gold-soft: #efe4cf;
  --text: #3a302b;
  --muted: #776a60;
  --line: #e2d7c5;
  --green: #4bb064;
  --green-bright: #55c471;
  --green-dark: #2f7341;
  --green-soft: #dceee1;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Poppins", Arial, sans-serif;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1200px;
  --shadow: 0 24px 60px rgba(42, 24, 16, .12);
  --shadow-sm: 0 10px 30px rgba(42, 24, 16, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--choco); font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; color: var(--cream); background: var(--choco); border-radius: 10px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid rgba(168, 124, 67, .55); outline-offset: 3px; }

.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .74rem; font-weight: 600; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: #d9b77f; }

/* ---------------------------------------------------------------- Botones */

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; color: var(--cream); background: var(--choco); border: 2px solid var(--choco); border-radius: 999px; font-size: .9rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s, border-color .16s, color .16s, transform .16s; }
.button:hover { background: var(--cocoa); border-color: var(--cocoa); transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button--ghost { color: var(--choco); background: transparent; }
.button--ghost:hover { color: var(--cream); background: var(--choco); border-color: var(--choco); }
.button--green { color: #0f2a17; background: var(--green-bright); border-color: var(--green-bright); }
.button--green:hover { background: #6fcd87; border-color: #6fcd87; }
.button--light { color: var(--choco); background: var(--cream); border-color: var(--cream); }
.button--light:hover { color: var(--choco); background: #fff; border-color: #fff; }
.button--small { min-height: 42px; padding: 0 18px; font-size: .82rem; }
.button--large { min-height: 60px; font-size: 1rem; }
.button--block { width: 100%; }
.link-button { padding: 0; color: var(--cocoa); background: none; border: 0; font-size: .8rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--choco); background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.icon-button:hover { background: var(--cream-2); }

/* ----------------------------------------------------------------- Header */

.topbar { color: var(--cream); background: var(--choco); font-size: .76rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar strong { font-weight: 600; color: #e5c690; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(42, 24, 16, .08); }
.site-header__inner { display: flex; align-items: center; gap: 22px; min-height: 92px; transition: min-height .2s; }
.site-header.is-scrolled .site-header__inner { min-height: 74px; }
.brand { display: block; width: 150px; flex: none; }
.partner { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid var(--line); color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .12em; line-height: 1.25; text-decoration: none; text-transform: uppercase; }
.partner img { width: 56px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: .88rem; font-weight: 500; }
.site-nav a { padding: 6px 0; color: var(--choco); text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--gold); }
.cart-button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; color: var(--cream); background: var(--choco); border: 0; border-radius: 999px; font-size: .86rem; font-weight: 600; cursor: pointer; }
.cart-button:hover { background: var(--cocoa); }
.cart-button__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; color: #0f2a17; background: var(--green-bright); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.back-link { margin-left: auto; color: var(--choco); font-size: .88rem; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- Hero */

.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); background: radial-gradient(circle at 85% 20%, rgba(168, 124, 67, .14), transparent 30rem), var(--cream); }
.hero__emblem { position: absolute; top: -60px; left: -90px; width: 360px; opacity: .05; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 640px; }
.hero__lead { max-width: 560px; margin-bottom: 30px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.hero__lead strong { color: var(--choco); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: 2px; padding: 18px 16px 0 0; }
.hero__facts strong { color: var(--choco); font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.hero__facts span { color: var(--muted); font-size: .76rem; line-height: 1.4; }

.hero__visual { position: relative; aspect-ratio: 1 / .92; }
.hero__disc { position: absolute; inset: 6% 8% 4% 10%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a3524 0%, var(--choco) 62%); box-shadow: var(--shadow); }
.hero__disc::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(229, 198, 144, .35); border-radius: 50%; }
.hero__product { position: absolute; margin: 0; overflow: hidden; background: #fff; border-radius: 26px; box-shadow: 0 26px 50px rgba(20, 10, 5, .28); }
.hero__product img { width: 100%; height: 100%; object-fit: contain; }
.hero__product--1 { top: 12%; left: 22%; width: 52%; aspect-ratio: 1; transform: rotate(-3deg); z-index: 2; }
.hero__product--2 { bottom: 4%; left: 2%; width: 34%; aspect-ratio: 1; transform: rotate(4deg); z-index: 3; }
.hero__product--3 { right: 0; bottom: 14%; width: 32%; aspect-ratio: 1; transform: rotate(-6deg); z-index: 1; }
.hero__seal { position: absolute; top: 4%; right: 6%; z-index: 4; display: grid; place-items: center; width: 108px; height: 108px; color: #0f2a17; background: var(--green-bright); border-radius: 50%; box-shadow: 0 12px 30px rgba(47, 115, 65, .35); font-size: .68rem; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-align: center; text-transform: uppercase; transform: rotate(10deg); }

/* --------------------------------------------------------- Distribuidor */

.partner-strip { background: var(--paper); border-block: 1px solid var(--line); }
.partner-strip__inner { display: flex; align-items: center; gap: 32px; min-height: 120px; padding-block: 24px; }
.partner-strip img { width: 84px; flex: none; }
.partner-strip p { margin: 0; max-width: 520px; font-size: .92rem; }
.partner-strip p strong { color: var(--choco); }
.partner-strip ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.partner-strip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; color: #204b2b; background: var(--green-soft); border-radius: 999px; font-size: .76rem; font-weight: 600; }
.partner-strip li::before { content: ""; width: 7px; height: 7px; background: var(--green); border-radius: 50%; }

/* --------------------------------------------------------------- Secciones */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-heading { max-width: 720px; margin-bottom: 40px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.04rem; }

/* ---------------------------------------------------------------- Catálogo */

.filters { display: grid; gap: 14px; margin-bottom: 12px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 18px; color: var(--choco); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--choco); }
.chip.is-active { color: var(--cream); background: var(--choco); border-color: var(--choco); }
.chips--small .chip { min-height: 34px; padding: 0 14px; font-size: .78rem; }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; }
.sort select { min-height: 38px; padding: 0 34px 0 14px; color: var(--choco); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a1810' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; appearance: none; cursor: pointer; }
.filters__count { margin: 0 0 22px; color: var(--muted); font-size: .8rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 18px 20px; }
.product-card__size { align-self: flex-start; padding: 3px 10px; color: var(--cocoa); background: var(--gold-soft); border-radius: 999px; font-size: .68rem; font-weight: 600; letter-spacing: .04em; }
.product-card__title { margin: 2px 0 auto; font-family: var(--sans); font-size: .92rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.product-card__title a { color: var(--choco); text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-card .price { margin: 8px 0 12px; }
.product-card.is-out .product-card__media img { opacity: .55; filter: grayscale(.4); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price strong { color: var(--choco); font-size: 1.12rem; font-weight: 600; }
.price del { color: var(--muted); font-size: .84rem; }
.price--large strong { font-size: 1.9rem; }
.price--large del { font-size: 1rem; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge--sale { color: #0f2a17; background: var(--green-bright); }
.badge--out { color: var(--cream); background: var(--muted); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ------------------------------------------------------------------- Guía */

.guide { background: var(--paper); border-block: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { position: relative; display: block; padding: 28px 28px 30px; color: inherit; background: var(--cream); border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.guide-card__swatch { display: block; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .18); }
.guide-card__swatch--811 { background: #4a2a1c; }
.guide-card__swatch--70 { background: #2b160e; }
.guide-card__swatch--823 { background: #8a5a3b; }
.guide-card__swatch--w2 { background: #f3e8d2; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .06), 0 0 0 1px var(--line); }
.guide-card__swatch--malchoc { background: #5b3a29; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .18), 0 0 0 3px var(--cream), 0 0 0 5px var(--green); }
.guide-card__swatch--cacao { background: linear-gradient(135deg, #e3c9a0 50%, #3a2317 50%); }
.guide-card__code { display: block; margin-bottom: 6px; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.guide-card h3 { margin-bottom: 10px; }
.guide-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.guide-card::after { content: "Ver productos →"; display: block; margin-top: 18px; color: var(--choco); font-size: .78rem; font-weight: 600; }

/* ------------------------------------------------------------------ Story */

.story { position: relative; overflow: hidden; color: #e9dfd0; background: var(--choco); }
.story h2, .story h3 { color: var(--cream); }
.story__emblem { position: absolute; right: -80px; bottom: -80px; width: 420px; opacity: .06; pointer-events: none; }
.story__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.story__grid > div > p { color: #cbbcaa; font-size: 1.04rem; }
.story__list { margin: 0; padding: 0; list-style: none; }
.story__list li { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(229, 198, 144, .18); }
.story__list li:first-child { padding-top: 0; }
.story__list span { color: #d9b77f; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.story__list h3 { margin-bottom: 6px; }
.story__list p { margin: 0; color: #cbbcaa; font-size: .92rem; }

/* ---------------------------------------------------------- Envíos y pagos */

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-card ul { margin: 0; padding: 0; list-style: none; }
.info-card li { position: relative; padding: 9px 0 9px 22px; color: var(--muted); font-size: .9rem; }
.info-card li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.info-card li strong { color: var(--choco); font-weight: 600; }
.info-card--accent { background: var(--green-soft); border-color: transparent; }
.info-card--accent h3 { border-color: rgba(47, 115, 65, .2); }
.info-card--accent li::before { background: var(--green); }

/* --------------------------------------------------------------------- FAQ */

.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--choco); font-weight: 500; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--choco); border: 1px solid var(--line); border-radius: 50%; font-size: 1.1rem; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: -6px 0 22px; color: var(--muted); font-size: .92rem; }
.section-heading a { color: var(--choco); font-weight: 600; }

/* ----------------------------------------------------------------- Cierre */

.closing { padding: 0 0 clamp(64px, 8vw, 104px); background: var(--paper); }
.closing__panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); color: #e9dfd0; background: linear-gradient(120deg, var(--choco) 0%, #4a2c1d 60%, var(--gold) 140%); border-radius: var(--radius-lg); }
.closing__panel h2 { margin-bottom: 8px; color: var(--cream); }
.closing__panel p { margin: 0; }

/* ----------------------------------------------------------------- Footer */

.site-footer { padding: 64px 0 32px; color: #cbbcaa; background: var(--choco-2); font-size: .86rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(229, 198, 144, .16); }
.site-footer__brands { display: flex; align-items: center; gap: 24px; }
.site-footer__brands img:first-child { width: 150px; }
.site-footer__brands img:last-child { width: 64px; }
.site-footer__divider { width: 1px; height: 54px; background: rgba(229, 198, 144, .3); }
.site-footer h2 { margin-bottom: 14px; color: var(--cream); font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer__legal { padding-top: 24px; font-size: .74rem; color: #a89886; }
.site-footer__legal p { margin: 0 0 4px; }

/* ----------------------------------------------------------------- Drawer */

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(30, 18, 12, .45); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--paper); box-shadow: -20px 0 60px rgba(20, 10, 5, .2); transform: translateX(100%); transition: transform .25s ease; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 26px; border-bottom: 1px solid var(--line); }
.drawer__header h2 { margin: 0; font-size: 1.6rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer__empty { display: grid; justify-items: center; gap: 4px; padding: 60px 0; color: var(--muted); text-align: center; }
.drawer__footer { padding: 20px 26px 24px; background: var(--cream); border-top: 1px solid var(--line); }
.drawer__row { display: flex; justify-content: space-between; color: var(--choco); font-size: 1.05rem; }
.drawer__note { margin: 4px 0 16px; color: var(--muted); font-size: .76rem; }
.drawer__footer .link-button { display: block; margin: 14px auto 0; }

.cart-lines { margin: 0; padding: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line img, .cart-line__ph { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cart-line__info { display: grid; gap: 2px; font-size: .84rem; }
.cart-line__info a { color: var(--choco); font-weight: 500; text-decoration: none; }
.cart-line__price { color: var(--muted); font-size: .76rem; }
.cart-line__actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cart-line__total { color: var(--choco); font-size: .9rem; font-weight: 600; white-space: nowrap; }

.qty { display: inline-flex; align-items: center; height: 52px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 44px; height: 100%; padding: 0; color: var(--choco); background: none; border: 0; font-size: 1.2rem; cursor: pointer; }
.qty button:disabled { opacity: .35; cursor: default; }
.qty input { width: 48px; height: 100%; padding: 0; text-align: center; background: none; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small { height: 32px; }
.qty--small button { width: 30px; font-size: 1rem; }
.qty--small span { min-width: 22px; font-size: .82rem; font-weight: 600; text-align: center; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; max-width: calc(100% - 32px); padding: 14px 22px; color: var(--cream); background: var(--choco); border-radius: 999px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 500; opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: var(--danger); border-radius: 16px; }

.notice { padding: 14px 16px; border-radius: 12px; font-size: .86rem; }
.notice--error { color: #7a271a; background: var(--danger-soft); border: 1px solid #fecdca; }
.notice a { color: inherit; font-weight: 600; }

/* --------------------------------------------------------------- Producto */

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 8px; color: var(--muted); font-size: .78rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--choco); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: 24px 0 72px; align-items: start; }
.gallery { position: sticky; top: 110px; }
.gallery__main { position: relative; overflow: hidden; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 76px; height: 76px; padding: 0; overflow: hidden; background: #fff; border: 2px solid transparent; border-radius: 14px; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active { border-color: var(--choco); }
.product__info h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.product__info .price { margin: 4px 0 20px; }
.product__short { color: var(--muted); }
.product__short p { margin-bottom: .4em; }
.stock { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; font-size: .84rem; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.stock--in { color: var(--green-dark); }
.stock--in::before { background: var(--green); }
.stock--out { color: var(--muted); }
.stock--out::before { background: var(--muted); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; }
.buy .button { flex: 1; min-width: 200px; }
.product__perks { display: grid; gap: 10px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .86rem; }
.product__perks li { display: flex; align-items: center; gap: 10px; }
.product__perks li::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%232f7341' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; border-radius: 50%; }
.product__description { margin-top: 36px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.product__description h2 { font-size: 1.5rem; }
.product__description p { margin-bottom: .6em; }
.related { padding-top: 0; }
.related h2 { margin-bottom: 28px; font-size: 2rem; }

/* --------------------------------------------------------------- Checkout */

.checkout-page { padding: 40px 0 88px; }
.checkout-title { margin-bottom: 28px; font-size: clamp(2rem, 4vw, 2.8rem); }
.checkout-empty { padding: 60px 20px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.checkout__form { display: grid; gap: 20px; }
.step { margin: 0; padding: 26px 28px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step legend { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin-bottom: 18px; padding: 0; color: var(--choco); font-family: var(--serif); font-size: 1.4rem; }
.step legend + * { clear: both; }
.step__number { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--cream); background: var(--choco); border-radius: 50%; font-family: var(--sans); font-size: .8rem; font-weight: 600; }
.fields { display: grid; gap: 14px; margin-bottom: 14px; }
.fields:last-child { margin-bottom: 0; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.fields--3 { grid-template-columns: repeat(3, 1fr); }
.fields--2-1 { grid-template-columns: 2fr 1fr; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { color: var(--choco); font-size: .82rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .coupon input { width: 100%; min-height: 50px; padding: 10px 14px; color: var(--choco); background: #fff; border: 1px solid #d6cab6; border-radius: 12px; transition: border-color .15s; }
.field textarea { min-height: 90px; resize: vertical; }
.field select { padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a1810' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus, .coupon input:focus { border-color: var(--gold); outline: 3px solid rgba(168, 124, 67, .2); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; background-color: var(--danger-soft) !important; }
.field__help { color: var(--muted); font-size: .74rem; }
.branch { margin-top: 16px; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid #d6cab6; border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--cocoa); }
.option:has(input:checked) { background: var(--cream); border-color: var(--choco); box-shadow: inset 0 0 0 1px var(--choco); }
.option input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--choco); }
.option__body { display: grid; flex: 1; gap: 2px; }
.option__title { color: var(--choco); font-size: .92rem; font-weight: 600; }
.option__desc { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.option:not(:has(input:checked)) .option__desc { display: none; }
.options[aria-label="Método de envío"] .option .option__desc { display: block; }
.option__price { color: var(--choco); font-size: .92rem; font-weight: 600; white-space: nowrap; }
.loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border: 2px solid var(--line); border-top-color: var(--choco); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { margin: 0; color: var(--muted); font-size: .76rem; text-align: center; }

.summary { position: sticky; top: 110px; display: grid; gap: 16px; }
.summary__card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.summary__card h2 { font-size: 1.6rem; }
.summary__items { margin: 0 0 16px; padding: 0; list-style: none; }
.summary__items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.summary__items img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.summary__name { display: grid; gap: 6px; color: var(--choco); }
.summary__items strong { color: var(--choco); white-space: nowrap; }
.coupon { display: flex; gap: 8px; }
.coupon input { min-height: 42px; text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; }
.coupon-tag { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 0; padding: 8px 12px; color: #204b2b; background: var(--green-soft); border-radius: 10px; font-size: .78rem; }
.summary__totals { display: grid; gap: 8px; margin: 18px 0 0; font-size: .88rem; }
.summary__totals div { display: flex; justify-content: space-between; gap: 12px; }
.summary__totals dt { color: var(--muted); }
.summary__totals dd { margin: 0; color: var(--choco); font-weight: 500; text-align: right; }
.summary__total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.summary__total dt, .summary__total dd { color: var(--choco) !important; font-weight: 700 !important; }
.summary__trust { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); font-size: .76rem; }
.summary__trust img { width: 48px; flex: none; }
.summary__trust p { margin: 0; }

/* ---------------------------------------------------------------- Gracias */

.thanks__hero { margin-bottom: 28px; text-align: center; }
.thanks__hero img { width: 72px; margin: 0 auto 22px; }
.thanks__hero p { color: var(--muted); }
.thanks__card { margin-bottom: 20px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.thanks__card h2 { font-size: 1.6rem; }
.thanks__card--accent { background: var(--green-soft); border-color: transparent; }
.bank, .thanks__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 0 0 16px; }
.bank dt, .thanks__meta dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.bank dd, .thanks__meta dd { margin: 0; color: var(--choco); font-weight: 600; word-break: break-word; }
.thanks__meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* -------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .site-nav { gap: 18px; font-size: .82rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .cart-button { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 520px); margin: 0 auto; }
  .partner-strip__inner { flex-wrap: wrap; gap: 18px; }
  .partner-strip ul { margin-left: 0; }
  .guide-grid, .info-grid { grid-template-columns: 1fr 1fr; }
  .story__grid, .faq__grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
  .checkout { grid-template-columns: 1fr; }
  .summary { order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brands { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topbar__extra { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header__inner { gap: 14px; min-height: 72px; }
  .site-header.is-scrolled .site-header__inner { min-height: 64px; }
  .brand { width: 104px; }
  .partner { gap: 8px; padding-left: 14px; font-size: .56rem; }
  .partner img { width: 40px; }
  .cart-button { padding: 0 14px; }
  .cart-button__label { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts li { padding-right: 8px; }
  .hero__seal { width: 84px; height: 84px; font-size: .56rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__title { font-size: .8rem; }
  .product-card .price strong { font-size: 1rem; }
  .product-card .button { min-height: 38px; padding: 0 10px; font-size: .74rem; }
  .guide-grid, .info-grid { grid-template-columns: 1fr; }
  .closing__panel { flex-direction: column; align-items: flex-start; }
  .closing__panel .button { width: 100%; }
  .step { padding: 22px 18px; }
  .fields--2, .fields--3, .fields--2-1 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .filters__row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .partner span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ------------------------------------------------------------- Ajustes */

.product > *, .checkout > * { min-width: 0; }
.product__description, .product__short { overflow-wrap: anywhere; }
.story__list span { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; }
.partner-strip ul { justify-content: flex-end; }

@media (max-width: 980px) {
  .product { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .hero__visual { width: 88%; }
  /* Filtros en una sola fila deslizable */
  .chips { flex-wrap: nowrap; margin-inline: -16px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .partner-strip ul { justify-content: flex-start; }
  .buy .qty { flex: none; }
  .buy .button { min-width: 0; }
}
.back-link { white-space: nowrap; }
.back-link__short { display: none; }
@media (max-width: 680px) {
  .back-link__long { display: none; }
  .back-link__short { display: inline; }
}

