@charset "UTF-8";

:root {
    --main-bg: #201630;
    --white-color: #fff;
    --card-bg: #271D37;
    --form-text-grey: #9A9A9A;
    --acc-text-violet: #D1C7E1;
    --main-green-color: #23C063;
    --error-color: #EF1414;
    --star-color: #3B314B;
    --burger-color: #D4D2D2;
    --filter-btn-color: #D1CEE1;
}

@media screen and (min-width: 545px) {

    /*==================== Swipe-btn =====================*/

    .filters-swipe {
        justify-content: center;
    }

    .filters__nav-scroll>.filters-swipe {
        justify-content: flex-start;
    }


    .catalog__breadcrumb>.filters-swipe {
        justify-content: flex-start;
    }

}

@media screen and (min-width: 768px) {

    .heading {
        gap: 10px;
    }

    .h1 {
        font-size: 40px;
        line-height: 38px;
    }

    .h2 {
        font-size: 26px;
        line-height: 30px;
    }

    .h4 {
        font-size: 22px;
        line-height: 21px;
    }

    .subtitle {
        font-size: 17px;
        line-height: 17px;
    }

    .discount__h2 {
        font-size: 30px;
        line-height: 33px;
    }

    .hero {
        height: 466px;
    }

    .hero-heading {
        gap: 16px;
    }
}


@media screen and (min-width: 800px) {

    /*==================== Features section ====================*/
    .swiper.features__slider {
        max-width: 750px;
        height: 636px;
        position: initial;
        padding: 0 0;
        margin-top: 0;
    }

    .features__swiper-wrapper {
        width: 750px;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 30px;
    }

    .features__content {
        display: flex;
        justify-content: center;
    }

    .numbers__slider__pagination {
        display: none;
    }

    .features__slide,
    .features__card {
        width: 360px !important;
        height: 303px;
        margin-right: 0 !important;
    }

    /*==================== Faq section ====================*/
    .accordion {
        width: 100%;
    }

}

@media screen and (min-width: 872px) {

    /*==================== Swipe-btn =====================*/

    .filters__nav-scroll>.filters-swipe {
        justify-content: flex-start;
    }

    .catalog__breadcrumb>.filters-swipe {
        justify-content: center;
    }

}

@media screen and (min-width: 968px) {

    /*==================== Swipe-btn =====================*/

    .filters__nav-scroll>.filters-swipe {
        justify-content: center;
    }

}

