@font-face {
    font-family: "inter";
    src: url("../fonts/InterMedium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "inter";
    src: url("../fonts/InterSemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "inter";
    src: url("../fonts/InterBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* GLOBAL */
:root {
    --main-font: "inter", Arial, sans-serif;
    --white: #ffffff;
    --black: #393939;
    --black-active: rgba(57, 57, 57, 0.5);
    --red: #e25959;
    --green: #68af47;
    --gray: #e6e6e6;
    --light-gray: #f9f9f9;
    --dark-gray: #6d6d6d;
    --orange : #ffba00;
    --orange-hover: #ffc731;
    --bcg-card: #f3f3f3;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
html {
    font-family: var(--main-font);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: var(--black);
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 320px;
    background-color: var(--light-gray);
}
main {
    flex-grow: 1;
}
h1, h2, h3, p, ul, ol {
    margin-top: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
img,
video {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
* {
    -webkit-tap-highlight-color: transparent;
}
.container {
    margin: 0 auto;
    max-width: 1440px;
    padding-inline: 40px;
}
@media (max-width: 1024px) {
    .container {
        padding-inline: 15px;
    }
}
@media (max-width: 768px) {
    .container {
        padding-inline: 15px;
    }
}
.title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .title {
        font-size: 32px;
    }
}
.btn {
    display: inline-block;
    padding: 10px 15px;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,  border-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.btn-white {
    color: var(--black);
    background-color: var(--light-gray);
    border: 2px solid var(--black);
}
@media (any-hover: hover) {
    .btn-white:hover {
        color: var(--light-gray);
        background-color: var(--black);
    }
}
.btn-white:active {
    color: var(--black-active);
    background-color: var(--light-gray);
    border-color: var(--black-active);
}
@media (max-width: 768px) {
    .btn-white.promo__link {
        border: 2px solid var(--light-gray);
    }
    .btn-white.promo__link:active {
        color: var(--light-gray);
        background-color: var(--orange);
        border-color: var(--orange);
        opacity: 0.5;
    }
}

.btn-black {
    color: var(--light-gray);
    background-color: var(--black );
    border: 2px solid var(--black);
}
@media (any-hover: hover) {
    .btn-black:hover {
        color: var(--light-gray);
        background-color: var(--orange);
        border-color: var(--light-gray);
    }
}
.btn-black:active {
    color: var(--light-gray);
    background-color: var(--orange);
    border-color: var(--light-gray);
    opacity: 0.5;
}
@media (max-width: 768px) {
    .btn-black:active {
        color: var(--light-gray);
        background-color: var(--orange);
        border-color: var(--orange);
        opacity: 0.5;
    }
}

.btn-orange {
    color: var(--light-gray);
    background-color: var(--orange);
    border: 2px solid var(--black);
}
@media (any-hover: hover) {
    .btn-orange:hover {
        background-color: #ffc731;
        border-color: var(--light-gray);
    }
}
.btn-orange:active {
    background-color: var(--orange);
    border-color: var(--light-gray);
    opacity: 0.5;
}

/* HEADER */

.header__container {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
    "logo nav phones profile"
    "logo form form form";
    gap: 0 53px;
    padding-top: 20px;
    padding-bottom: 40px;

}
.header__logo-wrap {
    position: relative;
    grid-area: logo;
}
.header__logo {
    display: block;
}

.nav {
    grid-area: nav;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    row-gap: 5px;
    margin-bottom: 8px;
}
.nav__link {
    position: relative;
    font-weight: 600;
}
.nav__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    transform: scale(0);
    background-color: var(--orange);
    transition: transform 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .nav__link:hover::after {
        transform: scale(1);
    }
}
.nav__link:active {
    color: var(--orange);
}

.header__phones-wrap {
    grid-area: phones;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.header__phones-wrap a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
}
.header__phones-wrap a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    transform: scale(0);
    background-color: var(--orange);
    transition: transform 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .header__phones-wrap a:hover::after {
        transform: scale(1);
    }
}
.header__phones-wrap a:active {
    color: var(--orange);
}

.burger {
    position: relative;
    z-index: 1;
    display: none;
    padding: 0;
    width: 35px;
    height: 24px;
    color: var(--black);
    border: none;
    background-color: transparent;
    cursor: pointer;
}
.burger__line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: var(--black);
}
.burger::before,
.burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--black);
    transition: transform 0.2s ease-in-out;
}
.burger::before {
    top: 0;
}
.burger::after {
    top: calc(100% - 2px);
}
.burger-menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 58px 16px 30px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    background-color: var(--light-gray);
    visibility: hidden;
    transform: translateY(-110%);
    transition: visibility .4s, transform .4s cubic-bezier(0,.76,.74,.92);
}

.header__profile-wrap {
    grid-area: profile;
    display: flex;
    column-gap: 10px;
}
.header__profile-wrap a {
    position: relative;
    padding-top: 25px;
    font-size: 12px;
}
.header__profile-wrap a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 21px;
    background-color: var(--black);
    mask: var(--url) no-repeat center / var(--size);
}
.header__compare {
    --url: url("../images/header/compare.svg");
    --size: 18px 20px;
}
.header__basket {
    --url: url("../images/header/basket.svg");
    --size: 20px 21px;
}
.header__favorites {
    --url: url("../images/header/favorites.svg");
    --size: 24px 20px;
}
.header__cabinet {
    --url: url("../images/header/cabinet.svg");
    --size: 18px 20px;
}
.header__profile-wrap a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 1px;
    transform: scale(0);
    background-color: var(--orange);
    transition: transform 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .header__profile-wrap a:hover::after {
        transform: scale(1);
    }
}
.header__profile-wrap a:active {
    color: var(--orange);
}

