/* =========================================================
   ARROWSHOPONE – CSS ORDENADO Y DOCUMENTADO
   ========================================================= */

/* =========================================================
   VARIABLES GLOBALES
   ========================================================= */

:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #888888;
    --second-color: #f2f200;

    --accent-gradient: linear-gradient(90deg, #ec6957 0%, #e73f10 20%, #ebe210 40%, #209337 60%, #0a4a7e 80%, #4a267a 100%);
    --accent-glow: 0 0 20px rgba(0, 242, 234, 0.3);
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* =========================================================
   RESET GENERAL
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: transparent !important;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px transparent;
    caret-color: white;
}

input:autofill {
    background-color: transparent !important;
    color: white !important;
}

::selection {
    background-color: #def200;
    color: #000;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}


::-webkit-scrollbar-track {
    background: #050505;
}


::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}


::-webkit-scrollbar-thumb:hover {
    background: #def200;
    box-shadow: 0 0 10px #def200;
}

a.add-cart,
a.btn-sale {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
}


.p-details h4 a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.p-details h4 a:hover {
    color: #def200;
}


.img-container a {
    display: block;
    width: 100%;
    height: 100%;
}

/* --- PANTALLA DE CARGA --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    /* Fondo negro Arrow */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    /* ¡Encima de todo! */
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader img {
    width: 450px;
    /* Ajusta el tamaño de tu GIF aquí */
    height: auto;
}

/* Clase para ocultarlo */
.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* =========================================================
   ESTILOS BASE DEL BODY
   ========================================================= */

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


.nav-links {
    display: flex;
    gap: 40px;
    height: 100%;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 30px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-item-dropdown:hover .nav-link::after {
    width: 100%;
}

/* Icono de flechita */
.nav-link i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
    color: #def200;
}

.nav-item-dropdown:hover .nav-link i {
    transform: rotate(180deg);
    color: #def200;
}

.red-link {
    color: #ff0055;
}

.nav-item-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #222;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.99);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mega-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.mega-column h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.mega-column ul li {
    margin-bottom: 12px;
}

.mega-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    display: block;
}

.mega-column ul li a:hover {
    color: #fff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- PRODUCTO DESTACADO EN MENÚ (REDISEÑO) --- */

/* La columna contenedora */
.mega-column.featured-column {
    min-width: 320px;
    /* Un poco más ancho */
    background: linear-gradient(145deg, #111, #0a0a0a);
    /* Degradado sutil */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    /* Separación de la lista de categorías */
}

/* Título "RECOMENDADO" */
.mega-column.featured-column h3 {
    font-family: var(--font-heading);
    color: var(--second-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* La tarjeta del producto (El enlace) */
.menu-product-card {
    display: flex;
    gap: 15px;
    text-decoration: none;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.menu-product-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--second-color);
    /* Borde neón al pasar mouse */
    transform: translateY(-3px);
    /* Levantar un poco */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Imagen del producto */
.menu-prod-img img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    /* Para que se vea todo el producto sin cortarse */
    background: #fff;
    /* Fondo blanco para resaltar el producto si es PNG */
    border-radius: 6px;
    padding: 5px;
}

/* Información */
.menu-prod-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-brand {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.menu-prod-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin: 5px 0;
    line-height: 1.2;
    font-weight: 700;
    /* Limitar a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-price {
    color: var(--second-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin: 5px 0 10px 0;
}

/* Botón Pequeño */
.btn-mini-view {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hover en la tarjeta afecta al botón */
.menu-product-card:hover .btn-mini-view {
    background: var(--second-color);
    color: #000;
    border-color: var(--second-color);
}

.promo-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: brightness(0.7);
}

.promo-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.promo-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80%;
}

.promo-text h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
}

.btn-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: underline;
    color: #def200;
    margin-top: 10px;
    display: block;
}


.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.brand-item {
    padding: 20px;
    border: 1px solid #222;
    color: #888;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    font-style: italic;
    transition: 0.3s;
    background: #0a0a0a;
}

.brand-item:hover {
    border-color: #fff;
    color: #000;
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}



/* =========================================================
   NAVBAR Y MENÚ PRINCIPAL
   ========================================================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 5%;
    /* Quitamos padding vertical aquí para controlarlo con flex */
    height: 90px;
    /* Altura fija para centrar todo mejor */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.4s;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
    /* Quitamos el borde antiguo que daba problemas */
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* Grosor de la línea */
    background: var(--accent-gradient);
    z-index: 1001;
    box-shadow: 0 2px 15px rgba(236, 105, 87, 0.4);
    /* Un brillito extra */
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 15px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    font-style: italic;
    letter-spacing: 1px;
}

.logo span {
    color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-gradient);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.nav-icons i:hover {
    color: #def200;
}

.cart-box {
    position: relative;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0055;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* =========================================================
   BARRA DE BÚSQUEDA - CORRECCIÓN
   ========================================================= */

.search-box {
    background-color: transparent;
    /* Fondo transparente para que se vea limpio */
    border: 1px solid #333;
    height: 40px;
    width: 250px;
    /* La magia: inclinamos la caja para dar sensación de velocidad */
    transform: skewX(-15deg);
    transition: all 0.3s ease;
    margin-right: 15px;
    /* Espacio extra por la inclinación */
}

/* Arreglamos el contenido para que el texto NO salga inclinado */
.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transform: skewX(15deg);
    /* Contrarrestamos la inclinación */
    padding: 0 15px;
}

