﻿/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Marca Principal */
    --primary: #a7d034; /* Lime Tech */
    --primary-hover: #8cb520; /* Darker Lime */
    --primary-text: #0f172a; /* Texto oscuro sobre el lime */
    /* Colores Neutros & Fondos */
    --dark-bg: #0f172a; /* Slate 900 (Footer/Contrast) */
    --body-bg: #f8fafc; /* Slate 50 (Fondo General) */
    --text-main: #1e293b; /* Slate 800 */
    --text-muted: #64748b; /* Slate 500 */
    /* Efectos Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    /* UI Elements */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
    /* Fondo sutil con degradado moderno */
    background-image: radial-gradient(at 0% 0%, rgba(167, 208, 52, 0.15) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    padding-top: 145px; /* Compensar header fijo */
    overflow-x: hidden;
}

.text-primary {
    color: var(--primary) !important;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =========================================
   2. HEADER: CLEAN STYLE (FLUID)
   ========================================= */
.amz-header {
    background: rgba(255, 255, 255, 0.98); /* Casi opaco para mejor lectura */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

/* Fila Superior: Distribución Espaciada */
.amz-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Clave: Separa los elementos */
    height: 100px;
    padding: 0 24px; /* Más aire a los lados */
    gap: 15px;
    width: 100%;
}

/* Items Interactivos */
.amz-hover-box {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 52px;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap; /* Evita que el texto se rompa */
}

/* Items Interactivos */
.amz-hover-box2 {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 52px;
    color: #181818;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap; /* Evita que el texto se rompa */
}

    .amz-hover-box:hover {
        background-color: #f1f5f9;
        border-color: #cbd5e1;
    }

/* LOGO SVG */
.amz-logo-img {
    height: 65px; /* Tamaño controlado */
    width: auto;
    display: block;
    transition: transform 0.2s;
}

.amz-hover-box:hover .amz-logo-img {
    transform: scale(1.05);
}

/* Ubicación (Local) */
.amz-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 140px; /* Evita que salte */
}

    .amz-location strong {
        display: block;
        color: var(--text-main);
        font-size: 0.9rem;
        font-weight: 700;
    }

.amz-loc-icon {
    font-size: 1.4rem;
    color: var(--text-main);
}

/* Buscador Central (Elástico) */
.amz-search-container {
    flex: 1; /* Ocupa todo el espacio sobrante */
    max-width: 1000px; /* Límite para pantallas ultrawide */
    margin: 0 2rem;
}

.amz-search-group {
    display: flex;
    height: 44px;
    border-radius: 12px; /* Curva moderna pero técnica */
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: all 0.3s ease;
}

    .amz-search-group:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(167, 208, 52, 0.15);
    }

.amz-search-select {
    background-color: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 15px;
    cursor: pointer;
    outline: none;
}

.amz-search-input {
    flex-grow: 1;
    border: none;
    padding: 0 15px;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
}

.amz-search-btn {
    background-color: var(--primary);
    border: none;
    width: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .amz-search-btn:hover {
        background-color: var(--primary-hover);
    }

/* Idioma y Cuenta */
.amz-nav-line-1 {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.amz-nav-line-2 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.amz-flag {
    font-size: 1.4rem;
    margin-right: 4px;
}

/* Carrito */
.amz-cart-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amz-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--dark-bg);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}

.amz-cart-icon {
    font-size: 1.8rem;
    color: var(--text-main);
}

.amz-cart-text {
    font-weight: 700;
    font-size: 1rem;
    margin-left: 5px;
}

/* Fila Inferior (Full Width) */
.amz-bottom-bar {
    background-color: #2f2f2f;
    border-bottom: 1px solid #e2e8f0;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 20px;
    font-size: 0.9rem;
}

