/* ==========================================================================
   NEOX Networks – Shop-Sidebar im Karten-Design
   Styled: FiboSearch (Suche), "Produktfilter"-Header, YITH Ajax Product Filter
   Scope: nur Woo-Archive (wird per Snippet nur dort geladen)
   ========================================================================== */

:root {
	--nx-red: #d71920;
	--nx-red-dark: #a42629;
	--nx-red-soft: #fdf1f1;
	--nx-red-line: #f5c9cb;
	--nx-text: #1f1f23;
	--nx-muted: #6b6b73;
	--nx-line: #e7e7ea;
	--nx-row: #f6f6f8;
	--nx-radius: 14px;
	--nx-radius-sm: 9px;
	--nx-shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 4px 14px rgba(20, 20, 30, .05);
}

/* ---------- Kein Flackern beim Laden ---------------------------------------
   Bis das Script Icons/Tipps ergänzt hat, Filter + Info-Bild kurz ausblenden.
   Fallback: nach 1,5 s werden sie auch ohne JS sichtbar. */
@keyframes nx-reveal { to { opacity: 1; } }
.yith-wcan-filters:not(.nx-ready),
#shop-sidebar img[src*="Produkt-Filter-Info-Pic"] {
	opacity: 0;
	animation: nx-reveal .2s 1.5s forwards;
}

/* ---------- Sidebar-Titel "SUCHE" ------------------------------------------ */
#shop-sidebar .widget-title.shop-sidebar {
	font-family: Poppins, sans-serif;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--nx-text);
}
#shop-sidebar .is-divider.small {
	background: var(--nx-red);
	height: 3px;
	border-radius: 3px;
	max-width: 42px;
	opacity: 1;
}

/* ---------- Suche (FiboSearch, Layout "Suchleiste") ------------------------ */
#shop-sidebar .dgwt-wcas-search-wrapp { max-width: none; }
#shop-sidebar .dgwt-wcas-sf-wrapp {
	background: #fff;
	border: 1px solid var(--nx-line);
	border-radius: 12px;
	padding: 0;
	box-shadow: var(--nx-shadow);
	transition: border-color .2s, box-shadow .2s;
}
#shop-sidebar .dgwt-wcas-sf-wrapp:focus-within {
	border-color: var(--nx-red);
	box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}
#shop-sidebar .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	height: 46px;
	padding-left: 44px;
	font-size: 15px;
	border-radius: 12px;
}
#shop-sidebar .dgwt-wcas-sf-wrapp input[type=search]::placeholder { color: #9a9aa2; font-style: italic; }
/* Lupe links */
#shop-sidebar .dgwt-wcas-sf-wrapp::before {
	content: "";
	position: absolute;
	left: 15px; top: 50%;
	width: 18px; height: 18px;
	transform: translateY(-50%);
	background: var(--nx-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
	z-index: 2;
}
#shop-sidebar .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit { display: none; }
/* Fallback, falls FiboSearch noch auf Layout "Nur Icon" steht: Suchleiste trotzdem zeigen.
   Sauberer: FiboSearch → Einstellungen → Layout → "Suchleiste" wählen, dann greift dieser Block nicht. */
#shop-sidebar .dgwt-wcas-layout-icon .dgwt-wcas-search-icon,
#shop-sidebar .dgwt-wcas-layout-icon .dgwt-wcas-search-icon-arrow { display: none !important; }
#shop-sidebar .dgwt-wcas-layout-icon .dgwt-wcas-search-form {
	display: block !important;
	position: relative !important;
	top: auto !important; left: auto !important; right: auto !important;
	width: 100% !important; min-width: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
}
#shop-sidebar .dgwt-wcas-layout-icon .dgwt-wcas-sf-wrapp { position: relative; }

/* ---------- "Produktfilter"-Karte mit aufklappbarer Info (ersetzt das Info-Bild) ----
   Bewusst neutral (Grau/Anthrazit statt Rot), damit sie sich von den Filterkarten abhebt. */
