* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #E35436;
    --color-secondary: #575756;
    --color-text: #202124;
    --color-bg: #fafafa;
}

body {
    font-family: 'Google Sans', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fafafa;
}

/* ===== HEADER ESTILO GOOGLE PIXEL ===== */
.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1001; /* Mayor que el overlay */
    border-bottom: 1px solid #e8eaed;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background: white; /* Asegurar fondo blanco */
    position: relative;
    z-index: 1002;
}

/* Logo con imagen */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Menú Desktop - estilo Google */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    height: 100%;
    background: white;
}

.main-nav > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav > li > a {
    text-decoration: none;
    color: #202124;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 40px;
    transition: background-color 0.2s;
    letter-spacing: 0.25px;
}

.main-nav > li > a:hover {
    background-color: #f1f3f4;
}

/* ===== MEGA DROPDOWN CON OVERLAY OSCURO (sin afectar header y dropdown) ===== */
.mega-dropdown {
    position: static;
}

/* Overlay oscuro que cubre SOLO el contenido, no el header */
.mega-menu-overlay {
    position: fixed;
    top: 64px; /* Empieza justo debajo del header */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 998;
}

.mega-dropdown:hover .mega-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del mega menú - CUADRO FLOTANTE BLANCO */
.mega-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    max-width: 1400px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1000; /* Por encima del overlay */
    pointer-events: none;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Efecto de elevación al hacer hover en el dropdown */
.mega-dropdown:hover > a {
    background-color: #f1f3f4;
}

/* Contenedor interno */
.mega-menu-inner {
    width: 100%;
    padding: 32px 28px;
}

.mega-menu-container {
    display: flex;
    gap: 48px;
}

/* Columna del menú */
.mega-menu-col {
    flex: 1;
}

.mega-menu-col h3 {
    font-size: 0.75rem;
    font-weight: 500;
    color: #5f6368;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.mega-menu-col ul {
    list-style: none;
}

.mega-menu-col ul li {
    margin-bottom: 8px;
}

.mega-menu-col ul li a {
    text-decoration: none;
    color: #202124;
    font-size: 0.875rem;
    display: block;
    padding: 8px 0;
    transition: color 0.2s;
}

.mega-menu-col ul li a:hover {
    color: #1a73e8;
}

.menu-highlight {
    font-weight: 600;
    color: #1a73e8 !important;
}

/* Línea divisoria entre secciones */
.menu-divider {
    height: 1px;
    background: #e8eaed;
    margin: 16px 0;
}

/* Ajuste para pantallas más pequeñas que 1400px */
@media (max-width: 1440px) {
    .mega-menu {
        max-width: calc(100% - 48px);
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .mega-dropdown:hover .mega-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 900px) {
    .mega-menu-container {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .mega-menu-col {
        min-width: 200px;
    }
}

/* Botones derecha */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    z-index: 1002;
}

.cart-btn, .signin-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    color: #202124;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.signin-btn {
    font-size: 0.875rem;
    font-weight: 500;
}

.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #202124;
    padding: 8px;
}

/* ===== MENÚ LATERAL MÓVIL (Off-Canvas) ===== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e8eaed;
}

.sidebar-logo img {
    height: 32px;
    width: auto;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #202124;
}

.mobile-nav-list {
    list-style: none;
    padding: 8px 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #e8eaed;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #202124;
    font-weight: 500;
    font-size: 1rem;
}

/* Submenús en móvil */
.mobile-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
    background-color: #f8f9fa;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #5f6368;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .menu-toggle-btn {
        display: block;
    }
    .navbar {
        padding: 0 16px;
    }
}

/* ===== HEADER FLOTANTE AL HACER SCROLL (COMO GOOGLE) ===== */
.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid #e8eaed;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Contenedor del navbar - Estilos BASE (sin scroll) */
.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px; /* Ajustado para que coincida con el estado flotante (antes era 24px) */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    background: white;
    position: relative;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Clase que se añade al hacer scroll - Header flotante redondeado */
