/* Unified public site header — scoped to .site-header only */

.site-header {
    direction: rtl;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(15, 33, 71, 0.08);
    box-shadow: 0 8px 24px rgba(15, 33, 71, 0.04);
}

.site-header__container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 1rem;
}

/* ---------- Top row ---------- */
.site-header__top {
    background: #fff;
}

.site-header__top > .site-header__container {
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    min-height: 100px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    width: clamp(150px, 14vw, 200px);
}

.site-header__logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    text-decoration: none;
}

.site-header__logo-img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 64px;
    height: auto;
    object-fit: contain;
}

.site-header__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0.7rem;
    background: rgba(7, 27, 82, 0.05);
    color: #12203f;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.site-header__menu-toggle:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 2px;
}

.site-header__search {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-header__search-inner {
    width: 100%;
    max-width: 560px;
}

.site-header__search-mobile {
    padding-block: 0 0.85rem;
}

.site-header__search-inner .search-filed {
    position: relative;
    margin: 0;
}

.site-header__search-inner .search-input {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: #f4f4f4;
    border: 1px solid #e4e7ec;
    padding-block: 0.7rem;
    padding-inline: 1.1rem 3.4rem;
    font-size: 0.92rem;
    text-align: right;
}

.site-header__search-inner .search-input:focus {
    border-color: #c5ccd8;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.18);
    outline: 0;
}

.site-header__search-inner .search-btn {
    position: absolute;
    inset-inline-start: 6px;
    inset-inline-end: auto;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0;
}

.site-header__support-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex: 0 0 auto;
    min-width: clamp(120px, 16vw, 240px);
}

.site-header__support {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-header__support-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--main-color-two, #ffc107);
    color: #7a3801;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.site-header__support-icon:focus-visible {
    outline: 3px solid rgba(7, 27, 82, 0.35);
    outline-offset: 2px;
}

.site-header__support-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.site-header__support-label {
    color: #6f7d98;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.site-header__support-phone {
    color: #12203f;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__support-phone:hover,
.site-header__support-phone:focus-visible {
    color: #071b52;
}

.site-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0.75rem;
    background: rgba(7, 27, 82, 0.05);
    color: #12203f;
    font-size: 1.25rem;
    text-decoration: none;
}

.site-header__icon-btn--cart {
    background: rgba(255, 184, 0, 0.18);
    color: #7a3801;
}

.site-header__icon-btn:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 2px;
}

/* ---------- Desktop navigation ---------- */
.site-header__navigation {
    border-top: 1px solid rgba(15, 33, 71, 0.06);
    background: #fff;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 58px;
}

.site-header__nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.1rem 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__nav-item {
    position: relative;
    list-style: none;
}

.site-header__nav-link,
.site-header__nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.45rem 0.8rem;
    border: 0;
    border-radius: 0.7rem;
    background: transparent;
    color: #12203f;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header__nav-link:hover,
.site-header__nav-trigger:hover,
.site-header__nav-item.is-open > .site-header__nav-trigger {
    background: rgba(7, 27, 82, 0.05);
    color: #071b52;
}

.site-header__nav-link:focus-visible,
.site-header__nav-trigger:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 2px;
}

.site-header__nav-trigger i {
    font-size: 0.78rem;
    opacity: 0.7;
    transition: transform 0.18s ease;
}

.site-header__nav-item.is-open > .site-header__nav-trigger i {
    transform: rotate(180deg);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.45rem 1rem;
    border-radius: 0.85rem;
    background: var(--main-color-two, #ffc107);
    color: #3d2200 !important;
    font-weight: 900;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(255, 193, 7, 0.28);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.site-header__cta:hover {
    color: #3d2200 !important;
    filter: brightness(0.97);
    transform: translateY(-1px);
}

.site-header__cta:focus-visible {
    outline: 3px solid rgba(7, 27, 82, 0.35);
    outline-offset: 2px;
}

.site-header__cta--mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.1rem;
}

.site-header__account,
.site-header__cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.35rem 0.85rem;
    border-radius: 0.85rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header__account {
    background: rgba(7, 27, 82, 0.05);
    color: #12203f;
}

.site-header__cart {
    background: rgba(7, 27, 82, 0.92);
    color: #fff !important;
}

.site-header__cart:hover {
    background: #061742;
    color: #fff !important;
}

.site-header__account:hover {
    background: rgba(7, 27, 82, 0.09);
    color: #071b52;
}

.site-header__account:focus-visible,
.site-header__cart:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 2px;
}

.site-header__account i,
.site-header__cart i {
    font-size: 1.1rem;
}

/* ---------- Products dropdown ---------- */
.site-header__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 120;
    width: 300px;
    max-width: min(300px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid rgba(15, 33, 71, 0.1);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 33, 71, 0.12);
}

.site-header__dropdown[hidden] {
    display: none !important;
}

.site-header__dropdown-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 62px;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.site-header__dropdown-item:hover,
.site-header__dropdown-item:focus-visible {
    background: rgba(7, 27, 82, 0.05);
}

.site-header__dropdown-item:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 1px;
}

.site-header__dropdown-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 184, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-header__dropdown-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header__dropdown-icon i {
    color: #c99200;
    font-size: 1.15rem;
}

.site-header__dropdown-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-header__dropdown-title {
    color: #071b52;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.35;
}

.site-header__dropdown-desc {
    color: #6f7d98;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Mobile offcanvas ---------- */
.site-header__offcanvas {
    z-index: 1100;
}

.site-header__offcanvas-logo {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.site-header__offcanvas-logo img {
    max-width: 160px;
    height: auto;
}

.site-header__offcanvas-support {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(255, 184, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.site-header__offcanvas-support i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--main-color-one, #ffb800);
    color: #7a3801;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header__offcanvas-support .site-header__support-phone {
    display: block;
}

.site-header__mnav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__mnav-item + .site-header__mnav-item {
    border-top: 1px solid rgba(15, 33, 71, 0.07);
}

.site-header__mnav-link,
.site-header__mnav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.15rem;
    border: 0;
    background: transparent;
    color: #12203f;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.site-header__mnav-toggle:focus-visible,
.site-header__mnav-link:focus-visible {
    outline: 3px solid rgba(255, 184, 0, 0.55);
    outline-offset: 2px;
}

.site-header__mnav-panel {
    padding: 0.25rem 0 0.85rem;
}

.site-header__mnav-panel[hidden] {
    display: none !important;
}

/* ---------- Breakpoints ---------- */
@media (max-width: 1199.98px) {
    .site-header__nav-link,
    .site-header__nav-trigger {
        padding-inline: 0.65rem;
        font-size: 0.9rem;
    }

    .site-header__account span,
    .site-header__cart span {
        display: none;
    }

    .site-header__account,
    .site-header__cart {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .site-header__cta {
        padding-inline: 0.8rem;
        font-size: 0.84rem;
    }

    .site-header__search-inner {
        max-width: 480px;
    }
}

@media (max-width: 991.98px) {
    .site-header__top > .site-header__container {
        min-height: 72px;
        padding-block: 0.65rem;
    }

    .site-header__logo {
        width: auto;
        flex: 1 1 auto;
    }

    .site-header__logo-img {
        max-width: 140px;
        max-height: 48px;
    }

    .site-header__support-row {
        min-width: 0;
    }

    .site-header__menu-toggle {
        background: rgba(7, 27, 82, 0.05);
    }
}

@media (min-width: 992px) {
    .site-header__menu-toggle {
        display: none !important;
    }
}
