/**
 * Header personalizado - Beta Repuestos
 *
 * Estilos para el header standalone de paginas WooCommerce.
 * Replica el diseno de 4 widgets de Elementor en CSS puro.
 *
 * Estructura:
 * - Barra 1: Marquee de anuncios (#FF5023)
 * - Barra 2: Logo + Buscador + Iconos (blanco)
 * - Barra 3: Navegacion por categorias (#263238)
 *
 * @package HelloElementorChild_BetaRepuestos
 * @since   1.0.0
 */


/* ==========================================================================
   VARIABLES CSS - Definidas en global.css (no redeclarar aqui)
   ========================================================================== */


/* ==========================================================================
   HEADER CONTENEDOR GLOBAL
   ========================================================================== */

.br-hdr {
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   BARRA 1: ANNOUNCEMENT MARQUEE
   ========================================================================== */

.br-hdr-marquee {
    background: linear-gradient(135deg, var(--br-primary), var(--br-primary-dark));
    overflow: hidden;
    white-space: nowrap;
    height: 36px;
    display: flex;
    align-items: center;
    position: relative;
}

.br-hdr-marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee-scroll 35s linear infinite;
    will-change: transform;
}

.br-hdr-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--br-bg-white);
    font-family: var(--br-font-secondary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    padding: 0 12px;
    white-space: nowrap;
}

.br-hdr-marquee-item i {
    font-size: 13px;
}

.br-hdr-marquee-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 300;
    padding: 0 4px;
}

/* Animacion del marquee: desplaza la mitad del track (contenido duplicado) */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .br-hdr-marquee-track {
        animation-play-state: paused;
    }
}


/* ==========================================================================
   BARRA 2: LOGO + SEARCH + ICONS
   ========================================================================== */

.br-hdr-main {
    background: var(--br-bg-white);
    border-bottom: 1px solid var(--br-border);
}

.br-hdr-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 30px;
    gap: 24px;
}


/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.br-hdr-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.br-hdr-logo:hover {
    opacity: 0.85;
}

.br-hdr-logo-beta,
.br-hdr-logo-rep {
    font-family: var(--br-font-primary);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--br-secondary);
    line-height: 1;
    transition: color 0.2s ease;
}

.br-hdr-logo:hover .br-hdr-logo-beta,
.br-hdr-logo:hover .br-hdr-logo-rep {
    color: var(--br-primary);
}

.br-hdr-logo-img {
    max-height: 45px;
    width: auto;
    display: block;
}

.br-drawer-logo-img {
    max-height: 32px;
    width: auto;
    display: block;
}

