* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f6e6ff 0%, #ffe1ec 100%);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  padding: 24px;
}

.telefono {
  width: 390px;
  max-width: 100%;
  height: 780px;
  max-height: 92vh;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.pantalla {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffeef5;
  border-radius: 32px;
  overflow-y: auto;
  padding: 28px 22px;
}

.pantalla-vista {
  display: none;
}

.pantalla-vista.activa {
  display: block;
}

/* --- Login --- */
.contenido-centrado {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  gap: 10px;
}

.logo {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #d6336c;
  margin-bottom: 24px;
}

.campo-label {
  font-size: 18px;
  color: #a4477a;
  font-weight: 700;
  margin-top: 8px;
}

.campo {
  font-size: 18px;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: #ffffff;
  margin-top: 6px;
  margin-bottom: 6px;
}

.campo:focus {
  outline: 3px solid #ffb3d1;
}

.boton-primario {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  background: #ff5c9e;
  border: none;
  border-radius: 20px;
  padding: 16px;
  margin-top: 18px;
  cursor: pointer;
}

.boton-primario:active {
  background: #e14e88;
}

.boton-secundario {
  font-size: 18px;
  font-weight: 700;
  color: #d6336c;
  background: transparent;
  border: none;
  padding: 12px;
  cursor: pointer;
}

.texto-error {
  font-size: 15px;
  font-weight: 700;
  color: #c0392b;
  min-height: 1.2em;
  margin: 4px 0;
}

.texto-error:empty {
  margin: 0;
}

/* --- Menú principal --- */
.aviso-pendiente {
  font-size: 14px;
  font-weight: 700;
  color: #a4720a;
  background: #fff3cd;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 0 8px;
}

.aviso-pendiente:empty {
  display: none;
}

.titulo-grande {
  font-size: 26px;
  font-weight: 800;
  color: #a4477a;
  text-align: center;
  margin: 6px 0 18px;
}

.buscador {
  width: 100%;
  font-size: 18px;
  padding: 14px 18px;
  border: none;
  border-radius: 20px;
  background: #ffffff;
  margin-bottom: 18px;
}

.buscador:focus {
  outline: 3px solid #ffb3d1;
}

.lista-categorias {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.item-categoria {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.08);
}

.item-categoria .icono {
  font-size: 34px;
}

.item-categoria .nombre {
  font-size: 22px;
  font-weight: 700;
  color: #d6336c;
}

.lista-ocasiones {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.chip-ocasion {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.08);
}

.chip-ocasion .icono {
  font-size: 20px;
}

.chip-ocasion .nombre {
  font-size: 15px;
  font-weight: 700;
  color: #d6336c;
}

/* --- Galería --- */
.boton-atras {
  font-size: 17px;
  font-weight: 700;
  color: #a4477a;
  background: transparent;
  border: none;
  padding: 6px 0 16px;
  cursor: pointer;
}

.grid-galeria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tarjeta-look {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.08);
}

.miniatura-look {
  position: relative;
}

.tarjeta-look img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.tarjeta-look.tarjeta-bloqueada img {
  filter: grayscale(35%);
  opacity: 0.85;
}

.candado-look {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border-radius: 50%;
  padding: 4px 6px;
  font-size: 14px;
}

.tarjeta-look .nombre-look {
  font-size: 15px;
  font-weight: 700;
  color: #a4477a;
  padding: 10px 12px;
}

/* --- Detalle --- */
.foto-grande {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}

.titulo-look {
  font-size: 22px;
  color: #d6336c;
  margin: 0 0 10px;
}

.subtitulo {
  font-size: 20px;
  font-weight: 800;
  color: #a4477a;
  margin: 12px 0 6px;
}

.texto-materiales {
  font-size: 17px;
  color: #6b3350;
  line-height: 1.5;
}

.contenedor-video {
  margin-top: 16px;
}

.contenedor-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 16px;
}

/* --- Registro --- */
.mensaje-registro {
  font-size: 15px;
  color: #d6336c;
  font-weight: 700;
  margin: 0 0 10px;
}

.mensaje-registro:empty {
  display: none;
}

.lista-planes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}

.tarjeta-plan {
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.08);
  border: 3px solid transparent;
}

.tarjeta-plan.seleccionada {
  border-color: #ff5c9e;
}

.nombre-plan {
  font-size: 18px;
  font-weight: 800;
  color: #a4477a;
}

.precio-plan {
  font-size: 16px;
  color: #d6336c;
  font-weight: 700;
}

.lista-metodos-pago {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.chip-metodo-pago {
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #a4477a;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.08);
  border: 3px solid transparent;
}

.chip-metodo-pago.seleccionado {
  border-color: #ff5c9e;
  color: #d6336c;
}

.bloque-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  margin: 6px 0 10px;
}

.qr-imagen {
  width: 160px;
  height: 160px;
  border-radius: 12px;
}

.qr-texto {
  font-size: 14px;
  color: #6b3350;
  text-align: center;
}
