/*  category section */

.category__section {
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.category__container {
    overflow: hidden;
}

.category__container-inner {
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(9, minmax(128px, 1fr));
    gap: 17px;
    margin: 0 auto;
}

.category__block {
    position: relative;
    padding: 11px 14px;
    height: 155px;
    background: var(--shop-soft-blue);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.category__block:hover {
    background: #cbdaf5;
}

.category__block span {
    position: relative;
    font-size: 14px;
    color: var(--black);
    text-align: center;
}



.category__block img {
    height: 60px;
    width: 60px;
}


@media (min-width: 1200px) { 
    .hero__left-btn-link,
    .hero__nav {
        width: 49% !important;
    }
}



@media (min-width: 601px) and (max-width: 1200px) {
    .category__container-inner {
        overflow-x: scroll;
    }
}


@media (max-width: 600px) {
    .category__container-inner {
        grid-template-columns: repeat(3, minmax(88px, 1fr));
    }

    .category__block-wide {
        grid-column: span 1;
    }

    .category__block {
        padding: 10px;
        height: 130px;
        gap: 5px;
    }

    .category__block span {
        font-size: 12px;
        color: var(--black);
    }

    .category__block img {
        width: 55px;
    }


    /* .category__block-wide {
        grid-column: span 1;
    } */
}

/* slider-hero */

.hero__container-inner {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.hero__top-inner {
    display: flex;
    gap: 42px;
}

.hero__left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__left-title {
    margin-bottom: 13px;
    font-weight: 500;
    font-size: 56px;
    line-height: 120%;
    color: var(--shop-bright-blue);
}

.hero__left-p {
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--black);
}

.hero__left-btn-link {
    width: 100%;
}

.hero__left-btn-link-mob {
    display: none;
}

.hero__left-btn {
    width: 100%;
    border-radius: 3px;
    padding: 12px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: var(--shop-light-ice);
    transition: var(--transition);
    background: var(--shop-burnt-sienna);
}

.hero__left-btn:hover {
    box-shadow: var(--button-box-shadow);
}

.hero__swiper {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.hero-slide img {
    max-width: 400px;
    max-height: 400px;
    border-radius: 10px;
    height: 100%;
}

.hero-slide {
    position: relative;
    z-index: var(--z-index-0);
    opacity: 0;
    transition: var(--transition);
}

.hero-slide.swiper-slide-active {
    opacity: 1;
    z-index: var(--z-index-4);
}

.hero-slide.swiper-slide-next {
    opacity: 1;
    z-index: var(--z-index-3);
}

.hero-slide.swiper-slide-next+.hero-slide {
    opacity: 1;
    z-index: var(--z-index-2);
}

.hero__nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-self: end;
}

.hero-btn-prev,
.hero-btn-next {
    cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet {
    background: #d3ddf0;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--shop-bright-blue);
}

.hero-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero__container-inner {
        gap: 16px;
    }

    .hero__top-inner {
        gap: 0;
        flex-direction: column;
        border: none;
        padding: 0;
    }

    .hero__left {
        width: 100%;
    }

    .hero__left-title {
        margin-bottom: 9px;
        width: 100%;
        font-size: 40px;
        line-height: 120%;
    }

    .hero__left-p {
        margin-bottom: 17px;
        font-size: 12px;
    }

    .hero__left-btn-link-pc {
        display: none;
    }

    .hero__left-btn-link-mob {
        display: block;
    }

    .hero__swiper {
        width: 100%;
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .hero-slide img {
        max-height: 250px;
    }
}


/* tile */

.tile__section {
    margin-top: 60px;
}

.tile__container {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.tile__inner {
    display: grid;
    gap: 30px 10px;
    /* grid-template-columns: repeat(5, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: repeat(3, 1fr);
}

.tile__top {
    display: flex;
    justify-content: center;
}

.tile__top a {
    display: flex;
    gap: 14px;
    align-items: center;
}



.tile__top a:hover img {
    box-shadow: 0 0 10px -10px #0c0c0d0d, 0 0 79px -10px #0c0c0d1a;
}

.tile__all-btn {
    font-size: 16px;
    color: #ffffff;
    border-radius: 3px;
    width: 180px;
    height: 48px;
    background: #779277;
}

@media (max-width: 1024px) {
    .tile__section {
        margin-top: 40px;
    }

    .tile__container {
        gap: 14px;
    }

    .tile__inner {
        gap: 14px 9px;
        grid-template-columns: repeat(2, 1fr);
    }

    .tile__all-btn {
        font-size: 16px;
    }
}


/* banners */

.banners__section {
    padding: 60px 0;
}

.banner__inner {
    position: relative;
    /* flex: 0 0 460px; */
    /* фиксированная ширина */
    /* height: 230px; */
    /* фиксированная высота */
    display: flex;
    gap: 8px;
    flex-direction: column;
    border-radius: 10px;
}

.banner__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.banner__btn {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
}

/* Кнопки */
.banner__btn-orange {
    position: absolute;
    bottom: 20px;
    right: 21px;
    width: 80%;
    height: 30px;
    color: var(--shop-light-ice);
    background: var(--shop-burnt-sienna);
}

.banner__btn-white {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 20px;
    height: 30px;
    color: #376e86;
    background: var(--white);
}

.banner__btn-blue {
    position: absolute;
    bottom: 20px;
    left: 20px;
    max-width: 198px;
    width: 198px;
    height: 30px;
    color: var(--white);
    background: var(--shop-slate-blue);
}

@media (max-width: 1438px) {
    .banners__inner {
        justify-content: start;
    }
}

@media (max-width: 765px) {
    .banner__btn-blue {
        left: 8px;
        width: 130px;
    }
}

@media (max-width: 540px) {
    .banner__btn {
        font-weight: 500;
        font-size: 14px;
    }

    .banner__btn-orange {
        width: 70%;
        height: 20px;
    }

    .banner__btn-white {
        height: 20px;
    }

    .banner__btn-blue {
        width: 198px;
        height: 20px;
    }
}

/* Popular */
.popular__section {
    padding: 67px 20px;

    background: var(--shop-burnt-sienna);
}

.popular__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.popular-slider-block {
    margin-bottom: 39px;
}

.popular__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    color: var(--white);
}

.popular__all-btn {
    border-radius: 20px;
    width: 278px;
    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--shop-bright-blue);
    transition: var(--transition);
    background: var(--shop-soft-blue);
}

.popular__all-btn:hover {
    box-shadow: var(--button-box-shadow);
}

.popular__card {
    background: var(--white);
}

.popular__img-inner {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    /* margin-bottom: 20px; */
    justify-content: center;
}

.popular__card-new {
    font-size: 16px;
    color: var(--white);
    padding: 6px 13px;
    width: fit-content;
    background: var(--shop-bright-blue);

    position: absolute;
    top: 8px;
    left: 8px;
}

.popular__card-like {
    position: absolute;
    top: 16px;
    right: 14px;
    display: none;
}

.popular__card-info-inner {
    padding: 15px 12px 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
}

.popular__img-inner img {
    height: 100%;
}

.popular__btns-block {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: -50px;
    transform: translateY(-50%);
    visibility: hidden;
}

.popular__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 46px;
    height: 50px;
    background: var(--white);
}

.popular__btn-num {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 18px;
    padding-left: 18px;
    margin-left: 10px;
    width: 151px;
    height: 50px;
    border-radius: 3px;
    background: var(--shop-soft-blue);
}

.popular__btn-num-counter {
    font-size: 20px;
    color: var(--black);
}

.popular__btn-minus,
.popular__btn-plus {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popular__card-info {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    flex-direction: column;
}

.popular__card-price-inner {
    display: flex;
    gap: 7px;
    align-items: center;
}

.popular__card-price {
    font-weight: 600;
    font-size: 20px;
    color: var(--shop-bright-blue);
}

.popular__card-price-old {
    font-weight: 400;
    font-size: 16px;
    color: #8e8e93;
}

.popular__card-price-sale {
    font-size: 12px;
    color: #ff383c;
}

.popular__card-title-inner {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.popular__card-category {
    font-size: 12px;
    color: #8e8e93;
}

.popular__card-title {
    font-weight: 400;
    font-size: 14px;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
}

.popular__card-rating-inner {
    /* display: flex; */
    display: none;
    justify-content: space-between;
    font-size: 16px;
    color: var(--shop-burnt-sienna);
}

.popular__card-rating,
.popular__card-comment {
    display: flex;
    gap: 10px;
    align-items: center;
}

.popular__card-rating::before,
.popular__card-comment::before {
    display: flex;
}

.popular__card-rating::before {
    content: url(../image/star-icon.svg);
}

.popular__card-comment::before {
    content: url(../image/comment-icon.svg);
}

.popular__nav {
    display: flex;
    justify-content: space-between;
}

.popular-btn-prev img,
.popular-btn-next img {
    border-radius: 100%;
    cursor: pointer;
    transition: var(--transition);
}

.popular-btn-prev:hover img,
.popular-btn-next:hover img {
    box-shadow: var(--button-box-shadow);
}

.popular-pagination .swiper-pagination-bullet {
    background: #d3ddf0;
}

.popular-pagination .swiper-pagination-bullet-active {
    background: var(--shop-bright-blue);
}

.popular-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}




@media (max-width: 1024px) {
    .popular__section {
        padding: 32px 0px;
    }

    .popular__top {
        margin-bottom: 24px;
    }

    .popular__title {
        width: 50%;
    }

    .popular__card-rating-inner {
        font-size: 12px;
    }

    .popular__all-btn {
        width: 142px;
    }

    .popular__card-info-inner {
        padding: 8px 8px 8px;
    }

    .popular__card-new {
        padding: 2px 10px;
        font-size: 12px;
    }

    .popular__btns-block {
        margin-bottom: -5px;
    }

    .popular__add-btn {
        width: 33px;
        height: 36px;
    }

    .popular__add-btn svg {
        width: 19px;
        height: 18px;
    }

    .popular__btn-num {
        padding-right: 13px;
        padding-left: 13px;
        width: 130px;
        height: 40px;
    }

    .popular__btn-minus svg {
        width: 13px;
        height: 3px;
    }

    .popular__btn-num-counter {
        font-size: 14px;
    }

    .popular__btn-plus svg {
        width: 19px;
        height: 19px;
    }

    .popular__card-price-old {
        font-size: 12px;
    }

    .popular-slider-block {
        margin-bottom: 14px;
    }
}


/* Steps */

.steps__container {
    padding-top: 120px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    padding-bottom: 120px;
}

.steps__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    text-align: center;
    color: var(--black);
}

.steps__inner {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.step__item {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-between;
    width: 24%;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
}

.step__info {
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.step__title {
    width: fit-content;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: var(--white);

    padding: 6px 15px;
    border-radius: 15px;
    background: var(--shop-bright-blue);
}

.step__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: var(--black);
}

@media (max-width: 1024px) {
    .steps__container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .steps__inner {
        flex-wrap: wrap;
        gap:20px
    }

    .step__item {
        gap: 14px;
        width: 100%;
    }
}


/* Form */

.form__container {
    padding: 150px 0;
}

.faq-form__inner {
    display: flex;
    justify-content: center;
}

.form__inner {
    position: relative;
    padding: 38px 34px;
    display: flex;
    gap: 10px;
    border-radius: 10px;
    max-width: 500px; 
}

.form__column-1 {
    width: 352px;
    z-index: var(--z-index-2);
}

.form__column-2 img {
    position: absolute;
    z-index: var(--z-index-1);
    bottom: -110px;
    right: 10px;
    width: 50%;
}

.form__title {
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    color: var(--white);
    margin-bottom: 8px;
}

.form__text {
    font-weight: 400;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 19px;
}

.form__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 13px;
}

.faq-form__input {
    color: var(--black);
    width: 100%;
    font-size: 12px;
    line-height: 1;

    border-radius: 10px;
    padding: 12px 13px;
    background-color: var(--shop-soft-blue);
}

.faq-form__input::placeholder {
    color: #aeaeb2;
}

.form-btn {
    display: flex;
    justify-content: center;

    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--shop-light-ice);
    border-radius: 20px;
    transition: var(--transition);
    background: var(--shop-burnt-sienna);
}

.form-btn:hover {
    box-shadow: var(--button-box-shadow);
}

@media (max-width: 500px) {
    .form__title {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .form__container {
        padding: 107px 0 80px;
    }

    .form__inner {
        padding: 15px 13px;
    }

    .form__column-1 {
        width: 100%;
    }

    .form__column-2 img {
        top: -60px;
        right: 0;
        width: 140px;
    }

    .form__title {
        margin-bottom: 14px;
        margin-bottom: 14px;
    }

    .form__text {
        line-height: 150%;
    }
}