/* ==========================================================================
   Punto Creativo
   Sistema: tinta, papel, pizarra y vino. El arco del logo es la ventana
   de cámara de toda la tienda.
   ========================================================================== */

:root {
	--ink: #0A1542;
	--paper: #F7FAFF;
	--slate: #495881;
	--wine: #680624;
	--wine-deep: #4A0419;
	--paper-2: #EAF0FA;
	--paper-3: #DCE4F3;
	--mist: #AEB9D3;
	--line: rgba(10, 21, 66, .14);
	--line-strong: rgba(10, 21, 66, .32);
	--ok: #1F6B4F;

	--display: "Banana", "Poppins", system-ui, sans-serif;
	--body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hand: "Reenie Beanie", "Bradley Hand", cursive;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1440px;
	--header-h: 76px;

	--r-field: 14px;
	--r-panel: 28px;

	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);

	--arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L0 52 C0 22 20 0 48 0 C78 0 100 26 100 58 L100 100 Z'/%3E%3C/svg%3E");
	--grain: 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 0.04 0 0 0 0 0.08 0 0 0 0 0.26 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/*
 * Grano de papel en <html>, no en <body>: algunos bloqueadores de anuncios (p. ej. Urban VPN)
 * toman cualquier imagen de fondo en <body> como anuncio "skin" y marcan con bordes rojos
 * los enlaces anchos de la página.
 */
html {
	-webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px);
	background: var(--paper) var(--grain) 0 0 / 160px;
}

body {
	margin: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--wine); color: var(--paper); }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .sr-only {
	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: fixed; top: 12px; left: 12px; z-index: 1000;
	padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
	border-radius: 999px; transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.site-main { display: block; outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.hand {
	font-family: var(--hand);
	font-weight: 400;
	font-size: 1.85rem;
	line-height: 1;
	color: var(--wine);
}

/* El arco del logo como máscara. */
.arch {
	-webkit-mask: var(--arch) center / 100% 100% no-repeat;
	mask: var(--arch) center / 100% 100% no-repeat;
}

/* Las fotos de producto vienen en fondo blanco: se funden con el papel. */
.card-img, .take-img, .kit-img, .set-img, .pdp-img, .cart-line-media img, .mini-media img {
	mix-blend-mode: multiply;
}

/* --------------------------------------------------------------------------
   Tipografía
   -------------------------------------------------------------------------- */

.hero-title, .page-title, .section-title, .kit-title, .cat-word, .footer-word span,
.pdp-title, .thanks-title, .lost-code, .lost-title, .about-title, .search-big input,
.mobile-menu .menu a, .footer-big, .empty-title, .auth-title, .dash-hello {
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1;
}

.prose { max-width: 66ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--wine); }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; margin: 1.6em 0 .5em; line-height: 1.1; }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: 0 1.6rem;
	border: 0; border-radius: 999px;
	font-family: var(--body); font-weight: 600; font-size: .95rem; line-height: 1;
	text-decoration: none; white-space: nowrap;
	transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 1.15rem; font-size: .875rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--wine); color: var(--paper); }
.btn-primary:hover { background: var(--ink); }

.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--wine); color: var(--paper); }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--paper-2); }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }

.btn-link {
	display: inline-flex; align-items: center; gap: .4em;
	font-weight: 600; font-size: .95rem; color: var(--ink);
	text-decoration: underline; text-decoration-color: var(--wine); text-underline-offset: .35em;
	transition: color .2s;
}
.btn-link:hover { color: var(--wine); }

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 500;
	height: var(--header-h);
	transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
	background: rgba(247, 250, 255, .82);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.on-dark { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--paper); }
.site-header.on-dark .brand-mark { color: var(--paper); }
.site-header.on-dark .icon-btn, .site-header.on-dark .bag-btn { color: var(--paper); }
.site-header.on-dark .nav-main a::after { background: var(--paper); }

.header-inner {
	height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; justify-self: start; }
.brand-mark { width: 30px; height: auto; color: var(--wine); transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }

.nav-main .menu { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav-main a {
	position: relative; display: inline-block; padding: .4rem 0;
	font-weight: 500; font-size: .93rem; text-decoration: none;
}
.nav-main a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--wine); border-radius: 2px;
	transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-main a:hover::after, .nav-main a[aria-current]::after, .nav-main .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

.icon-btn, .bag-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: transparent; color: var(--ink); text-decoration: none;
	transition: background-color .2s;
}
.icon-btn:hover, .bag-btn:hover { background: var(--paper-2); }

.bag-count {
	position: absolute; top: 3px; right: 1px;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
	display: grid; place-items: center;
	background: var(--wine); color: var(--paper);
	font-size: .68rem; font-weight: 600; line-height: 1;
	transition: transform .35s var(--ease-out);
}
.bag-count[data-count="0"] { transform: scale(0); }
.bag-btn.is-bump .bag-count { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }

.menu-btn {
	display: none; align-items: center; gap: .55rem;
	height: 44px; padding: 0 .9rem 0 1.1rem; margin-left: 4px;
	border: 0; border-radius: 999px; background: var(--ink); color: var(--paper);
	font-weight: 500; font-size: .85rem;
}
.menu-btn-lines { display: grid; gap: 5px; width: 16px; }
.menu-btn-lines span { display: block; height: 1.75px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn-lines span:first-child { transform: translateY(3.4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines span:last-child { transform: translateY(-3.4px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
	position: fixed; inset: 0; z-index: 450;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
	background: var(--wine); color: var(--paper);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .menu { display: grid; gap: .1em; }
.mobile-menu .menu a { display: inline-block; font-size: clamp(2.4rem, 11vw, 3.8rem); text-decoration: none; padding: .04em 0; }
.mobile-menu .menu a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.mobile-menu-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mobile-menu-foot a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; }
.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--paper); }
.menu-open .brand-mark { color: var(--paper); }
.menu-open .icon-btn, .menu-open .bag-btn { color: var(--paper); }
.menu-open .icon-btn:hover, .menu-open .bag-btn:hover { background: rgba(247,250,255,.12); }
.menu-open .menu-btn { background: var(--paper); color: var(--wine); }
.menu-open .bag-count { background: var(--paper); color: var(--wine); }

/* Búsqueda */
.search-layer {
	position: fixed; inset: 0; z-index: 700;
	display: grid; place-items: center; padding: var(--gutter);
	background: var(--ink); color: var(--paper);
}
.search-layer[hidden] { display: none; }
.search-close { position: absolute; top: 16px; right: var(--gutter); color: var(--paper); }
.search-close:hover { background: rgba(247,250,255,.1); }
.search-big { width: min(1100px, 100%); }
.search-big label { display: block; font-family: var(--hand); font-size: 2.2rem; color: var(--mist); margin-bottom: .6rem; }
.search-big-row { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid rgba(247,250,255,.35); }
.search-big-row:focus-within { border-color: var(--paper); }
.search-big input {
	flex: 1; min-width: 0; border: 0; background: none; outline: none;
	padding: .15em 0; font-size: clamp(2rem, 6vw, 5rem);
}
.search-big input::placeholder { color: rgba(247,250,255,.28); }
.search-big button { width: 64px; height: 64px; border: 0; border-radius: 50%; background: var(--wine); color: var(--paper); display: grid; place-items: center; flex: none; }
.search-big button .icon { width: 28px; height: 28px; }

/* Bolsa lateral */
.drawer { position: fixed; inset: 0; z-index: 600; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10, 21, 66, .45); }
.drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 100%);
	display: flex; flex-direction: column;
	background: var(--paper);
	box-shadow: -30px 0 60px -30px rgba(10,21,66,.4);
}
.drawer-head {
	display: flex; align-items: center; gap: 12px;
	padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em; }
