:root{--accent:#e97542;--paper:#fff;--ink:#111;--soft:#f4f4f1;--line:#d7d7d7;--muted:#5f5f5f}
.checkout-header{border-bottom:0}
body.checkout-page{background:var(--paper);color:var(--ink)}.checkout-header{padding:12px 5%;min-height:104px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.checkout-brand img{display:block;width:180px;height:80px;object-fit:contain}.checkout-header>a:last-child{font-size:.85rem;text-decoration:underline;text-underline-offset:5px}.checkout-main{padding:clamp(42px,7vw,92px) 5%;min-height:calc(100dvh - 138px)}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:clamp(40px,8vw,120px)}.checkout-title{font-size:clamp(3.2rem,8vw,8rem);font-weight:900;line-height:.82;letter-spacing:-.075em;text-transform:uppercase;margin-bottom:50px}.checkout-lines{border-top:3px solid var(--ink)}.checkout-line{display:grid;grid-template-columns:100px 1fr auto;gap:22px;padding:22px 0;border-bottom:1px solid var(--line);align-items:start}.checkout-line img{width:100px;height:125px;object-fit:cover}.checkout-line h2{font-size:1.2rem;letter-spacing:-.03em;margin:2px 0 7px}.checkout-line small{color:var(--muted)}.checkout-line>strong{font-size:1rem}.checkout-qty{display:flex;align-items:center;gap:13px;margin-top:18px}.checkout-qty button{width:38px;height:38px;border:1px solid var(--ink);background:#fff}.checkout-summary{position:sticky;top:30px;align-self:start;padding:30px;background:var(--soft)}.checkout-summary h2{font-size:1rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:28px}.checkout-total{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid var(--ink);font-size:1.1rem}.checkout-total strong{font-size:2rem}.checkout-note{color:var(--muted);font-size:.82rem;line-height:1.6}.checkout-check{display:flex;gap:10px;align-items:flex-start;margin:24px 0;font-size:.88rem;line-height:1.5}.checkout-check input{width:20px;height:20px;flex:none;accent-color:var(--accent)}.checkout-submit{width:100%;min-height:56px;border:1px solid var(--accent);background:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.04em}.checkout-submit:hover{background:var(--ink);border-color:var(--ink);color:#fff}.checkout-empty{max-width:760px}.checkout-empty p{font-size:1.05rem;color:var(--muted);line-height:1.7}.checkout-link{display:inline-flex;min-height:52px;align-items:center;padding:0 22px;background:var(--accent);font-weight:800;text-transform:uppercase}.checkout-success{max-width:820px}.checkout-success .checkout-title{font-size:clamp(3rem,7vw,7rem)}
@media(max-width:820px){.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}.checkout-title{font-size:clamp(3rem,15vw,5.5rem)}.checkout-line{grid-template-columns:76px 1fr auto;gap:13px}.checkout-line img{width:76px;height:96px}}
@media(max-width:480px){.checkout-header{min-height:86px}.checkout-brand img{width:130px;height:62px}.checkout-main{padding-top:34px}.checkout-line{grid-template-columns:64px 1fr}.checkout-line img{width:64px;height:82px}.checkout-line>strong{grid-column:2}.checkout-summary{padding:23px}}

/* Cesta editorial: imagen protagonista y resumen breve. */
.checkout-line{grid-template-columns:minmax(230px,42%) 1fr;gap:clamp(20px,3vw,38px);padding:30px 0;align-items:stretch}
.checkout-photo{display:block;min-height:340px;background:#eee;overflow:hidden}
.checkout-line .checkout-photo img{display:block;width:100%;height:100%;min-height:340px;object-fit:cover}
.checkout-photo.is-typographic{display:flex;align-items:flex-end;padding:14px;background:#111;color:#fff}.checkout-type-visual{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;overflow-wrap:anywhere}
.checkout-item-copy{display:flex;flex-direction:column;align-items:flex-start;padding:8px 0}
.checkout-item-type{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:auto}
.checkout-line h2{font-size:clamp(1.65rem,3vw,3rem);line-height:1;letter-spacing:-.055em;text-transform:uppercase;margin:28px 0 10px}
.checkout-item-summary{font-size:.9rem;line-height:1.55;color:var(--muted);margin:0 0 12px}
.checkout-line-total{font-size:1.15rem;margin-top:22px}
.checkout-lines.items-2 .checkout-line{grid-template-columns:minmax(150px,28%) 1fr;padding:20px 0}.checkout-lines.items-2 .checkout-photo,.checkout-lines.items-2 .checkout-photo img{min-height:190px;max-height:220px}
.checkout-lines.items-3 .checkout-line{grid-template-columns:minmax(115px,22%) 1fr;padding:16px 0}.checkout-lines.items-3 .checkout-photo,.checkout-lines.items-3 .checkout-photo img{min-height:140px;max-height:165px}
.checkout-lines.items-4 .checkout-line{grid-template-columns:minmax(92px,18%) 1fr;padding:13px 0}.checkout-lines.items-4 .checkout-photo,.checkout-lines.items-4 .checkout-photo img{min-height:112px;max-height:132px}
.checkout-lines.items-3 .checkout-line h2,.checkout-lines.items-4 .checkout-line h2{font-size:clamp(1.35rem,2.3vw,2.15rem);margin-top:18px}
.checkout-lines.items-4 .checkout-item-type{margin-bottom:6px}.checkout-lines.items-4 .checkout-item-summary{margin-bottom:7px}
@media(max-width:820px){.checkout-line{grid-template-columns:minmax(180px,45%) 1fr}.checkout-line .checkout-photo img,.checkout-photo{min-height:290px}}
@media(max-width:820px){.checkout-lines.items-2 .checkout-line{grid-template-columns:minmax(140px,34%) 1fr}.checkout-lines.items-2 .checkout-photo,.checkout-lines.items-2 .checkout-photo img{min-height:180px;max-height:205px}.checkout-lines.items-3 .checkout-line{grid-template-columns:minmax(108px,28%) 1fr}.checkout-lines.items-3 .checkout-photo,.checkout-lines.items-3 .checkout-photo img{min-height:135px;max-height:155px}.checkout-lines.items-4 .checkout-line{grid-template-columns:minmax(88px,23%) 1fr}.checkout-lines.items-4 .checkout-photo,.checkout-lines.items-4 .checkout-photo img{min-height:108px;max-height:125px}}
@media(max-width:560px){.checkout-line{grid-template-columns:1fr;padding:24px 0;gap:16px}.checkout-line .checkout-photo img,.checkout-photo{min-height:390px}.checkout-lines.items-2 .checkout-line{grid-template-columns:minmax(112px,34%) 1fr;padding:16px 0}.checkout-lines.items-2 .checkout-photo,.checkout-lines.items-2 .checkout-photo img{min-height:155px;max-height:180px}.checkout-lines.items-3 .checkout-line{grid-template-columns:minmax(88px,27%) 1fr;padding:13px 0}.checkout-lines.items-3 .checkout-photo,.checkout-lines.items-3 .checkout-photo img{min-height:120px;max-height:140px}.checkout-lines.items-4 .checkout-line{grid-template-columns:minmax(74px,23%) 1fr;padding:10px 0}.checkout-lines.items-4 .checkout-photo,.checkout-lines.items-4 .checkout-photo img{min-height:96px;max-height:112px}.checkout-item-copy{padding:0}.checkout-item-type{margin-bottom:14px}.checkout-line h2,.checkout-lines.items-3 .checkout-line h2,.checkout-lines.items-4 .checkout-line h2{margin:0 0 8px;font-size:1.2rem}.checkout-lines.items-3 .checkout-item-summary,.checkout-lines.items-4 .checkout-item-summary{display:none}.checkout-lines.items-4 .checkout-qty{margin-top:9px}.checkout-lines.items-4 .checkout-qty button{width:34px;height:34px}}
.checkout-header{border-bottom:none}
.checkout-header nav{display:flex;gap:28px;align-items:center;font-size:.85rem}.checkout-header nav a{text-decoration:underline;text-underline-offset:5px}
@media(max-width:560px){.checkout-header nav{gap:14px;font-size:.78rem}}
.checkout-submit{display:flex;align-items:center;justify-content:center;text-decoration:none;margin-top:26px}

/* Cesta editorial: el naranja queda como una firma, no como bloque. */
:root{--soft:#f2f2ef}
.checkout-summary h2:after{content:'';display:block;width:52px;height:18px;margin-top:14px;background:url('/assets/onda-galileo.png') center/contain no-repeat}
.checkout-submit{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:inset 0 -3px 0 var(--accent)}
.checkout-submit:hover{background:#fff;color:var(--ink)}
.checkout-link{background:#fff;color:var(--ink);border:1px solid var(--ink);box-shadow:inset 4px 0 0 var(--accent)}
.checkout-link:hover{background:var(--ink);color:#fff}

/* Resumen de cesta: panel editorial abierto, sin apariencia de plantilla. */
.checkout-summary{position:sticky;top:30px;align-self:start;padding:0;background:transparent;border-top:3px solid var(--ink);border-bottom:1px solid var(--ink)}
.checkout-summary-head{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}
.checkout-summary-head span{font-size:.72rem;font-weight:800;letter-spacing:.16em}
.checkout-summary-head img{width:58px;height:22px;object-fit:contain}
.checkout-total{display:block;padding:34px 0 30px;border:0}
.checkout-total span{display:block;margin-bottom:12px;color:var(--muted);font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.checkout-total strong{display:block;font-size:clamp(3.2rem,5.7vw,6.7rem);font-weight:900;line-height:.88;letter-spacing:-.075em;white-space:nowrap}
.checkout-note{max-width:330px;margin:0 0 28px;color:var(--muted);font-size:.78rem;line-height:1.65}
.checkout-submit{min-height:64px;margin:0 0 18px;padding:0 22px;justify-content:space-between;background:transparent;border:1px solid var(--ink);color:var(--ink);box-shadow:none;font-size:.78rem;letter-spacing:.1em}
.checkout-submit:after{content:'';width:48px;height:18px;background:url('/assets/onda-galileo.png') center/contain no-repeat}
.checkout-submit:hover{background:var(--ink);color:#fff;box-shadow:inset 0 -3px 0 var(--accent)}
@media(max-width:820px){.checkout-summary{position:static;margin-top:30px}.checkout-total strong{font-size:clamp(3.5rem,12vw,6rem)}}

/* Listado limpio y contemporáneo, con la información justa. */
.checkout-lines{border-top:1px solid var(--ink)}
.checkout-line{border-bottom-color:#dededb}
.checkout-item-copy>small{color:var(--ink);font-size:.88rem;font-weight:700}
.checkout-item-bottom{width:100%;display:flex;align-items:end;justify-content:space-between;gap:22px;margin-top:auto;padding-top:24px}
.checkout-qty{display:grid;grid-template-columns:40px 42px 40px;align-items:center;gap:0;margin:0;border:1px solid #c9c9c5;border-radius:999px;overflow:hidden}
.checkout-qty button{width:40px;height:38px;border:0;background:transparent;font-size:1rem;transition:background .2s ease}
.checkout-qty button:hover:not(:disabled){background:#f0f0ed}
.checkout-qty button:disabled{opacity:.28}
.checkout-qty output{display:grid;place-items:center;height:38px;font-size:.82rem;font-weight:800}
.checkout-line-total{margin:0;font-size:1.05rem;white-space:nowrap}
.checkout-photo{border-radius:2px}
.checkout-summary-head{min-height:70px}
.checkout-submit{border-radius:999px;min-height:58px;padding:0 24px}
.checkout-link{min-height:48px;padding:0;border:0;border-bottom:1px solid var(--ink);box-shadow:none;background:transparent}
.checkout-link:hover{background:transparent;color:var(--ink);border-bottom-color:var(--accent)}
.checkout-item-copy h2{margin-top:4px}
.checkout-lines.items-3 .checkout-line h2,.checkout-lines.items-4 .checkout-line h2{margin-top:4px}
.checkout-lines.items-4 .checkout-item-copy{justify-content:center}
.checkout-lines.items-4 .checkout-item-bottom{margin-top:12px;padding-top:12px}
@media(max-width:560px){
  .checkout-item-bottom{padding-top:16px;gap:12px}
  .checkout-qty{grid-template-columns:34px 36px 34px}
  .checkout-qty button,.checkout-qty output{width:auto;height:34px}
}
