/* Offside · tema propio. Tokens, base y componentes de la home.
   Estilo: redondeado, limpio, mucho aire (apple-design). Azul de marca #0A84FF. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	--brand: #0a84ff;          /* relleno y detalles */
	--brand-600: #0071e3;      /* botones y texto sobre blanco (contraste AA) */
	--brand-700: #0060c4;
	--ink: #1d1d1f;
	--ink-2: #515154;
	--ink-3: #6e6e73;
	--bg: #ffffff;
	--bg-2: #f5f5f7;
	--bg-3: #e8f1ff;
	--card: #f5f5f7;
	--line: rgba(0, 0, 0, .1);
	--glass: rgba(255, 255, 255, .72);
	--dark: #0b0d12;
	--r-s: 12px; --r-m: 22px; --r-l: 32px; --pill: 999px;
	--wrap: 1200px;
	--gutter: max(16px, calc((100vw - var(--wrap)) / 2));
	--ease: cubic-bezier(.22, 1, .36, 1);
	--font-d: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-b: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--pill); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

h1, h2, h3, .brand-word { font-family: var(--font-d); font-stretch: 112%; letter-spacing: -.02em; line-height: 1.04; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 750; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34ch; }
.sub { color: var(--ink-2); margin-top: 8px; }
.fine { color: var(--ink-3); font-size: .85rem; }
.eyebrow { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 10px; }

/* Botones: todos en píldora */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--pill); font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background-color .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--brand-600); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(10, 132, 255, .08); }
.btn-light { background: #fff; color: #0b0d12; }
.btn-light:hover { background: #e8f1ff; }
.btn-quiet { background: var(--bg-2); color: var(--ink); min-height: 42px; padding: 0 20px; }
.btn-quiet:hover { background: var(--line); }
.link-arrow { color: var(--brand-600); font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Aviso superior */
.announce { background: #0071E3; color: #fff; font-weight: 600; /* azul Offside FIJO (no sigue --brand del equipo); #0071E3 da 4,9:1 con blanco, #0A84FF solo 3,7:1 */ text-align: center; font-size: .85rem; padding: 9px 16px; }

/* Cabecera: translúcida y neutra */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; justify-self: center; }
.brand img { height: 28px; width: auto; }
.brand-word { font-weight: 800; font-size: 1.15rem; font-stretch: 125%; display: none; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; justify-self: end; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--pill); cursor: pointer; color: var(--ink); transition: background-color .25s; }
.icon-btn:hover { background: rgba(127, 127, 127, .14); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill); background: var(--brand-600); color: #fff; font-size: .72rem; font-weight: 700; line-height: 18px; text-align: center; transition: transform .4s var(--ease); }
.cart-count[data-n="0"] { display: none; }
.burger { display: grid; gap: 6px; width: 20px; }
.burger i { display: block; height: 1.8px; background: currentColor; border-radius: 2px; }

@media (min-width: 1040px) {
	.header-row { grid-template-columns: auto 1fr auto; gap: 24px; }
	.menu-btn { display: none; }
	.brand { justify-self: start; order: -1; }
	.brand-word { display: block; }
	.main-nav { display: block; justify-self: center; }
	.main-nav ul { display: flex; gap: 4px; }
	.main-nav a { display: block; padding: 8px 13px; border-radius: var(--pill); font-size: .93rem; font-weight: 500; color: var(--ink); transition: background-color .25s; white-space: nowrap; }
	.main-nav a:hover { background: rgba(127, 127, 127, .14); }
}

/* Menú móvil: hoja que sube desde abajo */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; opacity: 0; transition: opacity .3s; }
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }
.sheet-panel { width: 100%; max-height: 92dvh; overflow: auto; background: var(--bg); border-radius: var(--r-l) var(--r-l) 0 0; padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform .5s var(--ease); }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-close { margin-left: auto; display: grid; }
.sheet-panel li a { display: block; padding: 14px 0; font: 700 1.6rem/1.2 var(--font-d); font-stretch: 112%; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.sheet-foot { display: flex; gap: 20px; margin-top: 20px; color: var(--ink-2); font-size: .95rem; }

/* Secciones */
main { overflow-x: clip; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section + .section { padding-top: 0; } /* dos secciones seguidas sumaban 224 px de blanco (home: selección → vídeos → FAQ) */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise > * { animation: rise .9s var(--ease) both; }
.rise > :nth-child(2) { animation-delay: .08s; } .rise > :nth-child(3) { animation-delay: .16s; }

/* Confianza */
.trust { border-block: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.trust-list li { display: grid; gap: 2px; padding: 18px 12px; font-size: .88rem; }
.trust-list li:nth-child(odd) { padding-left: 0; }
.trust-list strong { font-weight: 650; }
.trust-list span { color: var(--ink-3); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); } .trust-list li { padding: 22px 16px; } .trust-list li:first-child { padding-left: 0; } }

/* Carrusel */
.rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 16px; padding-inline: var(--gutter); }
.rail-track > li { flex: 0 0 auto; scroll-snap-align: start; scroll-margin-inline: var(--gutter); }

