.menu-scroll{
    max-height: 82vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.ourProducts-swiper .swiper-pagination{
    bottom: 0;
}

/*.button-float{*/
/*    display: none;*/
/*    bottom: 90px;*/
/*    width: 250px;*/
/*}*/

/*.button-float-button__text{*/
/*    position: absolute;*/
/*    right: 100px;*/
/*}*/

/*.button-float-button {*/
/*    position: fixed;*/
/*    bottom: 25px;*/
/*    right: 20px;*/
/*    z-index: 10;*/
/*}*/

/*.button-float-box{*/
/*   padding-bottom: 0; */
/*   width: 250px;*/
/*}*/

/*.button-float-button__circle {*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    background-color: #007bff;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*    cursor: pointer;*/
/*}*/

/*@media screen and (min-width: 992px) {*/
/*    .button-float, .button-float-box {*/
/*        width: 310px;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 360px) {*/
/*    .button-float, .button-float-box {*/
/*        width: 230px;*/
/*    }*/
/*    .button-float-button__text.open{*/
/*        width: 175px;*/
/*    }*/
/*    .button-float-button__text{*/
/*        padding: 8px 14px;*/
/*    }*/
/*}*/

a:focus-visible, 
button:focus-visible, 
[role="button"]:focus-visible, 
input:focus-visible, 
select:focus-visible {
    outline: 3px solid #F0BB22 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.tabs-tertiary__button .nav-link:focus-visible {
    outline: 3px solid #0A99D6 !important;
    outline-offset: -2px; 
    background-color: rgba(10, 153, 214, 0.1);
}

/* --- Layout Principal --- */
.custom-header {
    background-color: var(--bg-light, #ffffff);
    box-shadow: var(--shadow-main, 0 4px 15px rgba(0, 0, 0, 0.08));
    position: relative;
    z-index: 999999; /* ¡Z-index súper alto para sobreponerse al banner oscuro! */
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box; 
}

.custom-header__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; 
    gap: 10px; 
}

/* --- Logo Flex --- */
.custom-header__logo {
    flex-shrink: 1; 
    display: flex;
    align-items: center;
}

.custom-header__logo img {
    height: 40px; 
    width: auto;
    max-width: 100%; 
    object-fit: contain;
    transition: height 0.3s ease;
}

/* --- Controles Derecha --- */
.custom-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0; 
    transition: gap 0.3s ease;
}

