﻿/* productos.css */

/* Estilos personalizados para tarjetas de productos */
.product-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
    }

.product-image-container {
    height: 240px;
    background: #f8f9fa;
}

.product-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card:hover .image-overlay {
    opacity: 0.1;
}

.product-action-btn {
    width: 48px;
    height: 48px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-action-btn {
    transform: translateY(0);
    opacity: 1;
}

.product-title {
    font-size: 1.25rem;
    color: #2c3e50;
    min-height: 3rem;
}

.product-price .text-decoration-line-through {
    font-size: 0.875rem;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.star-rating i {
    font-size: 1rem;
}

.bg-light-primary {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-light-success {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.btn-lg.rounded-pill {
    padding: 0.75rem 1.5rem;
}

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

    .product-title {
        font-size: 1.1rem;
    }

    .fs-4 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .product-image-container {
        height: 180px;
    }

    .card-body {
        padding: 1rem !important;
    }
}
