/* HW Landingpages 1.27.0 – Kategorieseiten, Suchergebnisse und Shop-Seite. Wirkt nur mit body.hw-plp. */
@font-face { font-family: "HW Barlow Condensed"; src: url(fonts/barlow-condensed-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "HW Barlow Condensed"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "HW Barlow Condensed"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "HW Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "HW Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

body.hw-plp {
	--hw-cream: #FBF2ED;
	--hw-anth: #263039;
	--hw-anth-deep: #1A2229;
	--hw-brown: #B08E75;
	--hw-brown-text: #7A5B45;
	--hw-ink: #1F272E;
	--hw-ink2: #3A444D;
	--hw-muted: #55606A;
	--hw-line: #DCCABD;
	--hw-mat: #F4EEE9;
	--hw-display: "HW Barlow Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
	--hw-body: "HW Barlow", Barlow, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Kategoriebild von Atomion: vollständig, ohne Zuschnitt, in begrenzter Höhe ---------- */
body.hw-plp #atomion-category-hero .wrapper { display: flex; justify-content: center; }
body.hw-plp #atomion-category-hero img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(180px, 22vw, 320px);
	margin: 0 auto;
	object-fit: contain;
	border-radius: 0 0 20px 0;
}
@media (max-width: 699px) {
	body.hw-plp #atomion-category-hero img { max-height: 200px; }
}

/* ---------- Kopfbereich ---------- */
body.hw-plp .woocommerce-products-header { margin: 8px 0 0; padding: 0; text-align: left; }
body.hw-plp .woocommerce-products-header__title {
	margin: 0;
	font-family: var(--hw-display);
	font-weight: 700;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--hw-anth);
}
body.hw-plp .hw-plp-info { margin: 14px 0 0; }
body.hw-plp p.hw-plp-intro { max-width: 46em; margin: 0 0 14px; font-family: var(--hw-body); font-size: 17px; line-height: 1.6; color: var(--hw-ink2); }
body.hw-plp ul.hw-plp-usp { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-family: var(--hw-body); }
body.hw-plp ul.hw-plp-usp li {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--hw-line);
	border-radius: 8px 0 8px 0;
	font-size: 13px;
	color: var(--hw-ink2);
}
body.hw-plp ul.hw-plp-usp li::before { content: none; }
body.hw-plp ul.hw-plp-usp li.hw-plp-usp__count { border-color: var(--hw-anth); background: var(--hw-anth); color: var(--hw-cream); font-weight: 600; }

/* ---------- Shop-Seite: Einleitung aus der Seite „Shop“ und „Direkt zu“ ---------- */
body.hw-plp-shop .woocommerce-products-header .page-description { max-width: 46em; margin: 14px 0 0; padding: 0; }
body.hw-plp-shop .woocommerce-products-header .page-description p { margin: 0 0 10px; font-family: var(--hw-body); font-size: 17px; line-height: 1.6; color: var(--hw-ink2); }
body.hw-plp-shop .woocommerce-products-header .page-description p:last-child { margin-bottom: 0; }
body.hw-plp-shop .wpc-custom-selected-terms:empty, body.hw-plp-shop .wpc-custom-selected-terms .wpc-empty-chips-container { margin: 0; padding: 0; }
body.hw-plp nav.hw-shop-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hw-line); font-family: var(--hw-body); }
body.hw-plp .hw-shop-quick__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--hw-brown-text); }
body.hw-plp ul.hw-shop-quick__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.hw-plp ul.hw-shop-quick__list li { margin: 0; padding: 0; }
body.hw-plp ul.hw-shop-quick__list li::before { content: none; }
body.hw-plp ul.hw-shop-quick__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid var(--hw-line);
	border-radius: 8px 0 8px 0;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--hw-anth);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
