/* ================================ */
/* ESTILOS COMUNES Y GLOBALES       */
/* ================================ */
:root { 
    --color-background: #FFFFFF; 
    --color-card-bg: #F8F9FA; 
    --color-accent: #FF007A; 
    --color-text: #212529; 
    --color-borders: #E9ECEF; 
    --font-headings: 'Anton', sans-serif; 
    --font-body: 'Inter', sans-serif; 
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-body); 
    background-color: var(--color-background); 
    color: var(--color-text); 
    overflow-x: hidden; 
}
.container { 
    width: 95%; /* <-- Aumentamos al 95% del ancho de la pantalla */
    max-width: 1600px; /* <-- Aumentamos el límite máximo a 1600px */
    margin: 0 auto; 
}

/* ================================ */
/* HEADER Y NAVEGACIÓN              */
/* ================================ */
.main-header { 
    background-color: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0; 
    position: fixed; 
    width: 100%; 
    z-index: 1000; 
    top: 0; 
    border-bottom: 1px solid var(--color-borders); 
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 40px; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; }
.main-nav a { 
    color: var(--color-text); 
    text-decoration: none; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
}
.header-controls { display: flex; align-items: center; gap: 1rem; }
.cart-icon-container { display: flex; align-items: center; gap: 0.5rem; position: relative; cursor: pointer; color: var(--color-text); text-decoration: none; }
.cart-image-icon { height: 32px; }
.cart-text { font-weight: 700; }
.cart-bubble { 
    position: absolute; 
    top: -5px; 
    right: -5px; 
    background-color: var(--color-accent); 
    color: white; 
    border-radius: 50%; 
    width: 22px; 
    height: 22px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transform: scale(0); 
    transition: transform 0.2s ease-in-out; 
}
.cart-bubble.visible { transform: scale(1); }

/* Oculta los elementos del menú móvil por defecto en escritorio */
.mobile-menu-button, .mobile-menu-bottom-logo, .mobile-menu-title {
    display: none;
}

/* ================================ */
/* MENÚ MÓVIL (VERSIÓN FINAL)       */
/* ================================ */
@media (max-width: 768px) {
    /* ----- CONFIGURACIÓN INICIAL EN MÓVIL ----- */
    .cart-text {
        display: none;
    }
    
    .mobile-menu-button {
        display: block !important;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        background: none;
        border: none;
        z-index: 2001;
    }

    .hamburger-icon,
    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--color-text);
        transition: all 0.3s ease;
        left: 0;
    }
    .hamburger-icon { top: 50%; transform: translateY(-50%); }
    .hamburger-icon::before { top: -10px; }
    .hamburger-icon::after { bottom: -10px; }
    
    /* PANEL DEL MENÚ DESLIZABLE */
    .main-nav {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background-color: var(--color-background);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%) !important;
        transition: transform 0.3s ease-in-out;
        z-index: 2000;
        padding: 2rem;
    }

    .mobile-menu-title {
        display: block;
        font-family: var(--font-headings);
        font-size: 2.5rem;
        text-align: center;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        color: var(--color-text);
        border-bottom: 2px solid var(--color-accent);
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 0;
        width: 100%;
    }
    .main-nav li {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid var(--color-borders);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }

    .mobile-menu-bottom-logo {
        display: block;
        margin-top: auto;
        text-align: center;
        padding: 2rem 0;
    }
    .mobile-menu-bottom-logo img {
        width: 120px;
        opacity: 0.6;
    }

    /* ----- ESTADOS CUANDO EL MENÚ ESTÁ ABIERTO ----- */
    body.mobile-menu-is-open .main-nav {
        transform: translateX(0) !important;
    }
    body.mobile-menu-is-open {
        overflow: hidden !important;
    }
    body.mobile-menu-is-open .hamburger-icon {
        background-color: transparent !important;
    }
    body.mobile-menu-is-open .hamburger-icon::before {
        transform: rotate(45deg) !important;
        top: 0 !important;
    }
    body.mobile-menu-is-open .hamburger-icon::after {
        transform: rotate(-45deg) !important;
        bottom: 0 !important;
    }
}

