/* =========================================
   1. GENERALES Y VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700;900&display=swap');

:root {
    --color-principal-marca: #007BFF; 
    --color-secundario-marca: #0056b3; 
    --color-contraste-oferta: #FF5722; 
    --color-fondo-claro: #F8F9FA; 
    --color-texto-oscuro: #343A40; 
    --color-texto-claro: #FFFFFF;
    --color-separador-claro: #E0E0E0;
    --color-borde-card: #dee2e6; 

    --font-primary: 'Arial', sans-serif;
    --font-secondary: 'Helvetica Neue', sans-serif;

    --sombra-suave: 0 4px 8px rgba(0,0,0,0.1);
    --sombra-media: 0 6px 12px rgba(0,0,0,0.15);
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: var(--color-fondo-claro);
    color: var(--color-texto-oscuro);
    line-height: 1.6;
    opacity: 0; 
    transition: opacity 0.5s ease-in; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.loaded { opacity: 1; }

main { flex: 1; }

/* =========================================
   2. ENCABEZADOS (HEADER) - PREMIUM
   ========================================= */

/* --- ESTILOS DEL LOGO --- */
.logo {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.8em; 
    font-weight: 900; 
    color: #FFFFFF;   
    text-decoration: none;
    letter-spacing: 1px; 
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    margin-right: 20px;
}
.logo-light {
    font-weight: 300; 
    opacity: 0.9; 
}
.logo-icon {
    font-size: 0.85em;
    color: var(--color-contraste-oferta); 
    background: rgba(255, 255, 255, 0.15); 
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}
.logo:hover .logo-icon {
    background: #FFFFFF; 
    color: var(--color-secundario-marca); 
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* --- ENCABEZADOS CON DEGRADADO DEEP TECH --- */
.header-unificado, .header-unificado-search {
    background: linear-gradient(135deg, #0061f2 0%, #002a6e 100%) !important;
    padding: 15px 5%;
    display: flex; 
    align-items: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--sombra-suave);
    flex-wrap: wrap; 
}

.header-unificado { justify-content: space-between; }
.header-unificado-search { flex-direction: column; }

/* Estilos de navegación base */
.header-unificado nav, .header-unificado-search nav { 
    display: flex; flex-wrap: wrap; gap: 15px; 
}

.header-unificado nav a, .header-unificado-search nav a {
    color: var(--color-texto-claro); 
    text-decoration: none; 
    font-weight: 500;
    padding: 8px 12px; 
    border-radius: 8px; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0 2px;
    position: relative;
}

/* Hover general simple */
.header-unificado nav a:hover, .header-unificado-search nav a:hover { 
    background: rgba(255, 255, 255, 0.1); 
    transform: translateY(-2px);
}

/* --- EFECTOS ULTRA PREMIUM (NEON HOVER) --- */

/* 1. Categoría Herramientas (Dorado/Eléctrico) */
.nav-item-herramientas {
    border: 1px solid rgba(255, 193, 7, 0.3);
}
.nav-item-herramientas:hover {
    background: rgba(255, 193, 7, 0.15) !important;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4); 
    color: #ffca2c !important;
    border-color: #ffca2c;
}
.nav-item-herramientas:hover i {
    animation: vibration 0.3s linear infinite; 
}

/* 2. Categoría Tecnología (Cian/Futurista) */
.nav-item-tecnologia {
    border: 1px solid rgba(0, 255, 255, 0.3);
}
.nav-item-tecnologia:hover {
    background: rgba(0, 255, 255, 0.15) !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); 
    color: #00ffff !important;
    border-color: #00ffff;
}
.nav-item-tecnologia:hover i {
    animation: pulse-tech 1s infinite; 
}

/* Keyframes de Animación */
@keyframes vibration {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
@keyframes pulse-tech {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(0,255,255,0.7); }
    50% { transform: scale(1.2); text-shadow: 0 0 10px rgba(0,255,255,0); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(0,255,255,0); }
}

