.cart-page {
    padding: 40px 0;
}

.cart-page__title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.cart-page__content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start;
}

/* Левая колонка */
.cart-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Блок способов оплаты */
.payment-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;

}

.payment-badge {
    display: flex;
    justify-content: space-around;
    width: 100px;
}

.payment-badge__icon {
    width: 100px;
    height: 40px;
    padding: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.payment-badge__icon_mini {
    width: 25px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.payment-badge__icon--sberpay {
    background-image: url('/images/badges/sberpay.png');
}

.payment-badge__icon--sbp {
    background-image: url('/images/badges/sbp.png');
}

.payment-badge__icon--mir {
    background-image: url('/images/badges/mir.png');
}

.payment-badge__icon--social-certificate {
    background-image: url('/images/badges/social-certificate.svg');
}

.payment-badge__icon--card-online {
    background-image: url('/images/badges/card-online.svg');
}

.payment-badge__icon--yoomoney {
    background-image: url('/images/badges/yoomoney.jpg');
    background-size: 87px 69px;
}

/* Товары */
.cart-items {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cart-empty:before {
    content: '🛒';
    display: block;
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 100px 100px 100px 30px;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item__name {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.cart-item__category {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 8px;
}

.cart-item__size {
    font-size: 14px;
    color: #666;
}

.cart-item__price {
    color: #666;
    font-weight: 500;
}

.cart-item__quantity-block {
    display: flex;
    justify-content: center;
}

.cart-item__quantity {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.cart-item__quantity:focus {
    outline: none;
    border-color: #333;
}

.cart-item__total {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.cart-item__remove {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.cart-item__remove:hover {
    color: #ff4444;
}

/* Правая колонка - итоги */
.cart-summary {
    width: 40%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    position: sticky;
    top: 20px;
}

.cart-summary__title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.cart-summary__total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 2px solid #eee;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.cart-summary__total span:last-child {
    color: #666;
    font-weight: 500;
}

.cart-summary__btn {
    width: 100%;
    padding: 15px;
    background: #64a5bd;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 20px;
}

.cart-summary__btn:hover {
    background: #555;
}

/* Форма оформления */
.order-form {
    display: flex;
    background: #AED2EC;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}

.order-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1;
}

.order-total {
    margin: 20px 0;
}

.order-total:first-child {
    margin-right: 20px;
}

.order-popup__close svg {
    stroke: #2C3E50;
    transition: stroke 0.3s;
}

.order-popup__close:hover svg {
    stroke: #1A5276;
}

.order-form__title {
    font-size: 28px;
    color: #2C3E50;
    margin-bottom: 30px;
    text-align: center;
}

.order-form__field {
    margin-bottom: 20px;
}

.order-form__field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C3E50;
}

.order-form__btn {
    width: 100%;
    padding: 15px;
    background: #2C3E50;
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.order-form__btn:hover {
    background: #1A5276;
}

.order-legal-notice {
    font-size: 10px;
    font-weight: 300;
}
.order-legal-notice a {
    font-size: 10px;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-page__content {
        flex-direction: column;
    }

    .cart-left {
        width: 100%;
    }

    .cart-summary {
        width: 100%;
        position: static;
    }
}

.payment-methods {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payment-methods__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.flex-column {
    display: flex;
    flex-direction: column;

}

.flex-column_left {
    min-width: 60%;
    margin: 0 20px 0 0;
}

.delivery-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.delivery-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.delivery-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.delivery-address-field {
    margin-top: 10px;
}

.delivery-address-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.delivery-address-input:focus {
    outline: none;
    border-color: #666;
}

.delivery-zone-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #e65100;
    background: #fff3e0;
    padding: 8px 12px;
    border-radius: 4px;
}

#delivery-cost {
    color: #28a745;
    font-weight: 500;
}

.payment-info {
    padding: 20px;
    border-top: 1px solid #eee;
}

.payment-info__item {
    margin-bottom: 20px;
}

.payment-info__title {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.payment-info__content {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    color: #888;
}

.payment-info__content p {
}

.payment-info__content ul {
    margin: 0;
    padding-left: 20px;
}

.payment-info__content strong {
    font-weight: 500;
    color: #2f2d2d;
}