/* Dawo Print – návrhár potlače */

.designer [hidden] { display: none !important; }

.designer { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(3rem, 6vw, 5rem); }

/* ---------- hlavička ---------- */
.dz-head { display: grid; gap: 1.2rem; align-items: end; margin-bottom: 1.6rem; }
.dz-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.dz-head .section-lede { max-width: 58ch; margin: 0; }
.dz-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.dz-steps li {
  display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-2);
  padding: .45rem .9rem .45rem .5rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.dz-steps span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: .78rem;
}
@media (min-width: 900px) { .dz-head { grid-template-columns: 1fr auto; } }

/* ---------- dlaždice produktov ---------- */
.dz-products { display: flex; gap: 1.4rem; overflow-x: auto; padding: .3rem .2rem .9rem; scrollbar-width: thin; }
.pgroup { flex: none; }
.pgroup-name { margin: 0 0 .45rem .2rem; font-size: .78rem; font-weight: 600; color: var(--muted); }
.ptiles { display: flex; gap: .6rem; }
.ptile {
  flex: none; width: 118px; padding: .55rem .5rem .6rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  display: grid; gap: .45rem; justify-items: center; color: var(--ink-2);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ptile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.ptile.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); color: var(--ink); }
.ptile-art { width: 100%; height: 62px; display: grid; place-items: center; }
.ptile-art svg { width: 100%; height: 100%; }
.ptile-name { font-family: var(--display); font-weight: 600; font-size: .8rem; text-align: center; line-height: 1.2; }
.dz-product-hint { margin: .1rem 0 1.4rem; font-size: .9rem; color: var(--muted); }

/* ---------- rozloženie ---------- */
.dz { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 1000px) {
  .dz { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr); gap: 2rem; }
  .dz-stage { position: sticky; top: 90px; }
}

