/**
 * Estilos para la página de productos
 * Archivo: productos.css
 */

/* Estilos para el contador de resultados y ordenamiento */
.total-resultados {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
  padding-top: 0.5rem;
}
.clear-filter{
  display: none !important;
}
.ordenar-form {
  display: inline-flex;
  align-items: center;
}

.subcategoria-link[data-subcategoria="Otros"],
.subcategoria-checkbox[value*="Otros"],
.form-check:has(.subcategoria-checkbox[value*="Otros"]) {
  display: none !important;
}

.ordenar-form label {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0;
  white-space: nowrap;
}

button.accordion-button.collapsed.categoria-toggle.is-disabled {
  opacity: .25 !important;
}

.is-disabled,
.is-disabled:hover {
  pointer-events: none;
  opacity: .25 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.2);
}

.ordenar-form .form-select {
  border-color: #dee2e6;
  font-size: 0.9rem;
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.ordenar-form .form-select:focus {
  border-color: rgba(0, 94, 184, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(0, 94, 184, 0.15);
}

/* Estilos para la paginación */
.pagination-container {
  margin: 2rem 0;
}

.pagination-container .page-numbers {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.pagination-container .page-numbers li {
  list-style: none;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem;
  text-decoration: none;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pagination-container .page-numbers a:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

.pagination-container .page-numbers .current {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
  font-weight: 600;
}

.pagination-container .page-numbers .prev,
.pagination-container .page-numbers .next {
  font-size: 0.75rem;
}

.pagination-container .page-numbers .dots {
  border: none;
  background: none;
  color: #6c757d;
  cursor: default;
}

.pagination-container .page-numbers .dots:hover {
  background: none;
  border: none;
  color: #6c757d;
}

.seccion-contacto {
  background: rgba(244, 248, 250, 0.6);
}
/* Responsive */
@media (max-width: 576px) {
  .pagination-container .page-numbers a,
  .pagination-container .page-numbers span {
    min-width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  main.main {
    margin-top: 30% !important;
}
.producto-marca.mb-3 {
    margin-top: 20px;
}
}

/* Media Query específica para zoom 150% en Windows */
@media only screen and (min-width: 853px) and (max-width: 854px) {
  main.main {
    margin-top: 12% !important;
  }
  
  .sidebar-filtros {
    padding: 1rem;
    height: auto;
    min-height: 200px;
  }
  
  .sidebar-filtros h4 {
    font-size: 1rem;
  }
  
  .producto-imgbox {
    height: 180px;
  }
  
  h3.producto-titulo {
    font-size: 1.1rem;
    padding: 8px 0px;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }
  
  .total-resultados {
    font-size: 0.85rem;
  }
  
  .ordenar-form label {
    font-size: 0.85rem;
  }
  
  .ordenar-form .form-select {
    font-size: 0.8rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
  }
  
  .pagination-container .page-numbers a,
  .pagination-container .page-numbers span {
    min-width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  
  .seccion-contacto {
    padding: 20px 0;
  }
}

main.main {
  margin-top: 8%;
}

/* Estilos para el breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0.75rem 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #003e7e;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "|";
  color: #6c757d;
}
h3.producto-titulo {
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  padding: 10px 0px;
}

/* Estilos para las imágenes de productos */
.producto-imgbox {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  overflow: hidden;
  position: relative;
}

.producto-imgbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.producto-placeholder {
  background: #0056b3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para la barra lateral de filtros */
.sidebar-filtros {
  background: rgba(244, 248, 250, 1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  min-height: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.sidebar-filtros h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}
.pdl-5 {
  padding-left: 5rem;
}
.titulo-producto {
  font-size: 2.25rem;
  font-weight: 700;
  color: #005eb8;
  margin-bottom: 10px;
}

.descripcion-producto {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.precio-producto {
  font-size: 1.5rem;
  font-weight: 700;
  color: #005eb8;
  margin-top: 15px;
}

.btn-producto {
  font-size: 0.875rem;
  padding: 8px 20px;
  background: #005eb8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.categoria-producto {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Estilos para categorías y subcategorías */
.categoria-item,
.subcategoria-item {
  margin-bottom: 0.5rem;
}

.categoria-link,
.subcategoria-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 0.4rem 0;
  transition: all 0.2s ease;
}
.noUi-horizontal .noUi-tooltip {
  display: none;
}

.categoria-link:hover,
.subcategoria-link:hover {
  color: #0056b3;
}

.subcategoria-link {
  font-size: 0.9rem;
  color: #666;
}

.subcategorias-container {
  border-left: 1px solid #eee;
}

.categoria-activa,
.subcategoria-activa {
  color: #0056b3 !important;
  font-weight: 600;
}

/* Estilos para botones de productos */
.btn-ver-producto {
  background: rgba(0, 94, 184, 1);
  color: #fff !important;
  border-radius: 20px;
  border: none;
  transition: background 0.2s;
  padding: 9px;
}

.btn-ver-producto:hover {
  background: #003e7e;
  color: #fff !important;
}

.btn-cotizar {
  background: none;
  border: none;
  color: rgba(0, 94, 184, 1) !important;
  font-weight: 600;
  border-radius: 8px;
  padding-left: 0;
  padding-right: 0;
  transition: color 0.2s;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-cotizar:hover {
  color: #003e7e !important;
  text-decoration: underline;
}

/* Animación para productos */
.producto {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.7s cubic-bezier(0.23, 1.01, 0.32, 1) forwards;
  transition: box-shadow 0.25s cubic-bezier(0.23, 1.01, 0.32, 1),
    transform 0.25s cubic-bezier(0.23, 1.01, 0.32, 1);
}

.producto:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 94, 184, 0.18),
    0 1.5px 6px 0 rgba(0, 0, 0, 0.08);
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
}

.producto:nth-child(1) {
  animation-delay: 0.05s;
}
.producto:nth-child(2) {
  animation-delay: 0.1s;
}
.producto:nth-child(3) {
  animation-delay: 0.15s;
}
.producto:nth-child(4) {
  animation-delay: 0.2s;
}
.producto:nth-child(5) {
  animation-delay: 0.25s;
}
.producto:nth-child(6) {
  animation-delay: 0.3s;
}
.producto:nth-child(7) {
  animation-delay: 0.35s;
}
.producto:nth-child(8) {
  animation-delay: 0.4s;
}
.producto:nth-child(9) {
  animation-delay: 0.45s;
}
.producto:nth-child(10) {
  animation-delay: 0.5s;
}
.producto:nth-child(11) {
  animation-delay: 0.55s;
}
.producto:nth-child(12) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para el slider de precio */
#slider-precio {
  margin: 10px 0 20px 0;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  border: none;
  box-shadow: none;
}

#slider-precio .noUi-base {
  height: 8px;
  border-radius: 4px;
}

#slider-precio .noUi-handle {
  background: rgba(0, 94, 184, 1);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 94, 184, 0.25);
  height: 20px;
  width: 20px;
  top: -6px;
  right: -10px;
  cursor: pointer;
  outline: none;
}

#slider-precio .noUi-handle:hover {
  background: rgba(0, 94, 184, 0.8);
}

#slider-precio .noUi-handle:before,
#slider-precio .noUi-handle:after {
  display: none;
}

#slider-precio .noUi-connect {
  background: rgba(0, 94, 184, 0.8);
}

#slider-precio .noUi-tooltip {
  background: rgba(0, 94, 184, 1);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 4px 8px;
}

