/*
 * Shop-Archiv: Filter, Werkzeugleiste, Produktraster.
 *
 * Seit dem 3.10.2026 mit den Maßen aus `Shop.dc.html`. Die Bühne kommt aus
 * sections.css (`pl-stage--shop`), dieselbe wie auf der Startseite.
 */

/* Zweispaltiges Layout ------------------------------------------------- */

/* Unter der Bühne 24px, dann 18px bis zum Raster — wie im Entwurf. */
.pl-shop-wrap {
	min-height: 70vh;
	padding-top: 24px;
}

.pl-shop-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	margin-top: 18px;
}

.pl-filters__open {
	display: none;
}

/* Die beiden Spalten-Hüllen (seit dem 11.11.2026): links Bereich über dem
   Filter + Sidebar, rechts Bereich über den Produkten + Ergebnisliste. */
.pl-shop-side,
.pl-shop-main {
	min-width: 0;
}

/* Bereiche aus „Shop-Inhalte" -----------------------------------------
 *
 * Seit dem 11.11.2026: über Filter und Produkten (`--intro`), über dem
 * Filter (`--filter`) und über den Produkten (`--grid`), je mit einer oder
 * zwei Spalten (inc/content.php, `pl_content_zone_html()`). Eine Spalte mit
 * Hintergrund bekommt Innenabstand und Rundung; ohne steht der Text bündig
 * wie jede andere Überschrift der Seite.
 */

.pl-zone {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-bottom: 18px;
}

.pl-zone--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pl-zone--intro {
	margin-bottom: 6px;
}

.pl-zone--filter {
	gap: 12px;
}

.pl-zone__col {
	min-width: 0;
	color: #0f0f12;
}

.pl-zone__col.has-bg {
	padding: 28px 32px;
	border-radius: var(--pl-radius-md);
	background-position: center;
	background-size: cover;
}

.pl-zone--filter .pl-zone__col.has-bg {
	padding: 16px;
}

.pl .pl-zone__title {
	margin: 0 0 8px;
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: inherit;
}

.pl .pl-zone--filter .pl-zone__title,
.pl .pl-zone--grid .pl-zone__title {
	font-size: 18px;
	letter-spacing: -0.01em;
}

.pl-zone__text {
	font-size: 16px;
	line-height: 1.6;
	color: #5f5f69;
}

.pl-zone--filter .pl-zone__text {
	font-size: 15px;
}

.pl .pl-zone__text p,
.pl .pl-zone__text ul,
.pl .pl-zone__text ol {
	margin: 0;
}

.pl .pl-zone__text > * + p,
.pl .pl-zone__text > * + ul,
.pl .pl-zone__text > * + ol {
	margin-top: 10px;
}

.pl .pl-zone__text ul,
.pl .pl-zone__text ol {
	padding-left: 1.25em;
}

.pl .pl-zone__text ul {
	list-style: disc;
}

.pl .pl-zone__text ol {
	list-style: decimal;
}

.pl .pl-zone__img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 16px;
	border-radius: var(--pl-radius-md);
}

.pl-zone__col > .pl-zone__img:first-child {
	margin-top: 0;
}

.pl-zone__col.is-light,
.pl-zone__col.is-light .pl-zone__text {
	color: #fff;
}

.pl-zone__col.is-light .pl-zone__text {
	color: rgba(255, 255, 255, 0.85);
}

.pl .pl-zone__col.is-light a {
	color: #fff;
	text-decoration: underline;
}

/* Auf dem Telefon stehen zwei Spalten untereinander. */
@media (max-width: 760px) {
	.pl-zone--cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.pl-zone__col.has-bg {
		padding: 22px 20px;
	}
}

/* Filter-Sidebar ------------------------------------------------------
 *
 * Läuft in voller Länge mit der Seite, wie im Entwurf — bis zum 3.10.2026
 * klebte sie (sticky) und scrollte mit eigenem Balken. Auf schmalen
 * Fenstern bleibt sie die Schublade (siehe unten).
 */

.pl-filters__mobilehead {
	display: none;
}

.pl-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pl-space-3);
	padding-bottom: 6px;
}

.pl-filters__title {
	display: flex;
	align-items: center;
	gap: var(--pl-space-2);
	font-size: var(--pl-text-md);
	font-weight: var(--pl-weight-semibold);
	color: #0f0f12;
}

