    /* Definición de la Paleta de Colores */
    :root {
        --color-primary: #050a30;
        --color-light-bg: #e6f0ff;
        --color-light-border: #d4e3ff;
        --color-text-dark: #343a40;
        --color-white: #fff;
    }

    /* Estilos Base y Responsive */
    .navbar {
        box-shadow: 0 2px 4px rgba(0,0,0,.04);
        background-color: var(--color-white) !important;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    a {
        text-decoration: none !important;
    }
    /* --------------------------------- */
    /* BÚSQUEDA (Desktop y Tablet) */
    /* --------------------------------- */
    .search-bar {
        max-width: 700px;
        margin-left: 2rem;
        margin-right: 2rem;
        width: 100%;
    }
    .search-bar .form-control {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .search-bar .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        background-color: var(--color-primary); 
        border-color: var(--color-primary);
        color: var(--color-white); 
    }

    /* ---------------------------------------------------- */
    /* HERO SECTION (CARRUSEL ADAPTADO - DESKTOP/DEFAULT)   */
    /* ---------------------------------------------------- */
    .hero-section {
        min-height: 300px; 
        display: flex;
        align-items: center;
        color: var(--color-white);
        padding: 0;
        border-radius: .5rem;
        margin: 1.5rem 5rem; 
        overflow: hidden; 
        width: calc(100% - 10rem); 
    }
    
    #heroCarousel,
    .carousel-inner {
        width: 100%;
    }

    .hero-section .carousel-item {
        min-height: 300px;
        background-size: contain; 
        background-position: center center;
        background-repeat: no-repeat;
        background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); 
        background-blend-mode: overlay; 
        width: 100%;
    }

    .hero-section .carousel-caption {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: left;
        padding: 0;
        padding-left: 10%; 
    }

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    .hero-section .btn {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
        color: var(--color-white);
        font-weight: bold;
        padding: 0.75rem 2rem;
        border-radius: 0.3rem;
    }
    
    /* --------------------------------- */
    /* CATEGORÍAS (Mejorado) */
    /* --------------------------------- */
    .popular-categories .improved-card {
        background-color: var(--color-white);
        border: none; 
        border-radius: 0.5rem;
        padding: 1.5rem 1rem;
        text-align: center;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
        width: 130px; 
        height: 120px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 6px rgba(0,0,0,.1);
    }
    .popular-categories .improved-card:hover {
        box-shadow: 0 8px 15px rgba(0,0,0,.15);
        transform: translateY(-5px);
    }
    .popular-categories .improved-card i {
        color: var(--color-primary); 
        margin-bottom: 0.5rem;
        font-size: 3rem; 
    }
    .popular-categories .improved-card p {
        font-size: 0.9rem;
        font-weight: 600; 
        color: var(--color-text-dark);
    }
    .popular-categories .more-link {
        background-color: var(--color-primary);
        box-shadow: 0 4px 6px rgba(5, 10, 48, 0.4);
    }
    .popular-categories .more-link i,
    .popular-categories .more-link p {
        color: var(--color-white);
    }
    .popular-categories .more-link:hover {
        background-color: var(--color-primary);
    }

    /* --------------------------------- */
    /* PRODUCTOS */
    /* --------------------------------- */
    .product-card {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
        transition: all 0.2s ease-in-out;
    }
    .product-card .card-img-top {
        object-fit: contain; 
        height: 180px; 
    }
    .product-card .btn-outline-warning {
        color: var(--color-primary);
        border-color: var(--color-primary);
        width: 100%;
        font-size: 18px;
        margin-top: 10px;
    }
    .product-card .btn-outline-warning:hover {
        background-color: var(--color-primary); 
        color: var(--color-white);
    }

    .btn-outline-warning:focus {
        box-shadow: 0 0 0 .25rem rgba(5, 10, 48, .5);
    }

    /* --------------------------------- */
    /* OFERTAS QUE VUELAN */
    /* --------------------------------- */
    .flying-offers {
        background-color: var(--color-light-bg); 
        border: 1px solid var(--color-light-border);
        border-radius: 0.5rem;
        padding: 2rem;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    }
    .flying-offers h2 {
        color: var(--color-primary); /* Título en color principal */
        font-size: 1.8rem;
    }
    .flying-offers .btn {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
        color: var(--color-white);
    }
    .offer-card {
        width: 180px; 
    }

    /* =================================================== */
    /* RESPONSIVIDAD MÓVIL (MAX-WIDTH: 991.98px) - FINAL */
    /* =================================================== */
    @media (max-width: 991.98px) {
        
        /* 1. Navbar y Buscador */
        .search-bar {
            display: none;
        }
        .container-fluid.mx-5 {
            margin-left: 1rem !important;
            margin-right: 1rem !important;
        }

        /* 2. Alineación del Menú Desplegable (#navbarNav) */
        #navbarNav {
            text-align: right; 
        }
        #navbarNav .navbar-nav {
            align-items: flex-end !important; 
            width: 100%; 
        }
        #navbarNav .nav-item {
            margin-right: 0 !important;
            margin-left: auto; 
            margin-bottom: 0.5rem;
        }

        /* 3. Estilo de los Íconos (Cuenta/Carrito) */
        #navbarNav .nav-item .nav-link {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 0 !important;
            padding-left: 0 !important;
        }
        #navbarNav .nav-item a .fs-4 {
            font-size: 1.5rem !important;
            margin-left: 0.5rem;
        }
        .nav-item .position-relative .badge {
            position: relative !important;
            top: auto !important;
            left: auto !important;
            transform: none !important;
            margin-left: 0.5rem !important;
            margin-top: 0 !important;
        }

        /* 4. Hero Section (SLIDER EN MÓVIL - SOLO BANNER) */
        .hero-section {
            margin: 1rem; 
            min-height: 200px; /* Aumentamos la altura para que el banner se vea mejor */
            width: calc(100% - 2rem);
        }
        .hero-section .carousel-item {
            min-height: 150px; /* Altura igual que el contenedor */
            background-size: contain; /* Recorta, pero llena y el banner se ve grande */
            background-position: center bottom; /* PRIORIZA la parte inferior de la imagen */
            background-repeat: no-repeat;
            height: 150px !important;
        }

        /* OCULTAMOS COMPLETAMENTE EL TEXTO Y EL BOTÓN EN MÓVIL */
        .hero-section .carousel-caption {
            display: none; 
        }
        
        /* 5. Ajustar Categorías */
        .popular-categories .row {
            justify-content: space-evenly !important;
        }
        .popular-categories .improved-card {
            width: 100px; 
            height: 100px; 
            padding: 1rem;
        }
        .popular-categories .improved-card i {
            font-size: 2rem; 
        }

        /* 6. Ajustar Ofertas */
        .flying-offers {
            padding: 1.5rem;
        }
        .flying-offers .d-flex.flex-wrap {
            margin-top: 1rem !important;
        }
    }
    
    /* Utilidad para enlaces */
    .text-current-color {
        color: var(--color-primary) !important;
    } 



    .breadcrumb > li > a{
        text-decoration: none !important;
        font-size: 14px !important;
    }

    .breadcrumbs-div{
				padding: 10px 0px; 
			}

			.breadcrumb{
				margin-bottom: 0px;
			}

    .dropdown-item.active, .dropdown-item:active {
    background-color: var(--color-primary);
}