@media screen and (min-width: 992px) {

    section,
    footer {
        margin-bottom: 120px;
    }

    .inner {
        width: 100%;
        padding: 0 50px;
    }

    .nav__menu-link:hover {
        color: var(--white-color);
    }

    .heading {
        gap: 16px;
        margin-bottom: 45px;
    }

    .h1 {
        font-size: 50px;
        line-height: 48px;
    }

    .h2 {
        font-size: 30px;
        line-height: 30px;
    }

    .h4 {
        font-size: 24px;
        line-height: 23px;
    }

    .h6,
    .filter-material__btn {
        font-size: 16px;
    }

    .subtitle {
        font-size: 20px;
        line-height: 19px;
    }

    .discount__h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .discount__subtitle {
        font-size: 24px;
        line-height: 23px;
    }

    .card__h2 {
        font-size: 22px;
        line-height: 110%;
        margin-bottom: 10px;
    }

    .btn__green {
        font-size: 18px;
        padding: 16px 40px;
    }

    .filters-breadcrumb__wrapper {
        margin-bottom: 45px;
    }

    /*==================== Hero section ====================*/
    .hero {
        height: 450px;
    }

    .hero-heading {
        gap: 18px;
    }

    /*==================== Advantages section ====================*/

    .advantages__wrapper {
        width: 605px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 30px;
    }

    .advantages__card {
        width: 287.5px;
        padding: 40px 20px;
        gap: 20px;
    }

    /*==================== Discount section ====================*/

    .discount {
        width: calc(100% - 100px);
        max-width: 1240px;
        padding: 73px 0;
        margin: 0 auto 60px;
        background-image: url(../img/discount-bg-desk.webp);
        border-radius: 20px;
    }

    /*==================== Book section =====================*/
    .form-submit {
        width: 499px;
        gap: 20px;
        padding: 0 10px;
    }

    .form-submit__item,
    .custom-select {
        font-size: 16px;
    }

    .form-submit__item::placeholder,
    .form-submit__item:focus,
    .select-selected {
        font-size: 16px;
        line-height: 15px;
    }

    .select-selected.select-arrow-active:after {
        top: 30px;
    }

    .select-items div {
        font-size: 15px;
    }

    .form__error {
        font-size: 14px;
        line-height: 13px;
        margin-top: 10px;
    }

    .checkbox {
        width: 18px;
        height: 18px;
    }

    .checkbox:checked {
        width: 18px;
        height: 18px;
        padding: 4px;
    }

    .privacy-link {
        font-size: 14px;
        line-height: 130%;
    }

    /*==================== Catalog section ====================*/

    .catalog-card {
        gap: 16px;
        width: 208px;
    }

    .catalog-card__content {
        gap: 12px;
    }

    .card__option {
        font-size: 14px;
    }

    .card__price,
    .card__price>.price-icon {
        font-size: 20px;
        line-height: 19px;
    }

    .price-icon,
    .old-price-icon {
        font-family: Arial, Helvetica, sans-serif;
    }

    .card__price-old,
    .card__price-old>.old-price-icon {
        font-size: 14px;
        line-height: 13px;
    }

    .card__subtitle {
        font-size: 17px;
    }


    /*==================== Partners section ====================*/

    .partner-label {
        height: 35px;
    }

    /*==================== Catalog-color section ====================*/
    .catalog-color__main {
        width: 100%;
    }

    .palette-color__wrapper {
        display: flex;
        justify-content: center;
        margin: 0 auto 40px;
    }

    .color__cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 30px;
    }

    .color-card {
        margin: 0;
        width: 180px;
    }

    .color {
        width: 180px;
        height: 180px;
        margin: 0 auto 10px;
    }


    /*==================== Faq section =====================*/
    .accordion {
        width: 760px;
    }

    /*==================== Calculator section =====================*/
    .calculator__inner {
        padding: 40px 10px;
        display: flex;
        flex-direction: column;
    }

    .calc-form {
        width: 498px;
        gap: 10px;
    }

    .calc-form__item {
        width: 498px;
        padding: 19px 29px 20px 26px;
    }

    .btn-for-calc {
        width: 360px;
        padding: 16px 30px;
    }

    /*===================== Repair-services section ====================*/
    .repair {
        width: 760px;
        padding: 45px 0;
    }

    .repair__list-item {
        width: 530px;
        padding: 18px 0px;
    }

    .list-item__label {
        font-size: 18px;
        line-height: 17px;
    }

    .form_input_other {
        width: 530px;
        height: 54px;
    }

    .repair__list-close {
        top: -10px;
        right: 20px;
    }

    /*==================== Reviews section =====================*/

    .review__card {
        width: 332px;
        height: auto;
        padding: 30px 30px;
    }

    .modal-review__card {
        width: 332px;
        height: auto;
        padding: 0 10px 0 0;
    }

    /*========================Services section=========================*/
    .services__wrapper {
        width: 100%;
        align-items: center;
        gap: 20px;
    }

    .services__card {
        width: 605px;
        padding: 26px 40px;
        gap: 30px;
    }

    /*====================== Footer ==========================*/

    .footer__content {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 35px;
    }

    .social-links__wrapper,
    .menu-links__wrapper {
        margin-bottom: 22px;
    }

    .menu-link:hover {
        color: #C2C2C2;
    }

    .social-links__wrapper,
    .contacts {
        align-self: flex-start;
    }

    /*====================== modals ==========================*/

    .modal__form-submit {
        width: 480px !important;
    }

    .modal__content {
        width: 520px;
        height: auto;
        padding: 20px 20px;
    }

    .modal__heading {
        display: flex;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin-bottom: 30px;
    }

    .modal-h2 {
        font-size: 30px;
        line-height: 120%;
    }

    .modal__subtitle {
        font-size: 18px;
    }

    .modal-form__item {
        width: 460px;
        padding: 24px 30px;
    }

    .btn__green-modal {
        width: 460px !important;
    }

    .modal__close {
        padding: 0 10px 10px 0;
    }

    .modal-form__item {
        width: 460px;
        padding: 24px 30px;
    }

    .modal>.form-submit,
    .btn__green-modal {
        width: 460px;
    }

    .review__modal>.modal__content {
        width: 375px;
        padding: 10px 0 20px;
    }

    .success__content {
        width: 520px;
        height: 388px;
    }

    .success__modal-img {
        width: 173px;
        height: 173px;
    }
}