/* Tarjeta de producto */
.card { display: block; width: clamp(200px, 66vw, 280px); }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--card); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .06); }
/* Las fotos ya vienen cuadradas y sobre el gris de la tarjeta (scripts/normalize-images.py): sin multiply.
   La 2ª foto queda debajo, opaca; al pasar el ratón la 1ª se desvanece y la 2ª ocupa su sitio (sin mezcla). */
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--card); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card-img.a { z-index: 1; }
@media (hover: hover) { .card:hover .card-img.a:not(:only-of-type) { opacity: 0; } .card:hover .card-img.a:only-of-type { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .card-img { transition: none; } }
.badge { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: var(--pill); background: #fff; color: #1d1d1f; font-size: .74rem; font-weight: 650; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.badge-sale { background: var(--brand-600); color: #fff; box-shadow: none; }
.card-label { display: block; margin-top: 12px; font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card-label + .card-stock, .card-label + .card-name { margin-top: 4px; }
.card-stock { display: block; margin-top: 12px; font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.card-stock::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; margin-right: 6px; vertical-align: 1px; }
.card-stock.is-in { color: #1d7f3e; }
.card-stock.is-in::before { background: #30b455; }
.card-stock + .card-name { margin-top: 4px; }
.card-name { display: block; margin-top: 14px; font-weight: 600; font-size: .95rem; line-height: 1.3; text-wrap: balance; }
.card-price { display: block; margin-top: 4px; color: var(--ink-2); font-size: .93rem; }
.price-was { color: var(--ink-3); margin-left: 4px; }
.price-now { color: var(--ink); font-weight: 600; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-m); aspect-ratio: 1 / 1; display: flex; isolation: isolate; background: var(--bg-2); transition: transform .6s var(--ease), background-color .3s; }
.tile:hover { transform: translateY(-3px); }
.tile-text { position: absolute; left: 18px; top: 16px; z-index: 2; display: grid; gap: 2px; }
.tile-text b { font: 750 clamp(1rem, 4vw, 1.5rem)/1.1 var(--font-d); font-stretch: 112%; letter-spacing: -.02em; }
.tile-text small { font-size: .85rem; color: var(--ink-3); }
.tile-img { position: absolute; left: 50%; bottom: -6%; width: 78%; height: auto; transform: translateX(-50%); transition: transform .8s var(--ease); z-index: 1; }
.tile:hover .tile-img { transform: translateX(-50%) scale(1.05) rotate(-2deg); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tile { aspect-ratio: 4 / 3; } .tile-text { left: 26px; top: 22px; } .tile-img { width: 62%; } }

/* Vídeos */
.vids-track { gap: 14px; }
.vid { position: relative; display: block; width: clamp(170px, 46vw, 230px); aspect-ratio: 9 / 16; border-radius: var(--r-m); overflow: hidden; background: #000; color: #fff; transition: transform .6s var(--ease); }
.vid:hover { transform: translateY(-4px); }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vid:hover img { transform: scale(1.04); }
.vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent 55%); }
.vid-play { position: absolute; z-index: 2; left: 50%; top: 42%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--ease); }
.vid-play::before { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid #fff; border-block: 10px solid transparent; }
.vid:hover .vid-play { transform: scale(1.12); }
.vid-meta { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 3px; }
.vid-meta b { font-size: .9rem; line-height: 1.25; font-weight: 650; }
.vid-meta small { opacity: .8; font-size: .78rem; }
.videos .fine { margin-top: 14px; }

/* Colaboraciones */
.collab { display: grid; gap: 28px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-l); background: var(--brand-600); color: #fff; }
.collab-copy { display: grid; gap: 16px; align-content: center; justify-items: start; }
.collab-copy p { color: rgba(255,255,255,.88); max-width: 32ch; }
.collab-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.collab-list li { min-width: 0; }
.collab-list a { display: grid; gap: 8px; }
.collab-img { display: block; aspect-ratio: 4 / 5; background: #fff; border-radius: 18px; overflow: hidden; }
.collab-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.collab-list a:hover img { transform: scale(1.05); }
.collab-name { font-size: .88rem; font-weight: 600; line-height: 1.25; }
.collab-list em { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.88); }
.collab-list .price-now { color: #fff; }
.collab-list .price-was { color: rgba(255,255,255,.65); }
@media (min-width: 900px) { .collab { grid-template-columns: .8fr 1.4fr; gap: 48px; align-items: center; } }

/* Personalización */
.personalize { display: grid; gap: 36px; align-items: center; }
.pz-copy { display: grid; gap: 18px; justify-items: start; }
.pz-copy > p:not(.fine) { color: var(--ink-2); max-width: 44ch; }
.pz-form { display: flex; gap: 12px; flex-wrap: wrap; }
.pz-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pz-form input { height: 48px; padding: 0 16px; width: 170px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; }
.pz-form input[data-pz-num] { width: 90px; }
.pz-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 132, 255, .18); }
.pz-preview { display: grid; place-items: center; padding: 24px; border-radius: var(--r-l); background: var(--bg-3); }
.pz-back { position: relative; width: min(100%, 340px); aspect-ratio: 1 / 1.08; background: linear-gradient(160deg, #0a84ff, #0a4fb0); clip-path: polygon(30% 0, 40% 7%, 60% 7%, 70% 0, 100% 17%, 90% 37%, 80% 31%, 80% 100%, 20% 100%, 20% 31%, 10% 37%, 0 17%); display: grid; place-content: center; justify-items: center; gap: 0; color: #fff; padding-top: 14%; transition: transform .6s var(--ease); }
.pz-name { font: 800 clamp(1rem, 4vw, 1.5rem)/1 var(--font-d); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; max-width: 8ch; text-align: center; }
.pz-num { font: 900 clamp(5rem, 16vw, 8rem)/.95 var(--font-d); font-stretch: 112%; }
@media (min-width: 900px) { .personalize { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Mystery Box */
.mystery { display: grid; gap: 0; border-radius: var(--r-l); overflow: hidden; background: var(--bg-3); }
.mystery-img { background: #fff; aspect-ratio: 1 / .8; }
.mystery-img img { width: 100%; height: 100%; object-fit: contain; }
.mystery-copy { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 5vw, 56px); }
.mystery-copy > p:not(.price-big) { color: var(--ink-2); max-width: 40ch; }
.price-big { font: 700 1.9rem/1 var(--font-d); font-stretch: 112%; }
.price-big .price-was { font-size: 1.1rem; font-weight: 500; }
.ticks { display: grid; gap: 8px; font-size: .93rem; color: var(--ink-2); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600); transform: rotate(-45deg) translateY(-2px); }
@media (min-width: 900px) { .mystery { grid-template-columns: 1fr 1fr; } .mystery-img { aspect-ratio: auto; min-height: 460px; } }

/* Creadores */
.creators-band { display: grid; gap: 22px; align-items: center; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-l); background: var(--bg-2); }
.creators-band > div { display: grid; gap: 10px; }
.creators-band p { color: var(--ink-2); max-width: 52ch; }
.creators-band .btn { justify-self: start; }
@media (min-width: 900px) { .creators-band { grid-template-columns: 1fr auto; } }

/* FAQ */
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 1.6rem; font-weight: 300; color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* Pie */

/* Cookies: Aceptar y Rechazar con el mismo peso */
.cookie { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 460px; padding: 18px; display: grid; gap: 14px; background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: 0 12px 40px rgba(0, 0, 0, .14); font-size: .88rem; }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ============ Páginas, carrito, finalizar compra ============ */
div.page { padding-bottom: clamp(56px, 8vw, 104px); } /* div.: body_class() también pone «page» en <body> y dejaba una banda blanca bajo el pie */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(18px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.prose { display: grid; gap: 16px; align-content: start; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 20px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); }
.callout { padding: 16px 20px; border-radius: var(--r-m); background: var(--bg-3); color: var(--ink); }
.callout.warn { background: #fff4d6; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 20px; padding: 16px 20px; border-radius: var(--r-m); background: var(--bg-3); list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.woocommerce-error { background: #ffe9e6; display: grid; }
.woocommerce-message .button { order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 0; border-radius: var(--pill); background: var(--bg-2); color: var(--ink); font-weight: 600; cursor: pointer; transition: background-color .25s, transform .3s var(--ease); }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--line); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .checkout-button, #place_order { background: var(--brand-600) !important; color: #fff !important; min-height: 52px; font-size: 1.02rem; }
.woocommerce a.button.alt:hover, #place_order:hover, .checkout-button:hover { background: var(--brand-700) !important; }
.woocommerce a.button:active, .woocommerce button.button:active { transform: scale(.97); }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce textarea, .woocommerce select, .select2-selection { width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-s) !important; background: var(--bg); font-size: 1rem; }
.woocommerce textarea { padding: 12px 16px; min-height: 110px; }
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 132, 255, .18); }
.select2-selection { display: flex !important; align-items: center; }
.select2-selection__rendered { line-height: 1.2 !important; padding: 0 !important; }
.select2-selection__arrow { top: 12px !important; right: 10px !important; }
.woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.woocommerce form .form-row label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.woocommerce form .form-row .required { color: #c4302b; text-decoration: none; }
.woocommerce-invalid input { border-color: #c4302b; }

/* Carrito */
.woocommerce-cart-form { margin-bottom: 28px; }
table.shop_table { width: 100%; border-collapse: collapse; }
table.cart thead { display: none; }
table.cart, table.cart tbody, table.cart tr { display: block; }
table.cart .cart_item { display: grid; grid-template-columns: 88px 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; }
table.cart td { display: block; padding: 0; border: 0; }
.product-thumbnail { grid-row: 1 / span 3; }
.product-thumbnail img { width: 88px; height: 110px; object-fit: contain; background: var(--card); border-radius: var(--r-s); }
.product-name a { font-weight: 650; }
.product-name dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 8px 0 0; font-size: .85rem; color: var(--ink-3); }
.product-name dl.variation dt, .product-name dl.variation dd { margin: 0; }
.product-name dl.variation p { margin: 0; }
.product-price { display: none !important; }
.product-quantity { grid-column: 2; }
.product-subtotal { grid-column: 3; grid-row: 1; font-weight: 650; text-align: right; }
.product-remove { position: absolute; right: 0; top: 14px; }
.product-remove a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); color: var(--ink-3); font-size: 1.2rem; }
.product-remove a:hover { background: #ffe9e6; color: #c4302b; }
.product-subtotal { margin-right: 36px; }
td.actions { display: grid !important; gap: 12px; padding: 20px 0 0 !important; }
.coupon { display: flex; gap: 10px; }
.coupon label { display: none; }
.coupon input { flex: 1; }
.cart-collaterals { display: grid; }
.cart_totals { padding: 24px; border-radius: var(--r-l); background: var(--bg-2); display: grid; gap: 14px; }
.cart_totals h2 { font-size: 1.4rem; }
.cart_totals table, .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cart_totals td, .woocommerce-checkout-review-order-table td:last-child { text-align: right; }
.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: 0; font: 700 1.25rem/1.2 var(--font-d); }
.woocommerce-shipping-calculator { margin-top: 8px; font-size: .9rem; }
.wc-proceed-to-checkout .checkout-button { display: flex !important; width: 100%; }
.cart-empty { padding: 40px 0 16px; font-size: 1.2rem; }
.return-to-shop { margin-bottom: 40px; }