/* ================================ */
/* FOOTER Y OTROS ESTILOS...        */
/* ================================ */
.main-footer { background-color: var(--color-card-bg); padding: 4rem 0; border-top: 1px solid var(--color-borders); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer-logo { height: 40px; margin-bottom: 1rem; }
.footer-col p { color: #6c757d; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-headings); font-size: 1.2rem; margin-bottom: 1rem; color: var(--color-text); }
.footer-col ul { list-style: none; padding-left: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: #495057; text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--color-accent); }
.social-icons a { color: var(--color-text); font-size: 1.5rem; margin-right: 1.5rem; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.social-icons a:hover { color: var(--color-accent); transform: scale(1.2); }
.news-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; padding-top: 8rem; padding-bottom: 4rem; }
.sidebar { position: sticky; top: 120px; height: calc(100vh - 160px); }
.news-content h2 { font-family: var(--font-headings); font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 0.5rem; }
.news-content .post-meta { color: #6c757d; margin-bottom: 2rem; }
.news-content p { line-height: 1.8; font-size: 1.1rem; }
.sidebar-left h3 { font-family: var(--font-headings); border-bottom: 3px solid var(--color-accent); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.sidebar-left a { text-decoration: none; display: block; }
.sidebar-left img { width: 100%; border-radius: 8px; transition: transform 0.3s ease; border: 1px solid var(--color-borders); }
.sidebar-left a:hover img { transform: scale(1.05); }
.sidebar-left a p { text-decoration: none; font-weight: bold; color: var(--color-text); font-size: 0.9rem; margin-top: 0.5rem; text-align: center; }
@media (max-width: 992px) {
    .news-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; margin-bottom: 3rem; }
}
/* ================================ */
/* ESTILOS RESEÑAS ANIMADA          */
/* ================================ */
.reviews-ticker {
    padding: 3rem 0;
    background-color: var(--color-text); /* Fondo oscuro para contraste */
    color: white;
    overflow: hidden;
    position: relative;
    white-space: nowrap; /* Evita que los elementos se rompan en varias líneas */
}
/* Efecto de desvanecido en los bordes */
.reviews-ticker-track {
    display: inline-block;
    animation: ticker-scroll 40s linear infinite;
}
.review-card {
    display: inline-block;
    background-color: white;
    color: var(--color-text);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 0 1rem;
    width: 300px; /* Ancho fijo para cada tarjeta */
    vertical-align: top;
    white-space: normal; /* Permite que el texto dentro de la tarjeta se ajuste */
}
.review-stars {
    font-size: 1.2rem;
    color: var(--color-accent); /* Color Rosa Neón */
    margin-bottom: 0.75rem;
}
.review-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.review-author {
    font-weight: 700;
}
/* Animación de scroll */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Se mueve hasta la mitad (la copia) */
    }
}
/* ================================================= */
/* ESTILOS FINALES Y FORZADOS PARA RESEÑAS ANIMADAS  */
/* ================================================= */

.reviews-ticker {
    display: block !important;
    padding: 3rem 0 !important;
    background-color: var(--color-text) !important;
    color: white !important;
    overflow: hidden !important;
    position: relative !important;
    white-space: nowrap !important;
}

/* Efecto de desvanecido en los bordes */
.reviews-ticker::before,
.reviews-ticker::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    width: 100px !important;
    height: 100% !important;
    z-index: 2 !important;
}
.reviews-ticker::before {
    left: 0 !important;
    background: linear-gradient(to right, var(--color-text), transparent) !important;
}
.reviews-ticker::after {
    right: 0 !important;
    background: linear-gradient(to left, var(--color-text), transparent) !important;
}

.reviews-ticker-track {
    display: inline-block !important;
    animation: ticker-scroll 40s linear infinite !important;
}

.review-card {
    display: inline-block !important;
    background-color: white !important;
    color: var(--color-text) !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    margin: 0 1rem !important;
    width: 300px !important;
    vertical-align: top !important;
    white-space: normal !important;
}

.review-stars {
    font-size: 1.2rem !important;
    color: var(--color-accent) !important;
    margin-bottom: 0.75rem !important;
}

.review-text {
    font-style: italic !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.review-author {
    font-weight: 700 !important;
}

/* Animación de scroll */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ========================================================= */
/* ========================================================= */
/* ESTILO DEFINITIVO PARA SUBTEXTO DE BOTÓN DE ENVÍO ACTIVO  */
/* ========================================================= */

.shipping-option-btn.active .subtext {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow:
        0 0 5px var(--color-accent),
        0 0 10px var(--color-accent),
        0 0 15px rgba(255, 0, 122, 0.5) !important;
}
/* ========================================================= */
/* ESTILO NEÓN PARA SUBTEXTO DE BOTÓN DE ENVÍO ACTIVO      */
/* ========================================================= */

.shipping-option-btn.active .subtext {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow:
        0 0 5px var(--color-accent),
        0 0 10px var(--color-accent),
        0 0 15px rgba(255, 0, 122, 0.5) !important;
}
/* ================================ */
/* ESTILOS PARA LA PÁGINA DE TIENDA */
/* ================================ */
.page-content { padding-top: 8rem; padding-bottom: 4rem; }
.shop-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-borders); }
.product-count { font-weight: 700; font-size: 1.1rem; }
.controls-right { display: flex; align-items: center; gap: 1.5rem; }
.filter-toggle-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    border: 2px solid var(--color-accent); /* Borde del color del brillo */
    background-color: transparent;
    color: var(--color-accent); /* Texto del color del brillo */
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: glow-animation 2s infinite; /* <-- LÍNEA AÑADIDA */
}
.filter-toggle-btn:hover { background-color: var(--color-text); color: white; }
.filter-toggle-btn.active { background-color: var(--color-accent); border-color: var(--color-accent); color: white; }
.sort-container label { font-weight: 700; margin-right: 0.5rem; }
.sort-container select { padding: 0.75rem; border-radius: 5px; border: 1px solid var(--color-borders); font-family: var(--font-body); font-size: 1rem; background-color: #fff; }

.shop-layout {
    display: grid;
    grid-template-columns: 1fr; /* Por defecto, solo se ve la cuadrícula de productos */
    gap: 2rem;
    transition: grid-template-columns 0.4s ease; /* Transición suave */
}

/* En PC, cuando los filtros están abiertos, se crea la columna para la sidebar */
@media (min-width: 992px) {
    .shop-layout.filters-open {
        grid-template-columns: 280px 1fr;
    }
}

.filter-sidebar {
    background-color: var(--color-card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    display: none; /* Oculta por defecto */
}
.shop-layout.filters-open .filter-sidebar {
    display: block; /* Muestra la sidebar cuando el layout tiene la clase */
}

.filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--color-borders); }
.filter-sidebar-header h2 { font-family: var(--font-headings); font-size: 1.5rem; }
#clear-filters-btn { background: none; border: none; color: var(--color-accent); text-decoration: underline; cursor: pointer; font-weight: 700; }
/* --- Parrilla de Productos en Escritorio --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Por defecto, 4 columnas en PC */
    gap: 2rem;
    transition: grid-template-columns 0.4s ease; /* Transición suave al cambiar */
}