.br-hdr-logo-bar {
    display: inline-block;
    width: 3px;
    height: 28px;
    background: var(--br-primary);
    margin: 0 8px;
    border-radius: 2px;
    flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   Search Bar
   -------------------------------------------------------------------------- */

.br-hdr-search {
    position: relative;
    flex: 1;
    max-width: 620px;
    display: flex;
    align-items: center;
}

/* FiboSearch: adaptar al diseño del header */
.br-hdr-search .dgwt-wcas-search-wrapp {
    width: 100%;
}

.br-hdr-search .dgwt-wcas-search-form {
    max-width: 100% !important;
}

.br-hdr-search .dgwt-wcas-sf-wrapp {
    border: 2px solid var(--br-border) !important;
    border-radius: 50px !important;
    background: var(--br-bg-light) !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.br-hdr-search .dgwt-wcas-sf-wrapp:focus-within {
    border-color: var(--br-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--br-primary-rgb), 0.12) !important;
    background: var(--br-bg-white) !important;
}

.br-hdr-search .dgwt-wcas-search-input {
    padding: 12px 16px 12px 20px !important;
    font-family: var(--br-font-secondary) !important;
    font-size: 14px !important;
    color: var(--br-text-dark) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
}

.br-hdr-search .dgwt-wcas-search-input::placeholder {
    color: var(--br-text-light) !important;
    font-weight: 400 !important;
}

.br-hdr-search .dgwt-wcas-search-submit,
.br-hdr-search .dgwt-wcas-ico-magnifier-handler {
    background: var(--br-primary) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    margin: 4px !important;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.br-hdr-search .dgwt-wcas-search-submit:hover,
.br-hdr-search .dgwt-wcas-ico-magnifier-handler:hover {
    background: var(--br-primary-dark) !important;
    box-shadow: 0 2px 8px rgba(var(--br-primary-rgb), 0.35) !important;
}

.br-hdr-search .dgwt-wcas-ico-magnifier,
.br-hdr-search .dgwt-wcas-search-submit svg {
    fill: #fff !important;
    width: 16px !important;
    height: 16px !important;
}

/* Panel de resultados autocomplete */
.dgwt-wcas-suggestions-wrapp {
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.15) !important;
    border: 1px solid #e8e8e8 !important;
    overflow: hidden !important;
    margin-top: 6px !important;
}

.dgwt-wcas-suggestion {
    padding: 10px 16px !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

.dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected {
    background: #FFF3E0 !important;
}

.dgwt-wcas-st {
    color: var(--br-text-dark) !important;
    font-family: var(--br-font-secondary) !important;
    font-size: 13px !important;
}

.dgwt-wcas-sp {
    color: var(--br-primary) !important;
    font-weight: 600 !important;
}

.dgwt-wcas-suggestion .dgwt-wcas-si {
    border-radius: 8px !important;
}

/* Boton "Ver todos los resultados" */
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more {
    background: #f8f8f8 !important;
    text-align: center !important;
}

.dgwt-wcas-suggestion.dgwt-wcas-suggestion-more .dgwt-wcas-st {
    color: var(--br-primary) !important;
    font-weight: 600 !important;
}

/* Limpiar icono X */
.br-hdr-search .dgwt-wcas-close {
    right: 60px !important;
}


/* --------------------------------------------------------------------------
   Icons (Llamar, WhatsApp, Cuenta, Carrito)
   -------------------------------------------------------------------------- */

.br-hdr-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.br-hdr-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    transition: background-color 0.2s ease;
}

.br-hdr-icon-link:hover {
    background: var(--br-primary-hover-bg);
}

.br-hdr-icon-link i {
    font-size: 22px;
    color: var(--br-secondary);
    transition: color 0.2s ease;
    line-height: 1;
}

.br-hdr-icon-link:hover i {
    color: var(--br-primary);
}

.br-hdr-icon-label {
    font-family: var(--br-font-secondary);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--br-text-gray);
    margin-top: 4px;
    line-height: 1;
    letter-spacing: 0.3px;
}

/* Badge del carrito */
.br-hdr-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--br-primary);
    color: var(--br-bg-white);
    font-family: var(--br-font-secondary);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}


/* ==========================================================================
   BARRA 3: MENU PRINCIPAL (wp_nav_menu)
   ========================================================================== */

.br-hdr-nav {
    background: var(--br-secondary);
    width: 100%;
}

.br-hdr-nav-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Reset del ul generado por wp_nav_menu */
.br-hdr-menu {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Items del menu */
.br-hdr-menu > li {
    position: relative;
}

.br-hdr-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--br-font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--br-text-white) !important;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.br-hdr-menu > li > a:hover,
.br-hdr-menu > li:hover > a {
    color: var(--br-primary-light) !important;
}

/* Underline animado al hover */
.br-hdr-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 40px);
    height: 2px;
    background: var(--br-primary);
    transition: transform 0.25s ease;
    transform-origin: center;
}

.br-hdr-menu > li > a:hover::after,
.br-hdr-menu > li:hover > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Item activo (pagina actual) */
.br-hdr-menu > li.current-menu-item > a,
.br-hdr-menu > li.current-menu-parent > a,
.br-hdr-menu > li.current-menu-ancestor > a {
    color: var(--br-primary-light) !important;
}

.br-hdr-menu > li.current-menu-item > a::after,
.br-hdr-menu > li.current-menu-parent > a::after,
.br-hdr-menu > li.current-menu-ancestor > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Flecha indicadora de submenu */
.br-hdr-menu > li.menu-item-has-children > a::before {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.br-hdr-menu > li.menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Dropdown (sub-menu)
   -------------------------------------------------------------------------- */

.br-hdr-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--br-bg-white);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.br-hdr-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.br-hdr-menu .sub-menu li {
    margin: 0;
}

.br-hdr-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--br-font-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--br-text-dark) !important;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.br-hdr-menu .sub-menu li a:hover {
    background: rgba(var(--br-primary-rgb), 0.06);
    color: var(--br-primary) !important;
    padding-left: 26px;
}

.br-hdr-menu .sub-menu li.current-menu-item a {
    color: var(--br-primary) !important;
    font-weight: 600;
}

/* Link padre dentro del dropdown (ej: "Tienda" dentro del submenu) */
.br-submenu-parent-link a {
    font-weight: 700 !important;
    color: var(--br-primary) !important;
}

/* Separador visual entre link padre y categorias */
.br-submenu-sep {
    height: 1px;
    background: var(--br-border);
    margin: 4px 16px;
    list-style: none;
}

