/* ================================ */
/* ESTILOS COMUNES Y GLOBALES       */
/* ================================ */
:root {
    --color-background: #FFFFFF;
    --color-card-bg: #F7F5F2;
    --color-accent: #E63329;
    --color-text: #121212;
    --color-borders: #E7E3DD;
    --font-headings: 'Shippori Antique', serif;
    --font-body: 'Assistant', 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: #FFFFFF;
    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: 46px; }
.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: none;
        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;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    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); }
.social-icons img { display: block; width: 38px; height: 38px; object-fit: contain; }
.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;
}
/* ========================================= */
/* CARRITO DESLIZABLE (FLYOUT)                */
/* ========================================= */

.flyout-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: #fff;
    box-shadow: none;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.flyout-cart-panel.active {
    transform: translateX(0);
    box-shadow: -12px 0 40px -12px rgba(18,18,18,0.35);
}

/* --- Cabecera --- */
.flyout-cart-header {
    position: relative;
    padding: 1.5rem 1.5rem 0;
    background: linear-gradient(180deg, var(--color-card-bg) 0%, #fff 100%);
    border-bottom: 1px solid var(--color-borders);
}

.flyout-cart-header h3 {
    width: 100%;
    text-align: center;
    margin: 0.25rem 0 1.25rem;
    font-family: var(--font-headings);
    font-size: 1.5rem;
}

.close-flyout-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--color-borders);
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.close-flyout-btn:hover {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

/* --- Barra de Envío Gratis --- */
.free-shipping-bar {
    width: 100%;
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 0;
}

.free-shipping-bar p {
    margin: 0 0 0.6rem 0;
    font-weight: 700;
    font-size: 0.85rem;
}

.free-shipping-bar p::before {
    content: '🚀 ';
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--color-borders);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #ff6b5f);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* --- Lista de items --- */
.flyout-cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--color-card-bg);
}

.flyout-cart-items p {
    text-align: center;
    color: #6c757d;
    margin-top: 2rem;
}

.flyout-cart-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid var(--color-borders);
    border-radius: 12px;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
}

.flyout-cart-item:hover {
    box-shadow: 0 8px 20px -12px rgba(18,18,18,0.25);
}

.flyout-cart-item img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--color-borders);
}

.flyout-item-details {
    flex-grow: 1;
}

.flyout-item-details h4 {
    font-family: var(--font-headings);
    font-size: 1rem;
    margin: 0 0 0.2rem;
    line-height: 1.25;
}

.flyout-item-details p {
    margin: 0.1rem 0 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.flyout-item-details p:last-child {
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.35rem;
}

.flyout-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.flyout-remove-btn {
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.flyout-remove-btn:hover {
    color: var(--color-accent);
}

.quantity-selector-flyout {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-borders);
    border-radius: 999px;
    overflow: hidden;
    background-color: var(--color-card-bg);
}

.quantity-selector-flyout button {
    background: none;
    border: none;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.quantity-selector-flyout button:hover {
    color: var(--color-accent);
}

.quantity-selector-flyout input {
    width: 26px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
}

/* --- Campo de Código de Descuento (carrito, flyout y checkout) --- */
.discount-code-box { margin-bottom: 1.25rem; }
.discount-code-row { display: flex; gap: 0.6rem; }
.discount-code-row input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--color-borders);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
}
.discount-code-row input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 5px rgba(230, 51, 41, 0.35); }
.discount-code-row button {
    background-color: var(--color-text);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 1.2rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}
