.mobile-hero[hidden]{display:none!important}
.mobile-hero{display:none}
@media(max-width:899px){
body.mobile-landing-open{padding:0;overflow:hidden;background:#0b0b0e}
.mobile-landing-open>.shell,.mobile-landing-open>.preview-label,.mobile-landing-open>.floating{display:none}
.mobile-hero{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;height:100svh;min-height:480px;width:100%;overflow:hidden;color:#f5f4f2;background:radial-gradient(ellipse at 62% 68%,#35363d 0%,#1b1c22 26%,#0b0b0e 65%)}
.mobile-brand{flex:none;padding:max(17px,env(safe-area-inset-top)) 24px 8px;font:800 16px/1.2 system-ui;letter-spacing:-.7px}
.mobile-brand span{color:#a6a7af}
.mobile-hero-copy{flex:none;width:100%;padding:12px 20px 0;text-align:center;z-index:2}
.mobile-hero-copy h1{font-family:Arial,Helvetica,sans-serif;font-size:clamp(46px,14vw,70px);line-height:.98;font-weight:800;letter-spacing:-2.8px;margin:0 0 24px}
.mobile-hero-copy em{color:#bcbcc5;font-style:normal}
.mobile-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:54px;width:min(290px,85%);padding:13px 20px;background:#e63346;color:#fff;font-size:18px;font-weight:750;border-radius:6px;text-decoration:none;transition:transform .25s ease-out,background .25s ease-out}
.mobile-hero-cta:active{transform:scale(.97);background:#c7293b}
.mobile-hero-stage{position:relative;width:100%;flex:1;min-height:0;margin-top:8px}
.mobile-hero #three-stage{position:absolute;inset:0 0 30px;width:100%;touch-action:pan-y;outline-offset:-5px}
.mobile-hero #three-stage canvas{display:block;width:100%;height:100%;touch-action:none}
.mobile-hero #model-status{position:absolute;bottom:0;left:20px;right:20px;text-align:center;font-size:11px;color:#b7b7c0;line-height:1.5;margin:0}
.mobile-hero-footer{flex:none;padding:8px 20px max(15px,env(safe-area-inset-bottom));text-align:center;font-size:10px;color:#85858f}
@media(max-height:650px){.mobile-hero-copy{padding-top:4px}.mobile-hero-copy h1{font-size:46px;margin-bottom:16px}.mobile-hero-cta{min-height:48px;font-size:17px}.mobile-brand{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.mobile-hero-cta{transition:none}}
}

.mobile-brand{transform:translateY(var(--landing-brand-y,54px))}
.mobile-hero-copy h1{transform:translateY(var(--landing-title-y,98px))}
.mobile-hero-cta{transform:translateY(var(--landing-button-y,137px))}
.mobile-hero-cta:active{transform:translateY(var(--landing-button-y,137px)) scale(.97)}
.mobile-hero-stage{transform:translateY(var(--landing-shoe-y,95px))}
.landing-editing [data-landing-target]:not([data-landing-target="shoe"]){cursor:ns-resize;outline:1px dashed #ffffff35;touch-action:none;user-select:none}
.mobile-drag-handle{position:absolute;z-index:5;top:0;left:50%;transform:translateX(-50%);border:1px dashed #cfd0d7aa;background:#15161cdd;color:#eee;border-radius:20px;padding:7px 12px;font-size:12px;cursor:ns-resize;touch-action:none}
.mobile-layout-panel{position:fixed;z-index:5000;bottom:14px;right:12px;width:min(310px,calc(100vw - 24px));max-height:38vh;overflow:auto;border:1px solid #55545c;background:#17181ef5;border-radius:12px;padding:13px;color:#eee;font:13px/1.5 system-ui;box-shadow:0 10px 35px #0007}
.mobile-layout-panel summary{cursor:pointer;font-weight:750;font-size:15px}.mobile-layout-panel label{display:block;margin-top:12px}.mobile-layout-panel input[type=range]{display:block;width:100%;margin:9px 0;accent-color:#e63346}.mobile-layout-panel select{width:100%;padding:7px;background:#28292f;color:white;border:1px solid #555;border-radius:6px}.mobile-layout-panel output{float:right;font-weight:bold}.mobile-layout-panel button{border:1px solid #575861;background:#303039;color:#fff;padding:8px 10px;margin:10px 6px 0 0;border-radius:7px;cursor:pointer}.mobile-layout-panel small{display:block;color:#aaa;margin-top:8px}.mobile-layout-panel[data-external]{position:static;max-height:none;width:100%;box-sizing:border-box}

.mobile-hero #model-status{display:none}

/* Centro horizontal independiente de la flecha y de los ajustes verticales. */
.mobile-hero-cta{position:relative;display:flex;margin-inline:auto;gap:0;padding-inline:42px;text-align:center}
.mobile-hero-cta>span{position:absolute;right:18px;top:50%;transform:translateY(-50%)}
.mobile-hero-spacer{height:calc(23px + max(15px,env(safe-area-inset-bottom)));padding:0}

@media(max-width:899px){.mobile-landing-open .mobile-hero[hidden]{display:flex!important}.mobile-hero{height:100vh;height:100svh}}
