/**
 * Header Landing — Estilos basados en mockup v2
 * Breakpoints: móvil <768 | tablet 768-1024 | desktop >1024
 */

/* ============================================================
   VARIABLES LOCALES
   ============================================================ */

:root {
    --header-nav-bg:    rgba(255, 255, 255, 0.15);
    --header-sticky-bg: rgba(29, 95, 135, 0.95);
    --header-panel-bg:  #1d5f87;
}

/* ============================================================
   BASE — contenedor hero con imagen de fondo
   ============================================================ */

.header-landing {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.10) 40%,
        rgba(0, 0, 0, 0.40) 100%
    );
    z-index: 1;
}

/* ============================================================
   BARRA DE PROGRESO DE SCROLL
   ============================================================ */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-yellow, #f5c518),
        var(--color-primary)
    );
    background-size: 200% 100%;
    animation: progressShimmer 2.5s infinite linear;
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
    transition: width 0.1s linear;
}

@keyframes progressShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   HEADER-TOP — barra de navegación superpuesta
   ============================================================ */

.header-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #fff;
    transition: all 0.3s ease;
}

/* ============================================================
   STICKY — fondo azul sólido al hacer scroll
   ============================================================ */

.header-landing.is-sticky .header-top {
    position: fixed;
    top: 0;
    background: var(--header-sticky-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 12px 5%;
    animation: slideDown 0.35s ease;
}

/* Compensa la barra de administración de WordPress (32px) */
.admin-bar .header-landing.is-sticky .header-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header-landing.is-sticky .header-top {
        top: 46px;
    }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ============================================================
   LOGO
   ============================================================ */

.logo-container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    text-decoration: none;
    gap: 8px;
    transition: opacity 0.25s ease;
}

.logo-container a:hover {
    opacity: 0.9;
}

.site-logo {
    display: block;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container a:hover .site-logo {
    transform: scale(1.05);
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

/* ============================================================
   NAV-WRAPPER — columna derecha (utilidades + nav)
   ============================================================ */

.nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* ============================================================
   TOP-NAV — Mi cuenta | Favoritos | Carrito | Idioma
   ============================================================ */

.top-nav {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    align-items: center;
}

.top-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: var(--color-primary);
    outline: none;
}

.top-nav a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Carrito con badge */
.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    line-height: 1;
}

/* Badge de carrito en el menú de navegación principal */
.bn-cart-menu-item > a {
    position: relative;
}

.bn-menu-cart-count {
    position: absolute;
    top: -10px;
    right: -14px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50%;
    background: var(--e-global-color-primary, #E74F08);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* Selector de idioma */
.lang-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 34px;
    color: rgba(255, 255, 255, 0.9);
}

.lang-selector--gtranslate {
    max-width: 100%;
}

.lang-selector--gtranslate .lang-selector__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
}

.lang-selector--gtranslate a.glink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lang-selector--gtranslate a.glink:hover,
.lang-selector--gtranslate a.glink:focus-visible,
.lang-selector--gtranslate a.glink.gt-current-lang {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--color-primary);
    color: #fff;
}

.lang-selector--gtranslate a.glink:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.lang-selector--gtranslate a.glink img {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    object-fit: cover;
    margin-right: 0;
    opacity: 1;
}

/* ============================================================
   MAIN-NAV — pastilla con backdrop-filter (desktop)
   ============================================================ */

