/* AOP Katalog – Selector-Widget. ARTUS-Rot #BE0038, schlank & themekompatibel. */
.aop-kat {
	--aop-red: #BE0038;
	--aop-red-dark: #9c002e;
	--aop-ink: #1a1a1a;
	--aop-muted: #666;
	--aop-line: #d9d9d9;
	font-family: inherit;
	color: var(--aop-ink);
}

.aop-kat-box {
	max-width: 560px;
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	margin: 1.5em 0;
}

.aop-kat-row { display: block; margin: 0 0 16px; }

.aop-kat-label {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--aop-muted);
	margin: 0 0 6px;
}

.aop-kat-select {
	width: 100%;
	padding: 11px 40px 11px 12px;
	font-size: 1rem;
	line-height: 1.3;
	border: 1px solid var(--aop-line);
	border-radius: 8px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	color: var(--aop-ink);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
}

.aop-kat-select:focus {
	outline: 2px solid var(--aop-red);
	outline-offset: 1px;
	border-color: var(--aop-red);
}

.aop-kat-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 4px;
	flex-wrap: wrap;
}

.aop-kat-price { font-size: 1.4rem; font-weight: 700; }

.aop-kat-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	background: #bbb;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	pointer-events: none;
	transition: background .15s ease;
}

.aop-kat-btn.is-active { background: var(--aop-red); pointer-events: auto; }
.aop-kat-btn.is-active:hover { background: var(--aop-red-dark); }
.aop-kat-btn.is-active:focus-visible { outline: 2px solid var(--aop-red-dark); outline-offset: 2px; }

.aop-kat-note { margin-top: 12px; font-size: .85rem; color: var(--aop-red); min-height: 1em; }

@media (max-width: 480px) {
	.aop-kat-actions { flex-direction: column; align-items: stretch; }
	.aop-kat-btn { text-align: center; }
}

/* Lieferumfang */
.aop-kat-liefer {
	margin-top: 10px;
	padding: 8px 10px;
	font-size: 13px;
	line-height: 1.45;
	background: #f7f7f8;
	border-left: 3px solid #BE0038;
	border-radius: 3px;
}
.aop-kat-liefer-label {
	font-weight: 600;
}

/* Gewerkabhängiges Bild */
.aop-kat-img-wrap {
	margin: 0 0 12px;
}
.aop-kat-img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

/* Komponenten-Mehrfachauswahl (z. B. Kompotherm) */
.aop-kat-comp { margin-top: 1em; border-top: 1px solid rgba(0,0,0,.12); padding-top: .85em; }
.aop-kat-comp-title { font-weight: 600; margin-bottom: .5em; }
.aop-kat-comp-row {
	display: flex; align-items: center; gap: .6em;
	padding: .4em 0; border-bottom: 1px solid rgba(0,0,0,.06);
}
.aop-kat-comp-name { flex: 1 1 auto; }
.aop-kat-comp-price { flex: 0 0 auto; min-width: 5.5em; text-align: right; color: #444; font-variant-numeric: tabular-nums; }
.aop-kat-comp-qty { flex: 0 0 4.5em; width: 4.5em; padding: .3em .4em; text-align: right; }
.aop-kat-comp-btn {
	margin-top: .9em; display: inline-block; cursor: pointer;
	padding: .7em 1.4em; border: 0; border-radius: 4px;
	background: #be0038; color: #fff; font-weight: 600;
}
.aop-kat-comp-btn:hover { background: #a10030; }

/* Dekor komplett ohne verfügbare Komponente: im Dropdown ausgegraut */
.aop-kat-select option.aop-kat-unavail { color: #9aa0a6; }

/* Einzelauswahl-Radios */
.aop-kat-comp-radio { flex: 0 0 auto; margin-right: .2em; }
.aop-kat-comp-row label { display: flex; align-items: center; gap: .5em; }

/* Produktvideo (YouTube) je Dekor */
.aop-kat-video { margin-top: 1em; }
.aop-kat-video-frame {
	width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; display: block;
}

/* Color-Card-/Solid-Codes als Links im Lieferumfang */
.aop-kat-code-link { color: #be0038; text-decoration: underline; }
.aop-kat-code-link:hover { text-decoration: none; }