.drawer-count { color: var(--slate); font-size: .85rem; margin-right: auto; }
.drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.mini-list { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.mini-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-media { display: block; aspect-ratio: 4/5; background: var(--paper-2); }
.mini-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.mini-name { display: block; font-weight: 500; font-size: .92rem; line-height: 1.35; text-decoration: none; }
.mini-name:hover { color: var(--wine); }
.mini-item .quantity { display: block; margin-top: .3rem; font-size: .85rem; color: var(--slate); }
.mini-item .remove { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--slate); text-decoration: none; }
.mini-item .remove:hover { background: var(--paper-2); color: var(--wine); }
.mini-item .remove .icon { width: 18px; height: 18px; }
.mini-foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: var(--paper); }
.mini-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.mini-total strong { font-size: 1.35rem; font-weight: 600; }
.mini-hint { margin: .3rem 0 1.1rem; font-size: .82rem; color: var(--slate); }
.mini-buttons { display: grid; gap: 14px; justify-items: center; }
.mini-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 40px; text-align: center; color: var(--slate); }
.mini-empty-mark { width: 64px; color: var(--paper-3); }

/* --------------------------------------------------------------------------
   Cortina entre páginas y preloader: columnas de tinta + el logo que se llena
   -------------------------------------------------------------------------- */

.curtain { position: fixed; inset: 0; z-index: 800; pointer-events: none; visibility: hidden; }
.curtain-cols { position: absolute; inset: 0; display: flex; }
.curtain-cols span {
	flex: 1; margin-right: -1px;
	background: var(--ink);
	transform: scaleY(0); transform-origin: 50% 100%;
	will-change: transform;
}
.curtain-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; opacity: 0; color: var(--paper); }
.loader-mark { position: relative; display: block; width: 76px; }
.loader-mark-base { width: 100%; color: rgba(247, 250, 255, .14); }
.loader-fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.loader-mark-fill { width: 100%; color: var(--wine); }
html:not(.is-loading) .loader-fill { clip-path: inset(0); }
.loader-rec { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--mist); font-variant-numeric: tabular-nums; }
html:not(.is-loading) .loader-rec { display: none; }

html.is-loading .curtain, html.is-arriving .curtain { visibility: visible; pointer-events: auto; }
html.is-loading .curtain-cols span, html.is-arriving .curtain-cols span { transform: scaleY(1); }
html.is-loading .curtain-center, html.is-arriving .curtain-center { opacity: 1; }
html.is-loading { overflow: hidden; }

/* --------------------------------------------------------------------------
   Visor de cámara (esquinas + REC)
   -------------------------------------------------------------------------- */

.viewfinder { position: relative; }
.vf-corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); pointer-events: none; z-index: 2; }
.vf-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.rec {
	display: inline-flex; align-items: center; gap: .45rem;
	font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--ink);
	font-variant-numeric: tabular-nums;
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); animation: rec 1.2s steps(2, jump-none) infinite; }
.rec-time { font-weight: 500; letter-spacing: 0; color: var(--slate); }
@keyframes rec { 50% { opacity: .15; } }

/* --------------------------------------------------------------------------
   Inicio: hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 100svh;
	max-width: var(--max); margin-inline: auto;
	padding: calc(var(--header-h) + 32px) var(--gutter) 56px;
	display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	align-items: center; gap: clamp(32px, 5vw, 88px);
}
.hero-hand { transform: rotate(-3deg); transform-origin: left; margin-bottom: .6rem; }
.hero-title { font-size: clamp(2.25rem, 4.1vw, 4.5rem); }
.hero-title .line { padding-bottom: .04em; }
.hero-lead { max-width: 40ch; margin-top: 1.6rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--slate); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 2.2rem; }

.hero-stage { position: relative; justify-self: center; width: min(100%, 520px); }
.hero .viewfinder { aspect-ratio: 4 / 5; padding: 9% 9% 15%; }
.vf-rec { position: absolute; top: 14px; left: 18px; z-index: 2; }
.vf-take { position: absolute; top: 14px; right: 18px; z-index: 2; font-size: .75rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }

.hero-arch { position: relative; width: 100%; height: 100%; background: var(--paper-2); }
.take { position: absolute; inset: 0; display: grid; place-items: center; padding: 14% 12% 6%; visibility: hidden; pointer-events: none; }
/* inherit (no visible): así la foto se oculta junto con el visor durante la entrada. */
.take.is-on { visibility: inherit; pointer-events: auto; }
.take-img { width: 100%; height: 100%; object-fit: contain; }
.take-meta {
	position: absolute; left: 9%; right: 9%; bottom: 4%;
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	font-size: .9rem;
}
.take-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.take-price { font-weight: 600; color: var(--wine); }
.hero-note {
	position: absolute; left: -16%; bottom: 22%;
	display: flex; flex-direction: column; align-items: flex-start;
	color: var(--slate); font-size: 1.7rem; transform: rotate(-6deg);
	pointer-events: none;
}
.hero-arrow { width: 92px; order: 2; margin: .2rem 0 0 2.4rem; transform: rotate(-12deg); }

/* Flash de corte entre tomas */
.flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; will-change: opacity; }
/* Sin GSAP: el flash se hace con CSS. */
.flash.is-firing { animation: flash .5s var(--ease-out); }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   Inicio: la colección (arco que crece + pista horizontal)
   -------------------------------------------------------------------------- */

.kit { position: relative; }
.kit-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.kit-arch {
	position: absolute; left: 50%; bottom: 0;
	width: 150vw; height: 190vh; margin-left: -75vw;
	background: var(--wine);
	-webkit-mask: var(--arch) center / 100% 100% no-repeat;
	mask: var(--arch) center / 100% 100% no-repeat;
	transform-origin: 50% 100%;
	will-change: transform;
}
.kit-track {
	position: absolute; inset: 0;
	display: flex; align-items: center; gap: clamp(32px, 4vw, 72px);
	padding-inline: var(--gutter);
	color: var(--paper);
	will-change: transform;
}
.kit-intro { flex: 0 0 min(34vw, 520px); }
.kit-title { font-size: clamp(2.6rem, 5vw, 5.2rem); }
.kit-intro p { margin: 1.2rem 0 1.8rem; max-width: 30ch; color: rgba(247,250,255,.78); font-size: 1.05rem; }
.kit-item { flex: 0 0 clamp(260px, 24vw, 380px); }
.kit-media { display: block; text-decoration: none; }
.kit-frame { display: block; aspect-ratio: 3 / 4; background: var(--paper); overflow: hidden; }
.kit-img { width: 100%; height: 100%; object-fit: contain; padding: 16% 10% 8%; transition: transform .8s var(--ease-out); }
.kit-media:hover .kit-img { transform: scale(1.06) rotate(-1.5deg); }
.kit-cat { margin-top: 1.1rem; font-size: .8rem; color: rgba(247,250,255,.62); }
.kit-name { margin-top: .2rem; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.08; letter-spacing: -.02em; }
.kit-name a { text-decoration: none; }
.kit-name a:hover { text-decoration: underline; }
.kit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: .9rem; }
.kit .price { font-weight: 600; font-size: 1.05rem; }
.kit .price del { opacity: .55; font-weight: 400; margin-right: .3em; }
.kit .price ins { text-decoration: none; }
.kit .add-btn { color: var(--ink); background: var(--paper); box-shadow: none; }
.kit .add-btn:hover { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   Inicio: sets (bento)
   -------------------------------------------------------------------------- */

.sets { max-width: var(--max); margin-inline: auto; padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(72px, 9vw, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30ch); align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--slate); }
.section-title { font-size: clamp(2.2rem, 4.8vw, 4.8rem); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: 16px; }
.set {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	padding: clamp(20px, 2.4vw, 32px);
	border-radius: var(--r-panel);
	background: var(--paper-2);
	overflow: hidden;
}
.set--wide { grid-column: span 4; flex-direction: row; align-items: stretch; }
.set--wide .set-visual { flex: 1 1 50%; }
.set--wide .set-body { flex: 1 1 50%; }
.set--tall { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--paper); }
.set--tall .set-visual { flex: 1; align-items: center; min-height: 320px; }
.set--tall .set-frame { width: clamp(130px, 52%, 230px); }
.set--regular { grid-column: span 2; }
.set--regular:nth-of-type(4) { background: var(--paper-3); }