.main-nav {
    background: var(--header-nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
    color: var(--color-primary);
}

.main-nav a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Botón cerrar — solo móvil */
.menu-close {
    display: none;
}

/* Acciones móvil — solo móvil */
.mobile-only-actions {
    display: none;
}

/* ============================================================
   HAMBURGER — oculto en desktop
   ============================================================ */

.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s, background 0.25s;
    flex-shrink: 0;
    z-index: 101;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.hamburger-box {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-inner {
    position: relative;
}

.hamburger-inner::before {
    content: '';
    position: absolute;
    top: -7px;
}

.hamburger-inner::after {
    content: '';
    position: absolute;
    bottom: -7px;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner              { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger-inner::before      { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger-inner::after       { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   OVERLAY MÓVIL
   ============================================================ */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================================
   HERO CONTENT — centrado vertical
   ============================================================ */

.header-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    text-align: center;
}

.header-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* ============================================================
   TÍTULOS DEL HERO
   ============================================================ */

.hero-titles {
    position: relative;
    z-index: 10;
    text-align: center;
}

.title-script {
    font-family: 'Dancing Script', cursive;
    font-size: 7.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 0 -30px;
    position: relative;
    left: -60px;
    transform: rotate(-5deg);
    line-height: 1;
    display: block;
}

.title-main {
    font-size: 6.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    line-height: 1;
    display: block;
    margin: 0;
}

.wave-graphic {
    width: 250px;
    height: 25px;
    background: rgba(43, 145, 175, 0.7);
    border-radius: 50%;
    margin: 10px auto 0;
    filter: blur(8px);
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
    margin: 22px auto 0;
    line-height: 1.55;
    letter-spacing: 0.3px;
    max-width: 580px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   HERO SEARCH BAR
   ============================================================ */

.hero-search-container {
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 50px;
    padding: 8px 8px 8px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-right: 1px solid #e0e0e0;
    position: relative;
    min-width: 0;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field select,
.search-field input,
.bn-select__trigger {
    border: 1px solid #cccccc7c;
    border-radius: 10px;
    outline: none;
    width: 100%;
    padding: 12px 30px 12px 5px;
    font-family: inherit;
    color: #222;
    font-size: 0.95rem;
    background: transparent;
    cursor: pointer;
}

.search-field .svg-inline--fa{
    color: var(--color-primary) !important;
    padding: 0 10px;
}

.search-field select:focus-visible,
.search-field input:focus-visible {
    outline: 2px solid var(--color-primary);
    border-radius: 4px;
}

.search-field i {
    color: #006D94 !important;
    position: absolute;
    right: 20px;
    pointer-events: none;
    font-size: 0.9rem;
}

.search-field i.field-icon {
    left: 20px;
    right: auto;
    color: #006D94 !important;
    font-size: 1rem;
}

.btn-search {
    background: #1d5f87;
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 40px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-search:hover {
    background: #154563;
}

.btn-search:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ============================================================
   ACCESIBILIDAD — sr-only
   ============================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link — permite saltar la navegación e ir al contenido (WCAG 2.4.1) */
.bn-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--color-primary, #1d5f87);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.bn-skip-link:focus {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: -4px;
}

/* Ancla del contenido principal: objetivo del skip link, sin impacto visual */
.bn-content-anchor {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================================
   TABLET + MÓVIL  ≤ 1024px
   ============================================================ */

@media (max-width: 1024px) {
    /* Mostrar hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Panel lateral desde la derecha */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--header-panel-bg);
        padding: 80px 24px 40px;
        transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        z-index: 99;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
        overflow-y: auto;
    }

    .nav-wrapper.is-open {
        right: 0;
    }

    /* Top-nav: apilado en el panel */
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        width: 100%;
    }

    .top-nav a {
        font-size: 0.95rem;
    }

    .lang-selector,
    .lang-selector--gtranslate,
    .lang-selector--gtranslate .lang-selector__items {
        width: 100%;
        justify-content: flex-start;
    }

    /* Nav principal: lista vertical */
    .main-nav {
        flex-direction: column;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        border-radius: 0;
        width: 100%;
        align-items: flex-start;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        font-size: 1.12rem;
        color: #fff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Badge del carrito en menú responsive: alineado a la derecha dentro del ítem */
    .bn-menu-cart-count {
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Botón cerrar */
    .menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 18px;
        right: 18px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .menu-close:focus-visible {
        outline: 2px solid var(--color-primary);
        outline-offset: 3px;
    }

    /* Acciones móvil */
    .mobile-only-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .mobile-only-actions a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.95rem;
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-only-actions a:hover {
        color: #fff;
    }

    /* Títulos hero */
    .title-script {
        font-size: 5rem;
        left: -40px;
    }

    .title-main {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    /* Hero search: apilado */
    .hero-search-container {
        border-radius: 20px;
        padding: 15px;
        max-width: 560px;
        width: 95%;
    }

    .hero-search-form {
        flex-direction: column;
    }

    .search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        border-radius: 12px;
    }
}

/* ============================================================
   MÓVIL  ≤ 767px
   ============================================================ */

@media (max-width: 767px) {
    .header-landing {
        min-height: 100vh;
    }

    .header-top {
        padding: 18px 5%;
        align-items: center;
    }

    .site-logo {
        max-height: 55px;
    }

    .logo-text {
        font-size: 0.78rem;
    }

    .header-content {
        padding: 80px 16px 40px;
    }

    .header-container {
        padding: 0 16px;
        gap: 40px;
    }

    .title-script {
        font-size: 4rem;
        left: 0;
        transform: none;
        margin-bottom: 0;
    }

    .title-main {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-top: 16px;
    }

    .hero-search-container {
        border-radius: 20px;
        padding: 15px;
        width: 95%;
    }

    .search-field select,
    .search-field input {
        font-size: 0.9rem;
    }

    .btn-search {
        font-size: 0.95rem;
        padding: 14px 20px;
    }
}

/* ============================================================
   MUY PEQUEÑO  ≤ 375px
   ============================================================ */

@media (max-width: 375px) {
    .btn-search {
        padding: 14px;
        justify-content: center;
    }
}

/* ============================================================
   ACCESIBILIDAD — reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-bar {
        animation: none;
    }

    .nav-wrapper,
    .menu-toggle,
    .logo-container a,
    .btn-search,
    .header-top,
    .menu-overlay {
        transition: none !important;
    }
}

/* ============================================================
   HERO SEARCH — CUSTOM SELECT DROPDOWN
   ============================================================ */

/* Wrapper: ocupa el espacio del <select> nativo en el flex */
.bn-select {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
    position: relative;
}

/* Botón visible: mismo tamaño y alineación que el antiguo <select> */
.bn-select__trigger {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(204, 204, 204, 0.49);
    padding: 12px 6px 12px 5px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #222;
    cursor: pointer;
    text-align: left;
    min-width: 0;
    border-radius: 10px;
    transition: border-color 0.2s, color 0.2s;
}

.bn-select__trigger:hover {
    border-color: rgba(0, 109, 148, 0.4);
}

.bn-select__trigger:focus-visible {
    outline: 2px solid var(--color-primary, #E74F08);
    outline-offset: 2px;
}

/* Texto del valor seleccionado */
.bn-select__value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.bn-select__value--placeholder {
    color: #9ca3af;
}

/* Chevron — override del .search-field i global */
.search-field .bn-select__trigger .bn-select__chevron {
    position: static !important;
    right: auto !important;
    left: auto !important;
    color: #9ca3af !important;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: transform 0.22s ease, color 0.22s ease;
    pointer-events: none;
}

.bn-select.is-open .bn-select__chevron {
    transform: rotate(180deg);
    color: var(--color-primary, #E74F08) !important;
}

/* Dropdown */
.bn-select__list {
    position: absolute;
    top: calc(100% + 6px);
    left: -15px;
    min-width: max(200px, calc(100% + 30px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 500;
    max-height: 240px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.bn-select__list::-webkit-scrollbar        { width: 4px; }
.bn-select__list::-webkit-scrollbar-track  { background: transparent; }
.bn-select__list::-webkit-scrollbar-thumb  { background: #e5e7eb; border-radius: 4px; }

.bn-select.is-open .bn-select__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Cada opción */
.bn-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #374151;
    cursor: pointer;
    user-select: none;
    transition: background 0.13s ease, color 0.13s ease;
}

.bn-select__option:hover {
    background: rgba(231, 79, 8, 0.07);
    color: #E74F08;
}

.bn-select__option[aria-selected="true"] {
    background: rgba(231, 79, 8, 0.1);
    color: #E74F08;
    font-weight: 500;
}

/* Separador visual bajo la opción placeholder */
.bn-select__option[data-value=""] {
    color: #9ca3af;
    font-size: 0.85rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

/* Checkbox visual para multi-select */
.bn-select__cb {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

.bn-select__option:hover .bn-select__cb {
    border-color: #E74F08;
}

.bn-select__option[aria-selected="true"] .bn-select__cb {
    background: #E74F08;
    border-color: #E74F08;
}

.bn-select__cb::after {
    content: '';
    width: 7px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}

.bn-select__option[aria-selected="true"] .bn-select__cb::after {
    opacity: 1;
}

/* Botón × para limpiar selección */
.bn-select__clear {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
}

.bn-select__clear:hover {
    background: rgba(231, 79, 8, 0.12);
    color: #E74F08;
}

.bn-select.has-value .bn-select__clear {
    display: flex;
}

/* Responsive */
@media (max-width: 1024px) {
    .bn-select__trigger {
        padding: 12px 6px;
    }

    .bn-select__list {
        left: 0;
        min-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-select__list,
    .bn-select__chevron {
        transition: none !important;
    }
}
