/* Estilo general */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffaf5; /* Fondo beige claro */
  color: #333;
}

/* Encabezado */
header {
  display: flex;
  justify-content: space-between; /* Espacio entre logo, menú y carrito */
  align-items: center;
  height: 95px; /* Fija el grosor del header */
  padding: 0 20px; /* Ajusta el padding si es necesario */
  background-color: #f8ebe6; /* Beige suave */
  position: sticky; /* Mantener el header fijo al hacer scroll */
  top: 0; /* Posición fija en la parte superior */
  z-index: 1000; /* Asegurarse de que esté encima del contenido */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
}

header .logo img {
  height: 160px; /* Incrementa el tamaño del logo */
  width: auto; /* Asegura que se mantengan las proporciones */
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #d98596; /* Rosa claro */
  font-weight: bold;
}

/* Banner */
#banner {
  width: 100%; /* Ocupa todo el ancho */
  height: 60vh; /* Altura del banner */
  background-image: url('imagenes/banner-inicio.png'); /* Ruta correcta de tu imagen */
  background-size: cover; /* Ajusta la imagen al tamaño del contenedor */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background-color: #f8ebe6;
  color: #333;
}

/* Estilos para la sección de características */
.features {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background-color: #fffaf5; /* Fondo beige claro */
  padding: 40px 20px;
  margin-top: 20px;
}

.feature {
  text-align: center;
  max-width: 300px;
}

.feature img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.5rem;
  color: #d98596; /* Rosa claro */
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333; /* Texto oscuro */
}


/* Sección de productos más vendidos */
.products-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #fffaf5; /* Fondo beige claro */
}

.products-section h2 {
  color: #d98596;
  font-size: 2rem;
  margin-bottom: 20px;
}

.products-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  width: 220px; /* Tamaño compacto */
  border: 1px solid #e3d7d3;
  border-radius: 10px;
  background-color: #fff;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 1rem;
  color: #d98596;
}

.add-to-cart-btn {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #d98596; /* Rosa elegante */
  color: white;
  font-size: 0.9em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex; /* Para alinear el ícono con el texto */
  align-items: center;
  gap: 8px; /* Espaciado entre ícono y texto */
  transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
  background-color: #e3a4b1; /* Color más claro al pasar el mouse */
}

.ver-mas-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #d98596;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.ver-mas-btn:hover {
  background-color: #e3a4b1;
}
.cart-icon {
  position: relative; /* Necesario para que el contador sea posicionado relativo al carrito */
  display: inline-block;
  margin-right: 20px; /* Espacio entre el carrito y el borde derecho */
}


.cart-icon img {
  width: 30px;
  height: auto;
  cursor: pointer;
}

#cart-count {
  position: absolute;
  top: -10px; /* Ajusta la posición vertical */
  right: 0; /* Ajusta la posición horizontal */
  background-color: #d98596;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 7px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; /* Asegura que esté encima del carrito */
}

.hidden {
  display: none; /* Oculta el elemento */
}

.carrito-detalle {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 70px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 15px;
  z-index: 1000;
}

.carrito-detalle.hidden {
  display: none;
}

.carrito-detalle ul {
  list-style: none;
  padding: 0;
}

.carrito-detalle li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.carrito-detalle .remove-btn {
  background-color: #d98596;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
}

.carrito-detalle .remove-btn:hover {
  background-color: #e3a4b1;
}

.carrito-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.carrito-imagen {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

/* Opcional: estilo para placeholder */
.carrito-imagen[src$="placeholder.png"] {
  background: #f0f0f0;
}

.carrito-detalle {
  flex-grow: 1;
}

.carrito-controles {
  display: flex;
  gap: 10px;
}

.eliminar-btn {
  background-color: #d98596;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.carrito-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.carrito-imagen {
  width: 80px; /* Ancho deseado */
  height: 80px; /* Alto deseado */
  object-fit: cover; /* Ajusta la imagen para que se recorte y se vea bien */
  border-radius: 5px; /* Opcional: bordes redondeados */
}

.carrito-detalle {
  flex-grow: 1;
}

.carrito-controles {
  display: flex;
  gap: 10px;
}

.eliminar-btn {
  background-color: #d98596;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
}

/* Pie de página */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f8ebe6; /* Beige suave */
  color: #333;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 100px; /* Ajusta el tamaño del logo */
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #d98596; /* Color rosa elegante */
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: #e3a4b1; /* Color más claro al pasar el mouse */
}

/* Sección de imágenes del catálogo */
.catalogo-imagenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px auto;
  padding: 0 20px;
  justify-items: center;
}

