body {
    background-color: #550000
}

.cart-page {
    padding: 40px 0;
    min-height: 60vh;
}

.cart-page h1 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--light-color);
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items-section {
    background-color: #E8E4D6;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.empty-cart p {
    color: #666;
    margin-bottom: 30px;
}

.btn-continue {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: bold;
    transition: var(--transition);
}

.btn-continue:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.cart-item:hover {
    background-color: #f9f9f9;
}

.item-image {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image i {
    font-size: 40px;
    color: #ddd;
}

.item-details h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.item-details p {
    font-size: 13px;
    color: #666;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 5px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: #f0f0f0;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: bold;
}

.item-price {
    text-align: right;
}

.item-subtotal {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-remove {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #ffebee;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background-color: #ffcdd2;
}

.cart-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.summary-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-box h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-item span:last-child {
    font-weight: bold;
}

.shipping-info {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e0f7f6;
    border-radius: var(--border-radius);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 2px solid #eee;
    margin-bottom: 20px;
}

.btn-checkout {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout:hover {
    background-color: #45b8af;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

footer {
    background-color: var(--primary-color);
    color: var(--light-color)
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .item-quantity,
    .item-price,
    .btn-remove {
        grid-column: 2;
        justify-self: start;
    }

    .cart-sidebar {
        position: static;
    }

    .cart-page h1 {
        font-size: 24px;
    }
}