/* Cuando los filtros están abiertos, la parrilla cambia a 3 columnas en PC */
.shop-layout.filters-open .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Regla para Móviles (se mantiene igual) --- */
@media (max-width: 992px) { /* Ajustado para mejor respuesta en tablets */
    .product-grid,
    .shop-layout.filters-open .product-grid { /* Se aplica en ambos casos */
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
.product-card-link { text-decoration: none; color: inherit; }
.product-card { background-color: var(--color-card-bg); border: 1px solid var(--color-borders); text-align: center; padding: 1.5rem; border-radius: 8px; }
.product-image-container img { max-width: 100%; height: auto; margin-bottom: 1rem; }
.product-name { font-family: var(--font-headings); font-size: 1.5rem; margin-bottom: 0.5rem; }
.product-brand { color: #6c757d; }
.price-display .current-price { font-weight: 700; font-size: 1.3rem; color: var(--color-accent); }

/* ================================ */
/* ESTILOS PARA ACORDEÓN DE FILTROS */
/* ================================ */

.accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

/* El ícono '+' o la flecha */
.accordion-toggle::after {
    content: '▼'; /* Flecha hacia abajo */
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Cuando el acordeón está activo, la flecha gira */
.accordion-toggle.active::after {
    transform: rotate(180deg); /* Flecha hacia arriba */
}

/* Estilos para el contenido del acordeón (la lista de filtros) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding-top: 1rem;
    display: flex;          /* Activa Flexbox */
    flex-direction: column;   /* Apila los elementos verticalmente */
    gap: 0.75rem;             /* Añade espacio entre cada opción */
}

/* Estilos para cada opción de filtro (checkbox + texto) */
.checkbox-label {
    display: flex;          /* Usa flex para alinear el cuadrado y el texto */
    align-items: center;    /* Centra verticalmente el cuadrado con el texto */
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-label input {
    margin-right: 0.75rem;   /* Espacio entre el cuadrado y el texto */
    width: 18px;
    height: 18px;
}
/* Estilos para el contenedor de confirmación de PayPal */
.paypal-confirm-container {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid var(--color-borders);
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.paypal-confirm-container input[type="checkbox"] {
    margin-right: 0.75rem;
    min-width: 18px;
    min-height: 18px;
}

/* Estilo para el botón de PayPal cuando está deshabilitado */
a.submit-btn.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    pointer-events: none; /* Evita que se pueda hacer clic */
}
/* Estilo para los logos en las opciones de pago */
.payment-logo {
    height: 25px; /* Ajusta el tamaño si es necesario */
    vertical-align: middle;
    margin-right: 8px;
}
/* Estilos para el campo de notas en la página de checkout */
textarea#order-notes {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-borders);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
}
/* Estilos para la caja de aviso de pago en checkout */
.payment-disclaimer-box {
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background-color: #fffafc; /* Un fondo rosa muy claro */
}
.payment-disclaimer-box h4 {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}
.payment-disclaimer-box ul {
    padding-left: 20px;
    margin-bottom: 0;
    line-height: 1.6;
}
.payment-disclaimer-box li {
    margin-bottom: 0.5rem;
}
.payment-disclaimer-box li:last-child {
    margin-bottom: 0;
}
/* ========================================= */
/* ESTILOS PARA CARRITO DESLIZABLE AVANZADO  */
/* ========================================= */

/* --- Cabecera del Carrito --- */
.flyout-cart-header {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten */
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    padding-bottom: 0; /* Quitamos el padding inferior para dar espacio a la barra */
    border-bottom: 1px solid var(--color-borders);
}
.flyout-cart-header h3 {
    width: 100%; /* Ocupa todo el ancho para estar debajo de la barra */
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-headings);
    font-size: 1.5rem;
}
.close-flyout-btn {
    position: absolute; /* Posiciona el botón de cierre */
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Barra de Envío Gratis --- */
.free-shipping-bar {
    width: 100%;
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-borders);
}
.free-shipping-bar p {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 0.9rem;
}
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--color-borders);
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* --- Controles de Items en el Carrito --- */
.flyout-cart-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.flyout-item-details {
    flex-grow: 1;
}
.flyout-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}
.flyout-remove-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
}
.quantity-selector-flyout {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-borders);
    border-radius: 5px;
}
.quantity-selector-flyout button {
    background: none; border: none; padding: 0.25rem 0.5rem; cursor: pointer; font-size: 1rem;
}
.quantity-selector-flyout input {
    width: 30px; text-align: center; border: none; font-size: 0.9rem;
    border-left: 1px solid var(--color-borders);
    border-right: 1px solid var(--color-borders);
}
/* --- Campo de Código de Descuento --- */
.discount-code-container {
    display: flex;
    margin-bottom: 1rem;
    border: 1px solid var(--color-borders);
    border-radius: 5px;
    overflow: hidden;
}
.discount-code-container input {
    border: none;
    padding: 0.75rem;
    flex-grow: 1;
}
.discount-code-container input:focus {
    outline: none;
}
.discount-code-container button {
    border: none;
    background-color: var(--color-card-bg);
    padding: 0 1rem;
    font-weight: 700;
    cursor: pointer;
    border-left: 1px solid var(--color-borders);
}
/* Estilos para los botones de acción del flyout cart */
.flyout-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Espacio entre los botones */
    margin-top: 1rem;
}