.set-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 200px; }
.set-frame {
	display: block; width: clamp(110px, 42%, 200px); aspect-ratio: 3/4;
	background: var(--paper);
	margin-left: -9%;
	transform: rotate(calc((var(--i) - .5) * 6deg)) translateY(calc(var(--i) * 6px));
	transition: transform .6s var(--ease-out);
}
.set-frame:first-child { margin-left: 0; }
.set:hover .set-frame { transform: rotate(calc((var(--i) - .5) * 10deg)) translateY(-8px) translateX(calc((var(--i) - .5) * 18px)); }
.set--tall .set-frame { background: var(--paper); }
.set-img { width: 100%; height: 100%; object-fit: contain; padding: 18% 10% 8%; }

.set-body { display: flex; flex-direction: column; gap: 12px; }
.set-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.3rem); letter-spacing: -.025em; line-height: 1; }
.set-text { color: var(--slate); max-width: 36ch; }
.set--tall .set-text { color: rgba(247,250,255,.72); }
.set-list { display: grid; gap: 4px; margin-top: 4px; font-size: .88rem; }
.set-list li { display: flex; align-items: baseline; gap: 8px; }
.set-list li::after { content: ""; order: 2; flex: 1; border-bottom: 1.5px dotted var(--line-strong); transform: translateY(-4px); }
.set-list a { order: 1; text-decoration: none; }
.set-list a:hover { color: var(--wine); text-decoration: underline; }
.set-list span { order: 3; font-weight: 500; }
.set--tall .set-list li::after { border-color: rgba(247,250,255,.3); }
.set--tall .set-list a:hover { color: var(--paper); }
.set-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.set-total { font-size: .88rem; color: var(--slate); }
.set-total strong { display: block; font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.set--tall .set-total { color: rgba(247,250,255,.7); }
.set--tall .set-total strong { color: var(--paper); }
.set--tall .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* --------------------------------------------------------------------------
   Inicio: categorías (tipografía cinética)
   -------------------------------------------------------------------------- */

.cats { position: relative; padding-block: 24px clamp(80px, 10vw, 150px); overflow: hidden; }
.cat-row {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 var(--gutter);
	border-top: 1.5px solid var(--line);
	text-decoration: none; color: var(--ink);
}
.cat-row:last-of-type { border-bottom: 1.5px solid var(--line); }
.cat-word {
	display: block; font-size: clamp(3.4rem, 12.5vw, 12rem); line-height: .95; padding: .02em 0 .06em;
	transition: color .35s var(--ease-out);
	will-change: transform;
}
.cat-row:hover .cat-word, .cat-row:focus-visible .cat-word { color: var(--wine); }
.cat-meta { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; color: var(--slate); white-space: nowrap; }
.cat-meta .icon { transition: transform .35s var(--ease-out); }
.cat-row:hover .cat-meta .icon { transform: translateX(6px); }

.cat-float {
	position: fixed; left: 0; top: 0; z-index: 20;
	width: 220px; aspect-ratio: 3/4; margin: -150px 0 0 -110px;
	background: var(--paper-3);
	-webkit-mask: var(--arch) center / 100% 100% no-repeat;
	mask: var(--arch) center / 100% 100% no-repeat;
	pointer-events: none; opacity: 0; transform: scale(.4);
	will-change: transform, opacity;
}
.cat-float img { width: 100%; height: 100%; object-fit: contain; padding: 16% 10% 8%; mix-blend-mode: multiply; }

/* --------------------------------------------------------------------------
   Inicio: del carrito a tu puerta (pasos unidos por una ruta dibujada a mano)
   -------------------------------------------------------------------------- */

.route { max-width: var(--max); margin-inline: auto; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(96px, 11vw, 170px); }
.route-map { position: relative; }
.route-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); margin: 0; padding: 0; list-style: none; }
.route-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; color: var(--wine); pointer-events: none; overflow: visible; }
.route-step { position: relative; margin-top: calc(var(--n) * clamp(40px, 6vw, 96px)); }
.route-frame { position: relative; width: min(100%, 300px); }
.route-arch {
	display: grid; place-items: center; aspect-ratio: 4 / 5;
	background: var(--paper-2);
	transition: background-color .5s var(--ease-out);
}
.route-step:nth-child(3) .route-arch { background: var(--ink); }
.route-step:nth-child(3) .route-icon { color: var(--paper); }
.route-icon { width: 34%; height: auto; margin-top: 18%; color: var(--wine); stroke-width: 1.4; transition: transform .6s var(--ease-out); }
.route-step:hover .route-icon { transform: translateY(-6px) rotate(-4deg); }
.route-n {
	position: absolute; right: -6px; top: 18%;
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--wine); color: var(--paper);
	font-family: var(--display); font-weight: 700; font-size: 1.15rem;
	box-shadow: 0 0 0 6px var(--paper);
}
.route-note { position: absolute; left: 4%; bottom: -2.4rem; font-size: 1.65rem; color: var(--wine); transform: rotate(-4deg); white-space: nowrap; }
.route-title { margin-top: 3.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.05; }
.route-text { margin-top: .6rem; max-width: 30ch; color: var(--slate); }
.route-side { display: grid; gap: 1.3rem; justify-items: start; }
.route-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Tablet: tres columnas a la misma altura. */
@media (max-width: 1099px) {
	.route-steps { gap: 28px; }
	.route-step { margin-top: 0; }
	.route-frame { width: min(100%, 220px); }
	.route-n { width: 40px; height: 40px; font-size: 1rem; right: -4px; }
	.route-title { font-size: 1.35rem; }
	.route-text { font-size: .92rem; }
}

/* Celular: lista compacta, arco chico a la izquierda y la ruta vertical por detrás de los arcos. */
@media (max-width: 700px) {
	.route-line { display: none; }
	.route-steps { grid-template-columns: 1fr; gap: 30px; }
	.route-steps::before {
		content: ""; position: absolute; z-index: -1;
		left: 44px; top: 40px; bottom: 40px;
		border-left: 2.4px dotted var(--wine);
	}
	.route-step { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; align-items: center; }
	.route-frame { width: 88px; grid-row: span 2; align-self: start; }
	.route-icon { width: 40%; margin-top: 22%; }
	.route-n { top: -4px; right: -10px; width: 30px; height: 30px; font-size: .85rem; box-shadow: 0 0 0 4px var(--paper); }
	.route-note { display: none; }
	.route-title { margin-top: 0; align-self: end; font-size: 1.25rem; }
	.route-text { align-self: start; margin-top: .35rem; font-size: .9rem; }
	.route { padding-bottom: 88px; }
}

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */

.site-footer { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.footer-top {
	max-width: var(--max); margin-inline: auto;
	padding: clamp(72px, 9vw, 130px) var(--gutter) 40px;
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px;
}
.footer-note { font-family: var(--hand); font-size: 2rem; color: var(--mist); transform: rotate(-2deg); transform-origin: left; }
.footer-big { font-size: clamp(2.2rem, 4.4vw, 4.2rem); max-width: 15ch; margin: .6rem 0 2rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-content: start; }
.footer-h { font-size: .8rem; font-weight: 500; color: var(--mist); margin-bottom: 1rem; }
.footer-cols ul { display: grid; gap: .55rem; list-style: none; padding: 0; }
.footer-cols a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.footer-cols a:hover { text-decoration: underline; text-decoration-color: var(--wine); }
.footer-word {
	display: flex; align-items: center; gap: 2vw;
	padding: 1vw var(--gutter) 3.2vw;
	white-space: nowrap; overflow: hidden;
}
.footer-word span { font-size: 11.6vw; line-height: 1; padding-bottom: .04em; }
.footer-mark { flex: none; width: 9.6vw; color: var(--wine); }
.footer-base {
	position: relative; z-index: 1;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px var(--gutter); background: var(--ink);
	border-top: 1px solid rgba(247,250,255,.12);
	font-size: .82rem; color: var(--mist);
}
.to-top { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: none; padding: .4rem 0; font-size: .82rem; font-weight: 500; color: var(--paper); }
.to-top .icon { width: 16px; height: 16px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */

.page-head { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(28px, 4vw, 48px); }
.page-title { font-size: clamp(2.6rem, 7.6vw, 7.2rem); }
.page-lead { max-width: 48ch; margin-top: 1.2rem; color: var(--slate); font-size: 1.05rem; }

.page-prose .page-title { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
.page-prose { padding-bottom: clamp(80px, 10vw, 140px); }

/* Splits de texto */
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* Chips de categorías */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.chip {
	display: inline-flex; align-items: center; gap: .5rem;
	min-height: 40px; padding: 0 1rem; border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
	font-size: .9rem; font-weight: 500; text-decoration: none;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-current] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip-n { font-size: .75rem; opacity: .6; font-variant-numeric: tabular-nums; }

.shop { padding-bottom: clamp(80px, 10vw, 150px); }



/* Rejilla y tarjeta */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products { list-style: none; padding: 0; margin: 0; }
.grid-li { list-style: none; }

.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; text-decoration: none; }
.card-arch { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper-2); transition: background-color .5s var(--ease-out); }
.card-fill { display: none; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18% 12% 7%; transition: transform .7s var(--ease-out); }
.card:hover .card-arch { background: var(--paper-3); }
.card:hover .card-img { transform: translateY(-3%) scale(1.04); }
.badge {
	position: absolute; top: 14px; left: 0; z-index: 2;
	padding: .3rem .8rem; border-radius: 999px;
	background: var(--wine); color: var(--paper);
	font-size: .74rem; font-weight: 600;
}
.card-body { display: flex; flex-direction: column; gap: .2rem; padding-top: 1.1rem; flex: 1; }
.card-cat { font-size: .78rem; color: var(--slate); }
.card-title { font-family: var(--body); font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--wine); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: .8rem; }

