/* ================================================================
   portada-v2.css — rediseño de la portada (29/10/2026)

   Va DESPUÉS de main.css y solo pisa estilos: no hay JavaScript nuevo
   que dependa de él. Si algo sale mal, quitar el <link> de los dos
   index devuelve la portada de antes sin tocar nada más.

   El color principal es el azul de siempre; el dorado y el crema solo
   dan calor. Lo "de plantilla" (degradados, sombras suaves, emojis en
   fila) se dejó fuera a propósito: era lo que hacía ver la tienda
   "hecha con IA".
   ================================================================ */

:root {
  --v2-pri:  #226bc4;
  --v2-pri2: #1a56a0;
  --v2-pri3: #0d2f5c;
  --v2-oro:  #f9cd55;
  --v2-crema:#fbf8f1;
  --v2-borde:#e6eaf0;
  --v2-tinta:#0a1628;
}

body { background: var(--v2-crema); font-family: 'Outfit', system-ui, sans-serif; }

/* ── Barra superior: accesos, no una marquesina ─────────────────── */
.topbar.v2 { background: var(--v2-pri3); padding: 9px 12px; white-space: normal; }
.topbar.v2::before, .topbar.v2::after { display: none; }
.topbar.v2 .topbar-inner {
  animation: none; padding: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.topbar.v2 a {
  color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 6px 15px; border-radius: 12px 12px 12px 3px; transition: background .2s;
}
.topbar.v2 a:hover { background: rgba(255,255,255,.12); }
.topbar.v2 a.destaca { background: var(--v2-oro); color: var(--v2-tinta); position: relative; }
/* Halo con transform/opacity: un box-shadow animado repinta en cada cuadro. */
.topbar.v2 a.destaca::after {
  content: ''; position: absolute; inset: -4px; border-radius: 14px 14px 14px 4px;
  border: 2px solid var(--v2-oro); animation: v2halo 2.4s ease-out infinite; pointer-events: none;
}
@keyframes v2halo { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }

/* ── Cabecera ───────────────────────────────────────────────────── */
.header { border-bottom: 4px solid var(--v2-pri); box-shadow: none; }
.logo-wrap img { height: 44px; max-width: 170px; }
.search-bar { border: 2px solid #dbe5f3; border-radius: 16px; background: #f4f7fc; }
.search-bar input { background: transparent; font-family: inherit; font-size: 15px; }
.search-bar:focus-within { border-color: var(--v2-pri); background: #fff; box-shadow: 0 0 0 4px rgba(34,107,196,.15); }
.search-bar button { background: var(--v2-pri); border-radius: 12px; margin: 4px; padding: 0 20px; }
.cart-btn { background: var(--v2-pri); border-radius: 14px 14px 14px 4px; box-shadow: none; }
.social-head a { color: var(--v2-pri3); }

/* ── Banner + tarjeta de crédito ────────────────────────────────── */
.hero-fila { max-width: var(--max); margin: 18px auto 0; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 27vw, 420px); gap: 20px; align-items: stretch; }
.hero-fila .hero { margin: 0; max-width: none; border-radius: 26px; overflow: hidden; }
.hero-fila .hero-slide::before { display: none; }
.hero-fila .hero-slide img { border-radius: 26px; object-fit: cover; }
.credito-lado {
  position: relative; overflow: hidden; background: var(--v2-pri); color: #fff;
  border-radius: 0 26px 26px 0; padding: 26px 26px; display: flex; flex-direction: column; justify-content: center;
}
.credito-lado h2 { margin: 0; font-size: clamp(22px, 1.9vw, 30px); position: relative; z-index: 1; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
.credito-lado h2 em { font-style: normal; color: var(--v2-oro); }
.credito-lado p { margin: 10px 0 16px; font-size: 14px; max-width: 60%; position: relative; z-index: 1; }
.credito-lado .botones { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; max-width: 62%; }
.credito-lado a, .credito-lado button {
  border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; text-decoration: none;
  border-radius: 14px 14px 14px 3px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 7px;
}
.credito-lado .b-oro { background: var(--v2-oro); color: var(--v2-tinta); }
.credito-lado .b-wa  { background: #25D366; color: #fff; }
.credito-lado img {
  position: absolute; right: -10px; bottom: 0; height: 72%; width: auto;
  animation: v2salta 3s ease-in-out infinite; pointer-events: none;
}
@keyframes v2salta { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.promo-bar { display: none; }
.credito-tira { display: none; }

/* ── Títulos de sección ─────────────────────────────────────────── */
.sec-title { font-size: 28px; font-weight: 800; color: var(--v2-pri); letter-spacing: -.01em; padding-bottom: 0; }
.sec-title::after { display: none; }

/* ── Tarjetas de producto ───────────────────────────────────────── */
.prod-card {
  border: 2px solid var(--v2-borde); border-radius: 22px; box-shadow: none; overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.prod-card:hover { transform: translateY(-6px); border-color: var(--v2-pri); box-shadow: 0 14px 28px -14px rgba(13,47,92,.35); }
.prod-img { border-radius: 16px; margin: 12px 12px 0; overflow: hidden; }
.prod-img img { transition: transform .4s ease; }
.prod-card:hover .prod-img img { transform: scale(1.07); }
/* Sello con corte en la punta, que sobresale de la tarjeta. */
.prod-badge, .prod-badge.oferta {
  top: 14px; left: -20px; border-radius: 0; padding: 5px 13px 5px 15px;
  font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%); transform: rotate(-3deg);
  box-shadow: none; transition: transform .25s;
}
.prod-badge.oferta::first-letter { text-transform: uppercase; }
.prod-badge.segunda { top: 42px; }
.prod-card:hover .prod-badge { transform: rotate(-6deg) translateX(-3px); }
.prod-cat { color: var(--v2-pri); font-weight: 800; letter-spacing: .06em; }
.prod-name { font-weight: 600; }
.prod-price { color: var(--v2-tinta); font-weight: 800; }
.prod-price.consultar { color: var(--v2-pri); }
.prod-btn {
  background: var(--v2-pri) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 800 !important; position: relative; overflow: hidden;
}
.prod-btn:hover { background: var(--v2-pri2) !important; }
.prod-btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
}
.prod-card:hover .prod-btn::after { animation: v2brillo .8s ease; }
@keyframes v2brillo { to { left: 130%; } }
.prod-cart-btn { border-radius: 50% !important; }
.carousel-arrow { background: var(--v2-pri3) !important; color: var(--v2-oro) !important; border-radius: 14px !important; transition: transform .2s; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.1); }

/* ── Temporada: escenario dentro de una tarjeta, sin cinta ─────── */
.temporada {
  margin: 26px 0 30px !important; padding: 24px 26px !important; border-radius: 28px; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--temp-color2) 70%, #fff 18%) 0%, var(--temp-color2) 45%, color-mix(in srgb, var(--temp-color2) 70%, #000) 100%);
}
.temporada::before, .temporada::after { display: none !important; }
.temporada-cinta { display: none !important; }
.temporada-head, .temporada .carousel { position: relative; z-index: 2; }
.temporada .prod-card { box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); }
.temporada-wm { display: none; }
.escena { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.escena .neb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; }
.escena .n1 { width: 420px; height: 260px; left: -80px; bottom: -120px; background: var(--temp-color); }
.escena .n2 { width: 360px; height: 220px; right: 18%; bottom: -140px; background: var(--temp-accent); opacity: .3; }
.escena .estrellas {
  position: absolute; inset: 0; opacity: .55; animation: v2titila 4s ease-in-out infinite;
  background-image: radial-gradient(1.4px 1.4px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 47% 30%, #fff, transparent), radial-gradient(1px 1px at 62% 14%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 74% 40%, #fff, transparent), radial-gradient(1px 1px at 38% 48%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 20% 60%, #fff, transparent), radial-gradient(1px 1px at 90% 58%, #fff, transparent);
}
@keyframes v2titila { 50% { opacity: .25; } }
.escena .cerros { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 80px; }
/* Luna, telaraña y murciélagos: solo en Halloween. */
.escena .luna, .escena .tela, .escena .murc { display: none; }
.temporada[data-tema="halloween"] .escena .luna,
.temporada[data-tema="halloween"] .escena .tela,
.temporada[data-tema="halloween"] .escena .murc { display: block; }
.escena .luna {
  position: absolute; right: 40px; top: 16px; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #fff7da 0%, #ffe08a 45%, #f2b84b 100%);
  box-shadow: 0 0 60px 18px rgba(255,214,120,.35), 0 0 140px 40px rgba(255,170,60,.18);
}
.escena .tela { position: absolute; left: 0; top: 0; width: 200px; height: 200px; }
.escena .murc { position: absolute; width: 46px; animation: v2vuela 9s ease-in-out infinite; }
.escena .m1 { right: 150px; top: 30px; } .escena .m2 { right: 70px; top: 110px; width: 32px; animation-delay: -3s; } .escena .m3 { right: 230px; top: 80px; width: 26px; animation-delay: -6s; }
@keyframes v2vuela { 0%, 100% { transform: translate(0,0) scaleY(1); } 25% { transform: translate(-18px,-10px) scaleY(.7); } 50% { transform: translate(-30px,4px) scaleY(1); } 75% { transform: translate(-12px,10px) scaleY(.75); } }

/* ── Categorías: los 6 grupos como tarjetas ─────────────────────── */
.cats-grid.agrupado { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-grupo { display: block !important; background: #fff; border: 2px solid var(--v2-borde); border-radius: 26px; padding: 16px; transition: border-color .2s; }
.cat-grupo:hover { border-color: var(--v2-pri); }
.cat-grupo-titulo {
  background: none !important; color: var(--v2-pri) !important; min-height: 0 !important; padding: 0 0 10px !important;
  font-size: 13px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 0 !important;
  flex-direction: row !important; justify-content: flex-start !important; gap: 8px !important; box-shadow: none !important;
}
.cat-grupo-titulo i { font-size: 15px !important; color: var(--v2-pri) !important; }
.cat-grupo-cards { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
.cats-grid.agrupado .cat-card { border-radius: 16px; border: 0; box-shadow: none; background: #f4f7fc; transition: transform .2s; }
.cats-grid.agrupado .cat-card:hover { transform: translateY(-3px); }
.cats-grid.agrupado .cat-img-wrap { height: 86px; border-radius: 14px; overflow: hidden; }
.cats-grid.agrupado .cat-label { font-weight: 700; font-size: 13px; }

/* ── Bloques de abajo ───────────────────────────────────────────── */
.credit-banner { display: none; }
.review-card { border: 2px solid var(--v2-borde); border-radius: 22px; box-shadow: none; }
.review-avatar { background: var(--v2-pri); }
.mapa-sec { background: #fff; border: 2px solid var(--v2-borde); border-radius: 26px; padding: 22px 24px !important; }
.mapa-sec h2 { color: var(--v2-pri); font-size: 28px !important; font-weight: 800; }
.mapa-sec a[href*="maps/dir"] { background: var(--v2-pri) !important; border-radius: 999px !important; font-weight: 800 !important; }
.footer { background: var(--v2-pri3); }
.footer-wa, .footer-call { border-radius: 999px; }

/* ── Aparecer al hacer scroll (lo enciende store.js) ────────────── */
.v2-aparece { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.v2-aparece.ya { opacity: 1; transform: none; }

/* ── Celular: limpio, como las tiendas grandes ──────────────────── */
@media (max-width: 768px) {
  .topbar.v2 { padding: 6px 10px; }
  .topbar.v2 .topbar-inner { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .topbar.v2 .topbar-inner::-webkit-scrollbar { display: none; }
  .topbar.v2 a { font-size: 13px; padding: 6px 11px; white-space: nowrap; }
  .logo-wrap img { height: 34px; }
  .hero-fila { display: block; padding: 0; margin: 0; }
  .hero-fila .hero, .hero-fila .hero-slide img { border-radius: 0; }
  .credito-lado { display: none; }
  .credito-tira {
    display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    background: #eef3fb; color: var(--v2-pri3); font-size: 13px; padding: 8px 12px;
  }
  .credito-tira a {
    font-weight: 700; font-size: 12px; text-decoration: none;
    background: #25D366; color: #fff; padding: 5px 11px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center;
  }
  .sec-title { font-size: 20px; }
  .prod-card { border-radius: 16px; }
  .prod-img { margin: 8px 8px 0; border-radius: 12px; }
  .prod-badge, .prod-badge.oferta { font-size: 9px; left: -6px; top: 10px; padding: 4px 8px 4px 10px; }
  .prod-badge.segunda { top: 32px; }
  .temporada { margin: 18px 0 22px !important; padding: 16px 0 14px !important; border-radius: 20px; }
  .temporada-head { padding: 0 14px; }
  .escena .luna { width: 52px; height: 52px; right: 12px; top: 10px; }
  .escena .tela { width: 110px; height: 110px; }
  .escena .m3, .escena .n2 { display: none !important; }
  .escena .m1 { right: 76px; top: 14px; width: 28px; } .escena .m2 { right: 52px; top: 60px; width: 20px; }
  .escena .cerros { height: 46px; }
  /* Categorías: una franja de círculos que se desliza, no 6 bloques apilados. */
  .cats-grid.agrupado { display: grid !important; grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-auto-columns: 76px; gap: 14px 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cats-grid.agrupado::-webkit-scrollbar { display: none; }
  .cat-grupo, .cat-grupo-cards { display: contents !important; }
  .cat-grupo-titulo { display: none !important; }
  .cats-grid.agrupado .cat-card { background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .cats-grid.agrupado .cat-img-wrap { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 1px solid var(--v2-borde); }
  .cats-grid.agrupado .cat-label { font-size: 11px; text-align: center; line-height: 1.2; text-transform: none; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; padding: 0; }
  .cats-grid.agrupado .cat-img-wrap { padding: 0 !important; flex: none; }
  .cats-grid.agrupado .cat-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover !important; opacity: 1 !important; transform: none !important; position: static !important; }
  .search-bar button { padding: 0 14px; min-width: 42px; flex-shrink: 0; border-radius: 10px; margin: 3px; }
  .search-bar input { min-width: 0; padding: 9px 12px; }
  .mapa-sec { margin: 0 12px 24px !important; padding: 14px !important; border-radius: 18px; }
  .mapa-sec h2 { font-size: 22px !important; }
}
@media (hover: none) {
  .prod-card:hover { transform: none; box-shadow: none; }
  .prod-card:hover .prod-img img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar.v2 a.destaca::after, .credito-lado img, .escena .murc, .escena .estrellas { animation: none !important; }
  .v2-aparece { opacity: 1; transform: none; transition: none; }
}

/* ================================================================
   Segunda pasada (29/10/2026): la portada igual al boceto
   ================================================================ */

/* Lo que el boceto no tiene: las tres tarjetas "Desde $X" y el carrusel
   único de ofertas. Siguen en el HTML y en store.js; solo no se muestran. */
#anunciosSection, #ofertasSection { display: none !important; }
.sec-header { align-items: flex-end; }
.sec-sub { margin: 4px 0 0; font-size: 16px; color: #5b6170; }

/* ── Tarjeta de producto ─────────────────────────────────────────── */
.prod-badge.credito { background: var(--v2-pri); }
.prod-badge.oferta { background: #e53e3e; }
.prod-badge.nuevo  { background: #25D366; color: var(--v2-tinta); }
.prod-badge.hot    { background: var(--v2-oro); color: var(--v2-tinta); }
.prod-name { cursor: pointer; }
.prod-datos { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.prod-datos span { background: #f1f5fb; color: #33415c; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; }
.prod-price { font-size: 24px; }
.prod-price.consultar { font-size: 19px; font-weight: 800; }
.prod-credito { font-size: 13px; color: #5b6170; margin: 2px 0 12px; }
.prod-actions { margin-top: auto; }
.prod-btn { width: 100%; padding: 11px !important; font-size: 16px !important; display: flex; align-items: center; justify-content: center; gap: 8px; }
.prod-cart-btn { display: none !important; }
.prod-codigo { display: none; }

/* ── Vitrinas ───────────────────────────────────────────────────── */
.v2-vitrina { margin-top: 40px; }
.v2-vitrina[hidden] { display: none; }
.v2-fila { position: relative; }
.pista {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 2px 14px;
}
.pista::-webkit-scrollbar { display: none; }
.pista > .prod-card { scroll-snap-align: start; }
/* Televisores: el primero grande a la izquierda y cuatro chicos en dos filas. */
.pista.mix {
  grid-auto-flow: dense; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-columns: auto; grid-template-rows: auto auto;
  overflow: visible; scroll-snap-type: none;
}
.pista.mix > .prod-card:nth-child(n+6) { display: none; }
.pista.mix > .prod-card.grande { grid-row: span 2; }
.prod-card.grande .prod-img { height: 360px; }
.prod-card.grande .prod-name { font-size: 22px; font-weight: 800; }
.prod-card.grande .prod-price { font-size: 28px; }
.v2-fila .ar {
  position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 14px;
  background: var(--v2-pri3); color: var(--v2-oro); font-size: 18px; cursor: pointer; transition: transform .2s;
}
.v2-fila .ar:hover { transform: scale(1.1); }
.v2-fila .ar.l { left: -18px; } .v2-fila .ar.r { right: -18px; }
#secTele .ar { display: none; }
.puntos { display: none; }
.v2-banner { margin-top: 44px; border-radius: 28px; overflow: hidden; cursor: pointer; line-height: 0; }
.v2-banner[hidden] { display: none; }
.v2-banner img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.v2-banner:hover img { transform: scale(1.015); }

/* ── Categorías: foto grande + lista ────────────────────────────── */
.cats-grid.agrupado.v2 { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v2 .cat-grupo { display: grid !important; grid-template-columns: 1.1fr 1fr; gap: 12px; padding: 14px; }
.v2 .cat-lead { position: relative; border-radius: 18px; overflow: hidden; min-height: 190px; background: #ecf2f9; cursor: pointer; }
.v2 .cat-lead .cat-img-wrap { position: absolute; inset: 0; height: auto !important; border-radius: 0; }
.v2 .cat-lead img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.v2 .cat-lead:hover img { transform: scale(1.06); }
.v2 .cat-lead-txt { position: absolute; left: 10px; bottom: 10px; background: #fff; border-radius: 12px 12px 12px 3px; padding: 6px 12px; }
.v2 .cat-lead-txt small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--v2-pri); }
.v2 .cat-lead-txt b { font-size: 17px; color: var(--v2-tinta); }
.v2 .cat-chips { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.v2 .cat-chip { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--v2-tinta); padding: 5px 8px; border-radius: 14px; cursor: pointer; transition: background .2s, transform .2s; }
.v2 .cat-chip:hover { background: #f4f7fc; transform: translateX(4px); }
.v2 .cat-chip .cat-img-wrap { width: 44px; height: 44px !important; border-radius: 12px; overflow: hidden; flex: none; background: #ecf2f9; }
.v2 .cat-chip img, .v2 .cat-circulo img { width: 100%; height: 100%; object-fit: cover; }
.v2 .cats-movil { display: none; }

/* ── Temporada: título normal, no un cartel en mayúsculas ───────── */
.temporada-title { text-transform: none !important; letter-spacing: -.01em !important; font-size: clamp(30px, 3.2vw, 46px) !important; line-height: 1 !important; }
.temporada-title em { display: block; }
.temporada-kicker { border-radius: 12px 12px 12px 3px !important; }

/* ── Cabecera de celular: iconos en una línea ───────────────────── */
.v2-ic { display: none; }

@media (max-width: 768px) {
  .header-inner { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; }
  .social-head { display: none !important; }
  .v2-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #eef3fb; color: var(--v2-pri); font-size: 17px; cursor: pointer; text-decoration: none; }
  .v2-wa { background: #25D366; color: #fff; }
  .cart-btn { padding: 0; width: 40px; height: 40px; border-radius: 50%; justify-content: center; }
  .cart-btn > span:not(.cart-count) { display: none; }
  .header-actions { margin-left: auto; gap: 6px; }
  .header .search-bar { display: none; }
  body.busca .header-inner { flex-wrap: wrap; }
  body.busca .header .search-bar { display: flex; order: 5; flex-basis: 100%; max-width: none; }

  .sec-sub { display: none; }
  .sec-title { font-size: 20px !important; }
  .v2-vitrina { margin-top: 28px; }
  .v2-fila .ar { display: none; }
  .pista, .pista.mix {
    grid-auto-flow: column; grid-template-columns: none; grid-template-rows: none; grid-auto-columns: calc(50% - 5px);
    gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 6px;
  }
  .pista.mix > .prod-card.grande { grid-row: auto; }
  .pista.mix > .prod-card:nth-child(n+6) { display: flex; }
  .prod-card.grande .prod-img { height: 140px; }
  .prod-card.grande .prod-name { font-size: 13px; font-weight: 500; }
  .prod-card.grande .prod-price { font-size: 18px; }
  .puntos { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
  .puntos i { width: 7px; height: 7px; border-radius: 50%; background: #d3dbe8; transition: width .2s; }
  .puntos i.on { background: var(--v2-pri); width: 18px; border-radius: 4px; }
  .prod-img { height: 130px !important; }
  .prod-body { padding: 8px 10px 10px !important; }
  .prod-cat { font-size: 9px; }
  .prod-name { font-size: 13px; font-weight: 500; }
  .prod-datos { display: none; }
  .prod-price { font-size: 18px; }
  .prod-price.consultar { font-size: 15px; }
  .prod-credito { font-size: 11px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prod-btn { font-size: 13px !important; padding: 8px !important; }
  .v2-banner { margin-top: 24px; border-radius: 16px; }

  .cats-grid.agrupado.v2 { display: block !important; overflow: visible; }
  .v2 .cat-grupo { display: none !important; }
  .v2 .cats-movil { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 76px; gap: 14px 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .v2 .cats-movil::-webkit-scrollbar { display: none; }
  .v2 .cat-circulo { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; text-align: center; line-height: 1.2; color: var(--v2-tinta); cursor: pointer; }
  .v2 .cat-circulo .cat-img-wrap { width: 68px; height: 68px !important; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--v2-borde); }

  .temporada-title { font-size: 26px !important; }
  .temporada-title em { display: inline; }
  .temporada-sub { display: none; }
}

/* Ajustes tras probar con datos reales */
.prod-badge, .prod-badge.oferta { left: 8px; }
.prod-badge.oferta::first-letter { text-transform: uppercase; }
.prod-card.grande .prod-img { flex: 1 1 auto; height: auto; min-height: 380px; }
.prod-card.grande .prod-body { flex: 0 0 auto; }
@media (max-width: 768px) { .prod-badge, .prod-badge.oferta { left: 6px; } .prod-card.grande .prod-img { min-height: 0; height: 130px !important; flex: none; } }
/* ================================================================
   Tercera pasada (29/10/2026): estructura del boceto en cabecera,
   temporada, reseñas, Visítanos y pie. Los logos no se tocan.
   ================================================================ */

/* ── Cabecera: logo · Categorías · buscador · WhatsApp · carrito ── */
.header-inner { gap: 18px; padding: 12px 36px; }
.v2-cats {
  border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 16px; color: #fff;
  background: var(--v2-pri); border-radius: 14px 14px 14px 3px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.v2-cats:hover { background: var(--v2-pri2); }
.header .search-bar { margin-left: auto; max-width: 560px; }
.search-bar button { border-radius: 12px; padding: 0 18px; font-weight: 800; }
.v2-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; color: var(--v2-tinta); text-decoration: none; white-space: nowrap; }
.v2-tel i { color: #25D366; font-size: 19px; }
.header-actions { margin-left: 0; }
.social-head { display: none !important; }

/* ── Temporada: texto a la izquierda, productos a la derecha ────── */
.temporada {
  display: grid !important; grid-template-columns: 330px minmax(0, 1fr); gap: 20px; align-items: center;
}
.temporada > .escena, .temporada > .temporada-iconos { grid-column: 1 / -1; grid-row: 1; }
.temporada-head { grid-column: 1; grid-row: 1; display: block !important; }
.temporada .carousel { grid-column: 2; grid-row: 1; min-width: 0; }
.temporada-lado { display: flex !important; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.temporada-sello { position: relative !important; inset: auto !important; transform: rotate(-10deg); flex-shrink: 0; }
.temporada-iconos { pointer-events: none; }

/* ── Reseñas: tarjetas blancas sobre la página, sin caja de color ── */
.reviews-section { background: none !important; padding: 0 !important; margin-top: 44px; box-shadow: none !important; }
.reviews-section .sec-title { margin-bottom: 4px; }
.reviews-grid { gap: 20px; }
.review-card { background: #fff !important; padding: 22px !important; }
.review-text { font-size: 16px; line-height: 1.5; }

/* ── Visítanos: datos a la izquierda, mapa a la derecha ─────────── */
.mapa-sec.v2 {
  max-width: var(--max); margin: 44px auto 0; padding: 20px !important;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; align-items: stretch;
}
.mapa-sec.v2 .mapa-info { padding: 10px 10px 10px 14px; display: flex; flex-direction: column; justify-content: center; }
.mapa-sec.v2 h2 { margin: 0 0 14px; }
.mapa-li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 16px; color: var(--v2-tinta); }
.mapa-li i { color: var(--v2-pri); width: 18px; margin-top: 3px; text-align: center; }
.mapa-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.mapa-ir, .mapa-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; padding: 12px 20px; border-radius: 999px; color: #fff; }
.mapa-ir { background: var(--v2-pri); } .mapa-wa { background: #25D366; }
.mapa-caja { border-radius: 18px; overflow: hidden; line-height: 0; min-height: 340px; background: #eef3fb; }
.mapa-caja iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ── Pie: redes debajo de la frase ──────────────────────────────── */
.footer { margin-top: 50px; }
.footer-redes { display: flex; gap: 16px; margin-top: 12px; }
.footer-redes a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-redes a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .v2-tel { display: none; }
  .temporada { grid-template-columns: 1fr; }
  .temporada-head, .temporada .carousel { grid-column: 1; grid-row: auto; }
}
@media (max-width: 768px) {
  .header-inner { padding: 8px 12px; gap: 8px; }
  .v2-cats { display: none; }
  .reviews-grid { display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 82%; overflow-x: auto; scrollbar-width: none; gap: 10px; }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card { padding: 16px !important; }
  .review-text { font-size: 14px; }
  .reviews-section { margin-top: 28px; }
  .mapa-sec.v2 { grid-template-columns: 1fr; margin: 28px 12px 0 !important; padding: 12px !important; }
  .mapa-sec.v2 .mapa-info { padding: 6px; }
  .mapa-li { font-size: 14px; }
  .mapa-ir, .mapa-wa { padding: 10px 16px; font-size: 14px; }
  .mapa-caja, .mapa-caja iframe { min-height: 220px; }
  .temporada-lado { margin-top: 10px; }
  .footer { margin-top: 30px; }
}

.mapa-sec.v2 { margin: 44px max(24px, calc((100% - var(--max)) / 2)) 0 !important; max-width: none; }
@media (max-width: 768px) { .mapa-sec.v2 { margin: 28px 12px 0 !important; } }
@media (max-width: 768px) { .header-actions { margin-left: auto !important; } }

/* Banner + tarjeta de crédito: una sola pieza. El banner entra completo
   (contain, sin recortar los bordes del arte) y se pega a la tarjeta. */
.hero-fila { gap: 0 !important; }
.hero-fila .hero { border-radius: 26px 0 0 26px !important; background: #eef1f4; }
.hero-fila .hero-slide img { object-fit: contain !important; border-radius: 0 !important; }
@media (max-width: 768px) { .hero-fila .hero { border-radius: 0 !important; } }
/* Sin botones de WhatsApp en el pie ni en la esquina (pedido del dueño,
   29/10/2026). La mascota se queda; el contacto sigue en la cabecera, la
   tarjeta de crédito, Visítanos y Llamar. */
.footer-wa, .float-wa { display: none !important; }

/* La mascota de la tarjeta de crédito va DENTRO de la tarjeta, no pegada al
   borde ni saliéndose por la esquina redondeada. */
.credito-lado img { right: 16px !important; bottom: 10px !important; height: 70% !important; }

/* Tarjeta de crédito en dos columnas: texto y botones a la izquierda, la
   mascota en su propia columna a la derecha. Así nunca tapa nada, en
   ningún ancho de pantalla. */
.credito-lado { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; column-gap: 8px; align-content: center; }
.credito-lado h2, .credito-lado p, .credito-lado .botones { grid-column: 1; max-width: none !important; }
.credito-lado .botones { flex-direction: column; align-items: flex-start; }
.credito-lado img {
  grid-column: 2; grid-row: 1 / 4; align-self: end; position: static !important;
  height: auto !important; width: clamp(96px, 8vw, 140px) !important; margin: 0 0 -10px;
}
