 /* Cart Page Specific Styling */
 .cart-section {
    margin: 120px auto 60px;
    width: 90%;
    max-width: 1200px;
}

.cart-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.cart-header p {
    color: #777;
    font-size: 1.1rem;
}

.cart-header:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #651c01;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    display: none; /* Toggle this when cart is empty */
}

.empty-cart i {
    font-size: 5rem;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.empty-cart h2 {
    font-family: 'Playfair Display', serif;
    color: #555;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #777;
    margin-bottom: 25px;
}

.continue-shopping {
    display: inline-block;
    padding: 12px 24px;
    background-color: #651c01;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    background-color: #892603;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(101, 28, 1, 0.3);
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    max-height: 600px;
    overflow-y: auto;
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cart-item:hover .item-image img {
    transform: scale(1.1);
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.item-price {
    font-size: 1.1rem;
    color: #651c01;
    font-weight: 600;
    margin-bottom: 10px;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 5px 10px;
}

.quantity-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    color: #651c01;
}

.quantity {
    margin: 0 10px;
    font-weight: 500;
    width: 30px;
    text-align: center;
}

.remove-item {
    display: inline-flex;
    align-items: center;
    color: #888;
    border: none;
    background: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.remove-item i {
    font-size: 0.8rem;
    margin-right: 5px;
}

.remove-item:hover {
    color: #651c01;
}

.item-total {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
}

.cart-summary {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.summary-header {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-label {
    color: #777;
}

.summary-value {
    font-weight: 500;
    color: #333;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid #eee;
    margin-top: 15px;
    margin-bottom: 25px;
}

.summary-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.summary-total-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #651c01;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #651c01;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.checkout-btn:hover {
    background-color: #892603;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(101, 28, 1, 0.3);
}

.continue-shopping-link {
    display: block;
    text-align: center;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.continue-shopping-link:hover {
    color: #651c01;
}

.payment-options {
    margin-top: 25px;
    text-align: center;
}

.payment-options p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.payment-icons i {
    font-size: 1.8rem;
    color: #888;
    transition: color 0.2s ease;
}

.payment-icons i:hover {
    color: #651c01;
}

/* Alert message styles */
.alert {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.alert.show {
    transform: translateX(0);
}

.alert.success {
    border-left: 4px solid #28a745;
}

.alert.error {
    border-left: 4px solid #dc3545;
}

.alert i {
    font-size: 1.2rem;
}

.alert.success i {
    color: #28a745;
}

.alert.error i {
    color: #dc3545;
}

/* Responsive styles */
@media (max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-items {
        max-height: none;
    }
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        padding: 15px 0;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .item-actions {
        margin-top: 10px;
    }
    
    .item-total {
        display: none;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }

    .quantity-control {
        padding: 3px 8px;
    }

    .quantity-btn {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}