body {
  font-family: Arial, sans-serif;
  background-color: white;
  color: black;
  text-align: center;
}

.header {
  background-color: orange;
  padding: 10px;
}

.navbar-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
}

.navbar-btn:hover {
  background-color: #ff4500;
  transform: scale(1.05);
}

#productos-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.producto {
  background-color: orange;
  padding: 10px;
  border-radius: 10px;
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto img {
  width: 100%;
  border-radius: 10px;
}

button {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
}

#carrito-container {
  background-color: orange;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  margin: 20px auto;
  max-height: 500px;
  overflow-y: auto;
}

#carrito-container::-webkit-scrollbar {
  width: 8px;
}

#carrito-container::-webkit-scrollbar-thumb {
  background-color: #ff6600;
  border-radius: 10px;
}

#carrito-container::-webkit-scrollbar-track {
  background: #333;
}

#boton-carrito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

#boton-carrito:hover {
  background-color: #ff4500;
  transform: scale(1.1);
}

.producto:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

#formulario-pedido input {
  width: calc(100% - 20px);
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: none;
}

.buscador-container {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  width: 100%;
}

.input-wrapper {
  position: relative;
  width: 90%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.input-wrapper:hover {
  transform: scale(1.02);
}

.input-buscador {
  width: 100%;
  padding: 12px 20px 12px 45px;
  font-size: 1rem;
  border: 2px solid #ffcc00;
  border-radius: 30px;
  outline: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.input-buscador:focus {
  border-color: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}
.carrito-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

#lista-carrito {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#lista-carrito li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e0a96d;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  word-break: break-word;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#lista-carrito .nombre-producto-carrito {
  flex: 1;
  padding-right: 10px;
  text-align: left;
  color: #2c2c2c;
}

#lista-carrito .btn-eliminar {
  background-color: #c0392b;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

#lista-carrito .btn-eliminar:hover {
  background-color: #992d22;
}

.formulario-carrito {
  flex: 1;
  min-width: 300px;
  background-color: #ffd180;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#formulario-pedido {
  display: flex;
  flex-direction: column;
}

#formulario-pedido label {
  margin: 8px 0 4px;
  font-weight: bold;
  color: #333;
}

#formulario-pedido input {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: #fff3e0;
}

#enviar-whatsapp {
  background-color: #43d854;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#enviar-whatsapp:hover {
  background-color: #34af43;
}
.carrito-productos h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  color: #d35400;
  font-weight: bold;
}

.carrito-productos {
  flex: 1;
  min-width: 300px;
  max-height: 600px;
  overflow-y: auto;
  padding: 15px;
  border-radius: 12px;
  background-color: #ffe0b2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .carrito-flex {
    flex-direction: column;
    align-items: center;
  }

  .carrito-productos,
  .formulario-carrito {
    width: 90%;
    max-width: 500px;
  }

  #productos-container {
    flex-direction: column;
    align-items: center;
  }

  .producto {
    width: 90%;
    max-width: 300px;
  }

  .input-wrapper {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .carrito-flex {
    flex-direction: column;
    align-items: center;
  }

  .carrito-productos,
  .formulario-carrito {
    width: 90%;
    max-width: 500px;
  }

  #productos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
  }

  .producto {
    width: 100%;
    max-width: 160px;
  }

  .input-wrapper {
    width: 95%;
  }

  .input-buscador {
    width: 100%;
    font-size: 1rem;
    padding: 12px 16px 12px 40px;
  }
}
.buscador-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
}

.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.input-wrapper:hover {
  transform: scale(1.02);
}

.input-buscador {
  width: 100%;
  padding: 12px 20px 12px 45px;
  font-size: 1rem;
  border: 2px solid #ffcc00;
  border-radius: 30px;
  outline: none;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.input-buscador:focus {
  border-color: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

@media (max-width: 768px) {
  .buscador-container {
    padding: 10px;
  }

  .input-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 10px;
  }

  .input-buscador {
    font-size: 1rem;
    padding: 12px 16px 12px 40px;
    width: 100%;
  }
}
.producto input[type="text"],
.producto textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 14px;
}
#boton-ir-carrito {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #ff6600;
  color: white;
  font-size: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: background-color 0.3s, transform 0.2s;
}

#boton-ir-carrito:hover {
  background-color: #e65100;
  transform: scale(1.1);
}

.footer {
  background-color: orange;
  color: white;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
  font-weight: bold;
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-contenido {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cerrar {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.btn-politica {
  margin: 10px auto;
  background-color: #ffa500;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  display: block;
  width: fit-content;
  max-width: 90%;
}