/* Estilo para el botón secundario "Ver Carrito" */
.view-cart-btn {
    display: block;
    width: 100%;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-borders);
    padding: 1rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-cart-btn:hover {
    background-color: var(--color-card-bg);
    border-color: var(--color-text);
}
/* ================================ */
/* POSICIONAMIENTO DEL CARRITO      */
/* ================================ */

.flyout-cart-panel { 
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 100%; 
    max-width: 400px; 
    height: 100%; 
    background-color: white; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
    z-index: 2000; 
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out; 
    display: flex; 
    flex-direction: column; 
}

.flyout-cart-panel.active { 
    transform: translateX(0); 
}
/* ========================================= */
/* ESTILOS CORRECTOS DEL CARRITO DESLIZABLE  */
/* ========================================= */

.flyout-cart-panel { 
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 100%; 
    max-width: 400px; 
    height: 100%; 
    background-color: white; 
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); 
    z-index: 2000; 
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out; 
    display: flex; 
    flex-direction: column; 
}

.flyout-cart-panel.active { 
    transform: translateX(0); 
}

.flyout-cart-header { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.5rem; 
    padding-bottom: 0;
}

.flyout-cart-header h3 { 
    width: 100%; 
    text-align: center; 
    margin-top: 1rem; 
    font-family: var(--font-headings); 
    font-size: 1.5rem; 
}

