/* Cart Modal Responsive Styles */

/* Cart item responsive */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #333;
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #333;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-family: 'Special Elite', cursive;
    margin-bottom: 0.25rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-price {
    color: #E63946;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-family: 'Creepster', cursive;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cart-qty-btn {
    background: #333;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-qty-btn:hover {
    background: #444;
}

.cart-qty-btn.plus {
    background: #E63946;
    color: #000;
}

.cart-qty-btn.plus:hover {
    background: #ff4757;
}

.cart-qty {
    font-size: 1.1rem;
    min-width: 25px;
    text-align: center;
    font-weight: 700;
}

.cart-remove-btn {
    background: #8B0000;
    border: none;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: 'Special Elite', cursive;
    font-size: 0.75rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.cart-remove-btn:hover {
    background: #DC143C;
}

/* Mobile Responsive - Tablets */
@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        padding: 0.75rem;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-remove-btn {
        flex: 1;
        text-align: center;
    }
}

/* Mobile Responsive - Phones */
@media (max-width: 480px) {
    .cart-item {
        gap: 0.75rem;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
        object-fit: cover;
    }
    
    .cart-item-controls {
        gap: 0.75rem;
    }
    
    .cart-qty-btn {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .cart-qty {
        font-size: 1.2rem;
        min-width: 35px;
    }
    
    .cart-remove-btn {
        width: 100%;
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}