.image-card img {
  width: 100%;
  max-width: 300px; /* Tamaño uniforme */
  height: auto;
  border-radius: 10px;
  border: 2px solid #f8ebe6; /* Borde sutil */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Botón para descargar el catálogo */
.download-catalog {
  text-align: center;
  margin: 30px 0;
}

.btn-download {
  display: inline-block;
  padding: 15px 20px;
  background-color: #d98596;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-download:hover {
  background-color: #e3a4b1;
  transform: scale(1.1);
}

.catalogo-boton-container {
  text-align: center;
  margin-top: 20px;
}

.catalogo-boton {
  display: inline-flex;
  align-items: center;
  background-color: #d98596; /* Color rosa elegante */
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  gap: 10px; /* Espaciado entre ícono y texto */
}

.catalogo-boton:hover {
  background-color: #e3a4b1; /* Color más claro */
  transform: scale(1.05);
}

.catalogo-icon {
  width: 24px; /* Tamaño del ícono */
  height: auto;
}

/* Centrar el texto */
#catalogo h2,
#catalogo p {
  text-align: center; /* Centra el título y el subtítulo */
}

/* Ajustar imágenes al mismo tamaño */
.catalogo-item img {
  width: 100%; /* Ocupa todo el contenedor */
  height: auto; /* Mantiene las proporciones */
  max-width: 300px; /* Tamaño máximo */
  border-radius: 10px; /* Bordes redondeados */
  display: block;
  margin: 0 auto; /* Centra las imágenes */
}

/* Título centrado */
#personalizacion h2 {
  text-align: center;
  color: #d98596; /* Rosa elegante */
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Pregunta y pasos */
.pregunta-como-funciona {
  margin: 20px auto;
  text-align: center;
  background-color: #fffaf5; /* Fondo beige claro */
  border: 1px solid #e3d7d3;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 700px;
}

.pregunta-como-funciona h3 {
  color: #d98596;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.pregunta-como-funciona ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.pregunta-como-funciona ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.pregunta-como-funciona ul li strong {
  color: #d98596;
}

/* Centrar el texto debajo del título */
#personalizacion p {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin: 10px 0;
}

/* Mensaje de disponibilidad */
.mensaje-disponibilidad {
  font-size: 0.9rem;
  color: #d98596; /* Color rosa elegante */
  margin-top: 5px;
}

/* Contenedor principal */
#productos-principales {
  padding: 40px 20px;
  background-color: #fffaf5; /* Beige claro */
}

/* Título de la sección */
#productos-principales h3 {
  text-align: center;
  color: #d98596; /* Rosa elegante */
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Grilla para los productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajuste dinámico */
  gap: 20px;
  justify-items: center;
}

/* Estilo de cada producto */
.producto {
  text-align: center;
  border: 1px solid #e3d7d3; /* Borde sutil */
  border-radius: 10px;
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra elegante */
  transition: transform 0.3s, box-shadow 0.3s;
}

.producto:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Imágenes de los productos */
.producto-imagen {
  width: 100%;
  height: auto;
  max-width: 200px; /* Tamaño uniforme */
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Nombre del producto */
.producto h4 {
  color: #d98596; /* Rosa elegante */
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Precio del producto */
.producto p {
  font-size: 1rem;
  color: #333;
  margin: 5px 0;
}

/* Botón de selección */
.btn-seleccionar {
  padding: 10px 20px;
  background-color: #d98596; /* Rosa elegante */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-seleccionar:hover {
  background-color: #e3a4b1;
}

.personaliza-bases {
  text-align: center;
  margin: 40px 20px;
}

.personaliza-bases h2 {
  color: #d98596;
  font-size: 2rem;
  margin-bottom: 10px;
}

.personaliza-bases p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
}

.bases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.base-card {
  cursor: pointer; /* Esto hace que aparezca la mano al pasar el mouse */
  text-align: center;
  background-color: #fff;
  border: 1px solid #e3d7d3;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.base-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.base-card h3 {
  font-size: 1.2rem;
  color: #d98596;
  margin: 10px 0;
}

.base-card p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 15px;
}

.base-card button {
  padding: 10px 15px;
  background-color: #d98596;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.base-card button:hover {
  background-color: #e3a4b1;
}


.volver-btn {
  padding: 10px 15px;
  background-color: #d98596;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.volver-btn:hover {
  background-color: #e3a4b1;
}

.hidden {
  display: none !important; /* Fuerza que el elemento esté oculto */
}

.variantes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: #fffaf5; /* Fondo beige claro */
  padding: 20px;
  border: 1px solid #e3d7d3; /* Borde sutil */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.variantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.variante-card {
  background-color: #fff;
  border: 1px solid #e3d7d3;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.variante-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.volver-btn {
  background-color: #d98596;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.volver-btn:hover {
  background-color: #e3a4b1;
}


