/* ═══════════════════════════════════════════════════════════════════════════
   Hang On Logo-designer v2.0.0
   Tre trin: 1 Upload · 2 Tryk og antal · 3 Send
   Brand fra hangon.dk: Inter / Inter Tight, #121212, grøn KUN som accent,
   skarpt og redaktionelt (radius 3 px på knapper/inputs, højst 8 px på kort,
   ingen skygger ud over modalskyggen).
   Alle farver samles i variablerne herunder. Pantone-swatches (inline) er produktdata.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #121212;
  --ink-inverse: #fff;
  --bg: #f7f8f9;
  --card: #fff;
  --line: #e2e4e6;
  --line-strong: #8c8f93;
  --muted: #5d5a55;
  --accent: #58d498;
  --accent-ink: #121212;
  --err: #c0392b;
  --err-bg: #fbeceb;
  --info-bg: #f6f1e9;
  --info-line: #e6dccb;
  --canvas-bg: #eceef0;
  --shade: rgba(18, 18, 18, 0.55);
  --modal-shadow: 0 8px 28px rgba(18, 18, 18, 0.18);
  --r-ctl: 10px;
  --r-card: 16px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
body { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--ink); -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); }
button, input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; }

/* Skærmlæser-tekst */
.hld-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.hld-app { max-width: 1240px; margin: 0 auto; padding: 16px 20px 40px; }

