/* --- BASIS --- */
*{box-sizing:border-box}
body{
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial,sans-serif;
    background:#f5f5f7;          /* lichtgrijze achtergrond, zoals verpakking */
    color:#111827;
    margin:0;
}

/* --- HEADER & FOOTER --- */
.site-header{
    background:#ffffff;
    padding:20px;
    text-align:center;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 6px 16px rgba(15,23,42,0.06);
}
.site-header h2{
    margin:0;
    font-size:24px;
    color:#1479ff;              /* ButtonMaker-blauw */
    font-weight:700;
    letter-spacing:0.02em;
}

.site-footer{
    background:#ffffff;
    text-align:center;
    padding:18px;
    margin-top:40px;
    border-top:1px solid #e5e7eb;
    font-size:14px;
    color:#6b7280;
}

/* --- WRAPPER & GLOBALS --- */
.wrap{
    max-width:1100px;
    margin:32px auto;
    padding:16px;
}

h1{
    margin:0 0 12px;
    font-size:26px;
    color:#111827;
}
p{
    color:#4b5563;
    line-height:1.5;
}

label{
    display:block;
    margin:14px 0 6px;
    font-weight:500;
    color:#374151;
}

/* --- INPUTS --- */
input[type=text],
input[type=email],
textarea{
    width:100%;
    padding:10px 12px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#ffffff;
    color:#111827;
    outline:none;
    transition:border-color .15s, box-shadow .15s, background-color .15s;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus{
    border-color:#1479ff;
    box-shadow:0 0 0 1px rgba(20,121,255,0.18);
    background:#ffffff;
}
textarea{resize:vertical}

/* --- GRID --- */
.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}
@media(max-width:900px){
    .grid{grid-template-columns:1fr;}
}

/* --- BUTTONS --- */
button{
    background:#1479ff;          /* primair blauw */
    border:none;
    padding:12px 18px;
    border-radius:999px;
    color:#ffffff;
    font-weight:600;
    cursor:pointer;
    margin-right:8px;
    font-size:14px;
    transition:background-color 0.15s, transform 0.08s, box-shadow 0.15s;
}
button:hover{
    background:#0f6ae0;
    box-shadow:0 4px 10px rgba(15,106,224,0.25);
    transform:translateY(-1px);
}
button:active{
    transform:translateY(0);
    box-shadow:none;
}
button.remove{
    background:#ef4444;
    color:#ffffff;
}
button.remove:hover{
    background:#dc2626;
}

/* --- PRICEBOX --- */
.pricebox{
    margin:16px 0;
    padding:16px 18px;
    border-radius:14px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    box-shadow:0 8px 20px rgba(15,23,42,0.04);
}
.pricebox div{
    margin:6px 0;
    font-size:15px;
    color:#111827;
}
.pricebox strong{
    font-weight:600;
}
#freeship-label{
    color:#16a34a;
    font-weight:600;
}

/* --- SET WRAPPER --- */
.set{
    padding:16px 18px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#ffffff;
    margin-bottom:18px;
    box-shadow:0 8px 18px rgba(15,23,42,0.04);
}
.set h3{
    margin:0 0 10px;
    font-size:18px;
    color:#111827;
}

/* --- SLOT BAR --- */
.slotbar{
    display:flex;
    gap:10px;
    margin-bottom:12px;
}
.slotbar button{
    flex:1;
    padding:10px 14px;
    font-size:14px;
    background:#e5f0ff;
    color:#0f172a;
    border-radius:999px;
    box-shadow:none;
}
.slotbar button:hover{
    background:#d3e4ff;
    box-shadow:none;
}

/* --- SLOT UPLOADER --- */
.grid6{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-bottom:12px;
}
.slot{
    position:relative;
    width:100%;
    padding-top:100%;
    border:1px dashed #d1d5db;
    border-radius:12px;
    background:#f3f4f6;
    cursor:pointer;
    overflow:hidden;
    transition:0.15s;
}
.slot:hover{
    border-color:#1479ff;
    background:#eef2ff;
}
.slot-inner{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#9ca3af;
    font-size:28px;
}
.slot img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* --- PREVIEW --- */
.previewWrap{
    margin-top:10px;
    padding:10px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#ffffff;
    box-shadow:0 6px 16px rgba(15,23,42,0.04);
}
canvas{
    width:100%;
    height:auto;
    display:block;
    background:#f9fafb;
    border-radius:12px;
}

/* --- NOTE TEXT --- */
.note{
    font-size:12px;
    color:#6b7280;
}

/* Fix: extra ruimte boven "Setje verwijderen" */
.set button.remove{
    margin-top:16px;
    width:100%;
}
