/* High Cultured header/search 1.0.3. Replaces the complete older stylesheet. */
:root {
    --hc-charcoal: #252522;
    --hc-beige: #eee4d2;
    --hc-beige-muted: #cfc4b2;
}
.hc-bf-banner,
.hc-product-search-panel {
    --hc-header-ink: #252522;
    --hc-header-paper: #ddd4c6;
    box-sizing: border-box;
}

#masthead .hc-bf-banner {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 12px 32px;
    padding: 9px 18px;
    background: var(--hc-header-ink);
    color: var(--hc-header-paper);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .08em;
    text-align: center;
}
#masthead .hc-bf-banner__message {
    flex: 0 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
}
#masthead .hc-bf-banner__link {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    max-width: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--hc-header-paper) !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .08em;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-decoration: none !important;
    border-bottom: 1px solid currentColor;
}
#masthead .hc-bf-banner__link:hover { opacity: .8; }

#masthead .hc-product-search-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #252522 !important;
    box-shadow: none !important;
    cursor: pointer;
}
#masthead .hc-product-search-toggle svg,
#masthead .hc-product-search__icon svg {
    display: block;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    overflow: visible;
}
#masthead .hc-product-search-toggle svg,
#masthead .hc-product-search-toggle svg *,
#masthead .hc-product-search__icon svg,
#masthead .hc-product-search__icon svg * {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#masthead .hc-product-search-toggle:focus-visible,
#masthead .hc-product-search__close:focus-visible,
#masthead .hc-bf-banner__link:focus-visible {
    outline: 2px solid #7a6c5d;
    outline-offset: 3px;
}

#masthead .hc-product-search-panel {
    display: none;
    position: static;
    width: 100%;
    padding: 12px 18px;
    background: var(--hc-header-paper);
    border-top: 1px solid rgba(37, 37, 34, .12);
    border-bottom: 1px solid rgba(37, 37, 34, .14);
}
#masthead .hc-product-search-panel.is-open { display: block; }
#masthead .hc-product-search-panel[hidden] { display: none !important; }
#masthead .hc-product-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 36px;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 920px;
    min-width: 0;
    margin: 0 auto;
}
#masthead .hc-product-search__icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 19px;
    height: 19px;
    color: #252522;
    pointer-events: none;
}
#masthead .hc-product-search input.hc-product-search__field {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 12px 0 44px !important;
    border: 1px solid rgba(37, 37, 34, .4) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #252522 !important;
    font-size: 14px;
    line-height: normal;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}
#masthead .hc-product-search input.hc-product-search__field::placeholder {
    color: #65615a;
    opacity: 1;
}
#masthead .hc-product-search input.hc-product-search__field:focus {
    border-color: #252522 !important;
    outline: 2px solid #7a6c5d !important;
    outline-offset: 1px !important;
}
#masthead .hc-product-search__submit {
    box-sizing: border-box;
    height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #252522;
    border-radius: 0;
    background: #252522;
    color: #eee4d2;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .06em;
    white-space: nowrap;
    cursor: pointer;
}
#masthead .hc-product-search__close {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 36px;
    height: 44px;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #252522 !important;
    font-size: 27px;
    line-height: 1;
    box-shadow: none !important;
    cursor: pointer;
}

@media (max-width: 921px) {
    /* Astra transparent header must reserve its actual, changing height. */
    body #masthead.site-header {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100%;
    }
    /* Verified Home-only spacer (85px) previously compensated for overlay. */
    .elementor-9 .elementor-element.elementor-element-dade7ed {
        display: none !important;
    }
    #masthead #ast-mobile-header .site-header-primary-section-right { gap: 4px; }
    #masthead .hc-product-search-panel { padding: 12px; }
    #masthead .hc-product-search { gap: 6px; }
    #masthead .hc-product-search input.hc-product-search__field { font-size: 16px; }
    #masthead .hc-product-search__submit { padding: 0 12px; font-size: 10px; }
    #masthead .hc-bf-banner {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
        min-height: 0;
        max-height: none;
        height: auto;
        padding: 8px 16px;
        font-size: 12px;
        line-height: 1.35;
        letter-spacing: .04em;
        overflow: visible;
    }
    #masthead .hc-bf-banner__message {
        flex: 0 0 auto;
        width: 100%;
        white-space: normal !important;
        line-height: 1.35;
    }
    #masthead .hc-bf-banner__link {
        flex: 0 0 auto;
        width: auto;
        font-size: 10px;
        line-height: 1.3;
    }
}

@media (prefers-reduced-motion: reduce) {
    #masthead .hc-bf-banner *,
    #masthead .hc-product-search *,
    #masthead .hc-product-search-toggle {
        animation: none !important;
        transition: none !important;
    }
}
