/* =====================================================================
   HISPASEEDS BLACK · EDICIÓN DOCUMENTADA
   Archivo: assets/css/header.css
   ---------------------------------------------------------------------
   QUÉ HACE:
   - Todo el diseño del header: alto, logo, menú, carrito, móvil.

   QUÉ SUELE TOCARSE AQUÍ:
   - Cambiar tamaño del logo
   - Reducir padding del header
   - Ajustar menú desktop y móvil

   CAMBIOS FRECUENTES:
   - Logo más grande sin aumentar el header
   - Separación entre menú y logo
   - Altura del header móvil

   DEPENDE DE:
   - header.php

   CONSEJO PARA NOVATOS:
   - Antes de cambiar mucho, abre el navegador, inspecciona el elemento
     y busca aquí la clase que quieres modificar.
   ===================================================================== */

/* Robust reset for parent theme header */
.site-header ul,
.site-header li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header .ast-container,
.site-header .ast-builder-grid-row-container {
    width: min(100% - 32px, var(--luxe-container, 1240px));
    margin-inline: auto;
}

.site-header .ast-builder-grid-row,
.site-header .site-header-primary-section-left,
.site-header .site-header-primary-section-right,
.site-header .ast-site-identity,
.site-header .main-header-menu,
.site-header .main-header-menu-wrap {
    display: flex;
    align-items: center;
}

/* === ALTURA Y RESPIRACIÓN DEL HEADER ===================================
   AQUÍ SUELEN ESTAR LOS GAPS Y SEPARACIONES INTERNAS DEL HEADER.
   Para reducir la altura visual sin empequeñecer el logo, baja padding/gap.
   ===================================================================== */
.site-header .ast-builder-grid-row {
    justify-content: space-between;
    gap: 24px;
}

.site-header .site-header-primary-section-right,
.site-header .main-header-menu-wrap {
    margin-left: auto;
}

