/* set */
.ready-set {
    margin: 50px 0;
}

.ready-set__buttons,
.ready-set__block {
    position: relative;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
}

.ready-set__buttons::-webkit-scrollbar,
.ready-set__block::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.ready-set__btns {
    width: 100%;
    display: flex;
    gap: 25px;
}

.ready-set__button {
    padding: 13px 10px;
    width: calc((100% - 25px * 2) / 3);
    background-color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    box-shadow: 0px 2px 4px 1px #00000040;
    font-family: 'Inter Medium';
    font-size: 18px;
    line-height: normal;
    color: #333;
    transition: .3s ease-in-out;
}

.ready-set__button span.desktop {
    display: inline;
}

.ready-set__button span.mobile {
    display: none;
}

.ready-set__button.active {
    background-color: #df8844;
    color: #fff;
    transition: .3s ease-in-out;
}

.ready-set__container {
    margin-top: 50px;
    display: none;
}

.ready-set__container.active {
    display: block;
}

.ready-set__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 13px;
}

.ready-set__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: calc((100% - 13px) / 2);
}

.ready-set__card:nth-child(2n) {
    justify-content: flex-end;
}

.ready-set__card.full-card {
    width: 100%;
    flex-direction: row;
    align-items: normal;
    justify-content: space-between;
    gap: 40px;
}

.ready-set__images-wrapper {
    position: relative;
    width: calc(100% - 200px);
    aspect-ratio: 2719 / 4384;
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.ready-set__card.full-card .ready-set__images-wrapper {
    width: 50%;
    aspect-ratio: 1 / 1;
}

.ready-set__images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ready-set__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    object-fit: contain;
    transition: .3s ease-in-out;
}

.ready-set__img.active {
    opacity: 1;
    visibility: visible;
    transition: .3s ease-in-out;
}

.ready-set__info {
    margin-top: 20px;
    margin-left: -90px;
    position: relative;
    width: 270px;
    z-index: 1;
}

.ready-set__card.full-card .ready-set__info {
    margin: 0;
    width: calc(50% - 40px);
    justify-content: center;
}

.ready-set__model {
    margin: 0;
    margin-bottom: 10px;
    font-family: 'Inter Medium';
    font-size: 21px;
    line-height: normal;
    color: #333;
    text-align: left;
    letter-spacing: unset;
}

p.ready-set__price {
    margin: 0;
    margin-bottom: 15px;
    font-family: 'Inter Medium';
    font-size: 21px;
    line-height: normal;
    color: #df8844;
}

.ready-set__wrapper {
    margin-bottom: 15px;
}

.ready-set__structure {
    margin-left: auto;
    margin-bottom: 20px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.ready-set__structure::before {
    content: 'Состав';
    display: inline-block;
    font-family: 'Inter Variable';
    font-size: 10px;
    line-height: normal;
    color: #333;
    transition: .3s ease-in-out;
}

.ready-set__structure.active::before {
    content: 'Закрыть';
    transition: .3s ease-in-out;
}

.ready-set__structure::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/main-menu/strelka-black.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .5;
    transition: .3s ease-in-out;
}

.ready-set__structure.active::after {
    content: '';
    opacity: 0;
    transition: .3s ease-in-out;
}

.ready-set__block {
    overflow: auto hidden;
}

.ready-set__boxes {
    display: flex;
    width: 100%;
}

.ready-set__box {
    flex-shrink: 0;
    width: 100%;
}

.ready-set__box ol {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Inter Variable';
    font-size: 10px;
    line-height: 23px;
    color: #333;
}

p.ready-set__text {
    margin: 0 0 10px;
    font-family: 'Inter Variable';
    font-size: 10px;
    line-height: 13px;
    color: #333;
}

p.ready-set__text span {
    color: #333;
}

p.ready-set__text span.color-description {
    display: inline;
}

p.ready-set__text span.color-description.mobile {
    display: none;
}

.ready-set__colors {
    margin: 0 2px 10px;
    display: flex;
    gap: 2px;
}

.ready-set__color {
    flex: 1;
    padding: 0;
    height: 34px;
    cursor: pointer;
    border-radius: 7px;
    border: none;
    background-color: transparent;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: .5s ease;
}

.ready-set__color.active {
    flex: 2.5;
    transition: .5s ease;
}

.ready-set__actions {
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #F4F4F4;
    border-radius: 7px;
}

