*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    color:#111;
    overflow:hidden;
}

.mockup-app{
    width:100%;
    height:100vh;
    display:grid;
    grid-template-columns:430px 1fr;
}

.panel{
    background:#fff;
    padding:42px;
    border-right:1px solid #e2e2e2;
    overflow-y:auto;
}

.panel h1{
    font-size:42px;
    line-height:.98;
    font-weight:900;
    margin-bottom:22px;
}

.panel p{
    color:#666;
    font-size:17px;
    line-height:1.5;
    margin-bottom:34px;
}

.step-title{
    font-size:20px;
    font-weight:900;
    margin:28px 0 16px;
}

/* UPLOAD */

.upload-box{
    position:relative;
    min-height:50px;
    padding:10px 8px;

    border:2px dashed #d7d7d7;
    border-radius:18px;

    background:#fafafa;
    cursor:pointer;
    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;

    transition:.25s;
}

.upload-box:hover{
    background:#f3f3f3;
    border-color:#bdbdbd;
}

.upload-box input{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
}

.upload-box strong{
    display:block;
    font-size:16px;
    font-weight:800;
    color:#111;
}

.upload-box span{
    color:#777;
    font-size:13px;
}

/* CONTROLES */

.control{
    margin-bottom:20px;
}

.control label{
    display:flex;
    justify-content:space-between;
    font-size:15px;
    margin-bottom:10px;
}

.control input{
    width:100%;
}

/* BOTONES */

.actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:16px;
}

button{
    border:0;
    border-radius:14px;
    padding:16px;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
}

.btn-dark{
    background:#111;
    color:#fff;
}

.btn-light{
    background:#fff;
    color:#111;
    border:1px solid #d8d8d8;
}

.btn-full{
    grid-column:1 / -1;
}

/* VISOR */

.viewer-wrap{
    position:relative;
    width:100%;
    height:100vh;
    background:radial-gradient(circle at 50% 40%, #fff 0%, #f5f2ef 42%, #e9e7e4 100%);
}

#viewer3d{
    width:100%;
    height:100%;
}

.drag-label{
    position:absolute;
    top:26px;
    left:50%;
    transform:translateX(-50%);

    background:rgba(255,255,255,.88);
    padding:16px 26px;
    border-radius:14px;

    font-size:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    pointer-events:none;
    z-index:5;
}

/* RESPONSIVE */

@media(max-width:900px){
    body{
        overflow:auto;
    }

    .mockup-app{
        height:auto;
        grid-template-columns:1fr;
    }

    .panel{
        padding:28px;
    }

    .viewer-wrap{
        height:70vh;
    }
}

.color-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.color-row{
    width:100%;
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
    border:1px solid #ddd;
    padding:12px;
    border-radius:14px;
    font-weight:700;
    cursor:pointer;
}

.color-dot{
    width:32px;
    height:32px;
    border-radius:50%;
    background:#ffffff;
    border:1px solid #ccc;
}

.color-panel{
    display:none;
    margin-top:16px;
    padding:16px;
    border:1px solid #ddd;
    border-radius:16px;
    background:#fafafa;
}

.color-panel.active{
    display:block;
}

.color-panel label{
    display:block;
    font-weight:800;
    margin-bottom:10px;
}

.color-panel input[type="color"]{
    width:100%;
    height:48px;
    border:none;
    background:transparent;
    cursor:pointer;
}

.color-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:14px;
}