.price { font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price del { color: var(--slate); font-weight: 400; font-size: .88em; margin-right: .35em; }
.price ins { text-decoration: none; color: var(--wine); }

.add-btn {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; gap: .4rem;
	min-height: 40px; padding: 0 1rem 0 .8rem; border-radius: 999px;
	background: transparent; color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
	font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap;
	transition: background-color .25s, color .25s, box-shadow .25s;
}
.add-btn .icon { width: 17px; height: 17px; transition: transform .4s var(--ease-out); }
.add-btn:hover { background: var(--wine); color: var(--paper); box-shadow: none; }
.add-btn:hover .icon { transform: rotate(90deg); }
.add-btn.loading { pointer-events: none; opacity: .7; }
.add-btn.loading .icon { animation: spin .8s linear infinite; }
.add-btn.added { background: var(--ink); color: var(--paper); box-shadow: none; }
.added_to_cart { display: none !important; }
.is-out { font-size: .82rem; color: var(--slate); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Paginación */
.woocommerce-pagination ul, .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.woocommerce-pagination a, .woocommerce-pagination span, .nav-links a, .nav-links span {
	display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 999px; text-decoration: none; font-weight: 500;
}
.woocommerce-pagination .current, .nav-links .current { background: var(--ink); color: var(--paper); }

/* Vacíos */
.empty { display: grid; justify-items: start; gap: .8rem; padding: 48px 0 24px; color: var(--slate); }
.empty-title { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--ink); }
.empty .btn { margin-top: .8rem; }
.empty-cart { justify-items: center; text-align: center; padding-top: calc(var(--header-h) + 64px); }
.empty-vf { width: 180px; aspect-ratio: 4/5; display: grid; place-items: center; margin-bottom: 12px; }
.empty-mark { width: 70px; color: var(--paper-3); }

/* Migas */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .8rem; color: var(--slate); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumb-sep { opacity: .5; }

/* --------------------------------------------------------------------------
   Ficha de producto
   -------------------------------------------------------------------------- */

.pdp {
	display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(32px, 6vw, 104px);
	padding-top: calc(var(--header-h) + 40px);
	align-items: start;
}
.pdp-media { min-width: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-vf { aspect-ratio: 1 / 1.05; padding: 6% 8% 6%; }
.pdp-arch { position: relative; width: 100%; height: 100%; background: var(--paper-2); }
.pdp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16% 12% 6%; opacity: 0; transition: opacity .5s var(--ease-out), transform .8s var(--ease-out); transform: scale(.97); }
.pdp-img.is-on { opacity: 1; transform: none; }
.pdp-badge { top: 7%; left: 9%; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 16px; justify-content: safe center; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb { flex: 0 1 72px; min-width: 56px; aspect-ratio: 1; padding: 6px; border: 0; border-radius: 12px; background: var(--paper-2); box-shadow: inset 0 0 0 1.5px transparent; }
.pdp-thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pdp-info { padding-top: clamp(8px, 2vw, 32px); padding-bottom: 24px; }
.pdp-title { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.pdp-price { margin-top: 1.4rem; }
.pdp-price .price, .pdp-price > .woocommerce-Price-amount { font-size: 1.7rem; }
.pdp-price del { font-size: 1.1rem; }
.pdp-short { margin-top: 1.1rem; max-width: 46ch; color: var(--slate); font-size: 1.02rem; }

.pdp-buy { margin-top: 2rem; }
.pdp-buy form.cart { display: flex; gap: 12px; align-items: stretch; }
.pdp-buy .single_add_to_cart_button {
	flex: 1; min-height: 60px; border: 0; border-radius: 999px;
	background: var(--wine); color: var(--paper);
	font-weight: 600; font-size: 1rem;
	transition: background-color .25s;
}
.pdp-buy .single_add_to_cart_button:hover { background: var(--ink); }
.pdp-buy .single_add_to_cart_button.is-loading { opacity: .75; pointer-events: none; }
.pdp-buy .single_add_to_cart_button.is-added { background: var(--ok); }
.pdp-buy .stock { margin-bottom: .8rem; font-size: .88rem; color: var(--slate); }
.pdp-buy .out-of-stock { color: var(--wine); font-weight: 600; }

.quantity {
	display: inline-flex; align-items: center;
	min-height: 52px; border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px var(--line-strong);
	background: var(--paper);
}
.pdp-buy .quantity { min-height: 60px; }
.quantity .qty {
	width: 3ch; min-width: 36px; border: 0; background: none; text-align: center;
	font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.qty-btn:hover { background: var(--paper-2); }
.qty-btn .icon { width: 18px; height: 18px; }
.quantity input[type="hidden"] ~ .qty-btn, .quantity:has(input[type="hidden"]) .qty-btn { display: none; }

.perks { display: grid; gap: .75rem; margin: 1.8rem 0 1rem; padding: 0; }
.perks li { display: flex; align-items: center; gap: .85rem; font-size: .92rem; }
.perks .icon {
	flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 50%;
	background: var(--paper-3); color: var(--wine);
}
.perks a { color: var(--ink); text-decoration-color: var(--wine); }

.acc { margin-top: .4rem; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 1.15rem 0; cursor: pointer; list-style: none;
	font-weight: 600;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; width: 14px; height: 14px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.75px; margin-top: -1px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
.acc-item[open] .acc-icon::after { transform: rotate(0); }
.acc-body { padding-bottom: 1.3rem; color: var(--slate); }

.related { padding: clamp(96px, 11vw, 160px) 0 clamp(72px, 9vw, 130px); }
.related .section-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); margin-bottom: clamp(28px, 4vw, 48px); }

.buy-bar {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300;
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 10px 10px 20px; border-radius: 999px;
	background: var(--ink); color: var(--paper);
	box-shadow: 0 20px 40px -10px rgba(10,21,66,.5);
	transform: translateY(150%); transition: transform .5s var(--ease-out);
}
.buy-bar.is-on { transform: none; }
.buy-bar-info { display: grid; min-width: 0; line-height: 1.25; }
.buy-bar-name { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-price { font-weight: 600; font-size: .92rem; }
.buy-bar-price del { display: none; }
.buy-bar-price ins { text-decoration: none; }
.buy-bar .btn-primary:hover { background: var(--paper); color: var(--ink); }

/* --------------------------------------------------------------------------
   Formularios (checkout, cuenta)
   -------------------------------------------------------------------------- */

.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label, .auth label:not(.check) {
	display: block; margin-bottom: .4rem;
	font-size: .84rem; font-weight: 500; color: var(--ink);
}
.woocommerce form .form-row .required { color: var(--wine); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--slate); font-weight: 400; }

.input-text, .woocommerce form input[type="text"], .woocommerce form input[type="email"], .woocommerce form input[type="tel"],
.woocommerce form input[type="password"], .woocommerce form input[type="number"], .woocommerce form textarea, .woocommerce form select,
.search-inline input {
	width: 100%; min-height: 52px; padding: .8rem 1rem;
	border: 1.5px solid var(--line-strong); border-radius: var(--r-field);
	background: #fff; color: var(--ink);
	font-size: 1rem; line-height: 1.3;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.woocommerce form textarea { min-height: 110px; resize: vertical; }
.input-text:focus, .woocommerce form input:focus, .woocommerce form textarea:focus, .woocommerce form select:focus, .search-inline input:focus {
	outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 21, 66, .1);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--wine); }
.woocommerce form .form-row.woocommerce-invalid label { color: var(--wine); }
.woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row .description { font-size: .8rem; color: var(--slate); margin-top: .35rem; }

.woocommerce form .form-row input[type="checkbox"], .check input, .woocommerce input[type="radio"] { accent-color: var(--wine); width: 18px; height: 18px; vertical-align: -3px; }
.woocommerce-form__label-for-checkbox, .check { display: inline-flex !important; align-items: center; gap: .55rem; font-weight: 500; cursor: pointer; }

/* select2 / selectWoo */
.select2-container .select2-selection--single {
	height: 52px; border: 1.5px solid var(--line-strong); border-radius: var(--r-field); background: #fff;
	display: flex; align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-left: 1rem; color: var(--ink); line-height: 1.3; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.select2-container--focus .select2-selection--single, .select2-container--open .select2-selection--single { border-color: var(--ink) !important; }
.select2-dropdown { border: 1.5px solid var(--ink); border-radius: var(--r-field); overflow: hidden; font-family: var(--body); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); }
.select2-search--dropdown .select2-search__field { border: 1.5px solid var(--line-strong) !important; border-radius: 10px; padding: .5rem .7rem; }

/* Avisos */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
	margin: 0 0 24px; padding: 16px 20px;
	border-radius: var(--r-field);
	background: var(--paper-2); color: var(--ink);
	box-shadow: inset 4px 0 0 var(--ink);
	font-size: .93rem;
}
.woocommerce-message { box-shadow: inset 4px 0 0 var(--ok); }
.woocommerce-error { box-shadow: inset 4px 0 0 var(--wine); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-message a.wc-forward {
	order: 2; display: inline-flex; align-items: center; min-height: 38px; padding: 0 1rem; border-radius: 999px;
	background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .84rem;
}
.woocommerce-info a, .woocommerce-message a:not(.button) { color: var(--wine); font-weight: 600; }
.page-cart .woocommerce-notices-wrapper, .page-checkout .woocommerce-notices-wrapper { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Carrito
   -------------------------------------------------------------------------- */

.page-cart, .page-checkout, .page-account, .page-thanks { padding-bottom: clamp(80px, 10vw, 150px); }
.page-cart .page-head, .page-checkout .page-head { padding-bottom: 32px; }
.page-cart .page-title, .page-checkout .page-title { font-size: clamp(2.4rem, 6vw, 5.4rem); }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(32px, 4vw, 64px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
	display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 110px 44px;
	align-items: center; gap: 20px;
	padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-line-media { display: block; aspect-ratio: 4/5; background: var(--paper-2); }
.cart-line-media img { width: 100%; height: 100%; object-fit: contain; padding: 14% 10% 6%; }
.cart-line-name { font-weight: 500; line-height: 1.35; }
.cart-line-name a { text-decoration: none; }
.cart-line-name a:hover { color: var(--wine); }
.cart-line-unit { font-size: .84rem; color: var(--slate); margin-top: .2rem; }
.cart-line-total { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-line .remove { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--slate); text-decoration: none; }
.cart-line .remove:hover { background: var(--paper-2); color: var(--wine); }
.cart-line .remove .icon { width: 19px; height: 19px; }
.cart-line .variation { font-size: .82rem; color: var(--slate); margin-top: .2rem; display: grid; grid-template-columns: auto 1fr; gap: 0 .4rem; }
.cart-line .variation dd, .cart-line .variation p { margin: 0; }

.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; }
.cart-actions .coupon { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.cart-actions .coupon .input-text { min-height: 42px; border-radius: 999px; padding-inline: 1.1rem; font-size: .9rem; }
.js .cart-update { visibility: hidden; position: absolute; }

.cart_totals, .woocommerce-checkout-review-order, .order-review-panel {
	background: var(--paper-2); border-radius: var(--r-panel); padding: clamp(22px, 2.4vw, 32px);
}
.cart-collaterals { position: sticky; top: calc(var(--header-h) + 20px); }
.cart_totals h2 { font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 1rem; }
.shop_table { width: 100%; border-collapse: collapse; }
.cart_totals .shop_table th, .cart_totals .shop_table td,
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
	padding: .85rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem;
}
.cart_totals .shop_table td, .woocommerce-checkout-review-order-table td { text-align: right; }
.cart_totals .shop_table th, .woocommerce-checkout-review-order-table th { font-weight: 500; }
.cart_totals .order-total th, .cart_totals .order-total td,
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; padding-top: 1.1rem; font-size: 1.15rem; font-weight: 600; }
.order-total .amount { font-size: 1.5rem; }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; justify-items: end; }
.woocommerce-shipping-methods li { display: flex; align-items: center; gap: .45rem; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .8rem; color: var(--slate); margin-top: .4rem; }
.shipping-calculator-button { color: var(--wine); }
.wc-proceed-to-checkout { margin-top: 1.2rem; }
.wc-proceed-to-checkout .checkout-button {
	display: flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 999px;
	background: var(--wine); color: var(--paper); text-decoration: none; font-weight: 600;
	transition: background-color .25s;
}
.wc-proceed-to-checkout .checkout-button:hover { background: var(--ink); }

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

.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { box-shadow: none; background: transparent; padding: 0; margin-bottom: 14px; }
form.checkout_coupon, .page-checkout form.woocommerce-form-login { max-width: 560px; margin-bottom: 28px; padding: 20px; border-radius: var(--r-panel); background: var(--paper-2); }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; }
form.checkout_coupon p:first-child { flex-basis: 100%; }
form.checkout_coupon .form-row { margin: 0; }
form.checkout_coupon .form-row-first { flex: 1; }
form.checkout_coupon button { min-height: 52px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; }