.pl a.pl-filters__reset,
.pl a.pl-filters__reset:hover {
	font-size: 14px;
	color: #0a4bf5;
}

.pl-facet {
	padding: 14px 0;
	border-bottom: 1px solid #e3e3e8;
}

/* Unter der letzten Gruppe keine Linie — bis zum 18.10.2026 stand dort der
   Preisregler, der selbst keine trug. */
.pl-facet:last-child {
	border-bottom: 0;
}

/*
 * Der Hersteller über seiner Liste — seit dem 3.10.2026 wieder ein Knopf,
 * der die Liste auf- und zuklappt, wie im Entwurf. `.pl button.` davor,
 * weil das Eltern-Theme jedem `button` Fläche, Versalien und Polster gibt.
 */
.pl button.pl-facet__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	color: #0f0f12;
}

.pl button.pl-facet__toggle:hover,
.pl button.pl-facet__toggle:focus {
	background: none;
	color: #0f0f12;
	outline: none;
}

.pl-facet__chevron {
	display: inline-flex;
	color: #5f5f69;
	transition: transform var(--pl-dur-fast) var(--pl-ease-out);
}

.pl-facet.is-collapsed .pl-facet__chevron {
	transform: rotate(180deg);
}

.pl-facet.is-collapsed .pl-facet__body {
	display: none;
}

/*
 * Die Gliederung der Serien (seit dem 18.10.2026, `pl_render_series_outline()`):
 * Notebooks, PCs und Zubehör stehen als Abschnitte untereinander, mit einem
 * grösseren Abstand dazwischen — so gewünscht, damit man sie als Gruppen
 * liest. Die Linie im Abstand wäre zu viel: der Hersteller trägt schon eine.
 */
.pl-serien__abschnitt {
	display: flex;
	flex-direction: column;
}

.pl-serien__abschnitt + .pl-serien__abschnitt {
	margin-top: 18px;
}

/*
 * Ein Akkordeon in der Liste eines Herstellers — Vorgängermodelle, Zubehör.
 * Der Kopf hat die Höhe einer Zeile darunter, damit die Liste ruhig bleibt;
 * die Einträge sind eine Stufe eingerückt („eine Spalte weiter", wie im
 * Excel). Zu ist es nur mit Javascript (`.js`), ohne bleibt es offen.
 */
.pl button.pl-akkordeon__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	height: auto;
	min-height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400; /* seit dem 28.10.2026 wie die Einträge darunter, so gewünscht */
	line-height: 1.5;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	color: #0f0f12;
}

.pl button.pl-akkordeon__toggle:hover,
.pl button.pl-akkordeon__toggle:focus {
	background: none;
	color: #0f0f12;
	outline: none;
}

/* 13px breit wie das Kästchen darunter: der Text des Kopfs steht damit
   bündig mit den Bezeichnungen der Zeilen ohne Akkordeon. */
.pl-akkordeon__chevron {
	display: inline-flex;
	justify-content: center;
	width: 13px;
	margin-right: 4px;
	color: #5f5f69;
	transition: transform var(--pl-dur-fast) var(--pl-ease-out);
}

.pl-akkordeon:not(.is-collapsed) .pl-akkordeon__chevron {
	transform: rotate(90deg);
}

.pl-akkordeon__body {
	display: flex;
	flex-direction: column;
	padding-left: 23px;
}

.js .pl-akkordeon.is-collapsed > .pl-akkordeon__body {
	display: none;
}

/* Die alte Überschrift ohne Knopf — nur noch bei ungruppierten Facetten. */
.pl-facet__heading {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	color: #0f0f12;
}

.pl-facet__body {
	display: flex;
	flex-direction: column;
	padding-top: 10px;
}

/*
 * Ankreuzfelder wie im Entwurf: 14px normal (das Eltern-Theme setzt `label`
 * fett und gibt ihm Abstand nach unten), 28px Zeile, 10px Lücke, das native
 * 13px-Kästchen in Blau.
 */
.pl .pl-filters .pl-option {
	gap: 10px;
	min-height: 28px;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #0f0f12;
}

.pl .pl-filters .pl-option__input {
	width: 13px;
	height: 13px;
	margin: 0;
	accent-color: #0a4bf5;
}

