/* BX panel */
#panel {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

/***** HEADER ******/
.header {
    position: fixed;
    width: 100%;
    z-index: 7;
}
/* header black */
.header-black {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    background: #272525;
}
/* header black geo */
.header-black_geo {
    width: 20%;
}
.header-black_geo-button {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 14px;
    line-height: 22px;
    margin-left: 0;
    color: #fff;
    cursor: pointer;
}
.header-black_geo-cityname {
    display: none;
}
.header-black_geo-button.defined .header-black_geo-cityname {
    display: block;
}
.header-black_geo-button::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 23px;
    margin-right: 5px;
    background-position-x: -343px;
    background-position-y: -135px;
    transform: scale(0.9);
}
.header-geo.defined {
    font-weight: 500;
}
/* header black nav */
.header-black_nav {
    flex-grow: 1;
}
.header-black-nav_list {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    margin: 0;
    max-width: none;
}
.header-black-nav_item {
    list-style: none;
    color: #fff;
}
.header-black-nav_link {
    color: #fff;
    font-size: 14px;
    line-height: 40px;
    margin-bottom: 0;
    padding: 0 12px;
    white-space: nowrap;
    cursor: pointer;
}
.header-black-nav_link.show-mobile {
    display: none;
}
.header-black-nav_link:hover {
    color: #fff;
}
.header-black_profile {
    min-width: 160px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/*profile popup*/
/* header icon-popups */
.header-profile {
    width: 20%;
    display: flex;
    justify-content: flex-end;
}
.header-profile_popup {
    display: none;
}
.header-profile_popup:hover,
.header-profile--authorized:hover + .header-profile_popup {
    display: block;
    position: absolute;
    top: 39px;
    right: 8px;
    z-index: 99999;
    border: 1px solid #eaeaea;
    background: #fff;
}
.header-profile_popup .personal-menu {
    flex-direction: column;
    height: auto;
    position: relative;
    top: 0;
    width: auto;
    padding: 15px 20px;
    justify-content: flex-start;
    min-height: unset;
    flex-basis: 100%;
}
.header-profile_popup .personal-menu a {
    opacity: 1;
}
.header-profile_popup .personal-menu a:hover {
    opacity: 0.4;
}
.header-profile_popup .personal-menu > div {
    margin: 0;
}
.header-profile_popup .personal-menu > div:last-child {
    padding-bottom: 0;
}
.header-profile_popup .personal-menu-scroll {
    display: none;
}


@media (min-width: 1025px) {
    /* header black profile */
    .header-profile--mobile {
        display: none !important;
    }
    .header-profile--non-authorized,
    .header-profile--authorized {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        margin: 0;
        cursor: pointer;
    }
    .header-profile--non-authorized::after {
        content: "";
        display: inline-block;
        width: 22px;
        height: 24px;
        background-position-x: -90px;
        background-position-y: -133px;
    }
    .header-profile--authorized::after {
        content: "";
        display: inline-block;
        width: 22px;
        height: 24px;
        background-position-x: -122px;
        background-position-y: -133px;
    }
    .header-profile.popup_link span {
        display: none;
    }
    .header-profile_text {
        font-size: 14px;
        line-height: 40px;
        color: #fff;
        margin-bottom: 0;
        margin-right: 5px;
    }
}
@media (max-width: 1024px) {
    .header-black_geo, .header-profile {
        display: none;
    }
    .header-black-nav_link:not(.show-mobile) {
        display: none;
    }
    .header-black-nav_link.show-mobile {
        display: inline-block;
    }
}
@media (max-width: 540px) {
    .header-black {
        padding: 0;
    }
    .header-black-nav_link {
        font-size: 12px;
    }
}
/* END HEADER BLACK MENU */

/* MAIN HEADER MENU */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.header-main {
    height: 65px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}
.header-main--white {
    background: #fff;
}
.header-main_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 70px;
    line-height: 65px;
}
.header-main_center {
    display: flex;
    justify-content: center;
}
.header-main_logo {
    display: block;
    width: 200px;
    height: 40px;
    background-position-x: -216px;
    background-position-y: -243px;
}
.header-main_left,
.header-main_right {
    display: flex;
    align-items: center;
    width: 40%;
}
.header-main_right {
    display: flex;
    justify-content: flex-end;
}
.header-main_nav {
    display: flex;
    position: relative;
    left: -12px;
    margin: 0;
}
.header-main_nav-item {
    position: relative;
    padding: 0 12px;
    list-style: none;
}
.header-main_nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}
.header-main_nav-link:hover {
    color: #fff;
}
.header-main_nav-item.active .header-main_nav-link {
    pointer-events: none;
}
.header-main_nav-item.active::after,
.header-main_nav-item:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 0;
    width: calc(100% - 24px);
    height: 2px;
    background-color: #fff;
    transition: height 0.1s;
}
.header-main_search,
.header-main_favorite,
.header-main_cart {
    padding: 0 12px;
}
.header-search-container_text,
.header-main_favorite a,
.header-main_cart span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}
.header-main_cart {
    padding-right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-main_cart span {
    cursor: pointer;
}
.cart-count {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    color: #272725;
    background-color: #fff;
    border-radius: 50%;
    margin-bottom: 0;
    display: none;
}


/* white menu styles */
.header-main--white .header-main_nav-link,
.header-main--white .header-main_nav-link:hover,
.header-main--white .header-search-container_text,
.header-main--white .header-main_favorite a,
.header-main--white .header-main_cart span {
    color: #272725;
}
.header-main--white .header-main_nav-item.active::after,
.header-main--white .header-main_nav-item:hover::after,
.header-main--white .cart-count {
    background-color: #272725;
}
.header-main--white .header-main_logo {
    background-position-x: -20px;
}
.header-main--white .header-search-container::before {
    background-position-x: -215px;
}
.header-main--white .cart-count {
    color: #fff;
}
/* end white menu styles */

/* desktop dropdown menu */
.header-categories {
    max-height: 0;
    opacity: 0;
    position: fixed;
    top: 105px;
    left: 0;
    width: 100%;
    text-align: left;
    z-index: 11;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}
.header-main_nav-item:hover .header-categories {
    max-height: 700px;
    opacity: 1;
    overflow-y: auto;
}
.search-panel-active .header-categories {
    top: 165px;
}
.header-categories_wrapper {
    display: flex;
    padding: 20px 70px;
    gap: 50px;
}
.header-categories_header {
    line-height: normal;
    margin-top: 20px;
    margin-bottom: 10px;
}
.header-categories a.bold,
.header-categories a.semibold {
    width: 100%;
    font-size: 14px;
    line-height: 24px;
    color: #272725;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    text-transform: uppercase;
}
.header-categories a.red {
    color: rgb(252, 47, 53);
}
.header-categories a.blue {
    color: rgb(0, 43, 255);
}
.menu-header-box a[href="#"] {
    cursor: auto;
    pointer-events: none;
}

.header-categories_subcategory a {
    line-height: 22px;
    color: #272725;
    font-weight: 400;
    display: block;
    white-space: normal;
}
.header-categories_column {
    width: 20%;
}
.header-categories_banners {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-grow: 1;
}


/* city-select */
.header-geo {
    font-size: 14px;
    line-height: 20px;
    margin-right: 60px;
    cursor: pointer;
    padding-top: 3px;
}
.city-select-title {
    font-size: 18px;
    line-height: 18px;
    text-align: left;
    font-family: ProbaRegular;
    font-weight: 500;
    color: #272725;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.geo-popup-deep .city-select-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-family: ProbaMedium;
}
.city-select-input::placeholder {
    color: #c4c4c4;
}
.city-select-item {
    padding: 3px 0 13px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: #272725;
    flex-basis: calc(100% / 4);
    flex-shrink: 0;
    margin-bottom: 10px;
}
.city-select-item:hover {
    text-decoration: underline;
}
.geo-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    padding: 30px 20px 20px;
    width: fit-content;
    background: #fff;
    z-index: 9998;
    margin: 0 !important;
    border: solid 1px #EAEAEA;
}
.geo-popup-main {
    width: auto;
}
.geo-popup-deep {
    width: 890px;
}
.city-select-footer {
    display: flex;
    gap: 20px;
}
.city-select-button {
    display: block;
    width: 100%;
    font: 14px Manrope;
    padding: 14px 10px;
    border: 1px solid #272725;
    color: #272725;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
    flex-basis: 50%;
    white-space: nowrap;
}
.city-select-confirm {
    background: #272725;
    color: #fff;
}

