.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 253, 249, .97);
    border-bottom: 1px solid #eee3d7;
    box-shadow: 0 10px 26px rgba(35, 24, 23, .045);
    backdrop-filter: blur(16px);
}

.storefront-promo {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px clamp(18px, 5vw, 76px);
    background: var(--batlohi-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.storefront-header-row {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 10px clamp(18px, 5vw, 76px);
}

.storefront-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #2f2725;
    text-decoration: none;
    font-size: 23px;
    font-weight: 700;
}

.storefront-header-brand:hover,
.storefront-header-brand:focus {
    color: var(--batlohi-red);
}

.storefront-header-brand img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(80, 42, 32, .12);
}

.storefront-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.storefront-header-nav a {
    color: #5f4a45;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    padding: 9px 6px;
    font-size: 14px;
    font-weight: 700;
}

.storefront-header-nav a:hover,
.storefront-header-nav a:focus {
    color: var(--batlohi-red);
    background: #fff1db;
}

.storefront-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
}

.storefront-header-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: #fff;
    color: #4c3c38;
    text-decoration: none;
    font-size: 20px;
}

button.storefront-header-icon {
    padding: 0;
}

.storefront-header-icon:hover,
.storefront-header-icon:focus {
    border-color: var(--batlohi-red);
    color: var(--batlohi-red);
}

.storefront-header-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4c3c38;
    padding: 9px 4px;
    text-decoration: none;
    font-weight: 700;
}

.storefront-header-account:hover,
.storefront-header-account:focus {
    color: var(--batlohi-red);
}

.storefront-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 19px;
    height: 19px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--batlohi-red);
    color: #fff;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.storefront-cart-count.is-visible {
    display: flex;
}

.storefront-search-modal .modal-content {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(35, 24, 23, .2);
}

.storefront-search-modal .modal-header {
    border-bottom: 0;
    padding: 20px 20px 8px;
}

.storefront-search-modal .modal-body {
    padding: 8px 20px 22px;
}

.storefront-search-title {
    margin: 0;
    color: #2f2725;
    font-size: 22px;
}

.storefront-search-field {
    position: relative;
}

.storefront-search-field i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #806e68;
    pointer-events: none;
}

.storefront-search-field input {
    width: 100%;
    height: 46px;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: #fff;
    color: #3c3331;
    padding: 9px 13px 9px 40px;
    outline: 0;
}

.storefront-search-field input:focus {
    border-color: var(--batlohi-red);
    box-shadow: 0 0 0 .18rem rgba(166, 25, 29, .12);
}

@media (max-width: 991.98px) {
    .storefront-header-row {
        grid-template-columns: auto auto;
        gap: 10px 14px;
    }

    .storefront-header-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .storefront-header-nav::-webkit-scrollbar {
        display: none;
    }

    .storefront-header-actions {
        justify-self: end;
    }
}

@media (max-width: 575.98px) {
    .storefront-promo {
        padding: 5px 14px;
        font-size: 11px;
    }

    .storefront-header-row {
        padding: 9px 14px 8px;
    }

    .storefront-header-brand {
        gap: 8px;
        font-size: 20px;
    }

    .storefront-header-brand img {
        width: 42px;
        height: 42px;
    }

    .storefront-header-actions {
        gap: 8px;
    }

    .storefront-header-icon {
        width: 40px;
        height: 40px;
    }

    .storefront-header-account {
        width: 40px;
        height: 40px;
        justify-content: center;
        border: 1px solid #eadfce;
        border-radius: 8px;
        background: #fff;
        padding: 0;
        font-size: 0;
    }

    .storefront-header-account i {
        font-size: 18px;
    }

    .storefront-header-nav {
        display: flex;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        overflow-x: auto;
    }

    .storefront-header-nav a {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 5px 7px;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }
}