.pl-facet__group {
	margin: var(--pl-space-3) 0 var(--pl-space-1);
	font-size: var(--pl-text-xs);
	font-weight: var(--pl-weight-semibold);
	letter-spacing: var(--pl-tracking-wide);
	text-transform: uppercase;
	color: var(--pl-text-tertiary);
}

.pl-facet__body > .pl-facet__group:first-child {
	margin-top: 0;
}

/* Werkzeugleiste ------------------------------------------------------ */

.pl-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.pl-toolbar__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/*
 * Der Knopf der Sortierung sieht aus wie das Auswahlfeld des Entwurfs:
 * Pfeil als kleines Dreieck (10×6, #505057) im Hintergrund, 30px Platz
 * rechts, Schrift 500. Seit dem 28.10.2026 ein `<summary>` statt eines
 * `<select>`, sein Pop-up ist das der Facetten (`pl_render_toolbar_sort()`).
 */
.pl-sortknopf {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 30px 0 12px;
	border: 1px solid #d1d1d8;
	border-radius: 6px;
	background: #fff url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23505057'/%3E%3C/svg%3E") no-repeat right 12px center;
	background-size: 10px 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
	color: #0f0f12;
	white-space: nowrap;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.pl-sortknopf::-webkit-details-marker,
.pl-sortknopf::marker {
	display: none;
	content: '';
}

.pl-facette[open] > .pl-sortknopf {
	background-color: var(--pl-gray-50);
	border-color: var(--pl-gray-400);
}

/*
 * Facetten der Werkzeugleiste (seit dem 18.10.2026) — die `.facette` der
 * Warenwirtschaft (`resources/css/app.css`), in den Massen des Shops: 14px
 * statt 16px, damit sie neben der Sortierung und der Trefferzahl nicht
 * grösser stehen als alles andere in der Zeile. Ungesetzt gestrichelt mit
 * Plus, gesetzt durchgezogen mit Filtersymbol und Chips.
 *
 * `.pl` davor, wo das Eltern-Theme mitredet: `label` (fett, 8px Abstand),
 * `a` (Linkfarbe), `input` (44px, Rahmen).
 */
.pl-facette {
	position: relative;
}

.pl-facette__knopf {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 12px;
	border: 1px dashed var(--pl-border-strong);
	border-radius: var(--pl-radius-sm);
	background: var(--pl-bg-page);
	font-size: var(--pl-text-base);
	font-weight: var(--pl-weight-medium);
	line-height: normal;
	color: var(--pl-gray-700);
	white-space: nowrap;
	list-style: none;
	cursor: pointer;
	user-select: none;
	transition:
		background var(--pl-dur-fast) var(--pl-ease-out),
		border-color var(--pl-dur-fast) var(--pl-ease-out);
}

/* Das Dreieck, das ein `<summary>` von Haus aus trägt. */
.pl-facette__knopf::-webkit-details-marker,
.pl-facette__knopf::marker {
	display: none;
	content: '';
}

.pl-facette__knopf:hover,
.pl-facette[open] > .pl-facette__knopf {
	background: var(--pl-gray-50);
	border-color: var(--pl-gray-400);
}

.pl-facette__knopf.is-aktiv {
	border-style: solid;
	color: var(--pl-text-primary);
}

.pl-facette__knopf .pl-icon {
	flex: none;
	color: var(--pl-text-tertiary);
}

.pl-facette__trenner {
	width: 1px;
	height: 16px;
	background: var(--pl-border-hairline);
}

.pl-facette__chip {
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 2px 6px;
	border-radius: var(--pl-radius-xs);
	background: var(--pl-gray-100);
}

.pl-facette__pop {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	min-width: min(240px, calc(100vw - 32px));
	max-width: min(380px, calc(100vw - 32px));
	padding: 6px;
	border: 1px solid var(--pl-border-hairline);
	border-radius: var(--pl-radius-md);
	background: var(--pl-bg-page);
	box-shadow: var(--pl-shadow-popover);
}

/* Die Sortierung steht ganz rechts — ihr Pop-up hängt an der rechten Kante. */
.pl-facette__pop--rechts {
	left: auto;
	right: 0;
}

.pl .pl-facette__option {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	margin: 0;
	padding: 0 10px;
	border-radius: var(--pl-radius-xs);
	font-size: var(--pl-text-base);
	font-weight: var(--pl-weight-regular);
	line-height: normal;
	color: var(--pl-text-primary);
	text-decoration: none;
	cursor: pointer;
}

.pl .pl-facette__option:hover {
	background: var(--pl-gray-100);
	color: var(--pl-text-primary);
}

.pl .pl-facette__kasten {
	flex: none;
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: var(--pl-accent);
}

.pl-facette__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pl-facette__zahl {
	font-family: var(--pl-font-mono);
	color: var(--pl-text-tertiary);
	font-variant-numeric: tabular-nums;
}

.pl-facette__linie {
	height: 1px;
	margin: 6px -6px;
	background: var(--pl-border-hairline);
}

.pl .pl-facette__entfernen {
	justify-content: center;
	color: var(--pl-text-secondary);
}

/*
 * Schalter „Nur konfigurierbare" — der `.schalter` der Warenwirtschaft:
 * 36×20, Knopf 16px, an in Blau. Ein echtes Ankreuzfeld mit
 * `appearance: none` und `role="switch"`; Tastatur und Vorlesen kommen vom
 * Browser.
 */
.pl .pl-schalter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	margin: 0 0 0 4px;
	font-size: var(--pl-text-base);
	font-weight: var(--pl-weight-medium);
	line-height: normal;
	color: var(--pl-gray-700);
	white-space: nowrap;
	cursor: pointer;
}

