:root {
    --color-red-accent: #f66159;
    --color-black-text: #333;
    --color-white: #fff;
}

* {
    box-sizing: border-box;
}

.background {
    background: #f3f3f3;

}

.container-flex {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    padding: 80px 0;
}
.about-wrapper *:last-child{
    margin-bottom: 0;
}
.form-contact__container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    flex-direction: row;
    padding: 60px 0 0 0;
}

.form-contact__subtext {
    text-align: center;
    font-family: "Futura PT", sans-serif;
    font-weight: 400;
    font-size: 19px;
    line-height: 135%;
    color: var(--color-black-text);
    margin: 0;
}

.order-form__image-container {
    border-radius: 15px;
    max-width: 540px;
    max-height: 400px;
}

.order-form__image {
    border-radius: 15px;
    width: 100%;
}

.order-form__container h2 {
    font-family: "Futura PT", sans-serif;
    font-weight: 600;
    font-size: 36px;
    text-transform: uppercase;
    line-height: 120%;
    color: var(--color-black-text);
}


/* -------------------------------------------------- */


.slider-about__container {
    position: relative;
}

.slider-about {
    max-width: 730px;
    height: 508px;
    margin: 0 15px;
}

.slick-list .draggable {
    padding: 0 -15px;
}

.images-container {
    padding: 80px 0;
    display: flex;
    width: 100%;
}

.images__certificate {
    height: auto;
    max-width: 360px;
    border-radius: 15px;
    border: 1px solid #c7c7c7;
}

.slider-about__container {
    margin-left: 15px;
}

.slider-about__container-img {

    border: 1px solid #c7c7c7;
    height: 508px;
    max-width: 730px;
    border-radius: 15px;
}
.slider-about__container-img img{
    border-radius: 15px;
    max-width: 100%;
}
.slider-about__images {

    width: 100%;
    height: 508px;
    object-fit: cover;
    overflow: hidden;
    border-radius: 15px;
}

.slider-about__nextArrow {
    position: absolute;
    right: 44px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background-image: url(./img/arrow_left.png);

    width: 65px;
    height: 65px;
}

.slider-about__nextArrow:hover {
    background-image: url(./img/arrow_right.png);
    width: 65px;
    height: 65px;
}

.slider-about__prevtArrow {
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background-image: url(./img/arrow_r.png);

    width: 65px;
    height: 65px;
}

.slider-about__prevtArrow:hover {
    background-image: url(./img/arrow_l.png);
    width: 65px;
    height: 65px;
}

.slick-list {
    padding: 0 !important;
}

/* ------------------------------------------ Сертификат -------------------------------------------- */

.no-scroll {
    overflow: hidden;
}
.lb-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.lb-image img {
    max-width: 587px;
    max-height: 827px;
}

.slider-about__images {
    max-width: 100%;
}
.slider-about__container .slick-track{
    display: flex;
    height: 100%;
}
.cutting-and-engraving-price{
    margin-top: 0 !important;
}
.slider-about__container .slider-about__container-img{
    height: auto;
}
.slider-about__container .slider-about__container-img img{
    height: 100% ;
    max-height: 509px;
}
@media (max-width: 1199px) {
    .slider-about {
        max-width: 540px;
    }

    .order-form__container h2 {
        margin-bottom: 35px;
        font-size: 35px;
        line-height: 107%;
    }
}

@media (max-width: 991px) {
    .container-flex {
        flex-direction: column;
    }

    .order-form__container h2 {
        margin-bottom: 20px;
    }

    .order-form__image-container {
        max-width: 688px;
        max-height: 512px;
    }

    form.cutting-and-engraving-form-top {
        max-width: 535px;
    }

    .cutting-and-engraving-form input[type="email"] {
        order: 0;
        flex: 1 1 297px;
    }

    .form-contact__subtext {
        font-size: 19px;
    }

    .form-contact__messengers {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .form-contact__container {
        padding: 40px 0 0 0;
    }

    form.cutting-and-engraving-form-top label[for=file] {
        order: 2;
        margin: 0;
    }

    form.cutting-and-engraving-form-top input {
        order: 2;
        flex: 0 1 459px;
    }

    .order-form-top.order-form button {
        flex: 0 1 241px;
        font-size: 17px;
        order: 3;
    }

    input::placeholder {
        font-size: 20px;
    }

    .images__certificate {
        max-height: 349px;

    }

    .slider-about {
        height: 349px;
        max-width: 413px;
    }

    .slider-about__container .slider-about__container-img img {
        height: 349px;
        width: 100%;
        object-fit: cover;
    }
   

}

@media (max-width: 767px) {

    .container-flex {
        align-items: center;
        justify-content: center;
    }

    form.cutting-and-engraving-form-top input {
        order: 2;
        flex: 0 1 442px;
    }

    form.cutting-and-engraving-form-top input {
        order: 2;
        flex: 1 1 233px;
    }

    form.cutting-and-engraving-form-top label[for=file] {
        margin: 0 0 10px 10px;
    }

    .mb-0 {
        width: 35px;
        height: 35px;
    }

    .images-container {
        display: block;
    }

    .images__certificate {
        max-height: 739px;
        max-width: 511px;
    }

    .slider-about__container {
        margin-left: 0;
        padding-top: 30px;
    }

    .slider-about {
        max-width: 539px;
        margin: 0;
    }

    .lb-image img {
        max-width: 447px;
    }

    .form-contact__subtext {
        font-size: 17px;
    }

    .form-contact__container {
        gap: 7px;
    }

    .slider-about__nextArrow {
        right: 30px;
        top: 32px
    }

    .slider-about__prevtArrow {
        position: absolute;
        left: 30px;
        top: 32px;
    }
}

@media (max-width: 576px) {

    .order-form-top button {
        font-size: 15px;
    }

    .order-form__container h2 {
        font-size: 24px;
    }

    .form-contact__subtext {
        font-size: 17px;
    }

    .slider-about {
        max-width: 550px;
    }

    .cutting-and-engraving-form input[type="email"] {
        order: 0;
        flex: 1 1 313px;
    }


    .images-container {
        padding: 80px 0 140px 0;
    }

    .lb-image img {
        max-width: 407px;
    }

    .images__certificate {
        max-height: 469px;
        margin: 0 auto;
        display: block;
    }
}