/*
Theme Name: Vehicore Child
Theme URI: https://example.com/vehicore
Author: AI Frontend Engineer
Author URI: https://example.com/
Description: Un tema hijo para 'hostinger-ai-theme' que implementa un diseño personalizado para la tienda de accesorios de coche Vehicore.
Version: 1.1.0
Requires at least: 5.2
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vehicore-child
Template: hostinger-ai-theme
*/

:root {
    /* ---------------------------------------------------- */
    /* COLORES ACTUALIZADOS - BLANCO MÁS GRIS Y NEGRO MÁS OSCURO */
    /* ---------------------------------------------------- */
    --primary-color: #0D0D0D; /* Negro más oscuro */
    --dark-bg: #FAFAFA; /* Fondo Principal: BLANCO GRISÁCEO */
    --card-bg-base: #FFFFFF; /* Fondo de Tarjetas: BLANCO PURO */
    --text-color: #1A1A1A;    /* Texto Principal: NEGRO MÁS OSCURO */
    --text-secondary: #666666; /* Texto Secundario: Gris Medio */
    
    /* Textos que aparecen sobre las tarjetas negras o semi-transparentes */
    --text-on-dark: #F5F5F5;  /* Texto Principal Sobre Fondo Oscuro */
    --text-on-dark-secondary: #CCCCCC; /* Texto Secundario Sobre Fondo Oscuro */
    
    /* Bordes y Separadores - SIN BORDES VISIBLES */
    --border-color-light: transparent; /* Borde eliminado */
    --border-color-dark: transparent; /* Borde eliminado */
    
    /* Barra Superior y Overlays */
    --overlay-bg: rgba(0, 0, 0, 0.95); /* Negro más oscuro transparente */

    /* Color de oferta/precio */
    --price-color: #CC0000; /* Rojo Fuerte */ 

    /* Sombras más sutiles */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Svenings', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* Typography con Svenings */
h1, h2, h3, .nav-title .site-title a {
    font-family: 'Svenings', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    background-color: var(--overlay-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: none; /* Eliminamos el borde inferior */
}

.nav-title {
    flex-shrink: 0;
}

.nav-title .site-title {
    margin: 0;
    line-height: 1;
}

.nav-title .site-title a {
    font-size: 1.7rem;
    color: var(--text-on-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-title .custom-logo-link {
    display: flex;
    align-items: center;
}

.nav-title .custom-logo {
    max-height: 40px;
    width: auto;
}

.search-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.search-form {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.search-field {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-on-dark);
    font-size: 1rem;
    font-family: 'Svenings', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
}

.search-field:focus {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.search-submit {
    display: none;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icons a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-icons a:hover {
    color: var(--text-on-dark-secondary);
    transform: translateY(-2px);
}

.nav-icons svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* Customization for Cart Link: Image Icon Replacement */
.nav-icons a.cart-contents svg,
.nav-icons a[class*="cart"] svg,
.nav-icons a[aria-label*="carrito" i] svg,
.nav-icons a[aria-label*="cart" i] svg {
    display: none !important;
}

.nav-icons a.cart-contents::after,
.nav-icons a[class*="cart"]::after,
.nav-icons a[aria-label*="carrito" i]::after,
.nav-icons a[aria-label*="cart" i]::after {
    content: none !important;
}

.nav-icons a.cart-contents,
.nav-icons a[class*="cart"],
.nav-icons a[aria-label*="carrito" i],
.nav-icons a[aria-label*="cart" i] {
    width: 26px;
    height: 26px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/icono_carrito.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
}

/* ==================================== */
/* ESTILOS DE LA CUADRÍCULA DE PRODUCTOS */
/* ==================================== */

.shop-page-title {
    padding-top: 120px;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.products-separator {
    max-width: 200px;
    margin: 0 auto 3rem;
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.product-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
}

.product-cards-grid .product-card {
    background-color: var(--card-bg-base);
    border: none; /* ELIMINAMOS EL BORDE */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.product-cards-grid .product-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-8px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    width: 100%;
    background: var(--dark-bg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-cards-grid .product-card:hover .product-image {
    transform: scale(1.08);
}

.product-details {
    padding: 1.5rem;
    flex-grow: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-cards-grid .product-card .product-title {
    font-family: 'Svenings', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 500;
    margin: 0;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8rem;
}

.product-cards-grid .price,
.product-cards-grid .product-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--price-color);
    margin: 0;
    line-height: 1;
}

.product-cards-grid .price del {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-actions {
    margin-top: auto;
    text-align: center;
    padding-top: 1rem;
}

/* ESTILO UNIFICADO PARA TODOS LOS BOTONES */
.product-cards-grid .buy-button, 
.product-cards-grid .button.add_to_cart_button,
.product-cards-grid .button.product_type_simple,
.product-cards-grid .button.added_to_cart,
.buy-button,
.cta-button,
#load-more-reviews-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Svenings', sans-serif;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    line-height: 1;
    text-align: center;
}

.product-cards-grid .buy-button:hover,
.product-cards-grid .button.add_to_cart_button:hover,
.buy-button:hover,
.cta-button:hover,
#load-more-reviews-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==================================== */
/* CARRUSEL - TARJETAS MEJORADAS 2*/
/* ==================================== */

.carousel-container {
    padding: 4rem 0;
    overflow: hidden;
    background: var(--dark-bg);
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel {
    display: flex;
    width: max-content;
    will-change: transform;
    gap: 2.5rem;
}

.carousel-wrapper:hover .carousel {
    animation-play-state: paused;
}

.carousel-left {
    animation: scroll-left 40s linear infinite;
}

.carousel-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* TARJETA DEL PRODUCTO */
.product-card {
    background: var(--card-bg-base);
    border: none;
    border-radius: 6px;
    margin: 0 1rem;
    width: 340px;
    height: 450px; /* Aumentado para dar más espacio a la imagen */
    flex-shrink: 0;
    text-align: center;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-5px);
}

/* ENLACE DEL PRODUCTO */
.carousel-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* TÍTULO DEL PRODUCTO - ARRIBA */
.carousel-product-title {
    font-weight: 600;
    font-family: 'Svenings', sans-serif;
    color: var(--text-color);
    font-size: 1.05rem;
    margin: 0;
    padding: 1rem 1.25rem 0.5rem;
    line-height: 1.4;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 55px;
    pointer-events: none;
    flex-shrink: 0;
}

/* CONTENEDOR DE IMAGEN - MÁS GRANDE */
.carousel-image-container {
    position: relative;
    width: 100%;
    height: 260px; /* AUMENTADO de 180px a 260px */
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ELIMINAR DEGRADADO LATERAL - ERA LO QUE CAUSABA EL BORDE CUADRADO */
.carousel-image-container::before,
.carousel-image-container::after {
    display: none; /* ELIMINADO */
}

/* IMAGEN DEL PRODUCTO - MÁS GRANDE */
.carousel-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px; /* Espaciado interno */
    transition: transform 0.5s ease;
}

.product-card:hover .carousel-product-image {
    transform: scale(1.08);
}

/* PRECIO - SOLO DE MUESTRA, NO INTERACTIVO */
.carousel-product-price {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--price-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 2;
}

/* BOTÓN "COMPRAR AHORA" - NEGRO CARBÓN CON EFECTOS */
.carousel-buy-text,
.carousel-coming-soon {
    display: inline-block;
    margin: 0 1.25rem 1.25rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Svenings', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none; /* ELIMINADO EL BORDE */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* EFECTO DE BRILLO AL PASAR EL MOUSE */
.carousel-buy-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.carousel-buy-text:hover::before {
    left: 100%;
}

/* HOVER - SE AGRANDA */
.carousel-buy-text:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.carousel-buy-text:active {
    transform: scale(1.02);
}

/* BOTÓN "PRÓXIMAMENTE" */
.carousel-coming-soon {
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.carousel-coming-soon:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-coming-soon::before {
    display: none;
}

/* ==================================== */
/* RESTO DE BOTONES - MISMO ESTILO NEGRO CARBÓN */
/* ==================================== */

/* BOTONES GENERALES */
.cta-button,
.buy-button,
.reviews-page-button,
.product-cards-grid .buy-button,
.product-cards-grid .button.add_to_cart_button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: none;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Svenings', sans-serif;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* EFECTO DE BRILLO */
.cta-button::before,
.buy-button::before,
.reviews-page-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-button:hover::before,
.buy-button:hover::before,
.reviews-page-button:hover::before {
    left: 100%;
}

/* HOVER */
.cta-button:hover,
.buy-button:hover,
.reviews-page-button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.cta-button:active,
.buy-button:active,
.reviews-page-button:active {
    transform: scale(1.02);
}

/* BOTÓN CTA MÁS GRANDE */
.cta-button {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-card {
        width: 300px;
        height: 420px;
    }
    
    .carousel-image-container {
        height: 240px;
    }
    
    .carousel-product-title {
        font-size: 1rem;
        padding: 1rem 1rem 0.5rem;
        min-height: 50px;
    }
    
    .carousel-buy-text,
    .carousel-coming-soon {
        padding: 0.875rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 260px;
        height: 400px;
    }
    
    .carousel-image-container {
        height: 220px;
    }
    
    .carousel-product-title {
        font-size: 0.95rem;
    }
}

/* ==================================== */
/* CTA SECTION */
/* ==================================== */

.cta-section {
    height: 50vh;
    background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
}

.cta-button {
    z-index: 1;
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ==================================== */
/* BESTSELLER SECTION - SIN BORDES */
/* ==================================== */

.bestseller-section {
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--dark-bg);
}

.bestseller-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 600;
}

.bestseller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.bestseller-card {
    background: var(--card-bg-base);
    border: none; /* ELIMINAMOS EL BORDE */
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
}

.bestseller-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.bestseller-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.bestseller-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.bestseller-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* ==================================== */
/* REVIEWS SECTION - SIN BORDES */
/* ==================================== */

.reviews-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--dark-bg);
}

.reviews-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    max-height: 550px;
    overflow: hidden;
    transition: max-height 0.8s ease-in-out;
}

.reviews-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--dark-bg) 90%);
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.reviews-grid.expanded {
    max-height: 2000px;
}

.reviews-grid.expanded::after {
    opacity: 0;
}

.review-card {
    background: var(--card-bg-base);
    border: none; /* ELIMINAMOS EL BORDE */
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-info h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.star-rating {
    display: flex;
    gap: 0.2rem;
}

.star-rating svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

.review-card blockquote {
    font-style: italic;
    font-family: 'Svenings', sans-serif;
    color: var(--text-secondary);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.load-reviews-container {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.load-reviews-container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* BOTÓN DE RESEÑAS UNIFICADO */
#load-more-reviews-btn {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--dark-bg);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

#load-more-reviews-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ==================================== */
/* FOOTER SECTION */
/* ==================================== */

.page-footer {
    background-color: var(--overlay-bg);
    padding: 5rem 2rem 2rem;
    margin-top: 4rem;
    border-top: none; /* Eliminamos el borde superior */
    opacity: 0;
    transform: translateY(100px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s;
}

.page-footer.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h3 {
    color: var(--text-on-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-on-dark-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Svenings', sans-serif;
}

.footer-column a:hover {
    color: var(--text-on-dark);
    transform: translateX(5px);
}

.footer-column p {
    color: var(--text-on-dark-secondary);
    line-height: 1.7;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

.social-title {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--text-on-dark-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-icons a:hover {
    color: var(--text-on-dark);
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--text-on-dark);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Svenings', sans-serif;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--text-on-dark);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

.newsletter-form button {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--text-on-dark);
    background: var(--text-on-dark);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Svenings', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background: transparent;
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-on-dark-secondary);
    font-size: 0.9rem;
}

/* ==================================== */
/* WOOCOMMERCE LAYOUT */
/* ==================================== */

.woocommerce-product-gallery {
    width: 48%;
    float: left;
    margin-right: 4%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.summary.entry-summary {
    width: 48%;
    float: right;
    box-sizing: border-box;
}

/* ==================================== */
/* RESPONSIVE DESIGN */
/* ==================================== */

@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .woocommerce-product-gallery,
    .summary.entry-summary {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 0.75rem 1rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-title {
        order: 1;
        flex-grow: 1;
    }
    
    .nav-icons {
        order: 2;
        gap: 1.2rem;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        display: block;
        padding: 0.5rem 0 0;
    }
    
    .search-form {
        max-width: none;
    }

    .nav-title .site-title a {
        font-size: 1.5rem;
    }
   
    .nav-icons svg {
        width: 24px;
        height: 24px;
    }

    body.home .hero-section,
    body.front-page .hero-section {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .product-card {
        width: 240px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .bestseller-section, .reviews-section {
        padding: 4rem 1rem;
    }

    .bestseller-section h2, .reviews-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .bestseller-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        max-height: 1200px;
    }

    .buy-button {
        font-size: 0.9rem;
        padding: 0.9rem 2rem;
    }

    .shop-page-title {
        padding-top: 140px;
        font-size: 2.2rem;
    }

    .product-cards-grid {
        padding: 0 1rem;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-column ul {
        display: inline-block;
        text-align: left;
    }
    
    .payment-methods, .social-icons {
        justify-content: center;
    }

    .newsletter-form {
        align-items: center;
    }

    .newsletter-form input, .newsletter-form button {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .shop-page-title {
        font-size: 1.8rem;
    }
    
    .product-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    .bestseller-card,
    .review-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-section {
        height: 40vh;
    }
}
/* ===================================================================
   ESTILOS PARA EL SISTEMA DE RESEÑAS RESTRINGIDAS
   AGREGAR SOLO ESTO AL FINAL DEL ARCHIVO shop-grid.css
   =================================================================== */

/* AVISOS DE RESTRICCIÓN */
.vehicore-notice {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    margin: 2rem auto;
    border-radius: 12px;
    border-left: 5px solid;
    background-color: #f8f9fa;
    max-width: 1200px;
}

.vehicore-notice-warning {
    border-left-color: #ffc107;
    background-color: #fff8e1;
}

.vehicore-notice-success {
    border-left-color: #28a745;
    background-color: #e8f5e9;
}

.vehicore-notice-info {
    border-left-color: #17a2b8;
    background-color: #e0f7fa;
}

.notice-icon {
    font-size: 1.8rem;
    min-width: 50px;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
}

.notice-content p {
    margin: 0 0 1rem;
    color: #666;
    line-height: 1.6;
}

.notice-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2A2A2A;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.notice-button:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* BARRA DE BÚSQUEDA Y FILTROS */
.reviews-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.reviews-filter-bar-wrap {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.reviews-filter-form {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-search-input {
    flex: 1;
    min-width: 250px;
    display: flex;
    gap: 0.5rem;
}

.filter-search-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-submit-btn {
    padding: 0.75rem 1rem;
    background: #2A2A2A;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    background: #1a1a1a;
}

.filter-controls-group {
    display: flex;
    gap: 1rem;
}

.filter-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-control label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.filter-control select {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.reviews-results-count {
    margin: 1rem 0 2rem;
    color: #666;
    font-size: 0.95rem;
}

/* LISTADO DE RESEÑAS */
.all-reviews-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.review-card-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #2A2A2A;
}

.review-content-wrap {
    margin-bottom: 1.5rem;
}

.review-header-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info {
    flex: 1;
}

.review-author {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #2A2A2A;
    font-weight: 600;
}

.review-date {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.verified-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #CC0000;
}

.star-filled {
    color: #CC0000;
}

.star-empty {
    color: #ddd;
}

.review-body {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.review-footer {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-title {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.product-title a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: 600;
}

.review-product-thumb img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.no-reviews-message {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-size: 1rem;
}

.reviews-pagination {
    text-align: center;
    margin: 3rem 0;
}

/* INFORMACIÓN DEL USUARIO EN FORMULARIO */
.user-review-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid #ddd;
}

.user-review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-review-details h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #2A2A2A;
    font-weight: 600;
}

.reviews-available {
    margin: 0;
    color: #2A7D32;
    font-weight: 600;
    font-size: 0.95rem;
}

/* FORMULARIO DESHABILITADO */
.form-disabled-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* SECCIÓN DE FORMULARIO */
.review-form-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.review-form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2A2A2A;
    font-weight: 600;
}

.comment-respond {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Svenings', sans-serif;
    font-size: 1rem;
    resize: vertical;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #2A2A2A;
    box-shadow: 0 0 0 3px rgba(42, 42, 42, 0.1);
}

.form-submit {
    margin-top: 1rem;
}

.form-submit button {
    background: #2A2A2A;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-submit button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.logged-in-as {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.logged-in-as a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: 600;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .reviews-filter-form {
        flex-direction: column;
    }
    
    .filter-controls-group {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-control select {
        width: 100%;
    }
    
    .review-header-meta {
        flex-direction: column;
    }
    
    .review-footer {
        flex-direction: column;
    }
    
    .user-review-info {
        flex-direction: column;
        text-align: center;
    }
    
    .review-form-section {
        padding: 1.5rem;
    }
}

/* ===================================================================
   MENU HAMBURGUESA LATERAL - VERSION COMPLETA Y FUNCIONAL
   Reemplazar desde aqui hasta el final del archivo shop-grid.css
   =================================================================== */

/* BOTON HAMBURGUESA */
.hamburger-menu {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-menu svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* OVERLAY OSCURO */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MENU LATERAL */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* HEADER DEL MENU */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #2A2A2A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-menu-header h2 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* CONTENIDO DEL MENU */
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* LISTA PRINCIPAL */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list > li {
    border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-list > li:last-child {
    border-bottom: none;
}

/* ENLACES DIRECTOS (sin submenu) */
.mobile-menu-list > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.mobile-menu-list > li > a:hover {
    background: #f5f5f5;
    padding-left: 2rem;
    color: #2A2A2A;
}

/* ITEMS CON SUBMENU */
.mobile-menu-list .menu-item-has-children {
    position: relative;
}

/* BOTON TOGGLE PARA SUBMENUS */
.menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: white;
    border: none;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Svenings', sans-serif;
}

.menu-toggle:hover {
    background: #f5f5f5;
    color: #2A2A2A;
}

.menu-toggle:active {
    background: #eeeeee;
}

/* FLECHA DROPDOWN */
.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: auto;
    color: #666;
}

.menu-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
    color: #2A2A2A;
}

/* SUBMENUS - VERSION CON DISPLAY (MAS DIRECTO) */
.mobile-menu .mobile-menu-list .submenu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    background: #f9f9f9 !important;
}

.mobile-menu .mobile-menu-list .submenu.active {
    display: block !important;
    border-top: 1px solid #e0e0e0 !important;
}

.mobile-menu .mobile-menu-list .submenu li {
    border-bottom: 1px solid #efefef !important;
}

.mobile-menu .mobile-menu-list .submenu li:last-child {
    border-bottom: none !important;
}

.mobile-menu .mobile-menu-list .submenu li a {
    display: block !important;
    padding: 0.875rem 1.5rem 0.875rem 3rem !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

.mobile-menu .mobile-menu-list .submenu li a:hover {
    background: #ffffff !important;
    color: #2A2A2A !important;
    border-left-color: #2A2A2A !important;
    padding-left: 3.5rem !important;
}

/* BLOQUEO DE SCROLL CUANDO MENU ESTA ABIERTO */
body.menu-open {
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-menu-list > li > a,
    .menu-toggle {
        padding: 0.875rem 1rem;
    }
    
    .submenu li a {
        padding-left: 2.5rem;
    }
    
    .submenu li a:hover {
        padding-left: 3rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
}

/* Mostrar hamburguesa siempre (ajustar según necesites) */
@media (min-width: 1025px) {
    .hamburger-menu {
        display: flex; /* Cambiado de 'none' a 'flex' */
    }
}

/* ============================================
   PÁGINA: TÉRMINOS Y CONDICIONES
   ============================================ */

/* Contenedor principal */
.terms-and-conditions-page {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Encabezado */
.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid #f5f5f5;
}

.terms-header h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.terms-header .page-description {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor flotante con efectos */
.terms-content-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.08),
        0 15px 35px rgba(0, 0, 0, 0.05);
    padding: 60px;
    margin: 30px auto;
    position: relative;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow: hidden;
}

.terms-content-container:hover {
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

/* Efecto de borde decorativo */
.terms-content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 20px 20px 0 0;
}

/* Efecto de esquinas decorativas */
.terms-content-container::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f8f9fa"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat center;
    opacity: 0.1;
    z-index: 0;
}

/* Contenido del texto */
.terms-content-container .entry-content {
    position: relative;
    z-index: 1;
}

.terms-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    position: relative;
}

.terms-content h2 {
    color: #2c3e50;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ecf0f1;
    font-size: 1.9rem;
    font-weight: 700;
    position: relative;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #3498db;
}

.terms-content h3 {
    color: #34495e;
    margin-top: 35px;
    margin-bottom: 18px;
    font-size: 1.5rem;
    font-weight: 600;
}

.terms-content h4 {
    color: #4a5568;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.terms-content p {
    margin-bottom: 20px;
    color: #555;
}

.terms-content ul, 
.terms-content ol {
    margin: 20px 0 25px 30px;
    color: #555;
}

.terms-content li {
    margin-bottom: 10px;
    position: relative;
}

.terms-content ul li::before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.terms-content ol {
    counter-reset: item;
}

.terms-content ol li {
    counter-increment: item;
}

.terms-content ol li::before {
    content: counter(item) ".";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -1.5em;
}

.terms-content strong {
    color: #2c3e50;
    font-weight: 700;
}

.terms-content em {
    color: #7f8c8d;
    font-style: italic;
}

/* Bloques importantes */
.terms-content blockquote,
.terms-content .important-note {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #3498db;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
    color: #495057;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.terms-content .warning-note {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    border-left: 4px solid #e74c3c;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    color: #c0392b;
}

/* Enlaces dentro del contenido */
.terms-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    transition: all 0.3s ease;
}

.terms-content a:hover {
    color: #2980b9;
    border-bottom: 1px solid #2980b9;
}

/* Responsive */
@media (max-width: 992px) {
    .terms-content-container {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .terms-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .terms-and-conditions-page {
        padding: 40px 15px;
    }
    
    .terms-content-container {
        padding: 30px 20px;
        margin: 15px;
        border-radius: 15px;
    }
    
    .terms-header h1 {
        font-size: 1.8rem;
    }
    
    .terms-content {
        font-size: 1rem;
    }
    
    .terms-content h2 {
        font-size: 1.5rem;
    }
    
    .terms-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .terms-content-container {
        padding: 25px 15px;
        margin: 10px;
    }
    
    .terms-header h1 {
        font-size: 1.6rem;
    }
    
    .terms-content {
        font-size: 0.95rem;
    }
    
    .terms-content ul, 
    .terms-content ol {
        margin-left: 20px;
    }
}

/* ============================================
   HERO CON VIDEO - VERSIÓN OPTIMIZADA
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Reducido para mejor performance */
    min-height: 500px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; /* Fondo negro como respaldo */
}

/* Contenedor de video optimizado */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay del HERO degradado blanco*/
/* Overlay modificado con degradado blanco en la parte inferior */
/* Overlay con degradado */
/* Overlay con degradado BLANCO en la parte inferior */
/* REEMPLAZA COMPLETAMENTE el .hero-overlay con esto: */
/* Usando tu variable --primary-color (#0D0D0D) */
/* Overlay con degradado BLANCO en la parte inferior */
/* Degradado con margen negativo para solapar */
/* DEGRADADO PROFESIONAL - SE FUSIONA CON EL BORDE */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        /* Capa 1: Contraste sutil para el texto (0-30%) */
        rgba(13, 13, 13, 0.15) 0%,
        rgba(13, 13, 13, 0.08) 15%,
        rgba(13, 13, 13, 0.03) 30%,
        
        /* Capa 2: Video completamente visible (30-65%) */
        transparent 35%,
        transparent 65%,
        
        /* Capa 3: Transición suave a negro (65-85%) */
        rgba(13, 13, 13, 0.05) 70%,
        rgba(13, 13, 13, 0.12) 73%,
        rgba(13, 13, 13, 0.22) 76%,
        rgba(13, 13, 13, 0.35) 79%,
        rgba(13, 13, 13, 0.5) 82%,
        rgba(13, 13, 13, 0.65) 85%,
        rgba(13, 13, 13, 0.78) 88%,
        rgba(13, 13, 13, 0.88) 91%,
        rgba(13, 13, 13, 0.94) 94%,
        rgba(13, 13, 13, 0.98) 97%,
        rgba(13, 13, 13, 1) 100%
    );
    z-index: 2;
    pointer-events: none;
    
    /* Asegura que cubra hasta el último pixel */
    bottom: 0;
}

/* Título - DEBE estar sobre el overlay */
.hero-title {
    position: relative;
    z-index: 3; /* Por encima de todo */
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    line-height: 1.1;
    margin-top: -20px; /* Ajusta según necesites */
    max-width: 800px;
}

/* Preloader ultra simple */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Indicador de carga simple */
.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 80%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% { 
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Optimizaciones de video */
video.hero-video {
    /* Fuerza la decodificación temprana */
    will-change: transform;
    /* Suaviza la renderización */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* Versión móvil */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-top: 0;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    /* Overlay más pronunciado en móvil */
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 20%,
            transparent 40%,
            rgba(0, 0, 0, 0.4) 80%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

/* Para conexiones lentas - mostrar imagen de respaldo */
@media (prefers-reduced-data: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-section {
        background: url('<?php echo get_stylesheet_directory_uri(); ?>/assets/images/hero-fallback.jpg') center/cover no-repeat;
        background-color: #1a1a1a;
    }
}

/*===================================================*/

/* ============================================
   PÁGINAS LEGALES (Políticas, Términos, Cookies)
   ============================================ */

/* Espaciado superior para evitar que el header tape el contenido */
.politicas-page,
.terminos-page,
.cookies-page {
    padding-top: 140px;
    max-width: 100%;
    margin: 0;
}

/* Sin márgenes laterales */
.politicas-page article,
.politicas-page .entry-content,
.terminos-page article,
.terminos-page .entry-content,
.cookies-page article,
.cookies-page .entry-content {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Responsive móvil */
@media (max-width: 768px) {
    .politicas-page,
    .terminos-page,
    .cookies-page {
        padding-top: 160px;
    }
}

/* ================================= ESTILOS PARA PÁGINA DE REGISTRO ==========================*/
.registrarse-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.registrarse-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.registrarse-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.registrarse-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.registrarse-header p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.registrarse-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder {
    color: #64748b;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.checkbox-group label {
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-group a {
    color: #60a5fa;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn-registrarse {
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    color: white;
    width: 100%;
}

.btn-registrarse:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.btn-registrarse:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.register-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.register-links a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-links a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.register-benefits {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-benefits h4 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.register-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register-benefits li {
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register-benefits li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.register-terms {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 30px;
    text-align: center;
}

.register-terms a {
    color: #60a5fa;
    text-decoration: none;
}

.register-terms a:hover {
    text-decoration: underline;
}

.register-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.register-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.register-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.register-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .registrarse-container {
        padding: 30px 20px;
    }
    
    .registrarse-header h1 {
        font-size: 1.8rem;
    }
}

/*==========================INICIAR-SESION.CSS - Página de Login ============================================ */

/* PÁGINA COMPLETA DE LOGIN */
.iniciar-sesion-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.iniciar-sesion-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* HEADER DEL LOGIN */
.iniciar-sesion-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.iniciar-sesion-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.iniciar-sesion-header p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* FORMULARIO DE INICIAR SESIÓN */
.iniciar-sesion-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #000000;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder {
    color: #64748b;
}

/* CHECKBOX PARA RECORDAR SESIÓN */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #000000;
}

.checkbox-group label {
    color: #cbd5e1;
    font-size: 0.95rem;
    cursor: pointer;
}

/* BOTÓN DE INICIAR SESIÓN */
.btn-iniciar-sesion {
    display: inline-block;
    width: 100%;
    padding: 1rem 2rem;
    background-color: #000000;
    border: 2px solid #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Svenings', sans-serif;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    margin-top: 10px;
}

.btn-iniciar-sesion:hover {
    background-color: transparent;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-iniciar-sesion:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ENLACES DEL LOGIN */
.login-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.login-links a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* MENSAJES */
.login-message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    display: none;
    font-size: 0.95rem;
}

.login-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.login-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* LOADER */
.login-loader {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* BENEFICIOS */
.login-benefits {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-benefits h4 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-benefits li {
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.login-benefits li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .iniciar-sesion-container {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .iniciar-sesion-header h1 {
        font-size: 2rem;
    }
}

/*============================= CARRUSEL PRODUCTOS RECIBIDOS =============================*/

.client-gallery-final {
    padding: 50px 0 70px;
    background: #000000;
    overflow: hidden;
}

.client-gallery-final h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.1rem;
    margin: 0 0 35px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-container-final {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-track-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gallery-track-final {
    display: flex;
    gap: 15px;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.gallery-item-final {
    flex: 0 0 420px;
    height: 650px;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.gallery-item-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== FLECHAS CHEVRON ===== */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    cursor: pointer;
    z-index: 100;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(1.08);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.gallery-arrow svg {
    width: 32px;
    height: 32px;
    display: block;
}

.gallery-arrow svg path {
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Posiciones */
.gallery-arrow.prev {
    left: 80px;
}

.gallery-arrow.next {
    right: 80px;
}

/* Degradados laterales */
.gallery-container-final::before,
.gallery-container-final::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

.gallery-container-final::before {
    left: 0;
    background: linear-gradient(90deg, #000000 0%, transparent 100%);
}

.gallery-container-final::after {
    right: 0;
    background: linear-gradient(-90deg, #000000 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item-final {
        flex: 0 0 320px;
        height: 520px;
    }
    
    .gallery-arrow {
        width: 55px;
        height: 55px;
    }
    
    .gallery-arrow svg {
        width: 28px;
        height: 28px;
    }
    
    .gallery-arrow.prev { 
        left: 30px; 
    }
    
    .gallery-arrow.next { 
        right: 30px; 
    }
}

@media (max-width: 480px) {
    .gallery-item-final {
        flex: 0 0 280px;
        height: 480px;
    }
    
    .gallery-arrow {
        width: 50px;
        height: 50px;
    }
    
    .gallery-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .gallery-arrow.prev { 
        left: 15px; 
    }
    
    .gallery-arrow.next { 
        right: 15px; 
    }
}


/*============================= PRODUCTO RECOMENDADO ===============================*/

.recommended-section {
    width: 100%;
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 600px;
    background: #1a1a1a;
}

/* IMAGEN DE FONDO - Ocupa todo */
.recommended-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* CONTENEDOR */
.recommended-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0;
}

/* TEXTO SOBRE LA MITAD IZQUIERDA */
.recommended-text {
    width: 50%;
    max-width: 700px;
    padding: 80px 60px 80px 80px;
    color: #ffffff;
}

.recommended-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #000000;
}

.recommended-desc {
    font-size: 1.35rem;
    line-height: 1.6;
    margin: 0 0 40px;
    color: #000000;
}

/* Botón CTA */
.recommended-text .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.recommended-text .cta-button:hover {
    background: #333333;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.recommended-text .cta-button:active {
    transform: translateY(-1px);
}

/* Responsive: Tablets */
@media (max-width: 1200px) {
    .recommended-section {
        min-height: 550px;
    }

    .recommended-container {
        min-height: 550px;
    }

    .recommended-text {
        width: 55%;
        padding: 60px 50px;
    }
    
    .recommended-title {
        font-size: 2.8rem;
    }
    
    .recommended-desc {
        font-size: 1.25rem;
    }
}

@media (max-width: 992px) {
    .recommended-section {
        min-height: 500px;
    }

    .recommended-container {
        min-height: 500px;
    }

    .recommended-text {
        width: 60%;
        padding: 50px 40px;
    }
    
    .recommended-title {
        font-size: 2.4rem;
    }
    
    .recommended-desc {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }

    .recommended-text .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
    }
}

/* Responsive: Móviles */
@media (max-width: 768px) {
    .recommended-section {
        min-height: 650px;
    }

    .recommended-container {
        min-height: 650px;
        align-items: flex-end;
    }

    .recommended-bg-image {
        background-position: right center;
    }

    /* Texto en la parte inferior con fondo oscuro */
    .recommended-text {
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 100%);
    }
    
    .recommended-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .recommended-desc {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 35px;
    }
    
    .recommended-text .cta-button {
        display: block;
        margin: 0 auto;
        text-align: center;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .recommended-section {
        min-height: 550px;
    }

    .recommended-container {
        min-height: 550px;
    }

    .recommended-text {
        padding: 40px 25px;
    }

    .recommended-title {
        font-size: 2rem;
        margin-bottom: 18px;
    }
    
    .recommended-desc {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .recommended-text .cta-button {
        padding: 15px 35px;
        font-size: 0.95rem;
    }
}

/*============================= PÁGINA PRODUCTOS MODERNA =============================*/

.vehicore-shop-page {
    padding-top: 80px;
    background: #f8f8f8;
    min-height: 100vh;
}

/* BARRA SUPERIOR */
.shop-top-bar {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 60px;
    z-index: 100;
}

.shop-top-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.shop-search-box {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-input-modern {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input-modern:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.filters-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* PANEL DE FILTROS LATERAL */
.filters-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.filters-panel.active {
    right: 0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: #000000;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.close-panel {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-panel:hover {
    transform: rotate(90deg);
}

.filters-body {
    padding: 25px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #000000;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.filter-checkbox-label:hover {
    background: #f5f5f5;
}

.filter-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.filter-checkbox-label span {
    font-size: 0.95rem;
    font-weight: 500;
}

.reset-btn {
    width: 100%;
    padding: 15px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.reset-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* CONTENEDOR DE PRODUCTOS */
.shop-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* GRID DE PRODUCTOS MEJORADO */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* TARJETA DE PRODUCTO V2 - MÁS ATRACTIVA */
.product-card-v2 {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-v2:hover .product-image img {
    transform: scale(1.1);
}

.product-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-v2:hover .product-hover-overlay {
    opacity: 1;
}

.view-btn {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-card-v2:hover .view-btn {
    background: #ffffff;
    color: #000000;
}

.product-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #000000;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-top: auto;
}

.add-to-cart-btn {
    width: 100%;
    padding: 16px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0 0 16px 16px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* SIN RESULTADOS */
.no-results {
    text-align: center;
    padding: 100px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results p {
    font-size: 1.3rem;
    color: #666666;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .filters-panel {
        width: 100%;
        right: -100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-details {
        padding: 15px;
    }

    .product-title {
        font-size: 1rem;
        min-height: 40px;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .filters-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-top-container {
        flex-direction: column;
    }

    .shop-search-box {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-v2 {
        border-radius: 12px;
    }
}

.custom-single-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.custom-product-gallery {
    display: flex;
    gap: 20px;
}

.gallery-thumbnails {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbnails .thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-thumbnails .thumbnail.active {
    border-color: #007bff;
}

.gallery-main {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-main img {
    width: 100%;
    height: auto;
}

.custom-product-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 2.8rem;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-actions {
    margin-top: 30px;
}

.custom-payment-methods {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.payment-icons img {
    height: 40px;
    margin: 0 15px;
}

.custom-product-description {
    margin-top: 50px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.custom-product-description h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .custom-product-gallery {
        flex-direction: column;
    }
    
    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    
    .custom-product-summary {
        margin-top: 30px;
    }
}

/*=====================single product===========================*/