.pl .pl-schalter__feld {
	position: relative;
	flex: none;
	width: 36px;
	height: 20px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--pl-radius-pill);
	background: var(--pl-border-strong);
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: background-color var(--pl-dur-med) var(--pl-ease-out);
}

.pl-schalter__feld::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 15, 18, 0.2);
	transition: transform var(--pl-dur-med) var(--pl-ease-out);
}

.pl .pl-schalter__feld:checked {
	background: var(--pl-accent);
}

.pl-schalter__feld:checked::before {
	transform: translateX(16px);
}

.pl-schalter:has(.pl-schalter__feld:checked) {
	color: var(--pl-text-primary);
}

/* Der Ring sitzt am runden Schalter, nicht als 4px-Ecke. */
.pl .pl-schalter__feld:focus-visible {
	border-radius: var(--pl-radius-pill);
}

/* Nur ohne Javascript zu sehen. `button.` davor gegen `button[type=submit]`
   des Eltern-Themes (12px, Versalien, #313131). */
.pl button.pl-apply {
	height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #0a4bf5;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
}

/* Mit Javascript wirkt jede Änderung sofort — der Knopf wäre dann nur Ballast. */
.js .pl-apply {
	display: none;
}

.pl-toolbar__count {
	margin: 0 0 0 auto;
	font-size: var(--pl-text-base);
	color: var(--pl-text-secondary);
	white-space: nowrap;
}

.pl-toolbar__count strong {
	font-family: var(--pl-font-mono);
	color: var(--pl-text-primary);
	font-variant-numeric: tabular-nums;
}

/* Chips --------------------------------------------------------------- */

.pl-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pl-space-2);
	margin-bottom: var(--pl-space-4);
}

.pl-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--pl-space-2);
	height: 30px;
	padding: 0 var(--pl-space-2) 0 var(--pl-space-3);
	background: var(--pl-accent-subtle);
	border: 1px solid var(--pl-accent-border);
	border-radius: var(--pl-radius-pill);
	font-size: var(--pl-text-sm);
	color: var(--pl-blue-700);
}

.pl-chip:hover {
	background: var(--pl-blue-100);
	color: var(--pl-blue-800);
}

.pl-chips__reset {
	font-size: var(--pl-text-sm);
	font-weight: var(--pl-weight-semibold);
	color: var(--pl-text-secondary);
}

/* Produktraster ------------------------------------------------------- */

.pl-grid,
.pl .related ul.products,
.pl .up-sells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--pl-space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl .related ul.products,
.pl .up-sells ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Im Shop: 14px unter der Werkzeugleiste, 24px Lücke. Das Eltern-Theme gibt
   `ul.products` 60px Polster oben und 15px Rand unten. */
.pl .pl-results ul.pl-grid {
	gap: 24px;
	margin: 14px 0 0;
	padding: 0;
}