.amz-menu-all {
    font-weight: 700;
    color: #ffffff;
    gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    /* En tablet/móvil damos prioridad al espacio */
    .amz-top-bar {
        padding: 10px 15px;
        gap: 10px;
        height: auto;
        flex-wrap: wrap;
    }

    /* Logo más pequeño en móvil */
    .amz-logo-img {
        height: 44px;
    }

    /* Buscador salta a segunda fila */
    .amz-search-container {
        order: 3;
        width: 100%;
        margin: 5px 0 0 0;
        min-width: 100%;
    }

    /* Ocultar elementos secundarios */
    .amz-location, .amz-search-select, .amz-nav-line-1, .amz-cart-text {
        display: none;
    }

    /* En móvil solo mostramos la línea 2 (Cuenta) o Icono */
    .amz-nav-line-2 {
        font-size: 0.8rem;
    }

    body {
        padding-top: 145px;
    }
}

@media (min-width: 992px) {
    body {
        padding-top: 115px;
    }
}



/* =========================================
   3. BENTO GRID (HERO)
   ========================================= */
.bento-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Desktop: Layout Asimétrico */
@media (min-width: 992px) {
    .bento-container {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 280px);
        height: 600px;
    }

    .bento-card.hero-main {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-card.hero-wide {
        grid-column: span 2;
    }

    .bento-card.hero-tall {
        grid-row: span 2;
    }
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #e2e8f0;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
}

    .bento-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .bento-card:hover img {
        transform: scale(1.08);
    }

/* Overlay más legible */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 40%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
    opacity: 0.95;
    transition: opacity 0.3s;
}

.bento-card:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay h2, .bento-overlay h3, .bento-overlay h4 {
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Badge dentro del Bento */
.bento-overlay .badge {
    background: var(--primary);
    color: var(--primary-text);
    font-weight: 700;
    border-radius: 6px;
    padding: 0.4em 0.8em;
    margin-bottom: 0.8rem;
}

/* =========================================
   4. CATEGORÍAS (SCROLL)
   ========================================= */
.cat-scroll-container {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .cat-scroll-container::-webkit-scrollbar {
        display: none;
    }

.cat-card {
    flex: 0 0 160px;
    height: 200px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .cat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(167, 208, 52, 0.2); /* Sombra verde suave */
    }

    .cat-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cat-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: var(--text-main);
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   5. PRODUCT CARDS (MODERNAS)
   ========================================= */
.product-card {
    background: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

    .product-card:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    }

.badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dark-bg);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
}

.btn-add-quick {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    border: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .btn-add-quick:hover {
        background: var(--primary);
        color: var(--primary-text);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(167, 208, 52, 0.4);
    }



/* =========================================
   6. FOOTER: MODERN TECH (DARK)
   ========================================= */
footer {
    background-color: #0b1120; /* Darker Slate (Casi negro, muy elegante) */
    color: #94a3b8; /* Texto gris azulado para lectura descansada */
    padding-top: 5rem;
    margin-top: 5rem;
    position: relative;
    font-size: 0.95rem;
}

    /* Línea de Gradiente Superior (Toque Tech) */
    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), #3b82f6, var(--accent));
        box-shadow: 0 0 15px rgba(167, 208, 52, 0.3); /* Resplandor sutil */
    }

    /* Títulos */
    footer h5 {
        color: #fff;
        font-family: 'Exo 2', sans-serif;
        font-weight: 700;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
        position: relative;
        display: inline-block;
    }

    /* Enlaces (Lista) */
    footer ul li {
        margin-bottom: 0.8rem;
    }

    footer a {
        color: #94a3b8;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-block;
    }

        footer a:hover {
            color: var(--primary);
            transform: translateX(5px); /* Efecto deslizamiento tech */
            text-shadow: 0 0 8px rgba(167, 208, 52, 0.4);
        }

/* Logo Light */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

/* Redes Sociales (Botones Circulares Glass) */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Glass sutil */
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background: var(--primary);
        color: var(--primary-text);
        border-color: var(--primary);
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 5px 15px rgba(167, 208, 52, 0.3);
    }