.search-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    /* Usamos Montserrat para leer mejor */
    font-size: 0.9rem;
    outline: none;
}

.search-input::placeholder {
    color: #666;
    font-style: italic;
    /* El placeholder en itálica se ve muy deportivo */
}

.search-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    /* Usamos tu amarillo neón para el icono */
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

/* Efectos Hover y Focus */
.search-box:hover,
.search-box:focus-within {
    border-color: #def200;
    /* Borde neón al usarla */
    background-color: rgba(222, 242, 0, 0.05);
    /* Sutil brillo de fondo */
    box-shadow: 0 0 15px rgba(222, 242, 0, 0.2);
    /* Glow */
}

/* =========================================================
   HERO / PORTADA PRINCIPAL
   ========================================================= */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.9) contrast(1.2);
    background-image: url(https://res.cloudinary.com/dwkngsuro/image/upload/v1767558336/pechera_ivofo0.webp);
    background-position: 50% 50%;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark), transparent 80%);
    z-index: -1;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff0055;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #def200;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 30px, 0);
    }

    20% {
        clip: rect(80px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 60px, 0);
    }
}

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: 0.3s;
}

.btn-primary:hover {
    background: #def200;
    --accent-glow: 0 0 20px rgba(0, 242, 234, 0.3);
    box-shadow: var(--accent-glow);
    transform: translateY(-5px);
}

.btn-secondary {
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* --- INDICADOR DE SCROLL ANIMADO --- */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    z-index: 10;
    opacity: 0.8;
}

.scroll-down:hover {
    opacity: 1;
    color: var(--second-color);
    /* Amarillo Neón */
}

/* Texto pequeño "Explorar" */
.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* La flecha animada */
.scroll-down i {
    font-size: 1rem;
    color: var(--second-color);
    /* Flecha amarilla */
    animation: bounce 2s infinite;
}

/* Animación de Rebote */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-5px);
    }
}

:root {
    --sale-color: #ff0055;
}



/* =========================================================
   FLASH SALES / OFERTAS
   ========================================================= */

.flash-sales {
    background: linear-gradient(to bottom, #050505, #0a0003);
    border-top: 1px solid #222;
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 20px;
}

.flash-title .text-danger {
    color: var(--sale-color);
    font-style: italic;
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.bolt-icon {
    color: var(--sale-color);
    font-size: 2rem;
    margin-right: 10px;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}


.countdown-timer {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 0, 85, 0.1);
    padding: 15px 30px;
    border: 1px solid var(--sale-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.1);
}

.time-block {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.time-block span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.time-block label {
    font-size: 0.6rem;
    color: var(--sale-color);
    font-weight: 700;
}

.separator {
    font-size: 2rem;
    color: var(--sale-color);
    margin-top: -15px;
}


.sales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}


.sale-card {
    background: #111;
    border: 1px solid #333;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.sale-card:hover {
    border-color: var(--sale-color);
    transform: translateY(-5px);
}


.discount-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background: var(--sale-color);
    color: #fff;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 0.9rem;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    box-shadow: 0 0 10px var(--sale-color);
}

.sale-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.sale-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.sale-card:hover .sale-img img {
    transform: scale(1.1);
}

.sale-info {
    padding: 20px;
}


.stock-status {
    margin-bottom: 15px;
}

.stock-bar {
    width: 100%;
    height: 6px;
    background: #222;
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}

.stock-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8800, var(--sale-color));
    border-radius: 3px;
}

.stock-status span {
    font-size: 0.7rem;
    color: #888;
    font-weight: 600;
}

.sale-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.old-p {
    font-size: 0.9rem;
    color: #666;
    text-decoration: line-through;
}

.new-p {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--sale-color);
}

.btn-sale {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--sale-color);
    color: var(--sale-color);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-sale:hover {
    background: var(--sale-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}




/* =========================================================
   MARQUEE DE MARCAS
   ========================================================= */

.brands-marquee {
    background: #fff;
    color: #000;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 5px solid #def200;
    border-image: var(--accent-gradient) 1;
}

.track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.track span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 40px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.section-padding {
    padding: 80px 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}




/* =========================================================
   SECCIÓN CATEGORÍAS
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    height: 500px;
}

.cat-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.cat-card:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);
}

.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, #000, transparent);
    z-index: 2;
}

.cat-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
}

.cat-info a {
    font-size: 0.8rem;
    text-decoration: underline;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    display: inline-block;
}

.cat-card:hover .cat-info a {
    opacity: 1;
    transform: translateY(0);
}


.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    border-bottom: 1px solid var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
    gap: 30px;
}



/* =========================================================
   TARJETAS DE PRODUCTO
   ========================================================= */

.product-card {
    background: var(--bg-card);
    border: 1px solid #222;
    padding: 15px;
    position: relative;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


.product-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
}

.img-container {
    height: 250px;
    background: #151515;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: auto;
    transition: 0.3s;
}

.product-card:hover .img-container img {
    transform: scale(1.05);
}

.p-details .brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.p-details h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.old-price {
    font-size: 0.8rem;
    color: #555;
    text-decoration: line-through;
    margin-left: 10px;
}

.add-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.product-card:hover .add-cart {
    background: #fff;
    color: #000;
}

.badge-new,
.badge-hot {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #def200;
    color: #000;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    z-index: 2;
}

.badge-hot {
    background: #ff0055;
    color: #fff;
}




/* =========================================================
   SLIDER CINEMATOGRÁFICO
   ========================================================= */

.cinematic-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: #000;
    margin: 50px 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 10% 25%;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1.1);
    transition: transform 6s linear;
}


