/* Global header 7030: reserve real layout space for the hero-aligned logo. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header {
        --cie-header-inline-gutter: max(clamp(30px, 7.03125vw, 135px), calc((100% - 1650px) / 2));
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-main {
        padding-inline: var(--cie-header-inline-gutter) !important;
        justify-content: flex-start !important;
        gap: clamp(12px, calc(-1.74px + 1.341vw), 24px) !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-main > .cie-header-logo.elementor-element {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        margin-inline: 0 clamp(12px, calc(10vw - 92px), 100px) !important;
        flex-shrink: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-inline: 0 !important;
        gap: clamp(20px, calc(1.6vw + 4px), 34px) !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav-link {
        flex-shrink: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav-link .elementor-button {
        white-space: nowrap !important;
        font-size: clamp(15px, calc(10.06px + 0.482vw), 17px) !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-search {
        flex: 1 1 0 !important;
        min-width: 40px !important;
        width: auto !important;
        max-width: none !important;
        margin-inline: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-icons {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-inline: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-cta .elementor-button {
        padding-inline: clamp(12px, calc(-0.846px + 1.2533vw), 20px) !important;
    }
}

/* Laptop rail: retain clamped logo and navigation spacing. */
@media (min-width: 1025px) and (max-width: 1439px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav {
        flex: 0 0 auto !important;
        max-width: none !important;
        justify-content: flex-start !important;
        gap: clamp(20px, calc(1.6vw + 4px), 34px) !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav-link .elementor-button {
        font-size: clamp(16px, calc(13.524px + 0.2416vw), 17px) !important;
    }
}

/* Fill the spare laptop rail with a visible pill, preserving the outer gaps. */
@media (min-width: 1025px) and (max-width: 1439px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-search .cie-header-product-search {
        width: 100% !important;
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 24px !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-search .cie-header-product-search__input {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }
}

/* Scale hint text without shrinking typed text or triggering mobile input zoom. */
body .elementor-location-header.elementor-7030 .cie-site-header .cie-header-product-search__input::placeholder {
    font-size: clamp(12px, calc(10px + 0.416667vw), 16px) !important;
    opacity: 1 !important;
}

/* Responsive navigation margin; the flexible search fills the remaining rail. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-nav {
        margin-inline-end: clamp(12px, calc(10vw - 92px), 100px) !important;
    }
}

/* Keep the search pill height while its width fills the available space. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header .cie-header-search .cie-header-product-search {
        width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
    }
}

/* All desktop dropdowns share the navbar gutter, outside any inner scrollbar. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma {
        padding-inline: var(--cie-header-inline-gutter) !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma > .cie-mega-figma__inner {
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
    }
}