/* Finalizar compra */
form.checkout { display: grid; gap: 32px; }
form.checkout h3 { font-size: 1.35rem; margin-bottom: 16px; }
#customer_details { display: grid; gap: 24px; }
.woocommerce-checkout-review-order { padding: 24px; border-radius: var(--r-l); background: var(--bg-2); }
#order_review_heading { margin-bottom: 14px; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 550; }
.woocommerce-checkout-review-order-table dl.variation { font-size: .85rem; color: var(--ink-3); margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.woocommerce-checkout-review-order-table dl.variation dt, .woocommerce-checkout-review-order-table dl.variation dd, .woocommerce-checkout-review-order-table dl.variation p { margin: 0; }
#payment { margin-top: 18px; display: grid; gap: 14px; }
#payment ul.payment_methods { display: grid; gap: 10px; }
#payment .payment_box { padding: 12px 14px; border-radius: var(--r-s); background: var(--bg); font-size: .9rem; color: var(--ink-2); }
#payment .payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: .82rem; color: var(--ink-3); }
#place_order { width: 100%; }
.showcoupon { color: var(--brand-600); text-decoration: underline; }
.woocommerce-form-coupon-toggle { margin-bottom: 16px; }
@media (min-width: 900px) {
	table.cart .cart_item { grid-template-columns: 110px 1fr auto auto; }
	.product-thumbnail img { width: 110px; height: 138px; }
	.product-quantity { grid-column: 3; grid-row: 1 / span 3; }
	.product-subtotal { grid-column: 4; grid-row: 1 / span 3; align-self: center; min-width: 90px; margin-right: 48px; }
	.product-remove { top: 50%; transform: translateY(-50%); }
	td.actions { grid-template-columns: minmax(0, 420px) auto; justify-content: space-between; }
	.cart-collaterals { justify-content: end; }
	.cart_totals { width: min(100%, 440px); }
	form.checkout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
	#order_review_heading { display: none; }
	.woocommerce-checkout-review-order { position: sticky; top: calc(var(--header-h) + 20px); }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 7px); display: inline-grid; }
	.woocommerce form .form-row-first { margin-right: 14px; }
}

