/* Páginas móviles públicas para tiendas: confirmación (/t/<token>) y solicitud de material (/solicitar). */
body { background: var(--page); min-height: 100vh; }
.t-hero {
  position: relative; overflow: hidden; color: #fff; padding: 28px 22px 86px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(0,144,226,.55), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(227,24,55,.3), transparent 60%), linear-gradient(160deg, var(--ink-800), #0b4677);
}
.t-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 2px, transparent 2.4px); background-size: 20px 20px; mask-image: linear-gradient(120deg, transparent 30%, #000); }
.t-hero > * { position: relative; max-width: 520px; margin: 0 auto; }
.t-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b9d0e6; }
.t-top img { width: 30px; height: 30px; }
.t-hero .eyebrow { margin-top: 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9fd3ff; font-weight: 600; }
.t-hero h1 { font-size: 30px; font-weight: 800; margin-top: 6px; line-height: 1.08; }
.t-hero .env { color: #c9dcef; margin-top: 6px; font-size: 15px; }
.t-wrap { max-width: 520px; margin: -62px auto 40px; padding: 0 16px; position: relative; }
.t-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-3); padding: 24px 22px; margin-bottom: 16px; }
.t-card h2 { font-size: 20px; font-weight: 800; }
.t-card > p { color: var(--text-2); margin: 6px 0 20px; }
.pin { display: flex; gap: 10px; justify-content: center; margin: 8px 0 18px; }
.pin input {
  width: 62px; height: 72px; text-align: center; font-family: 'DS Display'; font-size: 30px; font-weight: 800; border-radius: 16px;
  border: 1.5px solid var(--line-strong); background: var(--surface-2); outline: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out); caret-color: var(--blue);
}
.pin input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 5px rgba(0,144,226,.15); transform: translateY(-2px); }
.pin.bad input { border-color: var(--st-problema); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.msg { text-align: center; font-size: 13.5px; font-weight: 500; min-height: 20px; margin-bottom: 12px; color: #a32323; text-wrap: balance; }
.big-btn { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }
.mat { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mat:last-child { border-bottom: 0; }
.mat .ic { width: 40px; height: 40px; border-radius: 12px; background: #e6f4fd; color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.mat b { flex: 1; font-weight: 600; }
.mat .q { font-family: 'DS Display'; font-weight: 800; font-size: 18px; }
.ship { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 11px 13px; margin-top: 14px; font-size: 13.5px; color: var(--text-2); }
.ship .icon { color: var(--blue-deep); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.choice {
  border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: 18px; padding: 18px 14px; text-align: left;
  transition: all .22s var(--ease-out); display: flex; flex-direction: column; gap: 10px; min-height: 124px;
}
.choice .ci { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); transition: all .22s; }
.choice b { font-size: 15px; line-height: 1.2; }
.choice small { color: var(--text-3); font-size: 12.5px; }
.choice.si.on { border-color: var(--st-completado); background: #f0faf5; box-shadow: 0 10px 24px -12px rgba(22,160,93,.6); }
.choice.si.on .ci { background: var(--st-completado); color: #fff; }
.choice.no.on { border-color: var(--st-problema); background: #fdf3f3; box-shadow: 0 10px 24px -12px rgba(210,58,58,.55); }
.choice.no.on .ci { background: var(--st-problema); color: #fff; }
.photo-drop { border: 1.5px dashed var(--line-strong); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 12px; color: var(--text-2); cursor: pointer; transition: border-color .2s, background .2s; }
.photo-drop:hover { border-color: var(--blue); background: #f5faff; }
.photo-drop .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--surface-2); display: grid; place-items: center; }
.photo-prev { position: relative; }
.photo-prev img { width: 100%; border-radius: 16px; display: block; max-height: 280px; object-fit: cover; }
.photo-prev button { position: absolute; top: 10px; right: 10px; background: rgba(8,26,44,.7); color: #fff; border: 0; border-radius: 10px; width: 34px; height: 34px; display: grid; place-items: center; }
.done { text-align: center; padding: 34px 22px 26px; }
.done-ring { width: 104px; height: 104px; margin: 0 auto 18px; position: relative; }
.done-ring svg { width: 104px; height: 104px; }
.done-ring circle { stroke-dasharray: 302; stroke-dashoffset: 302; animation: draw .8s var(--ease-out) forwards; }
.done-ring path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: 26px; }
.done p { color: var(--text-2); margin: 8px 0 0; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetti i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 3px; opacity: 0; animation: burst 1s .5s var(--ease-out) forwards; }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.6); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1); } }
.summary-list { text-align: left; margin-top: 22px; background: var(--surface-2); border-radius: 16px; padding: 6px 14px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.summary-list div:last-child { border-bottom: 0; }
.summary-list span { color: var(--text-3); }
.foot { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 18px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.foot .icon { width: 14px; height: 14px; }
.stage-in { animation: fadeUp .45s var(--ease-out) both; }

/* ---------- /solicitar ---------- */
.steps { display: flex; gap: 6px; margin-top: 16px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); transition: background .3s; }
.steps i.on { background: #9fd3ff; }
.pin.six { gap: 8px; }
.pin.six input { flex: 1 1 0; min-width: 0; max-width: 56px; height: 64px; font-size: 26px; border-radius: 14px; }
.sent-to { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 14px; padding: 11px 13px; margin: -6px 0 16px; font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.sent-to .icon { color: var(--blue-deep); flex: none; }
.links { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.links .btn { padding-left: 10px; padding-right: 10px; }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text-2); transition: border-color .2s, background .2s, color .2s, transform .15s var(--ease-out);
}
.cat .icon { width: 15px; height: 15px; }
.cat:hover { border-color: var(--blue); color: var(--blue-deep); }
.cat:active { transform: scale(.97); }
.cat[aria-pressed="true"] { border-color: var(--blue); background: #e6f4fd; color: var(--blue-deep); }
.cat.otro { border-style: dashed; }
.picked { margin-top: 12px; }
.picked:empty { display: none; }
.picked .mat { padding: 10px 0; gap: 10px; }
.picked .mat.otro .ic { display: none; }
.picked .mat .input { flex: 1; min-width: 0; padding: 9px 11px; }
.picked .mat b { min-width: 0; overflow-wrap: anywhere; }
.stepper { display: flex; align-items: center; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 3px; flex: none; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text); display: grid; place-items: center; }
.stepper button:hover { background: #fff; }
.stepper button[disabled] { color: var(--line-strong); background: transparent; }
.stepper output { min-width: 26px; text-align: center; font-family: 'DS Display'; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.picked .rm { flex: none; }
.empty-mats { color: var(--text-3); font-size: 13.5px; margin-top: 10px; }
.summary-list .mats-sum { flex-direction: column; gap: 4px; }
.summary-list .mats-sum b { display: block; text-align: left; }

/* Texto libre: la descripción ocupa su propia línea y la cantidad va debajo */
.picked .mat.otro { flex-wrap: wrap; row-gap: 8px; }
.picked .mat.otro .ic { display: none; }
.picked .mat.otro .input { flex: 1 1 100%; min-width: 0; }
.picked .mat.otro .stepper { margin-right: auto; }