body.hw-plp ul.hw-shop-quick__list a:hover { border-color: var(--hw-brown); background: var(--hw-cream); color: var(--hw-anth); }
body.hw-plp ul.hw-shop-quick__list a:focus-visible { outline: 2px solid var(--hw-brown-text); outline-offset: 2px; }
body.hw-plp .hw-shop-quick__count { font-weight: 400; font-size: 13px; color: var(--hw-muted); font-variant-numeric: tabular-nums; }
body.hw-plp ul.hw-shop-quick__list li.hw-shop-quick__all a { border-color: var(--hw-anth); background: var(--hw-anth); color: var(--hw-cream); }
body.hw-plp ul.hw-shop-quick__list li.hw-shop-quick__all a:hover { background: var(--hw-anth-deep); color: var(--hw-cream); }
@media (max-width: 599px) {
	/* Am Handy als wischbare Reihe, damit die Produkte schnell sichtbar werden. */
	body.hw-plp nav.hw-shop-quick { flex-wrap: nowrap; display: block; }
	body.hw-plp .hw-shop-quick__label { margin-bottom: 8px; }
	body.hw-plp ul.hw-shop-quick__list { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
	body.hw-plp ul.hw-shop-quick__list::-webkit-scrollbar { display: none; }
	body.hw-plp ul.hw-shop-quick__list li { flex: none; }
	body.hw-plp ul.hw-shop-quick__list a { min-height: 36px; font-size: 14px; white-space: nowrap; }
}

/* ---------- Ergebniszahl und Sortierung ---------- */
body.hw-plp .woocommerce-result-count { margin: 22px 0 0; font-family: var(--hw-body); font-size: 14px; line-height: 44px; color: var(--hw-muted); }
body.hw-plp .woocommerce-ordering { margin: 22px 0 0; }
body.hw-plp .woocommerce-ordering select.orderby {
	min-height: 44px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--hw-line);
	border-radius: 10px 0 10px 0;
	background-color: #fff;
	font-family: var(--hw-body);
	font-size: 14px;
	color: var(--hw-anth);
}
body.hw-plp .woocommerce-ordering select.orderby:focus-visible { outline: 2px solid var(--hw-brown-text); outline-offset: 2px; }

/* ---------- Raster ---------- */
body.hw-plp ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 40px 24px;
	clear: both;
	margin: 22px 0 48px !important;
	padding: 0 !important;
	list-style: none;
}
body.hw-plp ul.products::before, body.hw-plp ul.products::after { content: none !important; display: none !important; }
body.hw-plp ul.products > li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
}
@media (max-width: 599px) {
	body.hw-plp ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
}
/* Abstand zur Seitenleiste: Raster und Seitenleiste liegen bei Atomion im selben Bereich (#primary),
   deshalb bekommt die Seitenleiste selbst einen Innenabstand. */
@media (min-width: 1025px) {
	body.hw-plp #primary.sidebar-right #shop-sidebar { box-sizing: border-box; padding-left: clamp(32px, 3vw, 52px); }
	body.hw-plp #primary.sidebar-left #shop-sidebar { box-sizing: border-box; padding-right: clamp(32px, 3vw, 52px); }
	body.hw-plp.hw-plp-cols-2 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
	body.hw-plp.hw-plp-cols-3 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Produktkarte: Motiv vollständig wie ein Bild an der Wand ---------- */
/* Quadratische Fläche mit schmalem Rand: Hoch-, Quer- und Quadratformate werden alle groß gezeigt. */
body.hw-plp li.product .product-image-wrapper {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 6%;
	box-sizing: border-box;
	overflow: hidden;
	border-radius: 16px 0 16px 0;
	background: var(--hw-mat);
}
body.hw-plp li.product a.atomion-product-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
body.hw-plp li.product a.atomion-product-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: contain;
	filter: drop-shadow(0 8px 12px rgba(31, 39, 46, 0.24));
	transform: none;
	transition: transform 0.35s ease;
}
body.hw-plp li.product:hover a.atomion-product-image img, body.hw-plp li.product:focus-within a.atomion-product-image img { transform: translateY(-3px) scale(1.02); }
body.hw-plp li.product .atomion-product-lupe,
body.hw-plp li.product .product-image-wrapper .button { display: none !important; }

