/* 🔥 RESTAURAR BOOTSTRAP */

/* TIPOGRAFÍA */
body {
    font-family: var(--bs-body-font-family) !important;
}

/* TITULOS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-body-font-family) !important;
    font-weight: 600;
}

/* CONTENEDOR */
.container {
    max-width: 1200px !important;
}

/* ROW (ARREGLA ESPACIOS RAROS) */
.row {
    margin-left: calc(-.5 * var(--bs-gutter-x)) !important;
    margin-right: calc(-.5 * var(--bs-gutter-x)) !important;
}

/* COL */
[class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
}

/* BOTONES */
.btn {
    font-family: var(--bs-body-font-family) !important;
}

/* INPUTS */
input, select {
    font-family: var(--bs-body-font-family) !important;
}

/* 🔥 ARREGLO DE TU PROBLEMA VISUAL */
.product-title {
    font-size: 28px;
    font-weight: 700;
}

/* EVITA QUE EL TEXTO SE ESTIRE RARO */
p {
    line-height: 1.5;
}

/* =========================
   FIX PRODUCTOS
========================= */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* CONTENEDOR IMAGEN */
.product-img-container {
    width: 100%;
    height: 230px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* IMAGEN */
.product-img-container img {
    width: 100%;
    height: 100% !important;
    object-fit: cover; /* 🔥 más profesional */
}

/* CONTENIDO */
.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
}

/* TITULO */
.product-title {
    font-size: 14px;
    min-height: 40px;
}

/* BOTONES */
.product-actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

.colorprin{
   color: #389482 !important; 
}

.colorprinba{
   background-color: #389482 !important; 
}


/* agregar  */
/* =========================
   HOVER CARD
========================= */

.product-card {
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* =========================
   BOTONES OCULTOS
========================= */

.product-actions {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;

    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* MOSTRAR AL HACER HOVER */
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   AJUSTE CONTENIDO
========================= */

.product-content {
    padding-bottom: 60px; /* espacio para botones */
}

/* =========================
   EFECTO IMAGEN
========================= */

.product-img-container img {
    transition: transform 0.4s ease;
}

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

/* categoria */
/* =========================
   SCROLL HORIZONTAL
========================= */

.categorias-scroll {
    display: flex;
    gap: 20px; /* 🔥 separación entre cards */
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

/* ocultar scrollbar feo */
.categorias-scroll::-webkit-scrollbar {
    height: 6px;
}
.categorias-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* =========================
   CARD
========================= */

.categoria-card {
    min-width: 180px; /* 🔥 controla cuántos entran */
    flex: 0 0 auto;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

/* =========================
   ICONO
========================= */

.categoria-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 20px;
    transition: 0.3s;
}

.categoria-card:hover .categoria-icon {
    background: #2563eb;
    color: #fff;
}

/* =========================
   TEXTO
========================= */

.categoria-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.categoria-count {
    font-size: 12px;
    color: #777;
}

.usuarionombre {
    position: absolute;
    bottom: 40px;
    right: 12px;
    font-size: 12px;
    color: #6c757d;
    background: rgba(255,255,255,0.9);
    padding: 2px 8px;
    border-radius: 6px;
    pointer-events: none;
}

.menu-left{
    position: absolute !important; 
    left: 425px !important; /* ajusta el valor */
}