.city-select-input {
    border: 1px solid #eaeaea;
    padding: 14px 20px;
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 25px;
    color: #272725;
    background: url('/upload/images/icons/svg/new-search-main.svg') no-repeat calc(100% - 14px) 14px;
}

.city-select-input::placeholder {
    opacity: 0.4;
}

.city-select-wrap {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-auto-flow: column;
    text-align: left;
}

.city-select-block {
    flex-grow: 1;
    padding: 0 0 0 13px;
}

.city-select-item {
    padding: 3px 0;
    cursor: pointer;
    font-size: 16px;
    position: relative;
}
.city-select-item__defined {
    font-weight: 600;
}

.city-select-item:hover {
    text-decoration: underline;
    text-decoration-color: #989898;
}

.geo-popup-main {
    display: block;
}
.geo-popup-deep {
    display: none;
}
.geo-popup.geo-deep > .geo-popup-main {
    display: none;
}
.geo-popup.geo-deep > .geo-popup-deep {
    display: block;
}
.geo-background {
    position: fixed;
    background: #00000022;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9998;
}
.geo-input-clear {
    display: none;
    position: absolute;
    top: 88px;
    right: 28px;
    width: 31px;
    height: 31px;
    background-position: -779px -167px;
    transform: scale(0.8);
    background-color: #fff;
    cursor: pointer;
}
.city-select-item.highlighted::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -1px;
    left: -10px;
    background: #2727250d;
}

