/* Free logo mockup (includes/mockup.php, assets/mockup.js) — uses the theme's --nwbk-* tokens. */
.nwbk-mockup { display: grid; gap: 14px; max-width: 980px; }
.nwbk-mockup [hidden] { display: none !important; }

/* Example on top */
.nwbk-mk-example { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--nwbk-line, #C9C4B4); border-radius: 8px; }
.nwbk-mk-example canvas { width: 100%; height: auto; border-radius: 6px; }
.nwbk-mk-example figcaption { display: grid; gap: 4px; }
.nwbk-mk-example figcaption strong { font: 800 1.15rem var(--nwbk-font-head, sans-serif); }
.nwbk-mk-example figcaption span { color: var(--nwbk-ink-muted, #5B6360); }

/* Progress */
.nwbk-mk-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; }
.nwbk-mk-progress li { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; font-size: .85em; color: var(--nwbk-ink-muted, #5B6360); text-align: center; position: relative; }
.nwbk-mk-progress li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--nwbk-line, #C9C4B4); z-index: 0; }
.nwbk-mk-progress li:first-child::before { display: none; }
.nwbk-mk-progress li span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--nwbk-line, #C9C4B4); font-weight: 700; }
.nwbk-mk-progress li.is-on { color: var(--nwbk-ink, #1C2321); font-weight: 700; }
.nwbk-mk-progress li.is-on span { background: var(--nwbk-forest, #1B4B43); border-color: var(--nwbk-forest, #1B4B43); color: #fff; }
.nwbk-mk-progress li.is-done span { background: #2F7A4D; border-color: #2F7A4D; color: #fff; }
.nwbk-mk-progress li.is-done::before, .nwbk-mk-progress li.is-on::before { background: #2F7A4D; }

/* Steps */
.nwbk-mk-step { background: #fff; border: 1px solid var(--nwbk-line, #C9C4B4); border-radius: 8px; padding: 18px 20px; }
.nwbk-mk-step h2, .nwbk-mk-result h2 { font-size: 1.25rem; margin: 0 0 12px; }
.nwbk-mk-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed var(--nwbk-line, #C9C4B4); border-radius: 8px; text-align: center; cursor: pointer; background: var(--nwbk-surface-100, #F4F4F0); }
.nwbk-mk-drop:hover { border-color: var(--nwbk-forest, #1B4B43); background: #EEF3F1; }
.nwbk-mk-drop input, .nwbk-mk-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nwbk-mk-drop-icon svg { width: 34px; height: 34px; color: var(--nwbk-forest, #1B4B43); }
.nwbk-mk-drop small, .nwbk-mk-note, .nwbk-mk-small, .nwbk-mk-lede, .nwbk-mk-assure { color: var(--nwbk-ink-muted, #5B6360); }
.nwbk-mk-photo { display: block; margin: 10px 0 0; text-align: center; cursor: pointer; color: var(--nwbk-ink-muted, #5B6360); }
.nwbk-mk-photo u { color: var(--nwbk-forest, #1B4B43); font-weight: 600; }
.nwbk-mk-thumb { display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px solid #2F7A4D; border-radius: 8px; background: #EEF7F1; }
.nwbk-mk-thumb-img { flex: none; width: 128px; height: 88px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; }
.nwbk-mk-thumb-img canvas { max-width: 120px; max-height: 80px; }
.nwbk-mk-thumb-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.nwbk-mk-thumb-text strong { color: #2F7A4D; }
.nwbk-mk-thumb-text small { color: var(--nwbk-ink-muted, #5B6360); overflow-wrap: anywhere; }
.nwbk-mk-note { margin: 8px 0 0; font-size: .92em; }
.nwbk-mk-group { margin: 0 0 16px; }
.nwbk-mk-label { font-weight: 700; margin: 0 0 6px; }
.nwbk-mk-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nwbk-mk-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid var(--nwbk-line, #C9C4B4) !important; border-radius: 8px; background: #fff !important; color: var(--nwbk-ink, #1C2321) !important; font: 400 .95em var(--nwbk-font-body, sans-serif); cursor: pointer; box-shadow: none !important; line-height: 1.25; text-transform: none !important; letter-spacing: 0 !important; }
.nwbk-mk-btn strong { font-weight: 700; }
.nwbk-mk-btn small { color: var(--nwbk-ink-muted, #5B6360); font-size: .82em; }
.nwbk-mk-btn.is-on { border-color: #2F7A4D !important; background: #EEF7F1 !important; box-shadow: inset 0 0 0 1px #2F7A4D !important; }
.nwbk-mk-btns.is-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.nwbk-mk-btn.is-card { position: relative; padding: 10px 8px; justify-content: flex-start; }
.nwbk-mk-btn.is-card img { width: 88px; height: 88px; object-fit: contain; }
.nwbk-mk-card-name { font-size: .88em; font-weight: 600; text-align: center; line-height: 1.2; }
.nwbk-mk-btn.is-card small { color: var(--nwbk-ember, #D6541C); font-weight: 700; font-size: .85em; }
.nwbk-mk-promo { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 4px; background: var(--nwbk-ember, #D6541C); color: #fff; font-size: .68em; font-weight: 700; }
.nwbk-mk-promo svg { width: 11px; height: 11px; }
.nwbk-mk-btn.is-swatch { width: 46px; height: 46px; min-height: 0; padding: 4px; border-radius: 50%; }
.nwbk-mk-sw { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.nwbk-mk-colour-name { margin: 6px 0 0; font-weight: 600; }
.nwbk-mk-btn.is-chip { min-width: 70px; }
.nwbk-mk-qty { display: inline-flex; align-items: center; border: 1px solid var(--nwbk-line, #C9C4B4); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.nwbk-mk-qty button { width: 46px; height: 46px; border: 0 !important; background: var(--nwbk-surface-100, #F4F4F0) !important; color: var(--nwbk-ink, #1C2321) !important; font-size: 1.3em; cursor: pointer; }
.nwbk-mk-qty input { width: 100px; height: 46px; border: 0 !important; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Email step */
.nwbk-mk-form, .nwbk-mk-codeform { display: grid; gap: 14px; max-width: 520px; }
.nwbk-mk-field { display: grid; gap: 4px; }
.nwbk-mk-field > span { font-weight: 700; }
.nwbk-mk-field em { color: var(--nwbk-ember, #D6541C); font-style: normal; }
.nwbk-mk-field small { font-weight: 400; color: var(--nwbk-ink-muted, #5B6360); }
.nwbk-mk-field input { min-height: 46px; padding: 8px 12px; border: 1px solid var(--nwbk-line, #C9C4B4); border-radius: 4px; font-size: 1rem; width: 100%; box-sizing: border-box; }
.nwbk-mk-codeform input[name=code] { letter-spacing: .35em; font-size: 1.4rem; font-weight: 700; max-width: 220px; }
.nwbk-mk-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: .92em; cursor: pointer; }
.nwbk-mk-consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.nwbk-mk-consent span { flex: 1 1 auto; min-width: 0; overflow-wrap: normal; word-break: normal; }
.nwbk-mk-hp { position: absolute !important; left: -9999px !important; }
.nwbk-mk-go { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 8px; background: var(--nwbk-ember, #D6541C) !important; color: #fff !important; font-weight: 700; font-size: 1.02rem; cursor: pointer; justify-self: start; }
.nwbk-mk-go:hover { background: var(--nwbk-ember-dark, #B4430F) !important; }
.nwbk-mk-go[disabled] { opacity: .6; cursor: wait; }
.nwbk-mk-assure { margin: -6px 0 0; font-size: .9em; }
.nwbk-mk-msg { margin: 0; min-height: 1.2em; color: var(--nwbk-forest, #1B4B43); }
.nwbk-mk-msg.is-bad { color: #B42318; }
.nwbk-mk-links button, .nwbk-mk-small button { background: none !important; border: 0; padding: 0; color: var(--nwbk-forest, #1B4B43) !important; text-decoration: underline; cursor: pointer; font: inherit; box-shadow: none !important; }

/* Back / Next */
.nwbk-mk-nav { display: flex; justify-content: space-between; gap: 10px; }
.nwbk-mk-nav button { min-height: 50px; padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 1.02rem; cursor: pointer; }
.nwbk-mk-back { background: #fff !important; color: var(--nwbk-forest, #1B4B43) !important; border: 2px solid var(--nwbk-forest, #1B4B43) !important; }
.nwbk-mk-next { margin-left: auto; background: var(--nwbk-ember, #D6541C) !important; color: #fff !important; border: 0 !important; min-width: 140px; }
.nwbk-mk-next[disabled] { opacity: .45; cursor: not-allowed; }

/* Result */
.nwbk-mk-result { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; background: #fff; border: 2px solid #2F7A4D; border-radius: 8px; padding: 20px; }
.nwbk-mk-visual canvas { width: 100%; height: auto; display: block; border-radius: 8px; background: #fff; }
.nwbk-mk-summary { color: var(--nwbk-ink-muted, #5B6360); margin: 0 0 10px; }
.nwbk-mk-bigprice { display: grid; gap: 2px; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.nwbk-mk-total { font: 800 2rem var(--nwbk-font-head, sans-serif); color: var(--nwbk-ink, #1C2321); line-height: 1.1; }
.nwbk-mk-bigprice small { color: var(--nwbk-ink-muted, #5B6360); font-size: .95em; }
.nwbk-mk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.nwbk-mk-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 20px; border-radius: 8px; background: #25D366; color: #fff !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; flex: 1 1 100%; }
.nwbk-mk-wa:hover { background: #1EBE5A; }
.nwbk-mk-wa svg { width: 24px; height: 24px; flex: none; }
.nwbk-mk-order { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 8px; border: 2px solid var(--nwbk-forest, #1B4B43); color: var(--nwbk-forest, #1B4B43) !important; font-weight: 700; text-decoration: none; background: #fff; flex: 1 1 100%; }
.nwbk-mk-order:hover { background: #EEF3F1; }
.nwbk-mk-proof { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: #EEF3F1; border-radius: 8px; margin: 0 0 12px; }
.nwbk-mk-proof svg { width: 22px; height: 22px; flex: none; color: var(--nwbk-forest, #1B4B43); }
.nwbk-mk-small { font-size: .9em; }

@media (max-width: 760px) {
	.nwbk-mk-example { grid-template-columns: 120px 1fr; padding: 10px; }
	.nwbk-mk-step { padding: 14px; }
	.nwbk-mk-btns.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nwbk-mk-btn.is-chip { flex: 1 1 calc(25% - 8px); min-width: 0; }
	.nwbk-mk-result { grid-template-columns: 1fr; padding: 14px; }
	.nwbk-mk-go { width: 100%; }
	/* Sticky Back / Next at the bottom of the screen */
	.nwbk-mk-nav { position: sticky; bottom: 0; z-index: 20; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244,244,240,.97); border-top: 1px solid var(--nwbk-line, #C9C4B4); }
	.nwbk-mk-next { flex: 1; }
}
