/* === GENERAL === */
body {
    font-family: 'Poppins', sans-serif;
  }
  
  .text-rojo {
    color: #FF2124;
    font-size: 3rem;
  }
  
  .bg-rojo {
    background-color: #FF2124;
  }
  
  /* === SECCIÓN PRODUCTOS === */
  .productos-wrapper {
    padding: 3rem 1rem;
    background-color: #f5f5f5;
  }
  .card-body {
    display: flex;         /* <-- esto hace que se centre vertical y puede cortar */
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .card-body h5 {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
  
  
  /* === SIDEBAR IZQUIERDA: CATEGORÍAS === */
  .categorias-sidebar {
    min-width: 180px;
    margin-bottom: 2rem;
  }
  
  .categorias-sidebar h5 {
    font-weight: 700;
    color: #FF2124;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .categorias-sidebar .btn-categoria,
  .categorias-sidebar .categoria-card {
    background-color: #FF2124;
    color: white;
    border: none;
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .filtrar-movil {
    background-color: white;
    color: #A50F11;
    border: 2px solid #A50F11;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .filtrar-movil:hover {
    background-color: #A50F11;
    color: white;
  }
  
  
  .categorias-sidebar .btn-categoria:hover,
  .categorias-sidebar .btn-categoria.active,
  .categorias-sidebar .categoria-card:hover,
  .categorias-sidebar .categoria-card.activa {
    background-color: #A50F11;
  }
  
  .eliminar-filtros {
    font-size: 0.95rem;
    transition: color 0.3s ease;
    background-color: transparent;
    border: none;
    color: inherit;
    padding: 0.3rem 0;
  }
  
  .eliminar-filtros:hover {
    cursor: pointer;
  }
  
  /* === DIVISOR CENTRAL === */
  .divider {
    width: 1px;
    background-color: #ccc;
    height: 100%;
    margin: 0 1rem;
  }
  
  /* === GRID DE PRODUCTOS === */
  .productos-grid {
    flex-grow: 1;
  }
  
  .productos-grid h2 {
    font-weight: 700;
    margin-bottom: 2rem;
    color: #FF2124;
  }
  
  /* === CARD DE PRODUCTO === */
  .card-producto {
    position: relative;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    height: 100%;
  }
  
  .card-producto:hover {
    transform: translateY(-4px);
  }
  
  .card-producto img {
    height: 230px;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
  }
  
  .card-producto .card-body {
    background-color: #FF2124;
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
  }
  
  /* === OVERLAY "VER DETALLE" === */
  .ver-detalle-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: opacity 0.3s ease;
  }
  
  .card-producto:hover .ver-detalle-overlay {
    opacity: 1;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 992px) {
    .productos-filtrables {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
  
    .vr {
      display: none;
    }
  
    .card-producto img {
      height: 180px;
    }
  
    .categorias-sidebar {
      margin-bottom: 2rem;
    }
  }


@media (max-width: 767.98px) {
  .categorias-sidebar h5 {
    display: none;
  }

  .card-producto img {
    height: 160px;
    object-fit: contain;
  }

  .card-producto .card-body h5 {
    font-size: 0.95rem;
  }
}

  
  @media (max-width: 576px) {
    .card-producto img {
      height: 150px;
    }
  
    .card-producto .card-body {
      font-size: 0.95rem;
      padding: 0.75rem;
    }
  
    .productos-filtrables h2 {
      font-size: 1.75rem;
    }
  
    .categorias-sidebar .categoria-card {
      font-size: 0.9rem;
      padding: 0.6rem 0.8rem;
    }
  }


  
  