/* Revelado al hacer scroll (solo con JS) */
.js .reveal-on { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal-on.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal-on { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.site-header, .cookie { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============ Tienda ============ */
.crumbs { font-size: .85rem; color: var(--ink-3); padding: 18px 0 6px; }
.crumbs a:hover { color: var(--brand-600); }
.shop-head { padding-bottom: 8px; }
.shop-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 0 20px; }
.shop-title h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; }
.sort select { height: 44px; padding: 0 38px 0 16px; border-radius: var(--pill); border: 0; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1d1f' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font-weight: 600; cursor: pointer; }
.shop-body { display: grid; gap: 28px; padding-bottom: clamp(56px, 8vw, 96px); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
.grid .card { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); background: var(--bg-2); font-size: .9rem; font-weight: 550; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.chip:hover { background: var(--bg-3); }
.chip:active { transform: scale(.96); }
.chip.is-on { background: var(--brand-600); color: #fff; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.filters legend { font: 650 .8rem/1 var(--font-b); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; padding: 0; }
.filters details { margin-bottom: 10px; border-radius: var(--r-s); }
.filters summary { cursor: pointer; font-weight: 600; padding: 8px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-3); transition: transform .3s var(--ease); }
.filters details[open] summary::after { transform: rotate(45deg); }
.filters summary small { color: var(--ink-3); font-weight: 500; margin-left: auto; margin-right: 12px; }
.filters details .chips { padding: 4px 0 12px; }
.filters-head, .filters-apply { display: none; }
.filters-clear { margin-bottom: 12px; }
.empty { display: grid; gap: 14px; justify-items: start; padding: 48px 0; }
.empty p { color: var(--ink-2); }
.nav-links, .woocommerce-pagination { margin-top: 40px; }
.page-numbers { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers a, .page-numbers span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--pill); background: var(--bg-2); font-weight: 600; }
.page-numbers .current { background: var(--brand-600); color: #fff; }

/* En móvil los filtros son una hoja desde abajo */
@media (max-width: 899px) {
	.filters { position: fixed; inset: auto 0 0 0; z-index: 80; max-height: 86dvh; overflow: auto; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); background: var(--bg); border-radius: var(--r-l) var(--r-l) 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .2); transform: translateY(105%); transition: transform .5s var(--ease); visibility: hidden; }
	.filters.is-open { transform: none; visibility: visible; }
	.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 1.2rem; }
	.filters-apply { display: inline-flex; width: 100%; position: sticky; bottom: 0; }
	.filters-clear { width: 100%; }
	.scrim { position: fixed; inset: 0; z-index: 79; background: rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .4s; }
	.scrim.is-on { opacity: 1; pointer-events: auto; }
}
@media (min-width: 900px) {
	.filter-open { display: none; }
	.shop-body { grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
	.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100dvh - var(--header-h) - 40px); overflow: auto; padding-right: 8px; scrollbar-width: thin; }
	.grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}