.site-header .main-header-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-header .site-title,
.site-header .site-description {
    margin: 0;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   HEADER / HISPASEEDS
   Desktop premium + mÃ³vil estable
   ====================================================== */

/* === SECCIÓN =========================================================== */
/* ======================================================
   1. CONTENEDOR GENERAL DEL HEADER
   ====================================================== */

.site-header,
.ast-site-header-wrap,
.main-header-bar-wrap,
.main-header-bar,
.ast-primary-header-bar {
    position: relative;
    z-index: 100;
}

.site-header {
    position: relative !important;
    z-index: 999;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(6, 6, 6, 0.98) 100%);
    border-bottom: 1px solid rgba(191, 145, 63, 0.30);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* Quitamos fondos heredados de Astra en capas internas */
.main-header-bar-wrap,
.main-header-bar,
.ast-primary-header-bar,
.ast-builder-grid-row-container,
.site-header-section,
.ast-builder-layout-element {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   2. ESTRUCTURA GENERAL DEL HEADER
   ====================================================== */

/* === ALTURA Y RESPIRACIÓN DEL HEADER ===================================
   AQUÍ SUELEN ESTAR LOS GAPS Y SEPARACIONES INTERNAS DEL HEADER.
   Para reducir la altura visual sin empequeñecer el logo, baja padding/gap.
   ===================================================================== */
.site-header .ast-builder-grid-row {
    min-height: 92px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
}

/* MÃ¡rgenes laterales del contenido del header */
.site-header .ast-container,
.site-header .ast-builder-grid-row-container {
    padding-left: 14px !important;
    padding-right: 16px !important;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   3. LOGO
   ====================================================== */

.site-branding,
.ast-site-identity,
.custom-logo-link {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.site-branding img,
.custom-logo-link img,
.site-header .custom-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 84px !important;
    object-fit: contain !important;
}

/* Sube ligeramente el logo solo en escritorio */
.site-branding,
.ast-site-identity {
    transform: translateY(-3px);
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   4. ENLACES GENERALES DEL HEADER
   ====================================================== */

.site-header a,
.site-title a {
    text-decoration: none;
}

.site-header a:focus {
    outline: none;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   5. MENÃš DESKTOP
   ====================================================== */

.site-header .main-header-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-header-menu > .menu-item {
    position: relative;
    margin: 0;
    background: transparent !important;
}

.main-header-menu > .menu-item > a,
.main-header-menu > .menu-item > .menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 0;
    color: #e3d7bf !important;
    -webkit-text-fill-color: #e3d7bf !important;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: none;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

/* Subrayado fino premium en desktop */
@media (min-width: 922px) {
    .main-header-menu > .menu-item > a::before,
    .main-header-menu > .menu-item > .menu-link::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        height: 1px;
        background: linear-gradient(90deg, rgba(215, 178, 106, 0) 0%, rgba(215, 178, 106, 0.95) 50%, rgba(215, 178, 106, 0) 100%);
        opacity: 0;
        transform: scaleX(0.55);
        transform-origin: center;
        transition:
            opacity 0.22s ease,
            transform 0.22s ease;
        pointer-events: none;
    }

    .main-header-menu > .menu-item:hover > a::before,
    .main-header-menu > .menu-item:hover > .menu-link::before,
    .main-header-menu > .menu-item:focus-within > a::before,
    .main-header-menu > .menu-item:focus-within > .menu-link::before,
    .main-header-menu > .current-menu-item > a::before,
    .main-header-menu > .current-menu-item > .menu-link::before,
    .main-header-menu > .current-menu-ancestor > a::before,
    .main-header-menu > .current-menu-ancestor > .menu-link::before {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Quitamos subrayados heredados */
.main-header-menu > .menu-item > a::after,
.main-header-menu > .menu-item > .menu-link::after,
.main-header-menu .sub-menu .menu-item > a::after,
.main-header-menu .sub-menu .menu-item > .menu-link::after {
    display: none !important;
    content: none !important;
}

/* Hover / activo desktop */
.main-header-menu > .menu-item:hover,
.main-header-menu > .menu-item:focus-within,
.main-header-menu > .current-menu-item,
.main-header-menu > .current-menu-ancestor {
    background: transparent !important;
    background-color: transparent !important;
}

.main-header-menu > .menu-item:hover > a,
.main-header-menu > .menu-item:hover > .menu-link,
.main-header-menu > .menu-item:focus-within > a,
.main-header-menu > .menu-item:focus-within > .menu-link,
.main-header-menu > .current-menu-item > a,
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current-menu-ancestor > a,
.main-header-menu > .current-menu-ancestor > .menu-link {
    color: #d7b26a !important;
    -webkit-text-fill-color: #d7b26a !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   6. SUBMENÃš DESKTOP
   ====================================================== */

.main-header-menu .sub-menu {
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.985);
    border: 1px solid rgba(191, 145, 63, 0.18);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.main-header-menu .sub-menu .menu-item {
    margin: 0;
    background: transparent !important;
}

.main-header-menu .sub-menu .menu-item > a,
.main-header-menu .sub-menu .menu-item > .menu-link {
    display: block;
    padding: 12px 18px;
    color: #ddd1b6 !important;
    -webkit-text-fill-color: #ddd1b6 !important;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: none;
    background: transparent !important;
    background-color: transparent !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        padding-left 0.2s ease;
}

.main-header-menu .sub-menu .menu-item:hover > a,
.main-header-menu .sub-menu .menu-item:hover > .menu-link,
.main-header-menu .sub-menu .menu-item:focus-within > a,
.main-header-menu .sub-menu .menu-item:focus-within > .menu-link,
.main-header-menu .sub-menu .current-menu-item > a,
.main-header-menu .sub-menu .current-menu-item > .menu-link,
.main-header-menu .sub-menu .current-menu-ancestor > a,
.main-header-menu .sub-menu .current-menu-ancestor > .menu-link {
    color: #d7b26a !important;
    -webkit-text-fill-color: #d7b26a !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding-left: 22px;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   7. ICONOS / CARRITO / CUENTA / HAMBURGUESA
   ====================================================== */

.ast-header-account-wrap,
.ast-addon-cart-wrap,
.ast-site-header-cart,
.ast-builder-menu-cart,
.ast-mobile-menu-trigger-minimal {
    color: #d7b26a;
}

.ast-site-header-cart-li a,
.ast-builder-menu-cart .ast-custom-button,
.ast-mobile-menu-trigger-minimal {
    color: #d7b26a !important;
    -webkit-text-fill-color: #d7b26a !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ast-site-header-cart-li a:hover,
.ast-builder-menu-cart .ast-custom-button:hover,
.ast-mobile-menu-trigger-minimal:hover,
.ast-mobile-menu-trigger-minimal:focus {
    color: #f0d59a !important;
    -webkit-text-fill-color: #f0d59a !important;
    background: transparent !important;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   8. BUSCADOR
   ====================================================== */

.site-header input,
.site-header .search-field {
    color: #f3ead7;
    background: transparent;
}

.site-header input::placeholder,
.site-header .search-field::placeholder {
    color: rgba(230, 210, 168, 0.70);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   9. ASTRA TRANSPARENTE / OVERLAY
   ====================================================== */

.ast-transparent-header .site-header,
.ast-theme-transparent-header .site-header,
.ast-transparent-header .main-header-bar-wrap,
.ast-theme-transparent-header .main-header-bar-wrap,
.ast-transparent-header .main-header-bar,
.ast-theme-transparent-header .main-header-bar,
.ast-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header .ast-primary-header-bar {
    position: relative !important;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(6, 6, 6, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(191, 145, 63, 0.30) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
}

.ast-transparent-header #content,
.ast-theme-transparent-header #content,
.ast-transparent-header .site-content,
.ast-theme-transparent-header .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Espaciado del contenido bajo el header */
.site-content {
    margin-top: 0 !important;
    padding-top: 20px;
}

body.luxe-front-page .site-content {
    padding-top: 10px;
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   10. MÃ“VIL / TABLET
   ------------------------------------------------------
   AquÃ­ dejamos el comportamiento del menÃº mÃ³vil
   casi nativo para no romper alineaciones del drawer.
   Solo mantenemos fondo, logo y espaciado base.
   ====================================================== */

@media (max-width: 921px) {

    /* === ALTURA Y RESPIRACIÓN DEL HEADER ===================================
   AQUÍ SUELEN ESTAR LOS GAPS Y SEPARACIONES INTERNAS DEL HEADER.
   Para reducir la altura visual sin empequeñecer el logo, baja padding/gap.
   ===================================================================== */
.site-header .ast-builder-grid-row {
        min-height: 72px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-header .ast-container,
    .site-header .ast-builder-grid-row-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .site-branding,
    .ast-site-identity {
        transform: none;
    }

    .site-branding img,
    .custom-logo-link img,
    .site-header .custom-logo {
        max-height: 48px !important;
    }

    /* Fondo sÃ³lido, sin tocar layout interno del drawer */
    .ast-mobile-popup-drawer,
    .ast-mobile-popup-drawer .ast-mobile-popup-inner,
    .ast-builder-menu-mobile .main-navigation,
    .ast-builder-menu-mobile .main-navigation ul,
    .ast-builder-menu-mobile .main-header-menu {
        background: #0b0b0b !important;
    }

    /* Mantener botÃ³n mÃ³vil limpio */
    .menu-toggle-close,
    .ast-mobile-popup-drawer .menu-toggle-close {
        color: #d7b26a !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .site-content {
        padding-top: 14px;
    }

    body.luxe-front-page .site-content {
        padding-top: 12px;
    }
}

/* === SECCIÓN =========================================================== */
/* ======================================================
   11. DESKTOP GRANDE
   ====================================================== */

@media (min-width: 922px) {
    .site-branding img,
    .custom-logo-link img,
    .site-header .custom-logo {
        max-height: 90px !important;
    }
}

.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header .menu-item {
    list-style: none;
}

.site-header .main-header-menu > .menu-item {
    display: flex;
    align-items: center;
}

@media (max-width: 921px) {
    /* === ALTURA Y RESPIRACIÓN DEL HEADER ===================================
   AQUÍ SUELEN ESTAR LOS GAPS Y SEPARACIONES INTERNAS DEL HEADER.
   Para reducir la altura visual sin empequeñecer el logo, baja padding/gap.
   ===================================================================== */
.site-header .ast-builder-grid-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header .site-header-primary-section-right,
    .site-header .main-header-menu-wrap,
    .site-header .main-header-menu {
        width: 100%;
        justify-content: flex-start;
    }

    .site-header .main-header-menu {
        gap: 14px 20px;
    }

    .site-header .main-header-menu > .menu-item > a,
    .site-header .main-header-menu > .menu-item > .menu-link {
        min-height: 36px;
        padding: 6px 0;
    }
}


/* === SECCIÓN =========================================================== */
/* ======================================================
   12. HEADER MÓVIL · REFINADO VISUAL
   ------------------------------------------------------
   Objetivo:
   - Mejorar legibilidad del logo en móvil
   - Convertir el menú en una rejilla limpia y compacta
   - Evitar el aspecto de lista improvisada
   ====================================================== */

@media (max-width: 921px) {
    .site-header {
        backdrop-filter: blur(10px);
    }

    /* === ALTURA Y RESPIRACIÓN DEL HEADER ===================================
   AQUÍ SUELEN ESTAR LOS GAPS Y SEPARACIONES INTERNAS DEL HEADER.
   Para reducir la altura visual sin empequeñecer el logo, baja padding/gap.
   ===================================================================== */
.site-header .ast-builder-grid-row {
        align-items: stretch;
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .site-header .site-header-primary-section-left,
    .site-header .site-header-primary-section-right {
        width: 100%;
    }

    .site-header .ast-site-identity,
    .site-header .site-branding,
    .site-header .site-brand-logo,
    .site-header .custom-logo-link {
        width: 100%;
        justify-content: flex-start;
    }

    .site-branding img,
    .custom-logo-link img,
    .site-header .custom-logo {
        max-height: 68px !important;
    }

    .site-header .main-header-menu-wrap {
        display: block;
        width: 100%;
        margin-left: 0;
    }

    .site-header .main-header-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }

    .site-header .main-header-menu > .menu-item {
        display: block;
        width: 100%;
    }

    .site-header .main-header-menu > .menu-item > a,
    .site-header .main-header-menu > .menu-item > .menu-link {
        display: flex;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
        font-size: 0.95rem;
        border: 1px solid rgba(191, 145, 63, 0.30) !important;
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%) !important;
    }

    .site-header .main-header-menu > .menu-item:hover > a,
    .site-header .main-header-menu > .menu-item:hover > .menu-link,
    .site-header .main-header-menu > .menu-item:focus-within > a,
    .site-header .main-header-menu > .menu-item:focus-within > .menu-link,
    .site-header .main-header-menu > .current-menu-item > a,
    .site-header .main-header-menu > .current-menu-item > .menu-link,
    .site-header .main-header-menu > .current-menu-ancestor > a,
    .site-header .main-header-menu > .current-menu-ancestor > .menu-link {
        background: linear-gradient(180deg, rgba(215,178,106,0.10) 0%, rgba(215,178,106,0.04) 100%) !important;
        border-color: rgba(215, 178, 106, 0.55) !important;
        box-shadow: inset 0 0 0 1px rgba(215, 178, 106, 0.06);
    }
}

@media (max-width: 640px) {
    .site-branding img,
    .custom-logo-link img,
    .site-header .custom-logo {
        max-height: 78px !important;
    }

    .site-header .main-header-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header .main-header-menu > .menu-item > a,
    .site-header .main-header-menu > .menu-item > .menu-link {
        min-height: 46px;
        font-size: 0.94rem;
        padding: 10px 10px;
    }
}


/* ======================================================
   AJUSTE FINO / HOME V4
   Elimina el hueco entre header y hero solo en portada
   ====================================================== */
body.luxe-front-page .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ======================================================
   AJUSTE FINO / HOME V5
   Anula cualquier padding heredado entre header y hero
   ====================================================== */
body.home .site-content,
body.home #content,
body.home .site-main,
body.home #primary,
body.home .ast-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}



/* =====================================================================
   HISPASEEDS FINAL 1.4 · HEADER LIMPIO Y FUNCIONAL
   ===================================================================== */

.hs-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.98), rgba(9, 9, 9, 0.95));
    border-bottom: 1px solid rgba(200, 161, 90, 0.24);
    backdrop-filter: blur(14px);
}

.hs-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 104px;
}

.hs-header__brand,
.hs-header__nav,
.hs-header__actions {
    min-width: 0;
}

.hs-header__brand .site-branding,
.hs-header__brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.hs-header__brand img,
.hs-header__brand .custom-logo {
    width: auto !important;
    max-width: min(320px, 100%);
    max-height: 78px !important;
    object-fit: contain;
}

.hs-header__nav {
    justify-self: center;
    width: 100%;
}

.hs-main-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-main-menu > li {
    list-style: none;
}

.hs-main-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #f4ecd9 !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
}

.hs-main-menu > li.current-menu-item > a,
.hs-main-menu > li > a:hover {
    color: #d9b45f !important;
}

.hs-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.hs-header__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(200, 161, 90, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: #e5c372 !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.hs-header__action:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 161, 90, 0.48);
    background: rgba(255, 255, 255, 0.05);
}

.hs-header__icon {
    font-size: 0.95rem;
    line-height: 1;
}

.hs-header__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d9b45f;
    color: #090909;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.hs-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(200, 161, 90, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.hs-mobile-toggle__line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #e5c372;
    transition: transform 180ms ease, opacity 180ms ease;
}

body.hs-mobile-menu-open .hs-mobile-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.hs-mobile-menu-open .hs-mobile-toggle__line:nth-child(2) {
    opacity: 0;
}

body.hs-mobile-menu-open .hs-mobile-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hs-mobile-panel {
    display: none;
    border-top: 1px solid rgba(200, 161, 90, 0.16);
    background: rgba(7, 7, 7, 0.98);
}

body.hs-mobile-menu-open .hs-mobile-panel {
    display: block;
}

.hs-mobile-panel__inner {
    padding-top: 16px;
    padding-bottom: 18px;
}

.hs-mobile-menu,
.hs-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hs-mobile-menu {
    display: grid;
    gap: 10px;
}

.hs-mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid rgba(200, 161, 90, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: #f4ecd9 !important;
    font-weight: 700;
    text-align: center;
}

.hs-mobile-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.hs-mobile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(200, 161, 90, 0.24);
    color: #e5c372 !important;
    background: rgba(255, 255, 255, 0.02);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .hs-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
        min-height: 92px;
    }

    .hs-main-menu {
        gap: 8px 18px;
    }

    .hs-main-menu > li > a {
        font-size: 0.98rem;
    }

    .hs-header__action {
        padding-inline: 12px;
    }
}

@media (max-width: 921px) {
    .hs-header__inner {
        grid-template-columns: 1fr auto;
        min-height: 78px;
        gap: 14px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .hs-header__brand img,
    .hs-header__brand .custom-logo {
        max-height: 60px !important;
        max-width: 260px;
    }

    .hs-header__nav,
    .hs-header__action {
        display: none;
    }

    .hs-mobile-toggle {
        display: inline-block;
    }

    .hs-header__actions {
        gap: 8px;
    }

    .hs-mobile-panel__actions {
        grid-template-columns: 1fr;
    }
}
