/*
Theme Name: INANNA Sello
Theme URI: https://inannacheesecakes.com
Author: Medialítica
Description: Tema color vino construido con los stickers circulares de INANNA: cada sabor es un sello, las cajas se presentan como tapas selladas y los pedidos van por WhatsApp. Requiere el plugin INANNA Core y WooCommerce (modo catálogo, sin carrito).
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: inanna-sello
Tags: one-column, custom-logo, e-commerce
*/

/* ---------- Tokens ---------- */
:root {
	--wine: #5b2131;
	--wine-2: #6c2a3c;
	--wine-deep: #3d1420;
	--cream: #f7efe4;
	--cream-2: #efe2d0;
	--gold: #c9a262;
	--gold-ink: #8a6427;
	--ink: #2e1219;
	--ink-soft: #6a4a50;
	--on-wine: #f7efe4;
	--on-wine-soft: #e3c9c4;
	--lila: #e7dcef;
	--lila-2: #d6c3e3;
	--noche: #2a0c15;

	--display: "Alegreya", Georgia, serif;
	--text: "Alegreya Sans", ui-sans-serif, system-ui, sans-serif;
	--step--1: 0.9375rem;
	--step-0: 1.125rem;
	--step-1: 1.3125rem;
	--step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	--step-3: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem);
	--step-4: clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem);

	--gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
	--section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; background: var(--wine); color: var(--on-wine);
	font-family: var(--text); font-size: var(--step-0); line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--wine-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.light :focus-visible, .flavours :focus-visible, .events :focus-visible, .faq :focus-visible, .page-content :focus-visible { outline-color: var(--wine); }
main:focus { outline: none; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--cream); color: var(--wine); padding: 0.75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.section { padding-block: var(--section); }
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
	min-height: 50px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 1.0625rem/1 var(--text); text-decoration: none; cursor: pointer; touch-action: manipulation;
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 1rem; }
.btn--cream { background: var(--cream); color: var(--wine); }
.btn--cream:hover { background: #fff; }
.btn--line { border-color: rgba(247, 239, 228, 0.45); color: var(--on-wine); }
.btn--line:hover { border-color: var(--cream); background: rgba(247, 239, 228, 0.08); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--outline { border-color: color-mix(in srgb, var(--wine) 40%, transparent); color: var(--wine); }
.btn--outline:hover { border-color: var(--wine); background: color-mix(in srgb, var(--wine) 6%, transparent); }

/* ---------- Notice + Header ---------- */
.notice-bar { margin: 0; padding: 0.55rem var(--gutter); text-align: center; background: var(--wine-deep); color: var(--on-wine-soft); font-size: var(--step--1); }
.site-header {
	position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--wine) 94%, transparent);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: rgba(201, 162, 98, 0.3); }
.site-header__inner { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.brand__mark { border-radius: 50%; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.08em; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 0.25rem; }
.site-nav__list a { display: block; padding: 0.5rem 0.85rem; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--on-wine-soft); transition: color 0.2s, background-color 0.2s; }
.site-nav__list a:hover { color: var(--cream); background: rgba(247, 239, 228, 0.08); }
.site-header__cta { background: var(--cream); color: var(--wine); }
.site-header__cta:hover { background: #fff; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
	.site-header__cta { display: none; }
	.menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--cream); border-radius: 50%; cursor: pointer; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--wine);
		border-bottom: 1px solid rgba(201, 162, 98, 0.3); padding: 0.5rem var(--gutter) 1.5rem;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.site-nav__list { flex-direction: column; }
	.site-nav__list a { padding: 0.9rem 0; font-size: 1.3rem; border-radius: 0; color: var(--cream); border-bottom: 1px solid rgba(247, 239, 228, 0.12); font-family: var(--display); }
}

