/* Página de Limpieza Detallada. Usa los colores y componentes de site.css */
.dt { max-width: 66rem; margin: 0 auto; padding: 1.2rem 1.5rem 0; }

.dt-hero { position: relative; display: flex; align-items: center; min-height: 13rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #000; }
.dt-hero > img { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); }
.dt-hero-copy { position: relative; display: grid; gap: .4rem; padding: 1.3rem 1.6rem; max-width: 34rem; }
.dt-hero h1 { font-family: var(--display); font-stretch: 125%; font-style: italic; font-weight: 900; font-size: 2.6rem; line-height: 1; text-transform: uppercase;
  background: linear-gradient(180deg, #fff 8%, #e3e4e8 42%, #8d9098 58%, #e6e7ea 86%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dt-hero p { color: #e8e9ec; font-size: 1.15rem; font-weight: 400; }
.back-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; width: max-content; color: #fff; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* Indicador de pasos */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; list-style: none; margin: 1.1rem 0; padding: 0; }
.steps button { display: flex; align-items: center; gap: .55rem; width: 100%; min-height: 3rem; padding: .3rem .6rem; background: #060608; color: var(--muted); border: 1px solid var(--line-soft); border-radius: .6rem; cursor: pointer; font: 600 1.02rem/1.1 var(--narrow); text-align: left; }
.steps button:disabled { cursor: default; opacity: .6; }
.steps b { display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border: 1px solid currentColor; border-radius: 50%; font-size: .9rem; }
.steps .done button { color: #fff; border-color: var(--line); }
.steps .current button { color: #fff; border-color: #fff; opacity: 1; }
.steps .current b { background: var(--red); border-color: var(--red); }

/* Panel del paso */
.step-panel { padding: 1.4rem; }
.step-panel h2 { font: 600 1.7rem/1.15 var(--display); outline: none; }
.step-sub { margin: .25rem 0 1rem; color: var(--muted); font-size: 1.08rem; font-weight: 400; }
.step-panel .form-error { margin-top: .9rem; }
.step-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.step-nav .btn:disabled { background: #2c2c32; color: #85868e; cursor: not-allowed; box-shadow: none; }

/* Tarjetas de elección */
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.pick-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pick { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #060608; border: 1px solid var(--line); border-radius: .9rem; cursor: pointer; transition: border-color .15s; }
.pick input { position: absolute; inset: 0; z-index: 1; opacity: 0; margin: 0; cursor: pointer; }
.pick:hover { border-color: #fff; }
.pick:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.pick:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.pick img { width: 100%; height: 10rem; object-fit: cover; }
.pick-body { display: grid; flex: 1; gap: .25rem; align-content: start; padding: .8rem .95rem .9rem; }
.pick-body strong { font-size: 1.25rem; font-weight: 600; line-height: 1.15; }
.pick-body p { color: #d7d8dc; font-size: 1.02rem; font-weight: 400; line-height: 1.25; }
.pick-body .ico-l { margin-bottom: .2rem; }
.pick-price { margin-top: .3rem; font-weight: 700; }
.pick-price.pending { color: var(--muted); font-weight: 500; }
.pick-check { position: absolute; top: .55rem; right: .55rem; display: none; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--red); }
.pick-check .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2.6; }
.pick:has(input:checked) .pick-check { display: grid; }
.extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.empty-note { color: var(--muted); }

/* Resumen */
.summary { display: grid; grid-template-columns: 12rem 1fr; gap: 1.2rem; align-items: start; }
.summary img { width: 100%; height: 9rem; object-fit: cover; border-radius: .7rem; border: 1px solid var(--line-soft); }
.summary-lines { list-style: none; margin: 0; padding: 0; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
.summary-lines span:last-child { flex: none; color: #fff; font-weight: 600; }
.summary-lines .pending { color: var(--muted); font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .7rem; font-size: 1.2rem; }
.summary-total strong { font: 700 1.8rem var(--display); }
.summary-total strong.pending { color: #fff; font-size: 1.35rem; }
.summary-note { margin-top: .35rem; color: var(--muted); font-size: 1rem; font-weight: 400; }

/* Acciones */
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.action { display: grid; gap: .3rem; align-content: start; justify-items: start; min-width: 0; padding: 1rem; background: #060608; color: #fff; border: 1px solid var(--line); border-radius: .9rem; cursor: pointer; text-align: left; }
.action:hover:not(:disabled) { border-color: #fff; }
.action[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.action:disabled { cursor: not-allowed; opacity: .55; }
.action strong { font-size: 1.25rem; font-weight: 600; }
.action span { color: #d7d8dc; font-size: 1rem; font-weight: 400; line-height: 1.25; }
.action-form { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.action-form .request { max-width: none; margin: 0; padding: 0; background: none; border: 0; }
.action-form h3 { margin-bottom: .6rem; font: 600 1.3rem var(--display); }
.cart-note { margin-bottom: .7rem; padding: .6rem .8rem; background: #060608; border: 1px solid var(--line-soft); border-radius: .55rem; }

.date-row { display: flex; gap: .5rem; padding-bottom: .5rem; overflow-x: auto; }
.date-btn { flex: none; display: grid; justify-items: center; width: 4.6rem; min-height: 4.6rem; padding: .35rem 0; background: #060608; color: #fff; border: 1px solid var(--line); border-radius: .6rem; cursor: pointer; }
.date-btn small { color: var(--muted); font-size: .85rem; text-transform: capitalize; }
.date-btn b { font-size: 1.4rem; line-height: 1.15; }
.date-btn:hover { border-color: #fff; }
.date-btn[aria-pressed="true"] { background: #f7f7f8; color: #09090b; border-color: #fff; }
.date-btn[aria-pressed="true"] small { color: #3c3c43; }
.window-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 .9rem; }
.window-btn { min-height: 2.9rem; padding: 0 1.2rem; background: #060608; color: #fff; border: 1px solid var(--line); border-radius: .55rem; cursor: pointer; font-size: 1.05rem; font-weight: 600; }
.window-btn:hover { border-color: #fff; }
.window-btn[aria-pressed="true"] { background: #f7f7f8; color: #09090b; border-color: #fff; }
.slot-label { margin: .2rem 0 .4rem; font-weight: 500; }

/* Confirmación */
.done-box { display: grid; gap: .6rem; justify-items: start; }
.done-box .ok { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--red); }
.done-box p { font-size: 1.1rem; font-weight: 400; }

/* Carrito */
.cart-sheet { width: min(34rem, calc(100vw - 2rem)); }
.cart-list { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.cart-list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .8rem; background: #060608; border: 1px solid var(--line-soft); border-radius: .55rem; }
.cart-list button { flex: none; min-height: 2.75rem; padding: 0 .6rem; background: none; color: var(--muted); border: 0; cursor: pointer; font-size: 1rem; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 600; }

@media (max-width: 1240px) {
  .dt { padding: 1rem 1rem 0; }
}
@media (max-width: 860px) {
  .steps span { display: none; }
  .steps button { justify-content: center; padding: .3rem; }
  .steps .current span { display: inline; }
  .steps { grid-template-columns: repeat(4, 3rem) 1fr; }
  .steps li.current { grid-column: span 1; }
  .steps { display: flex; }
  .steps li { flex: none; width: 3rem; }
  .steps li.current { flex: 1; width: auto; }
  .pick-grid, .action-grid { grid-template-columns: 1fr; }
  .pick-grid.four, .extra-grid { grid-template-columns: 1fr 1fr; }
  .pick img { height: 9rem; }
  .summary { grid-template-columns: 1fr; }
  .summary img { height: 8rem; }
}
@media (max-width: 720px) {
  .dt-hero { min-height: 14rem; align-items: flex-end; }
  .dt-hero > img { width: 100%; opacity: .55; -webkit-mask-image: none; mask-image: none; }
  .dt-hero h1 { font-size: 2rem; }
  .dt-hero p { font-size: 1.02rem; }
  .step-panel { padding: 1rem; }
  .step-panel h2 { font-size: 1.45rem; }
  .step-nav .btn { flex: 1; padding: 0 .5rem; }
  .sheet-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .extra-grid { grid-template-columns: 1fr; }
}
#next-btn { margin-left: auto; }

/* Próximamente */
.dt-hero.is-soon .soon-badge { left: auto; right: 1rem; top: 1rem; }
.soon-card { cursor: default; }
.soon-card .pick-body { padding: .9rem 1rem 1.1rem; }
.soon-sub { margin: 1.4rem 0 .6rem; font: 600 1.05rem var(--narrow); }
.soon-extras { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.soon-extras li { padding: .4rem .8rem; color: #d7d8dc; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }
.soon-more { margin-top: 1.4rem; }