/* sidebar */
.header-main_button {
    cursor: pointer;
    display: none;
}
.header-main_button-line {
    width: 21px;
    height: 2px;
    background-color: #fff;
}
.header-main_button-line:not(:last-child) {
    margin-bottom: 5px;
}
body.sidebar-menu--opened {
    overflow: hidden;
}
.sidebar-menu {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: left;
    z-index: 11;
    overflow: hidden;
    right: unset;
    left: -100%;
    height: 100%;
    transition: 0.2s linear;
}
.sidebar-menu_wrapper {
    position: relative;
    height: 100%;
    padding: 50px 40px 40px;
    background: rgba(255, 255, 255, 0.95);
    overflow: auto;
    z-index: 10;
    transition: 150ms ease-in-out;
}
.sidebar-menu_wrapper::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
.sidebar-menu_wrapper::-webkit-scrollbar-thumb {
    background: transparent;
}
.sidebar-menu.active {
    left: 0;
}
.sidebar-menu_category-name {
    font-size: 17px;
    line-height: 26px;
    font-weight: 600;
    padding-left: 30px;
    text-transform: uppercase;
    margin: 0;
}
.sidebar-menu_logo {
    display: block;
    width: 184px;
    height: 24px;
    background-position-x: -29px;
    background-position-y: -251px;
}
.sidebar-menu_nav-block {
    display: none;
    position: relative;
}
.sidebar-menu_nav-block.active {
    display: block;
}
.sidebar-menu_back-button {
    margin-left: -20px;
    width: 40px;
    height: 24px;
    background-position-x: -661px;
    background-position-y: -168px;
}
.sidebar-menu_close-button {
    width: 24px;
    height: 24px;
    background-position-x: -615px;
    background-position-y: -132px;
    margin-left: auto;
}
.sidebar-menu_controls {
    display: flex;
    margin-bottom: 40px;
}
.sidebar-menu_genders {
    display: flex;
    gap: 20px;
    width: 100%;
    line-height: 1;
    margin-bottom: 40px;
}
.sidebar-menu_genders .sidebar-menu_nav-header {
    position: relative;
    font-size: 17px;
    font-weight: 500;
}
.sidebar-menu_genders .sidebar-menu_nav-header::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #272725;
    opacity: 0;
    transition: 0.1s linear;
}
.sidebar-menu_genders .sidebar-menu_nav-header.active::after {
    opacity: 1;
}

