/* ILBAW — Tu rutina ideal */
.rt-page { padding: calc(var(--nav-h) + 36px) 16px 60px; background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%); min-height: 80vh; }
.rt-wrap { max-width: 760px; margin: 0 auto; }
.rt-hero { text-align: center; margin-bottom: 28px; }
.rt-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); margin: .3rem 0; color: var(--ink); }
.rt-hero h1 em { color: var(--cherry); }
.rt-hero p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }

.rt-progreso { height: 6px; background: var(--pink-3); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.rt-progreso div { height: 100%; background: var(--cherry); border-radius: 99px; transition: width .4s var(--ease-out); }

.rt-card, .rt-resultado { background: #fff; border-radius: 24px; box-shadow: var(--shadow-md); padding: 32px 28px; position: relative; }
.rt-card h2, .rt-resultado h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3.5vw, 2rem); margin: .2rem 0 .4rem; color: var(--ink); }
.rt-paso { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cherry); font-weight: 700; margin: 0; }
.rt-sub { color: var(--ink-soft); margin: 0 0 22px; }
.rt-atras { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: var(--ink-mute); font: inherit; font-size: .85rem; cursor: pointer; }

.rt-input { width: 100%; padding: 16px 20px; font: inherit; font-size: 1.05rem; border: 1.5px solid var(--pink-2); border-radius: 16px; margin-bottom: 16px; }
.rt-input:focus { outline: none; border-color: var(--cherry); box-shadow: 0 0 0 4px var(--pink-3); }

.rt-opciones { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.rt-opciones.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.rt-op { text-align: left; padding: 14px 18px; border: 1.5px solid var(--pink-2); border-radius: 16px; background: #fff; font: inherit; cursor: pointer; transition: all .2s; color: var(--ink); }
.rt-op b { display: block; font-size: 1rem; }
.rt-op span { display: block; font-size: .82rem; color: var(--ink-mute); margin-top: 2px; }
.rt-op:hover { border-color: var(--cherry-3); background: var(--cream); }
.rt-op.sel { border-color: var(--cherry); background: var(--pink-3); box-shadow: 0 0 0 3px var(--pink-3); }

.rt-tonos { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 10px 0 8px; }
.rt-tono { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--pink-2); cursor: pointer; transition: transform .2s; }
.rt-tono:hover { transform: scale(1.08); }
.rt-tono.sel { box-shadow: 0 0 0 3px var(--cherry); transform: scale(1.1); }
.rt-nota { text-align: center; font-size: .8rem; color: var(--ink-mute); }

.rt-siguiente, .rt-agregar { display: block; width: 100%; padding: 15px; border: 0; border-radius: var(--r-btn); background: var(--cherry); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.rt-siguiente:hover, .rt-agregar:hover { background: var(--cherry-2); }
.rt-siguiente:disabled { opacity: .4; cursor: not-allowed; }

/* Resultado */
.rt-perfil { color: var(--ink-soft); margin: 0 0 12px; }
.rt-bloque { margin-top: 26px; }
.rt-bloque h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin: 0 0 10px; color: var(--ink); border-bottom: 1px solid var(--pink-2); padding-bottom: 6px; }
.rt-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--pink-2); }
.rt-item.repetido { opacity: .7; align-items: center; }
.rt-item.repetido p { margin: 0; font-size: .85rem; color: var(--ink-mute); }
.rt-num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--pink-3); color: var(--cherry); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.rt-img { flex: 0 0 84px; height: 84px; border-radius: 14px; background: var(--cream); overflow: hidden; }
.rt-img img { width: 100%; height: 100%; object-fit: contain; }
.rt-info { flex: 1; min-width: 0; }
.rt-tipo { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cherry); font-weight: 700; }
.rt-nombre { color: var(--ink); font-weight: 700; text-decoration: none; }
.rt-nombre:hover { color: var(--cherry); }
.rt-porque { margin: 3px 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.4; }
.rt-precio { margin: 2px 0 0; font-weight: 800; color: var(--cherry); }
.rt-enc, .rt-ok { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }
.rt-enc { background: #fde9c4; color: #7a4b00; }
.rt-ok { background: #e3f5e8; color: #1d7a3a; }
.rt-cambiar { margin-top: 6px; background: none; border: 1px solid var(--pink-2); border-radius: 99px; padding: 4px 12px; font: inherit; font-size: .78rem; color: var(--ink-soft); cursor: pointer; }
.rt-cambiar:hover { border-color: var(--cherry); color: var(--cherry); }
.rt-notas { background: var(--cream); border-radius: 16px; padding: 12px 16px; margin-top: 22px; }
.rt-notas p { margin: 6px 0; font-size: .88rem; color: var(--ink-soft); }
.rt-total { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-top: 24px; padding: 16px; background: var(--pink-3); border-radius: 18px; }
.rt-total .rt-agregar { width: auto; padding: 14px 26px; }
.rt-aviso { font-size: .8rem; color: var(--ink-mute); line-height: 1.5; margin-top: 18px; }
.rt-rehacer { background: none; border: 0; color: var(--cherry); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }

/* Banner en la portada */
.rt-banner { max-width: 1160px; margin: 0 auto 48px; padding: 28px 32px; border-radius: 24px; background: linear-gradient(120deg, var(--pink-3), #fff 60%); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.rt-banner h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 0 0 4px; color: var(--ink); }
.rt-banner h3 em { color: var(--cherry); }
.rt-banner p { margin: 0; color: var(--ink-soft); }
.rt-banner a { background: var(--cherry); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 99px; white-space: nowrap; }
.rt-banner a:hover { background: var(--cherry-2); }

@media (max-width: 640px) {
  .rt-card, .rt-resultado { padding: 24px 18px; }
  .rt-tono { width: 48px; height: 48px; }
  .rt-img { flex-basis: 64px; height: 64px; }
  .rt-total .rt-agregar { width: 100%; }
  .rt-banner { margin: 0 16px 40px; padding: 22px; }
}