body.hw-plp li.product .site-product-meta { display: flex; flex-direction: column; gap: 4px; padding: 14px 2px 0; text-align: left; }
body.hw-plp li.product .site-product-meta > a { color: inherit; text-decoration: none; }
body.hw-plp li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--hw-display);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hw-anth);
}
body.hw-plp li.product .site-product-meta > a:hover .woocommerce-loop-product__title { color: var(--hw-brown-text); }
body.hw-plp li.product p.hw-plp-formats { margin: 0 !important; padding: 0 !important; font-family: var(--hw-body); font-size: 13px !important; line-height: 1.4 !important; color: var(--hw-muted); }
body.hw-plp li.product .price { margin: 6px 0 0; font-family: var(--hw-display); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--hw-ink); }
body.hw-plp li.product .price del { font-weight: 400; font-size: 0.8em; color: var(--hw-muted); }
body.hw-plp li.product .price ins { text-decoration: none; }
body.hw-plp .hw-plp-ab { font-weight: 400; font-size: 0.72em; color: var(--hw-muted); }
body.hw-plp li.product .wgm-info,
body.hw-plp li.product .wgm-info * { margin: 0 !important; padding: 0 !important; font-family: var(--hw-body); font-size: 12px !important; line-height: 1.45 !important; color: var(--hw-muted); }
body.hw-plp li.product .wgm-info + .wgm-info { margin-top: 0 !important; }
body.hw-plp li.product .price + .wgm-info { margin-top: 4px !important; }
@media (max-width: 599px) {
	body.hw-plp li.product .product-image-wrapper { padding: 4%; border-radius: 12px 0 12px 0; }
	body.hw-plp li.product a.atomion-product-image img { filter: drop-shadow(0 5px 8px rgba(31, 39, 46, 0.22)); }
	body.hw-plp li.product .site-product-meta { gap: 3px; padding-top: 10px; }
	body.hw-plp li.product .woocommerce-loop-product__title { font-size: 17px; }
	body.hw-plp li.product .price { margin-top: 3px; font-size: 18px; }
	body.hw-plp li.product p.hw-plp-formats { font-size: 12px !important; }
	body.hw-plp li.product .wgm-info, body.hw-plp li.product .wgm-info * { font-size: 11px !important; }
}
body.hw-plp li.product .wgm-info a { color: var(--hw-muted); }

/* Hinweise "Neu" und "Angebot" */
body.hw-plp li.product .hw-plp-badge,
body.hw-plp li.product span.onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 4px 10px;
	border-radius: 6px 0 6px 0;
	background: var(--hw-brown);
	color: #161B21;
	font-family: var(--hw-display);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.hw-plp li.product .hw-plp-badge { background: var(--hw-anth); color: var(--hw-cream); }