.price-range-container {
  padding: 10px 0;
}

.price-labels {
  font-weight: 600;
  color: #333;
}

.precio-slider-container {
  border-radius: 8px;
}

.precio-label {
  display: flex;
  flex-direction: column;
}

.precio-label-text {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 2px;
}

.precio-valor {
  font-weight: 600;
  color: #0056b3;
}

/* Estilos para el botón Ver más */
.ver-mas-link {
  color: #0056b3;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  padding: 5px 15px;
  background: #e9f0f7;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.ver-mas-link:hover {
  background: #d0e2f3;
  color: #003e7e;
}

/* Estilos para el producto en la cuadrícula */
.producto {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 6px 24px 0px rgba(7, 33, 132, 0.12);
}

/* Estilos para sidebar móvil */
@media (max-width: 767.98px) {
  .sidebar-filtros {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    z-index: 1050;
    background: white;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar-filtros.show {
    left: 0;
  }
  
  .pdl-5 {
    padding-left: 1rem;
  }
}

/* Overlay para cerrar el sidebar móvil */
.mobile-filters-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}/**
 * Estilos para la página de productos
 * Archivo: productos.css
 */

/* Estilos para el contador de resultados y ordenamiento */
.total-resultados {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    padding-top: 0.5rem;
}

.clear-filter {
    display: none !important;
}