.pl-card {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pl-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--pl-gray-0);
	border: 1px solid var(--pl-border-hairline);
	border-radius: var(--pl-radius-md);
	overflow: hidden;
	color: inherit;
	transition: border-color var(--pl-dur-fast) var(--pl-ease-out),
		box-shadow var(--pl-dur-fast) var(--pl-ease-out);
}

.pl-card__link:hover {
	border-color: var(--pl-border-strong);
	box-shadow: var(--pl-shadow-card-hover);
	color: inherit;
}

.pl-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--pl-surface-card);
}

/*
 * Vier Klassen, und keine davon ist Schmuck.
 *
 * WooCommerce setzt in `.woocommerce ul.products li.product a img` --
 * Spezifitaet (0,3,4) -- `width: 100%`, `height: auto` und
 * `margin: 0 0 1em`. Gegen die einzelne BEM-Klasse (0,1,0) gewinnt das,
 * und dann bestimmt JEDES BILD die Hoehe seiner eigenen Kachel: die
 * `aspect-ratio` am Kasten ist nur eine BEVORZUGTE Groesse und weicht,
 * sobald der Inhalt hoeher ist.
 *
 * Am 16.9.2026 auf test-shop.webtechnician.de bei 1440 px nachgemessen:
 * die Dell-Kachel 336x267 (Verhaeltnis 1,26), die Kachel mit dem
 * WooCommerce-Platzhalter 336x351 (0,96) -- und in beiden steckte das
 * `1em` als 15 px Luft unter dem Bild. Im Raster der verwandten Produkte
 * auf der Produktseite dasselbe: 1,333 neben 1,0 neben 1,0.
 *
 * Mit gesetzter Hoehe bleibt der Kasten in JEDER Rasterbreite 4:3, und
 * `object-fit: contain` legt das Foto mittig hinein, egal welches
 * Seitenverhaeltnis es selbst hat. `!important` waere der kuerzere Weg
 * gewesen; die Spezifitaet ist der, den dieses Stylesheet schon bei
 * `.pl .related ul.products` geht.
 *
 * Seit dem 28.10.2026 füllt das Foto den Kasten ganz (vorher 78 %, so
 * gewünscht); `contain` schneidet ein Foto in anderem Format nicht an.
 */
.pl .pl-card .pl-card__media .pl-card__img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.pl-card__noimg {
	font-family: var(--pl-font-mono);
	font-size: var(--pl-text-2xs);
	color: var(--pl-text-tertiary);
}

.pl-card .pl-badge--cto {
	position: absolute;
	top: var(--pl-space-3);
	left: var(--pl-space-3);
	z-index: 1;
}

/* Maße aus `Shop.dc.html`: 14/16/16 Polster, 6px Lücke. */
.pl-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	padding: 14px 16px 16px;
}

/*
 * Der Titel steht auf zwei Zeilen gekürzt (seit dem 28.10.2026, so
 * gewünscht). Die Zeile hält die Höhe von zwei Zeilen frei, der Titel liegt
 * absolut darin. Vom 28.10. bis zum 15.11.2026 klappte ein gekürzter Titel
 * beim Darüberfahren über den Preis auf (`is-gekuerzt` aus `cards.js`); das
 * ist entfallen, so gewünscht.
 */
.pl-card__titelzeile {
	position: relative;
	display: block;
	height: calc(2 * 1.43em);
	font-size: var(--pl-text-md);
}

.pl-card__title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-size: var(--pl-text-md);
	font-weight: var(--pl-weight-semibold);
	line-height: 1.43;
	color: var(--pl-text-primary);
}

/*
 * `.pl-card__spec` ist am 16.9.2026 entfallen -- Container und Regel. Die
 * Kurzform der Ausstattung stand dreimal im Shop: hier, in der
 * Ausstattungsliste der Kaufbox und (bei 16 Produkten) in der erzeugten
 * Kurzbeschreibung. Mit ihr ist `pl_product_short_spec()` gegangen, ihr
 * einziger Verbraucher.
 */

.pl-card__pricing {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: auto;
	padding-top: 0;
}

/* Der Preis auf der Karte in 400 (seit dem 28.10.2026, so gewünscht; vorher
   500 aus `.pl-price` in base.css). Die Kaufboxen behalten ihre Gewichte. */
.pl-card__pricing .pl-price,
.pl-card__pricing .pl-price .amount,
.pl-card__pricing .pl-price bdi {
	font-weight: var(--pl-weight-regular);
}