.slide-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 600px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px;
    border-left: 5px solid #def200;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s ease-out;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide-tag {
    color: #def200;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
}

.slide-content p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}


.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.prev-btn,
.next-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.prev-btn:hover,
.next-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.indicators {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #def200;
    box-shadow: 0 0 10px #def200;
    transform: scale(1.2);
}


.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent-gradient);
    width: 0%;
    z-index: 10;
}


.slide.active~.progress-bar {
    animation: progressFill 5s linear infinite;
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}




/* =========================================================
   NEWS / BANNERS
   ========================================================= */

.news-section {
    position: relative;
    background: #080808;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.news-nav-buttons {
    display: flex;
    gap: 10px;
}

.news-nav-buttons button {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-nav-buttons button:hover {
    border-color: #def200;
    color: #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
}

.news-slider-container {
    overflow: hidden;
    width: 100%;
}

.news-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;

    scrollbar-width: none;
}

.news-track::-webkit-scrollbar {
    display: none;
}


.news-card {
    min-width: 600px;
    height: 350px;
    position: relative;
    background: #111;

    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    transition: 0.3s;
    border: 1px solid #222;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.news-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: 0.5s;
}

.news-card:hover .news-img img {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000 0%, transparent 100%);
    z-index: 1;
}


.news-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 65%;
}

.news-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
}

.badge-drop {
    background: #def200;
    color: #000;
}

.badge-event {
    background: #ff0055;
    color: #fff;
}

.badge-tech {
    background: #fff;
    color: #000;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-style: italic;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
}

.news-content p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.news-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.news-link i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.news-link:hover {
    color: #def200;
    gap: 15px;
}




/* =========================================================
   CATÁLOGO
   ========================================================= */

.catalogue-container {
    padding: 120px 5% 60px 5%;
    min-height: 100vh;
}

.catalogue-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.catalogue-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: #fff;
}

.catalogue-header p {
    color: #888;
    margin-top: 5px;
}


.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}


.sidebar-filters {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 1px;
}


.search-box-side {
    display: flex;
    border: 1px solid #333;
}

.search-box-side input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px;
    outline: none;
}

.search-box-side button {
    background: #222;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}


.filter-list li {
    margin-bottom: 10px;
}

.filter-list label {
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list label:hover,
.filter-list input:checked+span {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}


.row-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: #ff0055;
}

input:focus+.slider {
    box-shadow: 0 0 1px #ff0055;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


.custom-check {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    user-select: none;
}

.custom-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.custom-check:hover input~.checkmark {
    background-color: #222;
}

.custom-check input:checked~.checkmark {
    background-color: #def200;
    border-color: #def200;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-check input:checked~.checkmark:after {
    display: block;
}

.custom-check .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.price-inputs input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 8px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.btn-filter-apply {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-filter-apply:hover {
    background: #333;
    border-color: #fff;
}

.btn-clean-filters {
    display: block;
    text-align: center;
    color: #ff0055;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 20px;
    text-decoration: underline;
}


.product-grid-catalogue {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    color: #fff;
    transition: 0.3s;
    font-family: var(--font-heading);
    font-weight: 700;
}

.page-link:hover,
.page-link.active {
    background: #def200;
    border-color: transparent;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

.no-results {
    text-align: center;
    padding: 60px;
    background: #0f0f0f;
    border: 1px solid #222;
}

.no-results i {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
}

details {
    margin-bottom: 10px;
}

details summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #222;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary:hover {
    color: #def200;
}

details ul {
    padding-left: 10px;
    margin-top: 10px;
}


.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    transition: 0.2s;
}

.radio-label input {
    accent-color: #def200;
}

.radio-label:hover {
    color: #fff;
}

.radio-label input:checked+span {
    color: #def200;
    font-weight: bold;
}


.btn-reset-small {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-reset-small:hover {
    background: #fff;
    color: #000;
}




/* =========================================================
   PÁGINA DE PRODUCTO
   ========================================================= */

.product-page-container {
    padding: 120px 5% 60px 5%;
    min-height: 100vh;
    color: #fff;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #aaa;
    transition: 0.3s;
}

.breadcrumbs a:hover {
    color: #def200;
}

.breadcrumbs span {
    color: #fff;
    font-weight: bold;
}


.product-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}


.product-gallery {
    display: flex;
    gap: 20px;
    height: 600px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    width: 100px;
    padding-right: 5px;
}

.thumbnails::-webkit-scrollbar {
    width: 4px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #333;
}

.thumbnails .thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid #333;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.thumbnails .thumb:hover,
.thumbnails .thumb.active {
    opacity: 1;
    border-color: #def200;
}

.main-image {
    flex-grow: 1;
    background: #111;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.main-image:hover img {
    transform: scale(1.2);
    cursor: crosshair;
}

.badge-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0055;
    color: #fff;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 1.2rem;
}


.brand-title {
    color: #888;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-style: italic;
}

.price-area {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.price-old {
    font-size: 1.5rem;
    color: #666;
    text-decoration: line-through;
}


.variants-section {
    margin-bottom: 30px;
}


.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #aaa;
    margin-bottom: 12px;
    display: block;
}

.variant-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.variant-item {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    padding: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #000;
}

.variant-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.variant-item:hover {
    border-color: #fff;
    transform: translateY(-3px);
}


.variant-item.active {
    border: 2px solid #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
    transform: scale(1.1);
}


.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.btn-size-guide {
    background: none;
    border: none;
    color: #def200;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.sizes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.size-btn {
    min-width: 60px;
    height: 45px;
    padding: 0 15px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.size-btn:hover:not(.disabled) {
    border-color: #fff;
    background: #222;
}

.size-btn.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.size-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #222;
}

.stock-msg {
    font-size: 0.8rem;
    color: #ff0055;
    height: 20px;
    font-weight: bold;
}


.actions-section {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    height: 55px;
}

.btn-add-cart {
    flex-grow: 1;
    background: #def200;
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    font-style: italic;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 95% 100%, 0 100%, 0 0);
}