.sidebar-menu_nav {
    font-size: 0;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    align-items: flex-start;
}
.sidebar-menu_nav-category a.bold,
.sidebar-menu_nav-category a.semibold {
    font-size: 17px;
    line-height: 100%;
    text-transform: uppercase;
    color: #272725;
    white-space: nowrap;
    font-weight: 400;
}
.sidebar-menu_nav-column.active .sidebar-menu_nav-column-header a {
    font-weight: 600;
}
.sidebar-menu_nav-subcategory {
    display: none;
}
.sidebar-menu_subcategory-list,
.sidebar-menu_info-list {
    left: 0;
    margin: 0;
    max-width: unset;
}
.sidebar-menu_subcategory-list li {
    list-style: none;
    line-height: 100%;
}
.sidebar-menu_nav-subcategory a,
.sidebar-menu_subcategory-list a {
    display: block;
    font-size: 17px;
    line-height: 100%;
    color: #272725;
    font-family: Manrope, 'ProbaLight', system-ui, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    white-space: normal;
    padding-top: 8px;
    padding-bottom: 8px;
}
.sidebar-menu_nav-category .wrapper {
    padding: 0;
}
.sidebar-menu_nav-column {
    margin-bottom: 16px;
}
.sidebar-menu_nav-category .sidebar-menu_nav-column-header {
    display: block;
    line-height: 100%;
}
.sidebar-menu_nav-block.active .menu-category {
    display: block;
}
.sidebar-menu_info {
    padding-top: 40px;
    border-top: 1px solid rgb(39, 39, 37)
}
.sidebar-menu_info li {
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sidebar-menu li a,
.sidebar-menu li a[href*="tel:"] {
    font-family: inherit;
    margin-bottom: 0;
}

.sidebar-menu_subcategory-popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    text-align: left;
    padding: 40px 40px 70px 40px;
    overflow: hidden;
    overflow-y: auto;
    z-index: 12;
    transition: 0.2s linear;
}
.sidebar-menu_subcategory-popup.active {
    right: 0;
}
/* end sidebar */



/************** ADAPTIVE ***************/

/* min-width */
@media (min-width: 1024px) {
    .sidebar-menu_nav-column:last-child {
        position: absolute;
        bottom: 20px;
        right: 0;
    }
    .sidebar-menu_nav-column:last-child .sidebar-menu_nav-column-header > a {
        line-height: 28px;
        white-space: normal;
        margin-top: 10px;
    }
}

