@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../webfonts/fa-solid-900.woff2?v=2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../webfonts/fa-regular-400.woff2?v=2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../webfonts/fa-brands-400.woff2?v=2") format("woff2");
}

/* Galería de la ficha: el sistema de portfolio-2, en el tamaño del bloque Gallery */
.bridge-detail-gallery .filters-button-group {
  margin-bottom: 14px;
  gap: 6px;
}

.bridge-detail-gallery .filters-button-group button {
  padding: 6px 14px !important;
  font-size: 12px;
  line-height: 1.4;
}

.bridge-detail-gallery.filter-container {
  margin-bottom: 8px !important;
}

.bridge-detail-gallery .filter-contents {
  height: auto !important;
}

.bridge-detail-gallery .grid-item {
  width: 33.333% !important;
  margin-bottom: 8px !important;
  padding-left: 4px;
  padding-right: 4px;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}

.bridge-detail-gallery .grid-item img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
}

.bridge-detail-gallery .fa-search {
  width: 34px !important;
  height: 34px !important;
  font-size: 13px;
}

@media (max-width: 575px) {
  .bridge-detail-gallery .grid-item {
    width: 50% !important;
  }
}

/* Carrusel de arriba: mismo marco que las fotos de la plantilla (1904×1006) */
.product-details-slider .swiper-slide > a,
.product-details-slider .swiper-slide > div {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1904 / 1006;
  overflow: hidden;
  background: #F6F5F2;
}
.product-details-slider .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