/* Modal Animado */
#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
}


.modal.show {
  opacity: 1; /* Visible cuando se agrega la clase "show" */
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px; /* Tamaño máximo */
  max-height: 80vh; /* Limitar la altura */
  overflow-y: auto; /* Scroll en caso de contenido largo */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(0.8); /* Escala inicial */
  transition: transform 0.3s ease; /* Animación suave */
}

.modal.show .modal-content {
  transform: scale(1); /* Escala normal al mostrar */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #d98596;
}

.close-btn:hover {
  color: #e3a4b1; /* Color más claro al pasar el mouse */
}


.seleccionar-btn {
  padding: 10px 15px;
  background-color: #d98596;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.seleccionar-btn:hover {
  background-color: #e3a4b1;
}

#resumen {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.resumen-contenedor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resumen-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}

.resumen-imagen {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.botones-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

.ver-variantes-btn {
  background-color: #f4d3e8;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
}

.ver-variantes-btn:hover {
  background-color: #ecbcd9;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quantity-controls button {
  background-color: #f4d3e8;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
}

.quantity-controls button:hover {
  background-color: #ecbcd9;
}

.quantity-controls span {
  font-size: 16px;
  font-weight: bold;
}

.modal.hidden {
  display: none;
}

.modal.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.quantity-controls button {
  background-color: #d98596;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quantity-controls button:hover {
  background-color: #e3a4b1;
}

.quantity-controls span {
  font-size: 16px;
  font-weight: bold;
  width: 30px; /* Ancho fijo para consistencia */
  text-align: center;
}

/* Contenedor principal de subproductos */
.subproductos-container {
  max-width: 1200px; /* Ancho máximo de la sección */
  margin: 0 auto; /* Centra la sección horizontalmente */
  text-align: center; /* Centra el texto */
  padding: 20px;
  background-color: #fffaf5; /* Fondo beige claro */
}

/* Grilla para los subproductos */
.subproductos-grid {
  display: grid; /* Diseño en grilla */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Columnas adaptables */
  gap: 20px; /* Espaciado entre tarjetas */
  justify-items: center; /* Centra los elementos en la grilla */
}

/* Tarjetas de Subproductos */
.subproduct-card {
  text-align: center;
  background-color: #fff; /* Fondo blanco */
  border: 1px solid #e3d7d3; /* Borde sutil */
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra elegante */
  transition: transform 0.3s, box-shadow 0.3s;
  width: 220px; /* Ajusta el ancho */
  height: 320px; /* Ajusta la altura para consistencia */
  display: flex;
  flex-direction: column; /* Alinea elementos verticalmente */
  justify-content: space-between; /* Espaciado uniforme */
}

.subproduct-card:hover {
  transform: scale(1.05); /* Animación al pasar el mouse */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2); /* Sombra más fuerte */
}

/* Imagenes */
.subproduct-card img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
}

/* Títulos y Descripciones */
.subproduct-card h4 {
  font-size: 1.1rem;
  color: #d98596; /* Rosa elegante */
  margin-bottom: 5px;
}

.subproduct-card p {
  font-size: 0.9rem;
  color: #333; /* Texto oscuro */
  margin-bottom: 5px;
}

/* Controles de Cantidad */
.quantity-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls button {
  background-color: #d98596; /* Rosa elegante */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quantity-controls button:hover {
  background-color: #e3a4b1; /* Rosa más claro */
}

.quantity-controls span {
  font-size: 14px;
  font-weight: bold;
  width: 30px; /* Ancho fijo */
  text-align: center;
}

/* Estilo general para secciones */
.section-title {
  text-align: center;
  color: #d98596;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-description {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
}

/* Estilo para el resumen */
#resumen {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.resumen-contenedor {
  display: flex;
  flex-direction: column;
  gap: 10
}

/* Estilos para la sección de Datos del Cliente */
#datos-cliente {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}

.section-title {
  text-align: center;
  color: #d98596;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-description {
  text-align: center;
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

/* Contenedor del formulario */
#form-pedido {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Estilos para cada campo del formulario */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

/* Ajuste del campo de texto grande */
.form-group textarea {
  resize: vertical;
  height: 80px;
}

/* Botón de enviar */
.btn-procesar {
  background-color: #d98596;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-procesar:hover {
  background-color: #e3a4b1;
}

/* Estilo del contenedor del resumen */
#resumen-carrito {
  background-color: #fff; /* Fondo blanco */
  border-radius: 10px; /* Bordes redondeados */
  padding: 20px; /* Espaciado interno */
  max-width: 600px; /* Ancho máximo para mejor presentación */
  margin: 20px auto; /* Centrado */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  text-align: center;
}

