:root{--paper:#f6f7f2;--ink:#183e33;--green:#174b3d;--lime:#deed91;--muted:#586452;--line:#dfe4d8;--body:-apple-system,BlinkMacSystemFont,'SF Pro Text','Segoe UI',sans-serif;--display:-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 var(--body)}button,input{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}[hidden]{display:none!important}:focus-visible{outline:3px solid #82a351;outline-offset:3px}.wrap{width:min(960px,calc(100% - 48px));margin:auto}h1,h2,p{margin:0}.site-header{height:76px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font:800 18px var(--display);letter-spacing:-.7px}.brand>span:first-child{font-size:30px;font-weight:400;line-height:1}.header-tag{font-size:14px;color:var(--muted)}.prize-banner{background:var(--green);color:white;border-radius:18px;min-height:195px;padding:30px 38px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;isolation:isolate}.prize-banner:after{content:'';width:260px;height:260px;border:1px solid #ffffff15;border-radius:50%;position:absolute;right:-20px;top:-45px;z-index:-1;box-shadow:0 0 0 35px #ffffff06,0 0 0 70px #ffffff04}.eyebrow{font-size:14px;letter-spacing:2px;color:#d3dfb2;font-weight:600}h1{font:800 46px/1.2 var(--display);letter-spacing:-2px;margin:8px 0 12px}.prize-price{font-size:14px;color:#bdcdb9}.prize-price strong{font:800 20px var(--display);color:var(--lime);margin-right:5px}.moto-icon{color:var(--lime);width:190px;height:115px;margin-right:22px;transform:rotate(-7deg)}.checkout{margin-top:24px}.steps{display:flex;list-style:none;padding:0;margin:0 0 23px;gap:24px}.steps li{display:flex;align-items:center;gap:7px;font-size:14px;color:#626f59}.steps li span{display:grid;place-items:center;font-size:14px;width:24px;height:24px;border:1px solid #d4dccc;border-radius:50%}.steps li.active{color:var(--green);font-weight:700}.steps li.active span{background:var(--green);border-color:var(--green);color:white}.steps li.complete{color:#5d794e}.steps li.complete span{background:#e5edd5;border-color:#e5edd5}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}.work-area{min-width:0}.step-panel{padding:24px;background:white;border:1px solid var(--line);border-radius:14px;animation:appear .18s ease}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font:800 21px/1.3 var(--display);letter-spacing:-.7px}.availability{font-size:14px;color:#64785b;white-space:nowrap}.grid-toolbar{display:flex;align-items:center;justify-content:space-between;margin:17px 0 14px}.legend{display:flex;gap:14px;font-size:14px;color:var(--muted)}.legend>span{display:flex;gap:5px;align-items:center}.legend i{width:7px;height:7px;border-radius:2px}.chosen{background:var(--green)}.taken{background:#d9dfd3}.random-button{font-size:14px;color:var(--green);background:none;border:0;padding:6px 0}.number-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.number{height:47px;display:grid;place-items:center;border:1px solid #dae2d2;background:#f9fbf5;border-radius:8px;color:var(--green);font:700 14px var(--display);transition:background .15s,transform .15s}.number:hover:not(:disabled){background:#eaf2d6;border-color:#7b9c63}.number:active:not(:disabled){transform:scale(.95)}.number.selected{background:var(--green);border-color:var(--green);color:var(--lime);box-shadow:0 3px 7px #174b3d18}.number:disabled{background:#ebeee7;border-color:#ebeee7;color:#a7ae9f;text-decoration:line-through}.panel-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:#626f59;font-size:14px}.quiet-button{background:none;border:0;font-size:14px;padding:5px 0;color:var(--muted);text-decoration:underline}.summary-card{background:#ebf0e1;border:1px solid #dbe3cd;padding:22px;border-radius:14px;position:sticky;top:20px}.selection-heading{display:flex;justify-content:space-between;font-size:14px;font-weight:700}.selection-heading>span+span{font-size:14px;color:var(--muted);font-weight:400}.selected-numbers{display:flex;gap:5px;flex-wrap:wrap;align-content:start;max-height:130px;overflow:auto;min-height:75px;padding:13px 0 20px}.empty-selection{font-size:14px;color:#626f59}.selected-chip{border:0;background:var(--green);color:var(--lime);border-radius:5px;font-size:14px;min-width:30px;padding:5px}.selected-chip:disabled{opacity:1}.summary-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d1dcc3;padding:17px 0;margin-top:6px}.summary-total>span{font-size:14px;color:#6c7a62}.summary-total small{font-size:14px;margin-left:3px}.summary-total strong{font:800 28px var(--display);letter-spacing:-1px}.primary{display:flex;align-items:center;justify-content:center;background:var(--green);border:0;border-radius:8px;color:white;text-decoration:none;font-weight:700;font-size:14px;width:100%;min-height:48px;padding:12px}.primary:disabled{background:#c9d5bb;color:#f8faf4}.primary:hover:not(:disabled){background:#216048}.back-button{display:block;border:0;background:transparent;color:var(--green);font-size:14px;margin:13px auto 0;padding:5px 12px;min-height:32px}footer{display:flex;justify-content:space-between;color:#626f59;font-size:14px;padding:24px 0 30px}form{margin-top:20px}form>label:not(.check-label){display:block;font-size:14px;font-weight:600;margin:15px 0 7px}input:not([type=checkbox]):not([type=radio]){width:100%;padding:12px;border:1px solid #d1dcca;border-radius:7px;font-size:16px;background:#fff;color:var(--ink);min-height:46px}form>small{display:block;color:var(--muted);font-size:14px;margin-top:6px}.check-label{display:flex;gap:10px;font-size:14px;line-height:1.6;margin-top:20px;color:#6a7860}.check-label input{margin:2px 0 0;width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.reservation-note{font-size:14px;color:#6f805b;background:#f1f5e8;border-radius:5px;padding:9px 11px;margin-top:15px}.payment-methods{margin:18px 0;padding:0;border:0}.payment-option{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:13px;cursor:pointer;margin-top:8px}.payment-option:has(input:checked){background:#f3f7e8;border-color:var(--green)}.payment-option input{accent-color:var(--green);width:17px;height:17px}.payment-option strong{font-size:14px;display:block}.payment-option small{font-size:14px;color:var(--muted)}.method-icon{margin-left:auto;font-size:20px;color:#70835d}.payment-instructions{font-size:14px;line-height:1.8;padding:14px;background:#f0f5e5;border-radius:7px;overflow-wrap:anywhere}.payment-instructions strong{display:block;font-size:21px;margin:4px 0}.privacy-note{font-size:14px;color:var(--muted);line-height:1.6;margin-top:14px}.error{padding:12px;background:#fff0e5;color:#8f3a21;font-size:14px;border:1px solid #e7bca6;border-radius:7px;margin-bottom:12px}.success-panel{text-align:center;padding:30px 24px}.success-panel>p{font-size:14px;line-height:1.6;margin-top:15px}.success-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--lime);margin:0 auto 18px;font-size:25px}.reference{font-family:monospace;background:#f1f5e9;padding:10px;border-radius:5px;margin-bottom:18px}.success-panel details{text-align:left;font-size:14px;margin-top:22px}.success-panel pre{font:14px/1.7 var(--body);white-space:pre-wrap;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body[data-step="4"] .summary-card{display:none}body[data-step="4"] .checkout-layout{grid-template-columns:1fr;max-width:600px;margin:auto}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){html{scroll-padding-top:12px}.wrap{width:calc(100% - 32px)}body{padding-bottom:162px}.site-header{height:60px}.brand{font-size:15px;gap:6px}.brand>span:first-child{font-size:26px}.header-tag{font-size:14px}.prize-banner{min-height:150px;padding:21px 22px;border-radius:13px}.eyebrow{font-size:14px;letter-spacing:1.5px}h1{font-size:34px;letter-spacing:-1.4px;margin:6px 0 9px}.prize-price{font-size:14px}.prize-price strong{font-size:19px}.moto-icon{width:114px;height:83px;margin-right:-5px;flex-shrink:0}.prize-banner:after{width:180px;height:180px;right:-40px;top:-20px}.checkout{margin-top:18px}.steps{justify-content:space-between;gap:10px;margin-bottom:17px;padding:0 4px}.steps li{font-size:14px}.steps li span{width:22px;height:22px;font-size:14px}.checkout-layout{grid-template-columns:1fr;gap:0}.step-panel{padding:17px 15px;border-radius:12px}h2{font-size:19px}.availability{font-size:14px}.grid-toolbar{margin:9px 0 7px}.number-grid{gap:8px}.number{height:48px;font-size:15px;border-radius:9px}.panel-bottom{margin-top:9px;font-size:14px}.summary-card{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:10;border-radius:16px 16px 0 0;border:1px solid #d9e2cd;background:#f8faf3;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #183e330a}.selection-heading{display:none}.selected-numbers{flex-wrap:nowrap;min-height:29px;max-height:32px;padding:0;overflow-x:auto;align-items:center;margin-bottom:10px;scrollbar-width:thin}.empty-selection{font-size:14px}.selected-chip{font-size:14px;min-width:28px;padding:4px 6px;flex-shrink:0}.buy-row{display:grid;grid-template-columns:1fr 1.5fr;gap:22px;align-items:center}.summary-total{display:block;margin:0;padding:0;border:0}.summary-total>span{display:block;font-size:14px}.summary-total strong{display:block;font-size:26px;line-height:1.25}.summary-total small{font-size:14px}.primary{min-height:46px;font-size:14px}.back-button{margin:5px auto -2px;min-height:27px;padding:3px 10px;font-size:14px}footer{font-size:14px;padding:19px 0 12px}form{margin-top:14px}.check-label{font-size:14px;margin-top:17px}.success-panel{padding:24px 17px}body[data-step="4"]{padding-bottom:0}}
@media(max-width:360px){.wrap{width:calc(100% - 24px)}.prize-banner{padding:20px 16px}h1{font-size:30px}.moto-icon{width:95px}.step-panel{padding:15px 12px}.number-grid{gap:6px}.number{height:48px}.brand{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

@media(min-width:1000px){.number-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.number{height:48px}}@media(max-width:640px){.number-grid{gap:8px}.random-button,.panel-bottom .quiet-button{min-height:40px}.grid-toolbar{margin-bottom:12px}.number{scroll-margin-bottom:160px}}

/* Boletos: cifras grandes, contornos definidos y estados distinguibles. */
.number-grid{gap:8px}
.number{position:relative;min-width:0;height:54px;padding:2px;border:1.5px solid #91ad61;border-radius:7px;background:#f8fbeF;color:#153c2c;font:800 21px/1 var(--display);font-variant-numeric:tabular-nums;letter-spacing:.25px;box-shadow:0 2px 0 #e4edda;transition:background .15s,border-color .15s,transform .15s}
.number:hover:not(:disabled):not(.selected){background:#e7f2c6;border-color:#4e7729}
.number.selected,.number.selected:hover{border-color:#174b3d;background:#174b3d;color:#fff;box-shadow:0 2px 0 #103c2f}
.number.selected:after{content:'✓';position:absolute;top:3px;right:3px;display:grid;place-items:center;width:11px;height:11px;border-radius:50%;background:var(--lime);color:#174b3d;font:800 8px/1 var(--body)}
.number:disabled{border-color:#d8ded5;background:#eef0eb;color:#7b8477;box-shadow:none;text-decoration:none}
.legend .free{background:#e9f3d4;border:1px solid #91ad61}
.legend .taken{background:#e8ece5;border:1px solid #c1cab9}
@media(max-width:640px){.number-grid{gap:7px}.number{height:52px;font-size:21px}.legend{gap:11px}.grid-toolbar{margin-bottom:14px}}
@media(max-width:360px){.number-grid{gap:6px}.number{font-size:19px}.number.selected:after{width:9px;height:9px;font-size:7px;top:2px;right:2px}}


/* Texto legible en toda la compra, también en pantallas pequeñas. */
.panel-heading{flex-wrap:wrap;gap:8px 12px}
.grid-toolbar{flex-wrap:wrap;gap:8px 16px;align-items:center}
.legend{font-size:14px;font-weight:500;gap:14px;flex-wrap:wrap;line-height:1.5;color:#4e5f46}
.legend>span{gap:7px}
.legend i{width:11px;height:11px;flex-shrink:0}
.random-button{margin-left:auto;min-height:44px;min-width:44px;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:600}.random-button:hover{background:#edf3e5}.random-button:active{background:#e2ecd7}
.quiet-button,.back-button{min-height:44px;font-size:14px}
.primary{font-size:16px;line-height:1.4;min-height:50px}
.primary:disabled{color:#43583a;background:#d6e1c9}
form>label:not(.check-label),.payment-option strong{font-size:16px}
.check-label{font-size:14px;color:#4e5f46}
.check-label input{width:21px;height:21px}
.payment-option{min-height:76px}
.payment-option small{display:block;line-height:1.5;margin-top:3px}
.payment-instructions,.error{font-size:16px;line-height:1.6}
.privacy-note,form>small,.reservation-note,.success-panel details,.success-panel pre{font-size:14px;color:#52634a}
.availability{color:#526a43;line-height:1.5}
.panel-bottom{gap:12px;align-items:center}
.panel-bottom>span{font-size:14px;line-height:1.5}
.selected-chip{font-size:14px;min-width:40px;min-height:40px;padding:7px}
.selection-heading{font-size:16px}
.summary-total>span,.summary-total small{font-size:14px;color:#52634a}
footer{font-size:14px;gap:10px 18px;flex-wrap:wrap;color:#626f59}
.eyebrow{font-size:14px;letter-spacing:1px;line-height:1.5}
.prize-price{font-size:16px}
@media(max-width:640px){body{padding-bottom:200px}.site-header{gap:12px}.brand{font-size:16px}.header-tag{font-size:14px}.steps li,.steps li span{font-size:14px}.steps li span{width:26px;height:26px}.steps{padding:0;gap:8px}.panel-heading h2{font-size:21px}.selected-numbers{min-height:42px;max-height:48px;margin-bottom:10px;align-items:center}.selected-chip{min-width:40px;min-height:40px;font-size:14px;padding:7px}.summary-total>span,.summary-total small{font-size:14px}.summary-total strong{font-size:28px}.buy-row{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px}.back-button{margin:7px auto 0;padding:8px 10px;min-height:40px;font-size:14px}.summary-card{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.number{scroll-margin-bottom:200px}.prize-banner{gap:12px}.moto-icon{width:90px}.prize-copy{min-width:0}.success-panel>p{font-size:16px}body[data-step="4"]{padding-bottom:0}}
@media(max-width:360px){.site-header{gap:8px}.brand{font-size:15px}.brand>span:first-child{font-size:24px}.header-tag{font-size:14px}.steps li{gap:5px}.legend{gap:12px}.moto-icon{width:70px}.eyebrow{letter-spacing:.5px}.prize-banner{padding:20px 16px}}


/* Jerarquía tipográfica: lectura clara y cifras de ancho uniforme. */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;font-optical-sizing:auto;letter-spacing:-.01em}
h1,h2{font-weight:600;letter-spacing:-.035em}
.brand{font-weight:600;letter-spacing:-.025em}
.number{font-weight:600;letter-spacing:0;font-variant-numeric:lining-nums tabular-nums}
.primary{font-weight:600;letter-spacing:-.01em}
.legend,.availability,.panel-bottom,.privacy-note,form>small,footer{letter-spacing:0;line-height:1.6}
.summary-total strong,.prize-price strong{font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.025em}
input::placeholder{color:#71806b;font-weight:400;opacity:1}

.summary-total strong,.prize-price strong{font-weight:600}.payment-option strong{font-weight:600}

#step-1 .panel-heading{flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}
#numbers-title{width:100%;text-align:center}
#clear{text-decoration:none;font-weight:600}
main.wrap{padding-bottom:24px}

/* Selección centrada y acciones cómodas en pantallas táctiles. */
.selected-numbers{justify-content:center;align-items:center;align-content:center;gap:8px;padding:14px 0;max-height:180px}
.selected-chip{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1px solid #b9cba8;border-radius:10px;background:#fff;color:var(--green);font-size:17px;font-weight:600;box-shadow:0 2px 4px #173e3308}
.selected-chip:hover:not(:disabled){background:#e9f1db;border-color:#7c9c65}
.primary{min-height:54px;border-radius:12px;padding:14px 18px;font-size:16px;font-weight:600;background:linear-gradient(180deg,#23634c,#174b3d);box-shadow:0 4px 10px #174b3d20;transition:background .15s,box-shadow .15s,transform .15s}
.primary:hover:not(:disabled){background:linear-gradient(180deg,#2b7458,#205d47);box-shadow:0 6px 14px #174b3d24}
.primary:active:not(:disabled){transform:translateY(1px);box-shadow:0 2px 5px #174b3d18}
.primary:disabled{background:#dde5d5;color:#63715a;box-shadow:none}
#details-title{text-align:center;width:100%}
@media(max-width:640px){body{padding-bottom:252px}.selected-numbers{flex-wrap:wrap;max-height:102px;min-height:44px;overflow:auto;margin-bottom:12px;padding:0 0 2px;gap:7px}.selected-chip{min-width:42px;min-height:42px;font-size:16px;border-radius:9px}.buy-row{grid-template-columns:1fr;gap:10px}.summary-total{display:flex;align-items:center;justify-content:space-between}.summary-total>span{font-size:15px}.summary-total strong{font-size:28px}.primary{min-height:52px;padding:13px 16px;font-size:16px}.back-button{margin:4px auto 0;min-height:40px}.summary-card{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.number{scroll-margin-bottom:252px}body[data-step="4"]{padding-bottom:0}}
.selected-numbers{align-content:flex-start}@media(max-width:640px){body[data-step="2"],body[data-step="3"]{padding-bottom:300px}}

/* Métodos reconocibles y logos locales, sin texto duplicado para lectores de pantalla. */
.payment-option{gap:14px;padding:16px;border-radius:13px;min-height:92px;background:#fff;transition:border-color .15s,background .15s,box-shadow .15s}
.payment-option:hover{border-color:#9eb68d;background:#fafcf6}
.payment-option:has(input:checked){border-color:var(--green);background:#f2f7e9;box-shadow:0 0 0 1px var(--green)}
.payment-logo{display:grid;place-items:center;width:70px;height:56px;flex:0 0 70px;border-radius:11px;background:#f3f6ef;border:1px solid #e5eadf;overflow:hidden}
.payment-logo img{display:block;width:56px;height:40px;object-fit:contain}
.payment-logo[data-method=binance]{background:#181a20;border-color:#181a20}
.payment-logo[data-method=binance] img{width:32px;height:32px}
.payment-logo[data-method=zelle],.payment-logo[data-method=nequi]{background:#fff}
.payment-copy{min-width:0;flex:1}
.payment-copy strong{font-size:17px;line-height:1.4}
.payment-copy small{font-size:14px;line-height:1.5;margin-top:4px;color:#58684f}
.payment-option input[type=radio]{flex:0 0 20px;width:20px;height:20px;margin:0 0 0 auto}
.request-payment-details{margin-top:12px}
@media(max-width:640px){.payment-option{padding:14px 12px;gap:12px;min-height:92px}.payment-logo{width:60px;height:52px;flex-basis:60px}.payment-logo img{width:50px;height:36px}.payment-copy strong{font-size:17px}.payment-copy small{font-size:14px}}
@media(max-width:360px){.payment-option{gap:9px;padding:12px 10px}.payment-logo{width:50px;height:48px;flex-basis:50px}.payment-logo img{width:44px;height:32px}}

/* Los datos de pago se muestran en un único panel contextual. */
.payment-dialog{width:min(480px,calc(100% - 32px));max-height:90vh;max-height:90dvh;border:0;border-radius:22px;padding:0;background:#fff;color:var(--ink);box-shadow:0 25px 90px #122d3540;overflow:hidden}
.payment-dialog[open]{display:flex;flex-direction:column}
.payment-dialog::backdrop{background:#10291f9e;backdrop-filter:blur(4px)}
body:has(.payment-dialog[open]){overflow:hidden}
.payment-dialog-header{display:flex;align-items:center;gap:14px;padding:22px 24px 18px;border-bottom:1px solid var(--line);flex-shrink:0}
.payment-dialog-header h2{font-size:23px;flex:1}
.payment-dialog-header .payment-logo{flex-basis:60px;width:60px;height:48px}
.dialog-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;background:#f0f3eb;color:var(--green);font-size:28px;line-height:1}
.payment-dialog-body{padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.dialog-order{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}
.dialog-order>div{min-width:0}.dialog-order>div:last-child{text-align:right;flex-shrink:0}
.dialog-order span{display:block;font-size:14px;color:#58684f;margin-bottom:5px}
.dialog-order strong{display:block;font-size:18px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;max-height:90px;overflow:auto}
.dialog-order>div:last-child strong{font-size:25px;line-height:1.3}
.payment-dialog .payment-instructions{padding:18px;border:1px solid #dbe6cc;border-radius:13px;background:#f7faef}
.payment-dialog .payment-instructions>strong{font-size:22px;line-height:1.4;margin:8px 0 12px;user-select:all}
.payment-dialog .payment-instructions>p{font-size:14px;margin-top:14px;color:#52634a}
.copy-account{width:100%;min-height:46px;margin:15px 0 0;padding:10px;border:1px solid #a8be92;background:white;color:var(--green);border-radius:9px;font-weight:600}
.dialog-payment-status{font-size:14px;line-height:1.6;margin-top:16px;color:#58684f}
.payment-dialog-footer{display:block;width:100%;margin:0;padding:16px 24px 18px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
.payment-dialog-footer p{font-size:14px;line-height:1.5;color:#52634a;text-align:center;margin-top:11px}
.payment-dialog-footer .back-button{margin-top:8px}
.payment-dialog-footer .primary{line-height:1.4;min-height:54px;font-size:16px}
@media(max-width:640px){.payment-dialog{width:100%;max-width:none;margin:auto 0 0;max-height:94vh;max-height:94dvh;border-radius:22px 22px 0 0}.payment-dialog-header{padding:16px 18px;gap:12px}.payment-dialog-header h2{font-size:22px}.payment-dialog-body{padding:18px}.payment-dialog-footer{padding:14px 18px calc(12px + env(safe-area-inset-bottom))}.dialog-order strong{font-size:16px}.dialog-order>div:last-child strong{font-size:24px}.payment-dialog .payment-instructions{padding:15px}.payment-dialog .payment-instructions>strong{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.payment-dialog[open]{animation:payment-appear .2s ease-out}@keyframes payment-appear{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}}

.payment-help-link{display:block;padding:12px 0 0;color:var(--green);font-size:14px;font-weight:600;line-height:1.6;text-underline-offset:3px;min-height:44px}

.payment-heading{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px}
.payment-heading h2{min-width:0;flex:1}
.payment-heading .reservation-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:7px 10px;border:1px solid #dce8ce;border-radius:9px;background:#f2f7e9;color:#4a6439;flex-shrink:0;font-size:14px;line-height:1.4}
.payment-heading .reservation-note strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--green)}
.payment-heading .reservation-note.expired{background:#fff1e8;border-color:#e5c8b0;color:#814326}
@media(max-width:1000px){.payment-heading .reservation-note{flex-direction:column;gap:1px;padding:5px 9px}.payment-heading h2{font-size:20px}}
@media(max-width:360px){.payment-heading{gap:8px}.payment-heading h2{font-size:20px;line-height:1.2}.payment-heading .reservation-note{padding:5px 7px}}

/* Cabecera y métodos más compactos, conservando texto legible. */
.payment-heading{gap:10px}
.payment-heading .reservation-note{flex-direction:row;gap:7px;padding:5px 8px;border-radius:7px;font-size:14px;line-height:1.3}
.payment-heading .reservation-note strong{font-size:14px}
#step-3 .payment-methods{margin:12px 0 0}
#step-3 .payment-option{min-height:74px;padding:10px 12px;gap:12px;margin-top:7px;border-radius:10px}
#step-3 .payment-logo{width:54px;height:44px;flex-basis:54px;border-radius:9px}
#step-3 .payment-logo img{width:46px;height:32px}
#step-3 .payment-logo[data-method=binance] img{width:28px;height:28px}
#step-3 .payment-copy strong{font-size:16px;line-height:1.3}
#step-3 .payment-copy small{font-size:14px;line-height:1.4;margin-top:2px}
@media(max-width:1000px){.payment-heading .reservation-note{flex-direction:row}}
@media(max-width:640px){#step-3{padding:16px 13px}.payment-heading{gap:8px}.payment-heading h2{font-size:20px}.payment-heading .reservation-note{flex-direction:column;gap:0;padding:4px 7px;line-height:1.25}#step-3 .payment-option{min-height:72px;padding:9px 10px;gap:10px}#step-3 .payment-logo{width:48px;height:42px;flex-basis:48px}#step-3 .payment-logo img{width:42px;height:30px}#step-3 .payment-copy small{margin-top:2px}}
@media(max-width:360px){.payment-heading h2{font-size:19px}#step-3 .payment-option{padding:8px;gap:8px}#step-3 .payment-logo{width:44px;flex-basis:44px}#step-3 .payment-logo img{width:38px}}
.payment-logo[data-method=card]{background:#edf3fd;border-color:#d9e4f6}.payment-coming-soon{display:inline-block;margin-top:7px;border-radius:5px;padding:2px 7px;background:#eef2f8;color:#425d82;font-size:14px;font-weight:500;line-height:1.5}
.raffle-banner{width:100%;margin:0;overflow:hidden;background:#edf1e7;height:min(20vw,260px,26vh);height:min(20vw,260px,26svh)}.raffle-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}

.raffle-banner picture{display:block;width:100%;height:100%}
body[data-step]:not([data-step="1"]) .raffle-banner{display:none}
@media(min-width:641px) and (max-width:1024px){.raffle-banner{height:min(25vw,220px,24vh);height:min(25vw,220px,24svh)}}
@media(max-width:640px){.raffle-banner{height:min(37.5vw,180px,20vh,max(48px,calc(100vh - 480px)));height:min(37.5vw,180px,20svh,max(48px,calc(100svh - 480px)))}}
@media(max-height:480px) and (orientation:landscape){.raffle-banner{height:18vh;height:18svh}.checkout{margin-top:12px}.steps{margin-bottom:12px}}

.steps button{display:flex;align-items:center;gap:7px;border:0;padding:4px 0;background:none;color:inherit;font:inherit}.steps button:disabled{cursor:default;opacity:1}.steps button:not(:disabled):hover{text-decoration:underline;text-underline-offset:4px}.steps button:not(:disabled){cursor:pointer}
/* Ayuda y validación junto al campo, sin cambiar la estructura del paso. */
#details-form .field-help{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}
#details-form .field-error{margin:7px 0 0;font-size:14px;line-height:1.5;color:#a12d24}
#details-form input[aria-invalid="true"]{border-color:#b84035;background:#fffafa}
#details-form input{scroll-margin-top:24px;scroll-margin-bottom:240px}
@media(max-width:640px){body.keyboard-open[data-step="2"]{padding-bottom:24px}body.keyboard-open[data-step="2"] .summary-card{position:static;margin-top:16px;border-radius:14px}}
/* Formulario centrado en el espacio libre del paso Datos en móvil. */
@media(max-width:640px){
 body[data-step="2"]:not(.keyboard-open) .work-area{display:flex;flex-direction:column;justify-content:center;min-height:max(0px,calc(100vh - var(--summary-height,210px) - var(--details-top,80px) - 24px));min-height:max(0px,calc(100svh - var(--summary-height,210px) - var(--details-top,80px) - 24px))}
 body[data-step="2"] #step-2{width:100%}
 body[data-step="2"]:not(.keyboard-open){padding-bottom:calc(var(--summary-height,210px) + 24px)}
 body.keyboard-open[data-step="2"] .work-area{display:block;min-height:0}
}
/* Ventanas de pago uniformes, con margen visible y contenido desplazable. */
.payment-dialog{width:min(520px,calc(100% - 32px));height:min(560px,84vh);height:min(560px,84dvh);max-height:84vh;max-height:84dvh;margin:auto;border-radius:22px}
.payment-dialog-body{flex:1;min-height:0}
@media(max-width:640px){.payment-dialog{width:calc(100% - 24px);max-width:520px;height:min(560px,84vh);height:min(560px,84dvh);max-height:84vh;max-height:84dvh;margin:auto;border-radius:20px}.payment-dialog-header{padding:14px 16px}.payment-dialog-header h2{font-size:20px}.payment-dialog-body{padding:16px}.payment-dialog-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}}
.payment-cop-total{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #dbe6cc}.payment-cop-total>span,.payment-cop-total>small{display:block;font-size:14px;line-height:1.5;color:var(--muted)}.payment-cop-total>strong{display:block;margin:5px 0;font-size:25px;font-weight:600;color:var(--green);line-height:1.4}
