/* Дополнительные стили только для страницы корзины */
.cart-page-wrapper {
    width: 1518px;
    margin: 0 auto;
    position: relative;
}

.cart-item-base {
    display: none;
}

/* Хлебные крошки для корзины */
.cart-breadcrumb {
    font-family: 'GarciaMarquez', serif;
    font-size: 40px;
    color: #FFFFFF;
    margin-top: 120px;
    margin-bottom: 60px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.cart-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cart-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.cart-breadcrumb span {
    opacity: 0.6;
}

/* Основной контейнер корзины: две колонки */
.cart-container {
    display: flex;
    flex-direction: row;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

/* Левая колонка — изображение */
.cart-image-col {
    flex: 1.2;
    min-width: 300px;
}

.cart-main-image {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: #2a2a2a;
}

.cart-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-main-image img:hover {
    transform: scale(1.02);
}

/* Правая колонка — информация о заказе */
.cart-info-col {
    flex: 1;
    min-width: 320px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    padding: 40px 35px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Заголовок работы */
.cart-art-title {
    font-family: 'GarciaMarquez', serif;
    font-size: 42px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.cart-art-author {
    font-family: 'GarciaMarquez', serif;
    font-size: 28px;
    color: #CCCCCC;
    margin-bottom: 30px;
    border-left: 3px solid #FFFFFF;
    padding-left: 20px;
}

/* Блок с ценой */
.price-block {
    background: rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 15px;
}

.price-label {
    font-family: 'GarciaMarquez', serif;
    font-size: 22px;
    color: #DDDDDD;
}

.price-value {
    font-family: 'GarciaMarquez', serif;
    font-size: 48px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.price-value small {
    font-size: 22px;
    font-weight: normal;
}

/* Информация о доставке */
.delivery-info {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.delivery-title {
    font-family: 'GarciaMarquez', serif;
    font-size: 22px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-title svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'GarciaMarquez', serif;
    font-size: 18px;
    color: #E0E0E0;
    cursor: pointer;
}

.delivery-option input {
    width: 20px;
    height: 20px;
    accent-color: #FFFFFF;
    cursor: pointer;
}

.delivery-price {
    margin-left: auto;
    font-weight: 500;
    color: #FFFFFF;
}

/* Способы оплаты */
.payment-methods {
    margin-bottom: 35px;
}

.payment-title {
    font-family: 'GarciaMarquez', serif;
    font-size: 22px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-icon {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px 20px;
    font-family: 'GarciaMarquez', serif;
    font-size: 18px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    cursor: pointer;
}

.choosed-payment-icon {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 12px 20px;
    font-family: 'GarciaMarquez', serif;
    font-size: 18px;
    color: rgba(0,0,0);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    cursor: pointer;
}

/* Итоговая сумма */
.total-block {
    background: rgba(0,0,0,0.5);
    border-radius: 28px;
    padding: 25px;
    margin: 25px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.total-label {
    font-family: 'GarciaMarquez', serif;
    font-size: 28px;
    font-weight: 500;
    color: #FFFFFF;
}

.total-price {
    font-family: 'GarciaMarquez', serif;
    font-size: 44px;
    font-weight: 700;
    color: #FFFFFF;
}

.total-price small {
    font-size: 24px;
}

/* Кнопка оформления */
.checkout-button {
    width: 100%;
    background: #FFFFFF;
    border: none;
    border-radius: 60px;
    padding: 20px;
    font-family: 'GarciaMarquez', serif;
    font-size: 28px;
    font-weight: 600;
    color: #2C365A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.checkout-button:hover {
    background: #f5f5f5;
    transform: scale(1.02);
    gap: 18px;
}

.checkout-button:active {
    transform: scale(0.98);
}

/* Кнопка продолжить покупки */
.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'GarciaMarquez', serif;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.continue-shopping:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
    gap: 14px;
}

/* Кнопка продолжить покупки */
.delete-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'GarciaMarquez', serif;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.delete-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
    gap: 14px;
}

/* Блок дополнительных товаров (мини-галерея) */
.related-items {
    margin-top: 70px;
    margin-bottom: 80px;
}

.related-title {
    font-family: 'GarciaMarquez', serif;
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.related-grid {
    display: flex;
    gap: 35px;
    justify-content: center;
    flex-wrap: wrap;
}

.related-card {
    width: 260px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.2s;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.3);
}

.related-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.related-info {
    padding: 18px;
}

.related-name {
    font-family: 'GarciaMarquez', serif;
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.related-author {
    font-size: 16px;
    color: #BBBBBB;
    margin-bottom: 12px;
}

.related-price {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
}

/* Адаптация под мобильные экраны */
@media (max-width: 1600px) {
    .cart-page-wrapper {
        width: 90%;
    }
}

@media (max-width: 1024px) {
    .cart-breadcrumb {
        font-size: 32px;
        margin-top: 80px;
        margin-bottom: 40px;
    }
    .cart-art-title {
        font-size: 34px;
    }
    .cart-art-author {
        font-size: 24px;
    }
    .price-value {
        font-size: 38px;
    }
    .total-price {
        font-size: 36px;
    }
    .checkout-button {
        font-size: 24px;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .cart-breadcrumb {
        font-size: 24px;
        margin-top: 40px;
    }
    .cart-container {
        gap: 35px;
    }
    .cart-info-col {
        padding: 30px 20px;
    }
    .cart-art-title {
        font-size: 28px;
    }
    .cart-art-author {
        font-size: 20px;
    }
    .price-value {
        font-size: 32px;
    }
    .delivery-option {
        font-size: 16px;
        flex-wrap: wrap;
    }
    .delivery-price {
        margin-left: 35px;
    }
    .total-label {
        font-size: 24px;
    }
    .total-price {
        font-size: 32px;
    }
    .checkout-button {
        font-size: 20px;
    }
    .related-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .cart-art-title {
        font-size: 24px;
    }
    .price-value {
        font-size: 28px;
    }
    .total-price {
        font-size: 28px;
    }
    .checkout-button {
        font-size: 18px;
    }
}