/* ========== Shoe Zone header (Figma 1273:825) ========== */
.sz-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1066;
    background: #fff;
}

.sz-header__bar {
    background: #fff;
    border-bottom: none;
}

.sz-header__container {
    max-width: 1444px;
    padding-top: 18px;
    padding-bottom: 14px;
}

.sz-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sz-header__brand {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.sz-header__logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.sz-header__logo img {
    display: block;
    width: 191px;
    height: auto;
    max-width: 100%;
}

.sz-header__phone {
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
    min-width: 0;
}

.sz-header__phone:hover {
    color: #243F69;
}

.sz-header__phone-icon {
    position: relative;
    display: inline-flex;
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.sz-header__phone-icon > img:first-child {
    width: 21px;
    height: 21px;
}

.sz-header__phone-accent {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    pointer-events: none;
}

.sz-header__phone-text {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.sz-header__search {
    width: 268px;
    flex-shrink: 0;
}

.sz-search__field {
    position: relative;
    display: flex;
    align-items: center;
    height: 43px;
    border: 1px solid #243F69;
    border-radius: 100px;
    background: #fff;
    padding: 0 14px 0 18px;
}

.sz-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-family: 'Noto Sans Armenian', 'Roboto', sans-serif;
    font-size: 11px;
    color: #060606;
    outline: none;
    padding: 0;
    box-shadow: none !important;
}

.sz-search__input::placeholder {
    color: #060606;
    opacity: 0.85;
}

.sz-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    padding: 0;
    border: 0;
    background: transparent;
    flex-shrink: 0;
    cursor: pointer;
}

.sz-search__btn img {
    width: 23px;
    height: 23px;
    display: block;
}

.sz-header__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
}

.sz-header__nav-wrap {
    min-width: 0;
    flex: 1;
}

.sz-nav {
    min-width: 0;
    flex: 1;
}

.sz-nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sz-nav__link {
    display: inline-block;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #080809;
    text-decoration: none;
    white-space: nowrap;
}

.sz-nav__link:hover,
.sz-nav__link.is-active {
    color: #243F69;
}

.sz-header__actions,
.sz-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.sz-header__mobile-actions {
    gap: 16px;
}

.sz-header__icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #080809;
    text-decoration: none;
    line-height: 0;
    cursor: pointer;
}

.sz-header__icon-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sz-header__account {
    position: relative;
}

.sz-account-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 250px;
    padding: 22px 12px 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sz-account-menu--panel {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    min-height: 0;
    box-shadow: none;
    padding: 0;
}

.sz-account-menu[hidden] {
    display: none !important;
}

.sz-account-menu__link {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    width: 100%;
    min-height: 22px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-family: 'Noto Sans Armenian', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #323232;
    text-align: right;
    text-decoration: none;
    cursor: pointer;
    flex-direction: row-reverse;
}

.sz-account-menu__count {
    color: #8A8A8A;
    font-size: 14px;
}

.sz-account-menu__link.is-active {
    justify-content: end;
    min-height: 48px;
    padding: 0 16px;
    background: #243F69;
    color: #fff;
    font-weight: 500;
    border-radius: 100px;
}

.sz-account-menu__link.is-active .sz-account-menu__count {
    color: #fff;
}

.sz-account-menu__logout-form {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.sz-account-menu__link--logout {
    width: auto;
}

@media (max-width: 575px) {
    .sz-header__mobile-actions .sz-header__icon-btn img {
        width: 21px;
        height: 21px;
    }

    .sz-header__container {
        position: relative;
    }

    .sz-header__account {
        position: static;
    }

    .sz-header__account .sz-account-menu {
        left: auto;
        right: 15px;
        width: 250px;
        max-width: 100%;
    }
}

.sz-header__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 100%;
    background: #ED3237;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.sz-header__lang {
    margin-left: 4px;
}

.sz-header__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #474747;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
}

.sz-header__lang-btn.dropdown-toggle::after {
    display: none;
}

.sz-header__lang-chevron {
    width: 7px;
    height: 14px;
    transform: rotate(268deg);
    display: block;
}

.sz-header__lang-menu {
    min-width: 122px;
    padding: 14px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sz-header__lang-menu .dropdown-item {
    display: block;
    width: 100%;
    margin: 4px 0;
    padding: 8px 22px;
    border-radius: 100px;
    text-align: end;
    font-family: 'Noto Sans Armenian', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #080809;
    background: transparent;
}

.sz-header__lang-menu .dropdown-item:hover,
.sz-header__lang-menu .dropdown-item:focus,
.sz-header__lang-menu .dropdown-item.active {
    background: #243F69 !important;
    color: #fff !important;
}

.sz-header__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    position: relative;
}