form.checkout {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
	column-gap: clamp(32px, 5vw, 80px); align-items: start;
}
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 3; }
#order_review_heading { grid-column: 2; font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 1rem; }
#order_review { grid-column: 2; position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper-2); border-radius: var(--r-panel); padding: clamp(22px, 2.4vw, 32px); }

.col2-set { display: grid; gap: 40px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 {
	font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 1.2rem;
}
#ship-to-different-address { font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
}
.woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-address-fields__field-wrapper .form-row { grid-column: 1 / -1; }
.woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce-address-fields__field-wrapper .form-row-first { grid-column: 1; }
.woocommerce-billing-fields__field-wrapper .form-row-last, .woocommerce-shipping-fields__field-wrapper .form-row-last, .woocommerce-address-fields__field-wrapper .form-row-last { grid-column: 2; }

.woocommerce-checkout-review-order-table thead th { font-size: .8rem; color: var(--slate); font-weight: 500; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 500; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--slate); font-weight: 400; }

#payment { margin-top: 1.2rem; }
#payment .payment_methods { display: grid; gap: 8px; margin: 0 0 1rem; padding: 0; list-style: none; }
#payment .payment_methods > li { padding: 14px 16px; border-radius: var(--r-field); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
#payment .payment_methods > li:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
#payment .payment_methods label { font-weight: 600; cursor: pointer; margin-left: .4rem; }
#payment .payment_box { margin-top: .6rem; font-size: .86rem; color: var(--slate); }
#payment .payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: .8rem; color: var(--slate); margin-bottom: 1rem; }
.woocommerce-privacy-policy-text a { color: var(--ink); }
.woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 1rem; }
#place_order {
	width: 100%; min-height: 60px; border: 0; border-radius: 999px;
	background: var(--wine); color: var(--paper); font-weight: 600; font-size: 1rem;
	transition: background-color .25s;
}
#place_order:hover { background: var(--ink); }
.blockUI.blockOverlay { background: rgba(247,250,255,.7) !important; border-radius: inherit; }

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

