﻿:root {
    --crema: #faf6ee;
    --crema-2: #f1eadb;
    --tinta: #262220;
    --gris: #7a7169;
    --linea: #e4dbc9;
    --superficie: #ffffff;
    --acento-1: #e0663e;
    --acento-2: #d63d7a;
    --acento-grad: linear-gradient(120deg, var(--acento-1), var(--acento-2));
}
html[data-tema="oscuro"] {
    --crema: #181511;
    --crema-2: #262019;
    --tinta: #f2ece2;
    --gris: #a89c8c;
    --linea: #39322a;
    --superficie: #211c17;
}
html { transition: background-color .2s ease; }
body { transition: background-color .2s ease, color .2s ease; }
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--crema);
    background-image:
        radial-gradient(circle at 8% 0%, rgba(224,102,62,.08), transparent 40%),
        radial-gradient(circle at 92% 10%, rgba(214,61,122,.08), transparent 40%);
    color: var(--tinta);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}
.anuncio-patrio {
    position: relative;
    overflow: hidden;
    padding: 16px 20px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        #002B7F 0%, #002B7F 16.6%,
        #ffffff 16.6%, #ffffff 33.3%,
        #CE1126 33.3%, #CE1126 66.6%,
        #ffffff 66.6%, #ffffff 83.3%,
        #002B7F 83.3%, #002B7F 100%
    );
}
.anuncio-patrio-texto {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(14px, 2.4vw, 19px);
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.anuncio-patrio::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 35%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
    animation: brillo-patrio 5s ease-in-out infinite;
}
@keyframes brillo-patrio {
    0% { left: -60%; }
    60%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
    .anuncio-patrio::after { animation: none; display: none; }
}
@media (max-width: 640px) {
    .anuncio-patrio { padding: 12px 16px; }
}
.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 64px 24px 90px;
    text-align: center;
}
.marca {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--acento-2);
    font-weight: 600;
    margin-bottom: 14px;
    text-decoration: none;
    transition: opacity .15s ease;
}
.marca:hover { opacity: .75; }
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 5.5vw, 56px);
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 800;
}
h1 span {
    background: var(--acento-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.subtitulo {
    color: var(--gris);
    font-size: 16px;
    margin: 0 0 40px;
}
.buscador {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto 40px;
    padding: 6px 8px 6px 16px;
    background: var(--superficie);
    border: 1px solid var(--linea);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(38,34,32,.04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.buscador:focus-within {
    border-color: var(--acento-1);
    box-shadow: 0 4px 12px rgba(38,34,32,.08);
}
.buscador-icono {
    width: 18px;
    height: 18px;
    color: var(--gris);
    flex-shrink: 0;
}
.buscador input[type="text"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--tinta);
    font-family: inherit;
    font-size: 14.5px;
    padding: 8px 0;
}
.buscador input[type="text"]::placeholder { color: var(--gris); }
.buscador-limpiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--gris);
    text-decoration: none;
    font-size: 16px;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}
.buscador-limpiar:hover { background: var(--crema-2); color: var(--tinta); }
.buscador button {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    background: var(--acento-grad);
    color: #fff;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .15s ease, box-shadow .15s ease;
}
.buscador button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(214,61,122,.28);
}
.resultado-busqueda {
    color: var(--gris);
    font-size: 14px;
    margin: -14px 0 28px;
}
.resultado-busqueda a {
    color: var(--acento-2);
    font-weight: 600;
    text-decoration: none;
    margin-left: 10px;
}
.resultado-busqueda a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .buscador { max-width: 100%; padding: 4px 6px 4px 14px; margin-bottom: 28px; }
    .buscador button { padding: 8px 14px; font-size: 13px; }
}
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}
.menu.submenu {
    margin-top: -30px;
    margin-bottom: 40px;
}
.menu.menu-principal {
    margin-bottom: 32px;
}
.menu.menu-principal a {
    padding: 9px 18px;
    font-size: 13.5px;
}
.menu.submenu a {
    padding: 8px 16px;
    font-size: 13px;
    background: transparent;
}
.menu a {
    text-decoration: none;
    color: var(--tinta);
    border: 1px solid var(--linea);
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 14.5px;
    font-weight: 500;
    background: var(--superficie);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    box-shadow: 0 1px 2px rgba(38,34,32,.04);
}
.menu a:hover {
    transform: translateY(-1px);
    border-color: var(--acento-1);
    box-shadow: 0 4px 12px rgba(38,34,32,.08);
}
.menu a.activa {
    background: var(--acento-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(214,61,122,.28);
}
.menu a .contador {
    color: var(--gris);
    font-size: 12.5px;
    background: var(--crema-2);
    border-radius: 999px;
    padding: 1px 8px;
}
.menu a.activa .contador { color: #fff; background: rgba(255,255,255,.22); }
.migas {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: -14px 0 28px;
}
.migas a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--gris);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1px solid var(--linea);
    background: var(--superficie);
    transition: border-color .15s ease, color .15s ease;
}
.migas a:hover { border-color: var(--acento-1); color: var(--tinta); }
.migas a:last-child {
    background: var(--crema-2);
    border-color: transparent;
    color: var(--tinta);
    font-weight: 600;
}
.migas .separador { color: var(--linea); font-size: 12px; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 28px;
}
.titulo-seccion {
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
    margin: 72px 0 0;
    padding-bottom: 22px;
    text-align: center;
    background: var(--acento-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.titulo-seccion::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: var(--acento-grad);
}

@media (max-width: 640px) {
    .titulo-seccion { font-size: 22px; margin-top: 44px; padding-bottom: 16px; }
    .titulo-seccion::after { width: 44px; }
}
.carrusel-temporada {
    position: relative;
}
.carrusel-pista {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 12px;
    margin: 0 -4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carrusel-pista::-webkit-scrollbar { display: none; }
.carrusel-pista .producto {
    flex: 0 0 auto;
    width: 230px;
    scroll-snap-align: start;
}
.carrusel-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--superficie);
    border: 1px solid var(--linea);
    color: var(--tinta);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(38,34,32,.1);
    z-index: 2;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.carrusel-flecha:hover {
    border-color: var(--acento-1);
    box-shadow: 0 6px 18px rgba(38,34,32,.16);
}
.carrusel-anterior { left: -8px; transform: translateY(-50%); }
.carrusel-anterior:hover { transform: translateY(-50%) translateX(-2px); }
.carrusel-siguiente { right: -8px; }
.carrusel-siguiente:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 640px) {
    .carrusel-pista .producto { width: 168px; }
    .carrusel-flecha { width: 36px; height: 36px; font-size: 18px; }
    .carrusel-anterior { left: -4px; }
    .carrusel-siguiente { right: -4px; }
}
.card {
    position: relative;
    background: var(--superficie);
    border-radius: 18px;
    border: 1px solid var(--linea);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(38,34,32,.05);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: zoom-in;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(38,34,32,.12);
}
.card::after {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: url('../favicon.png');
    background-repeat: repeat;
    background-size: 80px 80px;
    transform: rotate(-25deg);
    opacity: .12;
    pointer-events: none;
    z-index: 1;
}
.card-video::after { content: none; }
.card .numero {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(38, 34, 32, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .02em;
    z-index: 2;
}
.card img, .card video {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: transform .3s ease;
}
.card:hover img, .card:hover video { transform: scale(1.05); }
.card-portada {
    display: flex;
    text-decoration: none;
    color: inherit;
}
.etiqueta-portada {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(38, 34, 32, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 999px;
    letter-spacing: .02em;
    white-space: nowrap;
    z-index: 2;
}
.producto {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tallas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.tallas span {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tinta);
    border: 1px solid var(--linea);
    border-radius: 6px;
    padding: 3px 9px;
    background: var(--superficie);
}

.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 44px;
}
.paginacion a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    text-decoration: none;
    color: var(--tinta);
    border: 1px solid var(--linea);
    border-radius: 10px;
    background: var(--superficie);
    font-size: 14px;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.paginacion a:hover {
    transform: translateY(-1px);
    border-color: var(--acento-1);
    box-shadow: 0 4px 12px rgba(38,34,32,.08);
}
.paginacion a.activa {
    background: var(--acento-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(214,61,122,.28);
}
.paginacion a.paginacion-flecha { font-size: 18px; }
.paginacion a.deshabilitada {
    opacity: .35;
    pointer-events: none;
}

@media (max-width: 640px) {
    .paginacion { margin-top: 28px; gap: 6px; }
    .paginacion a { min-width: 34px; height: 34px; font-size: 13px; }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 14, .88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    z-index: 1000;
}
.lightbox.abierto { display: flex; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: lightbox-zoom .18s ease;
}
.lightbox video {
    display: none;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: lightbox-zoom .18s ease;
}
.lightbox-marca {
    position: fixed;
    display: none;
    overflow: hidden;
    border-radius: 12px;
    pointer-events: none;
}
.lightbox-marca::after {
    content: '';
    position: absolute;
    inset: -30%;
    background-image: url('../favicon.png');
    background-repeat: repeat;
    background-size: 120px 120px;
    transform: rotate(-25deg);
    opacity: .14;
}
.lightbox.abierto .lightbox-marca { display: block; }
@keyframes lightbox-zoom {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-cerrar {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-cerrar:hover { background: rgba(255,255,255,.22); }
.lightbox-flecha {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .15s ease;
}
.lightbox-flecha:hover { background: rgba(255,255,255,.22); }
.lightbox-anterior { left: 20px; }
.lightbox-anterior:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-siguiente { right: 20px; }
.lightbox-siguiente:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 640px) {
    .lightbox-flecha { width: 40px; height: 40px; font-size: 22px; }
    .lightbox-anterior { left: 8px; }
    .lightbox-siguiente { right: 8px; }
}
.vacio {
    color: var(--gris);
    font-size: 15px;
    padding: 70px 24px;
    background: var(--superficie);
    border: 1px dashed var(--linea);
    border-radius: 18px;
    line-height: 1.7;
}
code {
    background: var(--crema-2);
    color: var(--tinta);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 13px;
}
.contenido-info {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 36px;
    background: var(--superficie);
    border: 1px solid var(--linea);
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(38,34,32,.05);
    text-align: left;
    line-height: 1.75;
}
.contenido-info h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    margin: 30px 0 12px;
}
.contenido-info h2:first-child { margin-top: 0; }
.contenido-info p { margin: 0 0 16px; color: var(--tinta); }
.contenido-info ul { margin: 0 0 16px; padding-left: 22px; }
.contenido-info li { margin-bottom: 8px; }
.contenido-info strong { color: var(--acento-2); }

@media (max-width: 640px) {
    .contenido-info { padding: 28px 22px; }
}
footer {
    margin-top: 70px;
    color: var(--gris);
    font-size: 13px;
}

@media (max-width: 640px) {
    .wrap { padding: 36px 16px 56px; }
    .marca { font-size: 11px; }
    .subtitulo { font-size: 14px; margin-bottom: 28px; }
    .menu { gap: 8px; margin-bottom: 32px; }
    .menu a { padding: 9px 15px; font-size: 13.5px; gap: 6px; }
    .menu a .contador { font-size: 11.5px; padding: 1px 7px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
    .card { border-radius: 14px; }
    .card:hover { transform: none; }
    .card:hover img { transform: none; }
    .vacio { padding: 44px 18px; font-size: 14px; }
    footer { margin-top: 40px; }
}

@media (hover: none) {
    .menu a:hover { transform: none; box-shadow: 0 1px 2px rgba(38,34,32,.04); border-color: var(--linea); }
}

.whatsapp-flotante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37,211,102,.45);
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 999;
}
.whatsapp-flotante:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(37,211,102,.55);
}
.whatsapp-flotante svg { width: 30px; height: 30px; }

