/* NSS Document Printing — every rule is scoped to .nss-dp, so nothing else on the site changes. */
.nss-dp {
	--nss-accent: #0b5cad;
	--nss-accent-dark: #084a8c;
	--nss-ink: #1b1f24;
	--nss-muted: #5b6470;
	--nss-line: #dfe3e8;
	--nss-soft: #f4f7fb;
	--nss-ok: #1f7a3d;
	--nss-warn: #9a5b00;
	--nss-err: #b32d2e;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px 96px;
	color: var(--nss-ink);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.nss-dp *, .nss-dp *::before, .nss-dp *::after { box-sizing: border-box; }
.nss-dp h1, .nss-dp h2, .nss-dp h3 { color: var(--nss-ink); line-height: 1.2; margin: 0 0 .5em; }
.nss-dp h1 { font-size: clamp(28px, 5vw, 42px); }
.nss-dp h2 { font-size: clamp(22px, 3.2vw, 28px); }
.nss-dp h3 { font-size: 18px; }
.nss-dp [hidden] { display: none !important; }

/* Buttons */
.nss-dp .nss-dp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border: 2px solid var(--nss-accent); border-radius: 8px;
	background: var(--nss-accent); color: #fff; font-weight: 700; font-size: 16px;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s;
}
.nss-dp .nss-dp-btn:hover, .nss-dp .nss-dp-btn:focus-visible { background: var(--nss-accent-dark); border-color: var(--nss-accent-dark); color: #fff; }
.nss-dp .nss-dp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.nss-dp .nss-dp-btn-lg { min-height: 56px; font-size: 18px; padding: 14px 28px; }
.nss-dp .nss-dp-btn-ghost { background: transparent; color: var(--nss-accent); }
.nss-dp .nss-dp-btn-ghost:hover { color: #fff; }

/* Hero */
.nss-dp-hero { text-align: center; padding: 40px 0 28px; }
.nss-dp-sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--nss-muted); max-width: 680px; margin: 0 auto 24px; }
.nss-dp-trust { margin: 16px 0 4px; color: var(--nss-muted); font-size: 14px; }
.nss-dp-from { margin: 0; font-size: 15px; }