/* ── Knapper ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border: 1px solid var(--ink); border-radius: var(--r-ctl);
  font-size: 16px; font-weight: 500; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; background: var(--card); color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: var(--ink-inverse); }
.btn-primary:hover { background: var(--card); color: var(--ink); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--ink-inverse); }
.btn-lg { min-height: 52px; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: default; }
.btn-primary[disabled]:hover, .btn-primary.is-busy:hover { background: var(--ink); color: var(--ink-inverse); }
.link-btn { background: none; border: 0; padding: 12px 0; min-height: 44px; min-width: 44px; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; }
.link-btn:hover { text-decoration-thickness: 2px; }

/* ── Trinindikator (det eneste sted pilleformer er tilladt) ──────────────── */
.hld-stepper { margin: 0 0 20px; }
.hld-stepper ol { list-style: none; display: flex; align-items: center; justify-content: center; gap: 0; }
.hld-stepper li { display: flex; align-items: center; }
.hld-stepper li + li::before { content: ''; display: block; width: 40px; height: 1px; background: var(--line-strong); margin: 0 10px; }
.hs-step { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 4px 6px; background: none; border: 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); }
.hs-step[disabled] { cursor: default; }
.hs-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--muted); font-weight: 600; font-size: 14px; flex: none; }
.hld-stepper li.is-done .hs-num { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hld-stepper li.is-current .hs-num { background: var(--accent); border-color: var(--ink); color: var(--accent-ink); }
.hld-stepper li.is-current .hs-label { color: var(--ink); font-weight: 600; }
.hld-stepper li.is-done .hs-label { color: var(--ink); }

/* ── Synlighed pr. trin ──────────────────────────────────────────────────── */
.hld-app[data-step="1"] #hldStep2,
.hld-app[data-step="1"] #hldStep3,
.hld-app[data-step="2"] #hldStart,
.hld-app[data-step="2"] #hldStep3,
.hld-app[data-step="3"] #hldStart,
.hld-app[data-step="3"] #hldStep2,
.hld-app[data-step="3"] #hldFaq,
.hld-app[data-step="1"] .mobile-bar,
.hld-app[data-step="3"] .mobile-bar { display: none !important; }

/* ── Trin 1: upload ──────────────────────────────────────────────────────── */
.hld-start { max-width: 880px; margin: 0 auto; padding: 24px 0 24px; text-align: center; }
.hs-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.hs-sub { margin: 0 auto 28px; max-width: 640px; color: var(--muted); font-size: 18px; }
.hs-drop {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 640px; margin: 0 auto; padding: 36px 20px;
  background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--r-card);
  transition: border-color .15s, background .15s;
}
.hs-drop.dragover, .hs-drop:hover { border-color: var(--ink); }
.hs-drop-icon { color: var(--ink); }
.hs-drop-sub { color: var(--muted); font-size: 15px; }
.hs-msg { max-width: 640px; margin: 12px auto 0; text-align: left; }
.hs-msg:empty { display: none; }
.hs-example { margin: 16px 0 0; }
.hs-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 32px; }
.hs-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.hs-facts svg { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 2px; flex: none; }
.hs-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.hs-photos figure { margin: 0; }
.hs-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.hs-photos figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ── Trin 2: layout ──────────────────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.mockup-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.controls-panel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.canvases-row { display: flex; gap: 8px; width: 100%; }
.canvas-block-main, .canvas-block-zoom { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.canvas-block-main { flex: 1; }
.canvas-label { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.canvas-zoom-wrap { width: 100%; overflow: auto; border-radius: var(--r-ctl); background: var(--card); position: relative; }
.canvas-block-slot { flex: 1; min-width: 0; }
.canvas-block-slot[hidden] { display: none; }
.canvas-block-main.is-hidden-view { display: none; }
.canvas-zoom-wrap.dragover { outline: 2px dashed var(--ink); outline-offset: -3px; }
.canvas-drop-overlay { display: none; position: absolute; inset: 0; z-index: 5; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--shade); color: var(--ink-inverse); font-size: 16px; font-weight: 500; pointer-events: none; }
.canvas-zoom-wrap.dragover .canvas-drop-overlay { display: flex; }
#mockupCanvas, #zoomCanvas { display: block; border-radius: var(--r-ctl); border: 1px solid var(--line); max-width: none; }
#mockupCanvas { cursor: default; touch-action: pan-y; }
#mockupCanvas.is-adjusting { cursor: crosshair; touch-action: none; }
#zoomCanvas { max-width: 100%; height: auto; cursor: default; }
#zoomCanvas.zv-zoomable { cursor: grab; }
#zoomCanvas.zv-panning { cursor: grabbing; }
#mockupCanvas:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@keyframes spin { to { transform: rotate(360deg); } }
.canvas-loading { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--canvas-bg); color: var(--muted); font-size: 14px; transition: opacity .2s ease; }
.canvas-loading.is-hidden { opacity: 0; pointer-events: none; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
.spinner-mini { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; flex: none; }
.upload-loading { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.upload-loading[hidden] { display: none; }

.place-note { font-size: 16px; color: var(--ink); max-width: 62ch; }
.info-box { background: var(--info-bg); border: 1px solid var(--info-line); border-radius: var(--r-card); padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.info-box[hidden] { display: none; }

.file-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); }
.file-thumb { width: 44px; height: 44px; object-fit: contain; border-radius: var(--r-ctl); background: var(--card); border: 1px solid var(--line); }
.file-thumb[hidden] { display: none; }
.file-name { flex: 1; min-width: 120px; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#logoInput { display: none; }

.file-warnings { display: flex; flex-direction: column; gap: 8px; }
.file-warnings[hidden] { display: none; }
.fw-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-card); font-size: 15px; line-height: 1.5; border: 1px solid var(--info-line); background: var(--info-bg); color: var(--ink); }
.fw-item .fw-icon { flex: none; margin-top: 2px; display: inline-flex; }
.fw-item.fw-error { background: var(--err-bg); border-color: var(--err); color: var(--ink); }
.fw-item.fw-error .fw-icon { color: var(--err); }
.fw-item.fw-ok .fw-icon { color: var(--ink); }

