.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.checkout-loader {
    text-align: center;
    color: white;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.payment-container {
    display: flex;
    width: 100%;
    gap: 150px;
}
.payment-customer-info {
    width: 492px;
}
.payment-block {
    width: 530px;
}
.payment-block .small_title {
    font-size: 16px;
}
.accordion {
    max-width: 1200px;
    border-block-end: 0.5px solid;
    border-color: gray;
}
.acc-item {
    border-block-start: 0.5px solid;
    border-color: gray;
    padding: 20px 5px;
}
.acc-input {
    appearance: none;
    position: absolute;
}
.acc-input:checked ~ .acc-content {
    max-height: 1000px;
    align-items: flex-start;
}
.acc-input:checked ~ .acc-title:after {
    content: "‒";
    font-weight: bold;
}
.acc-title {
    display: block;
    cursor: pointer;
    position: relative;
}
.acc-title:after {
    content: "+";
    display: block;
    height: 30px; width: 30px;
    text-align: center;
    color: #101010;
    position: absolute;
    top: 30%;
    right: 15px;
    transform: translateY(-50%);
    font-family: serif; font-weight: normal;
}
.acc-content {
    max-height: 0;
    margin-top: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.acc-content .text_large {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.acc-content .text_large ul {
    padding-left: 15px;
}
.acc-content .text_large ul li {
    padding-bottom: 8px;
}
.acc-content .text_large ul li::marker {
    color: #AD813F; /* Цвет маркера */
}
.acc-content .text_large span br {
    margin-bottom: 8px;
}
.accordion .name-field {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.accordion .place-field {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}
.accordion .delivery-info {
    width: 100%;
    margin-bottom: 20px;
}
.accordion .delivery-info .delivery-radio{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.accordion .delivery-info .delivery-radio .form-check {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Подпись справа, радио слева */
    margin-bottom: 10px; /* Отступ между кнопками */
}

.form-check-input {
    order: 1; /* Радиокнопка будет первой (слева) */
    margin-right: 10px; /* Отступ между радио и подписью */
}
.form-check-label {
    order: 2; /* Подпись будет второй (справа) */
}
.form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #252525;
    box-sizing: border-box;
}
.form-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #252525;
    box-sizing: border-box;
    background-color: #ffffff;
}
.btn-black {
    width: 100%;
    margin-top: 30px;
    background-color: black;
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
}
.btn-black:hover {
    background-color: #4A4A4A;
}
.btn-white {
    width: 100%;
    margin-top: 30px;
    background-color: white;
    color: black;
    padding: 16px;
    border: 1px solid;
    cursor: pointer;
}
.btn-white:hover {
    background-color: black;
    color: white;
    border-color: white;
}

.cart-info {
    max-height: 520px;
    margin-bottom: 20px;
    overflow-y: auto;
}
.cart-items {
    height: fit-content;
    padding: 20px 0;
    border-top: 0.5px solid gray;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.product {
    display: flex;
    border-bottom: 0.5px solid gray;
    padding-bottom: 20px;
}
.product .present-product {
    display: flex;
    gap: 40px;
}
.product .present-product img {
    object-fit: cover;
    width: 102px; height: 111px;
}
.product .manage-product {
    margin-left: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.price-info {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1330px) {
    .payment-container {
        gap: unset;
        justify-content: space-between;
    }
    .payment-customer-info {
        max-width: 492px;
        width: 100%;
    }
    .payment-block {
        width: 100%;
        max-width: 530px;
    }
}

@media screen and (max-width: 1160px) {
    .payment-container {
        flex-direction: column;
    }
    .cart-items {
        display: none;
    }
    .payment-customer-info {
        max-width: unset;
    }
    .payment-block {
        max-width: unset;
    }

}

@media screen and (max-width: 660px) {
    .acc-title:after {
        right: -12px;
    }
}