/* --- RESTO DEL HEADER --- */
.header-top-row {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1200px; padding-bottom: 10px;
}
.header-servicios {
    display: flex; align-items: center; gap: 15px;
}
.header-servicios a {
    color: #cccccc; text-decoration: none; font-size: 0.9em; cursor: pointer; transition: color 0.3s;
}
.header-servicios a:hover { color: white; }

.header-busqueda {
    display: flex; width: 90%; max-width: 600px; margin: 10px 0 20px 0; 
    border-radius: 30px; overflow: hidden; border: 2px solid var(--color-contraste-oferta); 
    background-color: white; box-shadow: var(--sombra-suave);
}
.header-busqueda input[type="text"] {
    flex-grow: 1; padding: 12px 18px; border: none; font-size: 1.1em; outline: none;
}
.header-busqueda button {
    background-color: var(--color-contraste-oferta); color: white; padding: 10px 20px;
    border: none; cursor: pointer; transition: background-color 0.3s; font-size: 1.2em;
}
.header-busqueda button:hover { background-color: #e64a19; }

.header-unificado-search nav {
    width: 100%; max-width: 1200px; justify-content: space-around; 
    border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 10px;
}

/* Estilos Usuario Logueado */
#user-info { display: none; align-items: center; gap: 10px; color: white; }
#user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid white; }
#btn-logout { background: none; border: 1px solid rgba(255,255,255,0.3); color: #ddd; padding: 2px 8px; border-radius: 4px; cursor: pointer; font-size: 0.8em; }
#btn-logout:hover { background: rgba(255,255,255,0.1); color: white; }

/* =========================================
   3. COMPONENTES GLOBALES
   ========================================= */
.float-wa {
    position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px;
    background-color: #25d366; color: white; border-radius: 50%; text-align: center;
    font-size: 30px; line-height: 60px; z-index: 1000; box-shadow: var(--sombra-media);
    transition: transform 0.3s ease, background-color 0.3s;
}
.float-wa:hover { transform: scale(1.1); background-color: #128C7E; }

.btn-cta {
    background-color: var(--color-contraste-oferta); color: white; padding: 15px 30px;
    border-radius: 30px; text-decoration: none; font-size: 1.2em; font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s; box-shadow: var(--sombra-suave);
}
.btn-cta:hover { background-color: #e64a19; transform: translateY(-2px); }

/* =========================================
   4. SECCIÓN HERO (CARRUSEL) - HÍBRIDO PERFECTO
   ========================================= */
.hero-con-imagenes {
    /* Mantenemos el degradado premium de fondo */
    background: radial-gradient(circle at center, #004e92 0%, #000428 100%);
    padding: 0; 
    height: 500px;         
    min-height: 60vh;      
    display: grid; 
    grid-template-columns: 1fr max-content 1fr; 
    align-items: center;
    position: relative; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    overflow: hidden;
}

/* 1. RECUPERAMOS LA CAPA OSCURA (Para que el texto resalte como antes) */
.hero-con-imagenes::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Oscuridad clásica */
    z-index: 1; /* IMPORTANTE: Nivel bajo (Fondo) */
}

/* 2. TEXTO LIMPIO (Sin caja de vidrio, estilo original) */
.hero-content {
    grid-column: 2 / 3; 
    z-index: 10; /* Nivel máximo (Al frente de todo) */
    text-align: center; 
    padding: 40px 20px;
    color: white; 
    max-width: 700px;
    
    /* Quitamos el borde y fondo de vidrio para volver al estilo original */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-content h1 { 
    font-size: 3.5em; 
    margin-bottom: 15px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.9); /* Sombra fuerte para leerse bien */
    font-weight: 800;
}

.hero-content p { 
    font-size: 1.4em; 
    margin-bottom: 30px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    font-weight: 400;
}

/* 3. LOS PRODUCTOS (Brillantes y "Encima" de la oscuridad) */
.carrusel {
    height: 100%; 
    width: 100%; 
    display: flex; 
    flex-direction: column;
    overflow: hidden; 
    position: relative; 
    
    /* TRUCO DE MAGIA: Z-Index 5 es mayor que el Z-Index 1 de la capa oscura.
       Esto hace que los productos "floten" encima de la oscuridad y se vean brillantes. */
    z-index: 5; 
    
    will-change: transform; 
}

.carrusel img {
    width: 120%; 
    height: auto; 
    object-fit: contain; 
    padding: 10px 0;
    
    /* COLORES REALES (Sin opacidad) */
    opacity: 1; 
    
    /* Sombra realista para dar profundidad 3D */
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6)); 
    
    transition: opacity 0.3s; 
    user-select: none; 
    pointer-events: none;
    position: absolute; 
    top: 0; 
    left: 0; 
    transform: translateY(100%);
}

/* Ajustes de posición laterales */
#carrusel-herramientas img { left: -20%; }
#carrusel-tecnologia img { left: 0%; }

/* Responsive */
@media (max-width: 768px) {
    #carrusel-herramientas img { width: 120%; left: -10%; }
    
    /* En móvil, bajamos un poco el brillo de los productos para leer el texto */
    .carrusel { z-index: 0; } /* Se van detrás de la capa oscura */
    .hero-content h1 { font-size: 2.2em; }
}

/* =========================================
   5. SECCIONES INFORMATIVAS
   ========================================= */
.confianza-section, .productos-destacados {
    padding: 50px 5%; background-color: var(--color-fondo-claro); text-align: center;
}
.confianza-section h2, .productos-destacados h2 {
    font-size: 2.5em; color: var(--color-principal-marca); margin-bottom: 40px;
    font-family: var(--font-secondary);
}
.ventajas-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; max-width: 1200px; margin: 0 auto;
}
.ventaja-item {
    background-color: var(--color-texto-claro); padding: 30px; border-radius: 10px;
    box-shadow: var(--sombra-suave); transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.ventaja-item:hover { transform: translateY(-5px); box-shadow: var(--sombra-media); }
.ventaja-item i { font-size: 3.5em; color: var(--color-contraste-oferta); margin-bottom: 20px; }

/* =========================================
   6. CATÁLOGO Y TARJETAS
   ========================================= */
.catalogo-header {
    background-color: var(--color-principal-marca); color: white; padding: 30px 5%;
    text-align: center; margin-bottom: 30px; box-shadow: var(--sombra-suave);
}
.filtros-barra {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 30px;
    flex-wrap: wrap; padding: 0 5%;
}
.filtros-barra select {
    padding: 10px 15px; border-radius: 5px; border: 1px solid var(--color-borde-card);
    background-color: white; font-size: 1em; cursor: pointer;
}
.contenedor-catalogo, .grid-productos {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; max-width: 1200px; margin: 0 auto 50px auto; padding: 0 5%;
}
.producto-card {
    background-color: white; border-radius: 10px; box-shadow: var(--sombra-suave);
    overflow: hidden; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; position: relative; border: 1px solid var(--color-borde-card);
}
.producto-card:hover { transform: translateY(-5px); box-shadow: var(--sombra-media); }
.producto-card img {
    width: 100%; height: 250px; object-fit: cover; 
    border-bottom: 1px solid var(--color-separador-claro); margin-bottom: 15px;
}
.producto-card .enlace-imagen-card { display: block; line-height: 0; }
.producto-card .enlace-imagen-card img { cursor: pointer; transition: opacity 0.3s; margin-bottom: 0; }
.producto-card .enlace-imagen-card:hover img { opacity: 0.9; }
.producto-card h3 {
    font-size: 1.4em; color: var(--color-texto-oscuro); margin: 10px 15px; min-height: 40px; 
}
.producto-card .precio {
    font-size: 1.8em; color: var(--color-contraste-oferta); font-weight: bold; margin: 10px 15px;
}
.producto-card .condicion {
    font-size: 0.9em; color: #6c757d; margin: 5px 15px 15px 15px;
}
.estado-tag {
    color: white; padding: 6px 12px; border-radius: 5px; font-weight: bold;
    display: inline-block; position: absolute; top: 15px; right: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); font-size: 0.85em; 
}
.btn-ver, .btn-whatsapp-card {
    display: block; width: calc(100% - 30px); margin: 10px auto; padding: 12px 0;
    text-decoration: none; border-radius: 25px; font-weight: bold; font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s;
}
.btn-ver { background-color: var(--color-principal-marca); color: white; }
.btn-ver:hover { background-color: var(--color-secundario-marca); transform: translateY(-2px); }
.btn-whatsapp-card { background-color: #25d366; color: white; }
.btn-whatsapp-card:hover { background-color: #128C7E; transform: translateY(-2px); }

/* =========================================
   7. SKELETON LOADING
   ========================================= */
.skeleton {
    background: #e0e0e0;
    background: linear-gradient(90deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-loading {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.producto-card-skeleton {
    height: 420px;
    background: white;
    border-radius: 10px;
    padding: 0;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: var(--sombra-suave);
}
.sk-img { width: 100%; height: 250px; margin-bottom: 15px; }
.sk-tag { width: 30%; height: 25px; position: absolute; top: 15px; right: 15px; border-radius: 5px; }
.sk-title { width: 80%; height: 24px; margin: 10px auto; }
.sk-stars { width: 50%; height: 15px; margin: 5px auto; }
.sk-price { width: 40%; height: 35px; margin: 10px auto; }
.sk-btn { width: 90%; height: 45px; margin: 15px auto; border-radius: 25px; }

/* =========================================
   8. DETALLE DE PRODUCTO
   ========================================= */
.contenedor-detalle {
    max-width: 1200px; margin: 40px auto; padding: 20px; display: flex;
    gap: 40px; background-color: var(--color-texto-claro); border-radius: 10px;
    box-shadow: var(--sombra-media);
}
.columna-fotos { flex: 2; display: flex; flex-direction: column; min-width: 450px; }
.galeria-imagen {
    position: relative; display: block; width: 100%; min-height: 400px; 
    background-color: var(--color-fondo-claro); border-radius: 8px;
    text-align: center; margin-bottom: 10px; overflow: visible;
}
.galeria-imagen img#producto-imagen {
    width: 100%; max-height: 500px; border-radius: 10px;
    height: auto; object-fit: contain; 
}
.img-zoom-lens {
    position: absolute; border: 1px solid #d4d4d4; width: 100px; height: 100px;
    background-color: rgba(255, 255, 255, 0.4); cursor: crosshair; z-index: 100;
}
.img-zoom-result {
    border: 2px solid #d4d4d4; width: 500px; height: 500px;
    position: absolute; top: 0; left: 105%; z-index: 1000; 
    background-repeat: no-repeat; display: none; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); background-color: white; border-radius: 5px;
}
.thumbnails-container {
    display: flex; justify-content: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; 
    width: 100%; padding: 10px; background-color: white; border-radius: 8px;
}
.thumb-img {
    width: 70px; height: 70px; object-fit: contain; border: 2px solid #e0e0e0;
    border-radius: 8px; cursor: pointer; transition: all 0.2s ease;
    background-color: white; padding: 2px;
}
.thumb-img:hover { border-color: var(--color-principal-marca); transform: translateY(-2px); }
.thumb-active {
    border-color: var(--color-contraste-oferta); box-shadow: 0 0 8px rgba(0,0,0,0.2);
    transform: scale(1.05);
}
.info-compra { flex: 1; padding: 20px 0; }
.info-compra h1 {
    font-size: 2.8em; color: var(--color-principal-marca); margin-bottom: 10px;
    font-family: var(--font-secondary);
}
#producto-id { color: #6c757d; font-size: 1.1em; margin-bottom: 15px; display: block; }
#producto-precio {
    font-size: 3em; color: var(--color-contraste-oferta); font-weight: bold;
    margin-bottom: 20px; white-space: nowrap; display: block; 
}
.estado-general-tag {
    color: var(--color-texto-claro); padding: 10px 20px; border-radius: 25px; 
    font-weight: bold; display: inline-block; margin-bottom: 15px; font-size: 1.2em;
    text-transform: uppercase; box-shadow: var(--sombra-suave);
}
.etiqueta-condicion-grande { 
    background-color: #f0f0f0; color: var(--color-texto-oscuro); padding: 8px 15px;
    border-radius: 20px; font-weight: bold; display: inline-block; margin-top: 10px;
    border: 1px solid var(--color-separador-claro); font-size: 1em;
}
#whatsapp-link {
    display: block; width: 100%; background-color: #25d366; color: white; text-align: center;
    padding: 12px 10px; border-radius: 30px; font-size: 1.25em; font-weight: bold;
    margin-top: 25px; transition: background-color 0.3s, transform 0.2s;
    box-shadow: var(--sombra-media); white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; 
}
#whatsapp-link:hover { background-color: #128C7E; transform: translateY(-3px); }

.tabs { margin-top: 40px; grid-column: 1 / -1; }
.tabs h3 {
    border-bottom: 3px solid transparent; padding-bottom: 10px; padding-top: 10px;
    cursor: pointer; display: inline-block; margin-right: 25px; color: #6c757d;
    transition: color 0.3s, border-color 0.3s; font-size: 1.2em; font-weight: bold;
}
.tabs h3.active { border-bottom: 3px solid var(--color-contraste-oferta); color: var(--color-texto-oscuro); }
.tab-content {
    border: 1px solid var(--color-separador-claro); padding: 25px; border-radius: 0 0 10px 10px;
    min-height: 180px; background-color: var(--color-fondo-claro); box-shadow: var(--sombra-suave);
}

/* =========================================
   9. FOOTER Y RESPONSIVE
   ========================================= */
footer {
    padding: 40px 5%; text-align: center; background-color: var(--color-secundario-marca); 
    color: var(--color-texto-claro); font-size: 0.9em;
}
footer a { color: var(--color-texto-claro); text-decoration: none; }
#whatsapp-link-movil { display: none; }

@media (max-width: 992px) {
    .contenedor-detalle { flex-direction: column; padding: 15px; margin: 20px auto; }
    .columna-fotos { min-width: 100%; }
    .galeria-imagen { min-height: auto; }
    .img-zoom-result, .img-zoom-lens { display: none !important; }
    #whatsapp-link-movil { display: none; }
    .info-compra #whatsapp-link { display: none; }
}

/* =========================================
   10. MEJORAS UX: COMPARTIR Y CALIFICAR
   ========================================= */
.rating-stars { cursor: pointer; display: inline-block; }
.rating-stars i { color: #ccc; transition: color 0.2s; }
.rating-stars:hover i { color: #ccc; } 
.rating-stars i:hover, .rating-stars i:hover ~ i { color: #ffc107; }
.rating-stars[data-user-rating="1"] i:nth-child(1),
.rating-stars[data-user-rating="2"] i:nth-child(-n+2),
.rating-stars[data-user-rating="3"] i:nth-child(-n+3),
.rating-stars[data-user-rating="4"] i:nth-child(-n+4),
.rating-stars[data-user-rating="5"] i:nth-child(-n+5) { color: #ffc107; }

.share-container {
    margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee;
    display: flex; justify-content: center; gap: 10px;
}
.btn-share {
    width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: white; text-decoration: none; font-size: 1.1em;
    transition: transform 0.2s; border: none; cursor: pointer;
}
.btn-share:hover { transform: translateY(-3px); }
.share-fb { background-color: #1877F2; }
.share-wa { background-color: #25D366; }
.share-x { background-color: #000000; }
.share-copy { background-color: #6c757d; position: relative; }
.share-copy::after {
    content: "¡Copiado!"; position: absolute; bottom: 120%; left: 50%;
    transform: translateX(-50%); background: #333; color: white; font-size: 0.7em;
    padding: 2px 5px; border-radius: 3px; opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.share-copy.copied::after { opacity: 1; }

.card-acciones {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 15px 10px 15px;
}
.btn-like {
    background: none; border: none; cursor: pointer; font-size: 1.5em;
    color: #ccc; transition: transform 0.2s, color 0.3s;
}
.btn-like:hover { transform: scale(1.2); }
.btn-like.liked {
    color: #e91e63; animation: heartBeat 0.3s ease-in-out;
}
.btn-like.liked i { font-weight: 900; }
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* =========================================
   11. SISTEMA DE CARRITO
   ========================================= */
.cart-float-btn {
    position: fixed; bottom: 90px; right: 20px; width: 60px; height: 60px;
    background-color: var(--color-secundario-marca); color: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); cursor: pointer; z-index: 1001;
    transition: transform 0.3s, background 0.3s;
}
.cart-float-btn:hover { transform: scale(1.1); background-color: #003d82; }
.cart-counter {
    position: absolute; top: -5px; right: -5px; background-color: var(--color-contraste-oferta);
    color: white; font-size: 12px; font-weight: bold; width: 24px; height: 24px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    border: 2px solid white;
}
.cart-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 2000; backdrop-filter: blur(3px);
    justify-content: flex-end;
}
.cart-modal-content {
    background: white; width: 100%; max-width: 400px; height: 100%;
    display: flex; flex-direction: column; box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.cart-header {
    background: var(--color-secundario-marca); color: white; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2em; font-weight: bold;
}
.cart-items-container { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item {
    display: flex; gap: 10px; border-bottom: 1px solid #eee; padding-bottom: 15px;
    margin-bottom: 15px; align-items: center;
}
.cart-item img {
    width: 60px; height: 60px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd;
}
.cart-item-details { flex: 1; }
.cart-item-title {
    font-size: 0.95em; font-weight: bold; color: #333; margin-bottom: 5px; display: block;
}
.cart-item-price { color: var(--color-contraste-oferta); font-weight: bold; }
.cart-controls { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.btn-qty {
    background: #f0f0f0; border: 1px solid #ccc; width: 25px; height: 25px;
    cursor: pointer; border-radius: 4px;
}
.btn-remove {
    color: #dc3545; background: none; border: none; cursor: pointer;
    font-size: 0.9em; margin-left: auto;
}
.cart-footer { padding: 20px; border-top: 1px solid #eee; background: #f9f9f9; }
.cart-total {
    display: flex; justify-content: space-between; font-size: 1.4em;
    font-weight: bold; margin-bottom: 15px; color: #333;
}
.btn-checkout-wa {
    background-color: #25d366; color: white; width: 100%; padding: 15px;
    border: none; border-radius: 30px; font-size: 1.1em; font-weight: bold;
    cursor: pointer; display: flex; justify-content: center; align-items: center;
    gap: 10px; transition: background 0.3s;
}
.btn-checkout-wa:hover { background-color: #128C7E; }
.btn-add-card {
    background-color: var(--color-texto-oscuro); color: white; border: none;
    border-radius: 5px; padding: 8px 15px; cursor: pointer; font-size: 0.9em;
    transition: background 0.2s; margin-top: 5px; width: 100%;
}
.btn-add-card:hover { background-color: black; }
.btn-add-large {
    background-color: var(--color-principal-marca); color: white; width: 100%;
    padding: 15px; border: none; border-radius: 30px; font-size: 1.2em;
    font-weight: bold; cursor: pointer; margin-top: 10px; display: flex;
    justify-content: center; align-items: center; gap: 10px; transition: background 0.3s;
}
.btn-add-large:hover { background-color: var(--color-secundario-marca); }