.adjust-toggle { display: flex; flex-wrap: wrap; gap: 10px; }
.adjust-toggle .btn[hidden] { display: none; }
.adjust-panel { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.adjust-panel[hidden] { display: none; }
.logo-tools { display: flex; flex-direction: column; gap: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tool-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 15px; font-weight: 500; cursor: pointer; }
.tool-btn:hover:not([disabled]) { border-color: var(--ink); }
.tool-btn[disabled], .tool-btn.is-disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.tool-btn.active { background: var(--ink); color: var(--ink-inverse); border-color: var(--ink); }
.rotate-tool { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rotate-tool-label { font-size: 15px; font-weight: 500; }
.rotate-tool input[type="range"] { flex: 1; min-width: 100px; min-height: 44px; accent-color: var(--ink); cursor: pointer; }
.rotate-tool-value { font-size: 15px; font-weight: 600; min-width: 44px; text-align: right; }
.tool-btn-mini { min-height: 44px; padding: 8px 14px; background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 14px; font-weight: 500; cursor: pointer; }
.tool-btn-mini:hover { border-color: var(--ink); }
.zoom-controls, .zoom-detail-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.zoom-controls button, .zoom-detail-controls button { min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--card); color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 500; }
.zoom-controls button:hover, .zoom-detail-controls button:hover { border-color: var(--ink); }
#zoomLabel, #zvScaleLabel { min-width: 48px; text-align: center; font-weight: 600; }
.zoom-label-text, .zv-hint { color: var(--muted); font-size: 14px; }
.canvas-hint { font-size: 14px; color: var(--muted); }
.canvas-hint:empty { display: none; }
.mm-display { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mm-display:empty { display: none; }
.mm-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 14px; padding: 6px 10px; }
.mm-chip .mm-max { color: var(--muted); margin-left: 4px; }
.mm-snap-tag { display: inline-flex; align-items: center; background: var(--accent); color: var(--accent-ink); border-radius: var(--r-ctl); font-size: 13px; font-weight: 500; padding: 6px 10px; }
.canvas-block-zoom { border-top: 1px solid var(--line); padding-top: 12px; }

/* ── Trin 2: højre kolonne ───────────────────────────────────────────────── */
.cp-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; }
.cp-block[hidden] { display: none; }
.cp-title { font-size: 18px; margin-bottom: 12px; }
.option-cards { display: flex; flex-direction: column; gap: 8px; }
.option-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border: 1px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; background: var(--card); }
.option-card[hidden] { display: none; }
.option-card:hover { border-color: var(--ink); }
.option-card.active { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; }
.option-card .radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; flex: none; background: var(--card); }
.option-card.active .radio { background: var(--accent); }
.option-card.active .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.option-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.option-card .label { font-size: 16px; font-weight: 600; }
.option-card .desc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.method-price { margin-left: auto; flex: none; font-size: 15px; font-weight: 600; white-space: nowrap; }

