.stretching-rackets__content {
    display: flex;
}

.stretching-rackets__summ {
    width: 25%;
    height: max-content;
    /*background-color: #fff; 
    padding: 40px;*/
    margin-left: 20px;
}

.stretching-rackets__summ button {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #E7EAF4;
}

.stretching-rackets__summ button.active {
    background-color: #ED2438;
    color: #ffffff;
}

.stretching-rackets__summ button.active:hover {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.stretching-rackets__line {
    height: 1px;
    background-color: #E7EAF4;
    width: 100%;
    margin-bottom: 30px;
}

.stretching-rackets__sign {
    color: #6C6F79;
}

.stretching-rackets__text-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

.stretching-rackets__num {
    white-space: nowrap;
    padding-left: 10px;
}


/* левая часть */
.stretching__item-valuta {
    font-size: smaller;
}


.stretching-rackets__inform {
    width: 75%;
}

.stretching-rackets {
    background-color: #F8F9FD;
}


.stretching__box {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
}

.stretching__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stretching__title a {
    color: #6C6F79;
}

.stretching__title a:hover {
    color: #ED2438;
}

.stretching__item {
    position: relative;
    padding: 20px;
    background-color: #F8F9FD;
    overflow: hidden;
    margin-top: 20px;
}

.stretching__img {
    position: absolute;
    background: #E7EAF4;
    width: 120px;
    height: 120px;
    border-radius: 300px;
    top: 0;
    right: 0;
    transform: translate(35%, -55%);
}

.stretching__img svg {
    display: none;
    position: absolute;
    left: 30%;
    bottom: 20%;
}


.stretching__item-text {
    width: 80%;
}


.stretching__item.active {
    background-color: #fff;
    border: 1px solid #E7EAF4;
}

.stretching__item.active .stretching__img {
    background-color: #ED2438;
}

.stretching__item.active .stretching__img svg {
    display: block;
}

.stretching__item-margin {
    margin: 8px 0;
}

.stretching-rackets__inform .choice-racket {
    margin-top: 7%;
    margin-bottom: 10%;
}

.stretching__item-text--bold {
    font-family: 'Kelson Sans Bold';
    margin-right: 10px;
}


.stretching__form {
    padding: 30px;
    background-color: #ffffff;
}


.stretching__form-top-data {
    display: flex;
    justify-content: space-between;
}

.stretching__form-top-data .text-field {
    width: 32.5%;
}

.stretching__input-comment {
    min-height: 120px;
}

/*новые стили*/
.stretching__form-wrap {
    display: flex;
    width: 100%;
    gap: 20px;
}

.stretching__form-wrap .text-field {
    flex: 1 0 25%;
}

.stretching__form-wrap .text-field:first-child {
    flex: auto;
}

.btn-text_gray {
    font-weight: 400;
    color: #6c6f79;
    padding: 0;
    background: transparent;
}

.btn-text_gray:hover {
    color: #ED2438;
}

.stretchingRackets-title {
    font-weight: 400;
    font-size: clamp(26px, 5vw, 30px);
    color: #201e1e;
    margin-bottom: 10px;
}

.grid-2-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stretchingRackets-subtitle {
    font-weight: 400;
    font-size: 23px;
    line-height: 1.6;
    color: #201e1e;
}

.stretching-level {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    padding: 7px 8px;
    background: #201e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin-bottom: 10px;
}

.stretchingNew__box {
    padding: 30px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stretchingNew__item {
    position: relative;
    padding: clamp(15px, 2.5vw, 30px) clamp(15px, 2.5vw, 30px);
    background-color: #f8f9fd;
    overflow: hidden;
    margin: 0 !important;
}

.stretchingNew__item-text {
    width: 82%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.stretchingNew__item-text .item-order {
    margin-top: auto;
}

.stretchingRackets {
    padding-bottom: 100px;
}

.stretchingRackets-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bannerRacket {
    display: flex;
    margin-top: 40px;
}

.bannerRacket-item {
    padding: clamp(15px, 2.8vw, 40px) clamp(15px, 2.8vw, 40px);
    width: 50%;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px;
}

.bannerRacket-item > * {
    position: relative;
    z-index: 1;
}

.bannerRacket-bg {
    background-color: #201E1E;
    width: 100%;
    height: 294px;
    clip-path: polygon(
            0% 0%, /* левый верх */ 100% 0%, /* правый верх */ 70% 100%, /* точка на 370/580 (370/580 ≈ 63.79%) */ 0% 100% /* левый низ */
    );
    position: absolute;
    width: 90%;
    height: 105%;
    top: 0;
    left: 0;
    z-index: 0;
}

.bannerRacket__video-bg {
    position: absolute;
    top: 0;
    right: -20%;
    width: auto;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bannerRacket__phone-bg {
    position: absolute;
    top: 10%;
    right: 20px;
    max-width: 378px;
}

.bannerRacket__phone-img {
    background-image: url("/local/templates/lining/images/temporary-stopper.png");
    background-size: contain;
    width: 13vw;
    height: 100%;
    aspect-ratio: 267/ 434;
    overflow: hidden;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.phone-video-bg {
    position: absolute;
    top: 5%;
    left: 52%;
    transition: auto;
    transform: translate(-50%, 0%);
    width: 9.8vw;
    overflow: hidden;
    z-index: 0;
    height: 94%;
    aspect-ratio: 180 / 434;
}
.phone-video-bg video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}
.bannerRacket-title {
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
}

.bannerRacket-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 60%;
}

.arrowCircle {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrowCircle svg {
    width: 21px;
    height: 21px;
}

.bannerRacket__block-text {
    margin-top: 60px;
}

.bannerRacket__block-text p {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    font-family: 'Kelson Sans Light';
}

.stringSize-bg {
    position: absolute;
    bottom: 0;
    left: calc(100% - 90px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
}

.stringSize-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #201e1e;
}

.stringSize-img {
    background-image: url("/local/templates/lining/images/stringSize.png");
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 59/100;
    width: 59px;
}

/*сообщение успеха*/
.messageSuccess-wrap {
    min-height: 100%;
    background-color: #F8F9FD;
    padding: clamp(40px, 10vw, 120px) 0;
}

.button_gray {
    padding: 17px 59px;
    background: #f8f9fd;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.button_gray:hover, .button_gray:active {
    background-color: #D4D7E1;
}

.messageSuccess {
    max-width: 871px;
    margin: auto;
    /*padding: 100px 150px;*/
    padding: clamp(20px, 8vw, 100px) clamp(15px, 5vw, 150px);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.messageSuccess-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.messageSuccess a {
    color: #201e1e;
}

.text-red, a.text-red {
    color: #ED2438;
}

.messageSuccess-info {
    font-family: "Kelson Sans Light", sans-serif;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
}

.messageSuccess-details > * {
    font-weight: 400;
    font-size: 1.13em;
    line-height: 1.6;
}

.messageSuccess-title {
    font-size: 2.5em;
    text-align: center;
}

.messageSuccess-img {
    background-size: contain;
    width: 100%;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
}

/*модалка*/
.recsModal-top, .recsModal-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recsModal-title {
    font-weight: 400;
    font-size: clamp(26px, 5vw, 30px);
    line-height: 1.6;
}

.recsModal-top p {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Kelson Sans Light';
}

.recsModal-card__name {
    font-weight: 400;
    font-size: clamp(13px, 0.8vw, 15px);
    line-height: 1.6;
}

.recsModal-card {
    display: flex;
    gap: 10px;
    background: #f8f9fd;
    padding: clamp(15px, 2.5vw, 20px);
    align-items: center;
}

.recsModal-img {
    width: 100px;
    min-width: 100px;
    min-height: 100px;
    height: 100px;
}

.recsModal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.recsModal-card__info {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.recsModal-card__price {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #201e1e;
}

.recsModal-card__btn {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    padding: 12px 15px 10px 15px;
    background: #ed2438;
}

.recsModal-card__content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.fixed-modal {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 0;
    z-index: 1008;
    right: 0;
    transform: translateX(calc(100% + 29px));
    transition: transform 0.2s ease-out;
}

.fixed-modal.modal-open {
    transform: translateX(0);
}

.fixed-modal__block {
    overflow-y: auto;
    height: 100%;
    padding: clamp(20px, 5vw, 40px)
}

.fixed-modal__wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recsModal-btn {
    width: 100%;
    padding: 20px 59px;
    margin-top: 60px;
}

body:has(.modal-open) .overlay {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 39, 51, .3);
    z-index: 20;
}

body:has(.fixed-modal.modal-open) {
    overflow: hidden !important;
}

/*новые стили*/
@media (max-width: 1400px) {
    /*новые стили*/
    .grid-3-columns {
        grid-template-columns: repeat(1, 1fr);
    }

    /*новые стили*/
}

@media (max-width: 1199px) {
    /*новые стили*/
    .bannerRacket__phone-img {
        width: 20vw;
    }
    .phone-video-bg {
        width: 14.8vw;
    }
    .phone-video-bg video {
        border-radius: 20px;
    }
    .bannerRacket__phone-bg {
        position: absolute;
        top: 10vw;
        right: 10px;
    }

    .bannerRacket-title {
        font-size: 20px;
    }

    .stretchingRackets-subtitle {
        font-size: 22px;
    }

    .stretchingRackets {
        padding-bottom: 60px;
    }

    .stretching-level {
        font-size: 14px;
    }

    /*новые стили*/
}

@media (max-width: 1024px) {
    .stretching-rackets__content {
        flex-direction: column-reverse;
    }

    .stretching-rackets__inform {
        width: 100%;
    }

    .stretching-rackets__summ {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    /*новые стили*/
    .stretching__form-wrap {
        flex-direction: column;
        gap: 0;
    }

    .stretching__form-wrap .text-field {
        flex: auto;
    }

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

    .bannerRacket {
        margin-top: 24px;
        flex-direction: column;
    }

    .bannerRacket-item {
        width: 100%;
        gap: 15px;
    }

    .bannerRacket__phone-img {
        width: 200px;
    }
    .phone-video-bg {
        width: 150px;
    }
    .bannerRacket__phone-bg {
        top: 20px;
    }

    .bannerRacket__block-text {
        margin-top: 24px;
    }

    /*новые стили*/
}

@media (max-width: 768px) {
    .stretching__form-top-data {
        flex-direction: column;
    }

    .stretching__form-top-data .text-field {
        width: 100%;
    }

    /*новые стили*/
    /*сообщение успеха*/
    .messageSuccess-title {
        font-size: 2em;
    }

    .messageSuccess {
        gap: 20px;
    }

    .messageSuccess-content {
        gap: 10px;
    }

    .messageSuccess-img {
        height: 80px;
    }

    .messageSuccess-details > * {
        font-size: 1em;
    }

    .messageSuccess-info {
        font-size: 15px;

    }

    /*новые стили*/
}

@media (max-width: 575px) {
    /*новые стили*/
    .bannerRacket__phone-img {
        width: 150px;
    }
    .phone-video-bg {
        width: 110px;
    }
    .phone-video-bg video {
        border-radius: 10px;
    }
    .bannerRacket__phone-bg {
        top: 20%;
    }

    .bannerRacket-content .text-16-light {
        font-size: 14px;
    }

    .text-field-new .text-field__label {
        display: block;
        position: relative;
        top: 10px;
        width: 100%;
    }

    .stringSize-bg {
        bottom: -20px;
        right: 15px;
        left: auto;
    }

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

    .stringSize-img {
        width: 40px;
    }

    /*новые стили*/
}
@media (max-width: 424px) {
    .bannerRacket__phone-bg {
        top: 40%;
    }
}
@media (max-width: 360px) {
    .stretching__box {
        padding: 15px;
    }

    .stretching__form {
        padding: 15px;
    }

    .stretching-rackets__summ {
        padding: 20px;
        margin-bottom: 20px;
    }
}