/* ===============================
   TECNOLOGÍA - QUIPU
   =============================== */

/* ======= FILTROS ======= */
.filtros-tecnologia {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.filtros-tecnologia:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.filtros-tecnologia .form-label {
  color: #555 !important;
}
.galeria-contenido{
    background-color: transparent !important;
}
.titulo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
.tarjeta-articulo {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}


.tarjeta-articulo img {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  height: 200px !important;
  object-fit: cover !important;
  background: #e9ecef !important;
}

.tarjeta-articulo .card-body {
  padding: 1rem !important;
}

.tarjeta-articulo .card-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #1d3557 !important;
}

.tarjeta-articulo .card-text {
  font-size: 0.9rem !important;
}

.tarjeta-articulo .btn {
  border-radius: 8px !important;
  border-color: transparent !important;
  transition: all 0.3s ease !important;
  background-color: #46ce6f;
}

.tarjeta-articulo .btn:hover {
  background-color: #1d572e !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(29, 53, 87, 0.4) !important;
}

/* ======= ORDEN ======= */
.orden select {
  border: 1px solid #ced4da !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  padding: 6px 10px !important;
  transition: border-color 0.2s ease !important;
}

.orden select:focus {
  border-color: #1d3557 !important;
  box-shadow: 0 0 6px rgba(29, 53, 87, 0.2) !important;
}

/* ======= PAGINACIÓN ======= */
.pagination .page-item.active .page-link {
  background-color: #1d3557 !important;
  border-color: #1d3557 !important;
  color: #fff !important;
}

.pagination .page-link {
  color: #1d3557 !important;
  border-radius: 6px !important;
  margin: 0 3px !important;
  transition: all 0.3s ease !important;
}

.pagination .page-link:hover {
  background-color: #1d3557 !important;
  color: #fff !important;
}
/* ====== ENCABEZADO DE FILTROS ====== */
.encabezado-filtros {
  background-color: #fafffb !important;
  border-bottom: 1px solid #1d572b !important;
  padding: 0.75rem 1rem !important;
  padding-bottom: 1.2rem !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}

.encabezado-filtros h6 {
  font-size: 1rem !important;
  color: #1d572b !important;
  display: flex !important;
  align-items: center !important;
}

.encabezado-filtros i {
  color: #1d572b !important;
  font-size: 1.1rem !important;
}

/* Botón cerrar (solo visible en móvil) */
.cerrar-filtros {
  border: none !important;
  color: #495057 !important;
  background-color: transparent !important;
  transition: all 0.3s ease !important;
}

.cerrar-filtros:hover {
  color: #1d3557 !important;
  background-color: #e9ecef !important;
}

/* Mejoras generales en el botón de mostrar filtros (versión móvil) */
.boton-filtro {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-weight: 600 !important;
  color: #1d3557 !important;
  border-color: #1d3557 !important;
  background-color: #fff !important;
}

.boton-filtro:hover {
  background-color: #1d3557 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(29,53,87,0.3) !important;
}
.back-icon{
    color: #3dad57;
}
.back-icon:hover{
    color: #1d572b !important;
}
hr{
    color: #1d572b !important;
    size: 3px !important;
    margin: 0 !important;
    border-top: 1px solid !important;
    opacity: 1 !important;
}
/* ======= RESPONSIVE ======= */
@media (max-width: 991px) {
  .filtros-tecnologia {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 75% !important;
    height: 100vh !important;
    z-index: 1050 !important;
    padding: 20px !important;
    overflow-y: auto !important;
    border-right: 2px solid #e9ecef !important;
  }

  #overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1040 !important;
  }

  .filtros-tecnologia.activo {
    display: block !important;
  }

  #overlay.activo {
    display: block !important;
  }

  .tarjeta-articulo img {
    height: 180px !important;
  }
}

/* ======= EFECTOS Y DETALLES ======= */
.card-title.text-truncate {
  max-width: 100% !important;
}

.text-black {
  color: #000000 !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* ======= SPINNER DE CARGA ======= */
.spinner-border.text-primary {
  color: #1d3557 !important;
}