.site-header.scrolled {
    background: transparent;
    border-bottom: none;
    top: 16px;
}

.site-header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 56px;
    /* El padding se mantiene igual que en el estado base para evitar saltos */
    padding: 0 28px;
    max-width: calc(1400px - 48px);
    margin: 0 auto;
}

/* Ajuste del logo cuando está flotante */
.site-header.scrolled .logo img {
    height: 32px;
}

/* Ajuste de los enlaces del menú cuando está flotante */
.site-header.scrolled .main-nav > li > a {
    font-size: 0.8125rem;
    padding: 6px 14px;
}

/* Ajuste de los botones cuando está flotante */
.site-header.scrolled .signin-btn,
.site-header.scrolled .cart-btn {
    font-size: 0.8125rem;
}

.site-header.scrolled .signin-btn i,
.site-header.scrolled .cart-btn i {
    font-size: 1rem;
}

/* Ajuste del menú toggle button cuando está flotante */
.site-header.scrolled .menu-toggle-btn {
    font-size: 20px;
}

/* Ajuste para pantallas entre 1400px y 1500px */
@media (max-width: 1480px) {
    .site-header.scrolled .navbar {
        max-width: calc(100% - 48px);
        margin: 0 24px;
    }
    /* Opcional: Ajustar padding del navbar base para móviles/tablets */
    @media (max-width: 1024px) {
        .navbar {
            padding: 0 20px;
        }
        .site-header.scrolled .navbar {
            padding: 0 20px;
        }
    }
}

/* Ajuste para tablets */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 20px;
    }
    .site-header.scrolled .navbar {
        max-width: calc(100% - 32px);
        margin: 0 16px;
        padding: 0 20px;
    }
}

/* Ajuste para móviles - No aplicar bordes redondeados */
@media (max-width: 768px) {
    .site-header.scrolled {
        top: 0;
        background: white;
    }
    
    .navbar {
        padding: 0 16px; /* Padding más ajustado para móviles */
    }
    .site-header.scrolled .navbar {
        margin: 0;
        border-radius: 0;
        height: 64px;
        padding: 0 16px;
        max-width: 100%;
        background: white;
        backdrop-filter: none;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .site-header.scrolled .logo img {
        height: 40px;
    }
    
    .site-header.scrolled .menu-toggle-btn {
        font-size: 24px;
    }
}

/* ===== MENÚ MÓVIL - HEADER SIMPLIFICADO ===== */
@media (max-width: 768px) {
    /* Header simplificado en móvil - solo logo y hamburguesa */
    .site-header {
        background: white;
        position: sticky;
        top: 0;
        z-index: 1001;
        border-bottom: 1px solid #e8eaed;
    }
    
    .navbar {
        padding: 0 16px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Ocultar menú desktop y botones en móvil */
    .main-nav {
        display: none !important;
    }
    
    .nav-actions .signin-btn,
    .nav-actions .cart-btn {
        display: none !important;
    }
    
    /* Mostrar solo el botón hamburguesa */
    .menu-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #202124;
        padding: 8px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: background-color 0.2s;
    }
    
    .menu-toggle-btn:hover {
        background-color: #f1f3f4;
    }
    
    /* Logo más pequeño en móvil */
    .logo img {
        height: 32px;
    }
    
    /* Estado flotante del header en móvil - SIN bordes redondeados */
    .site-header.scrolled {
        top: 0;
        background: white;
        border-bottom: 1px solid #e8eaed;
    }
    
    .site-header.scrolled .navbar {
        margin: 0;
        border-radius: 0;
        height: 56px;
        padding: 0 16px;
        max-width: 100%;
        background: white;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .site-header.scrolled .logo img {
        height: 32px;
    }
}

/* ===== MENÚ LATERAL MÓVIL - SIN LOGO EN EL HEADER ===== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

/* Header del menú lateral - SIN LOGO, solo título y cerrar */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e8eaed;
    background: white;
}

.sidebar-header h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #202124;
}