.custom-header__zoom {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Botones Zoom --- */
.custom-zoom-btn {
    font-size: 18px;
    font-weight: 500;
    color: var(--blue-400, #0D8ABC);
    font-family: inherit;
    background-color: transparent;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.custom-zoom-btn:hover {
    color: var(--gold-hover, #F0BB22);
    transform: scale(1.1);
}

/* --- Autenticación y Saludo --- */
.custom-header__auth { position: relative !important; display: block; }

.auth-logged-in, .auth-logged-out {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-greeting {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-400, #0D8ABC);
}

/* --- Botón Avatar --- */
.profile-avatar-btn {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 2px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.default-avatar-icon {
    font-size: 16px;
    font-weight: bold;
    color: var(--bg-light, #ffffff);
    background-color: var(--blue-400, #0D8ABC);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.profile-avatar-btn:hover {
    border-color: var(--gold-hover, #F0BB22);
}

/* --- Menú Desplegable --- */
.custom-header__auth .auth-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 15px) !important;
    right: 0 !important;
    width: 280px !important;
    background-color: var(--bg-light, #ffffff) !important; /* Respaldo en blanco forzado */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 24px;
    
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999999 !important; /* Capa extrema para sobreponerse */
}

.custom-header__auth .auth-dropdown-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

/* Textos del menú y Formulario */
.auth-dropdown-header h4 { margin: 0 0 5px 0; color: var(--blue-400, #0D8ABC); font-size: 18px; font-weight: 600; }
.auth-dropdown-header p { margin: 0 0 20px 0; color: var(--text-dark, #333333); font-size: 13px; line-height: 1.4; }

.login-form { display: flex; flex-direction: column; gap: 16px; }
.input-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.input-group label { font-size: 13px; font-weight: 500; color: var(--text-dark, #333333); margin: 0; }
.input-group input {
    padding: 10px 12px; border: 1px solid var(--border-color, #e0e0e0); border-radius: 6px;
    font-size: 14px; outline: none; box-shadow: none; transition: border-color 0.3s ease; width: 100%; box-sizing: border-box;
}
.input-group input:focus { border-color: var(--blue-400, #0D8ABC); box-shadow: 0 0 0 3px rgba(13, 138, 188, 0.1); }
.btn-ingresar {
    background-color: var(--blue-400, #0D8ABC); color: #ffffff; border: none; padding: 12px;
    border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background-color 0.3s ease; margin-top: 8px; width: 100%;
}
.btn-ingresar:hover { background-color: var(--gold-hover, #F0BB22); }

/* Lista Perfil */
.auth-menu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.auth-menu-list li a { text-decoration: none; color: var(--text-dark, #333333); font-size: 14px; display: block; padding: 10px 12px; border-radius: 6px; transition: all 0.2s ease; }
.auth-menu-list li a:hover { background-color: #f5f5f5; color: var(--blue-400, #0D8ABC); }
.auth-menu-list li a.text-danger { color: #d9534f; }
.auth-menu-list li a.text-danger:hover { background-color: #fdf2f2; }

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media (max-width: 576px) {
    .custom-header { padding: 10px 15px; }
    .custom-header__logo img { height: 32px; }
    .custom-header__actions { gap: 12px; }
    .custom-zoom-btn { width: 28px; height: 28px; font-size: 16px; }
    .default-avatar-icon { width: 36px; height: 36px; font-size: 14px; }
    .custom-header__auth .auth-dropdown-menu {
        width: 280px !important; max-width: 90vw !important; right: -5px !important;
    }
}

@media (max-width: 360px) {
    .custom-header { padding: 8px 10px; }
    .custom-header__logo img { height: 26px; }
    .custom-header__actions { gap: 8px; }
    .custom-zoom-btn { width: 24px; height: 24px; font-size: 14px; }
    .custom-header__zoom { gap: 2px; }
    .default-avatar-icon { width: 32px; height: 32px; font-size: 13px; }
    .default-avatar-icon svg { width: 18px; height: 18px; }
}

/* --- Contenedor del Modal --- */
.custom-alert-content {
    border-radius: 16px; /* Bordes suaves */
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

/* --- Botón Cerrar Superior --- */
.custom-alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #999999;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}
.custom-alert-close:hover {
    color: #333333;
}

/* --- Círculo del Ícono --- */
.custom-alert-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 38px;
    transition: all 0.3s ease;
}

/* --- Estados de Color (Puedes aplicarlos con JS) --- */
/* Éxito (Azul corporativo o Verde) */
.custom-alert-icon-wrapper.state-success {
    background-color: rgba(13, 138, 188, 0.1); /* Fondo azul clarito */
    color: #0D8ABC; /* Azul Seguros Mundial */
}
/* Error (Rojo) */
.custom-alert-icon-wrapper.state-error {
    background-color: rgba(220, 53, 69, 0.1); /* Fondo rojo clarito */
    color: #dc3545; /* Rojo alerta */
}
/* Advertencia (Amarillo/Naranja) */
.custom-alert-icon-wrapper.state-warning {
    background-color: rgba(255, 193, 7, 0.1); 
    color: #ffc107; 
}

/* --- Tipografía --- */
.custom-alert-title {
    font-size: 24px;
    font-weight: 700;
    color: #043D56;
    margin-bottom: 12px;
}
.custom-alert-text {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Botón Inferior --- */
.custom-alert-btn {
    background-color: #001a33; /* Azul muy oscuro casi negro (como en tu imagen) */
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}
.custom-alert-btn:hover {
    background-color: #0D8ABC; /* Hover azul corporativo */
}
.custom-alert-btn:active {
    transform: scale(0.97); /* Pequeño efecto al hacer clic */
}