/* Newsletter Input */
.newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-input-group {
    position: relative;
    margin-top: 1rem;
}

footer .form-control {
    background: #1e293b;
    border: 1px solid #334155;
    color: #fff;
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
    padding-right: 3.5rem; /* Espacio para el botón */
    font-size: 0.9rem;
}

    footer .form-control::placeholder {
        color: #64748b;
    }

    footer .form-control:focus {
        background: #1e293b;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(167, 208, 52, 0.1);
    }

footer .btn-newsletter {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--primary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

    footer .btn-newsletter:hover {
        transform: scale(1.1);
        background: #fff;
    }

/* Copyright Bar */
.footer-bottom {
    background-color: #020617; /* Casi negro absoluto */
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}


/* ... (El resto del CSS del footer se mantiene igual) ... */

/* Estilos para Logos de Pago (Imágenes) */
.payment-methods-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alineado a la derecha en desktop */
    gap: 8px;
    flex-wrap: wrap;
}

.payment-img {
    height: 32px; /* Altura fija para uniformidad */
    width: auto; /* Ancho automático */
    background-color: #fff; /* Fondo blanco para que el logo resalte sobre lo oscuro */
    padding: 3px 6px;
    border-radius: 6px; /* Bordes suaves */
    object-fit: contain;
    transition: transform 0.2s ease;
    opacity: 0.9;
}

    .payment-img:hover {
        transform: scale(1.05);
        opacity: 1;
    }

/* Ajuste Mobile para el copyright y pagos */
@media (max-width: 767px) {
    .payment-methods-container {
        justify-content: center; /* Centrado en móvil */
        margin-top: 15px;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
    }
}


/* =========================================
   7. OFFCANVAS CART
   ========================================= */
.offcanvas-cart {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.offcanvas-header {
    background: #f8fafc;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e2e8f0;
}

/* =========================================
   8. COMPONENTES GLOBALES
   ========================================= */

/* Badge Primario (Precio Oferta, Nuevo) */
.badge.bg-primary {
    background-color: var(--primary) !important;
    color: var(--primary-text) !important;
}

/* Botones Generales */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-text);
    font-weight: 700;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        color: var(--primary-text);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(167, 208, 52, 0.4);
    }

/* SKELETON ANIMATION */
/* =========================================
   SKELETON SHIMMER EFFECT
   ========================================= */
.skeleton {
    background: #f1f5f9; /* Color base (Slate-100) */
    background: linear-gradient( 90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75% );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    opacity: 0.7;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Opcional: Para que las líneas de texto se vean redonditas */
.sk-line {
    border-radius: 4px;
    margin-bottom: 8px;
}

/* =========================================
   9. RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 991px) {
    .tech-header {
        height: 70px;
        padding: 0 0.5rem;
    }

    .search-wrapper {
        display: none;
    }
    /* Ocultar en header, mover a menú */

    .navbar-collapse {
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        margin-top: 10px;
    }

  
}


/* Utilidad para ocultar scrollbar pero permitir scroll */
.hide-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }

.amz-bottom-bar.overflow-auto {
    white-space: nowrap; /* Mantiene todo en una línea */
    display: flex;
    flex-wrap: nowrap;
}


/* =========================================
   10. ANIMACIONES & UTILIDADES
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; /* Inicia invisible */
}

/* Retrasos escalonados para las animaciones */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Títulos de Sección Modernos */
.section-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
        margin-top: 5px;
    }

/* =========================================
   11. BENTO GRID MEJORADO (MOBILE SCROLL)
   ========================================= */
/* Desktop se mantiene igual (Grid) */
@media (min-width: 992px) {
    .bento-container {
        /* Tu grid original de desktop */
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 280px);
        height: 575px;
    }
}