.header__form {
    grid-area: form;
    display: flex;
    align-items: center;
    column-gap: 21px;
}
.header__form-search {
    padding-left: 20px;
    width: 100%;
    height: 39px;
    font-family: var(--main-font);
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid var(--black);
}
.header__form-search:focus {
    outline: 2px solid var(--orange);
}
.header__form-btn {
    position: relative;
    width: 103px;
    height: 39px;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid var(--black);
    background-color: var(--orange);
    transition: background-color 0.15s ease-in-out;
}
.header__form-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: var(--black);
    mask: url("../images/header/search.png") no-repeat center / 24px 24px;
    transition: background-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .header__form-btn:hover {
        background-color: var(--orange-hover);
    }
    .header__form-btn:hover::before {
        background-color: var(--light-gray);
    }
}
.header__form-btn:active {
    background-color: var(--orange-hover);
}
.header__form-btn:active::before {
    background-color: var(--light-gray);
}

/* BREADCRAMBS */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    padding-block: 15px;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}
.breadcrumbs__item:not(:last-child) {
    position: relative;
    margin-right: 31px;
    opacity: 0.5;
    transition: opacity 0.15s ease-in-out;
}
.breadcrumbs__item:not(:last-child)::after {
    content: "//";
    display: block;
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    width: 11px;
    height: 17px;
}
.breadcrumbs__link {
    padding-block: 3px;
}
@media (any-hover: hover) {
    .breadcrumbs__item:not(:last-child):hover {
        opacity: 1;
    }
}

/* PRODUCTS */
.products {
    padding-top: 25px;
    padding-bottom: 30px;
}
.products__title {
    margin-bottom: 20px;
}
.products__list {
    display: flex;
    flex-wrap: wrap;
    gap: 21px 10px;
    margin-block: 0;
    padding-left: 0;
    list-style: none;
}
.products__btn {
    padding: 4px 15px;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 600;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid var(--black);
    border-radius: 20px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
@media (any-hover:hover) {
    .products__btn:hover {
        background-color: var(--black);
        color: var(--light-gray);
    }
}
.products__btn:active {
    background-color: var(--black);
    color: var(--light-gray);
}
/* Всплывашка с коллекциями тега */
.tag-collections {
    position: absolute;
    z-index: 60;
    min-width: 280px;
    max-width: 380px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px 0 #00000026;
}
.tag-collections[hidden] {
    display: none;
}
.tag-collections__all {
    display: block;
    padding-bottom: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid #E6E6E6;
}
.tag-collections__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.tag-collections__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 500;
}
.tag-collections__item:hover {
    text-decoration: underline;
}
.tag-collections__item span {
    color: #6D6D6D;
    font-weight: 400;
}
.tag-collections__empty {
    margin: 0;
    font-size: 15px;
    color: #6D6D6D;
}
@media (max-width: 768px) {
    /* Слева отступ 16px, справа остаётся ~10% ширины экрана. */
    .tag-collections {
        min-width: 0;
        width: calc(90vw - 16px);
        max-width: calc(90vw - 16px);
    }
}

/* FILTERS */
.filters {
    padding-top: 31px;
    padding-bottom: 46px;
}
.filters__sum {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}
.filters__wrap {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    column-gap: 39px;
    color: var(--black);
}
.filters__btn {
    padding: 0 33px 0 0;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    border: none;
    background-color: transparent;
    background: url("../images/filter.svg") no-repeat right 0 center / 21px 20px;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .filters__btn:hover {
        opacity: 0.6;
    }
}
.filters__btn:active {
    opacity: 0.6;
}

