/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    --color-primary: #1e2a5e;
    --color-secondary: #f4b41a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #f5f7fa;
    --color-white: #ffffff;
    --color-border: #e1e8ed;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --container-width: 1200px;
    --header-height: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    font-size: 16px;
    font-family: 'Manrope', sans-serif; /* Добавлен fallback */
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

html {
    font-size: 16px;
}
.header-m {
    display: none;
}
.route {
    color: #17367F;
    align-self: flex-start;
    padding: 1rem 2rem 3rem 2rem;
    font-family: 'Manrope';
    font-weight: 500;
}
.relative {
    position: relative;
}

.flex {
    display: flex;
    max-width: var(--container-width);
    align-items: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.container_header {
    margin: 0;
}

.container_slide {
    /* Пустой класс, оставлен для структуры */
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    display: flex;
    justify-content: space-between;
    background-color: #0F265E;
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0 4vw;
}
.header__logo {
    width: 10rem;
    height: 5rem;
    object-fit: contain; 
    margin-top: 1rem;
}
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    height: 4rem;
}

.header__contacts {
    display: flex;
    gap: 1.2rem;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    color: #FFFFFFCC;
    margin-right: 3vw;
    position: relative;
}
.header__contacts span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.header__search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__search {
    position: relative;
}

.header__input {
    padding: 0.7rem 4rem 0.7rem 1rem;
    border-radius: 1.5rem;
    border: none;
    font-size: 0.9rem;
    background: #FFFFFF33;
    color: #ffffff;
}
.header__input::placeholder {
    color: #94A3C9;
}

.header__search-btn {
    position: absolute;
    right: 0.4vw;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-secondary);
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.round-btn {
    padding: 0.8rem 1.5rem;
    color: white;
    border-radius: 0.6rem;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 2rem;
    white-space: nowrap; 
    font-size: 0.8rem; 
    max-height: 3rem;
}

.round-btn_orange {
    border: 2px solid #FFCA4F;
    background-color: transparent;
    color: #FFCA4F;
}

.round-btn_blue {
    background-color: #17367F;
}

.round-btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}
.header__btns {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
}
.header__btn {
    padding: 0.5rem 0.8rem;
    border: 2px solid #7E9FD4;
    color: var(--color-white);
    border-radius: 0.6rem;
    font-weight: 600;
    transition: 0.3s;
}
.header__btn:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}
.header__menu-btn {
    display: none;
}
.header__nav {
    padding: 1rem 0;
    transition: 0.3s;
}
.header__nav.active {
    transform: translateX(0);
    }
    
.header__nav-close {
    display: none;
}
.header__menu {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
}
.header__submenu {
    display: flex;
    gap: 1rem;
}

.header__link {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: 0.3s;
}

.header__link:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    background: #EFF2F7;
    overflow: hidden;
    height: 30vw;
    width: 90%;
    margin:  2vw auto 0 auto;
    border-radius: 20vw 2vw 20vw 2vw;
}

.hero-slider__swiper {
    width: 100%;
    height: 100%;
}

.hero-slider__container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 0 0;
    height: 100%;
}

.hero-slider__content {
    z-index: 2;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.swiper-slide-active .hero-slider__content {
    opacity: 1;
    transform: translateX(0);
}

.hero-slider__title {
    font-size: 2rem;
    max-width: 85%;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

/* .hero-slider__text {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
} */

.hero-slider__btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 180, 26, 0.3);
}

.hero-slider__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 180, 26, 0.4);
}

.hero-slider__image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: all 0.8s ease 0.2s;
    width: 100%;
}
.hero-slider__image-wrapper_index {
    height: 30vw;
    border-radius: 1.2rem;
}

.swiper-slide-active .hero-slider__image-wrapper {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    background-color: white;
}

.hero-slider__img_index {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    border-radius: 0 1rem 15rem 0;
    /* box-shadow: 0 20px 60px rgba(0,0,0,0.1); */
    /* Градиент маски: слева прозрачно, справа видно */
    /* mask-image: linear-gradient(to left, transparent, black 150px);
    -webkit-mask-image: linear-gradient(to left, transparent, black 150px);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%; */
}

/* Добавляем размытие справа налево для изображения */
.hero-slider__img_index::after {
    /* content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, transparent, #7E9FD4 100%);
    z-index: 2;
    pointer-events: none; */
}