.sz-header__menu-icon--open {
    display: block;
    width: 32px;
    height: 32px;
}

.sz-header__menu-icon--close {
    display: none;
    width: 22px;
    height: 22px;
}

.sz-header__menu-btn.drawerr-btn--active .sz-header__menu-icon--open {
    display: none;
}

.sz-header__menu-btn.drawerr-btn--active .sz-header__menu-icon--close {
    display: block;
}

.sz-header__drawer-langs {
    gap: 12px;
    margin: 12px 0;
}

.sz-header__drawer-lang {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #243F69 !important;
    border-radius: 6px;
    color: #243F69;
    text-decoration: none;
    font-size: 14px;
}

.sz-header__drawer-phone {
    margin-top: 16px;
}

/* Drawer search inherits pill style */
#drawerr .sz-search {
    margin: 12px 0;
}

#drawerr .sz-search__field {
    width: 100%;
}

.sz-header__mobile-search {
    margin-top: 12px;
}

.sz-header__mobile-search .sz-search__field {
    width: 100%;
}

/* Offset main content for new header height (~139px desktop) */
main {
    margin-top: 139px;
}

@media (max-width: 1399.98px) {
    .sz-header__phone-text {
        font-size: 16px;
    }

    .sz-nav__list {
        gap: 18px;
    }

    .sz-nav__link {
        font-size: 14px;
    }
}

@media (max-width: 1199.98px) {
    .sz-header__brand {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .sz-header__logo img {
        width: 130px;
    }

    .sz-header__mobile-actions {
        gap: 18px;
        align-items: center;
    }

    .sz-header__lang {
        margin-left: 0;
    }

    .sz-header__lang-btn {
        font-size: 14px;
    }

    .sz-header__bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
        gap: 16px;
    }

    .sz-header__actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
        gap: 18px;
    }

    .sz-header__menu-row {
        display: flex;
        align-items: center;
        margin-top: 0;
        flex-shrink: 0;
    }

    header,
    .sz-header {
        height: auto;
        min-height: 72px;
    }

    main {
        margin-top: 120px;
    }

    .cart-modal {
        margin-top: 120px;
    }
}

/* ========== Mega dropdown under each nav item (Figma 1273:7268) ========== */
.sz-header,
.sz-header__bar,
.sz-header__bottom,
.sz-nav,
.sz-nav__list {
    overflow: visible;
}

/* Nav list is the shared anchor for all mega panels */
.sz-nav__list {
    position: relative;
}

/* Each mega item is static so .sz-mega escapes to .sz-nav__list */
.sz-nav__item--mega {
    position: static;
}

.sz-nav__item--mega > .sz-nav__link {
    cursor: pointer;
}

.sz-nav__item--mega.is-open > .sz-nav__link {
    color: #ED3237;
}

.sz-mega {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 33px);
    z-index: 1060;
    width: 1000px;
    background: #fff;
    border: 1px solid rgba(36, 63, 105, 0.08);
    border-radius: 8px;
    box-shadow: 0px 4px 38px 0px #8B84842B;
    padding: 43px;
}

.sz-nav__item--mega.is-open > .sz-mega {
    display: block;
}

.sz-mega[hidden] {
    display: none !important;
}

.sz-nav__item--mega.is-open > .sz-mega[hidden] {
    display: block !important;
}

.sz-mega__inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.sz-mega__cols {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 24px 32px;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.sz-mega__col {
    min-width: 140px;
    max-width: none;
    flex: 0 0 auto;
    padding-left: 17px;
}

.sz-mega__title {
    display: block;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 0;
    color: #080809;
    text-decoration: none;
}

.sz-mega__title:hover {
    color: #243F69;
}

.sz-mega__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sz-mega__links li {
    margin-bottom: 8px;
}

.sz-mega__links a {
    display: block;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 44px;
    letter-spacing: 0;
    color: #323232;
    text-decoration: none;
    margin-left: -17px;
    padding: 0 17px;
}

.sz-mega__links a:hover {
    background: #F3F3F3;
    border-radius: 2px;
}

.sz-mega__all {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #243F69;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sz-mega__links a.sz-mega__all-link {
    display: inline-block;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    color: #243F69;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    padding: 10px 17px;
}

.sz-mega__banners {
    display: none;
}

.sz-mega__banner {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
}

.sz-mega__banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sz-mega-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: transparent;
}

.sz-mega-backdrop.is-active {
    display: block;
}

@media (max-width: 1199.98px) {
    .sz-mega {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .sz-header__container {
        padding-top: 11px;
        padding-bottom: 8px;
    }
}
/* ========== End mega dropdown ========== */
/* ========== End Shoe Zone header ========== */