.filters__sorting-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.sorting__btn {
    position: relative;
    text-align: end;
    border: none;
    padding: 0 30px 0 6px;
    width: 196px;
    height: 22px;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    background-color: var(--light-gray);
    cursor: pointer;
}
.sorting__btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: var(--black);
    mask: url("../images/sorting.svg") no-repeat right center / 22px 22px;
    transition: background-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .sorting__btn:hover {
        opacity: 0.6;
    }
}
.sorting__btn:active {
    opacity: 0.6;
}
.sorting__btn.is-active::after {
    background-color: var(--orange);
}
.sorting__list-wrap {
    position: absolute;
    z-index: 88;
    left: 0;
    right: 0;
    top: 110%;
    padding-left: 0;
    list-style: none;
    border-radius: 10px;
    border: 1px solid var(--black);
    background-color: var(--light-gray);
    overflow: hidden;
    display: none;
}
.sorting__list-wrap.is-active {
    display: block;
}
.sorting__item:not(:last-child) {
    border-bottom: 1px solid var(--black);
}
.sorting__choice {
    width: 100%;
    border: none;
    padding-block: 5px;
    background-color: transparent;
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 14px;
    font-weight: 600;
    text-align: start;
    color: var(--black);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.sorting__choice.is-selected {
    background-color: var(--orange);
    color: var(--light-gray);
}
@media (any-hover: hover) {
    .sorting__choice:hover {
        background-color: var(--orange-hover);
        color: var(--light-gray);
    }
}
.sorting__choice:active {
    background-color: var(--orange-hover);
    color: var(--light-gray);
}

/* изменение SELECT */
.filters__select-wrap {
    position: relative;
    align-self: center;
    width: 200px;
    z-index: 4;
}
.filters__select-wrap .choices {
    margin-bottom: 0;

}
.choices[data-type*=select-one] .choices__inner {
    padding-bottom: 0;
}
.filters__select-wrap .choices__inner {
    background-color: transparent;
    padding: 0px 7px 0px;
    border: 1px solid var(--black);
    border-radius: 5px;
    font-size: 16px;
    min-height: 29px;
}
.filters__select-wrap .choices.is-open .choices__inner {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.filters__select {
    font-family: var(--main-font);
    font-weight: 600;
}
.filters__select-wrap .choices__placeholder {
    opacity: 1;
    font-weight: 600;
}
.filters__select-wrap .choices__list--single {
    padding: 4px 20px 4px 4px;
}
.filters__select-wrap .choices__list--dropdown,
.filters__select-wrap .choices__list[aria-expanded] {
    border: 1px solid var(--black);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.filters__select-wrap .choices__list--dropdown .choices__item--selectable[data-select-text]::after {
    content: none;
}
.filters__select-wrap .choices__list--dropdown .choices__item--selectable[data-select-text],
.filters__select-wrap .choices__list[aria-expanded] .choices__item--selectable[data-select-text] {
    padding-right: 10px;
    font-size: 16px;
}
.filters__select-wrap .choices__list--dropdown .choices__item--selectable.is-highlighted,
.filters__select-wrap .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: var(--orange-hover);
}
.filters__select-wrap .choices__list--dropdown .choices__item,
.filters__select-wrap .choices__list[aria-expanded] .choices__item {
    padding: 5px;
    font-size: 16px;
}
.filters__select-wrap .choices[data-type*=select-one]::after {
    content: "";
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
    right: 12px;
    width: 12px;
    height: 8px;
    background: url("../images/arrow-down.svg") no-repeat center / 12px 8px;
    border-style: none;
    border-color: transparent;
    border-width: 0;
    margin-top: 0;
    pointer-events: none;
    transition: transform 0.3s ease-in-out;
}
.filters__select-wrap .is-open.choices[data-type*=select-one]::after {
    transform: translateY(-60%) rotate(180deg);
}
/* --------------------- */
.filters__show {
    justify-self: end;
    display: flex;
    align-items: center;
    column-gap: 5px;
    font-size: 16px;
    font-weight: 600;
}
.filters__show span {
    margin-right: 6px;
}
.filters__btn-show {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 29px;
    font-family: var(--main-font);
    color: var(--dark-gray);
    border-radius: 5px;
    border: 1px solid var(--dark-gray);
    background: transparent;
    cursor: pointer;
}
.filters__btn-show.active {
    color: var(--light-gray);
    background: var(--black);
}

/* CATALOG */
.catalog {
    position: relative;
    padding-top: 15px;
    padding-bottom: 51px;
}
.catalog__title {
    margin-bottom: 40px;
}
.catalog__list.catalog__list-- {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 20px;
}
.catalog__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 68px 20px;
    margin-bottom: 89px;
    padding-left: 0;
    list-style-type: none;
}
.catalog__btn-filter {
    position: fixed;
    bottom: 80px;
    right: calc(100vw - 50% - 695px);
    z-index: 99;
    padding: 47px 11px 18px 10px;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    writing-mode: vertical-lr;
    text-orientation: upright;
    border-radius: 40px;
    border: 2px solid var(--black);
    background-color: var(--orange);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .catalog__btn-filter:hover {
        background-color: var(--orange-hover);
    }
}
.catalog__btn-filter:active {
    background-color: var(--orange-hover);
}
.catalog__btn-filter::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    width: 20px;
    height: 20px;
    background-color: var(--black);
    mask: url(../images/filter.svg) no-repeat center / 20px 20px;
    transition: background-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .catalog__btn-filter:hover::before {
        background-color: var(--light-gray);
    }
}
.catalog__btn-filter:active::before {
    background-color: var(--light-gray);
}
.catalog__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 455px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}
.catalog__compare,
.catalog__favorites {
    position: absolute;
    z-index: 2;
    top: 26px;
    padding: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    background-color: var(--light-gray);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
    opacity: 0;
}
.catalog__compare {
    left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 26px;
    width: 132px;
    height: 35px;
    font-family: var(--main-font);
    color: var(--black);
}
.catalog__compare::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 14px;
    height: 16px;
    background-color: var(--black);
    mask: url("../images/compare.svg") no-repeat center / 14px 16px;
    transition: background-color 0.15s ease-in-out;
}
.catalog__favorites {
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.catalog__favorites::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 27px;
    height: 27px;
    background-color: var(--black);
    mask: url("../images/heart.svg") no-repeat center / 27px 27px;
    transition: background-color 0.15s ease-in-out;
}
.catalog__favorites.active {
    background-color: var(--orange);
}
@media (any-hover: hover) {
    .catalog__compare:hover {
        color: var(--light-gray);
        background-color: var(--orange);
    }
    .catalog__compare:hover::before {
        background-color: var(--light-gray);
    }
    .catalog__favorites:hover {
        background-color: var(--orange);
    }
    .catalog__favorites:hover::before {
        background-color: var(--light-gray);
    }
}
.catalog__compare:active, .catalog__compare:checked {
    color: var(--light-gray);
    background-color: var(--orange);
}
label:has(input[type="checkbox"]:checked) .catalog__compare {
    color: var(--light-gray);
    background-color: var(--orange);
}