/* Pagination - dots on the right */
.hero-slider__pagination {
    z-index: 10;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.hero-slider__pagination.swiper-pagination {
    position: absolute !important;
    right: 32vw !important;
    top: 4vw !important;
    left: auto !important;
    width: auto !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.test {
  background-color: red;
  height: 70px;
  width: 70px;
  position: absolute;
  right: 0;
}

.hero-slider__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
    background: var(--color-secondary);
    opacity: 1;
    width: 12px;
    height: 12px;
}

/* ==========================================
   CATEGORIES (ИСПРАВЛЕНО НА FLEX)
   ========================================== */
.categories {
    padding: 60px 0;
}

.categories__grid {
    display: flex;           /* Было: grid */
    flex-wrap: wrap;         /* Разрешаем перенос */
    gap: 20px;
    justify-content: center; /* Центрируем элементы */
    width: 90%;
    margin: auto;
}

.categories__item {
    /* Фиксируем ширину: 25% минус доля отступов (для 4 в ряд) */
    flex: 0 0 calc(25% - 15px); 
    aspect-ratio: 16/9;
    border-radius: 1rem;
    margin-bottom: 1.5rem;

    cursor: pointer;
    position: relative;
}

.categories__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}



.categories__title {
    position: absolute;
    bottom: -2.3rem;
    width: 100%;
    padding: 1rem;
    color:#17367F;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
    ABOUT
   ========================================== */
.about-products {
    height: 8vw;
    margin: 5vw 0 3vw 0;
    padding: 1rem;
    max-width: var(--container-width);
    margin: 4rem auto;
    padding: 0 20px;
    position: relative;
    display: flex;    
}
.about-products__content {
    display: flex;
    gap: 1.5rem;
}
.about-products__logo {
    max-height: 7vw;
    border-right: 1px solid black;
    padding-right: 0.8rem;
    margin-right: 0.8rem;
}
.about-products__text {
    font-size: 1.1rem;
    max-width: 60%;
    color: #49566C;
}

/* ==========================================
    PRODUCTS SLIDER (Common)
   ========================================== */
.products-section {
    padding: 0 0; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgb(228, 235, 245) 100%);
}

.products-section_brands {
    position: absolute;
    bottom: -1.5vw;
    width: 100%;
    background: transparent;
}

.swiper {
    width: 100%;
    padding-bottom: 0vw;
    position: relative;

}
.swiper_product {
    padding: 1vw;
}

.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: 0.3s;
    height: 16vw;
    background-color: #EFF2F7;
    box-shadow: 0 0 1vw #17367F33;
    
}

.product-card__like {
    position: absolute;
    top: 1vw;
    right: 1vw;
    color: #17367F;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card__img-wrap {
    padding: 2vw;
    background: white;
    aspect-ratio: 1;
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card__img {
    max-width: 100%;
    max-height: 100%;
}

.product-card__wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card__body {
    padding: 1vw 1vw;
    display: flex;
    text-wrap: nowrap;
    gap: 1vw;
    justify-content: space-between;
    color: #17367F;
    text-align: center;
}

.product-card__title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0vw;
    white-space: wrap;
    max-width: 70%;  
    text-align: left;
}

.product-card__price {
    font-size: 12px;
    font-weight: 700;
}

.product-card__volume {
    font-size: 11px;
    font-weight: 700;
}

/* Navigation arrows for product sliders */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
    background: transparent;
    margin-left: 200px;
    z-index: 10;
    top: 30%;
    height: 4rem;
    width: 4rem;
}   

.swiper-button-prev {
    left: -250px;
    padding-right: 0.4rem;
}

.swiper-button-next
{   
    right: -45px;
    padding-left: 0.4rem;
}



.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 3rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-secondary);
    border-radius: 2vw;
    color: var(--color-primary);
}

/* ==========================================
   BRANDS & FEATURE
   ========================================== */
.brands__wrapper {
    position: relative;
    background-color: #EDF1F6;
    height: 55vw;
}

.brands {
    padding: 6vw 0;
    text-align: center;
}

.brands__title {
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
    font-size: 24px;
    color: #17367F;
    font-style: italic;
    padding-bottom: 1vw;
    border-bottom: 2px solid #6788D8;
    display: inline-block;
    font-weight: 500;
}

.brands__grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brands__logo {
    max-height: 4vw;
}
.brands__photo{
    max-height: 4vw;
    border-radius: 10vw;
}

.brand-feature {
    padding: 0px 0 0 6vw;
    background-color: #D5E1F0;
    height: 30vw;
}

.brand-feature__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    
}
.brand-feature__content {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.brand-feature__logo {
    max-width: 10vw;
}

.brand-feature__img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 150px);
    -webkit-mask-image: linear-gradient(to right, transparent, black 150px);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