/* MOBILE: Horizontal Scroll Snap (Estilo Amazon) */
@media (max-width: 991px) {
    .bento-container {
        display: flex; /* Cambiamos grid por flex */
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* Efecto imán */
        gap: 15px;
        padding-bottom: 20px; /* Espacio para scrollbar invisible */
        height: auto;
        /* Ocultar scrollbar visualmente pero permitir scroll */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .bento-container::-webkit-scrollbar {
            display: none;
        }

    .bento-card {
        min-width: 85vw; /* Ocupa el 85% del ancho de pantalla */
        height: 400px; /* Altura fija impactante */
        scroll-snap-align: center;
        flex-shrink: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

/* =========================================
   12. SHOP BY BRAND (NUEVO)
   ========================================= */
.brand-scroll-wrapper {
    position: relative;
    padding: 10px 0;
}

.brand-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: center;
}

    .brand-container::-webkit-scrollbar {
        display: none;
    }

.brand-card {
    min-width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%; /* Circulares */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .brand-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 10px 20px rgba(167, 208, 52, 0.2);
    }

    .brand-card img {
        max-width: 60%;
        max-height: 60%;
        filter: grayscale(100%);
        transition: filter 0.3s;
        opacity: 0.7;
    }

    .brand-card:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }


/* =========================================
   13. CATALOGO / SHOP LISTING
   ========================================= */

/* Layout General */
.shop-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Sidebar de Filtros (Desktop) */
.filter-sidebar {
    position: sticky;
    top: 100px; /* Debajo del header */
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 15px;
    /* Scrollbar fina */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    .filter-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .filter-sidebar::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 4px;
    }

/* Títulos de Filtros */
.filter-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Checkboxes Custom (Lime Tech) */
.custom-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

    .custom-checkbox:hover {
        color: var(--text-main);
    }

    .custom-checkbox input {
        display: none; /* Ocultar default */
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Estado Checked */
.custom-checkbox input:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-text);
}

    .custom-checkbox input:checked + .checkmark::after {
        content: '\f00c'; /* FontAwesome Check */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.7rem;
    }

/* Filtro de Precio */
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .price-inputs input {
        width: 100%;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 5px 10px;
        font-size: 0.9rem;
    }

/* Toolbar Superior (Resultados y Ordenar) */
.shop-toolbar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 20px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.sort-select {
    border: none;
    background: #f8fafc;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
}

/* Botón Flotante Filtros (Mobile) */
.btn-filter-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-bg);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--primary);
}

/* Load More Button */
.btn-load-more {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
    font-weight: 600;
    padding: 10px 40px;
    border-radius: 50px;
    transition: all 0.3s;
}

    .btn-load-more:hover {
        border-color: var(--primary);
        color: var(--primary-hover);
    }

@media (max-width: 991px) {
    .filter-sidebar {
        display: none;
    }
    /* Se mueve al offcanvas */
}


/* =========================================
   FIX: BOTÓN CANCELAR Y SEARCH MOBILE
   ========================================= */

/* 1. Por defecto OCULTO en todas partes (Desktop y Mobile inactivo) */
.btn-search-cancel {
    display: none !important;
}

/* 2. Estilos base del botón (para cuando sea visible) */
.btn-search-cancel {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 15px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s;
}

    .btn-search-cancel:hover {
        color: var(--primary-hover); /* Lime hover */
    }

/* 3. SOLO VISIBLE EN MÓVIL CUANDO SE ACTIVA LA BÚSQUEDA */
@media (max-width: 991px) {

    /* Cuando la clase 'mobile-search-open' está en el header, mostramos el botón */
    .amz-header.mobile-search-open .btn-search-cancel {
        display: block !important;
    }

    /* Ajustes del input en móvil para dar espacio al botón */
    .amz-header.mobile-search-open .amz-search-container {
        padding-right: 5px;
    }
}


/* Estilo Breadcrumb Mejorado */
.breadcrumb-container {
    background-color: #f8fafc; /* Gris muy suave para diferenciar del header blanco */
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    margin-bottom: 20px;
    margin-top: 30px !important;
}

.breadcrumb-item a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
}

    .breadcrumb-item a:hover {
        color: var(--primary); /* Lime hover */
        text-decoration: underline;
    }