.catalog__compare:active::before {
    background-color: var(--light-gray);
}
.catalog__favorites:active {
    background-color: var(--orange);
}
.catalog__favorites:active::before {
    background-color: var(--light-gray);
}
@media (any-hover: hover) {
    .catalog__item:hover .catalog__compare,
    .catalog__item:hover .catalog__favorites
    /*.catalog__item:hover .change*/ {
        opacity: 1;
    }
}
.catalog__image-wrap {
    position: relative;
    margin-bottom: 21px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}
.catalog__image-wrap::before {
    content: "";
    display: block;
    padding-top: 100%;
}
.catalog__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.catalog__label {
    position: absolute;
    z-index: 2;
    right: 15px;
    bottom: 11px;
    padding: 2px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px #0000002B;
}
.catalog__label--action {
    background-color: #FFC300;
}
.catalog__label--new {
    background-color: #60BC44;
}
.catalog__label--sale {
    background-color: #E25959;
}
.catalog__label--marketplace {
    background-color: #5960E2;
}
.catalog__label--discount {
    background-color: #E25959;
}
.catalog__label--hit {
    background-color: #FF7A00;
}

.catalog__label--rulon {
    background-color: #68AF47;
}
.catalog__article {
    margin-bottom: 11px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    height: 50px;
    overflow: hidden;
}
.catalog__collection-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}
.catalog__btn {
    margin-top: auto;
    margin-inline: auto;
    width: 94%;
}

.change {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    bottom: 57px;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    list-style-type: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--black);
    background-color: var(--light-gray);
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}
.change__item {
    display: flex;
    align-items: center;
    column-gap: 16px;
    padding: 9px 5px 8px;
    border: 1px solid var(--black);
}
.change__size {
    margin-right: auto;
}
.change__availability span {
    display: none;
}
.change__quantity-wrap {
    display: flex;
    align-items: center;
    margin-right: 7px;
    border: 1px solid var(--black);
    border-radius: 5px;
    padding: 1px;
    height: 30px;
}
.change__minus,
.change__plus {
    position: relative;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 25px;
    font-weight: 400;
}
.change__minus {
    width: 30px;
    border-right: 1px solid var(--black);
}
.change__minus::before {
    content: "";
    display: block;
    height: 23px;
    background: url("../images/minus.svg") no-repeat center / 12px 12px;
}
.change__plus {
    width: 28px;
}
.change__quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 23px;
    border-right: 1px solid var(--black);
}

.change__cart {
    width: 49px;
    height: 30px;
    background: var(--black) url("../images/cart.svg") no-repeat center / 16px 19px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .change__cart:hover {
        background-color: var(--dark-gray);
    }
}
.change__cart:active {
    background-color: var(--dark-gray);
}

.catalog__pagination {
    text-align: center;
}
.catalog__btn-more {
    margin-bottom: 39px;
    padding: 3px 15px;
    font-size: 14px;
}
@media (any-hover: hover) {
    .catalog__btn-more:hover {
        color: var(--light-gray);
        background-color: var(--orange);
        border-color: var(--orange);
    }
}
.catalog__btn-more:active {
    color: var(--light-gray);
    background-color: var(--orange);
    border-color: var(--orange);
    opacity: 0.5;
}
.catalog__wrap-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 53px;
}
.catalog__link-pagination-list span {
    display: inline-block;
    margin-inline: 4px;
    transform: translateY(-6px);
}
.catalog__link-pagination {
    padding: 3px;
}
.catalog__btn-pagination {
    position: relative;
    width: 30px;
    height: 30px;
}
.catalog__btn-pagination::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: var(--black);
    mask: url("../images/arrow.svg") no-repeat center / 12px 20px;
    transition: background-color 0.15s ease-in-out;
}
.catalog__btn-pagination--left {
    transform: rotate(180deg);
}
@media (any-hover: hover) {
    .catalog__btn-pagination:hover::before {
        background-color: var(--orange);
    }
}
.catalog__btn-pagination:active::before {
    background-color: var(--orange);
}

/* CONTACT */

