/* main css */
* {
    font-family: 'Inter', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 960px;
}

@media (max-width: 960px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* font css */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

/* header css */
.header-wrapper {
    gap: 80px;
    padding: 17px 0 10px 0;
    display: flex;
    justify-content: space-between;
    color: #33322c;
    font-weight: 400;
}

.header-wrapper-mobile {
    display: none;
}

.header__logo img {
    max-width: 218px;
}

.header__section {
    width: 632px;
}

.header__section-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 52px;
}

.header__nav-ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    gap: 0 21px;
    font-size: 13px;
    align-items: center;
    margin-bottom: 0;
}

.header__section-top_menu a {
    color: #33322c;
    text-decoration: none;
}

.header__section-top_menu a:visited {
    color: inherit;
    text-decoration: none;
}

.catalog-btn {
    color: #33322c;
    font-size: 13px;
    width: 106px;
    height: 32px;
    border: 0.5px solid #33322c;
    border-radius: 5px;
    background-color: #ffffff;
    position: relative;
    padding-left: 36px;
}

.catalog-btn::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url('../img/burger-menu.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.catalog-btn.show::before {
    background-image: url('../img/close-white-menu.svg');
}

.icon-burger-open {
    width: 20px;
}

.icon-burger-close {
    width: 20px;
    display: none;

    color: #ffffff;
}

.header__phone-text {
    color: #33322c;
    font-size: 8px;
    font-weight: 400;
}