.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Icono separador más pequeño */
.breadcrumb-item + .breadcrumb-item::before {
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* =========================================
   BOOTSTRAP OVERRIDES (LIME BRANDING)
   ========================================= */

/* 1. NAV PILLS (Pestañas de Ficha Producto) */
.nav-pills .nav-link {
    color: var(--text-muted); /* Gris por defecto */
    font-weight: 600;
    transition: all 0.3s ease;
}

    .nav-pills .nav-link:hover {
        color: var(--primary-hover);
        background-color: rgba(167, 208, 52, 0.1); /* Lime muy suave */
    }

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        background-color: var(--primary) !important; /* LIME */
        color: var(--primary-text) !important; /* Texto oscuro */
        box-shadow: 0 4px 10px rgba(167, 208, 52, 0.4); /* Glow suave */
    }

/* 2. BADGES (Etiquetas "Nuevo", "Oferta") */
.badge.bg-primary {
    background-color: var(--primary) !important;
    color: var(--primary-text) !important;
}

.badge.bg-danger {
    background-color: #ef4444 !important; /* Rojo moderno */
    color: #fff !important;
}

/* 3. PAGINACIÓN & LOAD MORE */
.page-link {
    color: var(--text-main);
    border-color: #e2e8f0;
}

    .page-link:hover {
        color: var(--primary-hover);
        background-color: #f8fafc;
        border-color: #cbd5e1;
    }

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-text);
}

/* 4. BOTONES OUTLINE (Ej: "Ver Carrito") */
.btn-outline-primary {
    color: var(--primary-hover);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        color: var(--primary-text);
        border-color: var(--primary);
    }

/* 5. FORMS FOCUS (Input borde azul -> borde lime) */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(167, 208, 52, 0.25);
}

/* 6. DROPDOWN ITEMS ACTIVO */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary);
    color: var(--primary-text);
}

/* =========================================
   14. ADVANCED SEARCH (IMPROVED UI)
   ========================================= */

/* --- ESTILOS BASE (DESKTOP) --- */

