.body {
  background: linear-gradient(135deg, rgba(34, 34, 34, 0.85), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #25D366;
  font-size: 2.5rem;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

body {
  /* background: url("{{ asset('images/backgrounds/default4.jpg') }}") no-repeat center center fixed; */
  background-size: cover;
  position: relative;
  z-index: 1;
  font-family: 'Roboto', sans-serif !important;
  line-height: 1.4;
  font-size: 1rem;
}

.zoom-wrapper {
  transform: scale(0.80                                            );
  transform-origin: top center;
  width: 100%;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}

/* Estilos para las miniaturas (todas las miniaturas con el mismo tamaño) */
.thumbnail {
  cursor: pointer;
  border: 2px solid transparent;
  width: 136px; /* Fijo el ancho */
  height: auto; /* Que la altura se ajuste automáticamente */
  max-height: 136px; /* Limita la altura máxima para mantener la consistencia */
  object-fit: cover; /* Ajusta la imagen sin distorsión */
  display: block;
  margin-bottom: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




.thumbnail:hover {
  transform: scale(1.05);
  border-color: #d9534f;
}

.thumbnail.active {
  border-color: #d9534f;
}

.btn-danger:hover {
  transform: scale(1.05);
}

.main-image {
  border-radius: 15px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.3s;

  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}


.main-image:hover {
  transform: scale(1.03);
}


/* Estilos para los detalles del producto */
.product-details h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-details p {
  font-size: 1.2rem;
}

.product-details .price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #d9534f;
}

.product-details button {
  background-color: #d9534f;
  border-color: #d9534f;
  font-size: 1.2rem;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.product-details button:hover {
  background-color: #c9302c;
  border-color: #c9302c;
}
/* Responsive: Adaptar el tamaño de las miniaturas y disposición en pantallas pequeñas */
@media (max-width: 767px) {
  .col-md-2, .col-md-6, .col-md-4 {
    text-align: center; /* Centra el contenido */
  }

  /* Ajuste para las miniaturas en pantallas pequeñas */
  .col-md-2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .thumbnail {
    width: 80px; /* Reduzco el tamaño en pantallas pequeñas */
    max-height: 80px;
    margin: 5px;
  }

  .product-details h1 {
    font-size: 1.5rem; /* Reducir tamaño de fuente */
  }

  .product-details .price {
    font-size: 1.4rem; /* Reducir tamaño de la fuente */
  }

  .product-details button {
    font-size: 1rem; /* Ajustar tamaño del botón */
    padding: 0.4rem 1rem;
  }
}

/* Responsive para pantallas medianas (tabletas) */
@media (min-width: 768px) and (max-width: 991px) {
  .thumbnail {
    width: 100px; /* Ajuste moderado para pantallas medianas */
    max-height: 100px;
  }

  .product-details h1 {
    font-size: 1.8rem;
  }

  .product-details .price {
    font-size: 1.6rem;
  }

  .product-details button {
    font-size: 1.1rem;
  }
  .zoom-wrapper {
    transform: none !important;
    width: 100% !important;
  }
}