/* Compatibilidad con clase antigua (por si queda algun uso directo) */
.br-hdr-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--br-font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--br-text-white) !important;
    text-decoration: none;
    white-space: nowrap;
}


/* ==========================================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ========================================================================== */

@media screen and (max-width: 1024px) {

    .br-hdr-main-inner {
        padding: 10px 20px;
        gap: 16px;
    }

    /* Logo mas compacto */
    .br-hdr-logo-img { max-height: 38px; }
    .br-hdr-logo-beta,
    .br-hdr-logo-rep {
        font-size: 18px;
    }

    .br-hdr-logo-bar {
        height: 22px;
        margin: 0 6px;
    }

    /* FiboSearch: ajustes tablet */
    .br-hdr-search .dgwt-wcas-search-input {
        font-size: 13px !important;
    }

    /* Iconos: reducir padding */
    .br-hdr-icon-link {
        padding: 6px 10px;
    }

    .br-hdr-icon-link i {
        font-size: 20px;
    }

    /* Nav: permitir scroll */
    .br-hdr-nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .br-hdr-nav-inner::-webkit-scrollbar {
        display: none;
    }

    .br-hdr-menu > li > a {
        padding: 12px 16px;
        font-size: 12px;
    }
}


/* ==========================================================================
   HAMBURGER BUTTON (oculto en desktop, visible en mobile via media query)
   ========================================================================== */

.br-hdr-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    order: 0;
    flex-shrink: 0;
}

.br-hdr-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--br-secondary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}


/* ==========================================================================
   MOBILE DRAWER - Base (oculto en desktop)
   ========================================================================== */

.br-mobile-drawer {
    display: none;
}


/* ==========================================================================
   RESPONSIVE - MOBILE (max-width: 767px)
   ========================================================================== */

@media screen and (max-width: 767px) {

    .br-hdr-main-inner {
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 10px;
    }

    /* Logo y iconos en la misma linea */
    .br-hdr-logo {
        order: 1;
    }

    .br-hdr-icons {
        order: 2;
        gap: 2px;
    }

    /* Buscador ocupa todo el ancho en segunda linea */
    .br-hdr-search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }

    /* Logo mas pequeno */
    .br-hdr-logo-img { max-height: 34px; }
    .br-hdr-logo-beta,
    .br-hdr-logo-rep {
        font-size: 16px;
    }

    .br-hdr-logo-bar {
        height: 20px;
        margin: 0 5px;
    }

    /* FiboSearch: ajustes mobile */
    .br-hdr-search .dgwt-wcas-search-input {
        padding: 10px 14px 10px 16px !important;
        font-size: 13px !important;
    }

    .br-hdr-search .dgwt-wcas-search-submit,
    .br-hdr-search .dgwt-wcas-ico-magnifier-handler {
        padding: 8px 14px !important;
    }

    /* Iconos: sin labels */
    .br-hdr-icon-label {
        display: none;
    }

    .br-hdr-icon-link {
        padding: 8px 10px;
        border-radius: 8px;
    }

    .br-hdr-icon-link i {
        font-size: 20px;
    }

    .br-hdr-badge {
        top: 0;
        right: 4px;
        width: 16px;
        height: 16px;
        font-size: 9px;
    }

    /* Marquee mas compacto */
    .br-hdr-marquee {
        height: 32px;
    }

    .br-hdr-marquee-item {
        font-size: 12px;
        padding: 0 10px;
    }

    /* Ocultar barra de nav horizontal en mobile */
    .br-hdr-nav {
        display: none;
    }

    /* Mostrar hamburger en mobile */
    .br-hdr-hamburger {
        display: flex;
    }
}


/* ==========================================================================
   RESPONSIVE - MOBILE PEQUENO (max-width: 374px)
   ========================================================================== */