.contact {
    margin: 0 auto;
    padding-top: 44px;
    padding-bottom: 99px;
    max-width: 1440px;
    padding-inline: 40px;
    color: var(--light-gray);
}
.contact__wrap {
    display: flex;
    justify-content: space-between;
    padding: 61px 115px 94px;
    overflow: hidden;
    border-radius: 40px;
    background: var(--black) url("../images/contact/contact.jpg") no-repeat center / cover;
}
.contact__info {
    margin-right: 20px;
}
.contact__descr {
    margin-bottom: 48px;
    padding-left: 7px;
    font-size: 16px;
    font-weight: 600;
    max-width: 440px;
}
.contact__phones-wrap {
    font-size: 20px;
    font-weight: 600;
}
.contact__phones-wrap a:first-child {
    margin-right: 46px;
}
.contact__form {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    width: 325px;
}
.contact__form input {
    padding-left: 23px;
    width: 100%;
    height: 60px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--dark-gray);
    background-color: var(--light-gray);
}
.contact__form input:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: -1px;
}
.contact__form-name {
    margin-bottom: 22px;
}
.contact__form-phone {
    margin-bottom: 40px;
}

/* MAP */
.map {
    height: 432px;
}
.map iframe {
    width: 100vw;
    height: 100%;
}

/* FOOTER */
.footer {
    padding-top: 60px;
    padding-bottom: 40px;
}
.footer__wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 88px;
    padding-bottom: 38px;
}
.footer__logo-wrap {
    margin-right: 10px;
}
.footer__logo {
    display: block;
    margin-bottom: 40px;
}
.footer__address {
    position: relative;
    margin-bottom: 20px;
    padding-left: 26px;
    max-width: 247px;
    font-size: 14px;
    font-weight: 600;
}
.footer__address::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 15px;
    height: 20px;
    background: url("../images/geotag.svg") no-repeat center / 15px 20px;
}
.footer__btn-call {
    padding: 8px 29px;
}

.footer__nav-wrap {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding-top: 7px;
}
.footer__nav-wrap a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .footer__nav-wrap a:hover {
        opacity: 0.7;
    }
}
.footer__contacts-wrap {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    margin-left: 10px;
    padding-top: 5px;
}
.footer__phone {
    display: block;
    font-size: 20px;
    font-weight: 700;
}
.footer__phone:nth-child(2) {
    margin-bottom: 16px;
}
.footer__mail {
    margin-bottom: 17px;
    font-size: 16px;
    font-weight: 600;
}
.footer__link {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}
.footer__hours {
    margin-bottom: 37px;
    max-width: 210px;
    font-size: 14px;
    font-weight: 600;
}
.social {
    display: flex;
    gap: 12px;
}
.social a {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 2px 0px #00000040;
    background-color: var(--orange);
    transition: background-color 0.15s ease-in-out;
}
.social a::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--black);
    mask: var(--url) no-repeat center / var(--size);
    transition: background-color 0.15s ease-in-out;
}
.social__youtube {
    --url: url("../images/social/youtube.svg");
    --size: 28px 22px;
}
.social__tg {
    --url: url("../images/social/tg.svg");
    --size: 24px 22px;
}
.social__whatsapp {
    --url: url("../images/social/whatsapp.svg");
    --size: 22px 20px;
}
.social__instagram {
    --url: url("../images/social/instagram.svg");
    --size: 22px 20px;
}
@media (any-hover: hover) {
    .social a:hover {
        background: var(--orange-hover);
    }
    .social a:hover::before {
        background: var(--light-gray);
    }
}
.social a:active {
    background: var(--orange-hover);
}
.social a:active::before {
    background: var(--light-gray);
}
.footer__copyright-wrap {
    display: flex;
    gap: 65px;
    padding-top: 33px;
    border-top: 1px solid var(--black);

}
.footer__info {
    margin-bottom: 0;
    width: 46%;
    font-size: 14px;
    font-weight: 600;
}
.footer__copyright {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 600;
}

/* SHARE-LINK */
.share-link {
    display: none;
}

/* SELECTED-FILTERS */
.selected-filters {
    padding-top: 6px;
    padding-bottom: 31px;
}
.selected-filters__container {
    display: flex;
    align-items: center;
    column-gap: 40px;
}
.selected-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.selected-filters__btn {
    padding: 7px 31px 6px 16px;
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 500;
    color: var(--dark-gray);
    border-radius: 20px;
    border: 1px solid var(--dark-gray);
    background: url("../images/close.svg") no-repeat right 13px center / 10px 10px;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .selected-filters__btn:hover {
        opacity: 0.7;
    }
}
.selected-filters__btn:active {
    opacity: 0.7;
}
.selected-filters__btn-reset {
    flex-shrink: 1;
    align-self: flex-start;
    white-space: nowrap;
    padding: 7px 0 0 0;
    border: none;
    background: transparent;
    font-family: var(--main-font);
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    color: var(--dark-gray);
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .selected-filters__btn-reset:hover {
        opacity: 0.7;
    }
}
.selected-filters__btn-reset:active {
    opacity: 0.7;
}

/* BRAND */
.brand {
    padding-top: 40px;
    padding-bottom: 71px;
    color: var(--light-gray);
    background-color: var(--black);
}
.brand__title {
    margin-bottom: 21px;
    text-align: center;
}
.brand__descr {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.brand__list {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    justify-content: center;
}
.brand__btn {
    padding: 9px 15px;
    min-width: 210px;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--light-gray);
    background-color: transparent;
    border-radius: 20px;
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}
@media (any-hover: hover) {
    .brand__btn:hover {
        background-color: var(--orange);
    }
}
.brand__btn:active {
    background-color: var(--orange);
    opacity: 0.5;
}

@media (max-width: 1440px) {
    .catalog__btn-filter {
        right: 40px;
    }
}

