    /* 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;
        --primary-red: #f25252;
    --text-muted: #8e8e93;
    --bg-card: #ffffff;
    }

    /* 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); 
    } 

    .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);
}




/******** CALENDER **********/
 
 
 /* --- COMPORTAMIENTO PARA MÓVIL --- */
.hero-wrapper {
    display: flex;
    flex-direction: column; /* Apilados */
    width: 100%;    
    align-items: flex-start;
}

#heroCarousel, 
#viewcalendar {
    width: 100% !important;
}

.carousel-item {
    height: 250px !important; /* Altura cómoda para celular */
}

#viewcalendar {
    margin-top: 15px;
}

/* --- COMPORTAMIENTO PARA PANTALLAS GRANDES (PC) --- */
@media (min-width: 992px) {
    .hero-wrapper {
        flex-direction: row; /* Uno al lado del otro */
        align-items: stretch;
    }

    #heroCarousel {
        width: 70% !important;
    }

    #viewcalendar {
        width: 30% !important;
        margin-top: 0;
        margin-left: 15px;
    }

    .carousel-item {
        height: 400px !important; /* Altura original en PC */
    }

    .custom-calendar {
        height: 400px;
        display: flex;
        flex-direction: column;
        margin:20px;
    }
}


/* Tarjeta Calendario */
.custom-calendar {
    flex: 1;
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-width: 320px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0px;
}

.cal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.btn-today, .btn-add {
    color: var(--primary-red);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
}

.cal-nav {
    display: flex;
    align-items: center;      /* Centra verticalmente */
    justify-content: space-between; /* Empuja los elementos a los extremos */
    width: 100%;             /* Importante para que ocupe todo el ancho de la tarjeta */
    padding: 0 10px;         /* Un pequeño respiro a los lados */
}

#monthYear {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    flex-grow: 1;            /* Ayuda a mantener el texto centrado */
    text-align: center;
}

.nav-btn {
    background: none;
    border: none;
    color: #f25252;          /* Tu rojo de marca */
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.2s;
}

.nav-btn:hover {
    transform: scale(1.2);    /* Efecto sutil al pasar el mouse */
}

.cal-nav button {
    border: none;
    background: none;
    color: var(--primary-red);
    font-size: 1.2rem;
    padding: 0 10px;
    cursor: pointer;
    font-weight: bold;
} 

/* Grid de días */
.cal-weekdays, .cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.cal-weekdays div {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-bottom: 5px;
}

.day-cell {
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 8px; /* Opcional: para que el hover se vea redondeado */
}

.day-number {
    font-size: 1rem;
    font-weight: 500;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    color:var(--color-primary);
}
 
.day-cell:hover:not(.empty) {
    background-color: #f0f0f0; /* Un gris muy suave al pasar el mouse */
}
 



/* El círculo rojo de "Hoy" o seleccionado */
.day-cell.active .day-number {
    background: var(--primary-red);
    color: white;
    border-radius: 12px;
}

/* Contenedor de puntos */
.dots-container {
    display: flex;
    gap: 3px;
    height: 6px;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}








.event-list-container {
    padding: 10px;
    background: #ffffff;
}

.modal-date-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 20px;
    font-weight: 700;
}

.event-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 12px 18px;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #e0e0e0;
}

/* Indicador lateral minimalista */
.event-indicator {
    width: 4px;
    height: 35px;
    border-radius: 10px;
    margin-right: 15px;
}

.event-info {
    flex-grow: 1;
}

.event-category {
    font-size: 0.75rem;
    font-weight: 700; /* Un poco más negrita para resaltar el comercio */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.event-title {
    margin: 0;
    font-size: 0.95rem;
    color: #000832; /* Azul Oscuro Publikash */
    font-weight: 600;
}

/* Botón Circular con Icono */
.go-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f8f9fa;
    color: #000832;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.event-card:hover .go-btn {
    background: #000832;
    color: #fff;
}

.go-btn i {
    font-size: 1.2rem;
}