.nx-info {
	margin: 4px 0 14px;
	background: #fff;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow);
	overflow: hidden;
}
#shop-sidebar .nx-filter-head,
.nx-filter-head {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 14px 12px 14px 16px;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.2;
	color: var(--nx-text);
	cursor: pointer;
}
.nx-filter-head:hover { background: #fafafb; }
.nx-filter-head:focus-visible { outline: 2px solid var(--nx-text); outline-offset: -2px; }
.nx-filter-head[disabled] { cursor: default; }

/* Links: i-Symbol */
.nx-filter-head__info {
	flex: 0 0 30px; height: 30px;
	border-radius: 50%;
	background: var(--nx-text);
	color: #fff;
	font: 700 16px/30px Georgia, serif;
	text-align: center;
	font-style: italic;
	transition: background .2s, transform .45s ease;
}
.nx-filter-head:hover .nx-filter-head__info,
.nx-info.is-open .nx-filter-head__info { background: var(--nx-red); }
/* i dreht sich beim Auf- und Zuklappen einmal um die eigene Achse */
.nx-info.is-open .nx-filter-head__info { transform: rotate(360deg); }

/* Mitte: Titel + Unterzeile */
.nx-filter-head__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nx-filter-head__title {
	margin: 0;
	font: 600 16px/1.2 Poppins, sans-serif;
	color: var(--nx-text);
}
.nx-filter-head__sub {
	font: 400 12px/1.35 Lato, sans-serif;
	color: var(--nx-muted);
}

/* Rechts: Auf-/Zu-Pfeil wie bei den Filterkarten */
.nx-filter-head__chev {
	flex: 0 0 16px;
	width: 16px; height: 16px;
	color: var(--nx-text);
	transition: transform .25s ease, color .2s;
}
.nx-filter-head__chev svg { width: 100%; height: 100%; display: block; }
.nx-filter-head:hover .nx-filter-head__chev { color: var(--nx-red); }
.nx-info.is-open .nx-filter-head__chev { transform: rotate(180deg); color: var(--nx-red); }

/* Aufklapp-Panel (animiert über grid-template-rows) */
.nx-info__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s ease;
}
.nx-info.is-open .nx-info__panel { grid-template-rows: 1fr; }
.nx-info__inner {
	min-height: 0;
	overflow: hidden;
	margin: 0 12px;
	background: #f4f4f6;
	border-left: 3px solid var(--nx-text);
	border-radius: var(--nx-radius-sm);
	transition: margin .3s ease;
}
.nx-info.is-open .nx-info__inner { margin-bottom: 12px; }
.nx-info__intro {
	margin: 0;
	padding: 12px 14px 8px;
	font: 400 12.5px/1.45 Lato, sans-serif;
	color: #4a4a52;
	text-align: left;
}
.nx-info__list { margin: 0; padding: 0 14px 10px; }
.nx-info__item {
	padding: 8px 0;
	border-top: 1px solid #e3e3e8;
}
/* Flatsome setzt dt/dd in Versalien – hier zurücksetzen */
#shop-sidebar .nx-info__item dt,
#shop-sidebar .nx-info__item dd {
	text-transform: none;
	letter-spacing: 0;
	float: none;
	width: auto;
}
.nx-info__item dt {
	margin: 0 0 2px;
	font: 600 12.5px/1.3 Poppins, sans-serif;
	color: var(--nx-text);
}
.nx-info__item dd {
	margin: 0;
	font: 400 12px/1.45 Lato, sans-serif;
	color: #5a5a62;
	text-align: left;
	hyphens: auto;
}
@media (prefers-reduced-motion: reduce) {
	.nx-info__panel, .nx-info__inner, .nx-filter-head__info, .nx-filter-head__chev { transition: none; }
}

/* ---------- YITH-Filter: Grundgerüst ---------------------------------------- */
.yith-wcan-filters.nx-ready { background: transparent; }
.yith-wcan-filters.nx-ready .filters-container form { margin: 0; }

.yith-wcan-filters.nx-ready .yith-wcan-filter {
	position: relative;
	margin: 0 0 12px !important;
	padding: 0 !important;
	background: #fff;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow);
	overflow: hidden;
	transition: border-color .2s, box-shadow .2s;
}
/* geöffnete Karte: roter Rahmen + Akzentleiste links (wie Mockup) */
.yith-wcan-filters.nx-ready .yith-wcan-filter.nx-open {
	border-color: var(--nx-red-line);
	box-shadow: 0 6px 22px rgba(215, 25, 32, .08);
}
.yith-wcan-filters.nx-ready .yith-wcan-filter.nx-open::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: var(--nx-red);
	border-radius: var(--nx-radius) 0 0 var(--nx-radius);
	z-index: 2;
}