/* Ocultar el logo dentro del menú lateral */
.sidebar-logo {
    display: none;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #202124;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.close-sidebar:hover {
    background-color: #f1f3f4;
}

.mobile-nav-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid #e8eaed;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #202124;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.mobile-nav-list > li > a:hover {
    background-color: #f1f3f4;
}

/* Submenús en móvil */
.mobile-submenu-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.mobile-submenu-trigger:hover {
    background-color: #f1f3f4;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
    background-color: #f8f9fa;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #5f6368;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.mobile-submenu li a:hover {
    background-color: #e8eaed;
    color: #202124;
}

/* Overlay para cerrar menú */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.overlay.active {
    display: block;
}

/* ===== BOTÓN DE WHATSAPP EN EL HEADER ===== */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 8px 18px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Ajuste para móvil */
@media (max-width: 768px) {
    .whatsapp-btn span {
        display: none; /* Oculta el texto en móvil, solo muestra el icono */
    }
    
    .whatsapp-btn {
        padding: 8px 12px;
    }
    
    .whatsapp-btn i {
        font-size: 1.3rem;
    }
}

/* Menú de financiamiento */
.financing-menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.financing-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
}

.financing-link:hover {
    background: rgba(227, 84, 54, 0.1);
    transform: translateX(4px);
}

.financing-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 84, 54, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-icon i {
    font-size: 1.5rem;
    color: #E35436;
}

.financing-link h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.financing-link p {
    font-size: 0.75rem;
    color: #5f6368;
}