/* ---------- Paginierung ---------- */
body.hw-plp ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 24px; padding: 0; list-style: none; border: 0; }
body.hw-plp ul.page-numbers li { margin: 0; padding: 0; border: 0; float: none; }
body.hw-plp ul.page-numbers li::before { content: none; }
body.hw-plp ul.page-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--hw-line);
	border-radius: 10px 0 10px 0;
	background: #fff;
	font-family: var(--hw-body);
	font-weight: 600;
	font-size: 15px;
	color: var(--hw-anth);
	text-decoration: none;
}
body.hw-plp ul.page-numbers a.page-numbers:hover { border-color: var(--hw-brown-text); background: #fff; color: var(--hw-anth); }
body.hw-plp ul.page-numbers .page-numbers.current { border-color: var(--hw-anth); background: var(--hw-anth); color: var(--hw-cream); }
body.hw-plp ul.page-numbers .page-numbers.dots { border-color: transparent; background: transparent; }
/* Atomion setzt an die Seitenzahlen eigene Zierelemente (bei der aktuellen Seite eine Linie hinter der Zahl).
   Im Kasten rückten sie die Zahl aus der Mitte und machten ihn breiter. */
body.hw-plp ul.page-numbers .page-numbers::before,
body.hw-plp ul.page-numbers .page-numbers::after,
body.hw-plp ul.page-numbers li::after { content: none !important; display: none !important; }
body.hw-plp ul.page-numbers .page-numbers > span { display: inline-flex; align-items: center; justify-content: center; }
/* Schmale Handys: Seite 2 bis vorletzte Seite hat sieben Felder (mit Pfeilen); kleinere Kästen halten sie in einer Zeile. */
@media (max-width: 599px) {
	body.hw-plp ul.page-numbers { gap: 6px; }
	body.hw-plp ul.page-numbers .page-numbers { min-width: 40px; min-height: 40px; padding: 0 8px; }
}

/* ---------- Beschreibungstext ---------- */
body.hw-plp .term-description { clear: both; max-width: 820px; margin: 56px auto 0; font-family: var(--hw-body); font-size: 16px; line-height: 1.7; color: var(--hw-ink2); }
body.hw-plp .term-description h2 {
	margin: 36px 0 10px;
	font-family: var(--hw-display);
	font-weight: 700;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.05;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--hw-anth);
}
body.hw-plp .term-description h2:first-child { margin-top: 0; }
body.hw-plp .term-description h3 { margin: 26px 0 8px; font-family: var(--hw-display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--hw-anth); }
body.hw-plp .term-description p { margin: 0 0 14px; }
body.hw-plp .term-description a { color: var(--hw-brown-text); text-decoration: underline; text-underline-offset: 3px; }
/* Mit JavaScript von Anfang an eingeklappt (kein Springen beim Laden); kurze Texte gibt das Skript frei. */
html.hw-js body.hw-plp .term-description:not(.is-open):not(.is-short),
body.hw-plp .term-description.is-collapsed { position: relative; max-height: 380px; overflow: hidden; }
html.hw-js body.hw-plp .term-description:not(.is-open):not(.is-short)::after,
body.hw-plp .term-description.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }
/* clear: Raster und Seitenleiste sind bei Atomion gefloatet; ohne clear rutscht der Button in die Lücke oben. */
body.hw-plp button.hw-plp-more {
	clear: both;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	margin: 12px auto 0;
	padding: 0 20px;
	border: 1.5px solid var(--hw-anth);
	border-radius: 10px 0 10px 0;
	background: #fff;
	color: var(--hw-anth);
	font-family: var(--hw-display);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
body.hw-plp button.hw-plp-more:hover { background: var(--hw-anth); color: var(--hw-cream); }
body.hw-plp button.hw-plp-more:focus-visible { outline: 2px solid var(--hw-brown-text); outline-offset: 3px; }

/* ---------- Unter dem Text: weitere Kategorien und Vorteile ---------- */
body.hw-plp .hw-plp-after { clear: both; max-width: 1100px; margin: 56px auto 24px; font-family: var(--hw-body); }
body.hw-plp .hw-plp-related__title {
	margin: 0 0 14px;
	font-family: var(--hw-display);
	font-weight: 700;
	font-size: 26px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--hw-anth);
}
body.hw-plp ul.hw-plp-related__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.hw-plp ul.hw-plp-related__list li { margin: 0; padding: 0; }
body.hw-plp ul.hw-plp-related__list li::before { content: none; }
body.hw-plp ul.hw-plp-related__list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--hw-line);
	border-radius: 10px 0 10px 0;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: var(--hw-anth);
	text-decoration: none;
}
body.hw-plp ul.hw-plp-related__list a:hover { border-color: var(--hw-anth); }
body.hw-plp ul.hw-plp-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 18px 24px;
	margin: 32px 0 0;
	padding: 24px;
	border-radius: 20px 0 20px 0;
	background: var(--hw-cream);
	list-style: none;
}
body.hw-plp ul.hw-plp-trust li { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; font-size: 14px; line-height: 1.45; color: var(--hw-ink2); }
body.hw-plp ul.hw-plp-trust li::before { content: none; }
body.hw-plp ul.hw-plp-trust .hw-icon { flex: none; margin-top: 2px; color: var(--hw-brown-text); }
body.hw-plp ul.hw-plp-trust strong { display: block; color: var(--hw-anth); }
body.hw-plp ul.hw-plp-trust a { color: var(--hw-brown-text); }

/* Zweite Paginierung in der Fußleiste von Atomion: auf Kategorieseiten doppelt zur Paginierung unter dem Raster. */
body.hw-plp #footer-action-bar { display: none; }

/* ---------- Seitenleiste ---------- */
body.hw-plp #shop-sidebar .widget-title {
	font-family: var(--hw-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hw-anth);
}
body.hw-plp #shop-sidebar { font-family: var(--hw-body); font-size: 15px; }

/* ---------- Vorschau-Hinweis ---------- */
.hw-plp-preview {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 9995;
	padding: 6px 12px;
	border-radius: 8px 0 8px 0;
	background: #B08E75;
	color: #161B21;
	font: 600 13px/1.3 "HW Barlow", Barlow, Arial, sans-serif;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
	body.hw-plp li.product a.atomion-product-image img { transition: none; }
	body.hw-plp li.product:hover a.atomion-product-image img { transform: none; }
}

