/* Cart Page Styles */
.cart-page-section {
    padding: 100px 0;
    background-color: #111;
    min-height: 70vh;
}

.cart-page-section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.cart-page-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items-container {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

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

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #A5D6A7;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #A5D6A7;
    color: #111;
}

.quantity-value {
    margin: 0 10px;
    font-size: 1rem;
}

.cart-item-remove {
    background-color: transparent;
    color: #ff6b6b;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #ff4757;
    transform: scale(1.1);
}

.cart-summary-container {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.cart-summary-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.summary-item.total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
    font-size: 1.2rem;
    font-weight: bold;
}

.payment-options {
    margin-top: 30px;
}

.payment-options h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-btn {
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.stripe-btn {
    background-color: #6772e5;
    color: white;
}

.stripe-btn:hover {
    background-color: #5469d4;
}

.paypal-btn {
    background-color: #0070ba;
    color: white;
}

.paypal-btn:hover {
    background-color: #005ea6;
}

.continue-shopping {
    display: inline-block;
    margin-top: 30px;
    color: #A5D6A7;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.continue-shopping i {
    margin-right: 5px;
}

.continue-shopping:hover {
    color: white;
}

.empty-cart-message {
    text-align: center;
    padding: 50px 0;
}

.empty-cart-message h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.empty-cart-message p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #A5D6A7;
    color: #111;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: white;
}

@media (max-width: 768px) {
    .cart-page-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-container {
        position: static;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .cart-item-remove {
        margin-left: 0;
        margin-top: 15px;
    }
}