/* ---------- náhľad ---------- */
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .7rem; }
.view-tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.vtab {
  font-family: var(--display); font-weight: 600; font-size: .86rem; cursor: pointer;
  padding: .42rem .95rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2);
}
.vtab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.vtab:hover { border-color: var(--blue); }
.vtab-count {
  display: inline-block; min-width: 18px; margin-left: .35rem; padding: 0 .3rem;
  border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; line-height: 18px; text-align: center;
}
.vtab.is-active .vtab-count { background: #fff; color: var(--ink); }
[data-theme="dark"] .vtab.is-active { background: var(--blue); border-color: var(--blue); }

.icon-btn {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: 999px; padding: .4rem .8rem; font-size: .84rem; cursor: pointer;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn.is-on { background: var(--sky-10); border-color: var(--blue); color: var(--blue); }

.stage-box {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--mist) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stage { padding: clamp(1rem, 3vw, 2rem) clamp(.8rem, 3vw, 2rem) clamp(2.6rem, 5vw, 3.4rem); }
.stage svg.mockup { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.stage svg.mockup.is-dragging { cursor: grabbing; }
.stage .lyr { cursor: grab; }
.stage-hint { text-align: center; color: var(--muted); font-size: .86rem; margin: .7rem 0 0; }
[data-theme="dark"] .stage-box { background: #F3F7FB; }
[data-theme="dark"] .stage .zone text { fill: #24528F; }

/* vodidlá, výber, úchyty */
.stage .zone rect { fill: none; stroke: #1A56A4; stroke-width: 2.5; stroke-dasharray: 9 6; pointer-events: none; }
.stage .zone.is-active rect { fill: rgba(26,86,164,.07); opacity: .95; }
.stage .zone-hit { fill: none !important; stroke: transparent !important; stroke-width: 16 !important; stroke-dasharray: none !important; pointer-events: stroke !important; cursor: move; }
.stage .zone-grip circle { fill: #1A56A4; stroke: #fff; stroke-width: 2; cursor: move; }
.stage .zone-grip path { stroke: #fff; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.stage .zone.is-used rect { stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .55; }
.stage .zone.is-idle rect { stroke-width: 1.2; stroke-dasharray: 2 6; opacity: .28; }
.stage .zone text { font-family: var(--body); font-size: 14px; font-weight: 600; fill: #1A56A4;
                    paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.stage .sel-move { fill: transparent; stroke: none; cursor: grab; }

/* výber tlačovej plochy pod záložkami pohľadov */
.zone-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 .7rem; }
.ztab {
  position: relative; display: grid; gap: .05rem; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: var(--r-sm); padding: .4rem 2rem .4rem .7rem; font-size: .82rem;
}
.ztab span { font-family: var(--display); font-weight: 600; }
.ztab small { color: var(--muted); font-size: .72rem; }
.ztab:hover { border-color: var(--blue); }
.ztab.is-active { border-color: var(--blue); background: var(--sky-10); color: var(--blue); }
.ztab.is-active small { color: var(--blue); opacity: .8; }
.ztab-reset { position: absolute; right: .5rem; bottom: .3rem; font-style: normal; font-size: .9rem; color: var(--blue); cursor: pointer; }
.ztab-count { position: absolute; top: .45rem; right: .5rem; min-width: 18px; height: 18px; border-radius: 999px;
              background: var(--blue); color: #fff; font-size: .7rem; display: grid; place-items: center; padding: 0 .3rem; }
.stage .sel-box { fill: none; stroke: #E0483C; stroke-width: 2.5; stroke-dasharray: 6 5; pointer-events: none; }
.stage .sel-stick { stroke: #E0483C; stroke-width: 2; pointer-events: none; }
.stage .handle { fill: #fff; stroke: #E0483C; stroke-width: 2.5; cursor: nwse-resize; }
.stage .handle-rot { cursor: grab; stroke: #1A56A4; }
.stage .handle-hit { fill: transparent; stroke: none; }
.stage .handle:hover { fill: #FFF1EF; }
.stage .snap { stroke: #E0483C; stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .8; pointer-events: none; }

/* plávajúca lišta pre vybranú vrstvu */
.stage-tools {
  position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%);
  display: flex; gap: .15rem; padding: .3rem; max-width: calc(100% - 1.2rem); overflow-x: auto;
  background: color-mix(in srgb, #0F2E5C 92%, transparent); color: #fff;
  border-radius: 14px; box-shadow: 0 12px 30px rgba(11,28,54,.35); backdrop-filter: blur(8px);
}
.stage-tools button {
  flex: none; display: grid; justify-items: center; gap: .15rem;
  min-width: 56px; padding: .35rem .5rem; border: 0; border-radius: 10px;
  background: transparent; color: #DCE8F5; font-size: .66rem; cursor: pointer;
}
.stage-tools button svg { width: 18px; height: 18px; }
.stage-tools button:hover { background: rgba(255,255,255,.14); color: #fff; }
.stage-tools button.danger:hover { background: #C0392B; }
.stage-tools button[hidden] { display: none; }

/* farba pod náhľadom */
.stage-bar { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; flex-wrap: wrap; }
.stage-bar[hidden] { display: none; }
.stage-bar-label { font-size: .82rem; font-weight: 600; color: var(--muted); }
.swatches { display: flex; gap: .45rem; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: var(--c); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform .15s ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--blue); }

/* ---------- panel ---------- */
.dz-panel { display: grid; gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow);
}
.card h2 { font-size: 1.02rem; margin-bottom: .8rem; }
.card-send { position: relative; }
.card .hint { color: var(--muted); font-size: .85rem; margin: .6rem 0 0; }

.pick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
@media (max-width: 420px) { .pick-row { grid-template-columns: 1fr 1fr; } }
.pick {
  display: grid; justify-items: center; gap: .35rem; padding: .85rem .4rem;
  border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, var(--line)); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--blue); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.pick:hover { border-color: var(--blue); background: var(--sky-10); }
.pick svg { width: 24px; height: 24px; }

.note { background: var(--sky-10); border-left: 3px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0;
        padding: .65rem .8rem; font-size: .85rem; color: var(--ink-2); margin: .8rem 0 0; }

.layer-list { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .4rem; }
.layer { display: flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.layer.is-active { border-color: var(--blue); box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 15%, transparent); }
.layer-pick { flex: 1; display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .55rem .7rem; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); }
.layer-kind { flex: none; font-family: var(--display); font-weight: 700; font-size: .66rem; color: var(--blue); background: var(--sky-10); border-radius: 999px; padding: .12rem .5rem; }
.layer-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.layer-del { flex: none; width: 34px; height: 34px; margin-right: .25rem; border: 0; background: none; color: var(--muted); font-size: 1.3rem; border-radius: var(--r-sm); cursor: pointer; }
.layer-del:hover { background: #FBE9E7; color: #B3261E; }

.layer-tools { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.slider { display: grid; gap: .6rem; }
.slider label { display: grid; gap: .25rem; font-size: .84rem; color: var(--ink-2); }
input[type="range"] { width: 100%; accent-color: var(--blue); }

.zone-title { margin: 1rem 0 .4rem; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.zone-title .opt { font-weight: 400; color: var(--muted); }
.zone-row { display: grid; gap: .4rem; margin: 0 0 .4rem; }
.zone-row[hidden] + .zone-title, .zone-row[hidden] { display: none; }
.zone-btn {
  display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; align-items: center; text-align: left;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); padding: .45rem .7rem; font-size: .86rem; cursor: pointer;
}
.zone-btn small { grid-column: 2; color: var(--muted); font-size: .76rem; }
.zone-btn-no { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .74rem; font-weight: 700; }
.zone-btn:hover:not(:disabled) { border-color: var(--blue); }
.zone-btn:disabled { cursor: default; opacity: .8; }
.zone-btn.is-active { background: var(--sky-10); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.stage .zone-no { fill: #1A56A4; }
.stage .zone-no-t { font-family: var(--display); font-weight: 700; font-size: 13px; fill: #fff; stroke: none; }

.text-tools { display: grid; gap: .6rem; margin: .8rem 0 0; }
.text-tools label { display: grid; gap: .3rem; font-size: .84rem; color: var(--ink-2); }
.text-tools input[type="text"], .text-tools select {
  width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink);
}
.text-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; }
.color-pick input[type="color"] { width: 54px; height: 42px; padding: 2px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.text-tools .hint { margin: 0; }

.tool-msg { margin: .8rem 0 0; font-size: .85rem; color: var(--ink-2); background: var(--surface-2); border-radius: var(--r-sm); padding: .6rem .8rem; }
.tool-msg.is-ok  { color: #1B7A4B; background: color-mix(in srgb, #2E9E68 14%, var(--surface)); }
.tool-msg.is-err { color: #B03A3A; background: color-mix(in srgb, #C0392B 12%, var(--surface)); }
[data-theme="dark"] .tool-msg.is-ok { color: #6ED39C; }

.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.size { display: grid; gap: .25rem; text-align: center; font-family: var(--display); font-weight: 700; font-size: .84rem; color: var(--ink-2); }
.size input { width: 100%; text-align: center; font: inherit; padding: .55rem .3rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.qty-single { display: grid; gap: .3rem; font-size: .88rem; }
.qty-single input { font: inherit; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); max-width: 160px; }
.size-grid[hidden], .qty-single[hidden] { display: none; }

.two { display: grid; gap: .9rem; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.btn-block { width: 100%; justify-content: center; }

.draft-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; background: var(--sky-10); border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1.1rem; margin-bottom: 1.4rem; }
.draft-bar p { margin: 0; font-size: .94rem; }
.draft-actions { display: flex; gap: .5rem; margin-left: auto; }

.img-only[hidden] { display: none; }

[data-theme="dark"] .ptile { background: var(--surface); }
[data-theme="dark"] .ptile-art svg { filter: drop-shadow(0 0 3px rgba(255,255,255,.35)); }
[data-theme="dark"] .pick { background: var(--surface-2); }
[data-theme="dark"] .msg.msg-ok { background: #123526; color: #8BE0B0; }

[data-theme="dark"] .ptile, [data-theme="dark"] .card, [data-theme="dark"] .pick { border-color: #33496F; }
[data-theme="dark"] .dz-steps li { border-color: #33496F; }

.size-info { margin: .6rem 0 0; font-size: .84rem; color: var(--ink-2); background: var(--sky-10); border-radius: var(--r-sm); padding: .5rem .7rem; }
.size-info.is-over { color: #B03A3A; background: color-mix(in srgb, #C0392B 12%, var(--surface)); font-weight: 600; }

.custom-size { display: grid; grid-template-columns: auto 1fr 1fr; gap: .4rem .6rem; align-items: center; margin-top: .6rem; font-size: .84rem; color: var(--ink-2); }
.custom-size-label { font-weight: 600; }
.custom-size label { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.custom-size input { width: 72px; font: inherit; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.custom-size small { grid-column: 1 / -1; color: var(--muted); }

.stage-bar-size:has(#sizeView[hidden]) { display: none; }
.size-view { display: flex; gap: .35rem; flex-wrap: wrap; }
.swatch-size { min-width: 38px; padding: .3rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-family: var(--display); font-weight: 600; font-size: .78rem; cursor: pointer; }
.swatch-size:hover { border-color: var(--blue); }
.swatch-size.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="dark"] .swatch-size.is-active { background: var(--blue); border-color: var(--blue); }

/* --- vlastná fotka auta --- */
.photo-bar { background: var(--sky-10); border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem .9rem; margin: 0 0 .8rem; }
.photo-bar-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.photo-bar-row .btn { cursor: pointer; }
.photo-cal { display: grid; gap: .3rem; margin-top: .7rem; }
.photo-cal label { display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; }
.photo-cal input { width: 90px; font: inherit; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.photo-cal small { color: var(--muted); font-size: .78rem; }
.photo-hint { margin: .6rem 0 0; font-size: .84rem; color: var(--ink-2); }
.stage .cal line { stroke: #1A56A4; stroke-width: 3; stroke-dasharray: 8 6; }
.stage .cal-h { fill: #1A56A4; stroke: #fff; stroke-width: 3; cursor: grab; }
.stage .cal text { font-family: var(--display); font-weight: 700; font-size: 16px; fill: #1A56A4; paint-order: stroke; stroke: #fff; stroke-width: 5px; }

/* ---------- interakcie a animácie ---------- */
.stage svg.mockup .garment { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.stage .lyr.is-fresh { animation: lyr-in .45s cubic-bezier(.2,.9,.3,1.3) both; transform-box: fill-box; transform-origin: center; }
@keyframes lyr-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
.stage.is-switching svg.mockup { animation: stage-swap .26s ease; }
@keyframes stage-swap { from { opacity: .35; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
.stage .sel-box { animation: sel-in .25s ease both; }
@keyframes sel-in { from { opacity: 0; } to { opacity: 1; } }
.stage-tools { animation: tools-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tools-in { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.stage .cal-h { animation: cal-pulse 1.6s ease-in-out 3; }
@keyframes cal-pulse { 0%,100% { r: 14; } 50% { r: 19; } }
.ptile.is-active { animation: tile-pop .3s cubic-bezier(.2,.9,.3,1.4); }
@keyframes tile-pop { 50% { transform: scale(1.06); } }
.layer { animation: layer-row .3s ease both; }
@keyframes layer-row { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.swatch, .swatch-size, .vtab, .pick { transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.swatch:active, .swatch-size:active, .vtab:active, .pick:active, .ptile:active { transform: scale(.96); }

/* kroky v hlavičke sa vyfarbujú podľa postupu */
.dz-steps li.is-done span { background: #2E9E68; }
.dz-steps li.is-current { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.dz-steps li.is-done { color: var(--ink-2); }

/* tlačidlo odoslania: stavy */
#sendBtn.is-busy { position: relative; color: transparent; }
#sendBtn.is-busy::after { content: ''; position: absolute; width: 20px; height: 20px; top: calc(50% - 10px); left: calc(50% - 10px); border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#sendBtn.is-sent { background: linear-gradient(135deg, #2E9E68, #43B97F); }

/* mobil: plávajúce odoslanie */
.mobile-send {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 30;
  display: none; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 30px rgba(26,86,164,.4); cursor: pointer; animation: cta-in .4s cubic-bezier(.2,.8,.2,1) both;
}
.mobile-send svg { width: 18px; height: 18px; }
@keyframes cta-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 999px) { .mobile-send:not([hidden]) { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  .stage .lyr.is-fresh, .stage.is-switching svg.mockup, .stage-tools, .ptile.is-active, .layer, .mobile-send, .stage .cal-h { animation: none; }
  .stage svg.mockup .garment { transition: none; }
}

/* ---------- košík veľkostí ---------- */
.basket-add { display: grid; gap: .7rem; }
.basket-sizes { display: flex; flex-wrap: wrap; gap: .35rem; }
.basket-row { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; }
.basket-row .btn { white-space: nowrap; }
.basket-row label { display: grid; gap: .25rem; font-size: .84rem; color: var(--ink-2); }
.basket-row input { width: 84px; font: inherit; padding: .55rem .6rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.basket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.basket-list li { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: .4rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); animation: layer-row .25s ease both; }
.basket-list b { font-family: var(--display); }
.basket-list button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--surface); color: var(--ink-2); cursor: pointer; font-size: 1.1rem; }
.basket-list button:hover { background: var(--sky-10); color: var(--blue); }
.basket-total { margin: 0; font-size: .88rem; font-weight: 600; }
.basket-total.is-empty { font-weight: 400; color: var(--muted); }
.basket-mode { display: grid; gap: .3rem; font-size: .84rem; color: var(--ink-2); padding-top: .6rem; border-top: 1px solid var(--line); }
.basket-mode label { display: flex; align-items: center; gap: .4rem; }

/* ---------- sprievodca ---------- */
.wiz { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: rgba(6,17,33,.62); backdrop-filter: blur(6px); animation: sel-in .25s ease; }
.wiz[hidden] { display: none; }
.wiz-card { position: relative; width: min(100%, 520px); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 2rem 1.6rem 1.4rem; box-shadow: var(--shadow-lg); animation: wiz-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes wiz-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.wiz-close { position: absolute; top: .6rem; right: .7rem; width: 36px; height: 36px; border: 0; background: var(--surface-2); border-radius: 50%; font-size: 1.4rem; color: var(--muted); cursor: pointer; }
.wiz-slides { min-height: 210px; }
.wiz-slide { display: none; }
.wiz-slide.is-on { display: block; animation: layer-row .3s ease; }
.wiz-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem; }
.wiz-slide h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.wiz-slide p { color: var(--ink-2); margin: 0; }
.wiz-nav { display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.wiz-dots { display: flex; gap: .35rem; margin-right: auto; }
.wiz-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; }
.wiz-dots i.is-on { background: var(--blue); }
.wiz-skip { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .3rem; }
.wiz-open { margin-left: auto; }
@media (min-width: 900px) { .dz-head { grid-template-columns: 1fr auto auto; } }