/* max-width */
@media (max-width: 1440px) {
    .header-categories_wrapper {
        padding: 40px 30px;
        gap: 20px;
    }
    .header-categories_column {
        width: auto;
    }
}
@media (max-width: 1200px) {
    .header-categories_column {
        width: 25%;
    }
    .header-categories_banners {
        display: none;
    }
    .header-black, .header-main_wrapper {
        padding: 0 40px;
    }
    .header-categories_wrapper {
        padding: 40px;
        gap: 30px;
    }
    .header-main_nav-item {
        padding: 0 10px;
    }
    .header-main_nav-link {
        font-size: 14px;
    }
}
@media (max-width: 1024px) {
    .header-main_nav {
        display: none;
    }
    .header-main_button {
        display: block;
    }
    .header-main_wrapper,
    .header-black {
        padding-right: 20px;
        padding-left: 20px;
    }
    .header-black-nav_link {
        padding: 0 10px;
    }
    .header-main_logo {
        margin: 0 28px 0 20px;
    }
    .sidebar-menu_wrapper {
        padding: 40px 40px 70px 40px;
    }
    .sidebar-menu_nav {
        padding-bottom: 24px;
    }
    .sidebar-menu_nav-block:hover > .menu-category {
        left: unset;
        right: 0;
    }
    .header-black_geo-button {
        margin-left: auto;
    }


    .cart-popup,
    .profile-popup,
    .header-black_geo-button {
        display: none;
    }
    .header .header-search-container {
        width: 20px;
        height: 18px;
    }
    .header-search-container_text {
        display: none;
    }
    .header-main_search,
    .header-main_favorite a,
    .header-main_cart {
        font-size: 0;
    }
    .header-main_favorite {
        padding: 0 12px;
    }
    .header-main_favorite a {
        padding: 0;
    }
    .header-main_favorite a,
    .header-main_cart span {
        position: relative;
        display: inline-block;
        width: 18px;
        height: 20px;
        font-size: 0;
    }
    .header-main_favorite a::before {
        content: "";
        position: absolute;
        top: 18px;
        left: -1px;
        width: 18px;
        height: 20px;
        background-position: -406px -209px;
        cursor: pointer;
        transform: scale(1.1);
    }
    .header-main_cart span::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 18px;
        height: 20px;
        background-position: -184px -209px;
        cursor: pointer;
    }
    .cart-count {
        display: none !important;
    }
    .sidebar-menu_tabbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        flex-wrap: nowrap;
        background-color: #fff;
        border-top: 1px solid rgba(39, 39, 37, 0.4);
        display: none;
    }
    .sidebar-menu_tabbar.active {
        display: flex;
    }
    .sidebar-menu_tabbar-item {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20%;
        height: 55px;
    }
    .sidebar-menu_tabbar-geo::before,
    .sidebar-menu_tabbar-chat::before,
    .sidebar-menu_tabbar-favorite a,
    .sidebar-menu_tabbar-cart::before,
    .sidebar-menu_tabbar-profile.--non-authorized::before,
    .sidebar-menu_tabbar-profile.--authorized a {
        content: "";
        width: 24px;
        height: 24px;
    }
    .sidebar-menu_tabbar-geo::before {
        background-position-x: -276px;
        background-position-y: -206px;
    }
    .sidebar-menu_tabbar-chat::before {
        background-position-x: -679px;
        background-position-y: -207px;
    }
    .sidebar-menu_tabbar-favorite a {
        background-position-x: -433px;
        background-position-y: -207px;
        transform: scale(1.1);
    }
    .sidebar-menu_tabbar-cart::before {
        background-position-x: -150px;
        background-position-y: -208px;
    }
    .sidebar-menu_tabbar-profile.--non-authorized::before {
        background-position-x: -88px;
        background-position-y: -208px;
        transform: scale(1.3);
    }
    .sidebar-menu_tabbar-profile.--authorized a {
        background-position-x: -120px;
        background-position-y: -208px;
        transform: scale(1.3);
    }

    .geo-popup.geo-deep {
        top: 0;
        bottom: 55px;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: none;
        overflow-y: auto;
    }
    .geo-popup-deep {
        width: 100%;
    }
    .geo-popup-deep .city-select-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .geo-input-clear {
        top: 81px;
        transform: scale(0.8);
    }
    .city-select-item {
        font-size: 12px;
        padding: 1px 0 4px;
    }
    .city-select-wrap {
        grid-template-rows: repeat(6, 1fr);
        padding-left: 4px;
    }
    .city-select-item:nth-child(1n+13) {
        display: none;
    }
    .city-select-input {
        margin-bottom: 16px;
    }
    .geo-popup-deep .city-select-title {
        font-size: 24px;
        line-height: 22px;
        margin-bottom: 20px;
    }
}
@media (max-width: 540px) {
    .city-select-wrap {
        display: flex;
        flex-direction: column;
    }
    .header-main_search, .header-main_favorite, .header-main_cart {
        padding: 0 7px;
    }
    .header-main_cart {
        padding-right: 0;
    }
    .header-main_gender {
        display: none;
    }
    .header-main_wrapper, .header-black {
        padding-right: 16px;
        padding-left: 16px;
    }
    .header-main_logo {
        transform: scale(0.71);
        margin: 0 0 0 -12px;
    }
    .sidebar-menu_category-name,
    .sidebar-menu_genders .sidebar-menu_nav-header,
    .sidebar-menu_nav-subcategory a,
    .sidebar-menu_subcategory-list a,
    .sidebar-menu_nav-category a.bold, .sidebar-menu_nav-category a.semibold {
        font-size: 14px;
    }
    .sidebar-menu_wrapper,
    .sidebar-menu_subcategory-popup {
        padding: 40px 20px 70px 20px;
    }
    .sidebar-menu_back-button {
        margin-left: 0;
    }
    .sidebar-menu_category-name {
        padding-left: 16px;
    }
}