/* Order form */
.nss-dp-order { background: var(--nss-soft); border: 1px solid var(--nss-line); border-radius: 14px; padding: 24px 16px; scroll-margin-top: 90px; }
.nss-dp-order > h2 { text-align: center; }
.nss-dp-form { display: grid; gap: 16px; }
@media (min-width: 900px) {
	.nss-dp-order { padding: 32px; }
	.nss-dp-form { grid-template-columns: 1fr 340px; align-items: start; }
	.nss-dp-form > .nss-dp-step:nth-of-type(1),
	.nss-dp-form > .nss-dp-step:nth-of-type(2) { grid-column: 1; }
	.nss-dp-form > .nss-dp-summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 100px; }
}
.nss-dp-step { background: #fff; border: 1px solid var(--nss-line); border-radius: 12px; padding: 18px; }
.nss-dp-label { font-weight: 700; font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.nss-dp-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--nss-accent); color: #fff; font-size: 15px; align-items: center; justify-content: center; flex: none; }

/* Upload */
.nss-dp-drop {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	gap: 4px; min-height: 140px; padding: 20px; border: 2px dashed #9fb3c8; border-radius: 10px;
	background: #fbfdff; cursor: pointer; transition: border-color .15s, background .15s; margin: 0;
}
.nss-dp-drop:hover, .nss-dp-drop.is-over { border-color: var(--nss-accent); background: #eef5fd; }
.nss-dp-drop.is-compact { min-height: 64px; }
.nss-dp-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nss-dp-drop-main { font-weight: 700; color: var(--nss-accent); font-size: 17px; }
.nss-dp-drop-sub { font-size: 13px; color: var(--nss-muted); }
@media (max-width: 640px) { .nss-dp-hide-sm { display: none; } }
.nss-dp-file { margin-top: 12px; }
.nss-dp-file-name { font-weight: 600; word-break: break-all; }
.nss-dp-file-status { color: var(--nss-ok); font-size: 14px; }
.nss-dp-progress { height: 6px; background: var(--nss-line); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.nss-dp-progress span { display: block; height: 100%; width: 0; background: var(--nss-accent); transition: width .2s; }
.nss-dp-error { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #fdecec; color: var(--nss-err); font-size: 14px; }
.nss-dp-warn { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #fff5e0; color: var(--nss-warn); font-size: 14px; }

/* Options */
.nss-dp-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.nss-dp-group:last-child { margin-bottom: 0; }
.nss-dp-group legend { font-weight: 600; margin-bottom: 8px; padding: 0; font-size: 15px; }
.nss-dp-group legend small { color: var(--nss-muted); font-weight: 400; }
.nss-dp-pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); gap: 8px; }
.nss-dp-pill { position: relative; margin: 0; cursor: pointer; }
.nss-dp-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nss-dp-pill > span {
	display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 12px;
	border: 2px solid var(--nss-line); border-radius: 8px; background: #fff; transition: border-color .12s, background .12s;
}
.nss-dp-pill strong { font-size: 15px; font-weight: 600; }
.nss-dp-pill small { font-size: 12px; color: var(--nss-muted); }
.nss-dp-pill:hover > span { border-color: #9fb3c8; }
.nss-dp-pill input:checked + span { border-color: var(--nss-accent); background: #eef5fd; box-shadow: inset 0 0 0 1px var(--nss-accent); }
.nss-dp-pill input:focus-visible + span { outline: 3px solid rgba(11, 92, 173, .35); outline-offset: 2px; }

.nss-dp-stepper { display: inline-flex; border: 2px solid var(--nss-line); border-radius: 8px; overflow: hidden; }
.nss-dp-stepper button { width: 48px; min-height: 48px; border: 0; background: var(--nss-soft); font-size: 22px; cursor: pointer; color: var(--nss-ink); padding: 0; }
.nss-dp-stepper input { width: 80px; border: 0; text-align: center; font-size: 18px; font-weight: 600; -moz-appearance: textfield; padding: 0; min-height: 48px; }
.nss-dp-stepper input::-webkit-outer-spin-button, .nss-dp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nss-dp textarea { width: 100%; border: 2px solid var(--nss-line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 16px; resize: vertical; }

/* Summary */
.nss-dp-summary-empty { color: var(--nss-muted); margin: 0 0 12px; }
.nss-dp-lines { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 12px; font-size: 14px; }
.nss-dp-lines dt { color: var(--nss-muted); margin: 0; }
.nss-dp-lines dd { margin: 0; text-align: right; font-weight: 500; }
.nss-dp-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--nss-line); padding-top: 12px; }
.nss-dp-total strong { font-size: 30px; }
.nss-dp-min, .nss-dp-tax { font-size: 13px; color: var(--nss-muted); margin: 4px 0 0; }
.nss-dp-summary .nss-dp-submit { width: 100%; margin-top: 14px; }
.nss-dp-fine { font-size: 13px; color: var(--nss-muted); margin: 10px 0 0; }

/* Sticky mobile total bar */
.nss-dp-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff;
	border-top: 1px solid var(--nss-line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
.nss-dp-bar-label { color: var(--nss-muted); font-size: 13px; display: block; }
.nss-dp-bar-total { font-size: 22px; }
.nss-dp-bar .nss-dp-btn { flex: 1; max-width: 240px; }
@media (min-width: 900px) { .nss-dp-bar { display: none !important; } }

/* Content sections */
.nss-dp-section { padding: 40px 0 0; }
.nss-dp-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.nss-dp-table-wrap { overflow-x: auto; }
.nss-dp-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 320px; }
.nss-dp-table th, .nss-dp-table td { border: 1px solid var(--nss-line); padding: 10px 12px; text-align: left; }
.nss-dp-table th { background: var(--nss-soft); }
.nss-dp-note { font-size: 14px; color: var(--nss-muted); }
.nss-dp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.nss-dp-cards > div { border: 1px solid var(--nss-line); border-radius: 12px; padding: 16px; background: #fff; }
.nss-dp-cards p { margin: 0; color: var(--nss-muted); }
.nss-dp-faq details { border-bottom: 1px solid var(--nss-line); padding: 14px 0; }
.nss-dp-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.nss-dp-faq details p { margin: 8px 0 0; color: var(--nss-muted); }
.nss-dp-local .nss-dp-btn { margin: 0 8px 8px 0; }
.nss-dp-nap { line-height: 1.6; }

/* Keep the floating side-cart icon from covering the sticky checkout bar. */
body:has(.nss-dp-bar:not([hidden])) .xoo-wsc-basket{display:none!important}
