.products-top {
  margin-top: 5rem;
}

.detalle-container {
  width: 66%;
  margin: 1rem auto;
}

.detalle-content {
  display: flex;
  justify-content: space-between;
}

.left-column {
  max-width: 35%;
}

.left-column .img-container {
  /* background-color: #efefef; */
  margin-bottom: 2rem;
  /* margin-right: 2rem; */
}

/* .product-image {
  padding: 3rem 1rem;
} */

.right-column {
  max-width: 60%;
  background: url("/bundles/appfrontend/img/products/marca.png");
  background-position: center;
  background-repeat: no-repeat;
  height: fit-content;
  background-size: contain;
}

.right-column h2 {
  margin-bottom: 2rem;
  font-weight: 600;
  color: #0068b4;
}

.pdf-container h5 {
  font-weight: 600;
  color: #0068b4;
  margin-bottom: 2rem;
}

.related-prod-container {
  margin-top: 4rem;
}
.related-prod-container h3 {
  font-weight: 600;
}

.related-prod {
  display: flex;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.related-prod-card {
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #efefef;
}

.related-prod-card img {
  width: 100%;
  height: 180px; /* altura fija */
  object-fit: contain; /* mantiene proporción sin recortar */
  padding: 1rem 0;
}

.related-prod-card p {
  font-weight: 600;
  color: #0068b4;
  padding: 1rem;
  text-transform: uppercase;
}

/* PDF DROPDOWN */

.accordion-item {
  margin-bottom: 10px;
  border-radius: 3px;
  overflow: hidden;
}

.accordion-header {
  background: #0071ce;
  color: #fff;
  padding: 8px 16px;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
  border-radius: 0;
}

.accordion-header:hover {
  background: #005fae;
}

.accordion-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  /* background: #eaf3ff; */
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.accordion-content p {
  display: flex;
}

.accordion-content p a {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.accordion-content.open {
  padding: 12px 10px;
}

.accordion-content a {
  display: block;
  /* color: #004c99; */
  /* text-decoration: none; */
  margin-bottom: 6px;
}

.accordion-content a:hover {
  text-decoration: underline;
}

.related-prod-container {
  margin-top: 4rem;
}
.related-prod-container h3 {
  font-weight: 600;
}

.related-prod {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.related-prod-card {
  position: relative;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #efefef;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* efecto de fondo que sube */
.related-prod-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #0071ce;
  z-index: 0;
  transition: height 0.4s ease;
}

/* al hacer hover, el fondo se llena */
.related-prod-card:hover::before {
  height: 100%;
}

/* contenido por encima del efecto */
.related-prod-card img,
.related-prod-card p {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* tamaño uniforme de imágenes */
.related-prod-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 1rem 0;
}

/* texto */
.related-prod-card p {
  font-weight: 600;
  color: #0068b4;
  padding: 1rem;
  text-transform: uppercase;
}

/* al hacer hover, texto blanco */
.related-prod-card:hover p {
  color: white;
}

.left-column .img-container {
  /* background-color: #efefef; */
  margin-bottom: 2rem;
  width: 100%; /* Ocupa todo el ancho del contenedor */
  height: 300px; /* Altura fija o según diseño */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Evita que la imagen se salga */
  position: relative;
}

.left-column .img-container img.product-image,
.left-column .img-container picture {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mantiene proporción sin recortar */
  display: block;
}

@media (max-width: 768px) {
  .detalle-content {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    max-width: 100%;
  }

  .right-column {
    margin-top: 2rem;
  }
}