@media (min-width: 1100px) { .shop-body .grid { grid-template-columns: repeat(3, 1fr); } .pdp .grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ Ficha de producto ============ */
.pdp-grid { display: grid; gap: 28px; padding-top: 8px; padding-bottom: clamp(32px, 6vw, 64px); }
.pdp-gallery { display: grid; gap: 14px; align-content: start; }
.pdp-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); background: var(--card); overflow: hidden; }
.pdp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease); display: grid; place-items: center; }
.pdp-slide.is-on { opacity: 1; visibility: visible; }
.pdp-slide img { width: 100%; height: 100%; object-fit: contain; }
.pdp-draw { background: var(--bg-3); gap: 6px; align-content: center; padding: 20px; }
.pdp-draw .pz-back { width: min(78%, 360px); }
.pdp-draw .fine { text-align: center; max-width: 30ch; }
.pdp-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 72px; aspect-ratio: 1; padding: 4px; border: 2px solid transparent; border-radius: var(--r-s); background: var(--card); cursor: pointer; transition: border-color .25s, transform .3s var(--ease); }
.thumb:active { transform: scale(.95); }
.thumb.is-on { border-color: var(--brand-600); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-draw { background: var(--bg-3); font-size: .7rem; font-weight: 700; line-height: 1.1; color: var(--brand-700); }
.pdp-buy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.pdp-buy h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.025em; text-wrap: balance; }
.pdp-price { font: 700 1.6rem/1 var(--font-d); font-stretch: 108%; }
.pdp-price .price-was { font-size: 1.05rem; font-weight: 500; }
.pdp-price .woocommerce-variation-price .price { font: inherit; }
.pdp-short { color: var(--ink-2); max-width: 52ch; }
.buy-form { display: grid; gap: 20px; }
.variations { display: grid; gap: 20px; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt-title, .opt legend { display: flex; justify-content: space-between; width: 100%; font-weight: 650; margin-bottom: 10px; padding: 0; }
.opt-title em, .opt legend em { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: 8px; }
.opt-help { font-weight: 500; font-size: .88rem; color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 52px; min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--bg-2); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .3s var(--ease); }
.pill:hover { background: var(--bg-3); }
.pill:active { transform: scale(.95); }
.pill.is-on { background: var(--brand-600); color: #fff; }
.sr-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reset_variations { display: none !important; }
.pz-opt { padding: 16px; border-radius: var(--r-m); background: var(--bg-2); }
.pz-switch { display: flex; gap: 12px; align-items: center; cursor: pointer; font-weight: 600; min-height: 44px; }
.pz-switch input { width: 22px; height: 22px; accent-color: var(--brand-600); }
.pz-fields { display: grid; grid-template-columns: 1fr 96px; gap: 12px; margin-top: 12px; }
.pz-fields[hidden] { display: none; }
.pz-fields label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pz-fields input { height: 48px; padding: 0 16px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; width: 100%; }
.pz-fields input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10, 132, 255, .18); }
.pz-fields .fine { grid-column: 1 / -1; }
.woocommerce-variation-add-to-cart { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.woocommerce-variation-description:empty, .woocommerce-variation-availability:empty { display: none; }
.quantity input { width: 84px; max-width: 84px; height: 52px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--bg); font-weight: 600; }
.single_add_to_cart_button { min-height: 52px; border: 0; border-radius: var(--pill); background: var(--brand-600); color: #fff; font-weight: 650; font-size: 1.02rem; cursor: pointer; transition: background-color .25s, transform .3s var(--ease); }
.single_add_to_cart_button:hover { background: var(--brand-700); }
.single_add_to_cart_button:active { transform: scale(.98); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { background: var(--bg-2); color: var(--ink-3); cursor: not-allowed; }
.added_to_cart { display: none; }
.deliver { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-m); background: var(--bg-2); }
.deliver-row { display: grid; grid-template-columns: 84px 1fr; gap: 10px; font-size: .93rem; color: var(--ink-3); padding: 10px 12px; border-radius: var(--r-s); transition: background-color .3s, color .3s; }
.deliver-row strong { color: inherit; }
.deliver-row.is-on { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1.5px var(--brand-600); }
.assure { display: grid; gap: 12px; }
.assure li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.assure span { color: var(--ink-3); font-size: .9rem; }
.note-box { padding: 16px 18px; border-radius: var(--r-m); background: var(--bg-3); display: grid; gap: 6px; font-size: .93rem; }
.pdp-desc { display: grid; gap: 14px; }
.pdp-desc p { color: var(--ink-2); }
.buybar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: var(--pill); background: var(--glass); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border: 1px solid var(--line); box-shadow: 0 10px 34px rgba(0, 0, 0, .14); font-weight: 650; }
.buybar[hidden] { display: none; }
@media (min-width: 900px) {
	.pdp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
	.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
	.buybar { display: none !important; }
}
@media (prefers-reduced-transparency: reduce) { .buybar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Creadores: página pública y panel de ejemplo */
.cr-hero { display: grid; gap: 40px; padding-block: clamp(32px, 6vw, 80px); align-items: center; }
.cr-hero .lead { max-width: 40ch; margin-top: 18px; }
.cr-hero .cta-row { margin-top: 28px; }
.cr-vids { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cr-steps, .cr-perks { display: grid; gap: 14px; margin-top: 28px; }
.cr-steps li, .cr-perks li { padding: 24px; border-radius: var(--r-m); background: var(--bg-2); }
.cr-steps h3, .cr-perks h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.cr-steps p, .cr-perks p { color: var(--ink-2); }
.cr-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-600); color: #fff; font: 700 1rem var(--font-d); }
.cr-note { margin-top: 16px; }
.cr-apply { display: grid; gap: 28px; padding: clamp(24px, 5vw, 48px); border-radius: var(--r-l); background: var(--bg-3); margin-bottom: 64px; }
.cr-form { display: grid; gap: 14px; }
.cr-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.cr-form input[type=text], .cr-form input[type=email] { height: 52px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; }
.cr-form .cr-check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.cr-form .cr-check a { text-decoration: underline; }

.demo-flag { display: inline-block; padding: 6px 14px; border-radius: var(--pill); background: #fff4d6; color: #6b4a00; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.pc-grid { display: grid; gap: 16px; padding-bottom: 72px; }
.pc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pc-stats li { padding: 20px; border-radius: var(--r-m); background: var(--bg-2); display: grid; gap: 6px; }
.pc-stats small { color: var(--ink-3); }
.pc-stats strong { font: 800 1.9rem/1 var(--font-d); letter-spacing: -.02em; }
.pc-card { padding: 24px; border-radius: var(--r-l); background: var(--bg-2); display: grid; gap: 16px; align-content: start; }
.pc-card h2 { font-size: 1.3rem; }
.pc-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; }
.pc-bar { flex: 1; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; gap: 4px; }
.pc-bar span { align-self: end; width: 100%; max-width: 56px; min-height: 4px; background: var(--brand); border-radius: 10px 10px 4px 4px; }
.pc-bar small { color: var(--ink-3); }
.pc-steps { display: grid; gap: 10px; counter-reset: s; }
.pc-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-3); }
.pc-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: .85rem; font-weight: 700; }
.pc-steps .is-done { color: var(--ink); }
.pc-steps .is-done::before { content: "\2713"; background: var(--brand-600); color: #fff; box-shadow: none; }
.pc-steps .is-now { color: var(--ink); font-weight: 650; }
.pc-steps .is-now::before { background: #fff; box-shadow: inset 0 0 0 2px var(--brand-600); color: var(--brand-600); }
.pc-kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; align-items: center; }
.pc-kv dt { color: var(--ink-3); } .pc-kv dd { margin: 0; }
.pc-kv code { padding: 6px 12px; border-radius: var(--pill); background: #fff; font-size: .9rem; word-break: break-all; }
.pc-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pc-table th, .pc-table td { padding: 10px 8px 10px 0; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pc-wide { overflow-x: auto; }
@media (min-width: 900px) {
	.cr-hero { grid-template-columns: 1.1fr 1fr; }
	.cr-steps, .cr-perks { grid-template-columns: repeat(4, 1fr); }
	.cr-apply { grid-template-columns: 1fr 1.1fr; align-items: center; }
	.pc-grid { grid-template-columns: repeat(3, 1fr); }
	.pc-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
	.pc-wide { grid-column: 1 / -1; }
}

.cr-vids .vid { width: 100%; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.pending { background: #fff4d6; color: #6b4a00; padding: 1px 8px; border-radius: var(--pill); font-size: .8em; font-weight: 600; white-space: nowrap; }
.size-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.size-table th, .size-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.prose a { color: var(--brand-600); text-decoration: underline; }
.cr-steps { list-style: none; padding: 0; }
.pc-kv code { word-break: normal; overflow-wrap: anywhere; font-size: .82rem; }
.pc-kv { grid-template-columns: 1fr; gap: 4px; } .pc-kv dd { margin-bottom: 10px; }
@media (min-width: 900px) { .cr-vids { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 460px; margin-left: auto; } }

.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.ofertas-note { margin-top: 32px; }

.shop-head { padding-top: clamp(28px, 5vw, 56px); }

/* Seguimiento de pedido */
.track-form { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 700px) { .track-form { grid-template-columns: 1fr 1fr auto; align-items: end; } }
.track-field { display: grid; gap: 6px; }
.track-field label { font-weight: 600; font-size: .9rem; }
.track-field input { height: 52px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; font: inherit; font-size: 1rem; }
.track-field input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.track-demo { margin-top: 12px; }
.track-miss, .track-late { margin-top: 24px; padding: 20px 22px; border-radius: var(--r-m); background: var(--bg-2); display: grid; gap: 10px; justify-items: start; }
.track-card { margin-top: 32px; padding: 24px; border-radius: var(--r-l); background: var(--bg-2); }
@media (min-width: 700px) { .track-card { padding: 36px; } }
.track-top { display: grid; gap: 14px; }
.track-top h2 { font-family: var(--font-d); font-size: 1.35rem; line-height: 1.2; margin: 4px 0; }
.eyebrow-sm { font-size: .78rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); margin: 0; }
.track-eta { margin: 0; padding: 14px 18px; border-radius: var(--r-m); background: #fff; color: var(--ink-2); }
.track-eta strong { color: var(--ink); }
.track-eta.is-ok strong { color: #1a7f37; }
.track-eta.is-late { background: #fff3e0; }
.track-late { background: #fff3e0; margin-top: 16px; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.tl-done .tl-dot { background: var(--brand-600); box-shadow: none; }
.tl-done .tl-dot::after { content: ""; display: block; width: 8px; height: 14px; margin: 5px 0 0 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(.8); }
.tl-done::before { background: var(--brand-600); }
.tl-now .tl-dot { background: #fff; box-shadow: inset 0 0 0 8px var(--brand-600); }
.timeline strong { font-size: 1rem; }
.tl-next strong, .tl-next p { color: var(--ink-3); }
.tl-st { margin-left: 8px; padding: 2px 10px; border-radius: var(--pill); background: #fff; font-size: .75rem; color: var(--ink-2); }
.tl-now .tl-st { background: var(--brand-600); color: #fff; }
.timeline p { margin: 2px 0 0; color: var(--ink-2); }
.tl-track { word-break: break-all; }
.tl-track code { font-size: .85rem; }
.track-help { margin-top: 28px; }
@media (prefers-reduced-motion: no-preference) { .tl-now .tl-dot { animation: tlpulse 2s var(--ease) infinite; } }
@keyframes tlpulse { 50% { box-shadow: inset 0 0 0 8px var(--brand-600), 0 0 0 6px rgba(10, 132, 255, .18); } }

/* Ayuda: calculadora de talla y preguntas */
.sizer { padding: 28px; border-radius: var(--r-l); background: var(--bg-2); margin-top: 8px; }
.sizer h2 { margin-top: 0; }
.sizer-form { display: grid; gap: 14px; margin-top: 16px; align-items: end; }
@media (min-width: 700px) { .sizer-form { grid-template-columns: 1fr 1fr; } .sizer-fit, .sizer-form .btn { grid-column: 1 / -1; } .sizer-form .btn { justify-self: start; } }
.sizer-fit { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizer-fit legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.sizer-fit label { position: relative; padding: 12px 18px; border-radius: var(--pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; min-height: 44px; }
.sizer-fit input { position: absolute; opacity: 0; inset: 0; }
.sizer-fit label:has(input:checked) { background: var(--brand-600); color: #fff; box-shadow: none; }
.sizer-fit label:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.sizer-out { font-family: var(--font-d); font-size: 1.6rem; margin: 18px 0 4px; min-height: 1.6em; }
.size-scroll { overflow-x: auto; margin-top: 12px; }
.help .size-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-m); overflow: hidden; }
.help .size-table th, .help .size-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.faq-search { margin-top: 48px; }
.fq-in { width: 100%; height: 54px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: var(--pill); font: inherit; font-size: 1rem; background: #fff; }
.fq-in:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.faq-group h3 { margin: 32px 0 4px; font-family: var(--font-d); }
.faq-group[hidden], .faq details[hidden] { display: none; }
.empty[hidden] { display: none; }

/* ===== A: home y ficha ===== */
/* Botones con tacto */
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 113, 227, .28); }
.btn-primary:active, .single_add_to_cart_button:active { transform: scale(.97); box-shadow: none; }
.single_add_to_cart_button:hover { box-shadow: 0 10px 24px rgba(0, 113, 227, .28); }

/* Cinta que corre */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); font: 650 .9rem/1 var(--font-b); white-space: nowrap; }
.ticker-track { display: inline-flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: 14px 28px; }
.ticker-track span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 28px; vertical-align: 1px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker + .trust { border-top: 0; }

/* Cifras reales */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.stats li { display: grid; gap: 4px; }
.stats b { font: 800 clamp(2.2rem, 6vw, 4rem)/1 var(--font-d); font-stretch: 112%; letter-spacing: -.03em; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.stats span { color: var(--ink-2); font-size: .92rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Flechas de los carruseles (solo con ratón) */
.rail-nav { display: none; gap: 8px; }
@media (hover: hover) and (min-width: 900px) { .rail-nav { display: flex; } }
.rail-nav button { width: 44px; height: 44px; border: 0; border-radius: var(--pill); background: var(--bg-2); font-size: 1.1rem; cursor: pointer; transition: background-color .2s, transform .3s var(--ease), opacity .2s; }
.rail-nav button:hover { background: var(--bg-3); color: var(--brand-600); }
.rail-nav button:active { transform: scale(.94); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.section-head .link-arrow + .rail-nav, .section-head .rail-nav { margin-left: 12px; }

/* Tarjetas: levantan al pasar */
.card-media { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) { .card:hover .card-media { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 18px 40px rgba(0, 0, 0, .12); } }
.card-left { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: var(--pill); background: #fff1d6; color: #7a4b00; }

/* Tallas: cada píldora dice lo que queda */
[data-opt="pa_talla"] .pill { display: grid; justify-items: center; gap: 2px; min-height: 56px; padding: 6px 16px; line-height: 1.1; }
.pill-sub { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.pill-sub:empty { display: none; }
.pill.is-on .pill-sub { color: rgba(255, 255, 255, .82); }
.pill.is-low:not(.is-on) .pill-sub { color: #7a4b00; font-weight: 650; }
.deliver-left { font-style: normal; font-weight: 650; color: #7a4b00; }
.deliver-left:empty { display: none; }

/* Dibujo en vivo: nombre en arco, número que salta, camiseta con más cuerpo */
.pz-name { --fit: 1; font-size: calc(clamp(1rem, 4vw, 1.5rem) * var(--fit)); max-width: none; display: flex; justify-content: center; white-space: nowrap; }
.pz-name span { display: inline-block; transform: rotate(var(--a, 0deg)) translateY(var(--y, 0px)); }
.pz-num.is-pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.7); opacity: .4; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
.pz-back-pro { background: linear-gradient(160deg, #0a84ff, #0a4fb0), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px); background-blend-mode: overlay; box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .18); }
.pz-back-pro::before { content: ""; position: absolute; left: 40%; right: 40%; top: 0; height: 9%; border-radius: 0 0 50% 50%; background: rgba(255, 255, 255, .92); }
.pz-back-pro .pz-name, .pz-back-pro .pz-num { text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.pz-flip { border: 0; background: #fff; color: var(--brand-600); font-weight: 600; font-size: .85rem; min-height: 40px; padding: 0 16px; border-radius: var(--pill); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pz-flip:hover { background: var(--bg-3); }

/* Galería: lupa con el ratón */
.pdp-main.is-zoom { cursor: zoom-in; }
.pdp-main .pdp-slide img { transition: transform .35s var(--ease), opacity .5s var(--ease); }
.pdp-main.is-zoom .pdp-slide.is-on:not(.pdp-draw) img { transform: scale(1.9); }

@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
	.pdp-main.is-zoom .pdp-slide.is-on img { transform: scale(1.6); }
}
.pending,.demo-flag,.faq-pend{display:none!important}