/* ---------- Seal (sticker frame) ---------- */
.seal {
	position: relative; aspect-ratio: 1; border-radius: 50%;
	background: var(--cream); padding: 7%;
	box-shadow: inset 0 0 0 calc(var(--ring, 6px) * 0.5) var(--cream), inset 0 0 0 calc(var(--ring, 6px) * 0.5 + 1.5px) var(--gold);
}
.seal::before {
	content: ""; position: absolute; inset: 3.2%; border-radius: 50%;
	border: 1.5px solid var(--gold); pointer-events: none;
}
.seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 4vw, 4rem) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.02em; line-height: 0.98; color: var(--cream); max-width: 12ch; }
.hero__lead { margin-top: 1.5rem; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; color: var(--on-wine-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__seal { position: relative; padding: 6% 4%; }
.seal--xl { --ring: 10px; width: 100%; max-width: 520px; margin-inline: auto; box-shadow: inset 0 0 0 5px var(--cream), inset 0 0 0 6.5px var(--gold), 0 40px 80px -30px rgba(20, 4, 9, 0.7); }
.hero__sticker { position: absolute; filter: drop-shadow(0 14px 22px rgba(20, 4, 9, 0.45)); }
.hero__sticker--a { width: 36%; left: -6%; bottom: 0; rotate: -10deg; }
.hero__sticker--b { width: 22%; right: 0; top: 2%; rotate: 12deg; }
.hero__caption { position: absolute; right: 6%; bottom: 6%; margin: 0; font-family: var(--display); font-size: 1.05rem; color: var(--gold); }
.hero__facts {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
	margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.5rem;
	border-top: 1px solid rgba(201, 162, 98, 0.35); color: var(--on-wine-soft); font-size: var(--step--1);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts .icon { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
	.seal--xl { animation: seal-in 1.1s var(--ease-out) both; }
	.hero__sticker--a { animation: stick 0.7s 0.5s var(--ease-out) both; }
	.hero__sticker--b { animation: stick 0.7s 0.65s var(--ease-out) both; }
	@keyframes seal-in { from { opacity: 0; transform: scale(0.94) rotate(-6deg); } to { opacity: 1; transform: none; } }
	@keyframes stick { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__seal { order: -1; max-width: 420px; width: 100%; margin-inline: auto; }
	.hero__facts { justify-content: flex-start; }
}

/* ---------- Sticker row ---------- */
.stickers-row { overflow: hidden; padding: 1.5rem 0 2.5rem; background: var(--wine); }
.stickers-row__track { display: flex; gap: 1.25rem; width: max-content; }
.stickers-row img { width: clamp(110px, 12vw, 150px); flex: none; }
.stickers-row img:nth-child(odd) { rotate: -5deg; }
.stickers-row img:nth-child(even) { rotate: 4deg; translate: 0 10px; }
@media (prefers-reduced-motion: no-preference) {
	.stickers-row__track { animation: drift 60s linear infinite; }
	.stickers-row:hover .stickers-row__track { animation-play-state: paused; }
	@keyframes drift { to { transform: translateX(-50%); } }
}

/* ---------- Section heads ---------- */
.section__head { margin-bottom: 3rem; }
.section__head--center { text-align: center; }
.section__head--center .section__text { margin-inline: auto; }
.section__title { font-size: var(--step-3); }
.section__text { margin-top: 1rem; max-width: 52ch; font-size: var(--step-1); line-height: 1.5; }

/* ---------- Flavours (cream) ---------- */
.flavours { background: var(--cream); color: var(--ink); border-radius: 40px 40px 0 0; }
.flavours .section__title { color: var(--wine); }
.flavours .section__text { color: var(--ink-soft); }
.tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.tabs__btn {
	min-height: 48px; padding: 0.6rem 1.6rem; border-radius: 999px; cursor: pointer;
	border: 1.5px solid color-mix(in srgb, var(--wine) 30%, transparent); background: transparent;
	font: 700 1.25rem/1 var(--display); color: var(--wine);
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s;
}
.tabs__btn[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.tabs__btn:not([aria-selected="true"]):hover { border-color: var(--wine); }

/* ---------- Boxes (wine) ---------- */
.boxes { background: var(--cream); padding-top: 0; }
.boxes > .wrap { background: var(--wine); border-radius: 40px; padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 4vw, 4rem); width: min(100% - 2 * var(--gutter) * 0.5, 1320px); }
.boxes .section__text { color: var(--on-wine-soft); }
.boxes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; margin-top: 4.5rem; }
.box {
	position: relative; background: var(--cream); color: var(--ink); border-radius: 28px;
	padding: 4.25rem clamp(1.25rem, 2.5vw, 2rem) 2rem; text-align: center;
	box-shadow: inset 0 0 0 8px var(--cream), inset 0 0 0 9.5px var(--gold);
}
.box--featured { background: #fff; box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 9.5px var(--gold), 0 30px 60px -30px rgba(20, 4, 9, 0.8); transform: translateY(-1.25rem); }
.box__badge { display: inline-block; margin: 0 0 0.6rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--gold); color: var(--wine-deep); font-weight: 700; font-size: 0.875rem; }
.box__name { font-size: var(--step-2); color: var(--wine); }
.box__meta { margin-top: 0.4rem; color: var(--ink-soft); }
.box__tiers { margin: 1.5rem 0 1.75rem; text-align: left; font-variant-numeric: tabular-nums lining-nums; }
.box__tier { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.8rem 0; border-top: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent); }
.box__tier dt { flex: 1; min-width: 0; }
.box__tier-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.box__tier-detail { display: block; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.3; }
.box__tier dd { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--wine); white-space: nowrap; }
.box__cta { width: 100%; }
.boxes__note { margin-top: 2.5rem; text-align: center; color: var(--on-wine-soft); }
@media (max-width: 960px) {
	.boxes__list { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 4rem; }
	.box--featured { transform: none; }
}

/* ---------- Events (cream) ---------- */
.events { background: var(--cream); color: var(--ink); }
.events__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.events .section__title { color: var(--wine); }
.events__text p { margin: 1.25rem 0 2rem; max-width: 44ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.events__sticker { position: absolute; left: 44%; top: 4%; width: 30%; rotate: 10deg; filter: drop-shadow(0 10px 16px rgba(61, 20, 32, 0.3)); }
@media (max-width: 860px) { .events__grid { grid-template-columns: 1fr; } }

/* ---------- Story (wine deep) ---------- */
/* ---------- Importante (cream) ---------- */
.important { background: var(--cream); color: var(--ink); overflow-x: clip; }
.important .section__title { color: var(--wine); }
.important__list {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem);
	max-width: 1080px; margin-inline: auto; padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3.5rem);
	border-radius: 28px; background: #fff;
	box-shadow: inset 0 0 0 8px #fff, inset 0 0 0 9.5px var(--gold), 0 30px 60px -40px rgba(61, 20, 32, 0.5);
}
.important__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent); }
.important__item:nth-last-child(-n + 2) { border-bottom: 0; }
.important__item--wide { grid-column: 1 / -1; }
.important__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--wine); color: var(--cream); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gold);
}
.important__item h3 { font-size: 1.35rem; line-height: 1.2; color: var(--wine); }
.important__item p { margin-top: 0.45rem; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.important__cta { margin-top: 1rem; }
@media (max-width: 760px) {
	.important__list { grid-template-columns: 1fr; }
	.important__item:nth-last-child(2) { border-bottom: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent); }
}

/* ---------- Nosotros (vino oscuro) ---------- */
.story { background: var(--wine-deep); }
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story .section__title, .meaning .section__title { color: var(--cream); }
.story__text p, .meaning__text p { margin-top: 1.25rem; max-width: 56ch; font-size: var(--step-1); line-height: 1.6; color: var(--on-wine-soft); }
.story__seal { width: 100%; max-width: 400px; justify-self: center; rotate: 4deg; box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5.5px var(--gold), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }

/* ---------- Qué representa Inanna (vino) ---------- */
.meaning { background: var(--wine); }
.meaning__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__goddess { width: 100%; max-width: 400px; justify-self: center; rotate: -4deg; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4)); }
.meaning__text p.meaning__quote { margin-top: 1.75rem; margin-bottom: 0; padding-block: 1rem; border-block: 1px solid rgba(201, 162, 98, 0.45); max-width: none; font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1.05; color: var(--gold); }
@media (max-width: 760px) {
	.story__grid, .meaning__grid { grid-template-columns: 1fr; }
	.story__seal { max-width: 300px; order: -1; }
	.story__goddess { max-width: 260px; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--cream); color: var(--ink); }
