
.tipos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.tipo {
  background-color: var(--azul);
  background-image: var(--capa), url("imagenes/regalos.png");
  background-size: cover;
  background-position: center;
  color: var(--crema);
  border: 3px solid transparent;
  border-radius: 10px;
  min-height: 130px;
  padding: 15px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.tipo:hover {
  transform: translateY(-3px);
  border-color: var(--rosa);
}


.tipo[aria-pressed="true"] {
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px var(--cafe);
}

.tipo-emoji {
  font-size: 2rem;
}

.tipo-nombre {
  font-size: 1.15rem;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.bloque {
  background-color: var(--azul);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.bloque h3 {
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--rosa);
}

.campo {
  display: block;
  margin-bottom: 15px;
}

.campo > span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.campo input,
.campo textarea {
  width: 100%;
  background-color: var(--crema);
  color: var(--cafe);
  border: 2px solid var(--rosa);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--cafe);
}

.modos {
  border: none;
  margin-bottom: 15px;
}

.modos legend {
  font-weight: bold;
  margin-bottom: 8px;
}

.modo {
  display: block;
  background-color: var(--crema);
  border: 2px solid var(--rosa);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

.modo:has(input:checked) {
  background-color: var(--rosa);
  border-color: var(--cafe);
}

.modo input {
  margin-right: 8px;
  accent-color: var(--cafe);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.chip {
  background-color: var(--crema);
  color: var(--cafe);
  border: 2px solid var(--rosa);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.chip:hover {
  background-color: var(--rosa);
}

.chip[aria-pressed="true"] {
  background-color: var(--cafe);
  border-color: var(--cafe);
  color: var(--crema);
}

.pick-titulo {
  margin: 15px 0 8px 0;
}

.pick-lista {
  list-style: none;
}

.pick-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background-color: var(--crema);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.pick-fila.activa {
  outline: 2px solid var(--rosa);
}

.pick-nombre small {
  display: block;
  font-size: 0.85rem;
}

.pick-n {
  min-width: 18px;
  text-align: center;
  font-weight: bold;
}

.resumen-datos {
  list-style: none;
  background-color: var(--crema);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.resumen-datos li {
  margin-bottom: 4px;
}

.resumen-datos li:last-child {
  margin-bottom: 0;
}

.aviso {
  font-size: 0.85rem;
  margin-top: 10px;
}

.aviso-faltan {
  background-color: var(--crema);
  border-left: 4px solid var(--rosa);
  border-radius: 6px;
  padding: 8px 10px;
}

@media (max-width: 600px) {
  .tipos {
    grid-template-columns: 1fr;
  }

  .tipo {
    min-height: 90px;
    flex-direction: row;
    gap: 12px;
  }
}