.toggle-group { display: flex; border: 1px solid var(--ink); border-radius: var(--r-ctl); overflow: hidden; }
.toggle-btn { flex: 1; min-height: 48px; padding: 10px; border: 0; border-right: 1px solid var(--ink); background: var(--card); cursor: pointer; font-size: 16px; font-weight: 500; }
.toggle-btn[hidden] { display: none; }
.toggle-btn:last-child { border-right: 0; }
.toggle-btn.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.color-tool { display: flex; flex-direction: column; gap: 8px; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.color-swatch { width: 44px; height: 44px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); cursor: pointer; flex: none; padding: 0; position: relative; }
.color-swatch:hover { border-color: var(--ink); }
.color-swatch.active { outline: 2px solid var(--ink); outline-offset: 2px; }
.color-swatch--original { background: conic-gradient(red, yellow, lime, aqua, blue, fuchsia, red); }
.color-swatch--white { background: white; }
.color-swatch--picker { background: var(--picker-color, conic-gradient(deeppink, orange, yellow, lime, aqua, dodgerblue, deeppink)); font-size: 18px; font-weight: 700; color: var(--ink-inverse); display: flex; align-items: center; justify-content: center; text-shadow: 0 0 3px var(--ink); }
.color-picker-native { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.pms-hint { font-size: 14px; color: var(--muted); min-height: 20px; }
.pms-hint strong { color: var(--ink); font-weight: 600; }
.laser-locked { opacity: .5; pointer-events: none; }

.extra-line-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.extra-line-name { flex: 1; min-width: 0; font-size: 15px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qty-stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.qty-btn { width: 48px; height: 48px; flex: none; border: 1px solid var(--ink); border-radius: var(--r-ctl); background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.qty-btn:hover { background: var(--ink); color: var(--ink-inverse); }
.antal-input { width: 96px; min-height: 48px; padding: 10px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--card); font-size: 18px; font-weight: 600; text-align: center; }
.qty-stepper .antal-input { width: 88px; }
.antal-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
#antalNote { margin-top: 12px; }
.extra-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.extra-lines:empty { display: none; }
.extra-line-remove { width: 44px; height: 44px; flex: none; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--card); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.extra-line-remove:hover { border-color: var(--err); color: var(--err); }

/* Pris */
.price-box #priceContent { display: block; }
.pl-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 6px 0; }
.pl-left { min-width: 0; }
.pl-name { font-size: 15px; }
.pl-sub { font-size: 14px; color: var(--muted); margin-top: 1px; }
.pl-amt { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.pl-total > span:first-child { font-size: 15px; font-weight: 500; }
.pl-total > span:last-child { font-family: var(--font-head); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-excl { font-size: 14px; color: var(--muted); font-weight: 400; display: block; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.price-unavailable { font-size: 16px; font-weight: 500; padding: 4px 0; }
.price-agreement { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.tier-fold { margin-top: 10px; }
.tier-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; }
.tier-fold > summary::-webkit-details-marker { display: none; }
.tier-fold > summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); transition: transform .15s; flex: none; }
.tier-fold[open] > summary::before { transform: rotate(45deg); }
.tier-sub { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 8px; }
.tier-table { border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; }
.tier-row { display: flex; align-items: center; padding: 8px 12px; font-size: 15px; border-top: 1px solid var(--line); }
.tier-row:first-child { border-top: 0; }
.tier-range { flex: 1; }
.tier-price { font-variant-numeric: tabular-nums; }
.tier-here { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.tier-badge { margin-left: 10px; font-size: 13px; font-weight: 600; }
.tier-nudge { margin-top: 10px; font-size: 14px; background: var(--info-bg); border: 1px solid var(--info-line); border-radius: var(--r-ctl); padding: 8px 12px; line-height: 1.5; }

.cta-group { display: flex; flex-direction: column; gap: 10px; }
.cta-note { font-size: 14px; color: var(--muted); text-align: center; }

/* Flere valg */
.fold { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; min-height: 48px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; user-select: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s; flex: none; margin-right: 4px; }
.fold[open] > summary::after { transform: rotate(-135deg); }
.fold-body { padding: 16px; border-top: 1px solid var(--line); }
.more-block + .more-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.more-title { font-size: 16px; margin-bottom: 10px; }
.section-sub { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.text-input-field { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 16px; background: var(--card); }
.text-tools { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); }
.text-tools[hidden] { display: none; }
.text-opt-row { display: flex; align-items: center; gap: 10px; font-size: 15px; flex-wrap: wrap; }
.text-opt-row label, .text-opt-label { min-width: 72px; font-weight: 600; }
.text-opt-row select { flex: 1; min-height: 44px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 16px; background: var(--card); }
.text-opt-row input[type="range"] { flex: 1; min-height: 44px; accent-color: var(--ink); cursor: pointer; }
.text-opt-val { font-size: 15px; font-weight: 600; min-width: 48px; text-align: right; }
.text-color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.text-fontwish { display: flex; flex-direction: column; gap: 6px; }
.text-fontwish label { font-size: 15px; font-weight: 600; }
.text-fontwish-hint { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Flere bøjler: kort under billedet */
#moreStacked { margin-top: 14px; }
.stacked-head { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.stacked-samesize { font-size: 14px; font-weight: 500; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: var(--r-ctl); background: var(--card); cursor: pointer; }
.stacked-samesize:hover { background: var(--ink); color: var(--ink-inverse); }
.stacked-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stacked-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px; background: var(--card); width: 100%; cursor: pointer; }
.stacked-card:hover { border-color: var(--ink); }
.stacked-card canvas { display: block; max-width: 100%; border-radius: var(--r-ctl); background: var(--canvas-bg); }
.stacked-name { font-size: 15px; font-weight: 600; margin-top: 8px; }
.stacked-sub { font-size: 14px; color: var(--muted); margin-top: 1px; }
.stacked-card--add { width: 100%; display: flex; align-items: center; justify-content: center; border-style: dashed; border-color: var(--line-strong); min-height: 56px; }
.stacked-add-inner { display: flex; align-items: center; gap: 8px; }
.stacked-add-plus { font-size: 24px; line-height: 1; }
.stacked-add-label { font-size: 15px; font-weight: 500; }

/* Bøjle-vælger */
.modal-overlay { display: none; position: fixed; inset: 0; background: var(--shade); z-index: 1000; align-items: center; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--card); border-radius: var(--r-card); box-shadow: var(--modal-shadow); width: 480px; max-width: 95vw; max-height: 90vh; overflow-y: auto; }
.bv-modal { padding: 0; width: 600px; max-height: 88vh; display: flex; flex-direction: column; }
.bv-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.bv-head strong { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.bv-close { border: 1px solid var(--line-strong); background: var(--card); width: 44px; height: 44px; border-radius: var(--r-ctl); font-size: 22px; cursor: pointer; line-height: 1; }
.bv-close:hover { border-color: var(--ink); }
.bv-search { margin: 14px 20px 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 16px; }
.bv-body { padding: 4px 20px 20px; overflow-y: auto; }
.bv-section-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .04em; }
.bv-fam-tag { font-size: 13px; font-weight: 500; background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: var(--r-ctl); text-transform: none; letter-spacing: 0; }
.bv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bv-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; text-align: center; position: relative; }
.bv-card-current { background: var(--bg); }
.bv-thumb { height: 66px; display: flex; align-items: center; justify-content: center; }
.bv-thumb img { max-width: 100%; max-height: 66px; object-fit: contain; }
.bv-name { font-size: 14px; margin: 6px 0 8px; line-height: 1.3; }
.bv-actions { display: flex; flex-direction: column; gap: 6px; }
.bv-btn { font-size: 14px; min-height: 44px; padding: 8px; border: 1px solid var(--ink); border-radius: var(--r-ctl); background: var(--card); color: var(--ink); cursor: pointer; font-weight: 500; }
.bv-btn:hover { background: var(--ink); color: var(--ink-inverse); }
.bv-btn.bv-skift { background: var(--ink); color: var(--ink-inverse); }
.bv-btn.bv-skift:hover { background: var(--card); color: var(--ink); }
.bv-btn.bv-added { background: var(--accent); color: var(--accent-ink); border-color: var(--ink); cursor: default; }
.bv-here { font-size: 14px; color: var(--muted); padding: 10px 0; }
.bv-star { position: absolute; top: 6px; right: 8px; color: var(--ink); display: inline-flex; }
.bv-empty { font-size: 15px; color: var(--muted); padding: 20px 0; text-align: center; }

/* Laser-referencefotos */
.laser-samples { margin-top: 12px; padding: 12px 14px; background: var(--info-bg); border: 1px solid var(--info-line); border-radius: var(--r-card); }
.laser-samples[hidden] { display: none; }
.laser-samples .ls-head strong { display: block; font-size: 15px; margin-bottom: 4px; }
.laser-samples .ls-head p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.ls-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ls-item { margin: 0; width: 88px; }
.ls-thumb { display: block; width: 88px; height: 66px; padding: 0; cursor: zoom-in; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; background: var(--card); }
.ls-thumb:hover { border-color: var(--ink); }
.ls-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-item figcaption { font-size: 13px; text-align: center; margin-top: 4px; line-height: 1.3; }
.ls-note { font-size: 14px; line-height: 1.5; margin: 10px 0 0; }
.ls-note--custom { border-top: 1px solid var(--info-line); padding-top: 8px; }
.ls-lightbox { display: none; position: fixed; inset: 0; z-index: 1200; background: var(--shade); cursor: zoom-out; align-items: center; justify-content: center; padding: 24px; }
.ls-lightbox.open { display: flex; }
.ls-lightbox-inner { max-width: 900px; max-height: 90vh; text-align: center; }
.ls-lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--r-card); display: block; }
.ls-lightbox-cap { color: var(--ink-inverse); font-size: 15px; margin-top: 10px; }