.search-dropdown {
    position: absolute;
    /* Separación elegante de la barra de búsqueda (Efecto Flotante) */
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    /* Bordes redondeados completos para parecer una tarjeta flotante */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15); /* Sombra difusa suave */
    z-index: 1100;
    display: none;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    opacity: 0; /* Para animación */
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    /* Clase para animar entrada */
    .search-dropdown.show {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

/* Sugerencias de Texto (Keywords) */
.suggestion-item {
    padding: 12px 20px; /* Más aire vertical */
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.2s;
}

    .suggestion-item:hover {
        background-color: #f8fafc;
        color: var(--primary-hover);
        padding-left: 25px; /* Slide effect */
    }

    .suggestion-item i {
        color: #cbd5e1;
        margin-right: 12px;
        font-size: 0.85rem;
    }

/* Cabecera de Sección */
.suggestion-header {
    background: #f1f5f9;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Producto Sugerido */
.suggestion-product {
    display: flex;
    align-items: center;
    padding: 12px 20px; /* Más espaciado */
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    background: #fff;
}

    .suggestion-product:hover {
        background-color: #f8fafc;
    }

    .suggestion-product img {
        width: 45px;
        height: 45px;
        object-fit: contain;
        border-radius: 8px;
        margin-right: 15px;
        background: #fff;
        border: 1px solid #f1f5f9;
        flex-shrink: 0; /* Evita que la imagen se aplaste */
    }

.suggestion-product-info {
    flex-grow: 1;
    min-width: 0; /* Permite truncate */
}

    .suggestion-product-info h6 {
        font-size: 0.9rem;
        margin: 0 0 2px 0;
        color: var(--text-main);
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.suggestion-product-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-hover);
}

/* Botón Cancelar (Base) */
.btn-search-cancel {
    display: none !important; /* Oculto default */
    background: transparent;
    border: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    padding: 0 5px 0 15px;
    cursor: pointer;
}

/* --- MOBILE FULLSCREEN OVERLAY (AJUSTADO) --- */

@media (max-width: 991px) {

    /* Estado ACTIVO en Móvil */
    .amz-header.mobile-search-open {
        height: 100vh;
        background: #fff;
        display: block; /* Cambiamos flex por block para estructura fija */
        overflow: hidden;
    }

        /* Ocultar todo menos el contenedor de búsqueda */
        .amz-header.mobile-search-open .amz-top-bar > *:not(.amz-search-container) {
            display: none !important;
        }

        .amz-header.mobile-search-open .amz-bottom-bar {
            display: none !important;
        }

        /* Contenedor del Input en Móvil */
        .amz-header.mobile-search-open .amz-search-container {
            margin: 0;
            padding: 15px;
            width: 100%;
            max-width: 100%;
            display: flex;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
            background: #fff;
            position: relative;
            z-index: 1102; /* Por encima de resultados */
            height: 70px; /* Altura fija header búsqueda */
        }

        /* Input Styling Mobile */
        .amz-header.mobile-search-open .amz-search-group {
            background: #f1f5f9;
            border: none;
            flex-grow: 1;
            height: 40px; /* Un poco más compacto */
            border-radius: 8px; /* Menos redondo, más iOS */
        }

        .amz-header.mobile-search-open .amz-search-btn {
            display: none;
        }

        .amz-header.mobile-search-open .amz-search-input {
            font-size: 1rem; /* Texto legible */
        }

        /* Botón Cancelar Visible */
        .amz-header.mobile-search-open .btn-search-cancel {
            display: block !important;
            color: var(--primary-hover); /* Color de acción */
        }

        /* Dropdown ocupa el resto de la pantalla */
        .amz-header.mobile-search-open .search-dropdown {
            display: block; /* Siempre visible el contenedor, vacío o lleno */
            position: fixed;
            top: 70px; /* Debajo del header de 70px */
            left: 0;
            width: 100%;
            height: calc(100vh - 70px);
            overflow-y: auto;
            border-radius: 0;
            box-shadow: none;
            border: none;
            padding-bottom: 50px; /* Espacio para teclado */
            opacity: 1;
            transform: none;
            background: #fff;
        }

        /* Items más grandes para el dedo */
        .amz-header.mobile-search-open .suggestion-item {
            padding: 16px 20px;
            font-size: 1rem;
        }

        .amz-header.mobile-search-open .suggestion-product {
            padding: 15px 20px;
        }

            .amz-header.mobile-search-open .suggestion-product img {
                width: 50px;
                height: 50px;
            }
}

/* =========================================
   16. BLOG INDEX (MODERN GRID)
   ========================================= */

.blog-header {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border-color: #e2e8f0;
    }

.blog-thumb-wrapper {
    position: relative;
    padding-top: 60%; /* Aspect Ratio 16:9 aprox */
    overflow: hidden;
    background-color: #f8fafc;
}

.blog-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb {
    transform: scale(1.05);
}

.blog-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    color: var(--primary-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-main);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-hover);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

    .blog-link:hover {
        text-decoration: underline;
    }

/* Sidebar Blog */
.blog-sidebar-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-search-input {
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding-left: 1.2rem;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.recent-post-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
}

    .recent-post-title:hover {
        color: var(--primary-hover);
    }


/* =========================================
   17. BLOG POST DETAIL
   ========================================= */

/* Cabecera del Artículo */
.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    align-items: center;
}

