/* Minimal custom styles for Bootstrap 5.3 product cards */

/* Transition utility for smooth animations */
.transition-all {
    transition: all 0.3s ease;
}

/* Hover shadow effect */
.hover-shadow-lg:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Image hover scale effect */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Title hover color */
.hover-primary:hover {
    color: var(--bs-primary) !important;
}

/* Button hover effects */
.hover-btn-primary:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 127, 237, 0.2);
}

.hover-btn-primary:active {
    transform: translateY(0);
}

.hover-btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(27, 127, 237, 0.15);
}

/* Font size utilities (extending Bootstrap) */
.fs-7 {
    font-size: 0.875rem;
}


@media (max-width: 480px) {
    .card-body {
        padding: 0.75rem !important;
    }

    .product-img-container {
        height: 120px;
    }

    .price-font-size{
        font-size: 1rem;
    }

    .discount-font-size{
        font-size: 0.625rem;
    }

    .cart-product-name{
        font-size: 1rem;
    }

    .hover-brand {
        font-size: 0.8rem;
    }
    /* .badge {
        font-size: 0.8125rem !important;
    } */
}

@media (min-width: 576px) { /* sm and up */
    .product-img-container {
        height: 180px;
    }
    
    .price-font-size{
        font-size: 1rem;
    }

    .discount-font-size{
        font-size: 0.75rem;
    }

    .product-name{
        font-size: 0.1.2rem;
    }
    
    .hover-brand {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-img-container {
            height: 150px;
    }
}

.see-all-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--title);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.see-all-btn:hover {
    background: var(--base);
    border-color: var(--base);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 127, 237, 0.2);
}

.hover-brand:hover {
    background: var(--base);
    border-color: var(--base);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 127, 237, 0.2);
}

