/* ROVEX · checkout y seguimiento */
.top-row.mini { grid-template-columns: 1fr auto; min-height: 68px; }
.co { padding-top: 28px; padding-bottom: 72px; }
.co-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 800; margin-bottom: 24px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.co-main { display: grid; gap: 20px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.co-card h2 { font-size: 1.125rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.8125rem; font-weight: 700; flex: none; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .span2 { grid-column: 1 / -1; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt-body { display: grid; gap: 2px; padding: 14px 16px 14px 48px; min-height: 64px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); position: relative; }
.opt-body::before { content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.opt-body b { font-weight: 600; font-size: 0.9375rem; }
.opt-body small { color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.opt input:checked + .opt-body { border-color: var(--ink); background: var(--tile); }
.opt input:checked + .opt-body::before { border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--ink); }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt input:disabled + .opt-body { opacity: 0.5; cursor: not-allowed; }
.opt:active input:not(:disabled) + .opt-body { transform: scale(0.99); }
.pay-note { font-size: 0.8125rem; }
.co-side .sticky { position: sticky; top: 92px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.line img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--tile); }
.line-name { font-size: 0.875rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-qty { font-size: 0.8125rem; color: var(--muted); }
.line-price { font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.co-side .sum { margin: 12px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-side .btn { margin-top: 14px; }
.secure { font-size: 0.8125rem; text-align: center; margin-top: 12px; }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-side .sticky { position: static; }
}
@media (max-width: 560px) {
  .co-card { padding: 18px 16px; border-radius: 14px; }
  .fields, .opts { grid-template-columns: 1fr; }
}

/* Seguimiento de pedido */
.trk { max-width: 760px; margin-inline: auto; display: grid; gap: 20px; }
.trk-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.trk-num { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; z-index: 1; }
.steps .dot svg { width: 14px; height: 14px; display: none; }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.done .dot svg { display: block; }
.steps li.done::before { background: var(--ink); }
.steps li.now .dot { border-color: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); background: var(--orange); }
.steps b { font-weight: 600; display: block; }
.steps small { color: var(--muted); font-size: 0.8125rem; }
.steps li:not(.done):not(.now) b { color: var(--muted); font-weight: 500; }
.look { display: grid; gap: 12px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 4px 16px; font-size: 0.9375rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 8px; } }

/* ===== Rediseño: mismo lenguaje visual que la portada ===== */
.co { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.co .eyebrow { margin-bottom: 16px; }
.co-title { font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: clamp(24px, 4vw, 44px); }
.co-card { border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.co-card h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.step { background: var(--orange); color: var(--ink); width: 32px; height: 32px; font-size: 0.875rem; font-weight: 800; }
.opt-body { border-radius: 16px; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.opt input:checked + .opt-body { background: #fff; box-shadow: 0 0 0 1.5px var(--ink) inset; }
.fields .input, .field .input { border-radius: 14px; }

/* Resumen oscuro */
.co-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.co-dark h2 { color: #fff; }
.co-dark .muted, .co-dark .line-qty { color: #bdbab2; }
.co-dark .line-img, .co-dark .line img { background: #2a2a2a; }
.co-dark .co-side .sum, .co-dark .sum { border-color: #333; }
.co-dark .sum .total { border-color: #3a3a38; }
.co-dark .line-price { color: #fff; }
.co-dark .secure { color: #bdbab2; }
.co-dark .notice.error { background: #3a1613; color: #ffb4ab; }
.co-dark .btn:disabled { background: #3a3a38; color: #8b8880; opacity: 1; }

/* Seguimiento */
.trk { max-width: 820px; gap: 20px; }
.trk-head { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 34px); align-items: center; }
.trk-head .muted { color: #bdbab2 !important; }
.trk-num { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.trk-head .tag { background: var(--orange); color: var(--ink); font-size: 0.8125rem; padding: 6px 14px; }
.trk-head .tag.warn { background: #ffd58a; }
.trk-head .tag.bad { background: #ffb4ab; color: #5b0d07; }
.trk-head .tag.ok { background: #8fe0ae; color: #0b3d1d; }
.steps li { padding-bottom: 28px; }
.steps .dot { width: 32px; height: 32px; }
.steps li::before { left: 15px; top: 32px; }
.steps li.now .dot { animation: pulse 1.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 95, 32, 0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 95, 32, 0); } }
.steps b { font-size: 1.0625rem; }

/* Pie reducido de páginas secundarias */
.foot-mini .foot-row { padding-top: 28px; padding-bottom: 16px; align-items: center; }
.foot-mini .foot-info { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.foot-mini .foot-info a { font-weight: 600; }
.foot-mini .foot-legal { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .steps li.now .dot { animation: none; box-shadow: 0 0 0 5px var(--orange-soft); } }
