:root {

    --neon-red: #ff003c;
    --neon-blue: #00aaff;
    --dark-bg: #050505;
}


/* --- FONDO DE ENERGÍA ANIMADA --- */
body {

    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
    /* Colores del degradado: Negro, Azul muy oscuro y Rojo muy oscuro */
    background: linear-gradient(135deg, #000000, #0a0a0a, #001a33, #1a0000);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #fff;
    overflow-x: hidden;
    background-attachment: fixed; /* Para que el fondo no se mueva al hacer scroll */
}


@keyframes gradientAnimation {

    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.product-card {
    background: rgba(17, 17, 17, 0.85);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #222;
    backdrop-filter: blur(8px);
    transition: 0.3s;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.categories-container, 

.products-section, 

.main-footer {

    background-color: transparent !important;

}


/* NAV */
nav {

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; z-index: 1000;
    border-bottom: 1px solid #333;
}


.logo {

    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 30px;
    letter-spacing: 8px;
    text-shadow: 0 0 10px var(--neon-red);
}



.logo a {

    color: #fff;
    text-decoration: none;
}


.nav-links a {

    color: #fff; 
    text-decoration: none; 
    margin-left: 20px; 
    font-weight: bold;
}


/* HERO */
.hero {

    height: 75vh; 
    position: relative; 
    overflow: hidden;
    display: flex; 
    justify-content: center; 
    align-items: center;
}


.back-video {

    position: absolute; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -2;
}


.overlay-video {

    position: absolute; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.5); 
    z-index: -1;
}



.hero-content {

    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.hero-content h1 {

    font-family: 'Anton', sans-serif;
    font-size: clamp(50px, 12vw, 140px);
    line-height: 0.85;
    text-align: center;
    animation: glitch 3s infinite;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.9);
}



@keyframes glitch {

    0% { text-shadow: 2px 2px var(--neon-red), -2px -2px #00fff2; }
    2% { transform: translate(2px, 0); }
    4% { transform: translate(-2px, 0); }
    5% { transform: translate(0, 0); }
    100% { text-shadow: 1px 1px var(--neon-red), -1px -1px #00fff2; }
}


.btn-main {

    background: transparent;
    border: 2px solid var(--neon-red);
    color: #fff;
    padding: 18px 50px;
    position: absolute;
    bottom: 44px; left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: 0.4s;
}


.btn-main:hover {
    background: var(--neon-red);
    box-shadow: 0 0 30px var(--neon-red);
}


/* CATEGORÍAS */
.categories-container {

    padding: 60px 5%;
    text-align: center; 
}


.section-title {

    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 32px;
    letter-spacing: 5px;
    margin-bottom: 50px;
    text-transform: uppercase;
}


.highlight-blue {

    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.6);
}


.categories-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}


/* --- CATEGORÍAS (ACOPLADAS AL FONDO Y CON NOMBRES VISIBLES) --- */
.square {

    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.4); /* Translúcido para ver el fondo animado */
    backdrop-filter: blur(8px); /* Efecto cristal */
    border: 1px solid rgba(0, 170, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    cursor: pointer;
}


.square img {

    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.5; /* Oscurecemos la imagen para que el nombre resalte */
    transition: 0.6s ease;
}


/* AQUI SE MUESTRA LOS NOMBRES CORRECTAMENTE */
.square span {

    position: absolute; /* Flota sobre la imagen */
    z-index: 5; /* Asegura que esté al frente */
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;

    
    /* Fondo oscuro sutil solo para el texto para asegurar legibilidad */
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    backdrop-filter: blur(4px);
    

    /* Brillo neón */
    text-shadow: 0 0 10px var(--neon-blue);
    pointer-events: none; /* Permite que el click pase a través del texto hacia el cuadro */
    transition: 0.4s;
}


/* Efectos al pasar el mouse */
.square:hover {

    background: rgba(0, 170, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.3);
    transform: translateY(-5px);
}


.square:hover img { 

    opacity: 0.8; 
    transform: scale(1.1); 
}


.square:hover span {

    transform: scale(1.1);
    text-shadow: 0 0 20px var(--neon-blue);
    background: rgba(0, 170, 255, 0.2);
}

/* PRODUCTOS */
.products-section { 
    padding: 60px 5%; 
    text-align: center; 
}


.products-grid {

    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; 
    max-width: 1100px; 
    margin: 0 auto;
}


.product-card { 

    background: rgba(17, 17, 17, 0.9) !important; 
    padding: 15px; border: 1px solid #222;
    backdrop-filter: blur(5px);
}


.product-image { 
    position: relative; 
    height: 350px; 
    overflow: hidden; 
}

.product-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s; 
}

.product-card:hover .product-image img { 
    transform: scale(1.1); 
}


.badge-new { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    background: var(--neon-red); 
    padding: 5px 10px; 
    font-size: 10px; 
}


.product-info { 
    padding: 15px 0; 
    text-align: left; 
}

.price { 
    color: var(--neon-red); 
    font-weight: bold; 
}


.btn-buy {

    width: 100%; 
    background: #fff; 
    color: #000; 
    border: none; 
    padding: 12px;
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s;
}

.btn-buy:hover { 

    background: var(--neon-red); 
    color: #fff; 
    transform: scale(1.05);
}


/* FOOTER */

.main-footer { padding: 60px 5% 20px; border-top: 1px solid #222; }

.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }

.footer-col ul { list-style: none; padding: 0; }

.footer-col ul li a { color: #888; text-decoration: none; font-size: 14px; }

.footer-col ul li a:hover { color: var(--neon-blue); }


.card-bg {

    background: #fff; padding: 5px 10px; border-radius: 4px;
    display: inline-flex; width: 50px; height: 30px; margin-right: 10px;
}

.card-bg img { width: 100%; object-fit: contain; }


.footer-bottom {

    margin-top: 40px; padding-top: 20px; border-top: 1px solid #222;
    display: flex; justify-content: space-between; align-items: center;
}


.social-icons a { color: #fff; font-size: 20px; margin-left: 15px; }

.social-icons a:hover { color: var(--neon-blue); }


/* BOTÓN WHATSAPP*/
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 0 20px rgba(37,211,102,0.6);
    animation: pulseWA 2s infinite;
    transition: 0.3s;
}

/* icono */
.whatsapp-btn img {
    width: 35px;
    filter: brightness(0) invert(1);
}

/* hover */
.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(37,211,102,1);
}

/* animación tipo "latido" */
@keyframes pulseWA {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

.whatsapp-btn::after {
    content: "¡Contáctanos!";
    position: absolute;
    right: 75px;
    background: rgba(0,0,0,0.8);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.whatsapp-btn:hover::after {
    opacity: 1;
}


/* --- ESTILO PARA TU FILA DE CUADROS --- */


.large.row {

    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 5%;
    flex-wrap: wrap; /* Para que en celular se pongan uno abajo de otro */
}


.square-brand {

    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05); /* Fondo casi invisible */
    border: 1px solid rgba(0, 170, 255, 0.2); /* Borde azul sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    backdrop-filter: blur(5px);
    /* Forma futurista cortada */
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}


.square-brand img {

    width: 60%;
    filter: brightness(0) invert(1); /* Logos en blanco */
    opacity: 0.5;
    transition: 0.3s;
}


.square-brand:hover {

    background: rgba(0, 170, 255, 0.1);
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}


.square-brand:hover img {

    opacity: 1;
    transform: scale(1.1);
}


/* --- LAYOUT GLOBAL DE LA TIENDA --- */

.shop-layout {

    display: flex;
    gap: 40px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start; /* Evita que la barra se estire hasta abajo */
}


/* BARRA LATERAL IZQUIERDA */


/* --- BARRA LATERAL GIGANTE Y FIJA --- */

.filter-sidebar {

    flex: 0 0 380px; /* Más ancha para que se imponga */
    position: sticky;
    top: 100px;
    height: 75vh; /* Ocupa casi todo el alto de la ventana visual */


    margin-left: -3%; /* Pegada casi al borde izquierdo */
    background: rgba(0, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    padding: 40px; /* Mucho más aire interno */
    border: 1px solid rgba(0, 170, 255, 0.4);
    border-radius: 12px;

    
    /* ORGANIZACIÓN INTERNA */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Estira el contenido para llenar el alto */
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}


/* Títulos más imponentes */
.filter-title {

    font-size: 18px;
    color: var(--neon-blue);
    letter-spacing: 4px;
    border-bottom: 2px solid rgba(0, 170, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}


/* Opciones de texto más grandes */
.custom-check {
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Cuadros de tallas más grandes */
.size-grid {

    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Solo 2 columnas para que sean botones grandes */
    gap: 15px;
}


.size-btn {

    height: 50px; /* Botones más altos */
    font-size: 16px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.05);
}


/* --- AJUSTE DE ALTURA DE PRECISIÓN --- */


.shop-layout {

    display: flex;
    gap: 40px;
    padding: 20px 5%;
    /* Cambiamos stretch por flex-start para que la barra no se obligue a bajar al footer */
    align-items: flex-start; 
}


.filter-sidebar {

    flex: 0 0 320px;; 
    

    /* EL TRUCO PARA EL TAMAÑO EXACTO: */
    height: auto; 
    max-height: fit-content; 


    background: rgba(0, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 12px;
    

    /* Mantenemos la organización interna pero sin estirar */
    display: flex;
    flex-direction: column;
    gap: 20px; 
    

    margin-top: 70px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5);
}


/* Ajustamos el grid de tallas para que sea más compacto y no empuje la barra hacia abajo */
.size-grid-cyber {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}


.size-btn {

    padding: 6px 0; /* Un poco más delgados para ahorrar espacio vertical */
    font-size: 11px;
}


/* --- ESTILOS PARA COLOR, MARCA Y COLECCIÓN --- */


/* Círculos de color con brillo neón */

.color-options-cyber {

    display: flex;
    gap: 15px;
    margin-top: 10px;
}


.color-dot {

    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    position: relative;
}


.color-dot.yellow { background: #ffcc00; box-shadow: 0 0 10px rgba(255, 204, 0, 0.4); }

.color-dot.blue { background: #00aaff; box-shadow: 0 0 10px rgba(0, 170, 255, 0.4); }

.color-dot.white { background: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); }


.color-dot:hover {

    transform: scale(1.3);
    border-color: #fff;
    box-shadow: 0 0 20px currentColor;
}


/* Estilo para el texto de Colección (WC EC26) */

.collection-link {

    color: var(--neon-blue) !important;
    font-weight: bold;
    letter-spacing: 1px;
}


/* Animación sutil para los títulos de estos nuevos filtros */

.filter-group:hover .filter-title i {

    animation: pulse-blue 1.5s infinite;
}


@keyframes pulse-blue {

    0% { text-shadow: 0 0 5px var(--neon-blue); }
    50% { text-shadow: 0 0 15px var(--neon-blue), 0 0 20px var(--neon-blue); }
    100% { text-shadow: 0 0 5px var(--neon-blue); }
}


/* ========================================
   ESTILOS RESPONSIVOS GLOBALES
   ======================================== */

/* Desktop grande (1200px+) - Ajustes finos */
@media (max-width: 1400px) {
    .shop-layout {
        padding: 40px 3%;
        gap: 30px;
    }

    .filter-sidebar {
        flex: 0 0 300px;
    }
}

/* Tablet y Desktop pequeño (768px - 1199px) */
@media (max-width: 1199px) {
    :root {
        font-size: 15px;
    }

    .shop-layout {
        flex-direction: column;
        padding: 30px 4%;
    }

    .filter-sidebar {
        width: 100%;
        position: static;
        margin: 0 0 30px 0;
        height: auto;
        max-height: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .filter-group {
        flex: 1 1 200px;
        min-width: 200px;
    }

    .size-grid-cyber {
        grid-template-columns: repeat(6, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .hero {
        height: 60vh;
    }

    .btn-main {
        padding: 15px 40px;
        font-size: 14px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    :root {
        font-size: 14px;
    }

    nav {
        padding: 12px 4%;
    }

    .logo {
        font-size: 24px;
        letter-spacing: 5px;
    }

    .nav-links a {
        margin-left: 15px;
        font-size: 13px;
    }

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: clamp(40px, 10vw, 80px);
    }

    .categories-container,
    .products-section {
        padding: 40px 4%;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 280px;
    }

    .square span {
        font-size: 18px;
        padding: 6px 15px;
    }

    .square-brand {
        width: 100px;
        height: 100px;
    }

    .large.row {
        gap: 15px;
        padding: 30px 4%;
    }

    .filter-sidebar {
        padding: 20px;
    }

    .filter-title {
        font-size: 16px;
    }

    .custom-check {
        font-size: 14px;
    }

    .size-grid-cyber {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-icons a {
        margin: 0 10px;
    }

    .whatsapp-btn {
        width: 50px;
        bottom: 15px;
        right: 15px;
    }

    .cart-sidebar {
        width: min(350px, 85%);
        padding: 20px;
    }
}

/* Mobile (480px - 767px) */
@media (max-width: 767px) {
    :root {
        font-size: 13px;
    }

    nav {
        padding: 10px 4%;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 20px;
        letter-spacing: 4px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #333;
    }

    .nav-links a {
        margin: 0 10px;
        font-size: 12px;
        padding: 5px 10px;
    }

    .cart-container {
        order: 2;
    }

    .hero {
        height: 45vh;
    }

    .hero-content h1 {
        font-size: clamp(32px, 12vw, 60px);
        line-height: 0.9;
    }

    .btn-main {
        padding: 12px 30px;
        font-size: 13px;
        bottom: 30px;
    }

    .categories-container,
    .products-section {
        padding: 30px 4%;
    }

    .section-title {
        font-size: 22px;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .square span {
        font-size: 14px;
        padding: 5px 12px;
        letter-spacing: 1px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 10px 0;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .price {
        font-size: 13px;
    }

    .btn-buy {
        padding: 10px;
        font-size: 12px;
    }

    .square-brand {
        width: 80px;
        height: 80px;
    }

    .square-brand img {
        width: 50%;
    }

    .large.row {
        gap: 12px;
        padding: 25px 4%;
    }

    .filter-sidebar {
        padding: 15px;
        margin-bottom: 20px;
    }

    .filter-group {
        flex: 1 1 150px;
        min-width: 150px;
    }

    .filter-title {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .custom-check {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .size-grid-cyber {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .size-btn {
        padding: 5px 0;
        font-size: 10px;
    }

    .color-options-cyber {
        gap: 10px;
    }

    .color-dot {
        width: 18px;
        height: 18px;
    }

    .main-footer {
        padding: 40px 4% 20px;
    }

    .footer-col h4 {
        font-size: 14px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .cart-sidebar {
        width: 100%;
        max-width: none;
        padding: 15px;
    }

    .sidebar-header h4 {
        font-size: 16px;
    }

    .cart-item {
        font-size: 13px;
    }

    .checkout-btn {
        padding: 10px;
        font-size: 13px;
    }

    .whatsapp-btn {
        width: 45px;
        bottom: 10px;
        right: 10px;
    }
}

/* Mobile pequeño (< 480px) */
@media (max-width: 479px) {
    :root {
        font-size: 12px;
    }

    nav {
        padding: 8px 3%;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .nav-links a {
        margin: 0 5px;
        font-size: 11px;
        padding: 4px 8px;
    }

    .hero {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: clamp(28px, 14vw, 50px);
    }

    .btn-main {
        padding: 10px 25px;
        font-size: 12px;
        bottom: 25px;
    }

    .categories-container,
    .products-section {
        padding: 25px 3%;
    }

    .section-title {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .square {
        aspect-ratio: 16/10;
    }

    .square span {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image {
        height: 160px;
    }

    .product-card {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .price {
        font-size: 12px;
    }

    .btn-buy {
        padding: 8px;
        font-size: 11px;
    }

    .badge-new {
        font-size: 9px;
        padding: 3px 6px;
    }

    .square-brand {
        width: 70px;
        height: 70px;
    }

    .large.row {
        gap: 10px;
        padding: 20px 3%;
    }

    .filter-sidebar {
        padding: 12px;
    }

    .filter-group {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .filter-title {
        font-size: 13px;
    }

    .custom-check {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .size-grid-cyber {
        grid-template-columns: repeat(4, 1fr);
        gap: 3px;
    }

    .size-btn {
        padding: 4px 0;
        font-size: 9px;
    }

    .color-dot {
        width: 16px;
        height: 16px;
    }

    .cart-icon {
        font-size: 14px;
    }

    #cart-count {
        font-size: 11px;
    }

    .cart-sidebar {
        padding: 12px;
    }

    .sidebar-header h4 {
        font-size: 14px;
    }

    .close-cart {
        font-size: 20px;
    }

    .cart-item {
        font-size: 12px;
    }

    .cart-total {
        font-size: 14px;
    }

    .checkout-btn {
        padding: 8px;
        font-size: 12px;
    }

    .main-footer {
        padding: 30px 3% 15px;
    }

    .payment-box {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .card-bg {
        width: 40px;
        height: 25px;
        margin: 0;
    }

    .footer-bottom {
        font-size: 11px;
        margin-top: 25px;
    }

    .social-icons a {
        font-size: 18px;
        margin: 0 8px;
    }

    .whatsapp-btn {
        width: 40px;
    }
}

/* Ajustes para orientación landscape en mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8vw, 60px);
    }

    .btn-main {
        bottom: 20px;
        padding: 10px 30px;
    }

    nav {
        padding: 8px 4%;
    }

    .nav-links {
        margin-top: 5px;
        padding-top: 5px;
    }
}

/* Ajustes para pantallas muy anchas pero bajas */
@media (max-height: 600px) and (min-width: 768px) {
    .hero {
        height: 70vh;
    }

    .filter-sidebar {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Soporte para reduced motion (accesibilidad) */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body {
        animation: none;
    }

    .hero-content h1 {
        animation: none;
    }
}


/*carrito*/
.cart-container {

    position: relative;
}


.cart-icon {

    cursor: pointer;
    font-weight: bold;
}


.cart-sidebar {

    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 90%);
    height: 100%;
    background: rgba(6, 6, 12, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.6);
    padding: 25px;
    padding-bottom: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    transform: translateX(110%);
    transition: transform 0.4s ease;
    z-index: 1500;
}


.cart-sidebar.active {

    transform: translateX(0);
}


.sidebar-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}


.close-cart {

    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}


.sidebar-items {

    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.cart-item {

    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}


.sidebar-items .cart-item button {

    background: red;
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px 6px;
}


.cart-total {

    font-size: 16px;
    font-weight: bold;
}


.checkout-btn {

    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}


.checkout-btn:hover {

    background: var(--neon-red);
    color: #fff;
}


.cart-overlay {

    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 1200;
}


.cart-overlay.active {

    opacity: 1;
    visibility: visible;
}


/* ========================================
   CHECKOUT - PASARELA DE PAGOS MINIMALISTA
   ======================================== */

/* Contenedor principal del checkout */
.payment-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* Grupos de campos del formulario */
.payment-form .form-group {
    margin-bottom: 24px;
}

/* Etiquetas minimalistas */
.payment-form label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

/* Inputs con estilo minimalista */
.payment-form input {
    width: 100%;
    padding: 16px 0 12px 0;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Placeholder estilizado */
.payment-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Focus state - solo línea inferior iluminada */
.payment-form input:focus {
    border-bottom-color: var(--neon-blue);
    box-shadow: 0 2px 0 0 var(--neon-blue);
}

/* Row para campos en paralelo (expiración + CVC) */
.payment-form .form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

/* Botón de confirmar compra - minimalista */
.payment-form .checkout-btn {
    width: 100%;
    padding: 18px 32px;
    margin-top: 20px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Condensed', sans-serif;
}

.payment-form .checkout-btn:hover {
    background: var(--neon-red);
    border-color: var(--neon-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 60, 0.3);
}

.payment-form .checkout-btn:active {
    transform: translateY(0);
}

/* Indicador visual de campos requeridos */
.payment-form input:required:valid {
    border-bottom-color: rgba(0, 255, 100, 0.4);
}

/* Sección de checkout - ajustes de layout */
.shop-layout:has(.payment-form) {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.shop-layout:has(.payment-form) .products-section {
    width: 100%;
    max-width: 600px;
}

/* Título de la sección ajustado */
.shop-layout:has(.payment-form) .section-title {
    font-size: 24px;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 3px;
}

/* ========================================
   CHECKOUT RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .payment-form {
        padding: 28px 24px;
        border-radius: 12px;
    }

    .payment-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .payment-form input {
        padding: 14px 0 10px 0;
        font-size: 16px;
    }

    .payment-form label {
        font-size: 11px;
    }

    .payment-form .checkout-btn {
        padding: 16px 24px;
        font-size: 12px;
    }

    .shop-layout:has(.payment-form) .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .shop-layout:has(.payment-form) {
        padding: 40px 16px;
    }
}

@media (max-width: 479px) {
    .payment-form {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .payment-form .form-group {
        margin-bottom: 20px;
    }

    .payment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .payment-form .checkout-btn {
        margin-top: 16px;
    }
}


/* Tablets */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .products-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Celulares */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .products-container {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}

.cart.active {
    transform: translateX(0);
}

.btn {
    background: #ff003c;
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    background: #ff335c;
}

.cart-sidebar {
    transition: transform 0.4s ease, opacity 0.3s;
    opacity: 0;
}

.cart-sidebar.active {
    transform: translateX(0);
    opacity: 1;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 18px;
    border-left: 4px solid #00aaff;
    border-radius: 8px;
    font-size: 14px;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left-color: #ff003c;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.floating-cart {
    position: fixed;
    top: 80px;      
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0,170,255,0.4);
    transition: 0.3s;
    #cart-count {
    font-weight: bold;
    }
}

.floating-cart i {
    font-size: 18px;
}

.floating-cart:hover {
    transform: scale(1.1);
}

.floating-cart span {
    background: var(--neon-red);
    padding: 2px 8px;
    border-radius: 50%;
    font-size: 12px;
}

.search-box input {
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    width: 200px;
    transition: 0.3s;
}

.search-box input:focus {
    width: 250px;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
}

.menu-toggle {
    z-index: 3001; /* por encima del sidebar */
    position: relative;
}


/* MODO MÓVIL */
@media (max-width: 991px) {

    .menu-toggle {
        display: block;
        color: #fff;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        z-index: 2000;
        transition: 0.4s ease;
        overflow-y: auto;
    }

    .filter-sidebar.active {
        left: 0;
    }

    /* fondo oscuro cuando abre */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 1500;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

.filter-sidebar {
    box-shadow: 10px 0 30px rgba(0,0,0,0.8);
}

@media (max-width: 991px) {

    .filter-sidebar {
        position: fixed !important;
        top: 0;
        left: -100% !important;
        width: 80%;
        height: 100%;
        z-index: 2000;
        transition: left 0.4s ease;
        overflow-y: auto;
    }

    .filter-sidebar.active {
        left: 0 !important;
    }

    /* fondo oscuro cuando abre */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 1500;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

.filter-sidebar {
    will-change: transform;
}

