/* cart style */

:root {
        --primary-color: #529f56;
        --secondary-color: #6c757d;
        --light-bg: #f8f9fa;
    }
    
    body {
        background-color: #f8f9fa;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .cart-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px 20px;
    }
    
    .cart-header {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .cart-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c5530;
        margin-bottom: 10px;
    }
    
    .cart-subtitle {
        font-size: 1.1rem;
        color: #6c757d;
    }
    
    .cart-content {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 30px;
    }
    
    @media (max-width: 992px) {
        .cart-content {
            grid-template-columns: 1fr;
        }
    }
    
    .cart-items {
        background: white;
        border-radius: 12px;
        /* padding: 30px; */
        padding: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .cart-item {
        display: flex;
        padding: 25px 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .cart-item:last-child {
        border-bottom: none;
    }
    
    .item-image {
        width: 120px;
        height: 120px;
        border-radius: 8px;
        object-fit: cover;
        margin-right: 20px;
    }
    
    .item-details {
        flex: 1;
    }
    
    .item-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2c5530;
        margin-bottom: 5px;
    }
    
    .item-price {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
    }
    
    .item-attributes {
        color: #6c757d;
        margin-bottom: 15px;
    }
    
    .item-actions {
        display: flex;
        gap: 15px;
    }
    
    .quantity-control {
        display: flex;
        align-items: center;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .quantity-btn {
        background: #f8f9fa;
        border: none;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .quantity-btn:hover {
        background: #e9ecef;
    }
    
    .quantity-input {
        width: 50px;
        height: 36px;
        border: none;
        text-align: center;
        background: white;
    }
    
    .remove-btn {
        background: none;
        border: none;
        color: #dc3545;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: color 0.2s;
    }
    
    .remove-btn:hover {
        color: #c82333;
    }
    
    .order-summary {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        height: fit-content;
        position: sticky;
        top: 30px;
    }
    
    .summary-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #2c5530;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }
    
    .summary-total {
        display: flex;
        justify-content: space-between;
        font-size: 1.3rem;
        font-weight: 700;
        color: #2c5530;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e9ecef;
    }
    
    .promo-code {
        margin: 25px 0;
    }
    
    .promo-input {
        display: flex;
        gap: 10px;
    }
    
    .promo-input input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #dee2e6;
        border-radius: 6px;
    }
    
    .btn-apply {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 6px;
        padding: 0 20px;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .btn-apply:hover {
        background: #3e7d42;
    }
    
    .btn-checkout {
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 15px;
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        cursor: pointer;
        transition: background 0.2s;
        margin-bottom: 15px;
    }
    
    .btn-checkout:hover {
        background: #3e7d42;
    }
    
    .btn-continue {
        background: white;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        border-radius: 8px;
        padding: 15px;
        font-size: 1rem;
        font-weight: 600;
        width: 100%;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-continue:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .empty-cart {
        text-align: center;
        padding: 60px 20px;
    }
    
    .empty-cart-icon {
        font-size: 4rem;
        color: #dee2e6;
        margin-bottom: 20px;
    }
    
    .shop-name {
        color: var(--primary-color);
        font-weight: 700;
    }

.btn-clear-cart 
{
    background-color: #dc3545;
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 6px;
    padding: 8px 16px;
    transition: 0.2s ease;
}

.btn-clear-cart:hover 
{
    background-color: #c82333;
}

    