﻿/* ==========================================
   1. CATÁLOGO DE PRODUCTOS Y TARJETAS
   ========================================== */

.contador-productos {
    color: #243447 !important;
    border-bottom: 2px solid #E2D9CC;
    padding-bottom: 8px;
}

.producto-card,
.card-pampa {
    min-height: 320px;
    background-color: #FFFFFF !important;
    border: 1px solid #E2D9CC !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

    .producto-card:hover,
    .card-pampa:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
        border-color: #E08269 !important;
    }

/* Contenedor Limpio y Claro para Imagen (Misma base crema que el logo) */
.img-contenedor-catalogo,
.pampa-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: #FAF6EE !important;
    border-bottom: 1px solid #EAE1D2;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

    .img-contenedor-catalogo img,
    .pampa-img-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 10px;
    }

/* Tipografía de las Tarjetas */
.marca-catalogo {
    color: #8C7B6B !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.codigo-catalogo {
    color: #A09385 !important;
    font-size: 0.7rem;
}

.titulo-catalogo {
    color: black !important; 
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.precio-catalogo {
    color: #E08269 !important; /* Naranja Terracota */
    font-size: 1.2rem !important;
    font-weight: 800;
}

/* Botón Favorito Flotante */
.btn-favorito-flotante,
.btn-quitar-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(250, 246, 238, 0.9) !important;
    border: 1px solid #E2D9CC !important;
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    text-decoration: none;
}

    .btn-favorito-flotante:hover,
    .btn-quitar-fav:hover {
        transform: scale(1.1);
        background-color: #FFFFFF !important;
    }

    .btn-favorito-flotante .bi-heart-fill,
    .btn-quitar-fav .bi-heart-fill {
        color: #DC3545;
    }

    .btn-favorito-flotante .bi-heart {
        color: #8C7B6B;
    }

/* Botones Acción Tarjeta */
.btn-detalles {
    background-color: #E3AB6F !important;
    color: black !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn-detalles:hover {
        background-color: grey !important;
        color: #FFFFFF !important;
    }

/* Botón Consultar estilo outlined (Elegante y limpio) */
.btn-whatsapp {
    background-color: transparent !important;
    border: 1.5px solid #25D366 !important;
    color: #2D6A4F !important; /* Verde oscuro para lectura */
    font-weight: 600;
    transition: all 0.2s ease;
}

    /* Hover suave y sobrio */
    .btn-whatsapp:hover {
        background-color: #2D6A4F !important; /* Verde bosque cálido en vez de neón */
        border-color: #2D6A4F !important;
        color: #FFFFFF !important;
    }

/* ==========================================
   2. VISTA DETALLE DEL PRODUCTO
   ========================================== */

.img-detalle-cuadro {
    max-height: 480px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAF6EE !important;
    border: 1px solid #E2D9CC;
    border-radius: 12px;
    padding: 15px;
}

    .img-detalle-cuadro img {
        max-height: 450px;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.titulo-detalle {
    color: #243447 !important;
    font-size: 2.2rem !important;
    line-height: 1.2;
    font-weight: 700;
}

.precio-detalle {
    color: #E08269 !important;
    font-weight: 800 !important;
    font-size: 2rem !important;
}

.descripcion-detalle {
    color: #3A4750 !important;
    font-size: 1.05rem !important;
    line-height: 1.6;
    white-space: pre-line;
}

.lista-beneficios-detalle li {
    color: #3A4750 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
    display: flex;
    align-items: center;
}

    .lista-beneficios-detalle li i {
        color: #5A8370 !important;
        font-size: 1.15rem !important;
        margin-right: 12px !important;
    }

.bloque-marca-detalle {
    color: #8C7B6B !important;
    font-size: 1.05rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid #E2D9CC;
    padding-top: 1.2rem !important;
}

.btn-whatsapp-pro {
    background-color: #25D366 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
}

    .btn-whatsapp-pro:hover {
        background-color: #20BA5A !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    }

@media (max-width: 768px) {
    .titulo-detalle {
        font-size: 1.8rem !important;
    }

    .precio-detalle {
        font-size: 1.6rem !important;
    }

    .img-detalle-cuadro {
        max-height: 320px;
    }

        .img-detalle-cuadro img {
            max-height: 290px;
        }
}
