/* Merka — La tienda: plantilla única v2 (Claude Design, 22 oct 2026; JC,
   fase 2). Solo la baja /t/{slug} y la ficha de sus productos. El color de
   la tienda llega en --ac, --acs, --acb, --acp y --acd (regla-color.md); los
   botones de Merka siguen amarillos. */

main.tv-main-merka { max-width: none; margin: 0; padding: 0; }
.tv { --ac: #8829ae; --acs: #f5ecf9; --acb: #dec5e7; --acp: #601f7a; --acd: #25112d; display: flex; flex-direction: column; min-height: 100vh; background: #ffffff; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.tv * { box-sizing: border-box; }
.tv button { font-family: inherit; }
.tv a:focus-visible, .tv button:focus-visible, .tv input:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.tv-escribir-form { margin: 0; display: contents; }
/* merka.css estira button; «Escríbenos», no */
:where(.tv-escribir-form) button { width: auto; }
.tv2-oculto { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Cabecera ---------- */
.tv2-cab { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.97); box-shadow: rgba(20,24,60,0.06) 0 1px 0; transition: box-shadow 200ms ease; }
.tv2-cab.tv2-bajo { box-shadow: rgba(20,24,60,0.08) 0 4px 18px; }
.tv2-cab-in { max-width: 1440px; margin: 0 auto; height: 68px; padding: 0 clamp(10px,2vw,32px); display: flex; align-items: center; gap: clamp(8px,1.6vw,24px); }
.tv2-ico { flex: none; position: relative; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: none; color: #1b1f3b; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: background 140ms ease; }
.tv2-ico:hover { background: #f3f4f8; color: #1b1f3b; }
.tv2-ico svg { display: block; }
.tv2-marca { flex: none; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; color: #141a3c; text-decoration: none; }
.tv2-marca:hover { color: #141a3c; }
.tv2-marca-caja { display: flex; align-items: center; justify-content: center; height: 44px; width: clamp(120px,14vw,180px); }
.tv2-marca-caja img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tv2-marca-oscura { box-sizing: border-box; padding: 5px 12px; border-radius: 12px 12px 12px 4px; background: var(--acd); }
.tv2-marca-nombre { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.tv2-nav { flex: 1; min-width: 0; display: flex; justify-content: center; gap: clamp(14px,1.8vw,28px); }
.tv2-nav a { padding: 10px 2px; font-size: 14px; font-weight: 500; color: #2b2f45; white-space: nowrap; text-decoration: none; transition: color 140ms ease; }
.tv2-nav a:hover { color: var(--ac); }
.tv2-nav a[aria-current="true"] { color: var(--ac); font-weight: 700; }
.tv2-buscar { flex: 0 1 300px; margin: 0 0 0 auto; min-width: 160px; height: 44px; padding: 0 8px 0 18px; border-radius: 999px; background: #f3f4f8; display: flex; align-items: center; gap: 8px; transition: box-shadow 140ms ease, background 140ms ease; }
.tv2-campo input { flex: 1; min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; outline: none; box-shadow: none; font: inherit; font-size: 15px; color: #1a1a1a; }
.tv2-campo input:focus-visible { outline: none; }
.tv2-campo:focus-within { box-shadow: 0 0 0 2px var(--ac); background: #ffffff; }
.tv2-buscar-lupa { flex: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #1b1f3b; }
.tv2-acciones { flex: none; display: flex; align-items: center; gap: 2px; }
.tv2-cuenta { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ac); color: #ffffff; font-size: 11px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center; }
.tv2-ped { width: auto; min-width: 44px; padding: 0 10px; gap: 8px; font-size: 15px; font-weight: 700; }
.tv2-ped-txt { white-space: nowrap; }
.tv2-solo-movil { display: none !important; }
.tv2-buscar-movil { margin: 0; padding: 0 12px 12px; }
.tv2-buscar-movil[hidden] { display: none; }
.tv2-buscar-movil .tv2-campo { height: 46px; margin: 0; padding: 0 16px; border-radius: 999px; background: #f3f4f8; display: flex; align-items: center; gap: 8px; color: #1b1f3b; }
.tv2-buscar-movil input { font-size: 16px; }
.tv2-propio { width: min(1376px, calc(100% - 2 * clamp(16px,2vw,32px))); margin: 12px auto 0; padding: 10px 16px; border-radius: 14px 14px 14px 4px; background: var(--acs); color: #141a3c; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.tv2-propio a { color: var(--ac); font-weight: 700; }
.tv2-main { flex: 1; width: 100%; }
.tv2-pagina { max-width: 1440px; margin: 0 auto; padding: 24px clamp(16px,2vw,32px) clamp(56px,7vw,96px); display: flex; flex-direction: column; gap: clamp(32px,4vw,52px); }

/* ---------- Pie ---------- */
.tv2-pie { background: var(--acd); color: #ffffff; }
.tv2-pie-in { max-width: 1440px; margin: 0 auto; padding: clamp(36px,4vw,56px) clamp(16px,2vw,32px) 24px; display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3,minmax(0,1fr)) minmax(0,1.2fr); gap: 32px; }
.tv2-pie-marca { display: flex; flex-direction: column; gap: 14px; padding-bottom: 16px; }
.tv2-pie-nombre { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.tv2-pie-nombre:hover { color: #ffffff; }
.tv2-pie-nombre img { display: block; width: 52px; height: 52px; object-fit: contain; }
.tv2-pie-marca p { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.55; color: #c9cbe4; }
.tv2-acord-btn { width: 100%; margin: 0; padding: 0 0 12px; border: 0; background: none; cursor: default; display: flex; align-items: center; justify-content: space-between; color: #ffffff; font: inherit; font-size: 15px; font-weight: 800; text-align: left; }
.tv2-acord-btn svg { display: none; transition: transform 200ms ease; }
.tv2-acord-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.tv2-acord-cuerpo { display: flex; flex-direction: column; gap: 2px; }
.tv2-acord-cuerpo a { display: flex; align-items: center; min-height: 32px; padding: 6px 0; font-size: 14px; color: #c9cbe4; text-decoration: none; transition: color 140ms ease; }
.tv2-acord-cuerpo a:hover { color: #ffffff; }
.tv2-pie-merka { display: flex; flex-direction: column; gap: 8px; padding: 16px 0 0 24px; border-left: 1px solid rgba(255,255,255,0.14); }
.tv2-pie-merka a { align-self: flex-start; padding: 4px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #c9cbe4; text-decoration: none; transition: color 140ms ease; }
.tv2-pie-merka a:hover { color: #ffffff; }
.tv2-pie-merka img { display: block; width: 72px; height: auto; filter: brightness(0) invert(1); }
.tv2-pie-merka span { font-size: 13px; line-height: 1.5; color: #a9acc9; }
.tv2-pie-final { max-width: 1440px; margin: 0 auto; padding: 16px clamp(16px,2vw,32px) 24px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 13px; color: #a9acc9; }

/* ---------- Barra de abajo (celular) ---------- */
.tv2-bnav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #ffffff; box-shadow: rgba(20,24,60,0.10) 0 -4px 16px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
.tv2-bnav a, .tv2-bnav button { flex: 1; min-width: 0; min-height: 52px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #5b5f78; font: inherit; font-size: 11px; font-weight: 500; text-decoration: none; }
.tv2-bnav a:hover, .tv2-bnav button:hover { color: #5b5f78; }
.tv2-bnav [aria-current="page"], .tv2-bnav [aria-current="page"]:hover { color: var(--ac); font-weight: 700; }
.tv2-bnav svg { display: block; }

/* ---------- Menú ☰ ---------- */
@keyframes tv2MenuIn { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes tv2FondoIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tv2Toast { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.tv2-menu { position: fixed; inset: 0 auto 0 0; z-index: 81; margin: 0; padding: 0; width: min(320px, 86vw); max-width: none; height: 100%; max-height: none; border: 0; background: #ffffff; color: #1a1a1a; box-shadow: rgba(10,12,40,0.28) 12px 0 40px; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.tv2-menu[open] { display: flex; animation: tv2MenuIn 240ms cubic-bezier(.2,.9,.3,1); }
.tv2-menu::backdrop { background: rgba(14,8,34,0.48); animation: tv2FondoIn 200ms ease; }
.tv2-menu-cab { background: #252B60; padding: 18px 16px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tv2-menu-cab img { display: block; width: 112px; height: auto; filter: brightness(0) invert(1); }
.tv2-menu-x { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: rgba(255,255,255,0.14); color: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 140ms ease, transform 200ms ease; }
.tv2-menu-x:hover { background: rgba(255,255,255,0.24); transform: rotate(90deg); }
.tv2-menu-quien { padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f1f1ef; }
.tv2-menu-inicial { flex: none; width: 44px; height: 44px; border-radius: 999px; background: #ffea41; color: #252B60; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tv2-menu-quien > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13px; color: #6b6b6b; }
.tv2-menu-quien strong, .tv2-menu-quien a { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.tv2-menu-lista { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.tv2-menu-lista a, .tv2-menu-salir button { width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 14px 14px 14px 4px; background: none; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 14px; color: #252B60; text-decoration: none; transition: background 140ms ease; }
.tv2-menu-lista a:hover, .tv2-menu-salir button:hover { background: #f1f2f8; color: #252B60; }
.tv2-menu-salir { margin: 0; }
.tv2-menu-lista svg { flex: none; display: block; }
.tv2-menu-lista span { font-size: 16px; font-weight: 600; color: #1a1a1a; }
.tv2-menu-sep { display: block; height: 1px; margin: 6px 12px; background: rgba(37,43,96,0.12); }

/* ---------- Toast ---------- */
.tv2-toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 90; max-width: calc(100vw - 32px); margin: 0; padding: 12px 18px; transform: translateX(-50%); border-radius: 14px 14px 14px 4px; background: #141a3c; color: #ffffff; font-size: 15px; font-weight: 600; box-shadow: rgba(10,12,40,0.3) 0 10px 30px; animation: tv2Toast 200ms ease; }
.tv2-toast[hidden] { display: none; }

/* ---------- Inicio: carrusel ---------- */
.tv2-carrusel { max-width: 1440px; margin: 0 auto; padding: 0 clamp(0px,0.8vw,12px); }
.tv2-banner { position: relative; overflow: hidden; height: clamp(280px,30vw,440px); border-radius: 0 0 28px 10px; background: #eef1f8; }
.tv2-diapo { position: absolute; inset: 0; z-index: 1; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
.tv2-diapo.tv2-activa { z-index: 2; opacity: 1; visibility: visible; transition: opacity 700ms ease, visibility 0s linear 0s; }
.tv2-diapo-foto { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.tv2-diapo-video[hidden] { display: none; }
.tv2-velo { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 36%, rgba(255,255,255,0) 64%); }
.tv2-ban-txt { position: relative; z-index: 1; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(18px,6vw,96px) 0 max(clamp(18px,6vw,96px), 84px); display: flex; flex-direction: column; justify-content: center; gap: clamp(8px,1.2vw,16px); pointer-events: none; }
.tv2-ban-nombre { align-self: flex-start; display: inline-flex; align-items: center; height: clamp(26px,2.4vw,32px); padding: 0 clamp(10px,1vw,14px); margin-bottom: 4px; border: 1px solid rgba(20,26,60,0.08); border-radius: 10px 10px 10px 3px; background: rgba(255,255,255,0.86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: rgba(20,24,60,0.12) 0 6px 16px, rgba(20,24,60,0.06) 0 1px 3px; font-size: clamp(13px,1.2vw,16px); font-style: italic; font-weight: 600; letter-spacing: 0.2px; line-height: 1; color: var(--ac); white-space: nowrap; }
.tv2-ban-txt h2 { margin: 0; max-width: min(560px, 48%); font-size: clamp(30px,4.2vw,62px); font-weight: 900; line-height: 0.98; letter-spacing: -1.5px; color: #141a3c; }
.tv2-ban-txt h2 span { color: var(--ac); }
.tv2-ban-solo-botones { justify-content: flex-end; padding-bottom: 46px; }
.tv2-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tv2-ban-d { margin: 0; max-width: min(420px, 46%); font-size: clamp(14px,1.3vw,18px); line-height: 1.45; color: #2b2f45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tv2-ban-acc { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; pointer-events: auto; }
.tv2-ban-cta { height: 40px; padding: 0 18px; border: 0; border-radius: 12px 12px 12px 4px; background: var(--ac); color: #ffffff; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; box-shadow: rgba(20,24,60,0.18) 0 8px 20px; transition: filter 140ms ease, transform 140ms ease; }
.tv2-ban-cta:hover { color: #ffffff; filter: brightness(1.08); transform: translateY(-1px); }
.tv2-ban-cta:active { transform: scale(0.98); }
.tv2-ban-cta svg, .tv2-ban-esc svg, .tv2-ban-comp svg { display: block; flex: none; }
.tv2-ban-esc { height: 40px; margin: 0; padding: 0 14px; border: 1px solid #e2e4ee; border-radius: 12px 12px 12px 4px; background: #ffffff; color: var(--ac); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; box-shadow: rgba(20,24,60,0.18) 0 8px 20px; transition: filter 140ms ease, transform 140ms ease; }
.tv2-ban-esc:hover { color: var(--ac); filter: brightness(1.08); transform: translateY(-1px); }
.tv2-ban-esc:active { transform: scale(0.98); }
.tv2-ban-comp { flex: none; height: 40px; padding: 0 14px; border: 1px solid #e2e4ee; border-radius: 12px 12px 12px 4px; background: #ffffff; color: #1b1f3b; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; box-shadow: rgba(20,24,60,0.08) 0 4px 12px; transition: transform 140ms ease, background 140ms ease; }
.tv2-ban-comp:hover { color: #1b1f3b; background: #f7f8fc; transform: translateY(-1px); }
.tv2-ban-flecha { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.94); color: #141a3c; box-shadow: rgba(20,24,60,0.16) 0 4px 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tv2-ban-flecha svg { display: block; }
.tv2-ban-ant { left: clamp(10px,1.4vw,22px); }
.tv2-ban-sig { right: clamp(10px,1.4vw,22px); }
.tv2-puntos { position: absolute; z-index: 5; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 2px; }
.tv2-puntos button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tv2-puntos span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(20,26,60,0.28); transition: width 240ms ease, background 240ms ease; }
.tv2-puntos [aria-current="true"] span { width: 22px; background: var(--ac); }
html:not(.js) .tv2-ban-flecha, html:not(.js) .tv2-puntos { display: none; }

/* ---------- Inicio: secciones ---------- */
.tv2-sec { max-width: 1440px; margin: 0 auto; padding: clamp(48px,6vw,88px) clamp(16px,2vw,32px) 0; scroll-margin-top: 80px; }
.tv2-sec-dest { padding-top: clamp(20px,2.1vw,30px); }
.tv2-cats-sec { padding: clamp(6px,0.6vw,9px) clamp(16px,2vw,32px) 0; }
.tv2-cats { display: flex; gap: clamp(4px,1vw,14px); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 6px 2px 10px; }
.tv2-cats::-webkit-scrollbar { display: none; }
.tv2-cats > :first-child { margin-left: auto; }
.tv2-cats > :last-child { margin-right: auto; }
.tv2-cat { flex: 0 0 auto; width: clamp(80px,6.6vw,96px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.tv2-cat-ico { width: clamp(56px,4.5vw,64px); aspect-ratio: 1; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: transform 220ms cubic-bezier(.3,1.6,.5,1), box-shadow 220ms ease; }
.tv2-cat-ico svg { display: block; width: 56%; height: 56%; }
.tv2-cat:hover .tv2-cat-ico { transform: translateY(-4px) scale(1.06); box-shadow: rgba(20,24,60,0.10) 0 10px 22px; }
.tv2-cat:active .tv2-cat-ico { transform: scale(0.95); }
.tv2-cat-r { font-size: 13px; font-weight: 600; line-height: 1.25; color: #1b1f3b; text-align: center; }
.tv2-cat-todas .tv2-cat-ico { background: #f3f4f8; color: var(--ac); }
.tv2-cat-todas .tv2-cat-ico svg { width: 24px; height: 24px; }
.tv2-cat-todas .tv2-cat-r { font-weight: 700; color: var(--ac); }
.tv2-sec-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tv2-sec-cab-abajo { align-items: flex-end; }
.tv2-sec-cab-linea { padding-bottom: 16px; border-bottom: 1px solid #efeff4; }
.tv2-sec-titulos { display: flex; flex-direction: column; gap: 6px; }
.tv2-sec-fila { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.tv2-sec-ojo { flex-direction: row; align-items: center; gap: 14px; }
.tv2-sec-ojo > div { display: flex; flex-direction: column; gap: 2px; }
.tv2-ante { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ac); }
.tv2-sec-tit { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.6px; color: #141a3c; }
.tv2-pildora { font-size: 13px; font-weight: 700; color: var(--ac); background: var(--acs); border-radius: 999px; padding: 5px 12px; }
.tv2-ojo { flex: none; width: 46px; height: 46px; border-radius: 999px; background: var(--acs); color: var(--ac); display: flex; align-items: center; justify-content: center; }
.tv2-ojo svg { display: block; }
.tv2-sub { font-size: 14px; color: #6b6b6b; }
.tv2-vertodo { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: #ffffff; color: var(--ac); font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; box-shadow: rgba(20,24,60,0.06) 0 1px 2px, rgba(20,24,60,0.08) 0 4px 12px; transition: background 140ms ease, transform 140ms ease; }
.tv2-vertodo:hover { color: var(--ac); background: var(--acs); transform: translateY(-1px); }
.tv2-vertodo svg { display: block; }
.tv2-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 20px; }
.tv2-lim > :nth-child(n+11) { display: none; }
.tv2-vacio-inicio p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #6b6b6b; }
.tv2-abrir-solo { max-width: 1440px; margin: 12px auto 0; padding: 14px clamp(16px,2vw,32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tv2-abrir-solo p { margin: 0; font-weight: 600; }
.tv2-boton { height: 46px; padding: 0 20px; border: 0; border-radius: 12px 12px 12px 4px; background: var(--ac); color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.tv2-boton:hover { color: #ffffff; }

/* ---------- Inicio: rebajas ---------- */
@keyframes tv2Pct { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg) scale(1.05); } }
@keyframes tv2HoyPop { 0% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } 100% { transform: rotate(-4deg) scale(1); } }
@keyframes tv2PulsoClaro { 0% { box-shadow: 0 0 0 0 rgba(255,234,65,0.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255,234,65,0); } }
.tv2-reb-sec { margin-top: clamp(48px,6vw,88px); background: #fdecec; scroll-margin-top: 68px; }
.tv2-reb-in { max-width: 1440px; margin: 0 auto; padding: clamp(32px,4vw,56px) clamp(16px,2vw,32px); }
.tv2-reb { display: grid; grid-template-columns: minmax(240px,1.15fr) repeat(4, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.tv2-reb-panel { position: relative; overflow: hidden; isolation: isolate; background: #d81f26; background-image: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%); border-radius: 20px 20px 20px 6px; box-shadow: rgba(216,31,38,0.30) 0 14px 30px; padding: clamp(20px,2vw,28px); display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #ffffff; }
.tv2-reb-pct-fondo { position: absolute; z-index: -1; right: -18px; bottom: -34px; font-size: 150px; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.10); }
.tv2-reb-tit { margin: 0; padding-top: 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: #ffffff; }
.tv2-reb-l1 { display: flex; align-items: center; gap: 10px; }
.tv2-reb-l1 > span:first-child { font-size: clamp(24px,2.2vw,32px); font-weight: 900; letter-spacing: -0.5px; line-height: 1; text-transform: uppercase; }
.tv2-pct { flex: none; width: 40px; height: 40px; border-radius: 999px; background: #ffea41; color: #d81f26; font-size: 21px; font-weight: 900; display: flex; align-items: center; justify-content: center; transform: rotate(12deg); box-shadow: rgba(90,0,0,0.28) 0 6px 14px; animation: tv2Pct 3.6s ease-in-out infinite; }
.tv2-reb-l2 { display: flex; align-items: baseline; gap: 8px; }
.tv2-reb-l2 > span:first-child { font-size: clamp(18px,1.6vw,22px); font-weight: 800; font-style: italic; line-height: 1; color: #ffe9e9; }
.tv2-reb-hoy { display: inline-block; font-size: clamp(64px,6vw,92px); font-weight: 900; letter-spacing: -3px; line-height: 1; color: #ffea41; text-transform: uppercase; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 5px 0 #8f0f14, 0 12px 22px rgba(90,0,0,0.35); animation: tv2HoyPop 2.4s ease-in-out infinite; }
.tv2-reb-cuenta { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #ffffff; background: rgba(255,255,255,0.18); border-radius: 999px; padding: 6px 12px; }
.tv2-punto { flex: none; width: 8px; height: 8px; border-radius: 999px; background: #ffea41; animation: tv2PulsoClaro 1.8s ease-out infinite; }
.tv2-reb-panel p { margin: 0; max-width: 300px; font-size: 16px; line-height: 1.5; color: #ffe9e9; }
.tv2-reb-btn { align-self: flex-start; height: 40px; padding: 0 16px; border-radius: 999px; background: #ffffff; color: #d81f26; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; text-decoration: none; box-shadow: rgba(90,0,0,0.20) 0 6px 14px; transition: transform 140ms ease, box-shadow 140ms ease; }
.tv2-reb-btn:hover { color: #d81f26; transform: translateY(-1px); box-shadow: rgba(90,0,0,0.28) 0 10px 20px; }
.tv2-reb-btn svg { display: block; }

/* ---------- Inicio: la cinta verde (tienda de socio) ---------- */
@keyframes tv2Cinta { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tv2-cinta-caja { max-width: 1440px; margin: clamp(28px,4vw,48px) auto 0; padding: 0 clamp(16px,2vw,32px); }
.tv2-cinta { position: relative; overflow: hidden; height: 38px; border-radius: 12px 12px 12px 4px; background: #1d7a3d; color: #ffffff; font-size: 14px; font-weight: 500; letter-spacing: 0.1px; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.tv2-cinta-pista { display: flex; align-items: center; white-space: nowrap; animation: tv2Cinta 36s linear infinite; }
.tv2-cinta:hover .tv2-cinta-pista { animation-play-state: paused; }
.tv2-cinta-tramo { flex: none; display: flex; align-items: center; }
.tv2-cinta-item { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; }
.tv2-cinta-item svg { display: block; flex: none; }
.tv2-cinta-punto { flex: none; width: 5px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.45); }

/* ---------- Inicio: ¿Cómo comprar? ---------- */
.tv2-como { margin-top: clamp(40px,5vw,72px); position: relative; overflow: hidden; isolation: isolate; background: var(--ac); background-image: radial-gradient(ellipse 50% 70% at 0% 0%, rgba(255,255,255,0.14) 0%, transparent 70%), radial-gradient(ellipse 45% 70% at 100% 100%, rgba(0,0,0,0.18) 0%, transparent 70%), linear-gradient(135deg, var(--ac) 0%, color-mix(in oklab, var(--ac) 78%, #000) 100%); scroll-margin-top: 80px; }
.tv2-como-in { max-width: 1440px; margin: 0 auto; padding: clamp(36px,4vw,56px) clamp(16px,2vw,32px) clamp(32px,3.6vw,48px); }
.tv2-como-cab { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: clamp(20px,2.4vw,28px); }
.tv2-como .tv2-sec-tit { font-size: 30px; font-weight: 900; letter-spacing: -0.7px; color: #ffffff; }
.tv2-como-cab p { margin: 0; font-size: 16px; color: rgba(255,255,255,0.88); }
.tv2-pasos { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
.tv2-paso { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 8px; }
.tv2-paso-ico { position: relative; width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.tv2-paso-ico svg { display: block; }
.tv2-paso-pedido, .tv2-paso-pago { background: #e5f6ec; }
.tv2-paso-seguir, .tv2-paso-chat { background: #f1eafe; }
.tv2-paso-check { background: #e7efff; }
.tv2-paso-entrega { background: #fff3d6; }
.tv2-paso-n { position: absolute; top: -2px; right: -4px; width: 26px; height: 26px; border-radius: 999px; background: #ffea41; color: #141a3c; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--ac); }
.tv2-paso strong { font-size: 17px; font-weight: 800; color: #ffffff; }
.tv2-paso-d { max-width: 240px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.88); }
.tv2-paso-flecha { position: absolute; top: 20px; right: -22px; color: rgba(255,255,255,0.5); display: flex; }
.tv2-como-acc { display: flex; justify-content: center; margin-top: clamp(18px,2.2vw,26px); }
.tv2-amarillo { height: 50px; margin: 0; padding: 0 26px; border: 0; border-radius: 14px 14px 14px 4px; background: #ffea41; color: #1a1a1a; font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; transition: filter 140ms ease; }
.tv2-amarillo:hover { color: #1a1a1a; filter: brightness(0.97); }
.tv2-amarillo svg { display: block; }

/* ---------- Compartir ---------- */
.tv2-comp { position: fixed; inset: 0; z-index: 87; margin: auto; width: min(360px, calc(100vw - 32px)); max-width: none; height: fit-content; max-height: none; padding: 18px; border: 0; border-radius: 22px 22px 22px 8px; background: #ffffff; box-shadow: rgba(10,12,40,0.3) 0 20px 50px; flex-direction: column; gap: 10px; }
.tv2-comp[open] { display: flex; }
.tv2-comp::backdrop { background: rgba(14,8,34,0.4); }
.tv2-comp-tit { font-size: 18px; font-weight: 900; color: #141a3c; }
.tv2-comp-wa { height: 52px; border-radius: 14px 14px 14px 4px; background: #25d366; color: #ffffff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.tv2-comp-wa:hover { color: #ffffff; }
.tv2-comp-copiar { height: 52px; border: 0; border-radius: 14px 14px 14px 4px; background: #f4f5f9; color: #141a3c; font-size: 16px; font-weight: 700; cursor: pointer; }
.tv2-comp-no { height: 44px; border: 0; background: none; color: #5b5f78; font-size: 15px; font-weight: 600; cursor: pointer; }

/* ---------- Tarjeta de producto ---------- */
.tv2-card { position: relative; min-width: 0; height: 100%; padding: 10px; display: flex; flex-direction: column; gap: 10px; background: #ffffff; border: 1px solid #ececf2; border-radius: 16px 16px 16px 6px; box-shadow: rgba(20,24,60,0.04) 0 1px 2px, rgba(20,24,60,0.05) 0 6px 16px; transition: box-shadow 180ms ease, transform 180ms ease; }
.tv2-card:hover { transform: translateY(-3px); box-shadow: rgba(20,24,60,0.05) 0 2px 4px, rgba(20,24,60,0.12) 0 14px 30px; }
.tv2-card-foto { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px 12px 12px 4px; background: #f4f4f6; }
.tv2-card-foto img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 380ms ease, transform 600ms cubic-bezier(.2,.8,.2,1); }
.tv2-card-img2 { opacity: 0; transform: scale(1.06); }
.tv2-card-desc { position: absolute; top: 10px; left: 10px; padding: 6px 8px; border-radius: 8px 8px 8px 3px; background: #e0251b; color: #ffffff; font-size: 13px; font-weight: 800; line-height: 1; box-shadow: rgba(224,37,27,0.3) 0 4px 10px; }
.tv2-card-puntos { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 5px; padding: 4px 6px; border-radius: 999px; background: rgba(20,24,60,0.28); }
.tv2-card-puntos span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.55); transition: background 200ms ease; }
.tv2-card-puntos span:first-child { background: #ffffff; }
@media (hover: hover) {
  .tv2-card-2:hover .tv2-card-img1 { opacity: 0; transform: scale(1.06); }
  .tv2-card-2:hover .tv2-card-img2 { opacity: 1; transform: scale(1); }
  .tv2-card-2:hover .tv2-card-puntos span:first-child { background: rgba(255,255,255,0.55); }
  .tv2-card-2:hover .tv2-card-puntos span:last-child { background: #ffffff; }
}
.tv2-card > form[data-guardar], .tv2-card > a.tv2-fav { position: absolute; z-index: 1; top: 18px; right: 18px; margin: 0; }
.tv2-fav { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.95); color: #1b1f3b; box-shadow: rgba(20,24,60,0.12) 0 2px 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 140ms ease; }
.tv2-fav:hover { color: #1b1f3b; }
.tv2-fav:active { transform: scale(0.9); }
.tv2-fav[aria-pressed="true"] { color: #d81f17; }
.tv2-fav[aria-pressed="true"] svg { fill: currentColor; }
.tv2-card-datos { padding: 0 4px; display: flex; flex-direction: column; gap: 4px; }
.tv2-card-n { min-height: 39px; font-size: 15px; font-weight: 600; line-height: 1.3; color: #1a1a1a; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv2-card-n:hover { color: #1a1a1a; }
.tv2-card-disp { align-self: flex-start; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--acs); color: var(--ac); font-size: 12px; font-weight: 700; line-height: 1; }
.tv2-card-disp::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.tv2-card-precios { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.tv2-card-precios del { font-size: 14px; color: #8a8a94; }
.tv2-card-p { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; color: var(--acp); }
.tv2-card-p.tv2-rebajado { color: #d81f17; }
.tv2-card-cta { margin-top: auto; height: 42px; border: 1px solid var(--acb); border-radius: 10px; background: #ffffff; color: var(--ac); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: filter 140ms ease, transform 140ms ease; }
.tv2-card-cta:hover { color: var(--ac); filter: brightness(0.96); }
.tv2-card-cta:active { transform: scale(0.98); }
.tv2-card-comprar, .tv2-card-comprar:hover { border-color: var(--ac); background: var(--ac); color: #ffffff; }

/* ---------- Listados ---------- */
.tv2-lista { max-width: 1440px; min-height: 60vh; margin: 0 auto; padding: 24px clamp(16px,2vw,32px) clamp(56px,7vw,96px); }
.tv2-volver { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--ac); text-decoration: none; }
.tv2-volver:hover { color: var(--acp); }
.tv2-volver svg { display: block; }
.tv2-lista-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 8px 0 18px; }
.tv2-lista-tit { display: flex; flex-direction: column; gap: 4px; }
.tv2-lista-tit h1 { margin: 0; font-size: clamp(26px,2.6vw,36px); font-weight: 900; letter-spacing: -0.8px; color: #141a3c; }
.tv2-lista-tit span { font-size: 15px; color: #6b6b6b; }
.tv2-orden { display: flex; flex-wrap: wrap; gap: 6px; }
.tv2-orden a { height: 40px; padding: 0 14px; border-radius: 999px; background: #f3f4f8; color: #2b2f45; font-size: 14px; font-weight: 600; display: flex; align-items: center; text-decoration: none; transition: background 140ms ease; }
.tv2-orden a:hover { color: #2b2f45; }
.tv2-orden a[aria-current="true"] { background: var(--acd); color: #ffffff; }
.tv2-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 18px; }
.tv2-chips::-webkit-scrollbar { display: none; }
.tv2-chips a { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; background: #f3f4f8; color: #2b2f45; font-size: 14px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; text-decoration: none; transition: background 140ms ease; }
.tv2-chips a:hover { color: #2b2f45; }
.tv2-chips a[aria-current="true"] { background: var(--ac); color: #ffffff; }
.tv2-vacio { max-width: 420px; margin: 24px auto 0; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tv2-vacio-ico { width: 56px; height: 56px; border-radius: 18px 18px 18px 6px; background: var(--acs); color: var(--ac); display: flex; align-items: center; justify-content: center; }
.tv2-vacio-ico svg { display: block; }
.tv2-vacio-tit { font-size: 18px; font-weight: 800; color: #141a3c; }
.tv2-vacio-txt { font-size: 15px; line-height: 1.5; color: #6b6b6b; }
.tv2-vacio .tv2-boton { margin-top: 6px; }
.tv2-mas { display: flex; justify-content: center; margin-top: 28px; }
.tv2-paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; font-size: 15px; color: #6b6b6b; }
.tv2-paginas a { color: var(--ac); font-weight: 700; }

/* ---------- La ficha dentro de la tienda (JC, 4 oct 2026) ---------- */
.tv .fi { padding-top: 8px; }
.tv .fi-boton-azul { background: var(--acd); }
.tv .fi-boton-azul:hover { background: var(--ac); }
.fi-rep-tienda { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid #ececea; font-size: 14px; }
.fi-rep-titulo { font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #6b6b6b; }
.fi-rep-tienda a { align-self: flex-start; color: var(--ac); font-weight: 700; }


/* ---------- Adaptación ---------- */
@media (max-width: 1180px) {
  .tv2-nav { display: none !important; }
}
@media (max-width: 1100px) {
  .tv2-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .tv2-lim > :nth-child(n+9) { display: none; }
  .tv2-reb { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .tv2-reb-panel { grid-column: 1 / -1; }
  .tv2-pie-in { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tv2-pie-marca, .tv2-pie-merka { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tv2-grid, .tv2-reb { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .tv2-lim > :nth-child(n+5) { display: none; }
  .tv2-sec-tit { font-size: 22px !important; }
  .tv2-card-n { font-size: 14px; min-height: 36px; }
  .tv2-card-p { font-size: 18px; }
  .tv2-banner { height: 250px; border-radius: 0 0 20px 6px; }
  .tv2-velo { background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 58%, rgba(255,255,255,0.3) 82%, rgba(255,255,255,0) 100%); }
  .tv2-ban-d { max-width: 52%; font-size: 13px; -webkit-line-clamp: 2; }
  .tv2-ban-txt h2 { max-width: 58%; }
  /* Portada con texto propio: los botones, en una franja debajo de la imagen. */
  .tv2-diapo-solo .tv2-diapo-foto { height: calc(100% - 52px); }
  .tv2-ban-solo-botones { padding-bottom: 11px; }
  .tv2-banner:has(.tv2-diapo-solo.tv2-activa) .tv2-puntos { left: auto; right: 12px; transform: none; }
  .tv2-ban-flecha { display: none; }
  .tv2-ban-txt { padding-left: 18px; padding-right: 18px; }
  .tv2-ban-acc { gap: 8px; flex-wrap: nowrap; }
  .tv2-ban-cta, .tv2-ban-comp { position: relative; }
  .tv2-ban-cta::after, .tv2-ban-comp::after { content: ""; position: absolute; left: -4px; right: -4px; top: -7px; bottom: -7px; }
  .tv2-ban-cta { height: 30px; padding: 0 11px; font-size: 13px; gap: 5px; border-radius: 9px 9px 9px 3px; box-shadow: rgba(20,24,60,0.14) 0 4px 10px; }
  .tv2-ban-cta svg { width: 13px; height: 13px; }
  .tv2-ban-esc { display: none; }
  .tv2-ban-comp { width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 999px; box-shadow: rgba(20,24,60,0.08) 0 3px 8px; }
  .tv2-ban-comp svg { width: 14px; height: 14px; }
  .tv2-comp-txt { display: none; }
  .tv2-cats > :first-child { margin-left: 0; }
  .tv2-pasos { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 14px; }
  .tv2-paso-flecha { display: none; }
  .tv2-con-bnav { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tv2-no-movil { display: none !important; }
  .tv2-solo-movil { display: flex !important; }
  .tv2-marca { flex: 1; justify-content: center; }
  .tv2-bnav { display: flex; }
  .tv2-ped-txt { display: none; }
  .tv2-ped { padding: 0; width: 44px; }
  .tv2-pie-in { grid-template-columns: minmax(0,1fr); gap: 0; }
  .tv2-acord { border-top: 1px solid rgba(255,255,255,0.12); }
  .tv2-acord-btn { cursor: pointer; min-height: 48px; }
  .tv2-acord-btn svg { display: block; }
  .js .tv2-acord-cuerpo[data-abierto="false"] { display: none; }
  .tv2-acord-cuerpo { padding-bottom: 14px; }
  .tv .fi-barra { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 620px) {
  .tv2-cinta-pista { animation-duration: 28s; }
  .tv2-comp { inset: auto 0 0 0; margin: 0; width: 100%; border-radius: 24px 24px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

/* ---------- Movimiento reducido ---------- */
@media (max-width: 400px) {
  .tv2-ban-txt h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .tv2-cinta { justify-content: center; }
  .tv *, .tv *::before, .tv *::after, .tv2-menu, .tv2-menu::backdrop { animation: none !important; transition: none !important; }
}
.tv2-card-opciones { font-size: 13px; color: #5b5f78; }