.article-cat {
    color: var(--primary-hover);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Imagen Principal */
.article-hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Cuerpo del Texto (Tipografía Editorial) */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

    .article-content p {
        margin-bottom: 1.5rem;
    }

    .article-content h2 {
        font-weight: 800;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
        color: var(--text-main);
    }

    .article-content h3 {
        font-weight: 700;
        margin-top: 2rem;
        color: var(--text-main);
    }

    .article-content blockquote {
        border-left: 4px solid var(--primary);
        padding-left: 20px;
        font-style: italic;
        color: var(--text-main);
        background: #f8fafc;
        padding: 20px;
        border-radius: 0 12px 12px 0;
        margin: 2rem 0;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 1.5rem 0;
    }

/* Caja de Autor */
.author-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

/* Share Buttons */
.share-bar {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s;
}

    .btn-share:hover {
        transform: translateY(-3px);
        color: #fff;
    }

.bg-whatsapp {
    background: #25D366;
}

.bg-facebook {
    background: #1877F2;
}

.bg-twitter {
    background: #1DA1F2;
}

.bg-linkedin {
    background: #0A66C2;
}

/* =========================================
   18. MI CUENTA / DASHBOARD
   ========================================= */

.account-header {
    background-color: #fff;
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.account-avatar-initials {
    width: 80px;
    height: 80px;
    background: var(--dark-bg);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(167, 208, 52, 0.3);
}

/* Sidebar Menu */
.account-sidebar {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.nav-account .nav-link {
    color: var(--text-main);
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #f8fafc;
    border-radius: 0;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

    .nav-account .nav-link i {
        width: 25px;
        color: var(--text-muted);
    }

    .nav-account .nav-link:hover {
        background-color: #f8fafc;
        color: var(--primary-hover);
        padding-left: 1.8rem; /* Slide effect */
    }

    .nav-account .nav-link.active {
        background-color: rgba(167, 208, 52, 0.1);
        color: var(--dark-bg) !important;
        border-left: 4px solid var(--primary);
    }

        .nav-account .nav-link.active i {
            color: var(--primary);
        }

/* Tarjetas de Contenido */
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.dashboard-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Tabla de Pedidos */
.table-orders thead th {
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 0;
    padding: 1rem;
}

.table-orders tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: var(--text-main);
    border-bottom: 1px solid #f1f5f9;
}

/* Badges de Estado */
.status-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.st-pending {
    background: #fff7ed;
    color: #c2410c;
}
/* Orange */
.st-shipped {
    background: #eff6ff;
    color: #1d4ed8;
}
/* Blue */
.st-delivered {
    background: #f0fdf4;
    color: #15803d;
}
/* Green */

/* Tarjeta Dirección */
.address-card {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: all 0.2s;
}

    .address-card.is-primary {
        border: 1px solid var(--primary);
        background: rgba(167, 208, 52, 0.05);
    }


/* =========================================
   19. SUCURSALES (STORE LOCATOR)
   ========================================= */

.branch-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .branch-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.08);
        border-color: var(--primary);
    }

/* Imagen de la sucursal */
.branch-img-wrapper {
    height: 200px;
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.branch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card:hover .branch-img {
    transform: scale(1.05);
}

/* Estado (Abierto/Cerrado) */
.branch-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444; /* Rojo por defecto */
}

.is-open .dot-status {
    background-color: var(--primary);
}

/* Cuerpo */
.branch-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.branch-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.branch-info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

    .branch-info-row i {
        color: var(--primary-hover);
        margin-top: 3px;
    }

/* Botones de Acción */
.branch-actions {
    padding: 1.5rem;
    border-top: 1px solid #f8fafc;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-waze {
    background-color: #33ccff; /* Color Waze aprox */
    color: #fff;
    border: none;
}

    .btn-waze:hover {
        background-color: #00aaff;
        color: #fff;
    }

.btn-gmaps {
    background-color: #f8fafc;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

    .btn-gmaps:hover {
        border-color: var(--primary);
        background: #fff;
    }


/* =========================================
   20. AUTH PAGES (LOGIN / REGISTER)
   ========================================= */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
}

/* Columna Izquierda (Visual/Promo) */
.auth-visual {
    background: var(--dark-bg);
    width: 40%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .auth-visual::before {
        content: '';
        position: absolute;
        top: -20%;
        left: -20%;
        width: 150%;
        height: 150%;
        background: radial-gradient(circle, rgba(167, 208, 52, 0.2) 0%, transparent 60%);
        pointer-events: none;
    }

.auth-logo {
    height: 40px;
    margin-bottom: 2rem;
}

/* Columna Derecha (Formulario) */
.auth-form-side {
    width: 60%;
    padding: 3rem;
    background: #fff;
}

.auth-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.social-login-btn {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

    .social-login-btn:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

.divider-text {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

    .divider-text::before, .divider-text::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #e2e8f0;
    }

    .divider-text::before {
        left: 0;
    }

    .divider-text::after {
        right: 0;
    }

.form-floating > label {
    color: var(--text-muted);
}

.form-floating > .form-control:focus ~ label {
    color: var(--primary-hover);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
        max-width: 500px;
    }

    .auth-visual {
        width: 100%;
        padding: 2rem;
        text-align: center;
        display: none; /* Ocultar visual en móvil para ahorrar espacio */
    }

    .auth-form-side {
        width: 100%;
        padding: 2rem;
    }
}

.google-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
    /* Forzar al iframe de Google a ocupar el ancho si no lo hace */
    .google-btn-wrapper iframe {
        width: 100% !important;
    }


/* =========================================
   21. ORDEN DETALLE & TRACKING
   ========================================= */

/* Timeline de Tracking */
.tracking-timeline {
    position: relative;
    list-style: none;
    padding-left: 30px;
}

.tracking-item {
    position: relative;
    padding-bottom: 25px;
}

    .tracking-item::before {
        content: '';
        position: absolute;
        top: 5px;
        left: -20px;
        width: 2px;
        height: 100%;
        background: #e2e8f0;
    }

    .tracking-item:last-child::before {
        display: none; /* No hay línea en el último */
    }

/* Círculo del Timeline */
.timeline-dot {
    position: absolute;
    top: 0;
    left: -25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 2px solid #fff;
    box-sizing: content-box;
}

/* Estado Actual */
.tracking-item.current .timeline-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(167, 208, 52, 0.2);
}

.tracking-item.current h6 {
    color: var(--text-main);
}


/* =========================================
   22. CANTIDAD CONTROL (PLUS / MINUS)
   ========================================= */

.qty-control {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px; /* Pill shape */
    padding: 2px;
    height: 32px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

    .qty-btn:hover {
        background: #fff;
        color: var(--primary-hover);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .qty-btn:active {
        transform: scale(0.9);
    }

.qty-val {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    user-select: none;
}

/* En el carrito (Sidebar), ajustamos márgenes */
.offcanvas-body .qty-control {
    margin-left: auto; /* Empujarlo a la derecha si es necesario */
}

/* =========================================
   23. ABOUT US (NOSOTROS)
   ========================================= */

/* Hero Section */
.about-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: #0f172a; /* Dark Tech */
    color: #fff;
    overflow: hidden;
}

.about-hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Tarjetas Misión/Visión */
.mission-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

    .mission-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        border-color: var(--primary);
    }

.mission-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-hover);
    margin-bottom: 1.5rem;
}

/* Sección Diferencial (Financiamiento) */
.diff-section {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    padding: 5rem 0;
}

.diff-box {
    text-align: center;
    padding: 2rem;
}

    .diff-box i {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
        display: inline-block;
    }

/* Logos Bancos */
.bank-logo {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

    .bank-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.1);
    }

/* =========================================
   25. SHARE PRODUCT BUTTONS
   ========================================= */
.pdp-share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.pdp-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.2s;
    text-decoration: none;
}

    .pdp-share-btn:hover {
        transform: translateY(-3px);
    }

/* Colores específicos de redes */
.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

.share-twitter {
    background: #1DA1F2;
}

.share-link {
    background: #0A66C2;
}

.share-copy {
    background: #e2e8f0;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
}

    .share-copy:hover {
        background: #cbd5e1;
        color: var(--text-main);
    }