@media (max-width: 640px) {
    .whatsapp-flotante { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .whatsapp-flotante svg { width: 26px; height: 26px; }
}

.modo-flotante {
    position: fixed;
    right: 22px;
    top: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--superficie);
    border: 1px solid var(--linea);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(38,34,32,.1);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    z-index: 999;
}
.modo-flotante:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(38,34,32,.16);
}
.modo-flotante svg { width: 20px; height: 20px; color: var(--tinta); }
.modo-flotante .icono-sol { display: none; }
html[data-tema="oscuro"] .modo-flotante .icono-luna { display: none; }
html[data-tema="oscuro"] .modo-flotante .icono-sol { display: block; }

@media (max-width: 640px) {
    .modo-flotante { right: 16px; top: 16px; width: 40px; height: 40px; }
    .modo-flotante svg { width: 18px; height: 18px; }
}

.recomendacion-flotante {
    position: fixed;
    left: 22px;
    bottom: 22px;
    max-width: 300px;
    background: var(--superficie);
    border: 1px solid var(--linea);
    border-radius: 14px;
    padding: 16px 40px 16px 18px;
    box-shadow: 0 10px 30px rgba(38,34,32,.15);
    text-align: left;
    z-index: 998;
    animation: aparecer-recomendacion .35s ease;
}
.recomendacion-flotante.oculto { display: none; }
.recomendacion-flotante-titulo {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--tinta);
}
.recomendacion-flotante ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: var(--gris);
    line-height: 1.5;
}
.recomendacion-flotante-cerrar {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--gris);
    cursor: pointer;
    border-radius: 50%;
    transition: background .15s ease, color .15s ease;
}
.recomendacion-flotante-cerrar:hover {
    background: var(--crema-2);
    color: var(--tinta);
}
@keyframes aparecer-recomendacion {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .recomendacion-flotante { animation: none; }
}
@media (max-width: 640px) {
    .recomendacion-flotante { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

.form-clave {
    max-width: 320px;
    margin: 24px auto 0;
    padding: 28px;
    background: var(--superficie);
    border: 1px solid var(--linea);
    border-radius: 18px;
    text-align: left;
}
.form-clave label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-clave input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--linea);
    border-radius: 10px;
    background: var(--crema);
    color: var(--tinta);
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 14px;
}
.form-clave-error { color: var(--acento-2); font-size: 13px; margin: -6px 0 14px; }
.form-clave button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--acento-grad);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.tabla-visitas-envoltorio { overflow-x: auto; margin-top: 8px; }
.tabla-visitas {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.tabla-visitas th, .tabla-visitas td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--linea);
    white-space: nowrap;
}
.tabla-visitas th { color: var(--gris); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