.brand-feature__text {
    color: #49566C;
    margin-bottom: 30px;
    width: 70%;
}

.brand-feature__btn {
    width: 15vw;
}

.about-company__img {
    max-height: 10vw;
    margin: 2vw auto;
}
.about-company__text {
    font-size: 18px;
    color: #17367F;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}



/* ==========================================
   PAGE 3: PRODUCT DETAIL
   ========================================== */
.product-detail-page {
    padding: 40px 0;
}

.product-detail__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-detail__gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail__main-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__thumbs {
    display: flex;
    gap: 10px;
}

.product-detail__thumb {
    width: 80px;
    height: 80px;
    background: var(--color-bg);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-detail__thumb--active {
    border-color: var(--color-primary);
}

.product-detail__info h1 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.product-detail__meta {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.product-detail__desc {
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-detail__price-block {
    background: var(--color-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.product-detail__price {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.product-detail__qty-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 20px;
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-weight: 600;
}

.product-detail__total {
    border-top: 2px solid var(--color-border);
    padding-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cart {
    padding: 15px;
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
}

.btn-cart:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.btn-fav {
    padding: 15px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.related-products {
    padding: 60px 0;
    background: var(--color-bg);
}

.related-products__title {
    text-align: center;
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 40px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #0F265E;
    color: white;
    padding: 60px 0 30px;
    margin-top: 0;
    padding-bottom: 5vw;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.footer__contacts-title {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
    font-weight: 400;
}

.footer__contact-item {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer__contact-email {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.footer__download {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__link {
    opacity: 0.8;
}

.footer__link:hover {
    opacity: 1;
    color: var(--color-secondary);
}
.footer__payments {
    margin-top: 30px;
    max-width: 30vw;
}
.footer__payments_m {
    display: none;
}

.footer__link_withdrawal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 18px;
    background: #f4b41a;
    color: #0F265E !important;
    border-radius: 25px;
    font-weight: 600;
    opacity: 1 !important;
    transition: 0.3s;
}

.footer__link_withdrawal:hover {
    background: #e6a800;
    color: #0F265E !important;
    transform: translateY(-2px);
}

.footer__link_withdrawal i {
    font-size: 14px;
}


@media (max-width: 1600px) {
    .brand-feature__text {
        color: #49566C;
        margin-bottom: 30px;
        width: 70%;
        font-size: 0.8rem;
    }
    .swiper {
        width: 100%;
        padding-bottom: 12vw;
        position: relative;
    }

    .hero-slider__pagination.swiper-pagination {
        right: 30vw !important;
        top: 2vw !important;
        left: auto !important;
        width: auto !important;
    }
    .swiper-container {
        width: 90%;
        
    }

    
}

@media (max-width: 1282px) {
    .brand-feature__text {
        color: #49566C;
        margin-bottom: 30px;
        width: 70%;
        font-size: 0.8rem;
    }
    .swiper {
        padding-bottom: 8vw;
    }
    .product-card {
        height: 20vw;
    }
    html {
        font-size: 14px;
    }
}

@media (max-width: 1122px) {
    .brand-feature__text {
        color: #49566C;
        margin-bottom: 30px;
        width: 70%;
        font-size: 0.8rem;
    }
    .swiper {
        padding-bottom: 2.4vw;
    }
    .product-card {
        height: 25vw;
    }
    html {
        font-size: 13px;
    }
    .header__logo {
        display: none;
    }
    .header {
        justify-content: center;
    }
}


/* ==========================================
   RESPONSIVE (ИСПРАВЛЕНО)
   ========================================== */
@media (max-width: 992px) {
    .product-detail__container {
        grid-template-columns: 1fr;
    }
    .hero-slider {
        
    }
    .sidebar__link {
        font-size: rem;
    }
    
    /* Адаптив для Categories: 2 блока в ряд */
    .categories__item {
        flex: 0 0 calc(50% - 10px); /* 50% ширины минус половина отступа */
    }
    
    
    .hero-slider__pagination {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
    }

    .swiper {
        padding-bottom: 3vw;
    }

    .brand-feature__text {
        width: 100%;
    }
    html {
        font-size: 12px;
    }
    .header__submenu {
        flex-direction: column;
    }

}

@media (max-width: 768px) {
    .header {
        height: 10rem;
        padding-top: 2rem;
        align-items: center;
    }
    .header__btns {
        margin: 0;
    }
    .header__search-btn {
        position: absolute;
        right: -0.3vw;
        top: 51%;
        transform: translateY(-50%);
        background: var(--color-secondary);
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
    }
    .about-products {
        height: 25vw;
        margin: 2vw 0;
    }

    .header__top {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .header__search-bar {
        width: 100%;
        justify-content: center;
    }

    /* HERO-SLIDER */
    .hero-slider {
        height: 90vw;
    }
    .hero-slider__container {
        display: flex;
        flex-direction: column;
        height: 100%;
        
    }
    .hero-slider__image-wrapper_index {
        height: 100%;
    }
    .hero-slider__content {
        padding-left: 3vw;
    }
    .hero-slider__pagination.swiper-pagination {
        right: 20vw !important;
        top: 80vw !important;
        left: auto !important;
        width: auto !important;
    }



    /* Адаптив для Categories: 1 блок в ряд */
    /* .categories__item {
        flex: 0 0 100%; /* На всю ширину */
    /* } */
     */
    .product-detail__actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .product-detail-page {
        padding-bottom: 100px;
    }
    
    /* .hero-slider__text {
        font-size: 1rem;
    }
     */
    .hero-slider__img {
        height: 300px;
    }
    .header__contacts {
        align-items: flex-start;
        width: 100%;
        margin: 0;
    }

    .header__btn {
    padding: 0.5rem 0.8rem;
    border: 2px solid #7E9FD4;
    color: var(--color-white);
    border-radius: 0.6rem;
    font-weight: 600;
    transition: 0.3s;
}
    .header__menu-btn:hover {
        background: var(--color-secondary);
        color: var(--color-primary);
    }
    .header__menu-btn {
        display: block;
        padding: 0.5rem 0.8rem;
        border: 2px solid #7E9FD4;
        color: var(--color-white);
        border-radius: 0.6rem;
        font-weight: 600;
        transition: 0.3s;
    }
    

    .header__nav {
        position: fixed;
        background-color: #203979;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        text-align: center;
        display: flex;
        justify-content: center;
        transform: translateX(-100%);
    }
    .header__nav-close {
        display: block;
        position: absolute;
        top: 6vw;
        right: 6vw;
        font-size: 2rem;
        color: var(--color-bg);
    }
    .header__link {
        font-size: 1.4rem;  
    }
    .header__menu {
        flex-direction: column;
    }
    /* .swiper {
        width: 50vw;
        padding: 2vw;
    } */
    /* .product-card {
        width: 40vw;
        height: 40vw;
    } */
    .swiper-container {
        width: 80%;
    }



    /* .products-slider {
        height: 130vw;
        position: relative;
    } */
    /* .swiper-container {
        position: absolute;
        bottom: 0;
    } */
/* 
    .swiper-button-prev {
        margin-left: 0px;
        left: -8vw;
        top: 40%;
        
    }  */

    /* .swiper-button-next {
        top: 40%;
        right: 1.5vw;
    } */
    /* .swiper-container {
        position: absolute;
        right: 6vw;
    } */

    /* BRANDS */
    /* .brands {
    margin-bottom: 30vw;
    } */
    /* .brands__grid {
        height: 120vw;
        margin-bottom: 15vw;
    } */
    .brands__logo {
        max-height: 15vw;
        flex: 0 0 15%; 
    }
    .brand-feature {
        height: 120vw;
        padding: 8vw;
        background: linear-gradient(180deg, #ffffff 0%, #EDF1F6 100%);
    }
    .brand-feature__container{
        display: flex;
        flex-direction: column;
        /* flex-direction: column-reverse; */
        /* height: 100vw; */
        width: 100%;
        padding: 0;
    }
    .brand-feature__content {
        display: flex;
        align-items: center;
    }
    .brands__wrapper {
        height: 120vw;
        margin-top: 0vw;
    }

    .brand-feature__img {
        display: none;
    }
    .brand-feature__text {
        width: 100%;
        font-size: 1.1rem;
        /* margin-top: 9vw; */
    }
    .brand-feature__logo {
        max-width: 40vw;
        margin: 5vw 0;
    }
    /* .brand-feature__btn {
        width: 100%;
        font-size: 1rem;
    } */
    .brand-feature__btn {
        width: 100%;
        font-size: 1rem;
    }
    .flex-column {
        width: 40vw;
    }



    






    html {
        font-size: 12px;
    }
}
@media (max-width: 552px) {
    /* HEADER */
    .header {
        display: none;
    }
    .header__menu {
        display: flex;
        justify-content: left;
        align-items: flex-start;
        gap: 1.8rem;
        width: 80%;
    }
    .header-m {
        display: flex;
        flex-direction: column;
        align-items: left;
        color: #17367F;
        font-weight: 500;
        font-size: 2rem;
        z-index: 3;
        position: relative;
        padding: 2rem 2rem 0 2rem;
        
    }
    .header__btns {
        margin: 2rem 0;
    }
    .header-m__btns {
        display: flex;
        gap: 1rem;
        height: 4rem;
    }
    .header-m__logo {
        /* position: absolute; */
        /* top: 8vw;
        left: 5vw; */
        height: 20vw;
        width: 30vw;
    }
    .header-m__logo_main {
        margin: 2rem auto 0 auto;
    }
    .header__logo {
        width: 20vw;
        display: block;
    }
    .about-products {
        height: 25vw;
        margin: 2vw 0;
    }

    .header__top {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .header__search-bar {
        width: 100%;
        justify-content: center;
    }

     /* HERO-SLIDER */
    .hero-slider {
        height: 110vw;
        margin-top: 10vw;
        border-radius: 15rem 2vw 15rem 2vw;
    }
    /* .hero-slider__title h1 {
        font-size: 100px;
    } */


    .hero-slider__content {
        padding-left: 5vw;
    }
    .hero-slider__pagination.swiper-pagination {
        right: auto !important;
        top: 103vw !important;
        left: auto !important;
        width: auto !important;
    }
    .hero-slider__title {
        font-size: 2rem;
    }
    .hero-slider__btn {
        font-size: 1.2rem;
    }
    .hero-slider__image-wrapper_index {
        height: 55%;
    }
    

    .product-detail__actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .product-detail-page {
        padding-bottom: 100px;
    }
    
    /* .hero-slider__text {
        font-size: 1rem;
    } */
    
    /* .hero-slider__img {
        height: 300px;
    } */
    .header__contacts {
        align-items: flex-start;
        width: 100%;
        margin: 0;
    }

    .header__btn {
    padding: 0.7rem 0.8rem;
    border: 2px solid #7E9FD4;
    color: var(--color-white);
    border-radius: 0.6rem;
    font-weight: 600;
    transition: 0.3s;
}
    .header__menu-btn:hover {
        background: var(--color-secondary);
        color: var(--color-primary);
    }
    .header__menu-btn {
        display: flex;
        padding: 1rem 1.2rem;
        border: 1px solid #D5E1F0;
        border-radius: 2rem;
        font-weight: 600;
        transition: 0.3s;
        position: fixed;
        top: 1rem;
        right: 1rem;
        color: #17367F;
        background-color: white;
        z-index: 0;
        /* min-height: 40vw; */
        font-size: 1.5rem;
        color: #0F265E;
    }
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        transform: translateX(-100%);
        padding: 2rem 5rem;
    }
    .header__nav-close {
        display: block;
        position: absolute;
        top: 6vw;
        right: 6vw;
        font-size: 2rem;
        color: var(--color-bg);
    }
    .header__link {
        font-size: 1.4rem;  
    }
    .header__menu {
        flex-direction: column;
        margin-top: 2rem;
    }

    .header__search_m {
        border: 1px solid #7E9FD4;
        border-radius: 2rem;
        width: 70%;
        margin-top: 3cap;
        padding: 0rem 1rem 0.8rem 1rem;
        font-size: 1.5rem;
        background-color: white;
    }
    .product-card {
        width: 43vw;
        height: 60vw;
    }
        .product-card__body {
        padding: 2vw 3vw;
        display: flex;
        text-wrap: nowrap;
        gap: 1vw;
        justify-content: space-between;
        color: #17367F;
        text-align: center;
    }


    .categories__grid {
        display: flex;  
        flex-direction: column;         
        flex-wrap: wrap;         /* Разрешаем перенос */
        gap: 20px;
        justify-content: center; /* Центрируем элементы */
        width: 90%;
        margin: auto;
        align-items: center;
    }


    /* CATEGORIES */
    .categories__item {
        flex: none; /* Подстройка ширины */
        /* width: auto; */
        background-color: #EFF2F7;
        height: auto;
        aspect-ratio: auto;
        margin-bottom: 0.5rem;
        cursor: pointer;
        position: relative;
        display: block;
        width: fit-content;
    }
    .categories__img {
        display: none;
    }
    .categories__title {
        position:static;
        bottom: auto;
        width: 100%;
        padding: none;
        font-size: 1.5rem;
        font-weight: 800;
    }
    /* About Products */
    .about-products__content {
        /* display: flex; */
        flex-direction: column;
        /* gap: 1.5rem; */
        text-align: center;
    }
    .about-products {
        flex-direction: column;
        z-index: 3;
    }
    .about-products__text {
        max-width: 100%;
        margin-bottom: 8vw;
    }
    .about-products__logo {
        max-height: 25vw;
        border-right: none;
        padding-right: 0;
        margin: 0 auto 1rem 0;
        height: 1000px;
    }
    
    html {
        font-size: 12px;
    }
    .products-slider {
        height: 130vw;
        position: relative;
    }
    .swiper-container {
        position: absolute;
        bottom: 10vw;
        width: 100%;
        right: -5vw;
        left: auto;
    }

    .swiper-button-prev {
        display: none;
        
    } 

    .swiper-button-next {
        display: none;
    }

    /* BRANDS */
    .brands {
    margin-bottom: 30vw;
    }
    .brands__grid {
        /* display: grid;
        grid-template-columns: 1fr 1fr ;
        gap: 1vw; */
        height: 220vw;
        margin-bottom: 15vw;
    }
    .about-company__img {
        max-height: 40vw;
        margin: 2vw auto;
    }
    .brands__logo {
        max-height: 20vw;
        flex: 0 0 15%; /* 4 элемента в строке */
    }
    .brand-feature {
        height: 200vw;
        padding: 8vw;
        background: linear-gradient(180deg, #ffffff 0%, #EDF1F6 100%);
    }
    .brand-feature__img {
        display: block;
    }
    .brand-feature__container{
        display: flex;
        flex-direction: column-reverse;
        height: 100vw;
    }
    .brands__wrapper {
        height: 200vw;
        margin-top: 70vw;
    }

    .brand-feature__img {
        mask-image: none;
        -webkit-mask-image: none;
        mask-size: none;
        -webkit-mask-size: none;
        height: 1000px;
        max-height: 2000px;
        width: 100%;
        aspect-ratio: 1.5 / 1;
        border-radius: 30vw 2vw 30vw 2vw;
        overflow: clip;
        margin-top: 100vw;
    }
    .brand-feature__text {
        width: 100%;
        font-size: 1.1rem;
        margin-top: 9vw;
    }
    .brand-feature__logo {
        max-width: 40vw;
        margin: 0;
    }
    .brand-feature__btn {
        width: 100%;
        font-size: 1rem;
    }
    
    .footer__payments {
        max-width: 100vw;
        position: absolute;
        background-color:  #0F265E;
        width: 100%;
        left: 0;
        margin: 0;
        height: auto;
        padding: 4vw 0;
    }

    .header__search {
        /* position: relative; */
        display: flex;
        background: #FFFFFF33;
        border-radius: 2rem;
        overflow: hidden;
        height: 2.5rem;
        min-height: 2.5rem;
        margin-bottom: 0;
        box-sizing: content-box !important;
        padding: 0.4rem 0.5rem;
    }

    .header__input {
        padding: 0rem 4rem 0rem 1rem;
        /* border: none; */
        font-size: 1.2rem;
        background: #ffffff00;
        width: 100%;
        color: #ffffff;
    }
    .header__input::placeholder {
        color: #bbc7e4;
    }

    .header__search-btn {
        position: absolute;
        right: 0.4vw;
        top: 50%;
        transform: translateY(-50%);
        background: var(--color-secondary);
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
    }

    /* .round-btn {
        padding: 0.8rem 1.5rem;
        color: white;
        border-radius: 0.6rem;
        font-weight: 600;
        transition: 0.3s;
        border-radius: 2rem;
        white-space: nowrap; 
        font-size: 0.8rem; 
        max-height: 3rem;
    } */

    /* .round-btn_orange {
        border: 2px solid #FFCA4F;
        background-color: transparent;
        color: #FFCA4F;
    } */

    .header-m__menu-route-link {
        color: white;
        border: 1px solid white;
        padding: 0.5rem 1.4rem;
        border-radius: 2rem;
        font-size: 1.5rem;
    }
        input:focus {
        outline: none;
    }
    .header__link {
        margin-left: 1.5rem;
    }
    .footer__container {
        flex-direction: column;
    }
    .footer__payments {
        display: none;
    }
    .footer__links  {
        border-top: 1px solid #FFFFFF80;
        padding-top: 4rem;
        margin-top: 4rem;
    }
    .footer__payments_m {
        display: block;
        width: 100%;
        margin-bottom: 5rem;
    }
}