.hod-ds {
	--hod-red: #e30613;
	--hod-ink: #161616;
	--hod-muted: #676767;
	--hod-line: #e4e4e4;
	--hod-soft: #f5f5f5;
	clear: both;
	width: 100%;
	max-width: none;
	margin: 2rem 0;
	padding-top: 1rem;
	color: var(--hod-ink);
	font-family: inherit;
}

.hod-ds *,
.hod-ds *::before,
.hod-ds *::after {
	box-sizing: border-box;
}

.hod-ds__header {
	margin-bottom: 1.25rem;
}

.hod-ds__header h2 {
	margin: 0.15rem 0 0.35rem;
	font-size: clamp(1.5rem, 2vw, 2.1rem);
	line-height: 1.15;
}

.hod-ds__header p {
	margin: 0;
	color: var(--hod-muted);
}

.hod-ds__eyebrow {
	color: var(--hod-red) !important;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hod-ds__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
	gap: 1.5rem;
	align-items: start;
}

.hod-ds__preview-card,
.hod-ds__controls {
	overflow: hidden;
	border: 1px solid var(--hod-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.055);
}

.hod-ds__preview-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--hod-line);
}

.hod-ds__preview-background-control {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.2rem;
	max-width: 520px;
}

.hod-ds__preview-background-row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
}

.hod-ds__preview-background-title {
	color: var(--hod-muted);
	font-size: 0.76rem;
}

.hod-ds__preview-background-control > small {
	color: var(--hod-muted);
	font-size: 0.68rem;
	line-height: 1.3;
	text-align: right;
}