/* Leerzustand und Nachladen ------------------------------------------- */

.pl-empty {
	margin-top: 14px;
	padding: 28px;
	background: var(--pl-bg-subtle);
	border: 1px solid var(--pl-border-hairline);
	border-radius: var(--pl-radius-md);
}

.pl-empty__title {
	margin: 0;
	font-size: 15px;
	font-weight: var(--pl-weight-semibold);
}

.pl .pl-empty__text a {
	font-weight: 600;
	color: #0a4bf5;
}

.pl-empty__text {
	margin: 6px 0 0;
	font-size: var(--pl-text-sm);
	color: var(--pl-text-secondary);
}

.pl-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 32px;
}

/* „Mehr anzeigen" wie im Entwurf: 44px, weiss mit grauem Rahmen. */
.pl a.pl-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 28px;
	border: 1px solid #d1d1d8;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: #0f0f12;
	transition: border-color var(--pl-dur-fast) var(--pl-ease-out);
}

.pl a.pl-more__btn:hover,
.pl a.pl-more__btn:focus {
	border-color: #82828c;
	color: #0f0f12;
}

.pl a.pl-more__btn.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

.pl-more__rest {
	font-family: var(--pl-font-mono);
	font-weight: var(--pl-weight-regular);
	color: var(--pl-text-tertiary);
}

.pl-more__status {
	margin: 0;
	font-size: var(--pl-text-sm);
	color: var(--pl-text-tertiary);
}

/* Ladezustand --------------------------------------------------------- */

.pl-results {
	position: relative;
	min-height: 200px;
	padding-bottom: 60px;
	transition: opacity var(--pl-dur-med) var(--pl-ease-out);
}

.pl-results.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

/* Schmale Bildschirme -------------------------------------------------- */

/* Vier Spalten wie im Entwurf (1440px und breiter); darunter drei, damit
   eine Karte nicht unter 230px schrumpft: 4 × 230 + 3 × 24 Lücke + 250
   Sidebar + 40 + 2 × 30 Rand + 17 Rollbalken = 1359px. */
@media (max-width: 1359px) {
	.pl-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.pl-grid,
	.pl .related ul.products,
	.pl .up-sells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.pl-shop-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--pl-space-5);
	}

	/* Mit Schublade löst sich die linke Hülle auf: der Bereich über dem
	   Filter wird ein Rasterfeld über dem Knopf „Filter", die Sidebar ist
	   ohnehin `fixed` und belegt kein Feld. Ohne die Auflösung stünde eine
	   leere Hülle mit Rasterabstand da, wenn es keinen Bereich gibt. */
	.js .pl-shop-side {
		display: contents;
	}

	.js .pl-zone--filter {
		margin-bottom: 0;
	}

	/* Ohne Javascript gibt es keine Schublade: die Sidebar bleibt dann ein
	   normaler Block über den Ergebnissen und ist voll bedienbar. */
	.js .pl-filters__open {
		display: inline-flex;
		align-self: flex-start;
	}

	.js .pl-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 70;
		width: min(360px, 88vw);
		max-height: none;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: var(--pl-space-4) var(--pl-space-5) var(--pl-space-10);
		background: var(--pl-gray-0);
		box-shadow: var(--pl-shadow-overlay);
		transform: translateX(-102%);
		transition: transform var(--pl-dur-med) var(--pl-ease-out);
	}

	.js .pl-filters.is-open {
		transform: translateX(0);
	}

	/* In der Schublade steht „Filter" schon im Kopf mit dem Schliessen-Kreuz. */
	.js .pl-filters .pl-filters__title {
		display: none;
	}

	.js .pl-filters .pl-filters__head {
		justify-content: flex-end;
		padding-top: 6px;
	}

	.js .pl-filters__mobilehead {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: var(--pl-space-3);
		border-bottom: 1px solid var(--pl-border-hairline);
		font-size: var(--pl-text-lg);
		font-weight: var(--pl-weight-semibold);
	}

	.pl-toolbar__count {
		width: 100%;
		margin-left: 0;
		order: 3;
	}
}

@media (max-width: 620px) {
	.pl-grid,
	.pl .related ul.products,
	.pl .up-sells ul.products {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--pl-space-4);
	}

	.pl-toolbar__quick {
		width: 100%;
	}
}
