.site-header.storefront-shared-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: auto;
    padding: 0;
    border-bottom:
        1px solid rgba(220, 225, 215, 0.95);
    background:
        rgba(246, 244, 237, 0.96);
    box-shadow:
        0 5px 20px rgba(39, 53, 33, 0.05);
    backdrop-filter: blur(16px);
}

.storefront-header-main {
    width: min(1240px, calc(100% - 36px));
    min-height: 78px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.storefront-header-brand {
    flex: 0 0 auto;
    color: #315f0b;
    font-family:
        Georgia,
        Tahoma,
        serif;
    font-size: 1.42rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-decoration: none;
}

.storefront-header-search {
    min-width: 220px;
    max-width: 390px;
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce1d7;
    border-radius: 999px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.storefront-header-search:focus-within {
    border-color: #4f9414;
    box-shadow:
        0 0 0 4px rgba(79, 148, 20, 0.11);
}

.storefront-header-search input {
    min-width: 0;
    min-height: 43px;
    flex: 1 1 auto;
    padding: 9px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #252b21;
}

.storefront-header-search button {
    min-height: 37px;
    margin-left: 4px;
    padding: 7px 15px;
    border: 0;
    border-radius: 999px;
    background: #4f9414;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 900;
}

.storefront-shared-header
.storefront-header-navigation {
    margin-inline-start: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.storefront-shared-header
.storefront-header-navigation > a {
    min-height: 41px;
    padding: 8px 11px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #525a4e;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.storefront-shared-header
.storefront-header-navigation > a:hover,
.storefront-shared-header
.storefront-header-navigation >
a[aria-current="page"] {
    background:
        rgba(79, 148, 20, 0.11);
    color: #315f0b;
}

.storefront-shared-header
.storefront-header-navigation >
a[aria-current="page"] {
    box-shadow:
        inset 0 0 0 1px rgba(79, 148, 20, 0.2);
}

.storefront-shared-header
.storefront-header-cart {
    gap: 7px;
    background: #4f9414 !important;
    color: #ffffff !important;
}

.storefront-shared-header
.storefront-header-cart:hover {
    background: #315f0b !important;
    color: #ffffff !important;
}

.storefront-header-cart-count {
    min-width: 22px;
    height: 22px;
    padding-inline: 5px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #f59e1c;
    color: #332304;
    font-size: 0.72rem;
    font-weight: 900;
}

.storefront-header-menu-button {
    width: 44px;
    height: 42px;
    padding: 9px;
    border: 1px solid #dce1d7;
    border-radius: 13px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: #ffffff;
    cursor: pointer;
}

.storefront-header-menu-button span {
    width: 21px;
    height: 2px;
    border-radius: 999px;
    display: block;
    background: #315f0b;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.storefront-header-menu-button[aria-expanded="true"]
span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.storefront-header-menu-button[aria-expanded="true"]
span:nth-child(2) {
    opacity: 0;
}

.storefront-header-menu-button[aria-expanded="true"]
span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.storefront-product-navigation {
    min-height: 42px;
    padding: 4px 18px;
    border-top:
        1px solid rgba(220, 225, 215, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background:
        rgba(255, 255, 255, 0.84);
}

.storefront-product-navigation a {
    padding: 5px 12px;
    border-radius: 999px;
    color: #6f766b;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.storefront-product-navigation a:hover,
.storefront-product-navigation a:focus-visible {
    background:
        rgba(79, 148, 20, 0.1);
    color: #315f0b;
}

.storefront-header-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1050px) {
    .storefront-header-main {
        gap: 12px;
    }

    .storefront-header-search {
        max-width: 310px;
    }

    .storefront-shared-header
    .storefront-header-navigation > a {
        padding-inline: 8px;
        font-size: 0.76rem;
    }
}

@media (max-width: 820px) {
    .storefront-header-main {
        position: relative;
        min-height: 68px;
        flex-wrap: wrap;
    }

    .storefront-header-menu-button {
        display: flex;
        margin-inline-start: auto;
    }

    .storefront-header-search {
        order: 3;
        min-width: 100%;
        max-width: none;
        margin-bottom: 11px;
        flex-basis: 100%;
    }

    .storefront-shared-header
    .storefront-header-navigation {
        position: absolute;
        top: 61px;
        right: 0;
        left: 0;
        z-index: 100;
        padding: 12px;
        border: 1px solid #dce1d7;
        border-radius: 17px;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
        background: #ffffff;
        box-shadow:
            0 13px 38px rgba(40, 55, 34, 0.12);
    }

    .storefront-shared-header
    .storefront-header-navigation.is-open {
        display: flex;
    }

    .storefront-shared-header
    .storefront-header-navigation > a {
        width: 100%;
        justify-content: flex-start;
    }

    .storefront-shared-header
    .storefront-header-cart {
        justify-content: space-between;
    }
}

@media (max-width: 620px) {
    .storefront-header-main {
        width: min(100% - 24px, 1240px);
    }

    .storefront-header-brand {
        font-size: 1.15rem;
    }

    .storefront-product-navigation {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .storefront-product-navigation::-webkit-scrollbar {
        display: none;
    }

    .storefront-product-navigation a {
        flex: 0 0 auto;
    }
}

/* TRANSACTIONAL HEADER ACTIONS */

.storefront-shared-header
.storefront-header-context-action,
.storefront-shared-header
.storefront-header-utility-button {
    min-height: 41px;
    padding: 8px 12px;
    border:
        1px solid rgba(79, 148, 20, 0.24);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        rgba(255, 255, 255, 0.76);
    color: #315f0b;
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.storefront-shared-header
.storefront-header-context-action:hover,
.storefront-shared-header
.storefront-header-context-action:focus-visible,
.storefront-shared-header
.storefront-header-utility-button:hover,
.storefront-shared-header
.storefront-header-utility-button:focus-visible {
    border-color: #4f9414;
    background: rgba(79, 148, 20, 0.12);
    color: #315f0b;
}

.storefront-shared-header
.storefront-header-utility-button {
    border-color: rgba(172, 58, 58, 0.22);
    color: #8f2828;
}

.storefront-shared-header
.storefront-header-utility-button:hover,
.storefront-shared-header
.storefront-header-utility-button:focus-visible {
    border-color: #a83a3a;
    background: rgba(168, 58, 58, 0.1);
    color: #7b1f1f;
}

.storefront-shared-header .is-hidden {
    display: none !important;
}

@media (max-width: 820px) {
    .storefront-shared-header
    .storefront-header-context-action,
    .storefront-shared-header
    .storefront-header-utility-button {
        width: 100%;
        justify-content: flex-start;
    }
}