/* Træk-og-slip over hele vinduet */
#logoDropOverlay { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: var(--shade); pointer-events: none; }
#logoDropOverlay.show { display: flex; }
#logoDropOverlay .ldo-inner { border: 2px dashed var(--ink-inverse); border-radius: var(--r-card); color: var(--ink-inverse); padding: 36px 56px; text-align: center; }
#logoDropOverlay .ldo-title { font-family: var(--font-head); font-size: 26px; font-weight: 600; }
#logoDropOverlay .ldo-sub { font-size: 15px; margin-top: 6px; }

/* ── Trin 3: send ────────────────────────────────────────────────────────── */
.hld-send { max-width: 1040px; margin: 0 auto; padding: 8px 0 24px; }
.send-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.send-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.send-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.send-title:focus { outline: none; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 15px; font-weight: 600; }
.form-field input, .form-field textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: 16px; background: var(--card); width: 100%; }
.form-field textarea { min-height: 100px; resize: vertical; }
.field-req { color: var(--err); font-weight: 700; }
.field-error { display: none; font-size: 14px; color: var(--err); line-height: 1.45; margin-top: 2px; }
.field-error:not(:empty) { display: block; }
.form-field input.has-error, .form-field textarea.has-error { border-color: var(--err); background: var(--err-bg); }
#moreFields[hidden] { display: none; }
.consent-note { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 8px 0 16px; }
.consent-note a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.send-error { background: var(--err-bg); border: 1px solid var(--err); border-radius: var(--r-card); padding: 14px; margin: 0 0 16px; }
.send-error[hidden] { display: none; }
.send-error p { font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.send-error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.modal-buttons { display: flex; gap: 10px; margin-top: 8px; }
.modal-buttons .btn-primary { flex: 1; }

.send-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.sum-title { font-size: 18px; margin-bottom: 12px; }
.sum-image { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-ctl); margin-bottom: 12px; background: var(--canvas-bg); }
.sum-image[hidden] { display: none; }
.sum-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sum-list > div:first-child { border-top: 0; }
.sum-list dt { color: var(--muted); flex: none; }
.sum-list dd { text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.sum-edit { margin: 4px 0 12px; }
#sumMinInfo { margin-top: 10px; }
.after-box { margin-top: 16px; padding: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); }
.after-title { font-size: 16px; margin-bottom: 12px; }
.after-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.after-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.after-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