/* Responsive */
@media (max-width: 1024px) {
    .brands-menu {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-menu {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .financing-menu {
        grid-template-columns: 1fr;
    }
}
/* ===== AJUSTE DEL DROPDOWN CUANDO EL HEADER ESTÁ FLOTANTE (SCROLL) ===== */
/* Cuando el header está en modo flotante, el dropdown debe estar más cerca */
.site-header.scrolled .mega-menu {
    top: 70px; /* Reducido de 80px a 70px para que esté más cerca */
}

/* Ajuste para pantallas medianas */
@media (max-width: 1440px) {
    .site-header.scrolled .mega-menu {
        top: 68px;
    }
}

/* Ajuste para tablets */
@media (max-width: 1024px) {
    .site-header.scrolled .mega-menu {
        top: 65px;
    }
}

/* Ajuste para móviles - El dropdown no debería aparecer en móvil normalmente */
@media (max-width: 768px) {
    .site-header.scrolled .mega-menu {
        top: 64px;
    }
}

/* ===== MENÚ MÓVIL - MARCAS EN 2 COLUMNAS, SOLO IMAGEN SIN FONDO ===== */
.mobile-submenu-brands {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px !important;
    background: transparent;
}

.mobile-submenu-brands li {
    list-style: none;
    border-bottom: none !important;
    margin-bottom: 0;
}

.mobile-submenu-brands li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px !important;
    background: transparent;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.mobile-submenu-brands li a:hover {
    background: rgba(227, 84, 54, 0.1);
    transform: scale(1.05);
}

.mobile-submenu-brands li a img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    border-radius: 20px !important; /* Bordes redondeados en las imágenes */
    transition: all 0.3s ease;
}

.mobile-submenu-brands li a:hover img {
    transform: scale(1.02);
}

/* Ocultar cualquier texto */
.mobile-submenu-brands li a span,
.mobile-submenu-brands li a .brand-name {
    display: none;
}

/* Ajuste para móviles más pequeños */
@media (max-width: 480px) {
    .mobile-submenu-brands {
        gap: 12px;
        padding: 12px !important;
    }
    
    .mobile-submenu-brands li a img {
        width: 50px !important;
        height: 50px !important;
        border-radius: 12px; /* Bordes más pequeños en móvil */
    }
}

/* Bordes redondeados para logos de marcas en desktop */
.brand-icon img {
    border-radius: 30px; /* Círculo perfecto */
    /* o usa border-radius: 12px; para esquinas redondeadas */
}







/* ============================================
   TIPOGRAFÍA SIN SERIFA - APLICACIÓN GLOBAL
   ============================================ */
* {
    font-family: 'Google Sans', 'Segoe UI', Roboto, 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Estilos específicos para la página de producto - VERSIÓN COMPACTA */
.product-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Grid principal */
.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* ===== GALERÍA DE IMÁGENES ===== */
.product-gallery {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #E35436;
    box-shadow: 0 4px 12px rgba(227, 84, 54, 0.3);
}

.thumbnail:hover {
    transform: translateY(-2px);
    border-color: #E35436;
}

.gallery-main {
    flex: 1;
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen principal - ZOOM */
.main-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.gallery-nav.prev {
    left: 16px;
}

.gallery-nav.next {
    right: 16px;
}

.gallery-nav:hover {
    background: #E35436;
    border-color: #E35436;
}

.gallery-nav:hover i {
    color: white;
}

.gallery-nav i {
    color: #5f6368;
    font-size: 1.1rem;
}

/* ===== INFORMACIÓN DEL PRODUCTO - VERSIÓN COMPACTA ===== */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
    margin-bottom: 0;
    font-family: inherit;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.stars {
    display: flex;
    gap: 3px;
    color: #FFB800;
}

.stars i {
    font-size: 0.85rem;
}

.rating-value {
    font-weight: 600;
    color: #202124;
    font-size: 0.85rem;
}

.seller-info {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.seller-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.seller-name i {
    color: #E35436;
    font-size: 1rem;
}

.seller-name span {
    font-weight: 600;
    color: #202124;
    font-size: 0.85rem;
}

/* ===== PRECIO EN CUADRO DESTACADO ===== */
.product-price {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #E35436;
    border-radius: 20px;
    padding: 12px 16px;
    margin: 4px 0;
    text-align: center;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #E35436;
    display: block;
}

.price-info {
    font-size: 0.7rem;
    color: #5f6368;
    margin-top: 4px;
}

.delivery-date {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.75rem;
}

.product-specs {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 16px;
    margin: 4px 0;
}

.product-specs h3 {
    margin-bottom: 10px;
    color: #202124;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-specs h3 i {
    color: #E35436;
    font-size: 0.9rem;
}

.specs-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.spec-highlight-item {
    text-align: center;
    background: white;
    padding: 6px 4px;
    border-radius: 12px;
}

.spec-highlight-item i {
    font-size: 1rem;
    color: #E35436;
    margin-bottom: 2px;
    display: block;
}

.spec-highlight-label {
    font-size: 0.55rem;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.spec-highlight-value {
    font-weight: 700;
    color: #202124;
    font-size: 0.7rem;
    margin-top: 2px;
}

.specs-detailed-list {
    border-top: 1px solid #e8eaed;
    padding-top: 10px;
    margin-top: 4px;
}

.specs-detailed-list p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.7rem;
    margin-bottom: 6px;
    color: #5f6368;
}

.specs-detailed-list p strong {
    color: #202124;
    font-weight: 500;
    font-size: 0.7rem;
}

.spec-link {
    margin-top: 10px;
    text-align: right;
}

.spec-link a {
    color: #E35436;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
}

.returns-info {
    background: #fff8e1;
    padding: 8px 12px;
    border-radius: 16px;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.returns-info p {
    font-size: 0.7rem;
    color: #5f6368;
    margin: 0;
}

.returns-info a {
    color: #E35436;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.7rem;
    white-space: nowrap;
}

.product-actions {
    margin-top: 4px;
    width: 100%;
}

.btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-product:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
    
    .product-gallery {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .main-image {
        max-height: 400px;
    }
    
    .product-info {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 16px;
    }
    
    .product-grid {
        padding: 20px;
        gap: 24px;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
        max-width: 100%;
    }
    
    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .main-image {
        max-height: 350px;
    }
    
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    
    .seller-info {
        flex-direction: column;
        text-align: center;
    }
    
    .returns-info {
        flex-direction: column;
        text-align: center;
    }
    
    .returns-info a {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .product-grid {
        padding: 16px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .main-image {
        max-height: 280px;
    }
    
    .specs-highlight-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .btn-product {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}










/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 0px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Grid del footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

/* Logo y descripción */
.footer-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #E35436;
    transform: translateY(-3px);
}

/* Títulos */
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #E35436;
    letter-spacing: 0.5px;
}

/* Listas de enlaces */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #E35436;
    transform: translateX(5px);
}

/* Contacto */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: #E35436;
    width: 18px;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #E35436;
}

/* Métodos de pago */
.footer-payment {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-payment .footer-title {
    margin-bottom: 16px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: #E35436;
    transform: scale(1.1);
}

/* Copyright */
.footer-bottom {
    padding-bottom: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #E35436;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .footer-col--brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-col--brand {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .payment-icons {
        gap: 16px;
    }
    
    .payment-icons i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-social {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}











/* ===== SECCIÓN DE DISPOSITIVOS CON LISTA Y DESTACADOS ===== */
.devices-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.devices-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.devices-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
}

/* ===== COLUMNA IZQUIERDA - LISTA ACORDEÓN ===== */
.devices-list-column {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.devices-list-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E35436;
}

.devices-list-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 8px;
}

.devices-list-title .highlight {
    color: #E35436;
}

.devices-list-subtitle {
    font-size: 0.85rem;
    color: #5f6368;
}

/* Acordeón */
.devices-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid #e8eaed;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #E35436;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.accordion-header i {
    color: #E35436;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.accordion-item.active .accordion-content {
    max-height: 600px;
    overflow-y: auto;
}

.device-list {
    list-style: none;
    padding: 16px 20px;
}

.device-list li {
    margin-bottom: 10px;
}

.device-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #202124;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.device-list li a:hover {
    background: rgba(227, 84, 54, 0.1);
    color: #E35436;
}

.price {
    font-weight: 600;
    color: #E35436;
    font-size: 0.8rem;
}

.price-badge {
    background: #E35436;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ===== COLUMNA DERECHA ===== */
.featured-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Dispositivos destacados */
.featured-phones {
    background: white;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-title i {
    color: #E35436;
}

.featured-phones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.featured-phone-card {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.featured-phone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.featured-phone-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

/* Métodos de pago */
.payment-methods-card {
    background: white;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
}

.payment-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 65px;
}

.payment-item i {
    font-size: 2rem;
    color: #5f6368;
    transition: all 0.3s ease;
}

.payment-item:hover i {
    color: #E35436;
    transform: translateY(-3px);
}

.payment-item span {
    font-size: 0.7rem;
    color: #5f6368;
    font-weight: 500;
}

/* Financiamiento */
.financing-methods-card {
    background: white;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #E35436;
}

.financing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.financing-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.financing-item:hover {
    background: rgba(227, 84, 54, 0.1);
    transform: translateX(4px);
}

.financing-item i {
    font-size: 1.8rem;
    color: #E35436;
}

.financing-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 2px;
}

.financing-item p {
    font-size: 0.7rem;
    color: #5f6368;
}

.financing-note {
    font-size: 0.7rem;
    color: #9aa0a6;
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
}

/* Responsive */
@media (max-width: 1024px) {
    .devices-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .featured-phones-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .devices-showcase {
        padding: 50px 0;
    }
    
    .devices-showcase-container {
        padding: 0 20px;
    }
    
    .devices-list-column {
        padding: 24px;
    }
    
    .devices-list-title {
        font-size: 1.5rem;
    }
    
    .featured-phones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .financing-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-icons-grid {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .featured-phones-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .device-list li a {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .payment-item {
        min-width: 55px;
    }
    
    .payment-item i {
        font-size: 1.5rem;
    }
}