@media (max-width: 1355px) {
    /* CATALOG */
    .change {
        font-size: 13px;
    }
    .change__item {
        column-gap: 6px;
        padding: 9px 3px 8px;
    }
    .change__cart {
        width: 34px;
    }
    .change__quantity-wrap {
        margin-right: 0;
    }
    .change__minus {
        width: 24px;
    }
    .change__quantity {
        width: 26px;
    }
    .change__plus {
        width: 23px;
    }
}

@media (max-width: 1250px) {
    /* CATALOG */
    .catalog__item {
        min-height: 465px;
    }
    /* CONTACT */
    .contact__wrap {
        padding: 61px 60px 94px;
    }
}

@media (max-width: 1120px) {
    .catalog__item {
        min-height: 436px;
    }
}

@media (max-width: 1024px) {
    .scroll-lock {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
    }

    .catalog__btn-filter {
        right: 15px;
    }

    /* HEADER */
    .header__logo-wrap {
        padding-bottom: 7px;
    }
    .header__logo-wrap::before {
        content: "";
        position: absolute;
        left: -15px;
        right: -15px;
        bottom: 0;
        width: 100vw;
        height: 1px;
        background-color: var(--gray);
    }
    .isVisible-desktop {
        display: none;
    }
    .burger {
        display: block;
        grid-area: burger;
    }
    .header__container {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
        "logo phones"
        "burger profile";
        gap: 9px 15px;
        padding-top: 3px;
        padding-bottom: 10px;
    }
    .header__phones-wrap {
        justify-self: end;
        margin-top: 9px;
    }
    .header__profile-wrap {
        justify-self: end;
        column-gap: 30px;
    }
    .header__profile-wrap a {
        width: 30px;
        height: 25px;
    }
    .header__profile-wrap span {
        display: none;
    }
    .header__profile-wrap a::before {
        width: 31px;
        height: 25px;
    }
    .header__compare {
        --url: url("../images/header/compare.svg");
        --size: 18px 20px;
    }
    .header__basket {
        --url: url("../images/header/basket.svg");
        --size: 23px 25px;
    }
    .header__favorites {
        --size: 31px 25px;
    }
    .header__cabinet {
        --size: 24px 25px;
    }
    .burger-menu.menu-active {
        display: flex;
        visibility: visible;
        transform: none;
    }

    .burger-menu__close {
        position: absolute;
        top: 13px;
        right: 10px;
        margin: 3px;
        padding: 0;
        width: 25px;
        height: 25px;
        border: none;
        background-color: var(--black);
        mask: url("../images/close.svg") no-repeat center / 23px 23px;
        cursor: pointer;
    }
    @media (any-hover: hover) {
        .burger-menu__close:hover {
            background-color: var(--orange);
        }
    }
    .burger-menu__close:active {
        background-color: var(--orange);
    }
    .header__form {
        margin-bottom: 40px;
        column-gap: 16px;
    }
    .header__form-btn {
        width: 192px;
        height: 45px;
    }
    .header__form-btn::before {
        width: 34px;
        height: 34px;
        mask: url(../images/header/search.png) no-repeat center / 34px 34px;
    }
    .nav {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        column-gap: 0;
        row-gap: 20px;
        margin-bottom: 12px;
    }
    .burger-menu__logo {
        margin-top: auto;
        display: flex;
        justify-content: center;
    }

    /* CATALOG */
    .catalog__compare,
    .catalog__favorites {
        top: 7px;
        opacity: 1;
    }
    .catalog__compare span {
        display: none;
    }
    .catalog__compare {
        left: 10px;
        display: block;
        padding: 4px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }
    .catalog__compare::before {
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    .catalog__favorites {
        right: 10px;
    }
    .catalog__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
        margin-bottom: 100px;
    }

    /* CONTACT */
    .contact {
        margin: 0 auto;
        padding-top: 44px;
        padding-bottom: 60px;
        max-width: 1440px;
        padding-inline: 15px;
        color: var(--light-gray);
    }
    .contact__wrap {
        padding: 55px 20px 65px;
    }
    .contact__phones-wrap a:first-child {
        margin-right: 20px;
    }

    /* FOOTER */
    .footer {
        padding-top: 30px;
    }
    .footer__wrap {
        padding-top: 40px;
        column-gap: 25px;
    }
    .footer__copyright-wrap {
        gap: 35px;
    }
    .footer__info {
        width: 65%;
    }
}

@media (max-width: 850px) {
    .filters__wrap {
        column-gap: 15px;
    }
}