/* Título del resumen */
#resumen-carrito h2 {
  color: #d98596; /* Rosa elegante */
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Total del carrito */
#resumen-carrito p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* Botón de seguir comprando */
.btn-seguir-comprando {
  margin-top: 15px;
  background-color: #d98596; /* Rosa elegante */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-seguir-comprando:hover {
  background-color: #e3a4b1; /* Color más claro */
}

.mensaje-disponibilidad {
  background-color: #fff3f4; /* Un tono rosa claro suave */
  border-left: 4px solid #d98596; /* Borde rosa más oscuro */
  padding: 10px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #333;
}

.flor-card {
  text-align: center;
  background-color: #fff;
  border: 1px solid #e3d7d3;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  width: 200px;
  cursor: pointer;
}

.flor-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.flor-card h3 {
  font-size: 1.2rem;
  color: #d98596;
  margin-top: 10px;
}

/* Estilo cuando una flor es seleccionada */
.flor-card.selected {
  border: 3px solid #d98596; /* Borde rosado */
  background-color: #f8d7da; /* Fondo más claro */
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
}


/* Contenedor de bases */
.bases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Contenedor de flores */
.flores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Tarjetas de base */
.base-card, .flor-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  width: 180px;
  transition: transform 0.2s ease-in-out;
}

.base-card:hover, .flor-card:hover {
  transform: scale(1.05);
}

/* Imagen dentro de cada tarjeta */
.base-card img, .flor-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Mensajes de disponibilidad */
.mensaje-disponibilidad {
  background: #fde8e8;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Estilo de la selección */
.base-card.seleccionada {
  border: 3px solid #d98596; /* Borde rosado */
  background-color: #f8d7da; /* Fondo más claro */
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
}


.personaliza-bases h2,
.personaliza-flores h2 {
  text-align: center;
  color: #d98596;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.bases-container,
.flores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Espaciado entre las tarjetas */
  padding: 10px 0;
}

.base-card,
.flor-card {
  margin-bottom: 20px; /* Espaciado entre filas */
}

.mensaje-disponibilidad {
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
}

.personaliza-flores {
  margin-top: 40px; /* Separa el Paso 2 del anterior */
}

.personaliza-flores p {
  text-align: center;
  width: 100%;
}

.categoria {
  text-align: center;
  margin-bottom: 40px;
}

h2 {
  font-size: 24px;
  color: #d17b93; /* Color rosa suave */
  font-weight: bold;
  margin-bottom: 15px;
}

.productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tarjeta {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 220px;
}

.tarjeta img {
  width: 160px;
  height: auto;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  color: #b05678; /* Color rosa más oscuro */
}

p {
  font-size: 14px;
  color: #555;
}

.contador {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.menos, .mas {
  background: #f4a5b6;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.menos:hover, .mas:hover {
  background: #d17b93;
}

.cantidad {
  font-size: 16px;
  font-weight: bold;
}

/* Contenedor principal del resumen */
#resumen {
  background-color: #fdf9f9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.resumen-contenedor {
  margin-top: 10px;
}

.resumen-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #fff;
}

.resumen-item span {
  font-size: 14px;
  color: #555;
}

.resumen-item button {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.resumen-item button:hover {
  background: #fdecea;
}

#resumen-total {
  text-align: right;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

.add-to-cart-btn {
  margin-top: 15px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background-color: #c0392b;
}

.resumen-item {
  display: grid;
  grid-template-columns: 2fr 1fr 40px; /* 2fr para el texto, 1fr para el precio, 40px para el botón X */
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 5px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #fff;
}

.resumen-item .resumen-descripcion {
  font-size: 14px;
  color: #555;
}

.resumen-item .resumen-precio {
  text-align: right;
  font-weight: bold;
  color: #333;
}

.resumen-item button {
  border: none;
  background: transparent;
  color: #e74c3c;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  padding: 4px;
  border-radius: 4px;
}

.resumen-item {
  display: grid;
  grid-template-columns: 2fr 1fr 40px; /* texto(2fr), precio(1fr), botón(40px) */
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  background-color: #fff;
  transition: box-shadow 0.2s;
}

.resumen-item:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.resumen-descripcion {
  font-size: 14px;
  color: #555;
}

.resumen-precio {
  text-align: right;
  font-weight: bold;
  color: #333;
}

.resumen-item button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  color: #e74c3c;
  transition: background 0.2s;
}

.resumen-item button:hover {
  background: #fdecea;
}

#resumen-carrito {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fdf9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

