/* Etiket designer — stijl overgenomen uit de Claude Design-handoff (Elwie): crème, olijf #3F4A26, koraal #E94C49, Roboto Slab + Open Sans */
*, *::before, *::after { box-sizing: border-box; }
:root { --olive:#3F4A26; --coral:#E94C49; --coral-d:#C73C39; --lime:#BACB43; --cream:#FAF7F0; --line:#EAE4D8; --line2:#DCD5C6; --ink:#22221E; --ink2:#4A463D; --muted:#6B665A; --soft:#F6F2E9; }
body { margin:0; background:var(--cream); color:var(--ink); font-family:'Open Sans',system-ui,sans-serif; overflow-x:hidden; }
[hidden] { display:none !important; }
a { color:var(--coral); text-decoration:none; }
button, input, select, textarea { font-family:inherit; }
.wrap { max-width:1340px; margin:0 auto; padding:0 20px; }
h1, h2 { font-family:'Roboto Slab',serif; font-weight:700; }
h1 { margin:0 0 8px; letter-spacing:.03em; font-size:clamp(30px,3.6vw,44px); line-height:1.08; }
h2 { margin:8px 0 14px; letter-spacing:.02em; font-size:22px; }
.lede { margin:0; color:var(--muted); font-size:16px; line-height:1.55; max-width:560px; }
.muted { color:#8A857A; font-weight:400; font-size:.8em; }
.help { margin:0 0 16px; color:var(--muted); font-size:14px; line-height:1.55; }

.topbar { background:var(--olive); color:#fff; }
.topbar .wrap { padding:9px 20px; display:flex; flex-wrap:wrap; gap:6px 26px; font-size:12.5px; }
.hdr { background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:60; }
.hdr-row { padding:14px 20px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; }
.brand { display:flex; align-items:baseline; gap:10px; }
.brand-name { font-family:'Roboto Slab',serif; font-weight:700; letter-spacing:.18em; font-size:22px; color:var(--coral); }
.brand-sub { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#9A968B; }
.grow { flex:1; min-width:10px; }
.stepinfo { font-size:13px; color:#5E5A50; }
.quota { font-size:12.5px; font-weight:700; color:var(--olive); background:#EEF3D0; border-radius:999px; padding:6px 12px; }
.progress { height:3px; background:#EFE9DC; }
.progress div { height:3px; background:var(--coral); width:20%; transition:width .3s ease; }

.grid { padding:34px 20px 80px; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:34px; align-items:start; }
@media (max-width:900px) { .grid { grid-template-columns:1fr; } .right { position:static !important; } }
.left { display:flex; flex-direction:column; gap:22px; min-width:0; }
.right { position:sticky; top:96px; min-width:0; display:flex; flex-direction:column; gap:18px; }

.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chips button { border:1px solid var(--line2); background:#fff; color:var(--ink2); padding:9px 14px; border-radius:999px; font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap; }
.chips button.on { border-color:var(--coral); background:#FDECEB; color:var(--ink); }
.chips button.done::after { content:" ✓"; color:var(--olive); }

.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:26px; }
.step { animation:fadeUp .3s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.kicker { font-size:11px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--coral); }

.occ-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:12px; }
.occ { border:2px solid var(--line2); background:#fff; border-radius:10px; padding:16px 14px; cursor:pointer; display:flex; flex-direction:column; gap:6px; text-align:left; font-size:15px; font-weight:700; color:var(--ink); }
.occ .ico { font-size:24px; }
.occ.on { border-color:var(--coral); background:#FDECEB; }

.up-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:12px; }
.up { border:2px dashed var(--line2); border-radius:10px; min-height:190px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px; background:var(--soft); position:relative; cursor:pointer; text-align:center; color:var(--muted); font-size:13px; }
.up.drag { border-color:var(--coral); background:#FDECEB; }
.up img { max-width:100%; max-height:110px; object-fit:contain; }
.up select { border:1px solid var(--line2); border-radius:6px; padding:6px 8px; font-size:13px; background:#fff; }
.up .x { position:absolute; top:6px; right:6px; width:26px; height:26px; border-radius:999px; border:1px solid var(--line2); background:#fff; cursor:pointer; font-size:15px; line-height:1; }
.up.filled { border-style:solid; background:#fff; cursor:default; }

.style-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; }
.sty { border:2px solid var(--line); border-radius:12px; overflow:hidden; cursor:pointer; background:#fff; text-align:left; padding:0; display:flex; flex-direction:column; position:relative; }
.sty.on { border-color:var(--coral); box-shadow:0 0 0 3px #FDECEB; }
.sty .thumb { aspect-ratio:3/4; background:#F3EFE8; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.sty .thumb img { width:100%; height:100%; object-fit:contain; }
.sty .meta { padding:10px 11px 12px; }
.sty .meta strong { display:block; font-size:13.5px; }
.sty .meta span { display:block; font-size:12px; color:var(--muted); margin-top:3px; line-height:1.35; }
.rec { position:absolute; top:8px; left:8px; background:var(--olive); color:#fff; font-size:10.5px; font-weight:800; letter-spacing:.06em; padding:4px 8px; border-radius:999px; }
.rec-dot { background:var(--olive); color:#fff; font-size:11px; font-weight:800; padding:2px 8px; border-radius:999px; }

.form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin-bottom:14px; }
.fields { display:flex; flex-direction:column; gap:12px; margin-bottom:14px; }
label { display:flex; flex-direction:column; gap:6px; }
label > span { font-size:12.5px; font-weight:700; color:var(--ink2); }
label.full { margin-bottom:14px; }
input, select, textarea { border:1.5px solid var(--line2); border-radius:6px; padding:12px 14px; font-size:15px; outline:0; background:#FDFCF9; color:var(--ink); }
input:focus, select:focus, textarea:focus { border-color:var(--coral); }
.field-hint { font-size:12px; color:#8A857A; }
.mandatory { background:var(--soft); border-radius:10px; padding:14px 16px; font-size:13px; color:#5E5A50; line-height:1.55; display:flex; flex-direction:column; gap:4px; }
.mandatory strong { color:var(--ink); }
.mandatory span { font-weight:700; color:var(--olive); }
.mandatory em { font-size:12px; }

.swatches { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.sw { width:44px; height:44px; border-radius:999px; cursor:pointer; border:1px solid rgba(0,0,0,.12); box-shadow:0 0 0 2px #fff; position:relative; }
.sw.on { box-shadow:0 0 0 2px #fff, 0 0 0 5px var(--coral); }
.colorrow { display:flex; flex-wrap:wrap; gap:14px 26px; align-items:center; margin-bottom:12px; }
.custom { flex-direction:row; align-items:center; gap:10px; cursor:pointer; }
.custom input { width:44px; height:44px; padding:0; border-radius:999px; border:1px solid var(--line2); cursor:pointer; }
.custom span, .check span { font-size:13.5px; font-weight:600; color:var(--ink2); }
.check { flex-direction:row; align-items:center; gap:8px; cursor:pointer; }
.check input { width:18px; height:18px; accent-color:var(--coral); }
.picked { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; min-height:10px; }
.picked span { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line2); border-radius:999px; padding:5px 10px 5px 5px; font-size:12.5px; font-weight:700; }
.picked i { width:20px; height:20px; border-radius:999px; display:inline-block; border:1px solid rgba(0,0,0,.12); }
.summary { background:var(--soft); border-radius:10px; padding:14px 16px; font-size:13px; line-height:1.7; color:#5E5A50; margin-bottom:16px; }
.summary b { color:var(--ink); }

.btn-primary { border:0; background:var(--coral); color:#fff; padding:13px 20px; border-radius:6px; font-size:14.5px; font-weight:800; cursor:pointer; }
.btn-primary:hover { background:var(--coral-d); }
.btn-primary:disabled { background:#D8CFC0; cursor:not-allowed; }
.btn-primary.big { width:100%; padding:17px; font-size:16px; }
.btn-ghost { border:1.5px solid var(--line2); background:#fff; color:var(--olive); padding:12px 18px; border-radius:6px; font-size:14px; font-weight:700; cursor:pointer; text-align:center; }
.btn-ghost.small { padding:9px 12px; font-size:13px; }
.nav-row { display:flex; justify-content:space-between; gap:12px; }
.gen-note { font-size:12.5px; color:var(--muted); margin-top:10px; text-align:center; }
.error { margin-top:12px; background:#FDECEB; border:1px solid #F3B8B6; color:#8E2A27; border-radius:8px; padding:10px 12px; font-size:13.5px; }

.stage { background:var(--olive); border-radius:16px; padding:22px 22px 18px; display:flex; flex-direction:column; align-items:center; gap:16px; position:relative; min-height:520px; }
.views { align-self:stretch; display:flex; gap:6px; }
.views button { flex:1; border:1px solid rgba(255,255,255,.35); background:transparent; color:#E6E9DB; padding:9px; border-radius:6px; font-size:12.5px; font-weight:700; cursor:pointer; }
.views button.on { border-color:var(--coral); background:var(--coral); color:#fff; }
.bottle-wrap { display:flex; justify-content:center; }
.bottle { position:relative; width:220px; height:440px; display:flex; flex-direction:column; align-items:center; filter:drop-shadow(0 18px 26px rgba(0,0,0,.35)); }
.cap { width:46px; height:70px; background:linear-gradient(90deg,#2E1A0B,#7A4A1E 38%,#8A5626 52%,#33200D); border-radius:6px 6px 0 0; }
.neck-ring { width:46px; height:16px; background:linear-gradient(90deg,#20140A,#5E3A17 45%,#241608); }
.shoulder { width:144px; height:36px; background:linear-gradient(90deg,#2E1A0B,#7A4A1E 38%,#8A5626 52%,#33200D); clip-path:polygon(35% 0,65% 0,100% 100%,0 100%); }
.body { position:relative; width:144px; flex:1; background:linear-gradient(90deg,#2A180A,#77481D 36%,#8D5827 52%,#5B3715 74%,#2A180A); border-radius:6px 6px 16px 16px; display:flex; align-items:center; justify-content:center; }
.label { width:124px; height:165px; border-radius:3px; overflow:hidden; background:#FAF7F0; box-shadow:0 2px 8px rgba(0,0,0,.35); }
.label svg, .flat svg { width:100%; height:100%; display:block; }
.flat-wrap { width:100%; display:flex; justify-content:center; }
.flat { width:100%; max-width:330px; aspect-ratio:3/4; border-radius:6px; overflow:hidden; background:#FAF7F0; box-shadow:0 14px 30px rgba(0,0,0,.28); }
.placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; padding:14px; color:#8A857A; font-size:12px; background:repeating-linear-gradient(45deg,#FAF7F0,#FAF7F0 10px,#F3EFE8 10px,#F3EFE8 20px); }
.placeholder img { width:100%; height:100%; object-fit:cover; opacity:.55; }
.dieline { color:#E6E9DB; font-size:12px; text-align:center; }
.loading { position:absolute; inset:0; background:rgba(63,74,38,.88); border-radius:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; color:#fff; font-weight:700; text-align:center; padding:30px; z-index:5; }
.spin { width:46px; height:46px; border-radius:999px; border:4px solid rgba(255,255,255,.25); border-top-color:var(--lime); animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

.designs { padding:18px; display:flex; flex-direction:column; gap:12px; }
.designs-head { display:flex; justify-content:space-between; font-size:14px; }
.designs-head span { color:var(--muted); font-weight:700; }
.thumbs { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.thumbs .empty { grid-column:1/-1; font-size:13px; color:var(--muted); line-height:1.5; }
.tb { border:2px solid var(--line); border-radius:8px; overflow:hidden; aspect-ratio:3/4; cursor:pointer; padding:0; background:#fff; }
.tb.on { border-color:var(--coral); }
.tb-in { width:100%; height:100%; pointer-events:none; }

.order { padding:22px; display:flex; flex-direction:column; gap:12px; }
.order .row { display:flex; justify-content:space-between; gap:12px; font-size:14px; }
.order .row span { color:var(--muted); }
.order .price strong { font-size:24px; font-family:'Roboto Slab',serif; letter-spacing:.02em; }
.order .note { font-size:12.5px; color:#8A857A; line-height:1.55; }
.order .note.sep { border-top:1px solid #EFE9DC; padding-top:12px; color:var(--muted); }
.tiers { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.tier { border:2px solid var(--line2); background:#fff; border-radius:8px; padding:9px 4px; cursor:pointer; text-align:center; font-size:15px; font-weight:800; }
.tier small { display:block; font-size:11px; color:#8A857A; font-weight:600; }
.tier.on { border-color:var(--coral); background:#FDECEB; }

.modal { position:fixed; inset:0; background:rgba(34,34,30,.55); display:flex; align-items:center; justify-content:center; padding:16px; z-index:100; }
.modal-card { width:100%; max-width:460px; display:flex; flex-direction:column; gap:12px; max-height:92vh; overflow:auto; }
.toast { position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--olive); color:#fff; padding:12px 18px; border-radius:999px; font-weight:700; font-size:14px; z-index:120; box-shadow:0 10px 30px rgba(0,0,0,.25); }
@media (max-width:560px) { .card { padding:18px; } .tiers { grid-template-columns:repeat(2,1fr); } .stage { min-height:0; } }

/* liggend etiket (traditionele stijlen): rondom de fles */
.stage.land .label { width:144px; height:115px; border-radius:0; box-shadow:0 2px 6px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.08); }
.stage.land .flat { max-width:420px; }