.ordenar-form {
    display: inline-flex;
    align-items: center;
}

.subcategoria-link[data-subcategoria="Otros"],
.subcategoria-checkbox[value*="Otros"],
.form-check:has(.subcategoria-checkbox[value*="Otros"]) {
    display: none !important;
}

.ordenar-form label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    white-space: nowrap;
}

button.accordion-button.collapsed.categoria-toggle.is-disabled {
    opacity: .25 !important;
}

.is-disabled,
.is-disabled:hover {
    pointer-events: none;
    opacity: .25 !important;
    cursor: not-allowed !important;
    filter: grayscale(0.2);
}

.ordenar-form .form-select {
    border-color: #dee2e6;
    font-size: 0.9rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.ordenar-form .form-select:focus {
    border-color: rgba(0, 94, 184, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(0, 94, 184, 0.15);
}

/* Estilos para la paginación */
.pagination-container {
    margin: 2rem 0;
}

.pagination-container .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.pagination-container .page-numbers li {
    list-style: none;
}

.pagination-container .page-numbers a,
.pagination-container .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.pagination-container .page-numbers a:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.pagination-container .page-numbers .current {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: 600;
}

.pagination-container .page-numbers .prev,
.pagination-container .page-numbers .next {
    font-size: 0.75rem;
}

.pagination-container .page-numbers .dots {
    border: none;
    background: none;
    color: #6c757d;
    cursor: default;
}

.pagination-container .page-numbers .dots:hover {
    background: none;
    border: none;
    color: #6c757d;
}

.seccion-contacto {
    background: rgba(244, 248, 250, 0.6);
}

/* Responsive */
@media (max-width: 576px) {
    .pagination-container .page-numbers a,
    .pagination-container .page-numbers span {
        min-width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    main.main {
        margin-top: 30% !important;
    }

    .producto-marca.mb-3 {
        margin-top: 20px;
    }
}

/* Media Query específica para zoom 150% en Windows */
@media only screen and (min-width: 853px) and (max-width: 854px) {
    main.main {
        margin-top: 12% !important;
    }

    .sidebar-filtros {
        padding: 1rem;
        height: auto;
        min-height: 200px;
    }

    .sidebar-filtros h4 {
        font-size: 1rem;
    }

    .producto-imgbox {
        height: 180px;
    }

    h3.producto-titulo {
        font-size: 1.1rem;
        padding: 8px 0px;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .total-resultados {
        font-size: 0.85rem;
    }

    .ordenar-form label {
        font-size: 0.85rem;
    }

    .ordenar-form .form-select {
        font-size: 0.8rem;
        padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    }

    .pagination-container .page-numbers a,
    .pagination-container .page-numbers span {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .seccion-contacto {
        padding: 20px 0;
    }
}

main.main {
    margin-top: 8%;
}

/* Estilos para el breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #003e7e;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    color: #6c757d;
}

h3.producto-titulo {
    color: rgba(0, 0, 0, 1);
    font-weight: bold;
    padding: 10px 0px;
}

/* Estilos para las imágenes de productos */
.producto-imgbox {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    position: relative;
}

.producto-imgbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.producto-placeholder {
    background: #0056b3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para la barra lateral de filtros */
.sidebar-filtros {
    background: rgba(244, 248, 250, 1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    min-height: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.sidebar-filtros h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.pdl-5 {
    padding-left: 5rem;
}

.titulo-producto {
    font-size: 2.25rem;
    font-weight: 700;
    color: #005eb8;
    margin-bottom: 10px;
}

.descripcion-producto {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

.precio-producto {
    font-size: 1.5rem;
    font-weight: 700;
    color: #005eb8;
    margin-top: 15px;
}

.btn-producto {
    font-size: 0.875rem;
    padding: 8px 20px;
    background: #005eb8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.categoria-producto {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos para categorías y subcategorías */
.categoria-item,
.subcategoria-item {
    margin-bottom: 0.5rem;
}

.categoria-link,
.subcategoria-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 0.4rem 0;
    transition: all 0.2s ease;
}

.noUi-horizontal .noUi-tooltip {
    display: none;
}

.categoria-link:hover,
.subcategoria-link:hover {
    color: #0056b3;
}

.subcategoria-link {
    font-size: 0.9rem;
    color: #666;
}

.subcategorias-container {
    border-left: 1px solid #eee;
}

.categoria-activa,
.subcategoria-activa {
    color: #0056b3 !important;
    font-weight: 600;
}

/* Estilos para botones de productos */
.btn-ver-producto {
    background: rgba(0, 94, 184, 1);
    color: #fff !important;
    border-radius: 20px;
    border: none;
    transition: background 0.2s;
    padding: 9px;
}

.btn-ver-producto:hover {
    background: #003e7e;
    color: #fff !important;
}

.btn-cotizar {
    background: none;
    border: none;
    color: rgba(0, 94, 184, 1) !important;
    font-weight: 600;
    border-radius: 8px;
    padding-left: 0;
    padding-right: 0;
    transition: color 0.2s;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cotizar:hover {
    color: #003e7e !important;
    text-decoration: underline;
}

/* Animación para productos */
.producto {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.7s cubic-bezier(0.23, 1.01, 0.32, 1) forwards;
    transition: box-shadow 0.25s cubic-bezier(0.23, 1.01, 0.32, 1),
    transform 0.25s cubic-bezier(0.23, 1.01, 0.32, 1);
}

.producto:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 94, 184, 0.18),
    0 1.5px 6px 0 rgba(0, 0, 0, 0.08);
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}

.producto:nth-child(1) {
    animation-delay: 0.05s;
}

.producto:nth-child(2) {
    animation-delay: 0.1s;
}

.producto:nth-child(3) {
    animation-delay: 0.15s;
}

.producto:nth-child(4) {
    animation-delay: 0.2s;
}

.producto:nth-child(5) {
    animation-delay: 0.25s;
}

.producto:nth-child(6) {
    animation-delay: 0.3s;
}

.producto:nth-child(7) {
    animation-delay: 0.35s;
}

.producto:nth-child(8) {
    animation-delay: 0.4s;
}

.producto:nth-child(9) {
    animation-delay: 0.45s;
}

.producto:nth-child(10) {
    animation-delay: 0.5s;
}

.producto:nth-child(11) {
    animation-delay: 0.55s;
}

.producto:nth-child(12) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el slider de precio */
#slider-precio {
    margin: 10px 0 20px 0;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    border: none;
    box-shadow: none;
}

#slider-precio .noUi-base {
    height: 8px;
    border-radius: 4px;
}

#slider-precio .noUi-handle {
    background: rgba(0, 94, 184, 1);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 94, 184, 0.25);
    height: 20px;
    width: 20px;
    top: -6px;
    right: -10px;
    cursor: pointer;
    outline: none;
}

#slider-precio .noUi-handle:hover {
    background: rgba(0, 94, 184, 0.8);
}

#slider-precio .noUi-handle:before,
#slider-precio .noUi-handle:after {
    display: none;
}

#slider-precio .noUi-connect {
    background: rgba(0, 94, 184, 0.8);
}

#slider-precio .noUi-tooltip {
    background: rgba(0, 94, 184, 1);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    padding: 4px 8px;
}

