body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1em;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  position: relative;
  display: flex;
  justify-content: flex-start;
  margin-right: 1em;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  padding: 10px;
  cursor: pointer;
  position: relative;
}

.navbar-toggler span {
  display: block;
  width: 35px;
  height: 3px;
  background-color: #8B27F5;
  margin-bottom: 5px;
}

nav {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  background-color: white;
  padding: 1em;
  z-index: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

nav.mostrar {
  display: block;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin-bottom: 1em;
}

nav a {
  color: #blue;
  text-decoration: none;
}

.search-bar {
  flex-grow: 1;
  margin: 0 5em 0 1em;
  display: flex;
  justify-content: center;
}

.search-bar input[type="search"] {
  width: 80%;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 0.5em 0 0 00.5em;
  background-color: white;
}

.search-bar button {
  padding: 0.5em;
  border: none;
  border-radius: 0 0.5em 0.5em 0;
  background-color: #8B27F5;
  color: #fff;
  cursor: pointer;
  width: 40%;
}

.portada {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.portada img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.barra-productos {
  background-color: #ff6666;
  padding: 5px;
  text-align: center;
  width: 98%;
}

.barra-productos h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.imagenes {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.imagen {
  margin-bottom: 20px;
  text-align: center;
}

.galeria {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding: 10px;
  overflow-x: auto;
}

.foto {
  position: relative;
  display: inline-block;
  margin: 0 10px;
  width: 180px;
  height: 350px;
  flex-shrink: 0;
}

.foto img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}


footer {
  text-align: left;
  box-shadow: -1px -3px 5px rgba(0, 0, 0, 0.09);
  padding: 20px;
  margin: 50px auto 20px auto;
  font-size: 12px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: auto;
}

footer strong {
  font-weight: bold;
  font-size: 14px;
}

footer p {
  margin-bottom: 10px;
}

footer div {
  display: flex;
  align-items: center;
}



.oferta {
  position: relative;
  top: -50px;
  display: block;
  margin: 0 auto;
}

.portada-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portada-video video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 14px;
}

p {
  font-size: 12px;
}

/* Newsletter */
#newsletter {
  padding: 15px;
  color: #ffffff;
  background: #8B27F5;
}

#newsletter h1 {
  float: left;
}

#newsletter form {
  float: right;
  margin-top: 15px;
}

#newsletter input[type="email"] {
  padding: 4px;
  height: 25px;
  width: 250px;
}

.button_1 {
  background-color: #8B27F5;
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Posicionamiento en la esquina superior derecha */
.logo-3d-container {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
  height: 40px;
  perspective: 500px;
}

/* Estilos de la imagen y la animación */
.logo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
  animation: giroVentana 3s infinite ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes giroVentana {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.imagen-animacion {
  width: 320px;
  height: 200px;
  object-fit: contain;
}

.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 2px 2px 3px #999;
  transition: transform 0.3s ease;
}

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

/* 1. Estilo para el contenedor general (alineación horizontal) */
.contenedor-principal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  margin-top: 20px;
}

/* 2. Estilo para el contenedor circular (el círculo blanco) */
.circulo-imagen {
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* 3. Estilo para las imágenes dentro del círculo */
.circulo-imagen img {
  max-width: 80%;
  max-height: 80%;
  height: auto;
  display: block;
}
.galeria {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding: 10px;
  overflow-x: auto;
  width: 100%;
}

.contenedor-tarjetas {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tarjeta-producto {
  width: 300px;
  height: 450px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.tarjeta-producto h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.tarjeta-producto img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.tarjeta-producto .precio-original {
  text-decoration: line-through;
  color: #000;
}

.tarjeta-producto .descuento {
  color: #000;
  font-size: 14px;
}

.tarjeta-producto .transferencia {
  font-weight: bold;
  color: #4CAF50;
}


.tarjeta-producto .cuotas {
  font-size: 14px;
  color: #4CAF50;
}


.tarjeta-producto .transferencia .descuento-porcentaje {
  color: #4CAF50;
  font-weight: bold;
}

.tarjeta-producto .descuento-monto {
  font-weight: bold;
  color: #000;
}

.tarjeta-producto .precio-descuento {
  font-weight: bold;
  color: #000;
  font-size: 18px;
}


.boton-ver-producto {
  text-align: center;
  margin-top: 20px;
}

.tarjeta-producto .ver-producto {
  background: #8B27F5;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

.boton-medidas {
  background-color: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  animation: pulse 2s infinite;
  margin-top: 20px;
  margin-bottom: 20px;
}

@keyframes pulse {
  0% {
    background-color: #8B27F5;
  }
  50% {
    background-color: #8677E6;
  }
  100% {
    background-color: #8B27F5;
  }
}