.close-flyout-btn { 
    position: absolute; 
    top: 1.5rem; 
    right: 1.5rem; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

.flyout-cart-items { 
    flex-grow: 1; 
    overflow-y: auto; 
    padding: 1.5rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
}

.flyout-cart-footer { 
    padding: 1.5rem; 
    border-top: 1px solid var(--color-borders); 
}
/* ========================================= */
/* ESTILOS PARA FILTRO ANIDADO DE MARCAS     */
/* ========================================= */

.brand-group {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-borders);
}

.brand-group:last-child {
    border-bottom: none;
}

.brand-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* El contenedor de la checkbox de la marca ocupa el espacio disponible */
.brand-toggle .checkbox-label {
    flex-grow: 1;
}

/* La flecha para desplegar */
.toggle-arrow {
    font-size: 1rem;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.toggle-arrow.is-open {
    transform: rotate(180deg);
}

/* La lista de modelos, oculta por defecto */
.model-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding-left: 2rem; /* Indentación para los modelos */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-list.is-open {
    padding-top: 1rem;
}

/* Etiqueta de cada modelo */
.model-label {
    font-weight: 400; /* Menos peso que la marca */
    font-size: 0.95rem;
}
/* ================================================= */
/* SECCIÓN NUESTRAS MEJORES MARCAS (DISEÑO NIKE) */
/* ================================================= */
.brands-carousel-section {
    padding: 4rem 0;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-borders);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#scroll-left-btn {
    left: 2%;
}

#scroll-right-btn {
    right: 2%;
}

.brands-carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
    width: 100%;
    /* Desplazamiento suave */
    scroll-behavior: smooth;
    /* Ocultar la barra de scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brands-carousel-container::-webkit-scrollbar {
    display: none;
}

.brand-card {
    flex: 0 0 320px;
    width: 320px;
    height: 420px;
    position: relative;
    text-decoration: none;
    display: block;
    border-radius: 16px;
}

.brand-card .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 1;
}

.brand-card .card-sneaker {
    position: absolute;
    top: 5%;
    left: 50%;
    width: 110%;
    transform: translateX(-50%) rotate(-20deg);
    transition: transform 0.4s ease-in-out;
    z-index: 3;
    filter: drop-shadow(0 15px 10px rgba(0,0,0,0.4));
}

.brand-card:hover .card-sneaker {
    transform: translateX(-50%) rotate(-5deg) scale(1.05);
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2; /* Entre el fondo y la zapatilla */
}

.brand-name {
    font-family: var(--font-headings);
    color: white;
    font-size: 2.5rem;
    text-transform: uppercase;
    line-height: 1;
}
/* ========================================= */
/* ANIMACIÓN DE BRILLO PARA BOTÓN FILTROS  */
/* ========================================= */

