/* MOON V12.1.5 · Checkout por pasos, responsive, sin alterar pagos ni backend */
.moon-wizard.drawer{height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column;width:min(480px,100%)}
.moon-wizard .drawerhead{position:relative;z-index:3;flex:0 0 auto;padding:17px 19px;border-bottom:1px solid #423252;min-height:67px}
.moon-wizard .drawerhead h2{font-size:19px;letter-spacing:-.4px}
.moon-wizard .close{min-width:42px;min-height:42px}
.moon-wizard .wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:14px 14px 10px;background:#1c172c;flex:0 0 auto;border-bottom:1px solid #382b4a}
.moon-wizard .wizard-progress button{min-width:0;border:0;background:transparent;color:#a99abf;display:flex;flex-direction:column;align-items:center;gap:6px;font-weight:750;font-size:11px;padding:0 2px 6px;position:relative}
.moon-wizard .wizard-progress button:before{content:'';height:2px;position:absolute;left:calc(-50% + 19px);right:calc(50% + 20px);top:17px;background:#493657}
.moon-wizard .wizard-progress button:first-child:before{display:none}
.moon-wizard .wizard-progress button span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#332843;border:1px solid #625076;color:#ddd0f0;font-size:12px;font-weight:900}
.moon-wizard .wizard-progress button small{font-size:10px;font-weight:800;white-space:nowrap}
.moon-wizard .wizard-progress button[aria-current=step]{color:#fff}
.moon-wizard .wizard-progress button[aria-current=step] span{background:#ad7fff;color:#1a0a29;border-color:#d3aeff;box-shadow:0 0 0 3px #b77dff19}
.moon-wizard .wizard-progress button.passed span{background:#1c614f;color:#d0ffeb;border-color:#369c7b}
.moon-wizard .wizard-progress button:disabled{cursor:default;opacity:1}
.moon-wizard .wizard-step-intro{padding:13px 19px 11px;flex:0 0 auto}
.moon-wizard .wizard-step-intro strong{display:block;font-size:15px;font-weight:850;color:#f8efff}
.moon-wizard .wizard-step-intro p{font-size:11px;color:#b8a8c9;margin:5px 0 0;line-height:1.45}
.moon-wizard .items{flex:1 1 auto!important;min-height:0;padding:0 19px 12px;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain}
.moon-wizard:not(.checkout-mode) .drawerfoot{display:none!important}
.moon-wizard.checkout-mode .items{display:none!important}
.moon-wizard.checkout-mode .drawerfoot{display:block!important;flex:1 1 auto;min-height:0;max-height:none!important;overflow:auto!important;padding:0 19px 16px!important;background:transparent;border:0;margin:0!important;overscroll-behavior:contain}
.moon-wizard .drawerfoot>.total,.moon-wizard .drawerfoot>.pay-start{display:none!important}
.moon-wizard .payment-panel{border:0;padding:0;margin:0;min-height:0}
.moon-wizard .payment-panel h3{font-size:17px;margin:2px 0 8px}
.moon-wizard .wizard-pane[hidden]{display:none!important}
.moon-wizard .wizard-help{font-size:12px;line-height:1.5;color:#bdafd0;margin:0 0 17px}
.moon-wizard .delivery-choice{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;opacity:0;pointer-events:none;overflow:hidden}
.moon-wizard .shipping-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.moon-wizard .wizard-delivery-cards{display:grid;gap:9px;margin-bottom:12px}
.moon-wizard .wizard-delivery-cards button{display:flex;align-items:center;gap:11px;text-align:left;color:#f7ecff;background:#251d36;border:1.5px solid #544368;border-radius:13px;padding:12px 13px;min-height:66px;width:100%;font-size:13px}
.moon-wizard .wizard-delivery-cards button[aria-pressed=true]{background:#37264e;border-color:#bf94ff;box-shadow:0 0 0 1px #ba8fff3b}
.moon-wizard .wizard-delivery-icon{font-size:22px;flex:none}
.moon-wizard .wizard-delivery-cards button span:nth-child(2){flex:1;min-width:0}
.moon-wizard .wizard-delivery-cards strong{display:block;font-size:12px}
.moon-wizard .wizard-delivery-cards small{display:block;font-size:10px;font-weight:500;color:#bcb0cf;margin-top:5px;line-height:1.35}
.moon-wizard .wizard-check{border:1px solid #66547a;color:transparent;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:12px}
.moon-wizard [aria-pressed=true] .wizard-check{color:#251233;background:#cba6ff;border-color:#cba6ff}
.moon-wizard .shipping-info{margin:9px 0 14px;padding:10px 12px;font-size:11px}
.moon-wizard .delivery-fields{padding:13px;margin:8px 0 12px}
.moon-wizard .payment-methods{margin:12px 0 20px}
.moon-wizard .pay-option{min-height:68px;padding:14px 12px}
.moon-wizard .wizard-coupon-toggle{border:1px solid #67527c;background:#261b36;border-radius:12px;overflow:hidden}
.moon-wizard .wizard-coupon-toggle summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 13px;cursor:pointer;list-style:none;font-weight:800;font-size:12px}
.moon-wizard .wizard-coupon-toggle summary::-webkit-details-marker{display:none}
.moon-wizard .wizard-coupon-toggle summary span{font-size:10px;color:#bca2f3;text-decoration:underline;flex:none}
.moon-wizard .coupon-v10{margin:0;padding:13px;border:0;border-top:1px solid #544166;border-radius:0;background:#20172f}
.moon-wizard .wizard-pay-tip{font-size:11px;padding:14px 12px;line-height:1.5;background:#211c30;border-radius:10px;margin:16px 0;color:#d6c6ed}
.moon-wizard .wizard-review-details{border:1px solid #514061;border-radius:12px;background:#241b33;padding:13px;margin-bottom:12px;font-size:12px}
.moon-wizard .wizard-review-details p{margin:0 0 8px;line-height:1.5}
.moon-wizard .wizard-review-details p:last-child{margin-bottom:0}
.moon-wizard .wizard-review-details b{color:#e4cfff}
.moon-wizard .summary-v10{margin:12px 0}
.moon-wizard .shipping-totals{margin:12px 0}
.moon-wizard .pay-instructions{margin:14px 0}
.moon-wizard .pay-instructions [data-pay]{display:none!important}
.moon-wizard .wizard-fine-print{margin:14px 0;padding:12px;border:1px solid #453852;border-radius:10px;color:#b9aec9;font-size:11px;line-height:1.5}
.moon-wizard .wizard-fine-print summary{cursor:pointer;color:#d4c3e9;font-weight:800}
.moon-wizard .wizard-fine-print p{margin:10px 0 0}
.moon-wizard .wizard-sticky{flex:0 0 auto;padding:12px 19px max(15px,env(safe-area-inset-bottom));border-top:1px solid #604478;background:linear-gradient(180deg,#241933,#191226);box-shadow:0 -10px 35px #0005;z-index:4}
.moon-wizard .wizard-sticky-total{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:11px}
.moon-wizard .wizard-sticky-total>div{display:flex;flex-direction:column;gap:2px}
.moon-wizard .wizard-sticky-total small{color:#b7a9ca;font-size:10px}
.moon-wizard .wizard-sticky-total strong{font-size:21px;letter-spacing:-.5px;color:#fff}
.moon-wizard #wizardStepCount{font-size:10px;color:#d9c1ff;border-radius:99px;padding:6px 8px;background:#362546;white-space:nowrap}
.moon-wizard .wizard-actions{display:flex;gap:8px}
.moon-wizard .wizard-actions button{min-height:50px;border-radius:12px;font-size:13px;line-height:1.35;font-weight:900;padding:11px;touch-action:manipulation}
.moon-wizard .wizard-back{border:1px solid #786294;background:#322443;color:#e8ddfb;flex:0 0 108px}
.moon-wizard .wizard-next{background:linear-gradient(110deg,#bc91ff,#9e6aee);border:1px solid #c69dff;color:#1b0c2b;flex:1 1 auto}
.moon-wizard .wizard-next.final{background:#2fc493;color:#091c13;border-color:#66e1b5}
.moon-wizard .wizard-error{border:1px solid #a65c69;background:#3a202b;color:#ffe3e7;padding:10px;border-radius:10px;font-size:11px;line-height:1.4;margin:0 0 10px}
.moon-wizard button:focus-visible,.moon-wizard input:focus-visible{outline:2px solid #cfb4ff;outline-offset:2px}
@media(max-width:520px){.moon-wizard.drawer{width:100%;border-left:none}.moon-wizard .drawerhead{padding:10px 15px;min-height:60px}.moon-wizard .wizard-progress{padding:10px 8px 8px}.moon-wizard .wizard-step-intro{padding:11px 15px 10px}.moon-wizard .items{padding:0 15px 11px}.moon-wizard.checkout-mode .drawerfoot{padding:0 15px 10px!important}.moon-wizard .wizard-sticky{padding:10px 15px max(11px,env(safe-area-inset-bottom))}.moon-wizard .wizard-sticky-total strong{font-size:19px}.moon-wizard .wizard-actions button{min-height:48px}.moon-wizard .delivery-form-grid{gap:10px}}
@media(max-height:550px){.moon-wizard .wizard-step-intro p{display:none}.moon-wizard .wizard-step-intro{padding-top:8px;padding-bottom:8px}.moon-wizard .wizard-progress{padding-top:6px;padding-bottom:5px}}
