/* ORDER START */

main.order-page .order {
    padding-bottom: 60px;
}

.order__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.order-make {
    max-width: 760px;
    width: 100%;
}

.order-make__inner.active {
    display: block;
}

.order-make__inner {
    display: none;
}

.order-make__item-title {
    position: relative;
}

.order-make__inner .order-make__form-row.flex {
    justify-content: flex-start;
}

.order-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.rect-btn--order-make {
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    position: relative;
    background-color: transparent;
    border: 1px solid var(--main-blue);
    color: var(--main-blue);
    cursor: pointer;
}

.rect-btn--order-make input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.rect-btn--order-make:has(input:checked) {
    background-color: var(--main-blue);
    color: #fff;
}

.order-make__item.delivery-inputs {
    display: none;
}

.order-make__item:has(.order-delivery-courier:checked) ~ .order-make__item.delivery-inputs,
.order-make__item:has(.order-delivery-quick:checked) ~ .order-make__item.delivery-inputs,
.order-make__item:has(.order-delivery-service:checked) ~ .order-make__item.delivery-inputs {
    display: block;
}

.order-make__item + .order-make__item {
    margin-top: 50px;
}

.order-make__item-title span {
    font-size: 20px;
    font-weight: 500;
}

.order-make__item-title span.number {
    color: var(--main-blue);
}

.order-make__item-content {
    margin-top: 30px;
}

.order-make__form-row + .order-make__form-row {
    margin-top: 20px;
}

.order-make__form-row.flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.order-make__form-row.flex.cards {
    gap: 20px;
    flex-wrap: wrap;
}

.order-make__form-row.flex label:not(.order-make__card) {
    width: 50%;
}

.order-make__form-row label {
    display: block;
}

.order-make__form-row label p {
    font-size: 12px;
}
.order-make__form-row label p.hint {
    margin-top: 10px;
}

.order-make__form-row label p span {
    color: var(--ruby-color);
}

.order-make__form-row label input:not([type=radio]) {
    padding: 15px 25px;
    width: 100%;
    border: 1px solid #8c8c8c;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 5px;
}

.order-make__form-row label.index input {
    max-width: 135px;
    text-align: center;
}

.order-make__form-row label textarea {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid #8c8c8c;
    border-radius: 10px;
    resize: none;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    min-height: 125px;
    margin-top: 5px;
}

.order-make__form-row label input::placeholder,
.order-make__form-row label textarea::placeholder {
    font-size: 16px;
    line-height: 1.5;
}

label.order-make__card {
    width: 240px;
    border-radius: 5px;
    padding: 15px 12px 15px 15px;
    background-color: var(--filter-bg-color);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    transition: var(--alt-transition);
    position: relative;
    border: 1px solid transparent;
}

label.order-make__card .order-make__card-title::before,
label.order-make__card .order-make__card-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

label.order-make__card .order-make__card-title::before {
    left: -23px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--main-blue);
}

label.order-make__card .order-make__card-title::after {
    width: 8px;
    height: 8px;
    left: -19px;
    background-color: var(--main-blue);
    opacity: 0;
}

label.order-make__card:has(input:checked) {
    border-color: var(--main-blue);
}

label.order-make__card:has(input:checked) .order-make__card-pays img {
    filter: grayscale(0);
}

label.order-make__card input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin-top: 5px;
}

label.order-make__card:has(input:checked) .order-make__card-title::after {
    opacity: 1;
}

label.order-make__card .order-make__card-info {
    padding-left: 23px;
}

label.order-make__card .order-make__card-title {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.order-make__item-content .itc-select__toggle {
    padding: 10px 15px;
    font-size: 12px;
    font-style: normal;
    border: none;
}

.order-make__item-content .itc-select__toggle::after {
    background-image: url('../img/icons/select-arrow-black.svg');
    width: 8px;
    height: 4px;
}

.order-make__item-content .itc-select__dropdown {
    right: auto;
}

.order-make__pickup-address {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
}

.order-make__card-list li {
    position: relative;
    font-size: 12px;
    padding-left: 15px;
}

.order-make__card-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--ruby-color);
    border-radius: 50%;
}

p.order-make__card-cost {
    color: var(--subtitle-color);
    margin-top: 25px;
}

p.order-make__card-cost a {
    font-weight: 500;
}

.order-make__card-pays {
    display: flex;
    /* max-width: 120px; */
    flex-wrap: wrap;
    gap: 5px;
}

.order-make__card-pays li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    border: 1px solid #eaebed;
    width: 50px;
    height: 35px;
}

.order-make__card-pays li img {
    filter: grayscale(1);
    transition: var(--alt-transition);
}

a.tinkoff {
    color: var(--main-blue);
}

.order-apply {
    padding-top: 45px;
    padding-bottom: 60px;
}

.order-apply__return-to-catalog {
    position: relative;
    display: inline-block;
    color: var(--main-blue);
    font-size: 12px;
    margin-left: 20px;
}

.order-apply__return-to-catalog::after {
    content: '';
    position: absolute;
    background-image: url('../img/icons/return-catalog.svg');
    background-repeat: no-repeat;
    width: 13px;
    height: 9px;
    top: 50%;
    right: calc(100% + 7px);
    transform: translateY(-50%);
}

.order-apply__box {
    padding: 55px 0 55px 145px;
    background-color: var(--main-blue);
    border-radius: 10px;
    margin: 45px 0 0 0;
}

.order-apply__text-box {
    max-width: 350px;
}

.order-apply__text-box p {
    color: #fff;
}

.order-apply__box .order-apply__message {
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.5;
}

.order-apply__text-box .order-apply__text + .order-apply__text {
    margin-top: 10px;
}

.rect-btn--return-to-catalog {
    margin-top: 30px;
    border-radius: 5px;
    font-size: 16px;
}

.itc-select {
    width: auto;
    display: inline-block;
}

.itc-select .itc-select__option_selected {
    gap: 5px;
}

.order-confidence {
    position: relative;
    display: flex;
    cursor: pointer;
    padding-left: 20px;
    margin-top: 20px;
}

.order-confidence p,
.order-confidence a {
    font-size: 12px;
    color: #8c8c8c;
}

.order-confidence input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.order-confidence:has(input:checked)::after {
    opacity: 1;
}

.order-confidence::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid var(--subtitle-color);
    border-radius: 2px;
    background-color: #fff;
}

.order-confidence::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 2px;
    width: 11px;
    height: 9px;
    background: url(../img/icons/check.svg) center center / cover no-repeat;
    transition: var(--alt-transition);
    opacity: 0;
}

/* ORDER END */