.page-thanks .page-body { max-width: 880px; margin-inline: auto; }
.thanks-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); display: grid; justify-items: center; text-align: center; }
.thanks-seal { position: relative; width: 112px; height: 136px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.thanks-arch { position: absolute; inset: 0; background: var(--wine); }
.thanks-check { position: relative; width: 52px; height: 52px; color: var(--paper); stroke-width: 2.4; margin-top: 14px; }
.thanks-hand { transform: rotate(-4deg); margin: .6rem 0 .5rem; }
.thanks-title { font-size: clamp(2.6rem, 6.6vw, 5.8rem); }
.thanks-lead { margin-top: 1.1rem; font-size: 1.1rem; color: var(--slate); max-width: 40ch; }
.thanks-actions { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 1.8rem; }
.thanks-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(40px, 5vw, 64px) 0 0; border-block: 1px solid var(--line); }
.thanks-facts > div { padding: 18px 16px; border-left: 1px solid var(--line); }
.thanks-facts > div:first-child { border-left: 0; padding-left: 0; }
.thanks-facts dt { font-size: .78rem; color: var(--slate); }
.thanks-facts dd { margin: .2rem 0 0; font-weight: 600; font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.steps li { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: var(--paper-2); }
.steps strong { display: block; font-weight: 600; line-height: 1.3; }
.steps p { font-size: .86rem; color: var(--slate); margin-top: .3rem; overflow-wrap: anywhere; }
.step-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: .82rem; font-weight: 600; }
.steps .is-done .step-n { background: var(--wine); color: var(--paper); box-shadow: none; }

.thanks-details { margin-top: 56px; }
.thanks-details h2, .woocommerce-order-details__title, .woocommerce-column__title {
	font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; margin-bottom: 1rem;
}
.thanks-details > p, .woocommerce-bacs-bank-details { margin-bottom: 24px; }
.wc-bacs-bank-details { list-style: none; padding: 18px 20px; border-radius: 18px; background: var(--paper-2); display: grid; gap: .3rem; }
.woocommerce-order-details, .woocommerce-customer-details { margin-bottom: 40px; }
.woocommerce-table--order-details, .woocommerce-orders-table, .woocommerce-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td,
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: .9rem .4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-table--order-details tfoot th { font-weight: 500; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-table--order-details .product-quantity { color: var(--slate); font-weight: 400; }
.woocommerce-customer-details address { font-style: normal; padding: 18px 20px; border-radius: 18px; background: var(--paper-2); line-height: 1.7; }
.woocommerce-customer-details .col2-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.thanks-more { display: flex; justify-content: center; margin-top: 16px; }

/* --------------------------------------------------------------------------
   Mi cuenta
   -------------------------------------------------------------------------- */

.page-account.is-out .page-body { padding-top: calc(var(--header-h) + 32px); }
.auth {
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	min-height: 620px; border-radius: var(--r-panel); overflow: hidden;
	background: var(--paper-2);
}
.auth-side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; background: var(--ink); color: var(--paper); overflow: hidden; }
.auth-mark { position: absolute; top: -6%; right: -14%; width: 78%; color: var(--wine); }
.auth-quote { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; }
.auth-main { padding: clamp(28px, 4vw, 56px); }
.auth-tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 2rem; }
.auth-tabs button { position: relative; z-index: 1; min-height: 42px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: .9rem; color: var(--slate); transition: color .3s; }
.auth-tabs button[aria-selected="true"] { color: var(--paper); }
.auth-tabs-ink { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.auth-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.6rem; }
.auth-panel form { max-width: 440px; }
.auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 22px; font-size: .88rem; }
.auth-lost { color: var(--wine); font-weight: 500; }
.auth-note { font-size: .88rem; color: var(--slate); margin-bottom: 18px; }
.woocommerce-password-strength { font-size: .8rem; margin-top: .4rem; }
.woocommerce-password-hint { font-size: .8rem; color: var(--slate); }

.page-account.is-in .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--header-h) + 20px); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: .7rem 1rem; border-radius: 12px; text-decoration: none; font-weight: 500; transition: background-color .2s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); }
.woocommerce-MyAccount-navigation a[aria-current] { background: var(--ink); color: var(--paper); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--wine); }
.woocommerce-MyAccount-content > p { margin-bottom: 1rem; }
.woocommerce-MyAccount-content mark { background: none; color: var(--wine); font-weight: 600; }