.header__phone {
    font-size: 14px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header__phone a {
    color: #33322c;
    text-decoration: none;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 6px 0 6px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 12px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #888;
    outline: none;
}

.search-icon {
    position: absolute;
    top: 56%;
    right: 8px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
    width: 18px;
    height: 18px;
}

.form-control {
    font-size: 12px;
    margin-top: 5px;
}

.form-control::placeholder {
    color: #a09d92;
}

.search-icon-wrap {
    margin-top: 5px;
    height: 33px;
    padding-left: 20px;
    background-color: #fff;
}

.header-divider-color {
    width: 100%;
    height: 20px;
    background-image: url('../img/main-hr-table.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
}

/* dropdown menu */
.dropdown-menu {
    border: none;
    border-radius: 0;
}

.catalog-btn.show {
    background-color: black;
    color: white;
}

.dropdown-max-menu {
    width: 960px;
    padding: 15px;
    transform: translate(-314px, 116px) !important;
    overflow-y: auto;
    max-height: 70vh;
}

.grid-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 32px;
    break-inside: avoid;
}

.dropdown-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.dropdown-item {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.dropdown-menu-column {
    column-count: 4;
    column-gap: 8px;
    width: 100%;
    column-fill: balance;
}

.dropdown-cat {
    font-size: 12px;
    color: #a09d92;
    padding-bottom: 0;
}

.dropdown-cat:hover {
    background-color: white;
    text-decoration: underline;
    color: #a09d92;
}

.dropdown-subcat {
    font-size: 12px;
    color: #33322c;
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-subcat:hover {
    background-color: white;
    text-decoration: underline;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 45px;
    width: 45px;
    border: 1px solid #a7e5ff;
    border-radius: 50%;
    background-color: #a7e5ff;
    background-size: 70%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2333322c'%3E%3Cpath d='M11.854 1.646a.5.5 0 0 1 0 .708L6.207 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2333322c'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 5px;
    margin-right: 7px;
    margin-left: 7px;
    border-radius: 50%;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #33322c;
}

.carousel-indicators {
    margin-bottom: 6px;
}

.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
    width: 6px;
    height: 6px;
    border: 1px solid #33322c;
}

.swiper-pagination-bullet-active {
    background-color: #33322c;
}

/* main */
.brand-item {
    width: 222px;
    height: 163px;
}
.news-item {
    width: 300px;
    height: 286px;
}
.news-img {
    width: 300px;
    height: 166px;
}

.brand-img-items {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.brand-title {
    width: 140px;
    font-size: 11px;
    text-align: center;
}

.text-date-card {
    font-size: 10px;
    color: #b1b0b0;
}

.news-title {
    font-size: 16px;
}

.news-text {
    font-size: 12px;
}

.slider-wrapper {
    width: 100%;
    margin: 0 auto;
    /* padding: 0 12px */
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.slider-swiper-button-prev.swiper-button-prev.swiper-button-disabled,
.slider-swiper-button-next.swiper-button-next,
.slider-swiper-button-prev.swiper-button-prev {
    padding: 26px;
    background-color: #a7e5ff;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #33322c;
    -webkit-text-stroke: 1px #000;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: 6%;
    left: auto;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: 9%;
    right: auto;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    position: relative;
}

.fixed-width-card {
    width: 336px;
    max-width: 336px;
}

.main-title {
    font-weight: 600;
    color: #33322c;
    margin: 0;
}

.news-swiper,
.brands-swiper {
    justify-content: flex-end;
    align-items: center;
}

.swiper-brands .swiper-slide {
    /* width: 222px !important;     */
    height: 163px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-brands .brand-img-items {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.main-see-all {
    font-size: 14px;
    color: #33322c;
    text-decoration: auto;
    font-weight: 500;
}

.main-see-all:hover {
    text-decoration: underline;
    text-decoration-color: #a7e5ff;
}

.bi-arrow-left,
.bi-arrow-right {
    vertical-align: sub;
}

.btn-outline-secondary.news-btn {
    border: none;
    color: #33322c;
    padding: 6px;
}

.btn-outline-secondary.news-btn:hover {
    background-color: #a7e5ff;
    color: #33322c;
    padding: 6px;
}

/* Breadcrumb */
.breadcrumb-item {
    font-size: 12px;
}

.breadcrumb {
    margin-top: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #a09d92;
}

.breadcrumb-item a {
    color: #a09d92;
}

.breadcrumb-item.active {
    color: #33322c;
    font-size: 12px;
}

/* catalog page */
.catalog__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog__card {
    border: none;
    width: 100%;
}

.catalog__card-title {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 600;
}

.catalog__link-card {
    text-decoration: none;
    color: inherit;
}

.catalog__link-card:hover {
    text-decoration: underline;
    color: inherit;
}

.catalog__card-text {
    font-size: 12px;
    font-weight: 400;
}

.catalog-swiper {
    width: 100%;
    height: 200px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog__card-body {
    padding: 0;
    margin-top: 8px;
}

.catalog__page-count {
    color: #a09d92;
    font-size: 12px;
    font-weight: 400;
}

.catalog__show-more {
    background-color: #d9d9d9;
    height: 30px;
    width: 100%;
    margin: 16px 0;
}

.catalog__show-more-button {
    color: #33322c;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.show-more-block {
    cursor: pointer;
}

.catalog__pagination-wrapper {
    gap: 8px;
}

.catalog__pagination-wrapper .page-link {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #33322c;
    background-color: transparent;
}

a.page-link.catalog__page-number {
    width: 30px;
    height: 30px;
    color: #33322c;
    border-color: #33322c;
    font-size: 12px;
    font-weight: 600;
}

a.page-link.catalog__page-number.active {
    background-color: #a7e5ff;
    color: #33322c;
    border-color: #a7e5ff;
}

a.page-link.catalog__page-prev,
a.page-link.catalog__page-next {
    width: auto !important;
    min-width: 80px;
    height: 30px;
    padding: 0 10px !important;
    color: #33322c;
    border: none !important;
    background-color: transparent;
    font-size: 12px;
    font-weight: 600;
}

a.page-link.catalog__page-number:focus,
a.page-link.catalog__page-prev:focus,
a.page-link.catalog__page-next:focus,
a.page-link.catalog__page-number.active:focus {
    box-shadow: none;
}

.catalog__pagination-disabled.disabled {
    display: none;
}

a.page-link.catalog__page-number:not(.active):hover {
    background-color: #f0f0f0;
}

a.page-link.catalog__page-prev:hover,
a.page-link.catalog__page-next:hover {
    text-decoration: underline;
    background-color: transparent;
}

/* Product */
.product__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product__description {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product__specs {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.product__buy {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
}

.product__buy-market {
    margin-top: 8px;
    display: flex;
    gap: 16px;
}

.product-images {
    display: flex;
    align-items: flex-start;
}

.thumbnails {
    width: 80px;
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumbnail {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 80px;
    display: block;
    object-fit: cover;
}

.main-image {
    flex-grow: 1;
    max-width: 312px;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-version {
    display: none;
}

/* brands page */
.brands__banner {
    display: flex;
    justify-content: center; /* центрируем изображение */
    position: relative;
    overflow: hidden;
}

.brands__banner img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.brands__full-width-bg {
    background-color: #f5f5f5;
    width: 99vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 3% 0;
}

.brands__description {
    /*width: 60%;*/
    width: auto;
}

.brands__wrapper {
    display: flex;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.brands__img {
    margin-right: 22px;
    flex-shrink: 0;
    max-width: 222px;
}

.brands__img img {
    max-height: 100%;
    width: 100%;
    display: block;
}

.brands__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.brands__subtitle {
    max-width: 100%;
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: #666;
    margin: 0;
}

/* category */
.category-page {
    flex: 1;
    padding: 30px 0;
}

.category-page-title {
    width: 90%;
    font-size: 11px;
    text-align: center;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.subcategory-item {
    display: flex;
    flex-direction: column;
}

.subcategory-link {
    font-size: 14px;
    color: #33322c;
    padding: 5px 0;
    text-decoration: none;
    line-height: 1.4;
    word-wrap: break-word;
}

.subcategory-link:hover {
    text-decoration: underline;
}

/* news */
.news__title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.news__banner {
    width: 100%;
    height: 250px;
    margin-bottom: 12px;
    overflow: hidden;
}

.news__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a09d92;
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    margin-bottom: 22px;
}

.calendar-icon {
    width: 14px;
    height: 14px;
    background-image: url('../img/date-news.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.news__subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 600;
}

.news__content {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}
.news__content img {
    width: 100%;
}
.news-content p {
    margin-bottom: 12px;
}

/* search */
.catalog__search-title {
    font-size: 22px;
    font-weight: 500;
}

.catalog__search-count {
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    margin-top: 16px;
    margin-bottom: 28px;
}

/* 404 */
.error-page__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.error-page__title {
    font-size: 28px;
    font-weight: 400;
}

.error-page__subtitle {
    font-size: 200px;
    font-weight: 700;
    color: #a7e5ff;
    line-height: 1;
}

/* contacts */
.contact-page__wrapper {
    max-width: 450px;
}

.contact-page__title {
    font-weight: 500;
    font-size: 40px;
    color: #33322c;
}

.contact-page__subtitle {
    font-weight: 700;
    font-size: 12px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.contact-page__description {
    font-weight: 400;
    font-size: 12px;
    color: #33322c;
}

.contact-page__title-mail {
    font-weight: 400;
    font-size: 12px;
    color: #a09d92;
}

.contact-page__mail {
    font-weight: 600;
    font-size: 28px;
}

.contact-page__mail a,
.contact-page__description a {
    color: #33322c;
    text-decoration: none;
}

.contact-page__mail-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

/* partners */
.partners-page__title {
    font-weight: 500;
    font-size: 40px;
    color: #33322c;
}

.partners-page__description {
    font-weight: 400;
    font-size: 12px;
    color: #33322c;
}

.partners-page__description-top {
    width: 588px;
}

.partners-page__subtitle {
    font-weight: 500;
    font-size: 26px;
    margin-top: 24px;
    margin-bottom: 18px;
}

.partners-page__contacts {
    font-weight: 400;
    font-size: 12px;
    color: #a09d92;
}

.partners-page__yandex-map {
    margin-top: 24px;
}

.partners-page__yandex-map img {
    width: 100%;
}

.partners-page__blocks-wrapper {
    display: flex;
    gap: 62px;
    justify-content: space-between;
    align-items: stretch;
}

.partners-page__block {
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    flex: 1 1 0;
    min-height: 148px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}

.partners-page__block-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    object-fit: contain;
}

.partners-page__block-text {
    font-weight: 400;
    font-size: 12px;
    color: #33322c;
    text-align: center;
    margin: 0;
}

/* about */
.about-page__title {
    font-weight: 700;
    font-size: 40px;
    color: #33322c;
    margin-top: 36px;
}

.about-page__title-top {
    width: 248px;
}

.about-page__description {
    font-weight: 400;
    font-size: 12px;
    color: #33322c;
}

.about-page__card-wrapper {
    display: flex;
    justify-content: space-evenly;
    margin-top: 16px;
    gap: 18px;
}

.about-page__card {
    width: 295px;
    height: 362px;
    border: 1px solid #d9d9d9;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-page__card-photo {
    width: 100%;
    height: 265px;
    object-fit: cover;
}

.about-page__card-info {
    padding: 15px;
}

.about-page__card-name {
    margin: 0 0 5px 0;
    font-size: 12px;
    font-weight: 400;
    color: #33322c;
}

.about-page__card-position {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #a09d92;
}

.partners-page__polaroid-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    position: relative;
    margin: 40px 0 120px 0;
}

.partners-page__polaroid {
    position: relative;
    width: 25%;
    max-width: 280px; /* Максимальный размер */
    min-width: 150px;
    padding: 5px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.partners-page__polaroid img:not(.partners-page__tape) {
    width: 100%;
    height: auto;
    display: block;
}

.partners-page__tape-1,
.partners-page__tape-2,
.partners-page__tape-3,
.partners-page__tape-4 {
    position: absolute;
    top: -15px;
    left: 50%;
    z-index: 1;
}

.partners-page__tape-1 {
    transform: translateX(-50%) rotate(8deg);
}

.partners-page__tape-2 {
    transform: translateX(-50%) rotate(132deg);
}

.partners-page__tape-3 {
    transform: translateX(-50%) rotate(-5deg);
    top: -42px;
}

.partners-page__tape-4 {
    transform: translateX(-50%) rotate(30deg);
}

.partners-page__polaroid-1 {
    transform: rotate(-8deg);
    left: 16px;
}

.partners-page__polaroid-2 {
    transform: rotate(-4deg);
    top: 68px;
}

.partners-page__polaroid-3 {
    transform: rotate(6deg);
    top: 62px;
    left: -8px;
    z-index: 999;
}

.partners-page__polaroid-4 {
    transform: rotate(-2deg);
    left: -100px;
    top: -130px;
}

.about-page__swiper-btn {
    display: none;
}

/* footer */
.footer-divider {
    display: block;
    width: 100%;
    height: 4px;
}

footer {
    width: 100%;
    background-color: #ececec;
    margin-top: auto;
}
.footer-wrapper {
    padding-top: 20px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
}

.footer__contacts-text {
    color: #33322c;
    font-size: 8px;
    font-weight: 400;
}

.footer__contacts-descr {
    font-size: 14px;
}

.footer__contacts-descr a {
    color: #33322c;
    text-decoration: none;
}

.footer__contacts-descr-yt {
    padding-bottom: 20px;
}

/* back-to-top */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #a7e5ff;
    width: 38px;
    height: 36px;
    border-radius: unset;
    padding: 6px;
}

/* media*/
@media (max-width: 960px) {
    .header-wrapper {
        gap: 10px;
    }

    .header__phone-wrapper {
        display: none;
    }

    .header__nav {
        width: 100%;
    }

    .header__nav-ul {
        justify-content: space-between;
    }

    .dropdown-max-menu {
        width: 100vw;
        padding: 6px;
        transform: translate(-243px, 116px) !important;
    }

    .footer__contacts-descr {
        font-size: 12px;
    }

    .header-divider-color {
        background-repeat: repeat-x;
        background-size: auto 100%;
    }

    .product__wrapper {
        display: block;
    }

    .desktop-version {
        display: none;
    }

    .mobile-version {
        display: block;
    }

    .product__description {
        font-size: 18px;
    }

    .product__specs {
        font-size: 14px;
    }

    .partners-page__blocks-wrapper {
        gap: 48px;
    }

    .about-page__title-top {
        width: 100%;
    }

    .partners-page__polaroid-1 {
        left: 18px;
    }

    .partners-page__polaroid-2 {
        top: 126px;
        left: -82px;
    }

    .partners-page__polaroid-3 {
        top: 100px;
        left: -126px;
    }

    .partners-page__polaroid-4 {
        left: -160px;
        top: 8px;
    }

    .partners-page__polaroid {
        max-width: 216px;
    }

    .partners-page__description-top {
        width: 85vw;
    }

    .partners-page__polaroid-gallery {
        margin: 40px 0 156px 0;
    }
}

@media (max-width: 767px) {
    .header-wrapper {
        display: none;
    }

    .header-wrapper-mobile {
        display: block;
        padding: 17px 0;
    }

    .header-logo {
        width: 112px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .btn-mobile,
    .btn-mobile a {
        color: #33322c;
        font-size: 13px;
        border: none;
        background-color: #ffffff;
        text-decoration: none;
    }

    .dropdown-toggle::after {
        display: contents;
    }

    .dropdown-max-menu {
        width: 75%;
        padding: 28px;
        transform: translate(0, 0px) !important;
    }

    .form-control::placeholder {
        font-size: 14px;
    }

    .search-container {
        width: 75%;
        margin-bottom: 36px;
    }

    .form-control,
    .search-icon-wrap {
        border: 0;
        border-bottom: 1px solid black;
        border-radius: unset;
    }

    .search-icon {
        width: 14px;
        height: 14px;
    }

    .close-menu-btn {
        position: absolute;
        top: 28px;
        right: 18px;
        cursor: pointer;
        height: 22px;
        width: 22px;
        background-color: initial;
        padding: 0;
        border: none;
    }

    .nav-link {
        font-size: 22px !important;
    }

    .catalog__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__contacts,
    .footer__contacts-descr-yt {
        display: none;
    }

    .footer__contacts-center {
        justify-content: center !important;
    }

    .swiper-slide img {
        max-width: 450px;
    }

    .swiper-pagination {
        position: static;
        margin-top: 5px;
        text-align: center;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-slide {
        width: 340px;
        height: 340px;
    }

    .catalog__swiper-slide {
        height: 100%;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        display: none;
    }

    .subcategories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-page__blocks-wrapper {
        gap: 16px;
    }

    .about-page__title {
        font-size: 30px;
    }

    .partners-page__polaroid-1 {
        left: 18px;
    }

    .partners-page__polaroid-2 {
        transform: rotate(8deg);
        top: 8px;
        left: 30px;
    }

    .partners-page__polaroid-3 {
        top: 146px;
        left: -238px;
    }

    .partners-page__polaroid-4 {
        display: none;
    }

    .partners-page__description-top {
        width: 100%;
    }

    .about-page__swiper-btn {
        display: flex;
        justify-content: flex-end;
    }

    .about-page__card {
        width: 295px;
        height: 362px;
    }

    .brands__wrapper {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 487px) {
    .catalog__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands__img {
        margin-right: 8px;
        /*max-width: 30%;*/
    }

    .brands__subtitle {
        /*max-width: 260px;*/
    }

    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .error-page__title {
        font-size: 18px;
    }

    .error-page__subtitle {
        font-size: 150px;
    }

    .partners-page__blocks-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .about-page__title {
        font-weight: 500;
        font-size: 24px;
        margin-top: 36px;
        margin-bottom: 24px;
    }

    .about-page__swiper-btn {
        display: flex;
        justify-content: flex-end;
    }

    .about-page__title-wrapper {
        display: flex;
        align-items: center;
    }

    .about-page__title-leader {
        width: 100vw;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 400px) {
    .partners-page__polaroid-2 {
        transform: rotate(8deg);
        top: 8px;
        left: -32px;
    }
}

@media (max-width: 320px) {
    .main-title {
        font-size: 22px;
    }
}