.discount-code-row button:hover { background-color: var(--color-accent); }
.discount-code-message { display: none; font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }
.discount-code-message.visible { display: block; }
.discount-code-message.success { color: #1e7b40; }
.discount-code-message.error { color: #b3261e; }
.discount-code-applied-row { display: none; align-items: center; justify-content: space-between; background-color: #eaf7ee; border: 1px solid #b7e3c6; border-radius: 6px; padding: 0.7rem 1rem; font-size: 0.88rem; }
.discount-code-applied-row span:last-child { color: #1e7b40; font-weight: 700; }
.discount-code-remove { background: none; border: none; color: #6c757d; text-decoration: underline; font-size: 0.75rem; cursor: pointer; margin-left: 0.5rem; }

/* --- Fila de descuento en flyout (más compacta) --- */
.flyout-discount-box { padding: 0 0 0.75rem; }
.flyout-discount-box .discount-code-row input { padding: 0.65rem 0.8rem; font-size: 0.85rem; }
.flyout-discount-box .discount-code-row button { padding: 0 0.9rem; font-size: 0.75rem; }
.flyout-discount-box .discount-code-applied-row { padding: 0.55rem 0.8rem; font-size: 0.8rem; }

/* --- Footer del flyout --- */
.flyout-cart-footer {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-borders);
    background-color: #fff;
}

.flyout-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.flyout-subtotal-row span:first-child {
    color: #6c757d;
}

.flyout-subtotal-row span:last-child {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-weight: 700;
}

.flyout-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.view-cart-btn {
    display: block;
    width: 100%;
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-borders);
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.view-cart-btn:hover {
    background-color: var(--color-card-bg);
    border-color: var(--color-text);
}

.flyout-cta-buttons .checkout-btn {
    display: block;
    width: 100%;
    background-color: var(--color-accent);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px -10px rgba(230,51,41,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flyout-cta-buttons .checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(230,51,41,0.7);
}

/* --- Overlay oscuro detrás del flyout --- */
.flyout-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18,18,18,0.45);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flyout-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* ========================================= */
/* 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) */
}
/* Los bordes que se desvanecen toman el color del fondo de la página (antes quedaban negros sobre fondo blanco) */
.reviews-ticker::before { background: linear-gradient(to right, var(--color-background), rgba(255, 255, 255, 0)) !important; }
.reviews-ticker::after { background: linear-gradient(to left, var(--color-background), rgba(255, 255, 255, 0)) !important; }
/* ========================================= */
/* 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;
    }
}

/* ========================================================= */
/* ESTILOS PROPIOS DE ELEVA(T) - TIENDA DE UN SOLO PRODUCTO   */
/* ========================================================= */

/* --- Hero de producto único (home) --- */
.single-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-color: var(--color-card-bg);
    overflow: hidden;
}
.single-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.single-hero-copy .eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.single-hero-copy h1 {
    font-family: var(--font-headings);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}
.single-hero-copy h1 em {
    font-style: normal;
    color: var(--color-accent);
}
.single-hero-copy p.subtitle {
    font-size: 1.15rem;
    color: #4b4b4b;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 1.75rem;
}
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}
.hero-trust-row span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b4b4b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.single-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}
.single-hero-media img {
    max-width: 100%;
    border-radius: 16px;
}
.hero-badge-float {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--color-text);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Franja de beneficios (íconos) --- */
.benefits-strip {
    padding: 3rem 0;
    border-top: 1px solid var(--color-borders);
    border-bottom: 1px solid var(--color-borders);
}
.benefits-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.benefit-item {
    text-align: center;
    padding: 0 1rem;
}
.benefit-item .benefit-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.benefit-item h3 { font-family: var(--font-headings); font-size: 1.15rem; margin-bottom: 0.5rem; }
.benefit-item p { color: #6c757d; font-size: 0.95rem; line-height: 1.5; }

/* --- Selector de altura tipo "swatch" --- */
.height-selector { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.height-swatch {
    background-color: #fff;
    border: 2px solid var(--color-borders);
    color: var(--color-text);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s ease;
    min-width: 90px;
}
.height-swatch .swatch-cm { display: block; font-size: 1.05rem; }
.height-swatch .swatch-note { display: block; font-size: 0.72rem; font-weight: 400; color: #8a8a8a; }
.height-swatch .swatch-price { display: block; font-size: 0.85rem; font-weight: 700; margin-top: 0.3rem; color: var(--color-accent); }
.height-swatch:hover { border-color: var(--color-text); }
.height-swatch.active { background-color: var(--color-text); border-color: var(--color-text); color: #fff; }
.height-swatch.active .swatch-note { color: #d8d8d8; }
.height-swatch.active .swatch-price { color: #fff; }

/* --- Comparativa "antes / con Eleva(T)" --- */
.compare-section { padding: 5rem 0; text-align: center; }
.compare-image {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    display: block;
}

/* --- Bloque de "cómo se usa" (pasos) --- */
.how-it-works { padding: 5rem 0; background-color: var(--color-card-bg); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.step-item { text-align: center; }
.step-number {
    width: 48px; height: 48px;
    border-radius: 50%;
    background-color: var(--color-text);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-headings);
    margin: 0 auto 1rem;
}
.step-item h4 { font-family: var(--font-headings); margin-bottom: 0.5rem; }
.step-item p { color: #6c757d; font-size: 0.95rem; }

/* --- Sección "Mira este video" --- */
.video-section { padding: 5rem 0; text-align: center; }
.video-player-wrapper {
    max-width: 380px;
    margin: 2rem auto 0;
    border-radius: 14px;
    overflow: hidden;
    background-color: #000;
    position: relative;
    aspect-ratio: 9 / 16;
}
.video-player-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.video-play-button {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--color-text);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.video-play-button:hover { background-color: #fff; transform: translate(-50%, -50%) scale(1.05); }
.video-player-wrapper.playing .video-play-button { display: none; }

/* --- Countdown de despacho --- */
.dispatch-banner {
    background-color: var(--color-text);
    color: #fff;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.dispatch-banner strong { color: var(--color-accent); }

@media (max-width: 992px) {
    .single-hero .container { grid-template-columns: 1fr; text-align: center; }
    .single-hero-copy p.subtitle { margin-left: auto; margin-right: auto; }
    .hero-trust-row { justify-content: center; }
    .compare-grid { grid-template-columns: 1fr; }
}
.retracto-aviso { margin: 0.75rem 0; font-size: 0.85rem; line-height: 1.45; color: #555; }
.retracto-aviso a { color: inherit; font-weight: 600; text-decoration: underline; }
/* Aviso de exclusión del retracto: una línea clara de tamaño normal junto al precio */
.retracto-excl { margin: 0.75rem 0 0.5rem; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.flyout-cart-footer .retracto-excl { margin: 0 0 1rem; }
.cart-shipping-note { margin: 0.5rem 0 0.75rem; font-size: 0.8rem; color: #6c757d; line-height: 1.4; }
/* Con el panel del carrito o el menú abierto, el aviso de cookies y las pestañas laterales no tapan "Proceder al Pago"; vuelven al cerrar */
body:has(.flyout-cart-panel.active) #elevat-consent-banner,
body:has(.flyout-cart-panel.active) .side-tabs-container,
body.mobile-menu-is-open #elevat-consent-banner,
body.mobile-menu-is-open .side-tabs-container { display: none !important; }

/* --- Texto de apoyo para buscadores (inicio y ficha): se lee como cualquier otra sección --- */
.seo-texto { padding: 3rem 0; background-color: var(--color-background); }
.seo-texto .container { max-width: 820px; }
.seo-texto .section-title { text-align: center; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.2; margin-bottom: 1.25rem; }
.seo-texto p { line-height: 1.7; color: #495057; margin: 0 0 1rem; }
