.cart-section {
    padding: 30px 0 50px;
}

.page-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #0288D1;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    background: white;
    border: 2px solid #29B6F6;
    border-radius: 15px;
    overflow: hidden;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 50px;
    gap: 15px;
    padding: 15px 20px;
    background: #E1F5FE;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0288D1;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 50px;
    gap: 15px;
    padding: 20px;
    border-bottom: 2px solid #B3E5FC;
    align-items: center;
}

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

.item-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: #E1F5FE;
    border: 2px solid #29B6F6;
}

.item-details h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #333;
}

.item-sku {
    font-size: 0.8rem;
    color: #0288D1;
}

.item-quantity .quantity-selector {
    display: flex;
    align-items: center;
    width: 100px;
}

.item-quantity .quantity-selector input {
    width: 40px;
    text-align: center;
    padding: 8px;
    border: 2px solid #29B6F6;
    font-size: 0.9rem;
    background: #E1F5FE;
    -moz-appearance: textfield;
}

.item-quantity .quantity-selector input::-webkit-outer-spin-button,
.item-quantity .quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.item-quantity .qty-btn {
    width: 30px;
    height: 35px;
    border: 2px solid #29B6F6;
    background: #E1F5FE;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.item-quantity .qty-btn:hover {
    background: #29B6F6;
    color: white;
    border-color: #29B6F6;
}

.item-price {
    text-align: right;
}

.unit-price {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.total-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0288D1;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #E1F5FE;
    color: #f44336;
    border: 2px solid #f44336;
}

.cart-actions {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0288D1;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-continue:hover {
    color: #FFD700;
}

.cart-summary {
    background: white;
    border: 2px solid #29B6F6;
    border-radius: 15px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #29B6F6;
    color: #0288D1;
}

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

.free-shipping {
    color: #29B6F6;
    font-weight: 700;
}

.shipping-notice {
    background: #E1F5FE;
    color: #0288D1;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border: 2px solid #29B6F6;
}

.coupon-section {
    margin-bottom: 20px;
}

.coupon-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.coupon-input {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #29B6F6;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #E1F5FE;
}

.coupon-input input:focus {
    outline: none;
    border-color: #0288D1;
}

.coupon-input button {
    padding: 10px 20px;
    background: #29B6F6;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.coupon-input button:hover {
    background: #FFD700;
    color: #333;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 15px;
    border-top: 2px solid #29B6F6;
    font-size: 1.2rem;
    font-weight: 700;
}

.summary-total span:last-child {
    color: #0288D1;
}

.payment-info {
    background: #E1F5FE;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #29B6F6;
}

.payment-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
}

.payment-info p:last-child {
    margin-bottom: 0;
}

.payment-info i {
    color: #29B6F6;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #29B6F6 0%, #0288D1 100%);
    color: white;
    text-align: center;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.btn-checkout:hover {
    background: #FFD700;
    color: #333;
    transform: translateY(-2px);
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 0.85rem;
}

.security-badges i {
    color: #29B6F6;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty i {
    font-size: 5rem;
    color: #B3E5FC;
    margin-bottom: 20px;
}

.cart-empty h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0288D1;
}

.cart-empty p {
    color: #666;
    margin-bottom: 25px;
}

.recommended-products {
    padding: 50px 0;
    background: #E1F5FE;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .item-quantity, .item-price {
        justify-self: start;
    }
    
    .item-actions {
        justify-self: end;
    }
    
    .item-product {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-product img {
        width: 100%;
        height: 150px;
    }
    
    .item-details {
        width: 100%;
    }
    
    .item-quantity .quantity-selector {
        width: 120px;
    }
    
    .item-price {
        display: flex;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .coupon-input {
        flex-direction: column;
    }
    
    .cart-section {
        padding: 20px 0 40px;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    .cart-item {
        padding: 15px;
    }
    
    .cart-summary {
        padding: 20px;
    }
    
    .shipping-notice {
        font-size: 0.8rem;
    }
    
    .payment-info p {
        font-size: 0.8rem;
    }
    
    .btn-checkout {
        padding: 14px;
        font-size: 0.95rem;
    }
}