@media (max-width: 768px) {

    /* SHARE-LINK */
    .share-link {
        position: relative;
        display: block;
        border: none;
        margin-bottom: 20px;
        margin-left: 15px;
        padding: 9px 5px 10px 25px;
        font-size: 14px;
        font-weight: 600;
        font-family: var(--main-font);
        text-decoration: underline;
        background: transparent url("../images/link.svg") no-repeat left top / 20px 25px;
        transition: opacity 0.15s ease-in-out;
    }
    @media (any-hover: hover) {
        .share-link:hover {
            opacity: 0.5;
        }
    }
    .share-link:active {
        opacity: 0.5;
    }

    /* SELECTED-FILTERS */
    .selected-filters {
        padding-bottom: 20px;
    }

    /* BRAND */
    .brand {
        padding-bottom: 24px;
    }
    .brand__descr {
        margin-bottom: 39px;
    }
    .brand__list {
        flex-direction: column;
        flex-wrap: nowrap;
        /* gap: 19px; */
    }
    .brand__btn {
        padding: 13px 15px;
    }

    /* HEADER */
    .header__logo {
        width: 93px;
        height: 51px;
    }
    .header__phones-wrap a {
        position: relative;
        font-size: 12px;
        font-weight: 500;
    }
    .burger-menu {
        min-height: auto;
        height: 100vh;
    }
    .burger-menu .burger-menu__phone {
        font-size: 16px;
        font-weight: 600;
    }
    .header__form-search {
        height: 45px;
    }
    .nav__link {
        font-size: 16px;
    }
    .burger-menu__logo .header__logo {
        width: 177px;
        height: 97px;
    }

    /* BREADCRAMBS */
    .breadcrumbs {
        font-size: 12px;
    }
    .breadcrumbs__item:not(:last-child) {
        margin-right: 20px;
    }
    .breadcrumbs__item:not(:last-child)::after {
        right: -16px;
    }

    /* PRODUCTS */
    .products {
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .products__title {
        text-align: center;
    }

    /* FILTERS */
    .filters {
        padding-top: 50px;
        padding-bottom: 25px;
    }
    .filters__sum {
        margin-bottom: 20px;
    }
    .filters__wrap {
        grid-template-columns: auto 1fr;
        gap: 20px 30px;
        color: var(--black);
    }
    .filters__btn {
        grid-column: 2 / 3;
        background: url(../images/filter.svg) no-repeat right 0 center / 27px 26px;
    }
    .filters__btn span {
        display: none;
    }
    .filters__show {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        justify-self: start;
    }
    .filters__select-wrap {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        width: 263px;
    }
    .filters__sorting-wrap {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        justify-self: end;
    }

    /* CATALOG */
    .catalog {
        padding-bottom: 38px;
    }
    .catalog__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 17px;
        margin-bottom: 60px;
    }
    .catalog__btn-filter {
        padding: 40px 8px 15px 8px;
        font-size: 14px;
    }
    .catalog__title {
        margin-bottom: 20px;
    }
    .catalog__item {
        min-height: 357px;
        gap: 11px 15px;
    }
    .catalog__image-wrap {
        margin-bottom: 8px;
    }
    .catalog__image-wrap::before {
        padding-top: 112%;
    }
    .catalog__collection-wrap {
        margin-bottom: 6px;
    }
    .catalog__article {
        margin-bottom: 0px;
    }
    .catalog__btn {
        width: 100%;
    }

    .change {
        bottom: 47px;
        font-size: 14px;
        border: none;
    }
    .change__item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "sizes availability"
            "quantity cart";
        gap: 11px 6px;
        padding: 17px 7px 13px;
        border-left: none;
        border-top: none;
        border-right: none;
        border-bottom: 1px solid var(--black);
    }
    .change__minus {
        width: 29px;
    }
    .change__quantity {
        width: 35px;
    }
    .change__plus {
        width: 28px;
    }
    .change__size {
        grid-area: sizes;
        margin-right: 0;
    }
    .change__availability {
        grid-area: availability;
        justify-self: end;
    }
    .change__availability span {
        display: inline;
    }
    .change__quantity-wrap {
        grid-area: quantity;
    }
    .change__cart {
        grid-area: cart;
        justify-self: end;
        width: 49px;
    }

    /* CONTACT */
    .contact {
        padding-top: 18px;
        padding-bottom: 61px;
        padding-inline: 0;
    }
    .contact__title {
        margin-bottom: 21px;
    }
    .contact__wrap {
        flex-direction: column;
        justify-content: initial;
        padding: 41px 17px 40px;
        border-radius: 0;
    }
    .contact__info {
        margin-right: 0;
        text-align: center;
    }
    .contact__descr {
        margin-bottom: 18px;
        margin-inline: auto;
        padding-left: 0;
        max-width: 391px;
    }
    .contact__phones-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
    }
    .contact__form {
        width: 100%;
    }

    /* MAP */
    .map {
        height: 592px;
    }

    /* FOOTER */
    .footer {
        padding-top: 0px;
    }
    .footer__wrap {
        grid-template-columns: 1fr;
        column-gap: 0;
        padding-bottom: 59px;
    }
    .footer__logo-wrap {
        display: grid;
        grid-template-columns: 45% 1fr;
        grid-template-areas:
        "logo address"
        "button button";
        gap: 40px 10px;
        margin-right: 0;
        margin-bottom: 54px;
    }
    .footer__logo {
        grid-area: logo;
        margin-bottom: 0;
        width: 140px;
        height: 77px;
    }
    .footer__address {
        grid-area: address;
        margin-bottom: 0;
        padding-top: 7px;
        max-width: 207px;
    }
    .footer__address::before {
        top: 5px;
        left: 2px;
    }
    .footer__btn-call {
        grid-area: button;
        padding: 13px 29px;
    }
    .footer__nav-wrap {
        align-items: center;
        margin-bottom: 58px;
    }
    .footer__contacts-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "phone1 phone2"
        "mail mail"
        "link link"
        "hours hours"
        "social social";
        margin-left: 0;
    }
    .footer__phone:first-child {
        grid-area: phone1;
    }
    .footer__phone:nth-child(2) {
        grid-area: phone2;
        justify-self: end;
    }
    .footer__mail {
        grid-area: mail;
    }
    .footer__link {
        grid-area: link;
    }
    .footer__hours {
        grid-area: hours;
        max-width: 100%;
    }
    .social {
        grid-area: social;
        justify-content: center;
        gap: 20px;
    }
    .footer__copyright-wrap {
        flex-direction: column;
        gap: 20px;
        padding-top: 21px;
    }
    .footer__info {
        width: 100%;
    }
}