/* ---------- Suchergebnisse ---------- */
body.hw-plp-search .hw-srch-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin: 4px 0 26px; }
body.hw-plp-search p.hw-srch-count { margin: 0; font-family: var(--hw-display); font-weight: 600; font-size: 20px; letter-spacing: 0.02em; color: var(--hw-anth); }
body.hw-plp-search .hw-srch-refine { flex: 1 1 340px; max-width: 520px; }
body.hw-plp p.hw-srch-label { margin: 0 0 8px; font-family: var(--hw-display); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hw-brown-text); }
/* Suchfeld (Advanced Woo Search oder WooCommerce) */
body.hw-plp .hw-srch-refine .aws-container, body.hw-plp .hw-srch-refine .aws-wrapper { position: relative; width: 100%; margin: 0; }
body.hw-plp .hw-srch-refine .aws-container .aws-search-form { display: flex !important; align-items: stretch; height: auto !important; }
body.hw-plp .hw-srch-refine .aws-container .aws-wrapper { flex: 1 1 auto; height: auto !important; overflow: visible !important; }
body.hw-plp .hw-srch-refine .aws-search-label, body.hw-plp .hw-srch-refine label.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.hw-plp .hw-srch-refine input.aws-search-field,
body.hw-plp .hw-srch-refine input[type="search"] {
	width: 100% !important;
	height: 50px !important;
	margin: 0;
	padding: 0 44px 0 14px !important;
	box-sizing: border-box;
	border: 1.5px solid var(--hw-anth) !important;
	border-radius: 10px 0 10px 0 !important;
	background: #fff !important;
	font-family: var(--hw-body) !important;
	font-size: 16px !important;
	color: var(--hw-ink) !important;
	box-shadow: none !important;
}
body.hw-plp .hw-srch-refine .aws-search-form:has(.aws-search-btn) input.aws-search-field { border-right: 0 !important; border-radius: 10px 0 0 0 !important; }
body.hw-plp .hw-srch-refine .aws-container .aws-search-btn { flex: none; display: flex !important; align-items: center; justify-content: center; width: 50px !important; height: auto !important; margin: 0 !important; border: 1.5px solid var(--hw-anth) !important; border-left: 0 !important; border-radius: 0 0 10px 0 !important; background: var(--hw-anth) !important; cursor: pointer; }
body.hw-plp .hw-srch-refine .aws-container .aws-search-btn svg { width: 22px; height: 22px; fill: var(--hw-cream) !important; }
body.hw-plp .hw-srch-refine .woocommerce-product-search { position: relative; display: flex; margin: 0; }
body.hw-plp .hw-srch-refine .woocommerce-product-search button { position: absolute; right: 5px; top: 5px; height: 40px; padding: 0 14px; border: 0; border-radius: 8px 0 8px 0; background: var(--hw-anth); color: var(--hw-cream); font-family: var(--hw-display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
body.hw-plp-search .hw-plp-info.hw-srch-head .hw-plp-usp { display: none; }

/* Chips mit beliebten Suchen */
body.hw-plp ul.hw-srch-chips { margin-top: 4px; }
body.hw-plp p.hw-srch-after__text { margin: -4px 0 14px; font-size: 15px; color: var(--hw-ink2); }
body.hw-plp p.hw-srch-after__text a { color: var(--hw-brown-text); font-weight: 600; }

/* Keine Treffer */
body.hw-plp .hw-srch-empty { max-width: 860px; margin: 8px 0 40px; padding: 30px 32px; border-radius: 20px 0 20px 0; background: var(--hw-cream); }
body.hw-plp h2.hw-srch-empty__title { margin: 0 0 10px; font-family: var(--hw-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; color: var(--hw-anth); }
body.hw-plp h2.hw-srch-empty__title::after { content: none; }
body.hw-plp p.hw-srch-empty__text { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--hw-ink2); }
body.hw-plp .hw-srch-empty ul.hw-srch-chips { margin-bottom: 24px; }
body.hw-plp .hw-srch-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
body.hw-plp a.hw-srch-pick { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; border: 1px solid var(--hw-line); border-radius: 14px 0 14px 0; background: #fff; color: var(--hw-ink2); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
body.hw-plp a.hw-srch-pick:hover { border-color: var(--hw-brown); transform: translateY(-2px); }
body.hw-plp .hw-srch-pick__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 6%; box-sizing: border-box; border-radius: 9px 0 9px 0; background: var(--hw-mat); }
body.hw-plp .hw-srch-pick__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; margin: 0; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
body.hw-plp .hw-srch-pick__name { font-family: var(--hw-display); font-weight: 600; font-size: 16px; line-height: 1.2; color: var(--hw-anth); }
body.hw-plp .hw-srch-pick__price { font-size: 13px; color: var(--hw-muted); }
body.hw-plp p.hw-srch-contact { margin: 0; font-size: 15px; }
body.hw-plp p.hw-srch-contact a { color: var(--hw-brown-text); font-weight: 600; }
@media (max-width: 640px) {
	body.hw-plp .hw-srch-empty { padding: 22px 18px; }
	body.hw-plp .hw-srch-picks { gap: 8px; }
	body.hw-plp a.hw-srch-pick { padding: 6px; }
	body.hw-plp .hw-srch-pick__name { font-size: 13px; }
	body.hw-plp .hw-srch-pick__price { font-size: 12px; }
}

/* ---------- 1.40: Panoramas ab 3:1 über die ganze Zeile ---------- */
body.hw-plp ul.products > li.product.hw-plp-pano { grid-column: 1 / -1; }
/* Nur bei Sortierung nach Beliebtheit/Bewertung: Karten rücken in Lücken vor breiten Karten nach. */
body.hw-plp.hw-plp-dense ul.products { grid-auto-flow: row dense; }
body.hw-plp li.product.hw-plp-pano .product-image-wrapper { aspect-ratio: auto; padding: clamp(14px, 3.5%, 34px) clamp(14px, 4%, 40px); }
body.hw-plp li.product.hw-plp-pano a.atomion-product-image { height: auto; }
body.hw-plp li.product.hw-plp-pano a.atomion-product-image img { width: 100%; height: auto; }
body.hw-plp li.product.hw-plp-pano:hover a.atomion-product-image img,
body.hw-plp li.product.hw-plp-pano:focus-within a.atomion-product-image img { transform: translateY(-3px) scale(1.01); }

/* ---------- 1.40: Seitenleiste „Alle Kategorien“ ---------- */
body.hw-plp #shop-sidebar .product-categories li.hw-plp-cat-all { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hw-line); }
body.hw-plp #shop-sidebar .product-categories li.hw-plp-cat-all a { font-weight: 600; color: var(--hw-brown-text); }
body.hw-plp #shop-sidebar .product-categories li.hw-plp-cat-all a::after { content: " →"; }

/* ---------- 1.41: unvollständige Zeilen neben Panoramas angleichen (Skript setzt die Klassen) ---------- */
/* Desktop mit 3 Spalten: 6 Teilspalten, jede Karte belegt zwei (gleiche Breiten wie zuvor). */
@media (min-width: 1025px) {
	body.hw-plp.hw-plp-cols-3 ul.products { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	body.hw-plp.hw-plp-cols-3 ul.products > li.product { grid-column: span 2; }
	body.hw-plp.hw-plp-cols-3 ul.products > li.product.hw-plp-duo { grid-column: span 3; }
}
body.hw-plp ul.products > li.product.hw-plp-pano,
body.hw-plp ul.products > li.product.hw-plp-solo { grid-column: 1 / -1; }
/* Einzelne Karte über die ganze Breite: Motiv mit begrenzter Höhe mittig auf der Fläche. */
body.hw-plp li.product.hw-plp-solo .product-image-wrapper { aspect-ratio: auto; padding: clamp(14px, 3.5%, 34px); }
body.hw-plp li.product.hw-plp-solo a.atomion-product-image { height: auto; }
body.hw-plp li.product.hw-plp-solo a.atomion-product-image img { width: auto; max-width: 100%; height: clamp(190px, 52vw, 360px); }
/* Zwei Karten teilen sich eine Zeile: Fläche 3:2, damit die Zeile nicht höher wird als die anderen. */
body.hw-plp li.product.hw-plp-duo .product-image-wrapper { aspect-ratio: 3 / 2; }