@media screen and (max-width: 374px) {

    .br-hdr-main-inner {
        padding: 8px 10px;
        gap: 8px;
    }

    .br-hdr-logo-beta,
    .br-hdr-logo-rep {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .br-hdr-logo-bar {
        height: 18px;
        width: 2px;
        margin: 0 4px;
    }

    .br-hdr-icon-link {
        padding: 6px 8px;
    }

    .br-hdr-icon-link i {
        font-size: 18px;
    }

    /* FiboSearch: ajustes mobile pequeño */
    .br-hdr-search .dgwt-wcas-search-input {
        padding: 9px 12px 9px 14px !important;
        font-size: 12px !important;
    }

    .br-hdr-search .dgwt-wcas-search-submit,
    .br-hdr-search .dgwt-wcas-ico-magnifier-handler {
        padding: 7px 12px !important;
    }
}


/* ==========================================================================
   MOBILE DRAWER - Responsive (max-width: 767px)
   ========================================================================== */

@media screen and (max-width: 767px) {

    .br-mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        pointer-events: none;
        visibility: hidden;
        transition: visibility 0.3s;
        overflow: hidden;
    }

    .br-mobile-drawer.br-drawer-open {
        pointer-events: auto;
        visibility: visible;
    }

    /* Backdrop oscuro */
    .br-mobile-drawer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .br-mobile-drawer.br-drawer-open::before {
        opacity: 1;
    }

    /* Panel que se desliza */
    .br-drawer-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100%;
        background: var(--br-bg-white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        z-index: 1;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .br-mobile-drawer.br-drawer-open .br-drawer-panel {
        transform: translateX(0);
    }

    /* Cabecera del drawer */
    .br-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--br-border);
        flex-shrink: 0;
    }

    .br-drawer-logo {
        display: inline-flex;
        align-items: center;
    }

    .br-drawer-logo .br-hdr-logo-beta,
    .br-drawer-logo .br-hdr-logo-rep {
        font-size: 16px;
    }

    .br-drawer-logo .br-hdr-logo-bar {
        height: 18px;
        margin: 0 5px;
    }

    .br-drawer-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border: 1px solid var(--br-border);
        border-radius: 8px;
        cursor: pointer;
        color: var(--br-text-gray);
        font-size: 16px;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .br-drawer-close:hover {
        background: var(--br-bg-light);
        color: var(--br-primary);
    }

    /* Menu dentro del drawer */
    .br-drawer-nav {
        flex: 1;
        padding: 8px 0;
        overflow-y: auto;
    }

    .br-drawer-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .br-drawer-menu > li {
        position: relative;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .br-drawer-menu > li > a {
        display: block;
        padding: 14px 20px;
        font-family: var(--br-font-primary);
        font-size: 15px;
        font-weight: 600;
        color: var(--br-text-dark) !important;
        text-decoration: none;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .br-drawer-menu > li > a:hover {
        background: rgba(var(--br-primary-rgb), 0.05);
        color: var(--br-primary) !important;
    }

    .br-drawer-menu > li.current-menu-item > a,
    .br-drawer-menu > li.current-menu-ancestor > a {
        color: var(--br-primary) !important;
    }

    /* Item con hijos: espacio para toggle */
    .br-drawer-menu > li.menu-item-has-children > a {
        padding-right: 56px;
    }

    /* Boton toggle del accordion */
    .br-drawer-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        cursor: pointer;
        color: var(--br-text-light);
        font-size: 12px;
        transition: color 0.15s ease, transform 0.25s ease;
    }

    .br-drawer-toggle:hover {
        color: var(--br-primary);
    }

    .br-drawer-toggle.br-drawer-sub-open i {
        transform: rotate(180deg);
    }

    /* Sub-menu (oculto por defecto) */
    .br-drawer-menu .sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--br-bg-light);
        transition: max-height 0.3s ease;
    }

    .br-drawer-menu .sub-menu.br-drawer-sub-open {
        max-height: 600px;
    }

    .br-drawer-menu .sub-menu li a {
        display: block;
        padding: 11px 20px 11px 32px;
        font-family: var(--br-font-primary);
        font-size: 14px;
        font-weight: 500;
        color: var(--br-text-gray) !important;
        text-decoration: none;
        transition: color 0.15s ease, padding-left 0.15s ease;
    }

    .br-drawer-menu .sub-menu li a:hover {
        color: var(--br-primary) !important;
        padding-left: 38px;
    }

    /* Link padre dentro del sub-menu (ej: "Ver toda la Tienda") */
    .br-drawer-parent-link a {
        color: var(--br-primary) !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .br-drawer-parent-link a i {
        margin-right: 6px;
        font-size: 13px;
    }

    /* Contacto rapido al fondo */
    .br-drawer-contact {
        display: flex;
        gap: 10px;
        padding: 16px 20px;
        border-top: 1px solid var(--br-border);
        flex-shrink: 0;
    }

    .br-drawer-contact-link {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px;
        border-radius: 8px;
        font-family: var(--br-font-primary);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        color: var(--br-bg-white) !important;
        background: var(--br-secondary);
        transition: background 0.15s ease;
    }

    .br-drawer-contact-link:hover {
        background: var(--br-text-dark);
    }

    .br-drawer-whatsapp {
        background: #25D366;
    }

    .br-drawer-whatsapp:hover {
        background: #1DA851;
    }
}