@media (max-width: 520px) {
    /* PRODUCTS */
    .products__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 21px 10px;
    }
    .products__list li:nth-child(2n + 1) {
        justify-self: end;
    }
    .products__btn {
        height: 100%;
    }
    /* FILTERS */
    .filters__sorting-wrap {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        justify-self: start;
    }
    .sorting__btn {
        text-align: left;
        padding: 0 30px 0 12px;
        width: 210px;
        font-size: 16px;
        color: var(--black);
    }
}

@media (max-width: 500px) {
    /* HEADER */
    .header__profile-wrap {
        column-gap: 10px;
    }

}

@media (max-width: 400px) {
    /* CATALOG */
    .catalog__item {
        min-height: 345px;
    }
}

@media (max-width: 430px) {
    /* FOOTER */
    .footer__contacts-wrap {
        display: flex;
        flex-direction: column;
        margin-left: 0;
    }
}

@media (max-width: 429px) {
    /* PRODUCTS */
    .products__list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px 0;
    }
    .products__list li:nth-child(2n + 1) {
        justify-self: center;
    }
    .products__list li {
        justify-self: center;
    }
    /* CATALOG */
    .change {
        font-size: 13px;
    }
    .change__item {
        gap: 3px 6px;
        padding: 5px 2px 8px;
    }
    .catalog__list {
        gap: 30px 10px;
    }
}

@media (max-width: 370px) {
    /* CATALOG */
    .catalog__item {
        min-height: 335px;
    }
}

@media (max-width: 355px) {
    /* FILTERS */
    .filters__wrap {
        gap: 20px 0;
    }
    .filters__select-wrap {
        width: 255px;
    }

    /* CATALOG */
    .change__minus {
        width: 26px;
    }
    .change__quantity {
        width: 26px;
    }
    .change__plus {
        width: 26px;
    }
    .change__cart {
        width: 43px;
    }

    /* FOOTER */
    .footer__logo-wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
        "logo"
        "address"
        "button";
        gap: 40px 10px;
        justify-items: center;
    }
    .footer__btn-call {
        width: 100%;
    }
}

.smart-filter-parameters-box.filter-section {
    position: relative;
}


/* Контейнер, относительно которого позиционируется выпадающее меню */
.header__cabinet-wrapper {
    position: relative;
    display: inline-block;
}

/* Стили для самой ссылки "Кабинет" */
.header__cabinet {
    /* Ваши текущие стили для ссылки */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit; /* Или нужный вам цвет */
    padding: 10px 15px;
    cursor: pointer;
}

/* Стили для выпадающего меню */
.cabinet-dropdown {
    position: absolute;
    top: 100%; /* Располагаем меню прямо под ссылкой */
    right: 0;
    width: 322px; /* Подберите нужную ширину */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000; /* Чтобы меню было поверх других элементов */
}

/* Показываем меню при наведении на контейнер */
.header__cabinet-wrapper:hover .cabinet-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Стили для навигации внутри меню */
.cabinet-menu {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

/* Стили для ссылок в меню */
.cabinet-menu__link {

    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.2s ease;
    border: none; /* Убираем рамку, если она есть унаследована */
    background: none; /* Убираем фон, если он есть унаследован */
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 9px 18px !important;
    display: flex;
    gap: 21px;
    font-size: 14px !important;
}

.cabinet-menu__link:hover {
    background-color: #f5f5f5;
    color: #000;
}
.cabinet-menu {

    border: 1px solid rgba(109, 109, 109, 0.5);}



.header__profile-wrap a.cabinet-menu__link::before {
    display: none;
}
.header__profile-wrap a.cabinet-menu__link::after{
    display: none!important;
}
a.cabinet-menu__link.cabinet-menu__link--exit {
    gap: 17px;
}

@media (max-width: 991px) {
    .header__profile-wrap a.cabinet-menu__link {
        width: auto;
        height: auto;
    }
}@media (max-width:370px) {
    .cabinet-dropdown {

        width: 100%; /* Подберите нужную ширину */
       right: auto;
        left: 0;
    }
    .header__cabinet-wrapper {
        position: inherit;
    }
}

/* ID и имя клиента в шапке рядом с «Кабинетом» */
.header__user {
    display: flex;
    align-items: center;
    column-gap: 4px;
    max-width: 200px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--black);
}
.header__user b {
    font-weight: inherit;
}
.header__user-id::after {
    content: ":";
}
.header__user-name {
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 1024px) {
    .header__user {
        font-size: 13px;
    }
    .header__user-id::after {
        content: none;
    }
    .header__user-name {
        display: none;
    }
}
