body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #5D4037;
}

header {
  background-color: #d8a1dd;
  color: #796467;
  padding: 10px;
  text-align: center;
}

header h2,
h3, p {
  text-align: center;
  color: #796467;
}

.logo {
  width: 260px;
  /* Ajusta el tamaño según sea necesario */
  height: auto;
  /* Mantiene la proporción original */
}

nav {
  display: flex;
  justify-content: center;
  background-color: #b2b2df;
  padding: 10px;
  flex-wrap: wrap;
}

nav a {
  color: #5D4037;
  text-decoration: none;
  padding: 10px 20px;
  margin: 5px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #a8a7d1;
  color: #FFF;
}

main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product {
  background-color: #fa97fd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 50px;
  margin-bottom: 15px;
}

.product-info {
  text-align: center;
}

.product-info h3 {
  margin-top: 0;
  color: #FF69B4;
}

.product-info p {
  margin-bottom: 15px;
  color: #362525;
}

.add-to-cart {
  background-color: #429baa;
  color: #240707;
  border: none;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s;
}

.add-to-cart:hover {
  background-color: #82dbdb;
}

footer {
  background-color: #1f0497;
  color: #ee73e4;
  padding: 20px;
  text-align: center;
}
footer p {
  text-align: center;
  color: #ee73e4;
}

footer a {
  color:#ee73e4;;
  text-decoration: none;
  margin: 0 10px;
}


.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.catalog-item {
  background-color: #60c8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.catalog-item:hover {
  transform: translateY(-5px);
}

.catalog-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.catalog-item-info {
  padding: 15px;
}

.catalog-item-info h4 {
  margin: 0 0 10px 0;
  color: #FF69B4;
}

.catalog-item-info p {
  margin: 0;
  font-size: 14px;
  color: #362525;
}
#Teminos,
#Politicas {
  color: #c2bbbb;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#Teminos,
#Politicas, h2, h4, p {
  text-align: center;
  color: rgb(111, 224, 224);
}

#Nosotros {
  color: #c2bbbb;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

#Nosotros
h2,
h4 {
  text-align: center;
  color: rgb(66, 199, 199);
}


#Nosotros
p {
  text-align: center;
  color: #79c5d6;
}

.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #1f9bb1;
  color: #160d0d;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1000;
}