.dash-hello { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.6rem; }
.dash-last {
	display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center;
	padding: 22px 24px; border-radius: 22px; background: var(--ink); color: var(--paper); text-decoration: none;
	transition: transform .3s var(--ease-out);
}
.dash-last:hover { transform: translateY(-2px); }
.dash-last-k { font-size: .8rem; color: var(--mist); grid-column: 1 / -1; }
.dash-last-n { font-family: var(--display); font-weight: 700; font-size: 2rem; }
.dash-last-t { grid-column: 1 / -1; font-weight: 600; }
.dash-last.is-empty { display: flex; justify-content: space-between; background: var(--paper-2); color: var(--ink); }
.dash-last.is-empty:hover { transform: none; }
.status { justify-self: end; padding: .25rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(247,250,255,.14); }
.dash-links { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.dash-links a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.dash-links strong { font-weight: 600; }
.dash-links span { grid-column: 1; font-size: .86rem; color: var(--slate); }
.dash-links .icon { grid-column: 2; grid-row: 1 / span 2; transition: transform .3s var(--ease-out); }
.dash-links a:hover .icon { transform: translateX(5px); color: var(--wine); }

.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button, .woocommerce-Address .edit, .woocommerce-address-fields button, .woocommerce-EditAccountForm button {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px;
	background: var(--ink); color: var(--paper); font-weight: 600; font-size: .85rem; text-decoration: none; margin: 2px;
}
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 1rem; }
.woocommerce-Address { padding: 22px; border-radius: 22px; background: var(--paper-2); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: .8rem; }
.woocommerce-Address-title h2 { font-size: 1.15rem; }
.woocommerce-Address address { font-style: normal; line-height: 1.7; color: var(--slate); }
.woocommerce-EditAccountForm fieldset { border: 0; padding: 0; margin: 24px 0; }
.woocommerce-EditAccountForm legend { font-weight: 600; margin-bottom: 12px; }
.woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.woocommerce-EditAccountForm > * { grid-column: 1 / -1; }
.woocommerce-EditAccountForm .form-row-first { grid-column: 1; }
.woocommerce-EditAccountForm .form-row-last { grid-column: 2; }
.woocommerce-EditAccountForm .clear { display: none; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.lost {
	max-width: var(--max); margin-inline: auto; min-height: 100svh;
	padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.lost-vf { aspect-ratio: 4/3.4; display: grid; place-items: center; overflow: hidden; }
.lost-rec { position: absolute; top: 14px; left: 18px; z-index: 2; }
.lost-code { position: relative; z-index: 1; font-size: clamp(6rem, 16vw, 13rem); color: var(--ink); }
.lost-static {
	position: absolute; inset: 10px; background-image: var(--grain); background-size: 120px; opacity: .5;
	animation: static .25s steps(3) infinite;
}
@keyframes static { 33% { background-position: 40px 70px; } 66% { background-position: -50px 20px; } }
.lost-title { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: 1.1rem; }
.lost-copy > p { color: var(--slate); max-width: 42ch; }
.search-inline { display: flex; gap: 8px; max-width: 460px; margin-top: 1.8rem; }
.search-inline input { min-height: 46px; border-radius: 999px; padding-inline: 1.1rem; }
.search-inline .btn { min-height: 46px; }
.lost-actions { display: flex; gap: 24px; margin-top: 1.6rem; }

/* --------------------------------------------------------------------------
   Nosotros y contacto
   -------------------------------------------------------------------------- */

.about-hero { max-width: var(--max); margin-inline: auto; padding: calc(var(--header-h) + clamp(48px, 8vw, 120px)) var(--gutter) clamp(48px, 6vw, 96px); }
.about-hand { transform: rotate(-3deg); transform-origin: left; margin-bottom: .8rem; }
.about-title { font-size: clamp(2.7rem, 7.4vw, 7.4rem); max-width: 12ch; }
.about-split { max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.about-arch { aspect-ratio: 3/4; background: var(--ink); display: grid; place-items: center; }
.about-mark { width: 44%; color: var(--wine); margin-top: 18%; }
.about-big { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1.4rem; }
.about-copy { color: var(--slate); }
.about-copy .btn { margin-top: 2rem; }
.about-values { max-width: var(--max); margin-inline: auto; padding: clamp(96px, 11vw, 160px) var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.value { padding-top: 22px; border-top: 2px solid var(--ink); }
.value h2 { font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.02em; line-height: 1; margin-bottom: .8rem; }
.value p { color: var(--slate); max-width: 34ch; }
.about-extra { padding-bottom: 96px; }

.contact { padding-bottom: clamp(80px, 10vw, 150px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.channel {
	position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: center;
	padding: clamp(22px, 3vw, 36px); border-radius: var(--r-panel); background: var(--paper-2);
	text-decoration: none; transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.channel:hover { background: var(--ink); color: var(--paper); }
.channel-icon { width: 30px; height: 30px; grid-row: 1 / span 2; color: var(--wine); }
.channel:hover .channel-icon { color: var(--paper); }
.channel-name { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.02em; line-height: 1; }
.channel-handle { font-weight: 500; color: var(--slate); overflow-wrap: anywhere; }
.channel:hover .channel-handle, .channel:hover .channel-text { color: var(--mist); }
.channel-text { grid-column: 1 / -1; margin-top: 1rem; color: var(--slate); font-size: .92rem; }
.channel-go { position: absolute; top: 24px; right: 24px; transition: transform .35s var(--ease-out); }
.channel:hover .channel-go { transform: translate(3px, -3px); }
.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.visit h2 { font-size: .85rem; font-weight: 500; color: var(--slate); margin-bottom: .4rem; }
.visit p { font-size: 1.2rem; font-weight: 500; }

.post-list { display: grid; gap: 40px; }
.post-title { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -.02em; line-height: 1.05; }
.post-title a { text-decoration: none; }
.post-date { font-size: .82rem; color: var(--slate); margin: .3rem 0 .8rem; }

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

@media (max-width: 1100px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.set--wide { grid-column: span 6; }
	.set--tall { grid-column: span 6; grid-row: auto; flex-direction: row; }
	.set--tall .set-visual, .set--tall .set-body { flex: 1 1 50%; }
	.set--regular { grid-column: span 3; }
	.page-account.is-in .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; }
	.nav-main { display: none; }
	.menu-btn { display: inline-flex; }
	.hide-sm { display: none; }
	.header-inner { grid-template-columns: 1fr auto; }

	.hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--header-h) + 28px); gap: 40px; }
	.hero-stage { width: min(100%, 440px); }
	.hero-note { left: auto; right: -2%; bottom: -6%; font-size: 1.5rem; }
	.hero-arrow { display: none; }

	/* La colección pasa a carrusel con scroll nativo. */
	.kit { background: var(--wine); padding-block: 72px 56px; }
	.kit-pin { height: auto; overflow: visible; }
	.kit-arch { display: none; }
	.kit-track {
		position: static; overflow-x: auto; scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		align-items: flex-start; gap: 20px; padding-bottom: 16px; scrollbar-width: none;
		overscroll-behavior-x: contain;
	}
	.kit-track::after { content: ""; flex: 0 0 1px; }
	.kit-track::-webkit-scrollbar { display: none; }
	.kit-intro { flex-basis: 82vw; scroll-snap-align: start; align-self: center; }
	.kit-item { flex-basis: 70vw; scroll-snap-align: start; }

	.section-head { grid-template-columns: 1fr; }
	.bento { grid-template-columns: 1fr; }
	.set--wide, .set--tall, .set--regular { grid-column: auto; grid-row: auto; flex-direction: column; }

	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-foot { flex-direction: column; align-items: flex-start; gap: 10px; }

	.pdp { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 16px); }
	.pdp-media { position: static; }
	.buy-bar { display: flex; }

	.cart-layout { grid-template-columns: 1fr; }
	.cart-collaterals { position: static; }
	form.checkout { grid-template-columns: 1fr; }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	#order_review { position: static; }
	#order_review_heading { margin-top: 40px; }

	.footer-top { grid-template-columns: 1fr; }
	.lost { grid-template-columns: 1fr; }
	.about-split { grid-template-columns: 1fr; }
	.about-arch { max-width: 360px; }
	.about-values { grid-template-columns: 1fr; }
	.auth { grid-template-columns: 1fr; min-height: 0; }
	.auth-side { min-height: 180px; }
	.thanks-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.thanks-facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.brand-word { display: none; }
	.menu-btn-label { display: none; }
	.menu-btn { width: 44px; padding: 0; justify-content: center; }

	.hero-actions .btn { width: 100%; }
	.hero-note { display: none; }
	.take-meta { font-size: .8rem; }

	.grid, .grid-4 { gap: 32px 12px; }
	.card-title { font-size: .92rem; }
	.add-btn .add-label { display: none; }
	.add-btn { padding: 0; width: 40px; justify-content: center; }
	.card-foot { flex-direction: row; align-items: center; }

	.cart-line {
		grid-template-columns: 80px minmax(0, 1fr) 40px;
		grid-template-areas: "media info remove" "media qty total";
		gap: 10px 14px;
	}
	.cart-line-media { grid-area: media; align-self: start; }
	.cart-line-info { grid-area: info; }
	.cart-line-qty { grid-area: qty; }
	.cart-line-total { grid-area: total; align-self: center; }
	.cart-line-remove { grid-area: remove; align-self: start; }
	.cart-line .quantity { min-height: 42px; }
	.cart-line .qty-btn { width: 36px; height: 36px; }

	.woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-billing-fields__field-wrapper .form-row-last,
	.woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce-shipping-fields__field-wrapper .form-row-last,
	.woocommerce-address-fields__field-wrapper .form-row-first, .woocommerce-address-fields__field-wrapper .form-row-last,
	.woocommerce-EditAccountForm .form-row-first, .woocommerce-EditAccountForm .form-row-last { grid-column: 1 / -1; }

	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-base { flex-direction: column; align-items: flex-start; }
	.contact-grid, .visit, .woocommerce-Addresses, .woocommerce-customer-details .col2-set { grid-template-columns: 1fr; }
	.search-inline { flex-direction: column; }
	.lost-actions { flex-direction: column; gap: 12px; }
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.woocommerce-orders-table td { border: 0; padding: .2rem 0; display: flex; justify-content: space-between; gap: 12px; }
	.woocommerce-orders-table td::before { content: attr(data-title); color: var(--slate); font-size: .84rem; }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.curtain { display: none; }
	.kit { background: var(--wine); padding-block: 72px 56px; }
	.kit-pin { height: auto; overflow: visible; }
	.kit-arch { display: none; }
	.kit-track { position: static; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
	.kit-intro, .kit-item { scroll-snap-align: start; }
}

/* Estado inicial de la entrada (lo libera main.js; hay respaldo en el <head>). */
.intro [data-hero-title], .intro .hero-hand, .intro .hero-lead, .intro .hero-actions, .intro .hero-stage,
.intro [data-split] { visibility: hidden; }

/* Prioridad sobre las reglas generales de campos de formulario. */
.woocommerce form .quantity input.qty, .quantity input.qty {
	width: 3ch; min-width: 36px; min-height: 0; height: 40px; padding: 0;
	border: 0; border-radius: 0; background: none; box-shadow: none;
	text-align: center; font-weight: 600;
}

.mini-item .quantity { display: block; min-height: 0; border-radius: 0; box-shadow: none; background: none; }
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus, .woocommerce-NoticeGroup:focus { outline: none; }
.woocommerce-checkout-review-order-table td.product-name { text-align: left; padding-right: 12px; }
.woocommerce-checkout-review-order-table .shipping td, .cart_totals .shipping td { text-align: right; }
.woocommerce-shipping-methods label { font-size: .88rem; }
/* Orden visual: nombre, contacto y después la dirección (el JS de direcciones de Woo reordena el DOM). */
.woocommerce-billing-fields__field-wrapper > .form-row { order: 3; }
#billing_first_name_field, #billing_last_name_field { order: 1; }
#billing_email_field, #billing_phone_field { order: 2; }


/* Aviso de "desliza" y barra de avance: solo cuando la colección es carrusel nativo. */
.kit-swipe { display: none; align-items: center; justify-content: space-between; gap: 20px; padding: 8px var(--gutter) 0; color: var(--paper); }
.kit-progress { position: relative; flex: 1; max-width: 160px; height: 2px; border-radius: 2px; background: rgba(247,250,255,.25); overflow: hidden; }
.kit-progress span { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(.2); }
.kit-hint { display: inline-flex; align-items: center; gap: .3rem; color: var(--paper); font-size: 1.6rem; }
.kit-hint-arrow { width: 52px; transform: rotate(-8deg) translateY(-6px); animation: nudge 1.8s var(--ease-out) infinite; }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 8px 0; } }
@media (max-width: 900px) { .kit-swipe { display: flex; } }
@media (prefers-reduced-motion: reduce) { .kit-swipe { display: flex; } .kit-hint-arrow { animation: none; } }

/* --------------------------------------------------------------------------
   Tienda: categorías como palabras grandes + óvalo vino a mano en la activa
   -------------------------------------------------------------------------- */

.shop-bar {
	display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
	margin: 0 0 clamp(40px, 5vw, 64px); padding: 8px 0 26px;
	border-bottom: 1.5px solid var(--line);
}

.seg {
	display: flex; align-items: baseline; gap: clamp(22px, 3.2vw, 52px);
	min-width: 0; overflow-x: auto; scrollbar-width: none;
	/* aire para que el óvalo no se corte */
	padding: 18px 22px; margin: -18px -22px;
}
.seg::-webkit-scrollbar { display: none; }
.seg a {
	position: relative; flex: none; display: inline-flex; align-items: flex-start;
	font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.6rem);
	letter-spacing: -.045em; line-height: 1;
	color: var(--mist); text-decoration: none; white-space: nowrap;
	transition: color .3s var(--ease-out);
}
.seg a:hover { color: var(--slate); }
.seg a[aria-current] { color: var(--ink); }
.seg-n {
	top: 0; margin-left: .2em;
	font-family: var(--body); font-size: .8rem; font-weight: 600; letter-spacing: 0; line-height: 1;
	color: inherit; opacity: .8; font-variant-numeric: tabular-nums;
}
.seg a[aria-current] .seg-n { color: var(--wine); opacity: 1; }