@keyframes glow-animation {
  0%, 100% {
    box-shadow: 0 0 5px var(--color-accent), 0 0 10px rgba(255, 0, 122, 0.3);
  }
  50% {
    box-shadow: 0 0 10px var(--color-accent), 0 0 15px var(--color-accent), 0 0 40px rgba(255, 0, 122, 0.5);
  }
}
/* ========================================= */
/* ESTILOS PARA BARRA DE ANUNCIOS ROTATIVA   */
/* ========================================= */

/* Quitamos el borde del header principal, ya que ahora lo tendrá la barra de anuncios */
.main-header {
    border-bottom: none;
}

.promo-banner-container {
    background-color: #f5f5f5;
    color: #111;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    height: 40px; /* Grosor de la barra */
    line-height: 40px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--color-borders); /* Borde que antes tenía el header */
}

.promo-messages {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

/* --- ANIMACIÓN HORIZONTAL --- */
.promo-messages li {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50%); /* Inicia a la derecha */
    transition: transform 0.5s ease, opacity 0.5s ease;
    padding: 0 50px;
}
.promo-messages li.active {
    opacity: 1;
    transform: translateX(0); /* Posición activa, en el centro */
}
.promo-messages li.exit {
    transform: translateX(-50%); /* Se va hacia la izquierda */
}
.promo-messages li.prepare {
    transition: none; /* Desactiva la animación temporalmente */
}
/* --- FIN DE ANIMACIÓN HORIZONTAL --- */

.promo-messages a {
    color: inherit;
    text-decoration: underline;
}

.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    padding: 0 15px;
    color: #333;
    user-select: none;
    z-index: 3;
}
.promo-prev { left: 5px; }
.promo-next { right: 5px; }

/* Ajuste para el contenido de la página para que no quede debajo del header completo */
.page-content, .hero-section {
    padding-top: calc(5rem + 40px); /* Padding original + altura de la barra */
}
/* ========================================= */
/* ESTILOS DE RESEÑAS (VERSIÓN SIMPLIFICADA) */
/* ========================================= */

.reviews-ticker {
    background-color: transparent !important;
    overflow: hidden; /* Mantenemos esto para evitar barras de desplazamiento */
    padding: 2rem 0; /* Un padding normal */
}

.review-card {
    border: 2px solid var(--color-accent); /* Mantenemos solo el borde rosa */
    background-color: white !important;
    /* Se ha eliminado el box-shadow (brillo) */
}
/* ========================================= */
/* ESTILOS PARA LA BARRA DE BÚSQUEDA         */
/* ========================================= */

/* Contenedor principal del buscador */
.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

/* Estilo y posición del ícono de la lupa */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: color 0.3s ease;
}

/* Ajuste del input para que el texto no choque con la lupa */
#product-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--color-borders);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* EFECTO DE BRILLO NEÓN AL HACER FOCO */
#product-search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(255, 0, 122, 0.5);
}

#product-search-input:focus + .search-icon {
    color: var(--color-accent); /* Cambia el color del ícono al hacer foco */
}
/* ========================================= */
/* ESTILOS PARA FILTROS ANIDADOS (MARCA/MODELO) */
/* ========================================= */
.brand-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    padding: 5px;
}

.toggle-arrow.is-open {
    transform: rotate(180deg);
}