.hod-ds__preview-checker {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	min-height: 34px;
	margin: 0;
	padding: 0.3rem 0.55rem;
	border: 1px solid var(--hod-line);
	border-radius: 7px;
	background: #fff;
	color: var(--hod-ink);
	font-family: inherit;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hod-ds__preview-checker > span {
	width: 18px;
	height: 18px;
	border: 1px solid #d5d5d5;
	border-radius: 3px;
	background-color: #fff;
	background-image:
		linear-gradient(45deg, #d8d8d8 25%, transparent 25%),
		linear-gradient(-45deg, #d8d8d8 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #d8d8d8 75%),
		linear-gradient(-45deg, transparent 75%, #d8d8d8 75%);
	background-position: 0 0, 0 6px, 6px -6px, -6px 0;
	background-size: 12px 12px;
}

.hod-ds__preview-checker:hover,
.hod-ds__preview-checker.is-active {
	border-color: var(--hod-red);
	box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.08);
}

.hod-ds__preview-background-picker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.22rem 0.28rem 0.22rem 0.55rem;
	border: 1px solid var(--hod-line);
	border-radius: 7px;
	background: #fff;
	color: var(--hod-ink);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hod-ds__preview-background-picker:hover {
	border-color: var(--hod-red);
	box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.08);
}

.hod-ds__preview-background-picker input[type="color"] {
	width: 34px;
	height: 28px;
	min-height: 28px;
	margin: 0;
	padding: 2px;
	border: 1px solid var(--hod-line);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.hod-ds__stage {
	position: relative;
	display: grid;
	min-height: clamp(520px, 52vw, 760px);
	place-items: center;
	overflow: hidden;
	background: var(--hod-ds-preview-bg, #f3f4f6);
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.hod-ds__stage.is-checker {
	background-color: #fff;
	background-image:
		linear-gradient(45deg, #dedede 25%, transparent 25%),
		linear-gradient(-45deg, #dedede 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #dedede 75%),
		linear-gradient(-45deg, transparent 75%, #dedede 75%);
	background-position: 0 0, 0 10px, 10px -10px, -10px 0;
	background-size: 20px 20px;
}

.hod-ds__stage:focus-visible {
	outline: 3px solid rgba(227, 6, 19, 0.28);
	outline-offset: -3px;
}

.hod-ds__stage::after {
	position: absolute;
	z-index: 10;
	inset: 14px;
	display: grid;
	place-items: center;
	border: 2px dashed transparent;
	border-radius: 14px;
	background: transparent;
	color: transparent;
	content: "";
	font-size: clamp(1rem, 2vw, 1.35rem);
	font-weight: 800;
	text-align: center;
	pointer-events: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hod-ds__stage.is-dragover::after {
	border-color: var(--hod-red);
	background: rgba(255, 255, 255, 0.93);
	color: var(--hod-red);
	content: "Datei hier ablegen";
}

.hod-ds__stage.is-dragover {
	box-shadow: inset 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.hod-ds__stage canvas {
	display: block;
	width: 100%;
	height: auto;
	max-height: 760px;
	object-fit: contain;
}

.hod-ds__placeholder {
	display: grid;
	max-width: 280px;
	padding: 2rem;
	place-items: center;
	color: var(--hod-muted);
	text-align: center;
}

.hod-ds__placeholder > span {
	display: grid;
	width: 62px;
	height: 62px;
	margin-bottom: 0.85rem;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	color: var(--hod-red);
	font-size: 1.8rem;
	font-weight: 800;
}

.hod-ds__placeholder strong {
	color: var(--hod-ink);
	font-size: 1.05rem;
}

.hod-ds__placeholder small {
	margin-top: 0.35rem;
}

.hod-ds__working {
	position: absolute;
	z-index: 5;
	inset: 0;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 0.8rem;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(4px);
}

.hod-ds__working[hidden] {
	display: none;
}

.hod-ds__working span {
	width: 34px;
	height: 34px;
	border: 3px solid #ddd;
	border-top-color: var(--hod-red);
	border-radius: 50%;
	animation: hod-ds-spin 0.8s linear infinite;
}

@keyframes hod-ds-spin {
	to {
		transform: rotate(360deg);
	}
}

.hod-ds__preview-switch {
	display: flex;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--hod-line);
}

.hod-ds__preview-switch button {
	padding: 0.55rem 0.85rem;
	border: 1px solid var(--hod-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hod-ink);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

.hod-ds__preview-switch button.is-active {
	border-color: var(--hod-ink);
	background: var(--hod-ink);
	color: #fff;
}

.hod-ds__quality {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 1rem;
	border-top: 1px solid var(--hod-line);
	background: #fafafa;
}

.hod-ds__quality > span {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #8b8b8b;
}

.hod-ds__quality p {
	margin: 0;
	font-size: 0.88rem;
}

.hod-ds__quality.is-good > span {
	background: #1eaa63;
}

.hod-ds__quality.is-medium > span {
	background: #e2a300;
}

.hod-ds__quality.is-low > span {
	background: var(--hod-red);
}

.hod-ds__controls {
	display: grid;
	overflow: visible;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	padding: 1.15rem;
}

.hod-ds__field {
	min-width: 0;
}

.hod-ds__field--full,
.hod-ds__notice,
.hod-ds__tiers,
.hod-ds__price {
	grid-column: 1 / -1;
}

.hod-ds__field > label,
.hod-ds__field > .hod-ds__check {
	display: block;
	margin: 0 0 0.42rem;
	color: var(--hod-ink);
	font-size: 0.88rem;
	font-weight: 800;
}

.hod-ds__field > small {
	display: block;
	margin-top: 0.35rem;
	color: var(--hod-muted);
	font-size: 0.76rem;
	line-height: 1.35;
}

.hod-ds__sub-control {
	margin-top: 0.7rem;
	transition: opacity 0.2s ease;
}

.hod-ds__sub-control.is-disabled {
	opacity: 0.45;
}

.hod-ds__sub-control > label {
	display: block;
	margin: 0 0 0.42rem;
	color: var(--hod-ink);
	font-size: 0.8rem;
	font-weight: 800;
}

.hod-ds__sub-control > small {
	display: block;
	margin-top: 0.35rem;
	color: var(--hod-muted);
	font-size: 0.72rem;
	line-height: 1.35;
}

.hod-ds__field > small[hidden] {
	display: none;
}

.hod-ds input[type="file"],
.hod-ds input[type="number"],
.hod-ds select {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid #cdcdcd;
	border-radius: 9px;
	background: #fff;
	color: var(--hod-ink);
	font: inherit;
	box-shadow: none;
}

.hod-ds input:focus,
.hod-ds select:focus {
	border-color: var(--hod-red);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.hod-ds input[type="file"] {
	padding: 0.45rem;
	font-size: 0.84rem;
}

.hod-ds input[type="file"]::file-selector-button {
	margin-right: 0.6rem;
	padding: 0.55rem 0.7rem;
	border: 0;
	border-radius: 6px;
	background: var(--hod-ink);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hod-ds__number {
	position: relative;
}

.hod-ds__number input {
	padding-right: 42px;
}

.hod-ds__number span {
	position: absolute;
	top: 50%;
	right: 12px;
	color: var(--hod-muted);
	font-size: 0.8rem;
	transform: translateY(-50%);
	pointer-events: none;
}

.hod-ds__choice,
.hod-ds__check {
	display: flex !important;
	align-items: center;
	gap: 0.7rem;
	min-height: 58px;
	margin: 0 !important;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--hod-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.hod-ds__choice.is-selected {
	border-color: #222;
	background: #fafafa;
}

.hod-ds__materials {
	display: grid;
	gap: 0.55rem;
}

.hod-ds__delivery-options {
	display: grid;
	gap: 0.55rem;
}

.hod-ds__materials .hod-ds__choice,
.hod-ds__delivery-options .hod-ds__choice {
	width: 100%;
}

.hod-ds__material-suboption {
	width: calc(100% - 2.2rem);
	margin: -0.15rem 0 0 2.2rem;
}

.hod-ds__material-suboption .hod-ds__check {
	min-height: 52px;
	border-left: 3px solid var(--hod-red);
	background: #fafafa;
}

.hod-ds__material-suboption--laminate .hod-ds__check {
	border-left-color: #607d8b;
	background: #f8fafb;
}

.hod-ds__laminate-finish {
	display: grid;
	grid-template-columns: minmax(90px, 0.35fr) minmax(150px, 0.65fr);
	gap: 0.35rem 0.75rem;
	align-items: center;
	margin: 0.55rem 0 0 2.2rem;
	padding: 0.65rem 0.8rem;
	border-left: 3px solid #607d8b;
	background: #f2f6f8;
	border-radius: 0 8px 8px 0;
}

.hod-ds__laminate-finish label {
	margin: 0;
	font-weight: 700;
}

.hod-ds__laminate-finish select {
	width: 100%;
	min-height: 40px;
}

.hod-ds__laminate-finish small {
	grid-column: 1 / -1;
	color: #5a6268;
}

.hod-ds__laminate-finish[hidden] {
	display: none !important;
}

.hod-ds__field[hidden] {
	display: none !important;
}

.hod-ds__choice input,
.hod-ds__check input {
	width: 18px !important;
	height: 18px;
	margin: 0;
	accent-color: var(--hod-red);
}

.hod-ds__choice span,
.hod-ds__check span {
	display: grid;
	gap: 0.15rem;
}

.hod-ds__choice small,
.hod-ds__check small {
	color: var(--hod-muted);
	font-size: 0.76rem;
	font-weight: 400;
}

.hod-ds .hod-ds__name-row {
	display: flex !important;
	gap: 0.42rem;
	align-items: center;
	min-width: 0;
}

.hod-ds .hod-ds__name-row > strong,
.hod-ds .hod-ds__name-row > strong > span {
	display: inline;
}

.hod-ds .hod-ds__info {
	position: relative;
	display: inline-flex !important;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border: 1px solid #a9a9a9;
	border-radius: 50%;
	background: #fff;
	color: #555;
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
	cursor: help;
	outline: none;
}

.hod-ds .hod-ds__info[hidden] {
	display: none !important;
}

.hod-ds .hod-ds__info:hover,
.hod-ds .hod-ds__info:focus,
.hod-ds .hod-ds__info:focus-visible {
	border-color: var(--hod-red);
	color: var(--hod-red);
	box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.hod-ds .hod-ds__info-icon {
	display: inline !important;
	color: currentColor;
	font: inherit;
}

.hod-ds .hod-ds__tooltip {
	position: absolute;
	z-index: 50;
	top: calc(100% + 9px);
	left: -8px;
	display: block !important;
	visibility: hidden;
	width: max-content;
	max-width: min(330px, calc(100vw - 48px));
	padding: 0.72rem 0.8rem;
	border-radius: 9px;
	background: #1c1c1c;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: 0.73rem;
	font-weight: 500;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	text-align: left;
	white-space: pre-line;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
	transform: translateY(-3px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.hod-ds .hod-ds__info:hover .hod-ds__tooltip,
.hod-ds .hod-ds__info:focus .hod-ds__tooltip,
.hod-ds .hod-ds__info:focus-within .hod-ds__tooltip {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.hod-ds__color {
	display: grid;
	grid-template-columns: 48px auto 1fr;
	gap: 0.7rem;
	align-items: center;
	margin-top: 0.55rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--hod-line);
	border-radius: 10px;
	background: #fafafa;
	transition: opacity 0.2s ease;
}

.hod-ds__color.is-disabled {
	opacity: 0.45;
}

.hod-ds__color input[type="color"] {
	width: 48px;
	height: 38px;
	min-height: 38px;
	padding: 3px;
	border: 1px solid #c7c7c7;
	border-radius: 7px;
	cursor: pointer;
}

.hod-ds__color input[type="text"] {
	width: 104px;
	min-height: 38px;
	padding: 0.45rem 0.55rem;
	border: 1px solid #c7c7c7;
	border-radius: 7px;
	background: #fff;
	color: var(--hod-ink);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.hod-ds__color input[type="text"].is-invalid {
	border-color: var(--hod-red);
	background: #fff2f2;
}

.hod-ds__color > small {
	justify-self: end;
	color: var(--hod-muted);
	font-size: 0.76rem;
}

.hod-ds__notice {
	padding: 0.75rem 0.85rem;
	border: 1px solid #c9d9ef;
	border-radius: 9px;
	background: #f0f6ff;
	color: #25496f;
	font-size: 0.84rem;
	line-height: 1.45;
}

.hod-ds__notice.is-warning {
	border-color: #ecd18c;
	background: #fff8e5;
	color: #6e5310;
}

.hod-ds__notice.is-error {
	border-color: #efb6b9;
	background: #fff1f1;
	color: #8d1c25;
}

.hod-ds__tiers {
	display: grid;
	gap: 0.65rem;
}

.hod-ds__tiers--wide {
	margin-top: 1.5rem;
	padding: 1rem;
	border: 1px solid var(--hod-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.055);
}

.hod-ds__tiers-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
}

.hod-ds__tiers-heading strong {
	font-size: 0.88rem;
}

.hod-ds__tiers-heading small {
	color: var(--hod-muted);
	font-size: 0.72rem;
	text-align: right;
}

.hod-ds__tier-grid {
	display: flex;
	gap: 0.55rem;
	overflow-x: auto;
	padding: 0.1rem 0 0.35rem;
	scroll-snap-type: x proximity;
	scrollbar-color: #c9c9c9 transparent;
	scrollbar-width: thin;
}

.hod-ds__tier-grid button {
	display: grid;
	flex: 1 0 138px;
	min-width: 138px;
	padding: 0.62rem 0.68rem;
	border: 1px solid var(--hod-line);
	border-radius: 10px;
	background: #fff;
	color: var(--hod-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	scroll-snap-align: start;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hod-ds__tier-grid button:hover:not(:disabled) {
	border-color: var(--hod-red);
	box-shadow: 0 4px 14px rgba(227, 6, 19, 0.1);
	transform: translateY(-1px);
}

.hod-ds__tier-grid button.is-active {
	border-color: var(--hod-red);
	box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.12);
}

.hod-ds__tier-grid button:disabled {
	cursor: wait;
	opacity: 0.55;
}

.hod-ds__tier-grid span {
	color: var(--hod-red);
	font-size: 0.76rem;
	font-weight: 800;
}

.hod-ds__tier-grid strong {
	margin: 0.15rem 0;
	font-size: 0.92rem;
	line-height: 1.2;
}

.hod-ds__tier-grid small {
	display: block;
	overflow: visible;
	min-width: 0;
	color: #555;
	font-size: 0.7rem;
	line-height: 1.35;
	text-overflow: clip;
	white-space: normal;
	overflow-wrap: anywhere;
}

.hod-ds .hod-ds__tier-grid [data-tier-total],
.hod-ds .hod-ds__tier-grid [data-tier-total] * {
	-webkit-text-fill-color: currentColor !important;
}

.hod-ds .hod-ds__tier-grid [data-tier-total] {
	color: #555 !important;
}

.hod-ds .hod-ds__tier-grid .hod-ds__tier-discount {
	display: block;
	margin-top: 0.16rem;
	color: var(--hod-red) !important;
	-webkit-text-fill-color: var(--hod-red) !important;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.hod-ds__price {
	display: grid;
	padding: 1rem;
	border-radius: 12px;
	background: var(--hod-ink);
	color: #fff;
}

.hod-ds__price > span {
	color: #c9c9c9;
	font-size: 0.78rem;
}

.hod-ds__price strong {
	margin: 0.15rem 0;
	color: #fff !important;
	font-size: 1.65rem;
	line-height: 1.15;
}

.hod-ds__total-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.12rem 0.38rem;
	margin-top: 0.18rem;
	color: #d7d7d7 !important;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
}

.hod-ds .hod-ds__price [data-unit-price],
.hod-ds .hod-ds__price [data-unit-price] *,
.hod-ds .hod-ds__price [data-total-price],
.hod-ds .hod-ds__price [data-total-price] * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.hod-ds .hod-ds__price [data-total-price],
.hod-ds .hod-ds__price [data-total-price] * {
	color: #d7d7d7 !important;
	-webkit-text-fill-color: #d7d7d7 !important;
}

.hod-ds .hod-ds__price .hod-ds__total-amount,
.hod-ds .hod-ds__price .hod-ds__total-amount * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: 1.12rem;
	font-weight: 900;
	line-height: 1.15;
}

.hod-ds .hod-ds__price .hod-ds__total-discount {
	color: #ffb9bd !important;
	-webkit-text-fill-color: #ffb9bd !important;
	font-size: 0.78rem;
	font-weight: 800;
}

.hod-ds__price-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 24px;
	margin-top: 0.6rem;
	color: #ffb9bd;
	font-size: 0.76rem;
	font-weight: 700;
}

.hod-ds__price-status[hidden] {
	display: none;
}

.hod-ds__price-status > span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ff5963;
	box-shadow: 0 0 0 0 rgba(255, 89, 99, 0.55);
	animation: hod-ds-price-pulse 1.2s infinite;
}

@keyframes hod-ds-price-pulse {
	70% {
		box-shadow: 0 0 0 7px rgba(255, 89, 99, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 89, 99, 0);
	}
}

.hod-ds__cart-actions {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 0.7rem;
	align-items: stretch;
	margin-top: 0.85rem;
}

.hod-ds__quantity-stepper {
	display: grid;
	grid-template-columns: 38px minmax(48px, 1fr) 38px;
	overflow: hidden;
	min-height: 50px;
	border: 1px solid #656565;
	border-radius: 9px;
	background: #fff;
}

.hod-ds__quantity-stepper button {
	margin: 0;
	padding: 0;
	border: 0;
	background: #f0f0f0;
	color: var(--hod-ink);
	font: inherit;
	font-size: 1.15rem;
	font-weight: 800;
	cursor: pointer;
}

.hod-ds__quantity-stepper button:hover:not(:disabled) {
	background: #e2e2e2;
}

.hod-ds__quantity-stepper button:disabled {
	color: #aaa;
	cursor: not-allowed;
}

.hod-ds .hod-ds__quantity-stepper input[type="number"] {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0.4rem 0.15rem;
	border: 0;
	border-right: 1px solid #dedede;
	border-left: 1px solid #dedede;
	border-radius: 0;
	background: #fff;
	color: var(--hod-ink);
	font-weight: 800;
	text-align: center;
	-moz-appearance: textfield;
}

.hod-ds .hod-ds__quantity-stepper input[type="number"]::-webkit-inner-spin-button,
.hod-ds .hod-ds__quantity-stepper input[type="number"]::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.hod-ds__cart-button {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0.75rem 1rem;
	border: 0;
	border-radius: 9px;
	background: var(--hod-red);
	color: #fff;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 800;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.hod-ds__cart-button:hover:not(:disabled) {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.hod-ds__cart-button:disabled {
	background: #5a5a5a;
	color: #aaa;
	cursor: not-allowed;
}

.hod-ds__production-note {
	margin: 0.9rem 0 0;
	color: var(--hod-muted);
	font-size: 0.78rem;
	line-height: 1.45;
}

.hod-ds-order-files {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #ddd;
}

@media (max-width: 900px) {
	.hod-ds__layout {
		grid-template-columns: 1fr;
	}

	.hod-ds__stage {
		min-height: 420px;
	}
}

@media (max-width: 520px) {
	.hod-ds__tiers--wide {
		margin-top: 1rem;
		padding: 0.85rem;
	}

	.hod-ds__tiers-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.2rem;
	}

	.hod-ds__tiers-heading small {
		text-align: left;
	}

	.hod-ds__preview-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.hod-ds__preview-background-control {
		align-items: flex-start;
		width: 100%;
	}

	.hod-ds__preview-background-row {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.hod-ds__preview-background-control > small {
		text-align: left;
	}

	.hod-ds__controls {
		grid-template-columns: 1fr;
		padding: 0.9rem;
	}

	.hod-ds__cart-actions {
		grid-template-columns: 1fr;
	}

	.hod-ds__field,
	.hod-ds__field--full,
	.hod-ds__notice,
	.hod-ds__tiers,
	.hod-ds__price {
		grid-column: 1;
	}

	.hod-ds__stage {
		min-height: 320px;
	}
}

/* 0.2.20: einmalige Rechtebestätigung vor dem ersten Upload. */
.hod-ds__rights-modal[hidden] {
	display: none !important;
}

.hod-ds__rights-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.hod-ds__rights-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.58);
	backdrop-filter: blur(2px);
}

.hod-ds__rights-dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1.35rem;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.hod-ds__rights-dialog h3 {
	margin: 0 0 0.65rem;
}

.hod-ds__rights-dialog p {
	margin: 0;
}

.hod-ds__rights-check {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	line-height: 1.5;
}

.hod-ds__rights-check input[type="checkbox"] {
	position: static !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 0.2rem 0 0 !important;
	opacity: 1 !important;
}

.hod-ds__rights-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1rem;
}

.hod-ds__rights-actions button {
	padding: 0.75rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	cursor: pointer;
}

.hod-ds__rights-actions .hod-ds__rights-confirm {
	border-color: #dc2626;
	background: #dc2626;
	color: #fff;
}

.hod-ds__rights-actions button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

body.hod-ds-rights-open {
	overflow: hidden;
}

@media (max-width: 560px) {
	.hod-ds__rights-actions {
		flex-direction: column-reverse;
	}

	.hod-ds__rights-actions button {
		width: 100%;
	}
}

/* 0.3.0: zentrale Motivquellen – Upload + PrintAI */
.hod-ds__source-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	margin: 0.3rem 0 0.7rem;
}

.hod-ds__source-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #cbd5e1;
	border-radius: 11px;
	background: #fff;
	color: #1f2937;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.hod-ds__source-button:hover {
	border-color: #94a3b8;
	box-shadow: 0 4px 14px rgba(15,23,42,.08);
	transform: translateY(-1px);
}

.hod-ds__source-button--ai {
	border-color: #a7b4c5;
	background: linear-gradient(180deg,#fff 0%,#f7f9fc 100%);
}

.hod-ds__source-button--ai:hover {
	border-color: #dc2626;
	background: #fff8f8;
}

.hod-ds__ai-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 25px;
	padding: 0 7px;
	border-radius: 7px;
	background: #111827;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: .03em;
}

.hod-ds__native-file {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hod-ds__printai-note {
	display: block;
	margin-top: 0.45rem;
	padding: 0.6rem 0.7rem;
	border-radius: 9px;
	background: #f1f5f9;
	border: 1px solid #dbe4ee;
	color: #475569;
}

@media (max-width: 760px) {
	.hod-ds__source-actions { grid-template-columns: 1fr; }
	.hod-ds__source-button { width: 100%; }
}