.scribble-circle {
	position: absolute; left: -14%; top: -38%;
	width: 134%; height: 176%; max-width: none;
	color: var(--wine); overflow: visible; pointer-events: none;
}
.scribble-circle path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: scribble .9s var(--ease-out) .35s forwards; }
@keyframes scribble { to { stroke-dashoffset: 0; } }

.sort { display: flex; align-items: baseline; gap: .5rem; flex: none; }
.sort .woocommerce-result-count {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.sort-label { font-size: .85rem; color: var(--slate); }
.sort .woocommerce-ordering { margin: 0; }
.woocommerce form.woocommerce-ordering select.orderby, .sort select.orderby {
	width: auto; min-height: 0; padding: .15rem 1.6rem .25rem 0;
	border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; box-shadow: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23680624' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 0 center / 16px no-repeat;
	font-size: .95rem; font-weight: 600; color: var(--ink); cursor: pointer;
	transition: border-color .25s;
}
.woocommerce form.woocommerce-ordering select.orderby:hover { border-bottom-color: var(--wine); }
.woocommerce form.woocommerce-ordering select.orderby:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; box-shadow: none; }

@media (max-width: 700px) {
	.shop-bar { align-items: stretch; flex-direction: column; gap: 14px; padding-bottom: 18px; }
	.seg { gap: 18px; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); }
	.seg a { font-size: 1.28rem; }
	.seg-n { font-size: .68rem; }
	.sort { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .scribble-circle path { animation: none; stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   Hero en celular
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {
	.hero {
		--hero-gap: clamp(10px, 1.9svh, 22px);
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		min-height: 100svh;
		max-width: none;
		padding: calc(var(--header-h) + clamp(12px, 4svh, 44px)) var(--gutter) clamp(12px, 2.5svh, 28px);
	}
	.hero:has(.hero-stage) {
		height: 100svh;
		min-height: min-content;
		grid-template-rows: auto auto minmax(158px, 1fr) auto;
	}
	.hero-copy { display: contents; }
	.hero-hand { order: 1; font-size: clamp(1.25rem, 2.9svh, 1.9rem); margin-bottom: .45rem; }
	.hero-title { order: 2; font-size: clamp(1.65rem, min(8.75vw, 4.9svh), 2.8rem); }
	.hero-lead, .hero-actions .btn-link { display: none; }
	.hero-stage { order: 3; width: 100%; padding-top: var(--hero-gap); align-self: stretch; }
	.hero-actions { order: 4; margin-top: var(--hero-gap); }

	.hero .viewfinder {
		height: 100%;
		aspect-ratio: auto;
		padding: clamp(32px, 5svh, 48px) 8% clamp(33px, 5.5svh, 52px);
	}
	.hero .take { padding: 5% 12%; }

	.hero-actions .btn-primary {
		width: 100%;
		min-height: clamp(52px, 7.4svh, 72px);
		font-size: clamp(1rem, 2svh, 1.125rem);
	}
}

/* --------------------------------------------------------------------------
   "Ordenar por": selector propio (panel tinta, check vino)
   -------------------------------------------------------------------------- */

.woocommerce-ordering select.orderby.is-enhanced {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0;
}
.woocommerce-ordering { position: relative; }
.pick { position: relative; }
.pick-btn {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .15rem 0 .25rem; border: 0; border-bottom: 1.5px solid var(--ink); background: none;
	font-size: .95rem; font-weight: 600; color: var(--ink); cursor: pointer;
	transition: border-color .25s;
}
.pick-btn:hover, .pick.is-open .pick-btn { border-bottom-color: var(--wine); }
.pick-btn:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 2px; }
.pick-chev { color: var(--wine); transition: transform .35s var(--ease-out); }
.pick.is-open .pick-chev { transform: rotate(180deg); }

.pick-list {
	position: absolute; right: 0; top: calc(100% + 12px); z-index: 60;
	min-width: 248px; margin: 0; padding: 8px; list-style: none;
	border-radius: 18px; background: var(--ink); color: var(--mist);
	box-shadow: 0 22px 44px -18px rgba(10, 21, 66, .55);
	transform-origin: top right;
	opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96);
	transition: opacity .2s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
	outline: none;
}
.pick.is-open .pick-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pick-list [role="option"] {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: .7rem .95rem; border-radius: 12px;
	font-size: .92rem; font-weight: 500; white-space: nowrap; cursor: pointer;
	transition: background-color .15s, color .15s;
}
.pick-list [role="option"].is-active { background: rgba(247, 250, 255, .1); color: var(--paper); }
.pick-list [role="option"][aria-selected="true"] { color: var(--paper); font-weight: 600; }
.pick-check { flex: none; color: var(--paper); opacity: 0; }
.pick-list [aria-selected="true"] .pick-check {
	opacity: 1; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--wine);
}
.pick-list:focus-visible { box-shadow: 0 22px 44px -18px rgba(10, 21, 66, .55), 0 0 0 2px var(--wine); }

@media (max-width: 700px) {
	.pick-list { min-width: min(260px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) { .pick-list { transition: none; } }

/* Ficha: características con puntos vino y bloque "Incluye". */
.acc-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.acc-body ul li { position: relative; padding-left: 1.25rem; }
.acc-body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }
.acc-body ul + p { margin-top: 1.1rem; padding: .85rem 1rem; border-radius: 14px; background: var(--paper-2); color: var(--ink); }
.acc-body ul + p strong { color: var(--wine); }