.price-range-container {
    padding: 10px 0;
}

.price-labels {
    font-weight: 600;
    color: #333;
}

.precio-slider-container {
    border-radius: 8px;
}

.precio-label {
    display: flex;
    flex-direction: column;
}

.precio-label-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 2px;
}

.precio-valor {
    font-weight: 600;
    color: #0056b3;
}

/* Estilos para el botón Ver más */
.ver-mas-link {
    color: #0056b3;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    padding: 5px 15px;
    background: #e9f0f7;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.ver-mas-link:hover {
    background: #d0e2f3;
    color: #003e7e;
}

/* Estilos para el producto en la cuadrícula */
.producto {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 6px 24px 0px rgba(7, 33, 132, 0.12);
}

/* Estilos para sidebar móvil */
@media (max-width: 767.98px) {
    .sidebar-filtros {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        z-index: 1050;
        background: white;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar-filtros.show {
        left: 0;
    }

    .pdl-5 {
        padding-left: 1rem;
    }
}

/* Overlay para cerrar el sidebar móvil */
.mobile-filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-filters-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Botón de cerrar en el sidebar móvil */
.mobile-filters-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    z-index: 1051;
}

.mobile-filters-close:hover {
    color: #333;
}


.mobile-filters-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Botón de cerrar en el sidebar móvil */
.mobile-filters-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  z-index: 1051;
}

.mobile-filters-close:hover {
  color: #333;
}