.model-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding-left: 20px; /* Indentación para los modelos */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.model-list.is-open {
    margin-top: 0.75rem;
}
/* Estilos para el nuevo botón de filtros en móvil */
.cta-filter-btn {
    display: none; /* Oculto en escritorio */
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    background-color: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cta-filter-btn:hover {
    background-color: var(--color-accent);
    color: white;
}

@media (max-width: 768px) {
    .filter-toggle-btn {
        display: none; /* Ocultamos el botón pequeño en móvil */
    }
    .cta-filter-btn {
        display: flex; /* Mostramos el botón grande en móvil */
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    .shop-controls {
        flex-wrap: wrap; /* Permite que los elementos se ajusten */
        gap: 1rem;
    }
    /* Animación de aparición para las tarjetas de producto */
    .product-card-link {
        display: block;
        opacity: 0; /* Oculto por defecto */
        animation: fadeIn 0.6s ease-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
} /* <-- Cierre del primer @media (max-width: 768px) */

/* ========================================= */
/* AJUSTE DE PRECIO PARA VERSIÓN MÓVIL (Final) */
/* ========================================= */
@media (max-width: 768px) {
    .current-price {
        font-size: 1.1rem; /* Reducimos ligeramente el tamaño general en móvil */
    }
    .price-range-full {
        display: none !important; /* Mantenemos este por si acaso */
    }
/* --- ESTILOS PARA LA LÍNEA DE TIEMPO DE ENTREGA --- */

/* Contenedor principal */
.delivery-timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem; /* Espacio debajo del botón de carrito */
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/* Cada paso individual (ícono + texto) */
.timeline-step {
    display: flex;
    flex-direction: column; /* Apila el ícono sobre el texto */
    align-items: center;
    text-align: center;
    flex-basis: 100px; /* Base de ancho para cada paso */
}

/* Estilo para los íconos */
.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef; /* Color para pasos inactivos */
    color: #6c757d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

/* Estilo para el ícono del paso activo */
.timeline-step.active .timeline-icon {
    background-color: var(--color-accent); /* Usa tu color principal */
    color: #fff;
}

/* Contenido de texto de cada paso */
.timeline-content .timeline-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.timeline-content .timeline-date {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Línea que conecta los pasos */
.timeline-connector {
    flex-grow: 1;
    height: 2px;
    background-color: #e9ecef;
    margin: 0 1rem;
    margin-bottom: 2rem; /* Ajusta para alinear con los íconos */
}
/* ========================================= */
/* ESTILOS PARA SECCIÓN DE FAQ (ACORDEÓN)    */
/* ========================================= */

.faq-section {
    padding: 4rem 0;
    border-top: 1px solid var(--color-borders);
    margin-top: 4rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-borders);
    border-radius: 8px;
    overflow: hidden; /* Importante para el efecto de despliegue */
}

.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    background-color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--color-card-bg);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-right: 1rem;
}

.faq-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* Gira la flecha cuando el acordeón está activo */
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--color-card-bg);
    color: #495057;
    line-height: 1.7;
}

.faq-answer p, .faq-answer ul {
    margin: 0;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer ul {
    padding-left: 3rem; /* Indentación para la lista */
}
/* --- ESTILOS PARA COMPRA RÁPIDA EN TARJETAS DE PRODUCTO --- */

.product-card {
    position: relative; /* Necesario para el overlay */
    transition: all 0.3s ease;
}

.quick-add-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-sizing: border-box;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

/* Efectos al pasar el cursor sobre la tarjeta */
.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--color-accent), 0 0 25px rgba(255, 0, 122, 0.4); /* Efecto Neón Rosado */
}

.product-card-link:hover .quick-add-overlay {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Estilos de los elementos de compra rápida */
.quick-add-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.size-button-quick {
    background-color: #fff;
    border: 1px solid var(--color-borders);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.size-button-quick:hover {
    background-color: #f0f0f0;
}

.size-button-quick.selected {
    background-color: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}

.quick-add-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-quick-add, .btn-quick-view {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-quick-add {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-quick-add:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-quick-view {
    background-color: var(--color-text);
    color: #fff;
}
/* --- ESTILOS PARA MENÚ DESPLEGABLE --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 500px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    top: 100%; /* Posiciona el menú debajo del enlace */
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-borders);
    gap: 1.5rem;
    white-space: nowrap; /* Evita que el texto se rompa */
    display: flex; /* Oculto por defecto, se maneja con JS o hover */
    flex-wrap: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(10px) translateX(-50%);
}

.dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
}

.dropdown-column {
    padding: 0 1rem;
}

.dropdown-column:not(:last-child) {
    border-right: 1px solid var(--color-borders);
}

.dropdown-column h4 {
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-borders);
    padding-bottom: 0.25rem;
}

.dropdown-content a {
    color: var(--color-text);
    padding: 0.5rem 0;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
}

.dropdown-content a:hover {
    color: var(--color-accent);
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ocultar en móvil */
@media (max-width: 768px) {
    .main-nav .dropdown {
        display: none;
    }
}