.btn-add-cart:hover:not(:disabled) {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.btn-add-cart:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.btn-wishlist {
    width: 55px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-wishlist:hover {
    border-color: #ff0055;
    color: #ff0055;
}


.product-details details {
    border-bottom: 1px solid #222;
    margin-bottom: 0;
}

.product-details summary {
    padding: 20px 0;
    font-size: 1rem;
}

.product-details p {
    color: #aaa;
    padding-bottom: 20px;
    line-height: 1.6;
}


/* ESTILOS DE RESEÑAS Y ESTRELLAS */

.reviews-section {
    border-top: 1px solid #222;
    padding-top: 80px;
    background: linear-gradient(to bottom, #050505, #080808);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.review-card {
    background: #0a0a0a;
    padding: 30px;
    border: 1px solid #222;
    border-left: 4px solid #333;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.review-card:hover {
    border-left-color: #def200;
    background: #111;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
    line-height: 1;
}

.stars-display {
    color: #def200;
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-card .author {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: italic;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.review-card p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.review-card small {
    display: block;
    color: #555;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 15px;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.write-review {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.write-review h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    background: #050505;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid #222;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating label::before {
    content: '\f005';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #def200;
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(222, 242, 0, 0.6);
}

.write-review textarea {
    width: 100%;
    background: #050505;
    border: 1px solid #333;
    padding: 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 20px;
    border-radius: 4px;
    resize: none;
    height: 120px;
    transition: 0.3s;
}

.write-review textarea:focus {
    outline: none;
    border-color: #def200;
    box-shadow: 0 0 10px rgba(222, 242, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 30px;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #def200;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #111;
    padding: 20px;
    border: 1px solid #333;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    text-align: center;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    height: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}


.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #111;
    border-radius: 0 8px 8px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #444;
}


.thumbnails::-webkit-scrollbar,
.filter-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.guides-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.guide-item img {
    width: 100%;
    height: auto;
    border: 1px solid #333;
    border-radius: 5px;
}


.login-prompt {
    background: #151515;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}

.login-prompt p {
    color: #888;
    margin-bottom: 15px;
}

.btn-login-review {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #def200;
    color: #def200;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-login-review:hover {
    background: #def200;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}




/* =========================================================
   CARRITO LATERAL (SIDE CART)
   ========================================================= */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}


.side-cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: #0a0a0a;
    border-left: 1px solid #222;
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

.side-cart.open {
    right: 0;
}


.side-cart-header {
    padding: 25px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
}

.side-cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff0055;
}


.side-cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.side-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.side-item-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    background: #000;
    border: 1px solid #def200;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.side-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    transition: transform 0.3s ease;
}

/* Opcional: Zoom al pasar el mouse por la mini foto */
.side-item-img:hover img {
    transform: scale(1.1);
}

.side-item-details {
    flex-grow: 1;
}

.side-item-details h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #fff;
}

.side-item-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.side-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.qty-mini {
    display: flex;
    border: 1px solid #333;
}

.qty-mini button {
    background: #111;
    border: none;
    color: #fff;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.qty-mini span {
    width: 30px;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    line-height: 25px;
}

.item-price {
    font-weight: bold;
    color: #def200;
    font-size: 0.9rem;
}

.btn-trash {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-trash:hover {
    color: #ff0055;
}


.side-cart-footer {
    padding: 25px;
    border-top: 1px solid #222;
    background: #111;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.shipping-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

.btn-checkout-side {
    display: block;
    width: 100%;
    background: #def200;
    color: #000;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    transition: 0.3s;
}

.btn-checkout-side:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

.btn-continue {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-continue:hover {
    border-color: #fff;
}


.empty-side-cart {
    text-align: center;
    padding-top: 50px;
    color: #666;
}

.empty-side-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}




/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 500px) {
    .side-cart {
        width: 100%;
        right: -100%;
    }
}


/* =========================================
   ESTILOS LOGIN / REGISTRO (PROFESIONAL)
   ========================================= */

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 5% 80px;
    /* Espacio para el navbar fijo */
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.login-wrapper {
    background: #0f0f0f;
    width: 1000px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #222;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border-radius: 8px;
}

/* Imagen Lateral */
.login-image {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 10%, transparent 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 2;
}

.login-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 10px;
    color: #fff;
}

.login-overlay p {
    color: #ccc;
    font-size: 0.95rem;
}

/* Área de Formularios */
.login-forms {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tabs Toggle */
.form-toggle {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 2px solid #222;
}

.toggle-btn {
    background: none;
    border: none;
    color: #666;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    /* Para pisar la linea */
}

.toggle-btn:hover {
    color: #fff;
}

.toggle-btn.active {
    color: #fff;
    border-bottom: 2px solid #def200;
    /* Cian */
}

/* Formularios */
.auth-form {
    display: none;
    /* Oculto por defecto */
    animation: fadeIn 0.5s ease;
}

.auth-form.active-form {
    display: block;
    /* Solo se muestra el activo */
}

.auth-form h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Inputs */
.input-group-login {
    position: relative;
    margin-bottom: 20px;
}

.input-group-login i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-group-login input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: #050505;
    border: 1px solid #333;
    color: #fff;
    outline: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.input-group-login input:focus {
    border-color: #def200;
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.1);
}

/* Acciones extras */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: #aaa;
}

.forgot-pass {
    text-decoration: underline;
    transition: 0.3s;
}

.forgot-pass:hover {
    color: #def200;
}

/* Botón Login */
.btn-auth {
    width: 100%;
    padding: 15px;
    background: #def200;
    color: #000;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 95% 100%, 0 100%, 0 0);
}

.btn-auth:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

/* SOCIAL LOGIN */

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    z-index: 1;
}

.divider span {
    background: #0f0f0f;
    padding: 0 15px;
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-login {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-forms .social-btn {
    width: 100%;
    padding: 15px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #fff;
}

.login-forms .social-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.login-forms .social-btn i {
    font-size: 1.2rem;
    color: #DB4437;
}

/* =========================================
   ESTILOS CHECKOUT (PASARELA DE PAGO)
   ========================================= */

.checkout-container {
    padding: 140px 5% 80px;
    background: #050505;
    min-height: 100vh;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Columna Izquierda --- */
.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.step-num {
    background: #def200;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.step-header h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-style: italic;
    font-size: 1.2rem;
    margin: 0;
}

/* Inputs del Formulario */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group-check {
    margin-bottom: 20px;
}

.input-group-check label {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group-check input,
.input-group-check textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: 0.3s;
}

.input-group-check input:focus,
.input-group-check textarea:focus {
    border-color: #def200;
    outline: none;
    background: #151515;
}

/* Tarjetas de Método de Pago */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-card {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.payment-card input {
    display: none;
}

/* Estado Seleccionado */
.payment-card:has(input:checked) {
    border-color: #def200;
    background: rgba(222, 242, 0, 0.05);
}

.payment-card:hover:not(.disabled) {
    border-color: #666;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.method-name {
    color: #fff;
    font-weight: bold;
    font-family: var(--font-heading);
}

.payment-card p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
}

.payment-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Botón de Pagar */
.btn-pay-now {
    width: 100%;
    background: linear-gradient(90deg, #def200, #a4b300);
    color: #000;
    padding: 18px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-pay-now:hover {
    box-shadow: 0 0 20px rgba(214, 242, 0, 0.4);
    transform: translateY(-2px);
}

.security-note {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
}

/* --- Columna Derecha (Resumen) --- */
.summary-box {
    background: #111;
    border: 1px solid #222;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
    /* Para que baje contigo */
}

.summary-box h3 {
    font-family: var(--font-heading);
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.c-img {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 4px;
    object-fit: contain;
}

.c-info h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 5px;
}

.c-info p {
    font-size: 0.8rem;
    color: #888;
}

.c-price {
    margin-left: auto;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
}

.summary-totals .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 0.95rem;
}

.summary-totals .total {
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
}

/* =========================================
   PÁGINAS LEGALES (Privacidad y Términos)
   ========================================= */

.legal-page-container {
    padding: 140px 5% 80px;
    /* Espacio para el navbar fijo */
    min-height: 100vh;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(222, 242, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 85, 0.03) 0%, transparent 20%);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Línea decorativa superior */
.legal-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.legal-date {
    color: #666;
    font-size: 0.9rem;
    font-family: monospace;
}

/* Tipografía del contenido */
.legal-body {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-body h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-body h2::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--second-color);
    /* Amarillo */
    transform: rotate(45deg);
}

.legal-body p {
    margin-bottom: 20px;
}

.legal-body ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-body ul li {
    margin-bottom: 10px;
    position: relative;
}

.legal-body ul li::before {
    content: '›';
    color: var(--second-color);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.legal-body strong {
    color: #fff;
    font-weight: 700;
}

.legal-contact {
    margin-top: 50px;
    padding: 30px;
    background: #080808;
    border: 1px dashed #333;
    text-align: center;
    border-radius: 6px;
}

.legal-contact a {
    color: var(--second-color);
    text-decoration: underline;
    font-weight: bold;
}

/* =========================================
   ESTILOS FAQ (PREGUNTAS FRECUENTES)
   ========================================= */

.faq-section-title {
    color: var(--second-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #222;
    border-radius: 6px;
    background: #111;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item:hover {
    border-color: #444;
}

.faq-item.active {
    border-color: var(--second-color);
    /* Borde amarillo al abrir */
    background: #161616;
}

/* La Pregunta (Barra Clickeable) */
.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: 0.3s;
}

.faq-question i {
    color: #666;
    transition: 0.4s ease;
}

.faq-item.active .faq-question {
    color: var(--second-color);
    /* Texto amarillo al abrir */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    /* Flecha gira */
    color: var(--second-color);
}

/* La Respuesta (Oculta por defecto) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #0a0a0a;
}

.faq-answer p {
    padding: 20px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #222;
}

.whatsapp-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transition: transform .2s ease;
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* VARIANTES EN CARD (HOVER PREVIEW) */

.variant-preview {
    position: absolute;
    bottom: 40%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    /* Oculto por defecto */
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 5;
    padding: 0 10px;
    flex-wrap: wrap;
}

/* Mostrar al hacer hover en la card */
.product-card:hover .variant-preview {
    opacity: 1;
    transform: translateY(0);
}

/* La bolita de color */
.v-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    background-size: cover;
}

.v-dot:hover {
    transform: scale(1.3);
    border-color: #fff;
    border-width: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background-color: #020202;
    border-top: 1px solid #111;
    margin-top: 50px;
    font-family: var(--font-body);
}


.footer-top {
    border-bottom: 1px solid #111;
    padding: 60px 5%;
    background: radial-gradient(circle at center, #0a0a0a 0%, #020202 100%);
    text-align: center;
}

.newsletter-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 10px;
    color: #fff;
}

.newsletter-content p {
    color: #888;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    position: relative;
    border-bottom: 2px solid #333;
    transition: 0.3s;
}

.input-group:focus-within {
    border-color: #def200;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.input-group button {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    padding: 0 20px;
    transition: 0.3s;
}

.input-group button:hover {
    color: #def200;
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}


.footer-main {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a,
.footer-col ul li {
    color: #666;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}


.footer-logo {
    width: 150px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.brand-col p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.social-btn:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--accent-glow);
}


.footer-bottom {
    background: #000;
    border-top: 1px solid #111;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #444;
    margin-right: 10px;
}

.payment-methods i {
    font-size: 1.8rem;
    color: #555;
    transition: 0.3s;
    cursor: pointer;
}

.payment-methods i:hover {
    color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.legal-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.legal-links a {
    color: #555;
    font-size: 0.8rem;
    transition: 0.3s;
}

.legal-links a:hover {
    color: #fff;
}

.legal-links p {
    color: #444;
    font-size: 0.8rem;
    margin-left: 20px;
    border-left: 1px solid #222;
    padding-left: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    /* Oculto a la derecha */
    width: 300px;
    /* Ancho del menú */
    height: 100vh;
    background: #080808;
    /* Fondo casi negro */
    z-index: 2000;
    /* Encima de todo */
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    /* Animación suave */
    border-left: 1px solid #222;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

/* Estado Activo (Cuando sale) */
.mobile-menu-overlay.active {
    right: 0;
}

/* 2. Cabecera del Menú */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #000;
    border-bottom: 1px solid #222;
}

.mobile-menu-title {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.close-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. Buscador Móvil */
.mobile-search-container {
    padding: 20px;
    border-bottom: 1px solid #222;
}

.mobile-search-container input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.mobile-search-container button {
    background: var(--second-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: #000;
}

/* 4. Contenido Scrollable */
.mobile-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* 5. Usuario */
.mobile-user-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--second-color);
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome {
    font-size: 0.7rem;
    color: #888;
    display: block;
}

.name {
    font-weight: bold;
    color: #fff;
}

.btn-login-mobile,
.btn-logout-mobile {
    text-decoration: none;
    color: #fff;
    background: #222;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-login-mobile:hover {
    background: var(--second-color);
    color: #000;
}

/* 6. Lista de Navegación (Acordeones) */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.mobile-nav-list li {
    margin-bottom: 5px;
}

.main-link {
    display: block;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 1px solid #222;
}

.accordion-header {
    padding: 12px 0;
    color: #ccc;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
}

.accordion-header.active {
    color: var(--second-color);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #111;
    border-radius: 4px;
}

.accordion-content a {
    display: block;
    padding: 10px 15px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #1a1a1a;
}

.accordion-content a:hover {
    color: #fff;
    padding-left: 20px;
}

/* 7. Producto Destacado en Móvil */
.mobile-featured {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
}

/* ======================================================
   TABLET / MOBILE (≤ 900px)
====================================================== */
@media (max-width: 900px) {

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    /* Catálogo */
    .catalogue-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        position: static;
        margin-bottom: 40px;
    }

    /* Producto individual */
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-gallery {
        height: auto;
        flex-direction: column-reverse;
    }

    .thumbnails {
        flex-direction: row;
        width: 100%;
        height: 80px;
        overflow-x: auto;
        padding: 0;
    }

    .thumbnails .thumb {
        width: 80px;
        height: 80px;
    }

    .main-image {
        height: 400px;
    }

    .product-title {
        font-size: 2.2rem;
    }

    /* Login */
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-image {
        display: none;
    }

    .login-forms {
        padding: 30px;
    }

    /* Checkout */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .summary-box {
        position: static;
        margin-bottom: 40px;
        order: -1;
    }
}


/* ======================================================
   TABLET / MOBILE (≤ 768px)
====================================================== */
@media (max-width: 768px) {

    /* Header */
    .nav-links {
        display: none;
    }

    .search-box {
        display: none;
    }

    .hero-bg {
        background-position: 70% 10%;
        background-size: cover;
        background-image: url(https://res.cloudinary.com/dwkngsuro/image/upload/v1767558819/pechera-movil_l0o1wl.webp);
        animation: zoomIn 15s infinite alternate;
    }

    .hero-content h1 {
        font-size: 3rem !important;
    }

    /* Categorías */
    .category-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .cat-card {
        height: 250px;
    }

    /* Slider */
    .cinematic-slider {
        height: 60vh;
    }

    .slide img {
        object-position: 35% 25%;
    }

    .slide-content {
        left: 0;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slider-nav {
        bottom: 250px;
        right: 20px;
    }

    /* News */
    .news-card {
        min-width: 85vw;
        height: 400px;
    }

    .news-content {
        max-width: 100%;
        padding: 30px;
        background: linear-gradient(to top, #000 40%, transparent);
    }

    .news-overlay {
        background: none;
    }

    .variant-preview {
        display: none !important;
    }

    /* Grids (2 columnas limpias) */
    .sales-grid,
    .products-grid,
    .product-carousel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 8px;
        padding-right: 8px;
        margin: 0 auto;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    /* Grid real de 2 columnas SIN overflow */
    .sales-grid,
    .products-grid,
    .product-carousel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* ======================================
       FIX CARDS (NO ANCHAS)
       ====================================== */

    .sales-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 5px !important;
        /* Un poco de aire a los lados */
    }

    /* 2. ARREGLAR LA FORMA DE LA TARJETA */
    .sale-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 6px !important;
        /* Bordes un poco más suaves */
    }

    /* 3. IMAGEN CUADRADA (Adiós al estiramiento) */
    .sale-card .sale-img {
        height: auto !important;
        /* Quitamos los 220px fijos */
        aspect-ratio: 1 / 1 !important;
        /* Cuadrado perfecto */
        width: 100% !important;
        background: #111;
        /* Fondo oscuro por si la imagen es PNG transparente */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 4. AJUSTE DE LA FOTO DENTRO DEL CUADRO */
    .sale-card .sale-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        /* Se ve todo el producto sin recortes */
        padding: 10px !important;
        /* Margen interno para que no toque los bordes */
        transform: none !important;
        /* Quitamos zoom al hover en móvil para evitar saltos */
    }

    /* 5. REDUCIR ESPACIOS Y TEXTOS (Para que quepa todo) */
    .sale-info {
        padding: 10px !important;
        /* Menos relleno que en PC */
    }

    /* Barra de stock más fina */
    .stock-status {
        margin-bottom: 8px !important;
    }

    .stock-bar {
        height: 4px !important;
    }

    .stock-status span {
        font-size: 0.6rem !important;
    }

    /* Título del producto */
    .sale-info h4 {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
        height: 2.4em;
        /* Limitar a 2 líneas */
        overflow: hidden;
    }

    /* Precios */
    .price-box {
        flex-direction: column !important;
        /* Precio nuevo abajo del viejo */
        align-items: flex-start !important;
        gap: 0 !important;
        margin-bottom: 10px !important;
    }

    .price-box .old-p {
        font-size: 0.7rem !important;
    }

    .price-box .new-p {
        font-size: 1rem !important;
    }

    /* Botón "VER OFERTA" */
    .btn-sale {
        padding: 8px !important;
        font-size: 0.7rem !important;
    }

    /* Badge de Descuento (-10%) más pequeño */
    .discount-badge {
        font-size: 0.65rem !important;
        padding: 2px 8px !important;
        top: 10px !important;
    }

    /* Títulos */
    .section-title {
        font-size: 1.5rem !important;
    }

    .slider-nav {
        right: 32% !important;
        left: auto !important;
        transform: translateX(70%) !important;
        bottom: 20px !important;
        width: max-content !important;
    }

    /* Hacer los botones un pelín más pequeños en celular para que se vea fino */
    .prev-btn,
    .next-btn {
        width: 35px !important;
        height: 35px !important;
    }

    .legal-wrapper {
        padding: 30px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-page-container {
        padding-top: 100px;
    }

    .catalogue-container {
        padding: 90px 10px 20px 10px !important;
        /* Menos padding lateral */
    }

    /* 2. Filtros arriba, productos abajo */
    .catalogue-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .sidebar-filters {
        padding: 10px !important;
        border: 1px solid #333;
    }

    /* 3. GRILLA DE 2 COLUMNAS (Estilo App) */
    .product-grid-catalogue {
        display: grid !important;
        /* EL SECRETO: minmax(0, 1fr) obliga a que quepan 2 sí o sí */
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        /* Espacio pequeño entre tarjetas */
        width: 100% !important;
        margin: 0 !important;
    }

    /* 4. Mini Tarjeta de Producto */
    .product-card {
        padding: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #0f0f0f;
    }

    /* Imagen más controlada */
    .product-card .img-container {
        height: 120px !important;
        /* Altura fija para que no bailen */
        margin-bottom: 8px !important;
    }

    .product-card .img-container img {
        object-fit: contain !important;
    }

    /* Textos Pequeños para que no se corten */
    .p-details .brand {
        font-size: 0.6rem !important;
        margin-bottom: 2px;
    }

    .p-details h4 {
        font-size: 0.75rem !important;
        /* Texto de título más chico */
        line-height: 1.2 !important;
        height: 2.4em !important;
        /* Máximo 2 líneas */
        overflow: hidden !important;
        margin: 4px 0 !important;
    }

    /* Precio y Botón */
    .p-details .price {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }

    .p-details .old-price {
        font-size: 0.7rem !important;
        display: block !important;
        /* Precio viejo en nueva línea */
    }

    .p-details .add-cart {
        padding: 6px 0 !important;
        font-size: 0.7rem !important;
        width: 100% !important;
        border: 1px solid #333 !important;
    }

    /* Etiquetas (New/Hot) más discretas */
    .badge-new,
    .badge-hot {
        font-size: 0.55rem !important;
        padding: 2px 4px !important;
    }
}


/* ======================================================
   MOBILE CHICO (≤ 600px)
====================================================== */
@media (max-width: 600px) {

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .brand-col p {
        margin: 0 auto 25px;
    }

    .social-links {
        justify-content: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .legal-links p {
        border: none;
        margin: 0;
        padding: 0;
    }

    /* Flash sale */
    .flash-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown-timer {
        width: 100%;
        justify-content: center;
    }

    /* Catálogo */
    .product-grid-catalogue {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .img-container {
        height: 140px;
    }

    .p-details h4 {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        height: 2.4em;
    }

    .price {
        font-size: 0.95rem;
    }

    .add-cart {
        font-size: 0.75rem;
        padding: 8px;
    }

    .sidebar-filters {
        padding: 15px;
    }
}

/* ======================================
   FIX TABLET REAL (iPad, Galaxy Tab, etc)
   ====================================== */
@media (min-width: 769px) and (max-width: 1024px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container,
    section {
        padding: 0 20px;
    }

    /* Grids forzados a 3 columnas */
    .sales-grid,
    .product-carousel,
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }

    /* Header */
    .hero-content h1 {
        font-size: 4rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: #fff;
    }

    /* 2. Ocultar los enlaces de escritorio */
    .nav-links {
        display: none !important;
    }

    /* 3. Ocultar buscador y usuario del header (se pasan al menú) */
    .search-box,
    .user-btn,
    .user-logged-in {
        display: none !important;
    }

    /* 4. Ajustar iconos restantes */
    .nav-icons {
        gap: 15px;
    }

    /* Slider */
    .cinematic-slider {
        height: 60vh;
    }

    .slide img {
        object-position: 35% 25%;
    }

    .slide-content {
        left: 0;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slider-nav {
        bottom: 250px;
        right: 20px;
    }

    /* Contenedores */
    .sales-grid,
    .products-grid,
    .product-carousel {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 16px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* GRID ESTABLE (3 columnas sin desborde) */
    .sales-grid,
    .products-grid,
    .product-carousel {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    /* Cards NO se estiran */
    .sale-card,
    .product-card {
        width: auto !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Imágenes no empujan */
    .sale-img,
    .img-container {
        max-width: 100%;
        overflow: hidden;
    }

    .sale-img img,
    .img-container img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .slider-nav {
        /* Quitar la posición de esquina derecha */
        right: 20% !important;
        left: auto !important;

        /* Truco matemático para centrar elementos absolutos */
        transform: translateX(70%) !important;

        /* Ajustar altura */
        bottom: 20px !important;

        /* Asegurar que el ancho sea solo el del contenido */
        width: max-content !important;
    }

    /* Hacer los botones un pelín más pequeños en celular para que se vea fino */
    .prev-btn,
    .next-btn {
        width: 35px !important;
        height: 35px !important;
    }

    .catalogue-layout {
        display: block !important;
        /* Quita el grid de sidebar */
    }

    .sidebar-filters {
        width: 100%;
        margin-bottom: 20px;
        position: static !important;
        /* Quita el sticky */
    }

    /* 2. Grilla de 3 columnas perfectas */
    .product-grid-catalogue {
        display: grid !important;
        /* minmax(0, 1fr) evita que una imagen grande rompa la columna */
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }
}

/* =========================================
   PARCHE DE VISIBILIDAD (Importante)
   ========================================= */

/* 1. En PC: ESCONDER TODO EL MÓVIL */
@media (min-width: 1025px) {

    .menu-toggle,
    .mobile-menu-overlay {
        display: none !important;
        visibility: hidden !important;
    }
}

/* 2. En Móvil/Tablet: MOSTRAR BOTÓN Y ARREGLAR Z-INDEX */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: #fff;
    }

    /* Asegurar que el overlay tape todo y se pueda scrollear */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        /* Un poco menos ancho para ver el fondo oscurecido */
        max-width: 320px;
        height: 100vh;
        z-index: 9999 !important;
        /* MÁXIMA PRIORIDAD */
        background: #080808;
        display: flex;
        flex-direction: column;
        transition: right 0.4s ease;
        box-shadow: -5px 0 50px rgba(0, 0, 0, 0.8);
    }

    .mobile-menu-overlay.active {
        right: 0;
    }

    /* Ajuste para que el "Hola Nicole" no se rompa */
    .user-logged-in {
        display: flex !important;
        /* Forzar que se vea el user en header */
    }

    .user-logged-in span {
        display: none;
        /* Pero ocultamos el nombre largo en header */
    }

    .nav-icons {
        gap: 15px;
    }

    .product-card .img-container {
        /* Quitamos la altura fija vieja */
        height: auto !important;

        /* La clave: Relación de aspecto 1:1 (Cuadrado perfecto) */
        /* Esto hace que la altura crezca proporcionalmente al ancho */
        aspect-ratio: 1 / 1 !important;

        width: 100% !important;
        background: #0f0f0f !important;
        /* Fondo oscuro por si la foto es PNG */
        margin-bottom: 10px !important;

        /* Centrado perfecto */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 2. LA FOTO EN SÍ: AJUSTE "CONTAIN" */
    .product-card .img-container img {
        width: 100% !important;
        height: 100% !important;

        /* 'contain' obliga a mostrar TODA la imagen sin recortar nada.
           Si la foto es rectangular, rellenará los bordes con el fondo #0f0f0f */
        object-fit: contain !important;

        padding: 8px !important;
        /* Un poco de aire para que no toque los bordes */
    }

    /* 3. AJUSTE DE TEXTOS PARA QUE NO SE VEAN GIGANTES EN TABLET */
    .p-details h4 {
        font-size: 0.85rem !important;
        /* Título equilibrado */
        height: auto !important;
        /* Dejar crecer si es necesario en tablet */
        max-height: 2.4em;
    }

    .product-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}