#resumen-carrito h2 {
  color: #d98596;
  margin-bottom: 15px;
}

.carrito-lista {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.carrito-item {
  display: grid;
  grid-template-columns: 2fr 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 5px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: box-shadow 0.2s;
}

.carrito-item:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.carrito-descripcion {
  font-size: 14px;
  color: #555;
}

.carrito-precio {
  text-align: right;
  font-weight: bold;
  color: #333;
}

.eliminar-item {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-weight: bold;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.eliminar-item:hover {
  background: #fdecea;
}

.btn-seguir-comprando {
  background-color: #d98596;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-seguir-comprando:hover {
  background-color: #e3a4b1;
}

.carrito-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 40px; /* 2fr para el nombre, 1fr para la cantidad, 1fr para el subtotal, 40px para el botón */
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 5px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: box-shadow 0.2s;
}

#datos-cliente {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  display: block;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}
.btn-procesar {
  background-color: #d98596;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.btn-procesar:hover {
  background-color: #e3a4b1;
}

/* Contenedor de los items en el carrito */
.carrito-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Cada item se muestra en grid: Nombre (2fr), Precio (1fr), Botón (40px) */
.carrito-item {
  display: grid;
  grid-template-columns: 2fr 1fr 40px;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 8px 12px;
  border: 1px solid #eee;
  border-radius: 6px;
  transition: box-shadow 0.2s;
}

.carrito-item:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.carrito-descripcion {
  font-size: 14px;
  color: #555;
}

.carrito-precio {
  text-align: right;
  font-weight: bold;
  color: #333;
}

.eliminar-item {
  background: transparent;
  border: none;
  color: #e74c3c;
  font-weight: bold;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.eliminar-item:hover {
  background: #fdecea;
}

/* Estilo del total */
.carrito-total {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

/* Botón seguir comprando */
.btn-seguir-comprando {
  margin-top: 15px;
  background-color: #d98596;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-seguir-comprando:hover {
  background-color: #e3a4b1;
}

.carrito-imagen {
  width: 50px;
  height: 50px;
  object-fit: cover; 
  border-radius: 5px;
  margin-right: 10px;
}

#resumen-carrito {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fdf9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

#datos-cliente {
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-vaciar {
  margin-top: 15px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-vaciar:hover {
  background-color: #e3a4b1;
}

.mensaje-antelacion {
  background-color: #fff3f4; /* Un rosa claro */
  border-left: 4px solid #d98596; /* Borde rosa */
  padding: 10px;
  margin-bottom: 15px; /* Separación inferior */
  font-size: 0.9rem;
  color: #333;
}

.mensaje-antelacion strong {
  color: #d98596; /* Para resaltar la palabra “Nota:” */
}

   /* Contenedor principal del FAQ */
   #faq {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
  }
  #faq h2 {
    text-align: center;
    color: #d98596; /* Rosa elegante */
    margin-bottom: 30px;
  }
  /* Cada tarjeta de FAQ */
  .faq-card {
    background-color: #fff;
    border: 1px solid #e3d7d3; /* Borde sutil */
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .faq-card:hover {
    transform: scale(1.02); /* Ligera ampliación al pasar el mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  /* Estilo para las preguntas */
  .faq-card h3 {
    color: #b05678; /* Rosa oscuro */
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  /* Estilo para las respuestas */
  .faq-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
  }

  /* Ajustar el menú para que se vea bien en móvil */
  header nav ul li a {
    font-size: 1.2rem;
    padding: 8px 0;
  }
  
  /* Puedes ajustar la altura del header si es necesario */
  header {
    height: auto;
    padding: 10px 20px;
  }
  
  /* Reducir el tamaño del logo en móviles */
  header .logo img {
    height: 120px;
  }

  /* hide hamburger & show menu en desktop */
.hamburger { display: none; }
#menu       { display: flex; }

/* móvil: hasta 600px, invertimos */
@media (max-width: 600px) {
  /* mostramos el botón hamburguesa */
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #d98596;
  }
  /* ocultamos el menú hasta hacer toggle */
  #menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  /* al hacer toggle agregas la clase .show */
  #menu.show {
    display: flex;
  }
}

.carrito-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
}

.carrito-imagen {
  width: 50px;
  height: auto;
  border-radius: 4px;
}

.carrito-descripcion {
  font-size: 0.95rem;
  color: #333;
}

.carrito-precio {
  font-weight: bold;
  white-space: nowrap;
}

/* Estilo compacto para el botón eliminar */
.carrito-item button {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: #e74c3c;
  cursor: pointer;
  padding: 4px;
}

/* Hover suavizado */
.carrito-item:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

