/* Leña & Leche — estilos.
   Concepto: cocina de casa vestida de elegante. Blanco, grises y negro, con un solo
   acento en rojo vivo para lo importante (comprar, destacar). Fraunces para títulos,
   Figtree para leer. Las fotos van en arcos, como la boca de un horno de barro. */

/* ---------- Fuentes (alojadas en el tema) ---------- */
@font-face { font-family: "LL Fraunces"; src: url("../fonts/fraunces.woff") format("woff"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "LL Fraunces"; src: url("../fonts/fraunces-italic.woff") format("woff"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "LL Allura"; src: url("../fonts/allura.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LL Caveat"; src: url("../fonts/caveat.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LL Figtree"; src: url("../fonts/figtree.woff") format("woff"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
	/* Paleta */
	--ink: #141414;
	--gris: #6B6B6B;
	--linea: #E4E2DE;
	--papel: #F5F5F4;
	--crema: #FFFFFF;
	--hoja: #7E8C5C;
	--f-script: "LL Allura", "Segoe Script", cursive;
	--f-hand: "LL Caveat", "Segoe Print", cursive;
	--rojo: #E3262B;
	--rojo-hover: #C81E23;

	/* Nombres heredados del tema anterior (los usa tienda.css) */
	--navy: #ffffff;
	--navy-deep: var(--papel);
	--navy-card: #ffffff;
	--navy-line: var(--linea);
	--gold: var(--rojo);
	--wine: var(--rojo);
	--wine-hover: var(--rojo-hover);
	--guard: var(--rojo);
	--cream: #3d3d3d;
	--white: var(--ink);
	--muted: var(--gris);
	--ok: #1f7a45;
	--warn: #9a6200;
	--bad: #c0262b;

	--f-body: "LL Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-display: "LL Fraunces", Georgia, "Times New Roman", serif;
	--f-product: var(--f-display);

	--gutter: max(20px, 4vw);
	--radius: 18px;
	--radius-sm: 12px;
	--header-h: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--crema);
	color: var(--ink);
	font-family: var(--f-body);
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--rojo); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 500; }
strong, b { font-weight: 700; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; color: #fff; }
.muted { color: var(--gris); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn, .button, button.button, a.button, input.button, .wc-block-components-button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: .8em 1.6em;
	border: 1.5px solid var(--rojo); border-radius: 999px;
	background: var(--rojo); color: #fff !important;
	font: 600 1rem/1.2 var(--f-body); letter-spacing: .01em;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover, .button:hover, #place_order:hover { background: var(--rojo-hover); border-color: var(--rojo-hover); color: #fff; }
.btn:active, .button:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff !important; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--rojo); padding-bottom: 1px; }

/* ---------- Barra superior y encabezado ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.2) blur(10px);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--linea);
	padding-top: env(safe-area-inset-top, 0px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; min-width: 0; }
.ll-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.ll-logo img { width: 34px; height: auto; flex: none; }
.ll-logo b { display: block; font: 500 1.6rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ll-logo b em { font-weight: 400; letter-spacing: 0; color: var(--rojo); text-transform: none; }
.ll-logo small { display: block; margin-top: 6px; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gris); white-space: nowrap; }
.ll-logo:hover { color: var(--ink); }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { max-height: 56px; width: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 1.5px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--rojo); }
.main-nav .current-menu-item > a { border-bottom-color: var(--rojo); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; text-decoration: none; }
.cart-link .icon { width: 25px; height: 25px; }
.cart-link:hover { background: var(--papel); color: var(--ink); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--rojo); color: #fff; font: 700 .72rem/21px var(--f-body); text-align: center; }
.cart-count.is-empty { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.ll-logo b { font-size: 1.15rem; letter-spacing: .12em; }
	.ll-logo small { font-size: .56rem; letter-spacing: .2em; }
	.ll-logo img { width: 28px; }
	.nav-toggle { display: inline-grid; place-items: center; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--linea);
		padding: 8px var(--gutter) 16px;
		display: none; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25);
	}
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav a { padding: 15px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--linea); }
	.header-actions { order: 2; }
	.brand { order: 0; margin-right: auto; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(60px, 9vw, 104px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 48px); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: end; gap: 24px; }
.kick, .eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 .78rem/1.3 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
.kick::before, .eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--rojo); flex: none; }
.section-title, .display {
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.015em;
	color: var(--ink);
}
.section-title em, .hero-title em { color: var(--rojo); font-weight: 400; }
.section-intro { margin: 0; color: var(--gris); font-size: 1.05rem; }
@media (max-width: 760px) {
	.section-head--split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------- Portada: foto a pantalla completa y ola (doble fondo) ---------- */
.hero-photo { position: relative; isolation: isolate; min-height: min(92vh, 820px); display: flex; align-items: center; color: #fff; background: #1d1a16 var(--hero-bg) center / cover no-repeat; margin-top: calc(var(--header-h) * -1 - env(safe-area-inset-top, 0px)); padding-block: calc(var(--header-h) + 48px) 140px; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 18, 18, .74) 0%, rgba(18, 18, 18, .45) 42%, rgba(18, 18, 18, 0) 75%), linear-gradient(180deg, rgba(18, 18, 18, .35), transparent 30%); }
.hero-photo-in { max-width: 1200px; }
.hero-script { font: 400 clamp(4rem, 10vw, 8.2rem)/.9 var(--f-script); margin: 0; transform: rotate(-4deg); transform-origin: left; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero-photo .hero-title { font: 400 clamp(1.7rem, 3.4vw, 2.6rem)/1.15 var(--f-display); margin: 18px 0 16px; max-width: 30rem; }
.hero-photo .hero-title em { color: #FF5A54; }
.hero-photo .lede { color: rgba(255, 255, 255, .86); max-width: 30rem; font-size: clamp(1.02rem, 1.4vw, 1.15rem); margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .8); color: #fff !important; backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink) !important; }
.wave { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.wave-bottom { bottom: -1px; height: clamp(46px, 7vw, 90px); fill: var(--crema); }
@media (max-width: 760px) {
	.hero-photo { min-height: 640px; align-items: flex-end; padding-bottom: 110px; background-position: 70% center; }
	.hero-photo::before { background: linear-gradient(0deg, rgba(20, 16, 12, .85) 0%, rgba(20, 16, 12, .55) 55%, rgba(20, 16, 12, .2) 100%); }
}

/* Encabezado sobre la foto en la portada */
.home .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.home .site-header:not(.is-scrolled) .ll-logo, .home .site-header:not(.is-scrolled) .main-nav a, .home .site-header:not(.is-scrolled) .cart-link, .home .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
.home .site-header:not(.is-scrolled) .ll-logo small { color: rgba(255, 255, 255, .75); }
.home .site-header:not(.is-scrolled) .ll-logo img { filter: brightness(0) invert(1); }
.home .site-header.is-scrolled { background: rgba(251, 247, 240, .96); border-bottom-color: var(--linea); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .5); }
@media (max-width: 960px) { .home .site-header:not(.is-scrolled) .main-nav.is-open a { color: var(--ink); } }

/* ---------- Razones ---------- */
.perks { padding-block: 26px 10px; }
.perks-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.perks-list li { display: grid; justify-items: center; gap: 10px; padding: 14px 10px; font: 500 1.02rem/1.3 var(--f-display); }
.perks-list li + li { border-left: 1px solid var(--linea); }
.perk-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .4); }
.perk-ico .icon { width: 30px; height: 30px; color: var(--ink); stroke-width: 1.4; }
@media (max-width: 760px) { .perks-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } .perks-list li:nth-child(3) { border-left: 0; } }

/* Títulos con letra a mano */
.script-title { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; color: var(--ink); }
.section-title .script-title { display: block; font-size: 1.35em; line-height: .8; color: var(--rojo); margin-bottom: .05em; }

/* ---------- Cierre «Gracias por elegirnos» ---------- */
.thanks { position: relative; overflow: hidden; text-align: center; padding-block: clamp(60px, 9vw, 110px) clamp(100px, 12vw, 150px); background: var(--crema); }
.thanks-in { position: relative; z-index: 1; max-width: 880px; display: grid; justify-items: center; gap: 14px; }
.thanks .script-title { font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.thanks p { color: #4a4a4a; font-size: 1.1rem; margin: 0 0 10px; }
.rama { position: absolute; bottom: 30px; width: clamp(90px, 13vw, 160px); opacity: .9; }
.rama-izq { left: clamp(-10px, 3vw, 60px); transform: rotate(-14deg); }
.rama-der { right: clamp(-10px, 3vw, 60px); transform: scaleX(-1) rotate(-14deg); }
.wave-red { bottom: -1px; height: clamp(40px, 6vw, 80px); fill: var(--rojo); }
.home .site-footer { border-top: 0; }
@media (max-width: 600px) { .rama { opacity: .45; } }

/* ---------- Nuestra mesa ---------- */
.mesa { background: var(--crema); padding-top: clamp(40px, 6vw, 70px); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.line a { display: block; text-decoration: none; color: var(--ink); }
/* Fotos en manchas orgánicas: cada tarjeta tiene su forma y su color, y se mueven al pasar el mouse */
.arch { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.arch::before { content: ""; position: absolute; inset: 6%; z-index: 0; background: var(--blob, #EFE3D2); border-radius: var(--forma, 62% 38% 46% 54% / 55% 44% 56% 45%); transform: rotate(var(--giro, -6deg)); transition: border-radius .8s ease, transform .8s ease; }
.arch::after { content: ""; position: absolute; inset: 2%; z-index: 0; border: 1.5px dashed rgba(20, 20, 20, .18); border-radius: var(--forma2, 44% 56% 60% 40% / 48% 58% 42% 52%); transform: rotate(var(--giro2, 8deg)); transition: transform .8s ease; }
.arch img { position: relative; z-index: 1; display: block; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18)); mix-blend-mode: multiply; transform: rotate(var(--foto, -3deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.line a:hover .arch::before { border-radius: var(--forma2, 44% 56% 60% 40% / 48% 58% 42% 52%); transform: rotate(calc(var(--giro, -6deg) * -1)); }
.line a:hover .arch::after { transform: rotate(calc(var(--giro2, 8deg) * -1)); }
.line a:hover .arch img { transform: rotate(0) scale(1.05); }
.lines .line:nth-child(1) .arch { --blob: #F3DACB; --giro: -8deg; --foto: -4deg; }
.lines .line:nth-child(2) .arch { --blob: #EAE3D2; --forma: 41% 59% 55% 45% / 58% 42% 58% 42%; --forma2: 63% 37% 41% 59% / 45% 61% 39% 55%; --giro: 7deg; --giro2: -6deg; }
.lines .line:nth-child(3) .arch { --blob: #E3E9D6; --forma: 55% 45% 38% 62% / 42% 60% 40% 58%; --giro: -4deg; --giro2: 10deg; }
.lines .line:nth-child(4) .arch { --blob: #F6DEDC; --forma: 47% 53% 64% 36% / 61% 39% 61% 39%; --forma2: 58% 42% 46% 54% / 40% 56% 44% 60%; --giro: 9deg; --giro2: -9deg; }
.arch-ph { position: relative; z-index: 1; display: grid; place-items: center; color: rgba(20, 20, 20, .5); }
.arch-ph .icon { width: 64px; height: 64px; stroke-width: 1.1; }
.tag { position: absolute; z-index: 2; right: 4%; top: 8%; transform: rotate(8deg); background: var(--rojo); color: #fff; font: 700 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.tag:empty { display: none; }
.line.is-soon .tag { background: var(--ink); }
.line { text-align: center; }
.line h3 { font: 500 1.4rem/1.2 var(--f-display); margin-top: 10px; }
.line p { color: var(--gris); font-size: .95rem; margin: 4px 0 0; }
.line .more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .92rem; border-bottom: 1.5px solid var(--rojo); }
@media (max-width: 960px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .line h3 { font-size: 1.2rem; } }

/* ---------- Tienda (tarjetas de producto) ---------- */
.group-title { font: 500 1.5rem/1.2 var(--f-display); margin: 40px 0 18px; padding-top: 22px; border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.group-title:first-of-type { margin-top: 0; }
.product-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { border-color: #cfccc6; box-shadow: 0 18px 36px -26px rgba(0, 0, 0, .4); }
.product-card-media { display: block; aspect-ratio: 1; overflow: hidden; background: #fff; }
.product-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.product-card-head { display: grid; gap: 8px; }
.product-name { font: 500 1.25rem/1.2 var(--f-display); color: var(--ink); }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--rojo); }
.product-pres { justify-self: start; font: 600 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); border: 1px solid var(--linea); border-radius: 99px; padding: 6px 10px; }
.product-desc { font-size: .93rem; color: var(--gris); flex: 1; }
.product-desc p { margin: 0 0 .4em; }
.product-desc .sub, .product-desc strong { color: var(--ink); font-weight: 600; }
.buy-bar { display: grid; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--linea); }
.buy-price { font: 600 1.25rem/1 var(--f-body); color: var(--ink); white-space: nowrap; }
.buy-price del { color: var(--gris); font-size: .8em; margin-right: 6px; font-weight: 400; }
.buy-price ins { text-decoration: none; }
.buy-bar .button.buy-add { width: 100%; min-height: 46px; padding: .55em 1em; font-size: .95rem; white-space: nowrap; }
.buy-bar .button.buy-add .icon { width: 1.15em; height: 1.15em; }
.buy-bar .button.loading { opacity: .7; }
.buy-bar .button.added::after { content: "✓"; margin-left: 4px; }
.buy-out { font-weight: 600; color: var(--gris); }
.product-card .added_to_cart { display: block; padding: 0 18px 16px; font-weight: 600; color: var(--rojo); }
.notice-box { padding: 20px; border: 1px dashed #cfccc6; border-radius: var(--radius); color: var(--gris); }
@media (max-width: 1100px) { .product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.product-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.product-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
	.product-card-media { aspect-ratio: auto; height: 100%; }
	.product-card-body { padding: 14px; gap: 8px; }
	.product-name { font-size: 1.12rem; }
	.product-desc { font-size: .88rem; }
}

/* ---------- Historia ---------- */
.story { background: var(--papel); }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-photo { margin: 0; }
.story-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px 20px 999px 999px; }
.story-copy .section-title { margin: 18px 0 20px; }
.story-text { color: #3d3d3d; font-size: 1.05rem; max-width: 36rem; }
.story-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.story-points li { display: flex; gap: 14px; align-items: flex-start; }
.story-points .icon { width: 30px; height: 30px; color: var(--rojo); margin-top: 2px; }
.story-points b { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; margin-right: 6px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .story-photo { max-width: 420px; } }

/* ---------- Cómo comprar ---------- */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.how-steps li { padding: 32px 32px 8px 0; }
.how-steps li + li { padding-left: 32px; border-left: 1px solid var(--linea); }
.how-n { display: block; font: italic 300 2.9rem/1 var(--f-display); color: var(--rojo); }
.how-steps h3 { font: 500 1.45rem/1.2 var(--f-display); margin: 16px 0 8px; }
.how-steps p { margin: 0; color: #4a4a4a; }
@media (max-width: 760px) {
	.how-steps { grid-template-columns: minmax(0, 1fr); }
	.how-steps li, .how-steps li + li { padding: 24px 0 6px; border-left: 0; border-top: 1px solid var(--linea); }
	.how-steps li:first-child { border-top: 0; }
}

/* ---------- Puntos de retiro ---------- */
.pickup { padding-top: 0; }
.pickup-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pickup-card { display: flex; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--linea); background: #fff; }
.pickup-card > .icon { width: 28px; height: 28px; color: var(--rojo); margin-top: 2px; }
.pickup-zone { margin: 0 0 2px; font: 600 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gris); }
.pickup-card h3 { font: 500 1.35rem/1.25 var(--f-display); margin-bottom: 6px; }
.pickup-line { margin: 0; }
.pickup-card .link { display: inline-block; margin-top: 12px; }
@media (max-width: 760px) { .pickup-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preparación ---------- */
.prep { background: var(--papel); }
.prep-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.prep-figure { margin: 0; }
.prep-figure img { display: block; width: 100%; border-radius: var(--radius); background: #fff; }
.prep-copy { display: grid; gap: 14px; }
.steps { list-style: none; counter-reset: paso; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: center; }
.steps li::before { content: counter(paso); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo); color: #fff; font: 700 1rem/1 var(--f-body); }
@media (max-width: 860px) { .prep-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Conservación ---------- */
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tip { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--linea); background: #fff; }
.tip .icon { width: 34px; height: 34px; color: var(--rojo); margin-bottom: 8px; }
.tip strong { font: 500 1.2rem/1.25 var(--f-display); }
.tip span { color: var(--gris); }
@media (max-width: 760px) { .tips { grid-template-columns: minmax(0, 1fr); } .tip { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; } .tip .icon { grid-row: span 2; margin: 0; } }

/* ---------- Dietéticas aliadas ---------- */
.allies-wrap { padding-top: 0; }
.allies { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); }
.allies::after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none; }
.allies .kick { color: rgba(255, 255, 255, .62); }
.allies .section-title { color: #fff; margin: 16px 0; }
.allies .section-title em { color: #FF5A54; }
.allies-copy p:not(.kick) { color: rgba(255, 255, 255, .8); max-width: 34rem; margin-bottom: 26px; }
.allies-list { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.allies-list li { display: flex; align-items: center; gap: 12px; }
.allies-list .icon { color: #FF5A54; width: 22px; height: 22px; }
@media (max-width: 860px) { .allies { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Páginas generales ---------- */
.page-wrap { padding-block: clamp(32px, 6vw, 64px); }
.page-title { font: 400 clamp(2rem, 5vw, 3rem)/1.1 var(--f-display); letter-spacing: -.01em; margin-bottom: 24px; }
.entry-content > * { max-width: 75ch; }
.entry-content > h2, .entry-content > h3 { font-family: var(--f-display); font-weight: 500; color: var(--ink); margin: 1.8em 0 .5em; line-height: 1.25; }
.entry-content > h2 { font-size: clamp(1.3rem, 2.8vw, 1.6rem); }
.entry-content > h3 { font-size: 1.15rem; }
.entry-content > p, .entry-content > ul, .entry-content > ol { margin: 0 0 1em; }
.entry-content > ul, .entry-content > ol { padding-left: 1.3em; display: grid; gap: .4em; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--linea); padding-top: clamp(44px, 7vw, 72px); background: #fff; }
.home .thanks + * {}
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-title { font: 600 .78rem/1.2 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gris); margin-bottom: 14px; }
.contact-list, .footer-pickups { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.contact-list .icon { width: 22px; height: 22px; color: var(--rojo); }
.footer-pickups li { display: grid; gap: 2px; }
.footer-pickups strong { font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; }
.footer-note { font-size: .95rem; }
.footer-note a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--rojo); }
.footer-bottom { border-top: 1px solid var(--linea); margin-top: 40px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: .88rem; color: var(--gris); }
.footer-bottom p { margin: 0; }
.footer-brand { font: 500 1rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.footer-brand em { color: var(--rojo); letter-spacing: 0; text-transform: none; font-weight: 400; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
	position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: #25d366; color: #fff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.wa-float .icon { width: 32px; height: 32px; stroke-width: 1.5; }
.wa-float:hover { color: #fff; transform: scale(1.05); }

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

/* ---------- Dietéticas aliadas (plugin): formulario y panel en la paleta clara ---------- */
.insd-signup, .insd-panel { --insd-card: var(--papel); --insd-line: var(--linea); --insd-gold: var(--gris); }
.insd-intro { font-weight: 400 !important; color: #3d3d3d; }
.insd-form input[type="text"], .insd-form input[type="email"], .insd-form input[type="tel"], .insd-inline-form input { border: 1.5px solid #cfccc6 !important; background: #fff !important; color: var(--ink) !important; border-radius: var(--radius-sm) !important; }
.insd-form input:focus { outline: 3px solid var(--rojo); outline-offset: 1px; border-color: transparent !important; }
.insd-form label { font-weight: 500; }

/* Aparición suave al bajar (respeta «reducir movimiento») */
.js-reveal [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-reveal [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js-reveal [data-reveal] { opacity: 1; translate: none; } }

.story-photo img { border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%; }

/* ---------- «Gírala»: arepa 3D sobre el fogón (doble fondo oscuro con olas) ---------- */
.giro { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 70% at 70% 60%, #6b2a12 0%, #2a160d 45%, #150d09 100%); padding-block: clamp(90px, 11vw, 150px); margin-top: 30px; }
.giro .wave-top { top: -1px; height: clamp(40px, 6vw, 70px); fill: var(--crema); }
.giro .wave-bottom { fill: var(--crema); }
.giro-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.giro-title { font: 400 clamp(2.6rem, 5.4vw, 4.4rem)/1 var(--f-display); letter-spacing: -.02em; }
.giro-title .script-title { display: block; color: #FF8A5B; font-size: 1.15em; line-height: .9; transform: rotate(-5deg); transform-origin: left; margin-bottom: .08em; }
.giro-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 26px; }
.chip { font: 600 .95rem/1 var(--f-body); color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 12px 18px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: #fff; }
.chip.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.giro-stage { position: relative; margin: 0; width: min(100%, 560px); justify-self: center; aspect-ratio: 1; }
.giro-stage::before { content: ""; position: absolute; inset: 14% 10% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 120, 50, .55), rgba(255, 90, 30, .16) 60%, transparent); filter: blur(10px); animation: latido 3.2s ease-in-out infinite; }
.giro-fallback { position: absolute; inset: 15%; width: 70%; height: 70%; object-fit: contain; border-radius: 50%; transform: rotateX(52deg) rotate(-10deg); box-shadow: 0 40px 50px -20px rgba(0, 0, 0, .6); transition: opacity .8s; }
.giro-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s; cursor: grab; touch-action: pan-y; }
.giro-stage.girando .giro-canvas { cursor: grabbing; }
.giro-stage.en-3d .giro-canvas { opacity: 1; }
.giro-stage.en-3d .giro-fallback { opacity: 0; }
.giro-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%) rotate(-3deg); font: 400 1.7rem/1 var(--f-hand); color: #FFC9A8; white-space: nowrap; pointer-events: none; transition: opacity .5s; }
.giro-stage.girando .giro-hint { opacity: 0; }
@keyframes latido { 50% { transform: scale(1.06); opacity: .85; } }

/* Brasas que suben */
.brasas { position: absolute; inset: 0; pointer-events: none; }
.brasas i { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: #FFB36B; box-shadow: 0 0 10px 3px rgba(255, 120, 40, .7); opacity: 0; animation: brasa 7s linear infinite; }
.brasas i:nth-child(1) { left: 54%; animation-delay: 0s; }
.brasas i:nth-child(2) { left: 61%; animation-delay: 1.1s; animation-duration: 8s; }
.brasas i:nth-child(3) { left: 67%; animation-delay: 2.3s; }
.brasas i:nth-child(4) { left: 73%; animation-delay: .6s; animation-duration: 9s; }
.brasas i:nth-child(5) { left: 79%; animation-delay: 3.1s; }
.brasas i:nth-child(6) { left: 85%; animation-delay: 1.8s; animation-duration: 6s; }
.brasas i:nth-child(7) { left: 58%; animation-delay: 4.2s; width: 3px; height: 3px; }
.brasas i:nth-child(8) { left: 70%; animation-delay: 5s; width: 3px; height: 3px; }
.brasas i:nth-child(9) { left: 76%; animation-delay: 2.7s; width: 4px; height: 4px; animation-duration: 10s; }
.brasas i:nth-child(10) { left: 64%; animation-delay: 6s; }
.brasas i:nth-child(11) { left: 88%; animation-delay: 3.6s; width: 3px; height: 3px; }
.brasas i:nth-child(12) { left: 50%; animation-delay: 5.6s; width: 3px; height: 3px; }
.brasas i:nth-child(13) { left: 20%; animation-delay: 2s; width: 3px; height: 3px; animation-duration: 11s; }
.brasas i:nth-child(14) { left: 32%; animation-delay: 6.5s; width: 2px; height: 2px; animation-duration: 12s; }
.brasas i:nth-child(15) { left: 10%; animation-delay: 4s; width: 2px; height: 2px; animation-duration: 10s; }
.brasas i:nth-child(16) { left: 92%; animation-delay: .3s; width: 2px; height: 2px; }
@keyframes brasa { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 70% { opacity: .8; } 100% { transform: translate(-40px, -70vh); opacity: 0; } }
@media (max-width: 860px) {
	.giro-in { grid-template-columns: minmax(0, 1fr); text-align: center; }
	.giro-chips { justify-content: center; }
	.giro-stage { order: -1; width: min(100%, 420px); margin-bottom: 18px; }
	.giro-title .script-title { transform-origin: center; }
	.brasas i:nth-child(n) { left: calc(var(--x, 50%)); }
	.brasas i:nth-child(odd) { --x: 40%; } .brasas i:nth-child(3n) { --x: 60%; } .brasas i:nth-child(4n) { --x: 25%; } .brasas i:nth-child(5n) { --x: 75%; }
}
@media (prefers-reduced-motion: reduce) { .brasas { display: none; } .giro-stage::before { animation: none; } }

/* ==========================================================================
   Productos «sueltos»: recortados sobre el fondo, sin cajas, nombre centrado,
   como en una vidriera limpia. Las fotos con fondo blanco se funden con el crema.
   ========================================================================== */
.products .section-head--split, .mesa .section-head--split { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.products .section-title, .mesa .section-title { display: flex; align-items: center; gap: 18px; justify-content: center; }
.products .section-title::before, .products .section-title::after { content: ""; width: clamp(30px, 8vw, 110px); height: 1px; background: var(--ink); opacity: .35; }
.mesa .section-title { display: block; }
.group-title { text-align: center; border-top: 0; padding-top: 0; font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--f-body); font-weight: 600; color: var(--gris); }

.product-cards { gap: clamp(18px, 3vw, 40px) clamp(14px, 2.4vw, 32px); }
.product-card { background: transparent; border: 0; border-radius: 0; overflow: visible; text-align: center; box-shadow: none !important; }
.product-card:hover { border-color: transparent; }
.product-card-media { background: var(--crema); aspect-ratio: 1; overflow: visible; position: relative; isolation: isolate; }
.product-card-media::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 4%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 40, 20, .22), transparent); z-index: 0; mix-blend-mode: multiply; }
.product-card-media img { position: relative; z-index: 1; }
.product-card-media img { object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.product-card:hover .product-card-media img { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.product-card-body { padding: 6px 4px 0; gap: 6px; align-items: center; }
.product-card-head { justify-items: center; }
.product-name { font-size: 1.3rem; }
.product-desc { display: none; }
.buy-bar { border-top: 0; padding-top: 4px; justify-items: center; gap: 10px; }
.buy-price { font-size: 1.15rem; color: var(--gris); font-weight: 500; }
.buy-bar .button.buy-add { width: auto; min-height: 42px; padding: .5em 1.2em; font-size: .9rem; }
@media (max-width: 600px) {
	.product-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	.product-card { display: flex; }
	.product-card-media { aspect-ratio: 1; height: auto; }
	.product-card-body { padding: 4px 0 0; }
	.product-name { font-size: 1.05rem; }
	.buy-bar .button.buy-add { font-size: .82rem; padding: .5em .9em; }
	.buy-bar .button.buy-add .icon { display: none; }
}

/* Nuestra mesa: el producto recortado flotando, sin manchas detrás */
.arch::before { inset: 16% 14% 8%; background: var(--blob, #EFE3D2); opacity: .55; filter: blur(2px); }
.arch::after { display: none; }
.arch img { width: 86%; height: 86%; mix-blend-mode: multiply; filter: drop-shadow(0 22px 18px rgba(60, 40, 20, .22)); }
.line.is-soon .arch::before, .lines .line .arch:has(.arch-ph)::before { opacity: .8; filter: none; }


/* ==========================================================================
   Versión final: todo en blanco, gris y rojo, fresco y liviano.
   ========================================================================== */
.story, .prep, .mesa, .thanks { background: #fff; }
.home .site-header.is-scrolled { background: rgba(255, 255, 255, .96); }

/* Títulos de sección centrados, con líneas finas a los lados */
.section-head--split { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; gap: 10px; }
.section-head--split .section-title { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head--split .section-title::before, .section-head--split .section-title::after { content: ""; width: clamp(28px, 8vw, 120px); height: 1px; background: #bdbdbd; flex: none; }
.mesa .section-head--split .section-title { display: block; }
.mesa .section-head--split .section-title::before, .mesa .section-head--split .section-title::after { display: none; }
.section-intro { color: var(--gris); }

/* Razones con íconos grises */
.perk-ico { background: #fff; box-shadow: none; width: auto; height: auto; }
.perk-ico .icon { width: 34px; height: 34px; color: #5f5f5f; stroke-width: 1.2; }
.perks-list li { font: 400 .98rem/1.3 var(--f-body); color: #3d3d3d; }
.perks-list li + li { border-left-color: #d9d9d9; }

/* Historia con la arepa en 3D */
.story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.story-3d { display: grid; justify-items: center; gap: 6px; }
.story .giro-stage { width: min(100%, 500px); }
.story .giro-stage::before { inset: 58% 18% 6%; background: radial-gradient(closest-side, rgba(40, 30, 20, .22), transparent); filter: blur(6px); animation: none; }
.story .giro-fallback { box-shadow: none; }
.story .giro-hint { color: var(--gris); bottom: 0; }
.story .giro-chips { justify-content: center; margin: 4px 0 0; }
.story .chip { color: var(--ink); background: #fff; border-color: #d4d4d4; }
.story .chip:hover { border-color: var(--ink); }
.story .chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.story-copy { background: none; box-shadow: none; padding: 0; margin: 0; }
.story-copy .section-title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.story-copy .section-title .script-title { display: block; color: var(--rojo); font-size: 1.15em; line-height: .9; transform: rotate(-4deg); transform-origin: left; }
.story-copy .giro-buy { margin-top: 26px; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .story-copy { text-align: center; } .story-copy .kick { justify-content: center; } .story-points { justify-items: center; text-align: left; } .story-copy .section-title .script-title { transform-origin: center; } }

/* Dietéticas aliadas en gris claro */
.allies { background: var(--papel); color: var(--ink); }
.allies::after { border-color: rgba(0, 0, 0, .06); box-shadow: 0 0 0 60px rgba(0, 0, 0, .015), 0 0 0 120px rgba(0, 0, 0, .01); }
.allies .kick { color: var(--gris); }
.allies .section-title { color: var(--ink); }
.allies .section-title em { color: var(--rojo); }
.allies-copy p:not(.kick) { color: #4a4a4a; }
.allies-list .icon { color: var(--rojo); }

/* Cierre y pie de página como la referencia */
.thanks { padding-bottom: clamp(90px, 10vw, 130px); }
.thanks .script-title { color: var(--ink); }
.thanks p { color: #555; }
.rama { opacity: 1; bottom: 50px; }
.swoosh { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 100px); fill: var(--rojo); }
.site-footer, .home .site-footer { background: #fff; border-top: 0; padding-top: 22px; }
.foot-row { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s; }
.foot-social a:hover { background: var(--papel); color: var(--rojo); }
.foot-social .icon { width: 24px; height: 24px; }
.foot-sep { width: 1px; height: 34px; background: var(--ink); opacity: .6; }
.foot-brand { margin: 0; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #3d3d3d; }
.foot-brand b { font: 500 1rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.foot-brand b em { color: var(--rojo); letter-spacing: 0; text-transform: none; font-weight: 400; }
.foot-legal { text-align: center; font-size: .8rem; color: #8a8a8a; padding-block: 14px calc(18px + env(safe-area-inset-bottom, 0px)); }
.foot-legal p { margin: 0; }
.foot-legal a { color: #6b6b6b; }
@media (max-width: 600px) { .foot-sep { display: none; } .foot-row { flex-direction: column; gap: 8px; } .foot-brand { flex-wrap: wrap; justify-content: center; text-align: center; } }

/* ---------- Mesa con 6 líneas (arepas + 5 yogures) y tienda en dos secciones ---------- */
.lines { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; max-width: 1000px; margin-inline: auto; }
.lines .line:nth-child(5) .arch { --blob: #FBE7CF; --forma: 52% 48% 40% 60% / 46% 58% 42% 54%; --giro: -10deg; }
.lines .line:nth-child(6) .arch { --blob: #F4D6D9; --forma: 60% 40% 55% 45% / 40% 50% 50% 60%; --giro: 6deg; }
.lines .line:nth-child(4) .arch { --blob: #F3EEE6; }
@media (max-width: 960px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }

.shop-block { padding-top: clamp(28px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 10px); }
.shop-block + .shop-block { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid #ececec; }
.shop-head { display: grid; justify-items: center; text-align: center; gap: 4px; margin-bottom: clamp(18px, 3vw, 30px); }
.shop-head .script-title { font-size: clamp(2.2rem, 4vw, 3rem); line-height: .8; color: var(--rojo); transform: rotate(-4deg); }
.shop-head .group-title { margin: 0; font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.shop-head p { margin: 6px 0 0; color: var(--gris); max-width: 34rem; }
.shop-soon { text-align: center; color: var(--gris); font: 400 1.6rem/1 var(--f-hand); }
.product-line { font: 600 .68rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--rojo); }
/* Productos centrados aunque sean pocos */
.product-cards { display: flex; flex-wrap: wrap; justify-content: center; }
.product-cards .product-card { flex: 0 1 calc((100% - 3 * clamp(14px, 2.4vw, 32px)) / 4); }
@media (max-width: 1100px) { .product-cards .product-card { flex-basis: calc((100% - clamp(14px, 2.4vw, 32px)) / 2); } }
@media (max-width: 600px) { .product-cards .product-card { flex-basis: calc(50% - 7px); } }

/* ==========================================================================
   v2.1 · Más cerca y más cálida: menos aire entre secciones, cinco yogures en fila.
   ========================================================================== */
/* Menos aire: secciones más juntas, sin quedar apretadas */
.section { padding-block: clamp(44px, 6vw, 76px); }
.section-head { margin-bottom: clamp(22px, 3vw, 34px); }
.mesa { padding-top: clamp(30px, 4vw, 50px); }
.lines { gap: 14px 30px; max-width: 940px; }
.arch { aspect-ratio: 1 / .86; }
.line h3 { margin-top: 2px; }
.shop-block { padding-top: clamp(18px, 3vw, 30px); }
.shop-block + .shop-block { margin-top: clamp(28px, 4vw, 48px); }
.product-cards { gap: 22px 26px; }
.story-grid { gap: clamp(20px, 4vw, 48px); }
.pickup { padding-top: 0; }
.thanks { padding-block: clamp(44px, 6vw, 70px) clamp(90px, 10vw, 120px); }
.tips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tip { padding: 20px; }
@media (max-width: 960px) { .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tips { grid-template-columns: minmax(0, 1fr); } }
.product-pres { justify-self: center; }
/* Yogures: los cinco en una fila */
@media (min-width: 1101px) { #tienda-yogures .product-cards .product-card { flex-basis: calc((100% - 4 * 26px) / 5 - 1px); } #tienda-yogures .product-name { font-size: 1.15rem; } }
.buy-bar { margin-top: auto; }

/* ==========================================================================
   v2.1 · Doble fondo: un lienzo blanco con ramas verdes alrededor y, encima,
   la página como una hoja color crema de leche (cálida, sin perder frescura).
   ========================================================================== */
:root { --lienzo: #FFFFFF; --crema: #FFFBF4; --papel: #F6EDE1; --ink: #2A211B; --gris: #76685C; --linea: #EADCCB; --hoja-borde: clamp(10px, 7vw, 110px); }
body { background: var(--lienzo); }
body::before, body::after { content: ""; position: fixed; top: 0; bottom: 0; z-index: -1; width: clamp(110px, 17vw, 270px); pointer-events: none; }
body::before { left: 0; }
body::after { right: 0; transform: scaleX(-1); }

/* La hoja de encima */
.site-main { max-width: 1240px; margin: 14px auto 0; width: calc(100% - 2 * var(--hoja-borde)); background: var(--crema) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: 34px; overflow: clip; box-shadow: 0 1px 0 rgba(90, 60, 30, .05), 0 30px 70px -40px rgba(90, 60, 30, .45), 0 0 0 1px rgba(120, 90, 60, .06); }
.site-header { max-width: 1240px; width: calc(100% - 2 * var(--hoja-borde)); margin-inline: auto; border-radius: 0 0 22px 22px; }
.home .site-header { margin-top: 14px; margin-bottom: -14px; }
.home .site-header.is-scrolled { margin-top: 0; background: rgba(255, 251, 244, .97); }
.home .site-header:not(.is-scrolled) { border-radius: 34px 34px 0 0; }
.hero-photo { margin-top: calc(var(--header-h) * -1 - env(safe-area-inset-top, 0px)); }
.wave-bottom { fill: var(--crema); }
.site-main .section:not(.products):not(.how):not(.pickup):not(.keep):not(.giro), .story, .prep, .mesa, .thanks { background: transparent; }
.site-footer, .home .site-footer { background: transparent; padding-top: 30px; }
.foot-legal { padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }

/* Bandas cálidas dentro de la hoja */
.products, .how, .pickup { background: var(--papel); }
.products .product-card-media { background: var(--papel); }
.section-head--split .section-title::before, .section-head--split .section-title::after { background: #D8C3AA; }
.perk-ico .icon { color: #9A6B43; }
.perks-list li { color: #4A3B30; }
.perks-list li + li { border-left-color: #E4D3BF; }
.lines .line:nth-child(1) .arch { --blob: #F4D3B4; }
.lines .line:nth-child(2) .arch { --blob: #F1E4CC; }
.lines .line:nth-child(3) .arch { --blob: #EED3AE; }
.lines .line:nth-child(4) .arch { --blob: #F6D0CF; }
.lines .line:nth-child(5) .arch { --blob: #F6E2B5; }
.lines .line:nth-child(6) .arch { --blob: #EBC4C6; }
.arch::before { opacity: .8; }
.mesa .arch img, .story .arch img { mix-blend-mode: multiply; }
.pickup-card, .tip { background: #fff; border-color: var(--linea); box-shadow: 0 14px 30px -26px rgba(90, 55, 25, .5); }
.allies { background: #F3E4D0; }
.shop-block + .shop-block { border-top-color: #E2D0BA; }
.how-steps { border-top-color: #CDB79D; }
.how-steps li + li { border-left-color: #E2D0BA; }
.chip, .story .chip { background: #fff; }
.thanks .rama { display: none; }

/* La arepa 3D gira sobre una tabla de madera */
.story .giro-stage::before { inset: 50% 0 0; border-radius: 50%; filter: none; animation: none;
	background:
		radial-gradient(closest-side, transparent 0 88%, rgba(80, 45, 20, .35) 90%, transparent 93%),
		repeating-radial-gradient(ellipse at 46% 54%, #C99A6B 0 6px, #BE8D5E 7px 9px, #CFA275 10px 15px),
		#C99A6B;
	box-shadow: inset 0 -12px 30px rgba(70, 35, 10, .35), 0 30px 40px -24px rgba(70, 40, 15, .55); }
.story .giro-hint { bottom: -5%; color: #8C5E38; }
.story .giro-chips { margin-top: 30px; }

@media (max-width: 760px) {
	:root { --hoja-borde: 10px; }
	.site-main { border-radius: 24px; margin-top: 10px; }
	.home .site-header { margin-top: 10px; margin-bottom: -10px; }
	.home .site-header:not(.is-scrolled) { border-radius: 24px 24px 0 0; }
	body::before, body::after { width: 70px; opacity: .8; }
}
@media (max-width: 600px) { .product-cards { gap: 24px 14px; } }
@media (max-width: 600px) { .section-head--split .section-title { display: block; } .section-head--split .section-title::before, .section-head--split .section-title::after { display: none; } }

/* v2.1 · Sin fondos encima: el contenido va directo sobre el lienzo blanco con hojas */
.site-main { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.products, .how, .pickup, .site-main .section { background: transparent; }
.products .product-card-media { background: var(--lienzo); }
.allies { background: transparent; border: 1px solid var(--linea); }
.allies::after { display: none; }
.hero-photo { border-radius: 34px; overflow: hidden; }
.wave-bottom { display: none; }
.hero-photo { padding-bottom: 90px; }
.home .site-header:not(.is-scrolled) { border-radius: 34px 34px 0 0; }
.thanks { overflow: hidden; }
@media (max-width: 760px) { .hero-photo { border-radius: 24px; padding-bottom: 60px; } .allies { border-radius: 22px; } }
body::before, body::after { width: clamp(80px, calc((100vw - 1200px) / 2 + 70px), 260px); }

/* Ramas sueltas, distintas en cada lado: grandes, chicas, que suben o caen; se mueven con la página */
body { position: relative; }
body::before, body::after { position: absolute; top: 0; bottom: 0; height: auto; width: min(320px, max(calc(var(--hoja-borde) + 3.5vw), calc((100vw - 1240px) / 2 + 50px))); opacity: 1; transform: none; }
body::before { left: 0;
	background:
		url("../img/rama-cae.svg") 0 4.5% / 100% auto no-repeat,
		url("../img/rama-sube.svg") 0 15% / 48% auto no-repeat,
		url("../img/rama-recta.svg") 0 33% / 92% auto no-repeat,
		url("../img/rama-alta.svg") 0 47% / 38% auto no-repeat,
		url("../img/rama-sube.svg") 0 63% / 100% auto no-repeat,
		url("../img/rama-cae.svg") 0 81% / 55% auto no-repeat,
		url("../img/rama-recta.svg") 0 96% / 70% auto no-repeat; }
body::after { right: 0; transform: scaleX(-1);
	background:
		url("../img/rama-alta.svg") 0 9% / 70% auto no-repeat,
		url("../img/rama-recta.svg") 0 24% / 50% auto no-repeat,
		url("../img/rama-cae.svg") 0 40% / 100% auto no-repeat,
		url("../img/rama-sube.svg") 0 57% / 42% auto no-repeat,
		url("../img/rama-cae.svg") 0 73% / 72% auto no-repeat,
		url("../img/rama-sube.svg") 0 90% / 95% auto no-repeat; }
@media (max-width: 760px) { body::before, body::after { width: 70px; opacity: .7; } }

/* Una rama grande de fondo, suave, detrás del «Gracias por elegirnos» */
.thanks::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: clamp(320px, 62vw, 820px); aspect-ratio: 320 / 170; background: url("../img/rama-recta.svg") center / contain no-repeat; transform: translate(-54%, -62%) rotate(-6deg); opacity: .2; pointer-events: none; }
.thanks-in { position: relative; z-index: 1; }

/* Nuestra mesa: sin manchas de color detrás de las fotos, el producto limpio sobre el blanco */
.arch::before, .arch::after { display: none; }
.arch img { mix-blend-mode: normal; filter: drop-shadow(0 16px 14px rgba(60, 40, 20, .16)); }