.cart-icon:hover {
  background-color: #82dbdb;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #8ee4e4;
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.cart-modal-content {
  background-color: #a05846;
  margin: 15% auto;
  padding: 10px;
  border: 1px solid #202020;
  width: 50%;
  max-width: 250px;
  border-radius: 10px;
}

.close {
  color: #dfc4c4;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #a8e1f3;
  border-radius: 5px;
}

.cart-item button {
  background-color: #86a4d1;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.cart-item button:hover {
  background-color: #ec8f8f;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cart-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.clear-cart {
  background-color: #f86060;
  color: rgb(250, 250, 250);
}

.order-cart {
  background-color: #5ab15d;
  color: white;
}

.cart-actions :hover {
  background-color: #c1ebc4;
  color: rgb(73, 23, 23);
}

.price-options {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
}

.price-option {
  margin: 0 1px;
  padding: 5px 11px;
  border: 1px solid #03212e;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.price-option.selected {
  background-color: #34b4d1;
  color: white;
}

.price-options :hover {
  background-color: #7ba9e6;
}

.cart-total {
  font-weight: bold;
  margin-top: 15px;
  font-size: 18px;
  text-align: right;
}

#contacto {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contacto h2,
h1 {
  text-align: center;
  margin-bottom: 20px;
}

#cotacto-info {
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.contact-info,
.contact-form {
  background-color: #FFF;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.contact-info h2,
.contact-form h2 {
  color: #FF69B4;
  margin-top: 0;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: #2386f7;
}
.contact-info a {
  color:#2386f7;
}

.contact-info i {
  margin-right: 10px;
  color: #e61cc4;
  font-size: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-info i:hover {
  background-color: #FF69B4;
  color: #FFF;
  transform: scale(1.1);
}

form {
  display: grid;
  gap: 15px;
}

label {
  font-weight: bold;
}


input,
textarea {
  width: 100%;
  padding: 120px;
  border: 1px solid #FFB6C1;
  border-radius: 5px;
  font-size: 16px;
}

button {
  background-color: #FF4500;
  color: #FFF;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #FF6347;
}

form label {
  display: block;
  margin-top: 10px;
}

form input,
form textarea {
  width: 85%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #bd33aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #81193e;
}

.info-contacto {
  margin-top: 20px;
}

.mapa {
  margin-top: 20px;
}

.redes-sociales {
  text-align: center;
  margin-top: 20px;
}

.redes-sociales a {
  margin: 0 10px;
  display: inline-block;
}

.redes-sociales img {
  width: 40px;
  height: 40px;
}

.testimonials {
  margin-top: 40px;
  text-align: center;
}

.testimonial-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  padding: 20px;
  background-color: #fcc6ea;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
  color: #03212e;
}

.testimonial-author {
  font-weight: bold;
  color: #352626;
}

.testimonial-controls {
  margin-top: 20px;
}

.testimonial-controls button {
  background-color: #d63868;
  color: #FFF;
  border: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.testimonial-controls button:hover {
  background-color: #a76971;
}

.contact-form {
  margin: 0 auto;
  background-color: #ffffff;
  padding: 16px;
  /* Reducir el padding para reducir el espacio */
  border-radius: 30px;
  box-shadow: 0 0px 0px rgba(3, 0, 0, 0.1);
  width: 50%;
  /* Ajustar el ancho del formulario para que sea más compacto */
  margin: 20px auto;
  /* Agregar margen superior e inferior para que el formulario se vea más centrado */
}

.form-group {
  margin-bottom: 8px;
  /* Reducir el margen entre los campos del formulario */
}

.form-group input,
.form-group textarea {
  width: 85%;
  /* Ajustar el ancho de los campos al 100% para ocupar todo el espacio */
  padding: 8px;
  border: 1px solid #fdd3d3;
  border-radius: 1px;
  font-size: 15px;
}

.form-group textarea {
  height: 120px;
  /* Reducir la altura del campo de texto */
  resize: vertical;
}

.submit-button {
  background-color: #d63868;
  display: block;
  width: 40%;
  /* Ajustar el ancho del botón al 100% para que ocupe todo el espacio */
  margin: 0 auto;
  /* Centrar el botón de envío */
  color: #f3eeee;
  height: 50px;
  border: none;
  padding: 5px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 420px;
  overflow: hidden;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 350%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-button {
  position: absolute;
  top: 90%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 3px;
  cursor: pointer;
  font-size: 18px;
}

.carousel-button.prev {
  left: calc(50% - 30px);
  /* Ajusta la posición a 30px a la izquierda del centro */
}

.carousel-button.next {
  right: calc(50% - 30px);
  /* Ajusta la posición a 30px a la derecha del centro */
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #de23f7;
  color: rgb(255, 255, 255);
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  transition: background-color 0.3s;
}

#backToTop:hover {
  background-color: #cc76cf;
}

/* Para hacer que los botones sean flexibles en dispositivos móviles */
@media (max-width: 768px) {
  .carousel-button.prev {
    left: calc(50% - 20px);
  }

  .carousel-button.next {
    right: calc(50% - 20px);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  header h1 {
    font-size: 28px;

  }

  nav a {
    font-size: 16px;
  }

  .product img {
    max-width: 280px;
  }

  .add-to-cart {
    font-size: 14px;
  }

  .catalog-item-info p {
    font-size: 13px;
  }

  .cart-modal-content {
    margin: 20% auto;
    width: 90%;
  }

  .cart-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cart-total {
    font-size: 16px;
  }
}

/* Estilo básico para los íconos */
.social-media {
  display: flex;
  justify-content: center;
  gap: 10px;
  /* Espacio entre los íconos */
}

.social-media a img {
  width: 40px;
  /* Tamaño inicial del icono */
  transition: transform 0.3s ease;
}

.social-media a img:hover {
  transform: scale(1.1);
  /* Efecto de agrandamiento al pasar el mouse */
}

@media (max-width:468px) {
  .social-media a img {
    width: 30px;
    /* Reducir el tamaño de los iconos en pantallas pequeñas */
  }

  .social-media {
    gap: 5px;
    /* Reducir el espacio entre los íconos */
  }
}

/* Para pantallas medianas (tabletas) */
@media (min-width: 468px) and (max-width: 768px) {
  .social-media a img {
    width: 35px;
    /* Tamaño intermedio para pantallas medianas */
  }
}

/* Para pantallas grandes (escritorios) */
@media (min-width: 768px) {
  .social-media a img {
    width: 45px;
    /* Iconos más grandes en pantallas grandes */
  }
}