.faq__wrap { max-width: 820px; }
.faq .section__title { color: var(--wine); text-align: center; margin-bottom: 2.5rem; }
.faq__item { border-bottom: 1px dashed color-mix(in srgb, var(--gold) 80%, transparent); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--wine); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform 0.25s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: var(--on-wine-soft); padding: 4.5rem 0 6rem; font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand p { margin-top: 1rem; max-width: 30ch; font-family: var(--display); font-size: 1.25rem; color: var(--cream); }
.site-footer__title { font-family: var(--text); font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.75rem; letter-spacing: 0; }
.site-footer a { color: var(--cream); }
.social li + li { margin-top: 0.4rem; }
.social a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; min-height: 32px; }
.social a:hover span { text-decoration: underline; }
.site-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(201, 162, 98, 0.25); font-size: 0.875rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.site-footer__legal p { margin: 0; }
.site-footer__credit a { color: var(--on-wine-soft); text-decoration: none; opacity: 0.75; transition: color 0.2s, opacity 0.2s; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { color: var(--gold); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile order bar ---------- */
.mobile-order {
	position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
	display: none; align-items: center; justify-content: center; gap: 0.5rem; min-height: 54px;
	border-radius: 999px; background: var(--gold); color: var(--wine-deep); text-decoration: none; font-weight: 700;
	box-shadow: 0 12px 30px -10px rgba(20, 4, 9, 0.6); transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-order.is-hidden { transform: translateY(140%); opacity: 0; }
@media (max-width: 900px) { .mobile-order { display: flex; } }

/* ---------- Pages + WooCommerce ---------- */
.page-content { padding-block: var(--section); }
body:not(.home) main { background: var(--cream); color: var(--ink); }
.page-content h1 { font-size: var(--step-3); color: var(--wine); margin-bottom: 2rem; }
.page-content .entry { max-width: 68ch; }
.woocommerce-breadcrumb { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 2rem; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { position: relative; }
.woocommerce div.product .woocommerce-product-gallery__image img { border-radius: 999px 999px 24px 24px; width: 100%; }
.woocommerce div.product .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 2; }
.woocommerce div.product .flex-control-thumbs { display: flex; gap: 8px; padding: 8px 0; }
.woocommerce div.product .flex-control-thumbs li { width: 72px; cursor: pointer; }
.woocommerce div.product .product_title { font-size: var(--step-3); color: var(--wine); margin-bottom: 1rem; }
.woocommerce div.product .price { font-family: var(--display); font-size: var(--step-2); color: var(--wine); }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: var(--step-1); color: var(--ink-soft); }
.woocommerce div.product .product_meta { font-size: 0.95rem; color: var(--ink-soft); margin-top: 1.5rem; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce-tabs .tabs { display: none; }
.woocommerce-tabs h2 { font-size: var(--step-2); margin-bottom: 1rem; color: var(--wine); }
.inanna-wa { margin: 2rem 0 0.5rem; }
.inanna-wa__btn, .woocommerce a.button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px; background: var(--wine); color: var(--cream); text-decoration: none; font-weight: 700; }
.inanna-wa__btn:hover { background: var(--wine-deep); }
.inanna-wa__note { font-size: 0.95rem; color: var(--ink-soft); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1rem; }
.woocommerce ul.products li.product { text-align: center; }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product a img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1.5px var(--gold); }
.woocommerce ul.products .woocommerce-loop-product__title { font-size: var(--step-1); margin: 0.75rem 0 0.25rem; color: var(--wine); }
.related > h2 { font-size: var(--step-2); margin: 3rem 0 1.5rem; color: var(--wine); }
@media (max-width: 760px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; }

/* =========================================================
   Animaciones (solo con .js-anim: se omiten si el visitante
   pidió reducir movimiento o si JavaScript no carga)
   ========================================================= */
:root { --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Sello principal con texto circular */
.hero__disc { position: relative; width: 84%; margin-inline: auto; }
.hero__disc .seal--xl { max-width: none; }
.hero__ring { position: absolute; inset: -11%; width: 122%; height: 122%; overflow: visible; pointer-events: none; will-change: transform; }
.hero__ring text { font-family: var(--display); font-weight: 700; font-size: 10.6px; fill: var(--gold); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Titular palabra por palabra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0.03em 0.12em; margin: -0.12em -0.03em -0.12em; }
.split .w > span { display: inline-block; }
.js-anim .split .w > span { transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; animation: word-up 0.9s var(--ease-out) forwards; animation-delay: calc(var(--base, 0ms) + var(--i) * 70ms); }
@keyframes word-up { to { transform: none; } }

/* Revelados genéricos */
.js-anim [data-reveal] { transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js-anim [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* Sellos de sabor: giran como un sticker que se coloca */
.js-anim [data-reveal="spin"] .seal { transition: opacity 0.6s var(--ease-out) var(--d), transform 1s var(--spring) var(--d); }
.js-anim [data-reveal="spin"]:not(.is-in) .seal { opacity: 0; transform: rotate(-40deg) scale(0.8); }
.js-anim [data-reveal="spin"] > :not(.seal) { transition: opacity 0.6s var(--ease-out) calc(var(--d) + 250ms), transform 0.6s var(--ease-out) calc(var(--d) + 250ms); }
.js-anim [data-reveal="spin"]:not(.is-in) > :not(.seal) { opacity: 0; transform: translateY(10px); }
.js-anim [data-reveal="spin"] { transition: none; }

/* Logo de cada caja: se estampa */
.js-anim [data-reveal="stamp"] { transition: opacity 0.2s ease-out var(--d), transform 0.55s var(--spring) var(--d); }
.js-anim [data-reveal="stamp"]:not(.is-in) { opacity: 0; transform: scale(2.2) rotate(-30deg); }
.js-anim .box.is-in .box__photo.is-in + .box__badge { animation: badge 0.5s var(--spring) calc(var(--d, 0ms) + 900ms) backwards; }
@keyframes badge { from { transform: scale(0); } }

/* Fotos de eventos: se abren desde abajo en forma de arco */
.js-anim [data-reveal="arch"] { transition: clip-path 1.1s var(--ease-out) var(--d), transform 1.1s var(--ease-out) var(--d); clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); }
.js-anim .events__photo--b[data-reveal="arch"] { clip-path: inset(0 0 0 0 round 24px); }
.js-anim [data-reveal="arch"]:not(.is-in) { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); transform: translateY(20px); }

/* Stickers que se pegan */
.js-anim [data-reveal="stick"] { transition: opacity 0.35s ease-out var(--d), transform 0.7s var(--spring) var(--d); }
.js-anim [data-reveal="stick"]:not(.is-in) { opacity: 0; transform: scale(1.35) rotate(-14deg); }
.js-anim .story__goddess.is-in { animation: bob 7s ease-in-out 1.2s infinite; }

/* Fila de frases: cada sticker reacciona al pasar el cursor */
.stickers-row img { transition: transform 0.4s var(--spring); }
.stickers-row img:hover { transform: scale(1.12) rotate(-6deg); }

/* Botones */
.btn:hover .icon-whatsapp, .mobile-order:hover .icon-whatsapp { animation: wiggle 0.5s var(--ease-out); }
@keyframes wiggle { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.box { transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out), box-shadow 0.3s; }

/* Preguntas: apertura suave donde el navegador lo permite */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	.faq__item::details-content { height: 0; overflow: clip; transition: height 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
	.faq__item[open]::details-content { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.stickers-row__track { flex-wrap: wrap; justify-content: center; width: auto; }
}

.hero__caption { position: static; display: flex; align-items: center; justify-content: center; gap: 0.9rem; min-height: 44px; margin-top: 13%; }
.hero__name { display: grid; margin: 0; overflow: hidden; font-family: var(--display); font-size: 1.1rem; color: var(--gold); }
.hero__name span { grid-area: 1 / 1; text-align: center; }
.seal--xl { display: grid; }
.seal--xl .shot { grid-area: 1 / 1; }

/* Líneas doradas y destellos alrededor del sello */
.hero__lines { position: absolute; inset: -11%; width: 122%; height: 122%; overflow: visible; pointer-events: none; }
.hero__line { fill: none; stroke: var(--gold); }
.hero__line--outer { stroke-width: 0.5; opacity: 0.6; }
.hero__line--dots { stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 0 4.53; opacity: 0.7; transform-origin: 100px 100px; }
.hero__spark { position: absolute; width: clamp(16px, 2vw, 26px); fill: var(--gold); pointer-events: none; }
.hero__spark--1 { left: 9%; top: 9%; }
.hero__spark--2 { right: 1%; top: 47%; width: clamp(12px, 1.4vw, 18px); }
.hero__spark--3 { right: 16%; top: 80%; }
.hero__spark--4 { left: 3%; top: 38%; width: clamp(12px, 1.4vw, 17px); }

/* Botón de pausa con anillo de progreso */
.hero__pause { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
.hero__pause svg { overflow: visible; }
.hero__pause-track { fill: none; stroke: rgba(201, 162, 98, 0.3); stroke-width: 1.5; }
.hero__pause-fill { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 20px 20px; }
.hero__pause .i-pause { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.hero__pause .i-play { fill: currentColor; display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause:hover .hero__pause-track { stroke: var(--gold); }

/* =========================================================
   Hero en movimiento: el sello se estampa, el texto circular
   se escribe alrededor y cada ~5 s cambia el sabor del sello.
   ========================================================= */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }

/* 1. Las líneas doradas se dibujan y la corona de puntos gira al revés */
.js-anim .hero__line--outer { stroke-dasharray: 1; animation: draw 1.8s var(--ease-out) 0.15s backwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js-anim .hero__line--dots { animation: fade-in 1s var(--ease-out) 0.7s backwards, spin-rev 90s linear 0.7s infinite; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* 2. El sello se abre como un iris y la foto se asienta girando */
.js-anim .seal--xl { animation: seal-iris 1.3s var(--ease-out) 0.2s backwards; }
@keyframes seal-iris { from { clip-path: circle(0% at 50% 50%); transform: rotate(-30deg) scale(0.85); } to { clip-path: circle(75% at 50% 50%); transform: none; } }
.js-anim .hero__seal:not(.has-rotated) .seal--xl .shot:first-child { animation: seal-settle 2s var(--ease-out) 0.2s backwards; }
@keyframes seal-settle { from { transform: scale(1.4) rotate(18deg); } }

/* 3. El texto circular aparece en un barrido de reloj */
.js-anim .hero__ring { -webkit-mask: conic-gradient(#000 var(--sweep), transparent 0); mask: conic-gradient(#000 var(--sweep), transparent 0); animation: ring-sweep 1.9s var(--ease-out) 0.55s backwards; }
@keyframes ring-sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }

/* 4. Los stickers llegan volando y se pegan */
.js-anim .hero__sticker--a { animation: fly-a 1s var(--spring) 1s backwards, bob 6s ease-in-out 2s infinite; }
.js-anim .hero__sticker--b { animation: fly-b 1s var(--spring) 1.2s backwards, bob 5s ease-in-out 2.2s infinite reverse; }
@keyframes fly-a { from { opacity: 0; transform: translate(-70%, 50%) rotate(-60deg) scale(1.4); } 40% { opacity: 1; } }
@keyframes fly-b { from { opacity: 0; transform: translate(60%, -70%) rotate(70deg) scale(1.4); } 40% { opacity: 1; } }

/* 5. Destellos */
.js-anim .hero__spark { transform: scale(0); animation: twinkle 3.4s ease-in-out infinite; }
.js-anim .hero__spark--1 { animation-delay: 1.6s; }
.js-anim .hero__spark--2 { animation-delay: 2.5s; }
.js-anim .hero__spark--3 { animation-delay: 3.1s; }
.js-anim .hero__spark--4 { animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { transform: scale(0) rotate(0deg); } 45%, 55% { transform: scale(1) rotate(45deg); } }

/* 6. Nombre y botón */
.js-anim .hero__caption { animation: up-in 0.8s var(--ease-out) 1.4s backwards; }
@keyframes up-in { from { opacity: 0; transform: translateY(12px); } }
.js-anim .hero__pause.is-active .hero__pause-fill { animation: draw var(--cycle, 5200ms) linear both; }
.hero__seal.is-held .hero__pause-fill,
.hero__seal.is-paused *, .hero__seal.is-paused { animation-play-state: paused !important; }

/* 7. Cambio de sabor: la foto nueva se abre desde el centro y la anterior se aleja */
.seal--xl .shot.is-next { animation: iris-in 1.2s var(--ease-out) both; }
@keyframes iris-in { from { clip-path: circle(0% at 50% 50%); transform: scale(1.35) rotate(-24deg); } to { clip-path: circle(50% at 50% 50%); transform: none; } }
.seal--xl .shot.is-out { animation: iris-out 1.2s var(--ease-out) both; }
@keyframes iris-out { to { transform: scale(0.88) rotate(14deg); filter: brightness(0.6); } }
.hero__name span.is-next { animation: name-in 0.7s var(--ease-out) 0.3s both; }
.hero__name span.is-out { animation: name-out 0.45s var(--ease-out) both; }
@keyframes name-in { from { transform: translateY(110%); } }
@keyframes name-out { to { transform: translateY(-110%); opacity: 0; } }

/* 8. Profundidad con el cursor: el sello se inclina y los stickers flotan delante */
.js-anim .hero__disc { transform: perspective(1000px) rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -9deg)); }
.js-anim .hero__sticker { transform: translate(calc(var(--px, 0) * 22px), calc(var(--py, 0) * 16px)); }
.js-anim .hero__spark { translate: calc(var(--px, 0) * 12px) calc(var(--py, 0) * 10px); }

/* Evita scroll horizontal por elementos que entran escalados o giran fuera del borde */
body { overflow-x: clip; }

@media (max-width: 860px) {
	.hero__sticker--a { width: 30%; left: -4%; bottom: 16%; }
}


/* Foto de Nosotros: gira como un sello que se coloca */
.js-anim [data-reveal="spin-solo"] { transition: opacity 0.6s var(--ease-out) var(--d), transform 1s var(--spring) var(--d); }
.js-anim [data-reveal="spin-solo"]:not(.is-in) { opacity: 0; transform: rotate(-30deg) scale(0.85); }

/* =========================================================
   Ajustes del cliente (noviembre 2026)
   ========================================================= */

/* Palabra sobre el título (Precios, Importante, Para tus eventos) */
.eyebrow { margin: 0 0 0.35rem; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); color: var(--gold-ink); }
.boxes .eyebrow { color: var(--gold); }

/* ---------- Inicio: fondo crema, menú morado ---------- */
.hero { background: var(--cream); color: var(--ink); }
@media (min-width: 861px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hero__title { color: var(--wine-deep); }
.hero__lead { color: var(--ink-soft); }
.hero__facts { border-top-color: color-mix(in srgb, var(--wine) 22%, transparent); color: var(--ink-soft); }
.hero__facts .icon { color: var(--wine); }
.hero .btn--outline { border-color: color-mix(in srgb, var(--wine) 45%, transparent); }
.hero__disc { width: 78%; }
.hero__band { fill: none; stroke: var(--wine); stroke-width: 13.5; }
.hero__ring text { fill: var(--cream); }
.hero__line { stroke: var(--gold); }
/* Todo el círculo en vino: de la banda de texto hasta la foto. */
.hero__disc { isolation: isolate; }
.hero__disc::before {
	content: ""; position: absolute; inset: -13.2%; z-index: -1; border-radius: 50%; background: var(--wine);
	box-shadow: 0 40px 80px -30px rgba(61, 20, 32, 0.6);
}
.js-anim .hero__disc::before { animation: disc-in 1.2s var(--ease-out) 0.1s backwards; }
@keyframes disc-in { from { opacity: 0; transform: scale(0.85); } }
.hero__spark { fill: var(--gold-ink); }
.hero__name { color: var(--wine); font-weight: 700; }
.hero__pause { color: var(--wine); }
.hero__pause-track { stroke: color-mix(in srgb, var(--wine) 25%, transparent); }
.hero__pause-fill { stroke: var(--wine); }
.hero__pause:hover .hero__pause-track { stroke: var(--wine); }
.hero :focus-visible { outline-color: var(--wine); }

/* El vasito se ve entero: la foto completa sobre un fondo difuminado de sí misma */
.seal--xl .shot { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 45%, #f6f2ec 0%, #ece4da 100%); }
.seal--xl .shot img { position: absolute; border-radius: 0; }
.seal--xl .shot__fill { display: none; }
.seal--xl .shot__img {
	inset: 5%; width: 90%; height: 90%; object-fit: contain;
	-webkit-mask-image: radial-gradient(ellipse 37.5% 50% at 50% 50%, #000 70%, transparent 100%);
	mask-image: radial-gradient(ellipse 37.5% 50% at 50% 50%, #000 70%, transparent 100%);
}

/* ---------- Sabores: fondo negro que nace del vino y vuelve al vino ---------- */
.flavours {
	position: relative; isolation: isolate; color: var(--cream); border-radius: 0;
	background: linear-gradient(180deg,
		var(--wine) 0, #4c1b29 4rem, #3a121e 9rem, var(--noche) 15rem,
		var(--noche) calc(100% - 15rem), #3a121e calc(100% - 9rem), #4c1b29 calc(100% - 4rem), var(--wine) 100%);
}
/* Halo suave detrás de las fotos para que el negro no se vea plano. */
.flavours::before {
	content: ""; position: absolute; inset: 14rem 0; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 55% 45% at 50% 55%, rgba(122, 48, 68, 0.45), transparent 70%);
}
.flavours .section__title { color: var(--cream); }
.flavours .section__text { color: rgba(247, 239, 228, 0.75); }
.flavours :focus-visible { outline-color: var(--gold); }
.stickers-row {
	padding: clamp(4.5rem, 7vw, 6.5rem) 0 1.5rem;
	background: linear-gradient(180deg, var(--cream) 0, #eedcd2 12%, #d9b5b0 24%, #b27b87 38%, #8a4a5f 52%, #6c2c3f 64%, var(--wine) 76%);
}
.tabs__btn { border-color: rgba(247, 239, 228, 0.35); color: var(--cream); }
.tabs__btn[aria-selected="true"] { background: var(--cream); border-color: var(--cream); color: var(--wine-deep); }
.tabs__btn:not([aria-selected="true"]):hover { border-color: var(--cream); }
.tabs { gap: 0.85rem; }
.tabs__btn { min-height: 64px; padding: 0.85rem 2.6rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); border-width: 2px; }
@media (max-width: 760px) { .tabs__btn { min-height: 56px; padding: 0.75rem 1.9rem; } }
.flavour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 3rem clamp(1.25rem, 3vw, 2.5rem); }
.flavour-grid[hidden] { display: none; }
/* Tarjeta: una sola etiqueta crema con la foto adentro y un sello redondo montado en el borde. */
.flavour__open {
	--pad: 9px; position: relative; display: flex; flex-direction: column; width: 100%; height: 100%;
	padding: var(--pad); border: 0; border-radius: 26px; background: var(--cream); color: var(--ink);
	font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
	transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.flavour--deluxe .flavour__open { background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--gold); }
.flavour__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(26px - var(--pad)); background: #f4efe8; }
.flavour__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: center top; transition: transform 0.7s var(--ease-out); }
.flavour__seal {
	position: absolute; z-index: 1; right: 4px; top: -60px; width: 84px; height: 84px;
	display: grid; place-items: center; border-radius: 50%; background: var(--wine-2); color: var(--cream);
	box-shadow: 0 0 0 4px var(--cream), 0 12px 22px -10px rgba(20, 4, 9, 0.75);
	rotate: -10deg; transition: rotate 0.6s var(--ease-out);
}
.flavour--deluxe .flavour__seal { background: var(--gold); color: var(--wine-deep); box-shadow: 0 0 0 4px var(--cream), 0 12px 22px -10px rgba(20, 4, 9, 0.75); }
.flavour__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flavour__seal text { fill: currentColor; font-family: var(--text); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.flavour__plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--wine); rotate: 10deg; transition: rotate 0.4s var(--ease-out); }
.flavour--deluxe .flavour__plus { background: var(--wine-deep); color: var(--gold); }
.flavour__body { position: relative; display: block; padding: 1rem 0.65rem 0.6rem; }
/* Hueco para que la primera línea del nombre no choque con el sello. */
.flavour__body::before { content: ""; float: right; width: 74px; height: 1.2rem; }
.flavour__name { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; color: var(--wine); text-wrap: balance; }
.flavour__note { display: block; margin-top: 0.45rem; font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.flavour__open:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px rgba(0, 0, 0, 0.9); }
.flavour--deluxe .flavour__open:hover { box-shadow: inset 0 0 0 1.5px var(--gold), 0 28px 44px -26px rgba(0, 0, 0, 0.9); }
.flavour__open:hover .flavour__photo img { transform: scale(1.06); }
.flavour__open:hover .flavour__seal { rotate: 35deg; }
.flavour__open:hover .flavour__plus { rotate: -35deg; }
.flavour__open:active { transform: translateY(-2px) scale(0.985); }
.flavour__open:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
	.flavour__open, .flavour__seal, .flavour__plus, .flavour__photo img { transition: none; }
}
@media (max-width: 760px) {
	.flavour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
	.flavour__open { --pad: 6px; border-radius: 20px; }
	.flavour__photo { border-radius: 14px; }
	.flavour__seal { width: 58px; height: 58px; right: 0; top: -40px; box-shadow: 0 0 0 3px var(--cream), 0 10px 18px -10px rgba(20, 4, 9, 0.75); }
	.flavour--deluxe .flavour__seal { box-shadow: 0 0 0 3px var(--cream), 0 10px 18px -10px rgba(20, 4, 9, 0.75); }
	.flavour__seal text { font-size: 15px; }
	.flavour__plus { width: 24px; height: 24px; }
	.flavour__plus .icon { width: 14px; height: 14px; }
	.flavour__body { padding: 0.75rem 0.4rem 0.45rem; }
	.flavour__body::before { width: 50px; height: 0.9rem; }
	.flavour__name { font-size: 1.15rem; }
	.flavour__note { font-size: 0.875rem; }
	.flavours { background: linear-gradient(180deg, var(--wine) 0, #3a121e 5rem, var(--noche) 9rem, var(--noche) calc(100% - 9rem), #3a121e calc(100% - 5rem), var(--wine) 100%); }
	.flavours::before { inset: 8rem 0; }
}

/* Precios continúa el vino a todo lo ancho y cierra con curva sobre el crema. */
.boxes { background: var(--wine); padding-top: clamp(1rem, 2vw, 2rem); border-radius: 0 0 40px 40px; }
.boxes > .wrap { background: none; border-radius: 0; padding: 0; width: min(100% - 2 * var(--gutter), 1240px); }

/* ---------- Ficha del sabor ---------- */
html.has-dialog { overflow: hidden; }
.flavour-dialog {
	width: min(940px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; overflow: auto;
	border-radius: 28px; background: var(--cream); color: var(--ink);
	box-shadow: inset 0 0 0 8px var(--cream), inset 0 0 0 9.5px var(--gold), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.flavour-dialog::backdrop { background: rgba(10, 2, 5, 0.72); backdrop-filter: blur(4px); }
.flavour-dialog[open] { animation: dialog-in 0.45s var(--ease-out); }
.flavour-dialog[open]::backdrop { animation: backdrop-in 0.3s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes backdrop-in { from { opacity: 0; } }
.flavour-dialog__body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.flavour-dialog__photo { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 4; background: #f4efe8; }
.flavour-dialog__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.flavour-dialog__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2.5rem clamp(0.25rem, 2vw, 1.5rem) 0.5rem 0; }
.flavour-dialog__line { margin: 0; padding: 0.3rem 0.85rem; border-radius: 999px; background: var(--wine-2); color: var(--cream); font-weight: 700; font-size: 0.9rem; }
.flavour-dialog--deluxe .flavour-dialog__line { background: var(--gold); color: var(--wine-deep); }
.flavour-dialog__name { margin: 0.9rem 0 0; font-size: var(--step-3); line-height: 1.02; color: var(--wine); }
.flavour-dialog__note { margin: 0.9rem 0 0; font-family: var(--display); font-style: italic; font-size: var(--step-1); line-height: 1.35; color: var(--ink-soft); }
.flavour-dialog__label { margin: 1.6rem 0 0; padding-top: 1.2rem; width: 100%; border-top: 1px dashed rgba(201, 162, 98, 0.7); font-family: var(--display); font-size: 1.15rem; color: var(--gold-ink); }
.flavour-dialog__desc { margin: 0.4rem 0 0; max-width: 42ch; font-size: var(--step-0); line-height: 1.55; color: var(--ink); }
.flavour-dialog__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.flavour-dialog__nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; color: var(--ink-soft); font-size: 0.95rem; }
.flavour-dialog__nav[hidden] { display: none; }
.flavour-dialog__step {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
	border: 1.5px solid color-mix(in srgb, var(--wine) 35%, transparent); background: none; color: var(--wine);
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.flavour-dialog__step:hover { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.flavour-dialog__step--prev .icon { transform: scaleX(-1); }
.flavour-dialog__count { min-width: 4.5ch; text-align: center; font-variant-numeric: tabular-nums; }
.flavour-dialog__close {
	position: absolute; top: clamp(1.25rem, 2.5vw, 1.75rem); right: clamp(1.25rem, 2.5vw, 1.75rem); z-index: 2;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--wine); color: var(--cream); transition: transform 0.25s var(--ease-out);
}
.flavour-dialog__close:hover { transform: rotate(90deg); }
.flavour-dialog :focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.flavour-dialog__body.is-step-next .flavour-dialog__photo img,
.flavour-dialog__body.is-step-next .flavour-dialog__text > * { animation: step-next 0.45s var(--ease-out) both; }
.flavour-dialog__body.is-step-prev .flavour-dialog__photo img,
.flavour-dialog__body.is-step-prev .flavour-dialog__text > * { animation: step-prev 0.45s var(--ease-out) both; }
.flavour-dialog__body.is-step-next .flavour-dialog__text > :nth-child(n+2),
.flavour-dialog__body.is-step-prev .flavour-dialog__text > :nth-child(n+2) { animation-delay: 40ms; }
.flavour-dialog__body.is-step-next .flavour-dialog__text > :nth-child(n+4),
.flavour-dialog__body.is-step-prev .flavour-dialog__text > :nth-child(n+4) { animation-delay: 80ms; }
.flavour-dialog__nav, .flavour-dialog__body .flavour-dialog__nav { animation: none !important; }
@keyframes step-next { from { opacity: 0; transform: translateX(18px); } }
@keyframes step-prev { from { opacity: 0; transform: translateX(-18px); } }
@media (max-width: 700px) {
	/* En móvil la ficha sube desde abajo, como una hoja. */
	.flavour-dialog {
		width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0;
		box-shadow: inset 0 9px 0 -8px var(--gold), 0 -20px 60px -20px rgba(0, 0, 0, 0.9);
	}
	.flavour-dialog[open] { animation: sheet-in 0.45s var(--ease-out); }
	@keyframes sheet-in { from { transform: translateY(100%); } }
	.flavour-dialog__body { grid-template-columns: 1fr; gap: 1.25rem; padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom)); }
	.flavour-dialog__photo { aspect-ratio: 1 / 1; }
	.flavour-dialog__photo img { object-position: center top; }
	.flavour-dialog__text { padding: 0 0.25rem; }
	.flavour-dialog__name { font-size: 2.1rem; }
	.flavour-dialog__actions { width: 100%; }
	.flavour-dialog__actions .btn { flex: 1 1 100%; justify-content: center; }
	.flavour-dialog__nav { width: 100%; justify-content: center; }
	.flavour-dialog__close { top: 1.6rem; right: 1.6rem; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); }
}
@media (prefers-reduced-motion: reduce) {
	.flavour-dialog[open], .flavour-dialog[open]::backdrop,
	.flavour-dialog__body[class*="is-step"] * { animation: none !important; }
}

/* ---------- Precios: foto de cada caja en un círculo grande ---------- */
.boxes__list { margin-top: 7rem; row-gap: 7rem; }
.box { padding-top: 6.5rem; }
.box__photo {
	position: absolute; top: 0; left: 50%; translate: -50% -50%; width: clamp(130px, 13vw, 170px); aspect-ratio: 1;
	overflow: hidden; border-radius: 50%; background: var(--cream);
	box-shadow: 0 0 0 5px var(--cream), 0 0 0 6.5px var(--gold), 0 16px 30px -12px rgba(20, 4, 9, 0.7);
}
.box--featured .box__photo { box-shadow: 0 0 0 5px #fff, 0 0 0 6.5px var(--gold), 0 16px 30px -12px rgba(20, 4, 9, 0.7); }
.box__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Cómo pedir: sección propia en crema, cada paso en un rectángulo vino */
.howto { background: var(--cream); color: var(--ink); padding-bottom: clamp(2rem, 4vw, 3rem); }
.howto .section__title { color: var(--wine); }
/* Un solo ticket vino partido en 3, con línea perforada y muescas entre pasos. */
.howto__list {
	--notch: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 0 auto; padding: 0; list-style: none;
	border-radius: 28px; background: var(--wine); color: var(--cream);
	-webkit-mask:
		radial-gradient(circle var(--notch) at 33.333% 0, #0000 98%, #000),
		radial-gradient(circle var(--notch) at 66.666% 0, #0000 98%, #000),
		radial-gradient(circle var(--notch) at 33.333% 100%, #0000 98%, #000),
		radial-gradient(circle var(--notch) at 66.666% 100%, #0000 98%, #000);
	mask:
		radial-gradient(circle var(--notch) at 33.333% 0, #0000 98%, #000) intersect,
		radial-gradient(circle var(--notch) at 66.666% 0, #0000 98%, #000) intersect,
		radial-gradient(circle var(--notch) at 33.333% 100%, #0000 98%, #000) intersect,
		radial-gradient(circle var(--notch) at 66.666% 100%, #0000 98%, #000);
	-webkit-mask-composite: source-in;
}
.howto__list li { position: relative; padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem); text-align: left; }
.howto__list li + li { border-left: 2px dashed color-mix(in srgb, var(--gold) 55%, transparent); }
.howto__n {
	display: block; width: auto; height: auto; border: 0; border-radius: 0; line-height: 0.8;
	font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(3.5rem, 2.5rem + 3vw, 5rem); color: var(--gold);
}
.howto__list h3 { margin: 1rem 0 0; line-height: 1.15; font-family: var(--display); font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); color: var(--cream); }
.howto__list p { margin: 0.5rem 0 0; max-width: 28ch; color: var(--on-wine-soft); line-height: 1.5; }
.howto__cta-wrap { margin-top: clamp(2rem, 4vw, 2.75rem); text-align: center; }
.howto + .important { padding-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 760px) {
	.howto__list {
		grid-template-columns: 1fr; grid-auto-rows: 1fr;
		-webkit-mask:
			radial-gradient(circle var(--notch) at 0 33.333%, #0000 98%, #000),
			radial-gradient(circle var(--notch) at 0 66.666%, #0000 98%, #000),
			radial-gradient(circle var(--notch) at 100% 33.333%, #0000 98%, #000),
			radial-gradient(circle var(--notch) at 100% 66.666%, #0000 98%, #000);
		mask:
			radial-gradient(circle var(--notch) at 0 33.333%, #0000 98%, #000) intersect,
			radial-gradient(circle var(--notch) at 0 66.666%, #0000 98%, #000) intersect,
			radial-gradient(circle var(--notch) at 100% 33.333%, #0000 98%, #000) intersect,
			radial-gradient(circle var(--notch) at 100% 66.666%, #0000 98%, #000);
		-webkit-mask-composite: source-in;
	}
	.howto__list li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.1rem; align-content: center; align-items: start; }
	.howto__list li + li { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--gold) 55%, transparent); }
	.howto__n { grid-row: span 2; width: 2.8rem; font-size: 3.6rem; text-align: center; }
	.howto__list h3 { margin-top: 0.2rem; }
}

/* ---------- Eventos: fotos reales y texto más grande ---------- */
.events__photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.events__photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.events__photo--a, .events__photo--b { aspect-ratio: 5 / 4; }
.events__photo--c { grid-column: 1 / -1; aspect-ratio: 2.1 / 1; }
.events__text .events__lead { margin: 1rem 0 0; max-width: 34ch; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.events__text .btn { margin-top: 2rem; }

/* ---------- Nosotros: el burdeos de Sabores, que nace del crema y termina en el vino ---------- */
.story {
	position: relative; isolation: isolate;
	padding-top: calc(var(--section) + clamp(3rem, 6vw, 5rem));
	padding-bottom: clamp(3rem, 5vw, 4.5rem);
	background: linear-gradient(180deg,
		var(--cream) 0, #eedcd2 1.5rem, #d4aaa9 3.5rem, #a8697a 6rem, #73314a 8.5rem, #4a1726 11rem, var(--noche) 14rem,
		var(--noche) calc(100% - 15rem), #3a121e calc(100% - 9rem), #4c1b29 calc(100% - 4rem), var(--wine) 100%);
}
.story::before {
	content: ""; position: absolute; inset: 12rem 0 8rem; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 50% 50% at 70% 50%, rgba(122, 48, 68, 0.45), transparent 70%);
}
.story .section__title { color: var(--cream); }
.story__text p { color: var(--on-wine-soft); }
.story :focus-visible { outline-color: var(--gold); }
.events__text .eyebrow { margin: 0 0 0.35rem; max-width: none; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.2; color: var(--gold-ink); }
@media (max-width: 860px) { .hero__disc { width: 62%; } .hero__seal { padding-top: 1.25rem; } }
@media (max-width: 420px) { .hero__disc { width: 58%; } }

/* ---------- Importante: botones flotantes alternados con su descripción ---------- */
.float-list { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); max-width: 980px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0; list-style: none; }
.float-list__path { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.float-list__path path { fill: none; stroke-linecap: round; }
.float-list__trail { stroke: color-mix(in srgb, var(--gold) 45%, transparent); stroke-width: 2; stroke-dasharray: 2 9; }
.float-list__line { stroke: var(--gold); stroke-width: 2.5; }
.float-item { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4vw, 2.75rem); }
.float-item--left { padding-right: clamp(0px, 12vw, 9rem); }
.float-item--right { grid-template-columns: minmax(0, 1fr) auto; padding-left: clamp(0px, 12vw, 9rem); }
.float-item--right .float-item__btn { order: 2; }
.float-item__btn { display: block; width: 150px; height: 150px; }
.float-item__bob {
	position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; background: #f4efe8;
	box-shadow: 0 0 0 6px var(--cream), 0 0 0 7.5px var(--gold), 0 26px 40px -18px rgba(61, 20, 32, 0.65);
	animation: float-bob 4.2s ease-in-out infinite alternate;
}
.float-item__photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
/* Icono en un circulito arriba, del lado de la descripción. */
.float-item__icon {
	position: absolute; top: 2px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--wine); color: var(--cream); box-shadow: 0 0 0 4px var(--cream), 0 8px 16px -8px rgba(61, 20, 32, 0.7);
}
.float-item--left .float-item__icon { right: -4px; }
.float-item--right .float-item__icon { left: -4px; }
.float-item:nth-child(2n) .float-item__bob { animation-duration: 3.6s; animation-delay: -1.4s; }
.float-item:nth-child(3n) .float-item__bob { animation-delay: -2.6s; }
.float-item--event .float-item__bob { box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px var(--gold), 0 26px 40px -18px rgba(61, 20, 32, 0.65); }
.float-item--event .float-item__icon { background: var(--gold); color: var(--wine-deep); }
@keyframes float-bob { from { transform: translateY(-6px) rotate(-4deg); } to { transform: translateY(6px) rotate(4deg); } }
.float-item__card {
	position: relative; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); border-radius: 24px; background: #fff;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 55%, transparent), 0 30px 50px -40px rgba(61, 20, 32, 0.55);
}
/* Colita que apunta al botón. */
.float-item__card::before { content: ""; position: absolute; top: calc(50% - 9px); width: 18px; height: 18px; background: #fff; transform: rotate(45deg); }
.float-item--left .float-item__card::before { left: -9px; box-shadow: inset 1.5px -1.5px 0 0 color-mix(in srgb, var(--gold) 55%, transparent); }
.float-item--right .float-item__card::before { right: -9px; box-shadow: inset -1.5px 1.5px 0 0 color-mix(in srgb, var(--gold) 55%, transparent); }
.float-item__card h3 { font-size: 1.4rem; line-height: 1.2; color: var(--wine); }
.float-item__card p { margin-top: 0.45rem; color: var(--ink-soft); line-height: 1.55; }
.float-item--event .float-item__card { background: var(--wine); box-shadow: 0 30px 50px -30px rgba(61, 20, 32, 0.8); }
.float-item--event .float-item__card::before { background: var(--wine); box-shadow: none; }
.float-item--event .float-item__card h3 { color: var(--cream); }
.float-item--event .float-item__card p { color: var(--on-wine-soft); }
.float-item--event .btn--wine { background: var(--cream); color: var(--wine); }

/* Aparición con el scroll: primero el botón desde su lado, luego la descripción sale del botón. */
.js-anim .float-item__btn { transition: opacity 0.5s var(--ease-out), transform 0.8s var(--spring, var(--ease-out)); }
.js-anim .float-item__card { transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), clip-path 0.8s var(--ease-out); }
.js-anim .float-item:not(.is-btn) .float-item__btn { opacity: 0; transform: translateX(-80px) scale(0.5) rotate(-40deg); }
.js-anim .float-item--right:not(.is-btn) .float-item__btn { transform: translateX(80px) scale(0.5) rotate(40deg); }
.js-anim .float-item:not(.is-card) .float-item__card { opacity: 0; transform: translateX(-36px) scale(0.92); clip-path: inset(0 100% 0 0 round 24px); }
.js-anim .float-item--right:not(.is-card) .float-item__card { transform: translateX(36px) scale(0.92); clip-path: inset(0 0 0 100% round 24px); }
.js-anim .float-item.is-card .float-item__card { clip-path: inset(-120px round 24px); }
.float-item--left .float-item__card { transform-origin: left center; }
.float-item--right .float-item__card { transform-origin: right center; }

@media (max-width: 760px) {
	.float-list { gap: 2.25rem; }
	.float-item { gap: 1rem; }
	.float-item--left { padding-right: 0; }
	.float-item--right { padding-left: 0; }
	.float-item__btn { width: 92px; height: 92px; }
	.float-item__bob, .float-item--event .float-item__bob { box-shadow: 0 0 0 4px var(--cream), 0 0 0 5.5px var(--gold), 0 18px 28px -14px rgba(61, 20, 32, 0.65); }
	.float-item__icon { top: -4px; width: 34px; height: 34px; box-shadow: 0 0 0 3px var(--cream), 0 6px 12px -6px rgba(61, 20, 32, 0.7); }
	.float-item__icon .icon { width: 16px; height: 16px; }
	.float-item--left .float-item__icon { right: -8px; }
	.float-item--right .float-item__icon { left: -8px; }
	.float-item__card { padding: 1.1rem 1.1rem 1.2rem; border-radius: 20px; }
	.float-item__card h3 { font-size: 1.15rem; }
	.float-item__card p { font-size: 0.95rem; }
	.float-item--event .important__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .float-item__bob { animation: none; } }

/* ---------- Ajustes V02 ---------- */
/* Hero: la foto llena el círculo, nítida, sin difuminar los bordes. */
.seal--xl .shot__img {
	inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
	-webkit-mask-image: none; mask-image: none;
}

/* Hero: Artesanal, Gourmet y De autor en lugar de la fila de datos. */
.hero__values {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem);
	margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 0.5rem; list-style: none;
}
.hero__value {
	padding: 2rem 1.5rem 1.85rem; text-align: center; background: #fffaf3; border-radius: 6px;
	border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
}
.hero__value-icon { display: block; width: 26px; height: 26px; margin: 0 auto 0.9rem; fill: var(--gold); color: var(--gold); }
.hero__value-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem); color: var(--wine); letter-spacing: 0; }
.hero__value p { margin: 0.6rem auto 0; max-width: 34ch; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 760px) {
	.hero__values { grid-template-columns: 1fr; gap: 0.85rem; }
	.hero__value { padding: 1.5rem 1.25rem; }
}

/* Banda: dos stickers y una foto redonda de tres vasitos. */
.stickers-row__track { align-items: center; }
.stickers-row img.stickers-row__photo {
	width: clamp(98px, 10.6vw, 132px); aspect-ratio: 1; height: auto; margin-inline: 6px; object-fit: cover;
	border-radius: 50%; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5.5px var(--gold), 0 14px 22px -10px rgba(20, 4, 9, 0.6);
}

/* Sabores: fotos sin marco, sobre el fondo oscuro para más contraste. */
.flavour__open, .flavour--deluxe .flavour__open { padding: 0; background: transparent; box-shadow: none; color: var(--cream); }
.flavour__photo { border-radius: 22px; box-shadow: 0 24px 40px -26px rgba(0, 0, 0, 0.9); transition: box-shadow 0.4s var(--ease-out); }
.flavour__body { padding: 1.1rem 0.15rem 0; }
.flavour__name { color: var(--cream); }
.flavour--deluxe .flavour__name { color: var(--gold); }
.flavour__note { color: rgba(247, 239, 228, 0.72); }
.flavour__seal, .flavour--deluxe .flavour__seal { box-shadow: 0 0 0 4px var(--noche), 0 12px 22px -10px rgba(0, 0, 0, 0.8); }
.flavour__open:hover, .flavour--deluxe .flavour__open:hover { box-shadow: none; }
.flavour__open:hover .flavour__photo { box-shadow: 0 34px 50px -26px rgba(0, 0, 0, 1); }
@media (max-width: 760px) {
	.flavour__photo { border-radius: 16px; }
	.flavour__seal, .flavour--deluxe .flavour__seal { box-shadow: 0 0 0 3px var(--noche), 0 10px 18px -10px rgba(0, 0, 0, 0.8); }
}
/* Deluxe en dorado: pestaña y texto. */
.is-gold { color: var(--gold); }
.tabs__btn#tab-deluxe { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 55%, transparent); }
.tabs__btn#tab-deluxe:not([aria-selected="true"]):hover { border-color: var(--gold); }
.tabs__btn#tab-deluxe[aria-selected="true"] { background: rgba(201, 162, 98, 0.16); border-color: var(--gold); color: var(--gold); }

/* Precios: Inanna en marrón, Deluxe en dorado. */
.box__tier--inanna .box__tier-name { color: #5e3418; }
.box__tier--deluxe .box__tier-name { color: var(--gold-ink); }
.boxes__note .is-gold { font-weight: 700; }
/* Precios: la frase bajo el título en una sola línea (en pantallas anchas). */
@media (min-width: 900px) { .boxes .section__text { max-width: none; white-space: nowrap; } }