/* ---------- Kopfzeile: Icon + Titel + Unterzeile + Chevron ----------------- */
.yith-wcan-filters.nx-ready .yith-wcan-filter .filter-title {
	display: grid !important;
	grid-template-columns: 30px 1fr 16px;
	column-gap: 10px;
	align-items: center;
	margin: 0 !important;
	padding: 14px 12px 14px 16px !important;
	background: none !important;
	border: 0 !important;
	font: 600 15px/1.25 Poppins, sans-serif !important;
	color: var(--nx-text) !important;
	text-transform: none !important;
	cursor: pointer;
	user-select: none;
}
.yith-wcan-filters.nx-ready .yith-wcan-filter.nx-open .filter-title {
	background: linear-gradient(180deg, var(--nx-red-soft), #fff) !important;
}
.yith-wcan-filters.nx-ready .filter-title .nx-ico {
	grid-row: 1;
	width: 30px; height: 30px;
	color: var(--nx-red);
}
.yith-wcan-filters.nx-ready .filter-title .nx-ico svg { width: 100%; height: 100%; display: block; }
.yith-wcan-filters.nx-ready .filter-title .nx-label { grid-column: 2; }
.yith-wcan-filters.nx-ready .filter-title .nx-sub {
	grid-column: 2 / 4;
	margin-top: 3px;
	font: 400 12px/1.35 Lato, sans-serif;
	color: var(--nx-muted);
}
/* YITH-eigene Pfeile ausblenden, eigener Chevron */
.yith-wcan-filters.nx-ready .filter-title.collapsable::after,
.yith-wcan-filters.nx-ready .filter-title.collapsable::before { display: none !important; }
.yith-wcan-filters.nx-ready .filter-title .nx-chev {
	grid-column: 3;
	grid-row: 1;
	width: 16px; height: 16px;
	color: var(--nx-text);
	transition: transform .25s ease, color .2s;
}
.yith-wcan-filters.nx-ready .filter-title.opened .nx-chev { transform: rotate(180deg); color: var(--nx-red); }
.yith-wcan-filters.nx-ready .filter-title:hover .nx-chev { color: var(--nx-red); }
.yith-wcan-filters.nx-ready .filter-title:focus-visible { outline: 2px solid var(--nx-red); outline-offset: -2px; }

/* ---------- Inhalt ---------------------------------------------------------- */
.yith-wcan-filters.nx-ready .yith-wcan-filter .filter-content { padding: 4px 10px 12px; }
.yith-wcan-filters.nx-ready .yith-wcan-filter fieldset { margin: 0; padding: 0; border: 0; min-width: 0; width: auto !important; }
.yith-wcan-filters.nx-ready .yith-wcan-filter legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.yith-wcan-filters.nx-ready .filter-items { margin: 0 !important; padding: 0 !important; list-style: none; }
.yith-wcan-filters.nx-ready .filter-items .filter-item {
	margin: 0 0 6px !important;
	padding: 0 !important;
	list-style: none;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item > label {
	display: flex !important;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	margin: 0;
	padding: 7px 8px 7px 10px;
	background: var(--nx-row);
	border: 1px solid var(--nx-row);
	border-radius: var(--nx-radius-sm);
	font: 500 14px/1.25 Lato, sans-serif;
	color: var(--nx-text);
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item > label:hover {
	background: #fff;
	border-color: var(--nx-red-line);
}
.yith-wcan-filters.nx-ready .filter-items .filter-item.active > label {
	background: var(--nx-red-soft);
	border-color: var(--nx-red);
}
.yith-wcan-filters.nx-ready .filter-items .filter-item.disabled > label { opacity: .45; cursor: not-allowed; }
.yith-wcan-filters.nx-ready .filter-items .filter-item .term-label {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
	color: inherit !important;
	text-decoration: none !important;
	font-weight: inherit;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item .item-count { color: var(--nx-muted); font-size: 12px; }

/* Checkbox */
.yith-wcan-filters.nx-ready .filter-items .filter-item input[type=checkbox] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 20px;
	width: 20px !important; height: 20px !important;
	margin: 0 !important;
	border: 1.6px solid #b9b9c1 !important;
	border-radius: 5px !important;
	background: #fff !important;
	display: grid;
	place-content: center;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item input[type=checkbox]::before {
	content: "";
	width: 11px; height: 11px;
	background: #fff;
	clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 69%);
	transform: scale(0);
	transition: transform .12s ease-out;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item input[type=checkbox]:checked {
	background: var(--nx-red) !important;
	border-color: var(--nx-red) !important;
}
.yith-wcan-filters.nx-ready .filter-items .filter-item input[type=checkbox]:checked::before { transform: scale(1); }
.yith-wcan-filters.nx-ready .filter-items .filter-item input[type=checkbox]:focus-visible { outline: 2px solid var(--nx-red); outline-offset: 2px; }
/* YITH zeichnet evtl. eigenes Checkbox-Element – ausblenden */
.yith-wcan-filters.nx-ready .checkbox-design .filter-item .checkboxbutton { display: contents; }
.yith-wcan-filters.nx-ready .checkbox-design .filter-item .checkboxbutton::before,
.yith-wcan-filters.nx-ready .checkbox-design .filter-item .checkboxbutton::after { display: none !important; }

/* Badge rechts (z. B. "10 GbE") */
.yith-wcan-filters.nx-ready .nx-badge {
	flex: 0 0 auto;
	padding: 2px 7px;
	background: #ececef;
	border-radius: 999px;
	font: 600 11px/1.3 Lato, sans-serif;
	color: #55555d;
	white-space: nowrap;
}
.yith-wcan-filters.nx-ready .filter-item.active .nx-badge { background: var(--nx-red); color: #fff; }

/* Hierarchische Unterpunkte */
.yith-wcan-filters.nx-ready .filter-items .filter-items { margin: 6px 0 0 18px !important; }

/* ---------- Tipp-Box -------------------------------------------------------- */
.yith-wcan-filters.nx-ready .nx-tip {
	display: flex;
	gap: 12px;
	margin-top: 12px;
	padding: 12px 14px;
	background: var(--nx-red-soft);
	border: 1px solid var(--nx-red-line);
	border-left: 3px solid var(--nx-red);
	border-radius: var(--nx-radius-sm);
}
.yith-wcan-filters.nx-ready .nx-tip__ico { flex: 0 0 26px; width: 26px; height: 26px; color: var(--nx-red); }
.yith-wcan-filters.nx-ready .nx-tip__ico svg { width: 100%; height: 100%; }
.yith-wcan-filters.nx-ready .nx-tip strong {
	display: block;
	margin-bottom: 2px;
	font: 600 13.5px/1.3 Poppins, sans-serif;
	color: var(--nx-red);
}
.yith-wcan-filters.nx-ready .nx-tip p {
	margin: 0;
	text-align: left;
	hyphens: auto;
	font: 400 12.5px/1.45 Lato, sans-serif;
	color: #4a4a52;
}

/* ---------- "Mehr anzeigen" / Reset-Buttons von YITH ---------------------- */
.yith-wcan-filters.nx-ready .show-more-link,
.yith-wcan-filters.nx-ready .yith-wcan-reset-filters {
	display: inline-block;
	margin-top: 6px;
	color: var(--nx-red) !important;
	font-weight: 600;
	font-size: 13px;
}
.yith-wcan-filters.nx-ready .yith-wcan-reset-filters,
.yith-wcan-filters.nx-ready .apply-filters {
	width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	text-align: center;
}
.yith-wcan-filters.nx-ready .apply-filters { background: var(--nx-red) !important; color: #fff !important; border: 0; }

/* ---------- Mobile (≤ 991px) ----------------------------------------------
   Bestehender Fehler auf der Live-Seite: YITH steht auf "Modal auf Mobilgeräten",
   die Filter liegen aber in der Flatsome-Sidebar, die mobil ausgeblendet ist →
   YITH-Button öffnet ein leeres Overlay, im Flatsome-Off-Canvas fehlen die Filter.
   Lösung: YITH-Button ausblenden, Filter normal im Flatsome-Off-Canvas anzeigen.
   (Sauberer zusätzlich: YITH → Einstellungen → "Modal auf Mobilgeräten" deaktivieren.) */
@media (max-width: 991px) {
	.yith-wcan-filters-opener { display: none !important; }
	#shop-sidebar .yith-wcan-filters.filters-modal {
		display: block !important;
		position: static !important;
		inset: auto !important;
		transform: none !important;
		width: auto !important; height: auto !important; max-height: none !important;
		overflow: visible !important;
		margin: 0 !important; padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		opacity: 1 !important; visibility: visible !important;
		z-index: auto !important;
	}
	#shop-sidebar .yith-wcan-filters.filters-modal .filters-container {
		margin: 0 !important; padding: 0 !important;
		height: auto !important; max-height: none !important;
		overflow: visible !important;
	}
	#shop-sidebar .yith-wcan-filters.filters-modal .mobile-only,
	#shop-sidebar .yith-wcan-filters.filters-modal .close-button,
	#shop-sidebar .yith-wcan-filters.filters-modal .main-modal-button,
	#shop-sidebar .yith-wcan-filters.filters-modal .filters-controls { display: none !important; }

	.yith-wcan-filters.nx-ready .filter-items .filter-item > label { min-height: 46px; } /* größere Touch-Ziele */
}

/* ---------- Produktkacheln: leere Flatsome-Werkzeugleiste ausblenden ---------
   Unter jedem Produktbild liegt eine Leiste (Quick-View/Warenkorb), die durch den
   Katalogmodus leer ist. Beim Hover/Antippen fährt sie als dunkler Balken ins Bild. */
.product-small .box-image .image-tools.grid-tools:not(:has(*)) { display: none !important; }

/* ---------- Breadcrumb als Pill-Leiste (CI-Rot) ---------------------------
   Start mit Haus-Symbol, rote Pfeile statt ">>", aktuelle Seite als roter Pill.
   Immer einzeilig: lange Zwischenstufen werden mit "…" gekürzt (voller Name als Tooltip).
   Mobil (≤ 849px, Flatsome "medium"): seitlich wischbar, springt ans Ende. */
.shop-page-title .woocommerce-breadcrumb.breadcrumbs {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px 6px;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 6px 8px 6px 8px;
	background: #fff;
	border: 1px solid var(--nx-red-line);
	border-radius: 999px;
	box-shadow: none;
	white-space: nowrap;
	font: 600 13px/1.3 Lato, sans-serif;
	color: var(--nx-text);
	text-transform: none;
	letter-spacing: 0;
}
.shop-page-title .woocommerce-breadcrumb a,
.shop-page-title .woocommerce-breadcrumb .nx-bc-current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.shop-page-title .woocommerce-breadcrumb a {
	flex: 0 1 auto;
	max-width: 230px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 400;
	color: var(--nx-muted) !important;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.shop-page-title .woocommerce-breadcrumb a:first-child { flex-shrink: 0; max-width: none; }
.shop-page-title .woocommerce-breadcrumb a:hover {
	background: var(--nx-red-soft);
	color: var(--nx-red) !important;
}
/* Haus-Symbol vor "Start" (rot) */
.shop-page-title .woocommerce-breadcrumb a:first-child::before {
	content: "";
	flex: 0 0 15px;
	width: 15px; height: 15px;
	background: var(--nx-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20h5v-6h4v6h5V9.5'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20h5v-6h4v6h5V9.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Pfeil statt ">>" (rot, dezent) */
.shop-page-title .woocommerce-breadcrumb .divider {
	flex: 0 0 12px;
	width: 12px; height: 12px;
	margin: 0;
	font-size: 0;
	opacity: .7;
	background: var(--nx-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* Aktuelle Seite als roter Pill: Kategorieseiten (Text, per JS in .nx-bc-current)
   bzw. Produktseiten (letzter Link = Kategorie des Produkts) */
.shop-page-title .woocommerce-breadcrumb .nx-bc-current,
.shop-page-title .woocommerce-breadcrumb a:last-child {
	flex-shrink: 0;
	max-width: none;
	font-weight: 700;
	color: var(--nx-red) !important;
	background: var(--nx-red-soft);
}
.shop-page-title .woocommerce-breadcrumb a:last-child:hover { background: #fbe3e4; }

@media (max-width: 849px) {
	.shop-page-title .woocommerce-breadcrumb.breadcrumbs {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		font-size: 12.5px;
	}
	.shop-page-title .woocommerce-breadcrumb.breadcrumbs::-webkit-scrollbar { display: none; }
	/* mobil nicht kürzen, stattdessen wischen */
	.shop-page-title .woocommerce-breadcrumb a,
	.shop-page-title .woocommerce-breadcrumb .divider { flex-shrink: 0; max-width: none; }
	/* weicher Rand links, wenn der Anfang aus dem Bild gescrollt ist */
	.shop-page-title .woocommerce-breadcrumb.nx-bc-scrolled {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px);
		        mask-image: linear-gradient(90deg, transparent 0, #000 28px);
	}
}


/* ==========================================================================
   NEOX Networks – Kategorie-Titel (Kopfkarte) + Call-to-Action ab Ebene 3
   ========================================================================== */

/* ---------- Kategorie-Titel als Kopfkarte ---------------------------------- */
.shop-container > .term-description.nx-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin: 0 0 18px;
	padding: 12px 16px 12px 18px;
	background: linear-gradient(90deg, #fdf1f1 0%, #fff 65%);
	border: 1px solid #f5c9cb;
	border-left: 4px solid #d71920;
	border-radius: 14px;
	text-align: left;
}
.nx-cat-head__main { min-width: 0; }
.shop-container .nx-cat-head .nx-cat-head__title {
	margin: 0;
	padding: 0;
	font: 600 17px/1.3 Poppins, sans-serif !important;
	letter-spacing: 0;
	text-transform: none;
	text-align: left !important;
	color: #1f1f23;
}
.shop-container .nx-cat-head .nx-cat-head__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	margin: 3px 0 0;
	font: 400 13px/1.4 Lato, sans-serif;
	color: #6b6b73;
	text-align: left;
}
.nx-cat-head__dot {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: #d71920;
	opacity: .6;
}
.shop-container .nx-cat-head .nx-cat-head__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1.5px solid #d71920;
	border-radius: 999px;
	background: #fff;
	color: #d71920 !important;
	font: 600 12.5px/1 Lato, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.shop-container .nx-cat-head .nx-cat-head__btn svg { width: 15px; height: 15px; }
.shop-container .nx-cat-head .nx-cat-head__btn:hover { background: #d71920; color: #fff !important; }

@media (max-width: 849px) {
	.shop-container > .term-description.nx-cat-head {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 14px 12px 16px;
	}
	.shop-container .nx-cat-head .nx-cat-head__title { font-size: 15.5px !important; }
	.shop-container .nx-cat-head .nx-cat-head__sub { font-size: 12.5px; }
}

/* ---------- Call-to-Action ab Ebene 3 ---------------------------------------
   Dunkle Karte mit rotem Schein und feinem Raster – greift die Bildsprache
   der Kategoriebilder (schwarz/rot) auf. */
.nx-cta {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px 24px;
	margin: 26px 0 10px;
	padding: 26px 28px;
	overflow: hidden;
	border-radius: 16px;
	color: #fff;
	background:
		radial-gradient(120% 140% at 100% 100%, rgba(215, 25, 32, .55) 0%, rgba(215, 25, 32, 0) 55%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 28px),
		linear-gradient(135deg, #141417 0%, #1f1f23 60%, #2a0c0e 100%);
	box-shadow: 0 10px 30px rgba(20, 20, 30, .18);
}
.nx-cta__icon {
	flex: 0 0 56px;
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #d71920;
	box-shadow: 0 0 0 6px rgba(215, 25, 32, .25);
	color: #fff;
}
.nx-cta__icon svg { width: 28px; height: 28px; }
.nx-cta__text { flex: 1; min-width: 0; }
.nx-cta p { text-align: left !important; hyphens: manual; }
.nx-cta .nx-cta__title {
	margin: 0 0 4px;
	font: 600 20px/1.25 Poppins, sans-serif;
	color: #fff;
}
.nx-cta .nx-cta__desc {
	margin: 0;
	font: 400 14px/1.5 Lato, sans-serif;
	color: rgba(255, 255, 255, .78);
}
.nx-cta__actions {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}
.nx-cta .nx-cta__btn,
.nx-cta .nx-cta__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 999px;
	font: 700 14px/1 Lato, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.nx-cta .nx-cta__btn { background: #d71920; color: #fff !important; }
.nx-cta .nx-cta__btn:hover { background: #fff; color: #d71920 !important; transform: translateY(-1px); }
.nx-cta .nx-cta__btn svg { width: 16px; height: 16px; transition: transform .15s; }
.nx-cta .nx-cta__btn:hover svg { transform: translateX(3px); }
.nx-cta .nx-cta__phone {
	border: 1.5px solid rgba(255, 255, 255, .35);
	color: #fff !important;
	font-weight: 600;
}
.nx-cta .nx-cta__phone svg { width: 16px; height: 16px; }
.nx-cta .nx-cta__phone:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

@media (max-width: 849px) {
	.nx-cta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
	.nx-cta__actions { width: 100%; }
	.nx-cta .nx-cta__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.nx-cta .nx-cta__btn, .nx-cta .nx-cta__btn svg { transition: none; }
}

/* ==========================================================================
   Suchleiste oben auf der Shop-Übersicht (/shop/, DE+EN) im Karten-Design (25.09.2026)
   FiboSearch-Shortcode [wcas-search-form] aus dem Seiteninhalt der Shop-Seite – Funktion unverändert.
   Breite = Produktraster darunter (links bündig mit der ersten Kachel).
   ========================================================================== */
/* leerer Absatz mit Hilfs-Rahmen aus dem Seiteninhalt */
body.post-type-archive-product .page-description > p:empty { display: none; }

body.post-type-archive-product .page-description .dgwt-wcas-search-wrapp {
	max-width: none !important; width: 100%; margin: 0 0 26px;
}
body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp {
	position: relative; background: #fff; border: 1px solid var(--nx-line, #e7e7ea);
	border-radius: 12px; padding: 0; box-shadow: var(--nx-shadow, 0 1px 2px rgba(20,20,30,.04), 0 4px 14px rgba(20,20,30,.05));
	transition: border-color .2s, box-shadow .2s;
}
body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp:focus-within {
	border-color: var(--nx-red, #d71920); box-shadow: 0 0 0 3px rgba(215, 25, 32, .12);
}
/* Lupe links, rot */
body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp::before {
	content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px;
	transform: translateY(-50%); background: var(--nx-red, #d71920); pointer-events: none; z-index: 2;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	border: 0 !important; background: transparent !important; box-shadow: none !important;
	height: 52px; padding: 0 190px 0 46px; font-size: 15px; border-radius: 12px; color: #1f1f23;
}
body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp input[type=search]::placeholder { color: #9a9aa2; font-style: italic; }
/* Suchen-Button: rot wie "Angebotsanfrage", innen rechts in der Leiste */
body.post-type-archive-product .page-description .dgwt-wcas-search-submit {
	position: absolute !important; top: 6px !important; right: 6px !important; bottom: 6px !important; left: auto !important;
	height: auto !important; min-height: 0 !important; width: auto !important; min-width: 0 !important;
	display: inline-flex !important; align-items: center; gap: 8px; padding: 0 18px !important; margin: 0 !important;
	background: var(--nx-red, #d71920) !important; color: #fff !important; border: 0 !important; border-radius: 9px !important;
	font-family: Poppins, sans-serif !important; font-weight: 600 !important; font-size: 13px !important;
	letter-spacing: .04em; text-transform: uppercase; line-height: 1 !important; text-shadow: none !important;
	box-shadow: 0 4px 12px rgba(215, 25, 32, .2); transition: background-color .2s;
}
body.post-type-archive-product .page-description .dgwt-wcas-search-submit:hover { background: var(--nx-red-dark, #a42629) !important; }
body.post-type-archive-product .page-description .dgwt-wcas-search-submit::before,
body.post-type-archive-product .page-description .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier { display: none !important; }
body.post-type-archive-product .page-description .dgwt-wcas-search-submit::after {
	content: ""; width: 15px; height: 15px; background: currentColor; position: static; border: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.post-type-archive-product .page-description .dgwt-wcas-preloader { right: 190px; }
/* Handy: nur der Pfeil im Button, damit das Eingabefeld Platz hat (Beschriftung bleibt für Screenreader) */
@media (max-width: 549px) {
	body.post-type-archive-product .page-description .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { padding-right: 64px; }
	body.post-type-archive-product .page-description .dgwt-wcas-search-submit { padding: 0 14px !important; font-size: 0 !important; gap: 0; }
	body.post-type-archive-product .page-description .dgwt-wcas-search-submit::after { width: 18px; height: 18px; }
	body.post-type-archive-product .page-description .dgwt-wcas-preloader { right: 64px; }
}


/* ==========================================================================
   Kategorie-Seiten ab Ebene 3 (Unterkategorien und Produkte) als Karten mit Rahmen (09.10.2026)
   Body-Klasse .nx-cat-deep = Produktkategorie mit mindestens einer Elternkategorie
   (Shop-Startseite und Hauptkategorien wie „NEOX NETWORKS“ bleiben unverändert).
   Gleicher Look wie „Ähnliche Produkte“ auf den Produktseiten.
   ========================================================================== */
body.nx-cat-deep {
	--nx-red: #d71920;
	--nx-red-line: #f5c9cb;
	--nx-text: #1f1f23;
	--nx-muted: #6b6b73;
	--nx-line: #e7e7ea;
	--nx-radius: 14px;
	--nx-shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 4px 14px rgba(20, 20, 30, .05);
	--nx-shadow-hover: 0 2px 4px rgba(20, 20, 30, .05), 0 10px 26px rgba(20, 20, 30, .09);
}

.nx-cat-deep .products > .col > .col-inner {
	/* gleich hohe Karten: Flatsome gleicht die Texthöhen je Reihe an (equalize-box) */
	width: 100%; position: relative; overflow: hidden;
	background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.nx-cat-deep .products > .col > .col-inner:hover {
	box-shadow: var(--nx-shadow-hover); transform: translateY(-2px); border-color: var(--nx-red-line);
}
.nx-cat-deep .products .box-image { padding: 14px 14px 0; background: #fff; width: auto !important; max-width: 100%; box-sizing: border-box;
	height: auto !important; /* Flatsome-Zusatz-CSS setzt .box-image fest auf 320px Höhe / 250px Breite */
}
.nx-cat-deep .products .box-image .image-none,
.nx-cat-deep .products .box-image img { width: 100% !important; height: auto; }
@media (max-width: 549px) {
	.nx-cat-deep .products .box-image { padding: 10px 10px 0; }
	.nx-cat-deep .products .product-small .box-text,
	.nx-cat-deep .products .product-category .box-text { padding: 10px 10px 14px; }
}
.nx-cat-deep .products .box-image img { border-radius: 8px; }

/* Ebene 3: Unterkategorien */
.nx-cat-deep .products .product-category .box-text { padding: 10px 16px 18px; height: auto !important; }
.nx-cat-deep .products .product-category .header-title {
	margin: 0; font-family: Poppins, sans-serif; font-weight: 600; font-size: 13px; line-height: 1.4;
	letter-spacing: .03em; color: var(--nx-text); transition: color .2s;
}
.nx-cat-deep .products .product-category .header-title::after {
	content: ""; display: block; width: 32px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--nx-red);
}
.nx-cat-deep .products .product-category .col-inner:hover .header-title { color: var(--nx-red); }
.nx-cat-deep .products .product-category .count { display: none; }

/* Ebene 4: Produkte */
.nx-cat-deep .products .product-small .box-text { padding: 12px 14px 16px; }
.nx-cat-deep .products .product-small .product-cat { color: var(--nx-muted); opacity: 1; letter-spacing: .03em; }
.nx-cat-deep .products .product-small .name.product-title,
.nx-cat-deep .products .product-small .name.product-title a {
	font-family: Poppins, sans-serif; font-weight: 500; font-size: 13px; line-height: 1.4; color: var(--nx-text);
	transition: color .2s;
}
.nx-cat-deep .products .product-small .col-inner:hover .name.product-title a { color: var(--nx-red); }

/* Siegel/Schloss in die Karte rücken (sonst vom runden Rand abgeschnitten) */
.nx-cat-deep .products .badge-container { top: 12px !important; left: 12px !important; margin: 0 !important; }
.nx-cat-deep .products .badge-container .badge { margin-left: 0 !important; }

@media (prefers-reduced-motion: reduce) {
	.nx-cat-deep .products > .col > .col-inner { transition: none; }
	.nx-cat-deep .products > .col > .col-inner:hover { transform: none; }
}

/* Kompaktere Karten: Bildbereich im Querformat statt hochkant (die Shop-Bilder sind 247×296 mit viel
   Weißraum oben/unten) – das Bild wird mittig eingepasst, abgeschnitten wird nur leerer Rand. */
.nx-cat-deep .products .box-image .image-none,
.nx-cat-deep .products .product-category .box-image { overflow: hidden; }
.nx-cat-deep .products .product-small .box-image .image-none > a { display: block; aspect-ratio: 5 / 4; }
.nx-cat-deep .products .product-category .box-image { aspect-ratio: auto; }
.nx-cat-deep .products .product-category .box-image img { aspect-ratio: 1 / 1; }
.nx-cat-deep .products .product-small .box-image img,
.nx-cat-deep .products .product-category .box-image img {
	display: block; height: 100% !important; object-fit: cover; object-position: center;
}
.nx-cat-deep .products .product-small .box-image img { aspect-ratio: 5 / 4; }
.nx-cat-deep .products .product-small .box-text,
.nx-cat-deep .products .product-category .box-text { padding-top: 8px; }