.ready-set__action {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ready-set__types::before {
    content: '';
    position: absolute;
    left: -5px;
    width: 1px;
    top: 0;
    bottom: 0;
    background-color: #333;
    border-radius: 1px;
}

.ready-set__action-btn {
    padding: 8px;
    flex: 1;
    background-color: #F4F4F4;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    box-shadow: 1px 1px 1.4px 0px #33333333;
    font-family: 'Inter Variable';
    font-size: 10px;
    line-height: normal;
    color: #33333380;
    text-transform: lowercase;
    transition: .3s ease-in-out;
}

.ready-set__action-btn.active {
    background-color: #fff;
    color: #333;
    transition: .3s ease-in-out;
}

.ready-set__btn {
    padding: 7px 10px;
    width: 100%;
    display: none;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 7px;
    font-family: 'Inter Variable';
    font-size: 14px;
    line-height: normal;
    color: #333;
    text-align: center;
    cursor: pointer;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-set__card.full-card .ready-set__btn {
    margin: 0;
}

.ready-set__btn.active {
    display: block;
}

.ready-set__btn:hover {
    background-color: #333;
    color: #fff;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-set__btn:active {
    background-color: #fff;
    color: #333;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.ready-set__model span,
p.ready-set__price span,
p.ready-set__text span {
    display: none;
}

.ready-set__model span.active,
p.ready-set__price span.active,
p.ready-set__text span.active {
    display: inline;
}

.ready-set__buttons-mob {
    display: none;
    gap: 7px;
}

.ready-set__buttons-mob>button {
    flex: 1;
    padding: 10px;
    width: 100%;
    background-color: #fff;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter Variable';
    font-size: 14px;
    line-height: normal;
    color: #333;
    text-align: center;
    box-shadow: 1px 2px 1.5px 0px #33333340;
}

.ready-set__edit-btn::before {
    content: 'Редактировать';
}

.ready-set__edit-btn.active::before {
    content: 'Закрыть';
}

.ready-set__info-btn::before {
    content: 'Состав комплекта';
}

.ready-set__info-btn.active::before {
    content: 'Закрыть';
}

.ready-set__more {
    margin: 30px auto 0;
    padding: 7px 10px;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #333;
    border: none;
    border-radius: 7px;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.ready-set__more:hover {
    background-color: #df8844;
    text-decoration: none;
    transition: background-color .3s ease-in-out;
}

.ready-set__more:active {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

.ready-set__more::before {
    content: 'Показать ещё';
}

.ready-set__more.active::before {
    content: 'Свернуть';
}

.ready-set__more::after {
    content: '';
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
    background-image: url('https://img.danila-master.ru/uploads/articlesImages/pages/main-menu/arrow-svg-hover2.svg');
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image .3s ease-in-out;
}

.ready-set__more.active::after {
    transform: rotate(-90deg);
}

/* fence */
.ready-fence {
    margin: 50px 0;
}

.ready-fence__slider-container {
    position: relative;
}

.ready-fence__slider {
    margin-bottom: 30px;
    border-radius: 7px;
    box-shadow: 7px 6px 8.9px 0px #33333338;
    overflow: hidden;
}

.ready-fence__txt {
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: #df8844;
    border-radius: 0 0 7px 0;
    font-family: 'Inter Medium';
    font-size: 18px;
    line-height: normal;
    color: #fff;
    text-transform: lowercase;
}

.ready-fence__card.full-card .ready-set__info {
    padding: 15px 30px 15px 0;
    width: calc(45% - 70px);
    display: flex;
    flex-direction: column;
}

.ready-fence__card.full-card .ready-set__images-wrapper {
    width: 55%;
}

.ready-fence__slider .ready-set__wrapper {
    margin: 0;
}

.ready-fence__visual {
    position: relative;
    width: 55%;
    display: flex;
    flex-direction: column;
    align-self: normal;
}

.ready-fence__images {
    position: relative;
    height: 100%;
    aspect-ratio: 1914 / 1315;
}

.ready-fence__slider p.ready-set__text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: normal;
    color: #333;
}

p.ready-fence__dscr {
    margin: 0 0 20px;
    font-family: 'Inter Medium';
    font-size: 21px;
    line-height: normal;
    color: #333;
}

p.ready-fence__dop {
    margin: 10px;
    font-family: 'Inter Medium';
    font-size: 16px;
    line-height: normal;
    color: #333;
}

.ready-fence__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ready-fence__btn {
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
}

.ready-fence__btn:hover {
    background-color: #df8844;
}

.ready-fence__next {
    padding: 10px;
    width: 100%;
    background-color: #df8844;
    border: none;
    border-radius: 7px;
    font-family: 'Inter Variable';
    font-size: 14px;
    line-height: normal;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.ready-fence__next:hover {
    background-color: #333;
    transition: background-color .3s ease-in-out;
}

.ready-fence__next:active {
    background-color: #df8844;
    color: #fff;
    transition: background-color .3s ease-in-out;
}

.ready-fence__title {
    margin: 0 0 20px;
    font-family: 'Inter Variable';
    font-size: 24px;
    line-height: normal;
    color: #333;
    text-align: left;
    letter-spacing: unset;
}

.ready-fence__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ready-fence__item {
    width: calc((100% - 10px * 3) / 4);
    display: flex;
}

.ready-fence__content {
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 7px;
    overflow: hidden;
}

p.ready-fence__text {
    margin: 0 0 10px;
    font-family: 'Inter Medium';
    font-size: 21px;
    line-height: normal;
    color: #333;
}

p.ready-fence__descr {
    margin: 0;
    font-family: 'Inter Variable';
    font-size: 18px;
    line-height: normal;
    color: #333;
    transform: translateX(-100%);
    transition: transform 1s ease-out;
}

.ready-fence__item.animated p.ready-fence__descr {
    transform: translateX(0) !important;
    transition-delay: 0s;
    transition: transform 1s ease-out;
}

@media screen and (max-width: 1130px) {
    /* set */
    .ready-set__info {
        margin-top: 0;
    }
}

@media screen and (max-width: 1024px) {
    /* set */
    .ready-set__cards {
        gap: 50px 13px;
    }

    .ready-set__card {
        flex-direction: column;
        width: calc((100% - 13px) / 2);
    }

    .ready-set__card.full-card {
        gap: 15px;
    }

    .ready-set__images-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .ready-set__info {
        margin: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .ready-set__card.full-card .ready-set__info {
        width: calc(50% - 15px);
    }

    .ready-set__structure,
    p.ready-set__text span.color-description:not(.mobile),
    p.size-type-description {
        display: none;
    }

    .ready-set__boxes {
        flex-direction: column;
    }

    p.ready-set__text span.color-description.mobile {
        display: inline;
    }

    .ready-set__mobile1,
    .ready-set__mobile2 {
        max-height: 0;
        opacity: 0;
        transition: .5s ease-in-out;
    }

    .ready-set__mobile1.active,
    .ready-set__mobile2.active {
        max-height: 82px;
        opacity: 1;
        transition: .5s ease-in-out;
    }

    .ready-set__mobile2.active {
        max-height: 115px;
    }

    .ready-set__buttons-mob{
        display: flex;
    }

    .ready-set__btn {
        margin: auto auto 0;
    }

    /* fence */
    .ready-fence__slider {
        box-shadow: 0px 2px 4px 1px #00000040;
    }

    .ready-fence__card.full-card {
        flex-direction: column;
    }

    .ready-fence__visual {
        width: 100%;
    }

    .ready-fence__card.full-card .ready-set__info {
        padding: 15px 30px;
        width: calc(100% - 60px);
    }

    .ready-fence__item {
        width: calc((100% - 10px) / 2);
    }

    p.ready-fence__text>br {
        display: none;
    }

    p.ready-fence__dop {
        margin: 10px 30px 0;
        display: none;
    }

    .ready-fence__slider p.ready-set__text:nth-child(1) {
        display: none;
    }

    p.ready-fence__dscr {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    /* set */
    .ready-set__buttons {
        overflow: auto hidden;
    }

    .ready-set__btns {
        margin: 5px;
        gap: 15px;
    }

    .ready-set__button {
        width: 100%;
        min-width: 310px;
    }
}

@media screen and (max-width: 768px) {
    /* fence */
    .ready-fence__card.full-card .ready-set__info {
        padding: 15px;
        width: calc(100% - 30px) !important;
    }

    p.ready-fence__dop {
        margin: 15px 15px 0;
    }
}

@media screen and (max-width: 576px) {
    /* set */
    .ready-set__button {
        min-width: 230px;
        font-size: 16px;
    }

    .ready-set__button span.desktop {
        display: none;
    }

    .ready-set__button span.mobile {
        display: inline;
    }

    .ready-set__card,
    .ready-set__card.full-card .ready-set__img,
    .ready-set__card.full-card .ready-set__info {
        width: 100%;
    }

    .ready-set__card.full-card {
        flex-direction: column;
    }

    .ready-set__card.card-hidden {
        display: none;
    }

    .ready-set__card.card-hidden.active {
        display: flex;
    }

    .ready-set__card.full-card .ready-set__images-wrapper {
        width: 100%;
    }

    .ready-set__img {
        pointer-events: none;
    }

    .ready-set__btn {
        margin: 0;
    }

    .ready-set__more {
        display: flex;
    }

    /* fence */
    .ready-fence__item {
        width: 100%;
    }

    .ready-fence__txt {
        left: auto;
        right: 0;
        border-radius: 0 0 0 7px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    /* set */
    .ready-set__more {
        max-width: 100%;
    }

    /* fence */
    .ready-fence__actions {
        flex-direction: column;
    }
}