/* layout-4: site-head — banner strip + centered emblem mast */

.site-head {
    position: relative;
    z-index: 5;
}

.site-head__container {
    max-width: 100%;
}

.site-head__banner {
    padding: 8px 0 10px;
    border-bottom: 1px solid rgba(0, 149, 255, 0.12);
}

.site-head__banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.site-head__quick {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-head__quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(78, 93, 134, 0.35);
    text-decoration: none;
}

.site-head__quick-link svg {
    fill: #fff;
    width: 14px;
}

.site-head__money-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px 0 2px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(285deg, #ffb800, #fff173);
    color: #090f1e;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.site-head__money-pill img {
    max-height: 34px;
    margin-left: -8px;
}

.site-head__offer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    height: 26px;
    padding: 0 32px 0 4px;
    border-radius: 6px;
    background: rgba(78, 93, 134, 0.35);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.site-head__offer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: -4px;
    border-radius: 50%;
    background: linear-gradient(86deg, #d062ff, #7bb0ff);
}

.site-head__offer-icon svg {
    width: 14px;
}

.site-head__offer-gift {
    position: absolute;
    right: 0;
    top: 50%;
    max-height: 44px;
    transform: translateY(-50%) translateX(15%) rotate(-12deg);
}

.site-head__banner-apps {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-head__win {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-head__win-text span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
}

.site-head__win-text small {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
}

.site-head__win a {
    display: flex;
    width: 22px;
}

.site-head__stores {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    height: 26px;
    border-radius: 6px;
    background: rgba(78, 93, 134, 0.35);
}

.site-head__stores a {
    display: flex;
}

.site-head__stores svg {
    width: 13px;
}

.site-head__lang-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(78, 93, 134, 0.35);
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
}

.site-head__lang-btn img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.site-head__mast {
    position: sticky;
    top: 0;
    margin-top: 6px;
    padding: 0 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #24304d 0%, #141b2e 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.site-head__mast-logo {
    display: none;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
    text-decoration: none;
}

.site-head__mast-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.site-head__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 56px;
    gap: 8px;
}

.site-head__aside {
    height: 100%;
    min-width: 0;
}

.site-head__aside-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-head__aside-logo {
    display: none;
}

.site-head__search {
    display: none;
}

.site-head__nav-left {
    flex: 1;
    min-width: 0;
    height: 100%;
}

.site-head-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 56px;
}

.site-head-nav__item {
    display: flex;
    height: 100%;
}

.site-head-nav__link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

.site-head-nav__link::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #0095ff;
    transform: scaleX(0);
    transition: transform 0.25s;
}

.site-head-nav__link:hover {
    color: #fff;
}

.site-head-nav__item.current-menu-item .site-head-nav__link {
    color: #fff;
    font-weight: 700;
}

.site-head-nav__item.current-menu-item .site-head-nav__link::after {
    transform: scaleX(1);
}

.site-head__center {
    display: flex;
    justify-content: center;
    padding: 0 12px;
}

.site-head__emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-top: -18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2a3858, #11182a);
    border: 3px solid rgba(0, 149, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    text-decoration: none;
}

.site-head__emblem img {
    width: 46px;
    height: auto;
}

.site-head__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.site-head__login {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 6px;
    background: rgba(78, 93, 134, 0.4);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.site-head__register {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    background: linear-gradient(70deg, #31bc69, #089e4e);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.site-head__register-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.site-head__menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.site-head__menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.site-head__menu-btn span:nth-child(1) { top: 0; }
.site-head__menu-btn span:nth-child(2),
.site-head__menu-btn span:nth-child(3) { top: 9px; }
.site-head__menu-btn span:nth-child(4) { top: 18px; }

@media (max-width: 1200px) {
    .site-head__mast {
        position: sticky;
        top: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "logo actions";
        align-items: center;
        gap: 12px;
        min-height: 56px;
        margin-top: 0;
        padding: 8px 12px;
        border-radius: 12px;
        z-index: 100;
    }

    .site-head__mast-logo {
        grid-area: logo;
        display: flex;
        width: 52px;
    }

    .site-head__grid {
        grid-area: actions;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 0;
        gap: 0;
    }

    .site-head__aside,
    .site-head__center {
        display: none;
    }

    .site-head__actions {
        margin-left: 0;
        gap: 8px;
    }

    .site-head__login,
    .site-head__register {
        height: 34px;
        font-size: 12px;
        padding: 0 12px;
    }

    .site-head__register-plus {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .site-head__win, 
    .site-head__stores {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-head__mast {
        gap: 10px;
        padding: 8px 10px;
    }

    .site-head__mast-logo {
        width: 48px;
    }

    .site-head__register {
        font-size: 11px;
        height: 32px;
        padding: 0 10px;
    }
}

@media (max-width: 370px) {
    .site-head__mast-logo {
        width: 44px;
    }
}