.success-msg { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 24px; }
.success-msg .checkmark { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 4px; margin-bottom: 8px; }
.success-msg h2 { font-size: 28px; margin: 8px 0; }
.success-msg h2:focus { outline: none; }
.success-msg > p { color: var(--muted); margin-bottom: 12px; }
.success-msg .info-box { text-align: left; margin: 12px 0; }
.success-msg .after-box { text-align: left; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.faq-title { font-size: 22px; margin-bottom: 14px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; align-items: start; }
.faq-section .fold-body p { font-size: 15px; color: var(--ink); line-height: 1.6; }

/* ── Fast bundlinje (mobil) ──────────────────────────────────────────────── */
.mobile-bar { display: none; }

/* ── Responsivt ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; }
  .send-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
  .hld-app { padding: 12px 16px 24px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .send-grid { grid-template-columns: minmax(0, 1fr); }
  .send-summary { order: -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .hld-app[data-step="2"] { padding-bottom: 96px; }
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: var(--hld-bar-bottom, 0px); z-index: 50;
    padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line);
  }
  .mb-price { min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.3; }
  .mb-price strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--ink); font-weight: 600; }
  .mobile-bar .btn { flex: none; min-height: 48px; padding: 12px 22px; }
  .color-swatch { width: 44px; height: 44px; }
  .canvases-row { flex-direction: column; }
  .cta-group .btn-block { display: none; }
  .adjust-toggle { flex-direction: column; }
  .adjust-toggle .btn { width: 100%; }
  .cta-group .cta-note { text-align: left; }
}

@media (max-width: 640px) {
  .hs-photos { gap: 8px; }
  .hs-photos figcaption { font-size: 13px; }
  .hs-drop { padding: 28px 14px; }
  .hs-sub { font-size: 16px; }
  .hs-label { display: none; }
  .hld-stepper li.is-current .hs-label { display: inline; }
  .hld-stepper li + li::before { width: 20px; margin: 0 4px; }
  .send-main { padding: 18px 16px; }
  .modal-buttons { flex-direction: column-reverse; }
  .modal-buttons .btn { width: 100%; }
  .bv-grid { grid-template-columns: repeat(2, 1fr); }
  .file-actions { width: 100%; }
  .file-actions .btn { flex: 1; white-space: nowrap; }
  .tier-row { font-size: 14px; }
}

/* Inputs er 16 px, så iOS Safari ikke zoomer ved fokus (sat ovenfor på alle felter). */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: .01ms !important; }
}
