/* ==========================================================================
   3D Partner — Shop- & Kategorie-Übersicht (Option B: Fachhandel-Sidebar)
   Scoped auf body.p3d-shop-archive gemäß Designrichtlinie v2.5.0.
   ========================================================================== */

body.p3d-shop-archive #content {
	max-width: calc(var(--p3d-container-max, 1400px) + 10%);
}

body.p3d-shop-archive #content #primary.content-area {
	width: 100%;
	max-width: 100%;
	float: none;
	margin: 0;
	padding: 0;
	display: block;
}

body.p3d-shop-archive #main {
	overflow-x: clip;
	width: 100%;
}

body.p3d-shop-archive #atomion-breadcrumbs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin: 8px 0 16px;
	padding: 0;
	overflow: hidden;
}

body.p3d-shop-archive #atomion-breadcrumbs li {
	flex: 0 0 auto;
	margin: 0;
}

body.p3d-shop-archive #atomion-breadcrumbs li.item-current {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

body.p3d-shop-archive #atomion-breadcrumbs li.item-current span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.p3d-shop-archive .p3ds {
	--p3ds-navy: #12367d;
	--p3ds-navy-hover: #0b2559;
	--p3ds-blue: #0072b5;
	--p3ds-blue-tint: #eef4ff;
	--p3ds-surface: #f7f9fc;
	--p3ds-border: #d5dde6;
	--p3ds-text: #334155;
	--p3ds-heading: #12367d;
	--p3ds-muted: #525f70;
	--p3ds-accent: var(--p3d-accent, #f59e0b);
	--p3ds-accent-hover: var(--p3d-accent-hover, #d97706);
	--p3ds-accent-line: var(--p3d-accent-line, #d97706);
	--p3ds-accent-fg: var(--p3d-accent-fg, #1a202c);
	--p3ds-green: #0b7a4e;
	--p3ds-green-tint: #ecfdf5;
	color: var(--p3ds-text);
	font-size: 0.96875rem;
	line-height: 1.55;
	padding-bottom: 48px;
}

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

.p3ds :focus-visible {
	outline: 3px solid var(--p3ds-accent-line);
	outline-offset: 2px;
}

/* 1. Full-Bleed Surface Helper */
.p3ds-voll {
	position: relative;
	isolation: isolate;
}

.p3ds-voll::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	z-index: -1;
	pointer-events: none;
}

.p3ds-voll--surface::before {
	background: var(--p3ds-surface);
	border-top: 1px solid var(--p3ds-border);
	border-bottom: 1px solid var(--p3ds-border);
}

/* 2. Hero Band (H1 + Intro + FiboSearch) */
.p3ds-hero {
	padding: 32px 0;
	margin-bottom: 32px;
}

.p3ds-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.p3ds-kicker {
	display: inline-block;
	margin: 0 0 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--p3ds-blue);
	font-variant-numeric: tabular-nums;
}

.p3ds h1 {
	font-family: "Space Grotesk", Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 2.4vw, 2.375rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--p3ds-navy);
	text-wrap: balance;
	margin: 0;
	max-width: 26ch;
}

.p3ds h1::before,
.p3ds .p3ds-search-title::before,
.p3ds .p3ds-help-title::before {
	content: none !important;
}

.p3ds h1::after {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	background: var(--p3ds-accent);
	margin-top: 12px;
}

.p3ds-lead {
	margin: 14px 0 0;
	max-width: 56ch;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--p3ds-text);
}

.p3ds-hero-side {
	background: #ffffff;
	border: 1px solid var(--p3ds-border);
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 16px rgba(18, 54, 125, 0.06);
}

.p3ds-search-title {
	margin: 0 0 10px;
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: var(--p3ds-navy);
}

.p3ds-search-title::after {
	content: none !important;
	display: none !important;
}

.p3ds-search-slot .dgwt-wcas-search-wrapp {
	max-width: 100% !important;
	margin: 0 !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp {
	background: #ffffff !important;
	border-radius: 8px !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	min-height: 44px;
	height: 44px;
	padding: 8px 96px 8px 14px !important;
	border-radius: 8px !important;
	border: 1.5px solid #cbd5e1 !important;
	background: #ffffff !important;
	font-size: 0.9375rem !important;
	color: #1a202c !important;
	box-shadow: none !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	border-color: var(--p3ds-blue) !important;
	box-shadow: 0 0 0 3px rgba(0, 114, 181, 0.14) !important;
}

.p3ds-search-slot .dgwt-wcas-preloader {
	right: 96px !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit,
.p3ds-search-slot .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	background-color: var(--p3ds-navy) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 0 8px 8px 0 !important;
	padding: 0 18px !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	text-transform: none !important;
	text-shadow: none !important;
	min-height: 44px !important;
	height: 44px !important;
	opacity: 1 !important;
	box-shadow: none !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before,
.p3ds-search-slot .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
	content: none !important;
	display: none !important;
}

.p3ds-search-slot .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover,
.p3ds-search-slot .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:focus-visible,
.p3ds-search-slot .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover,
.p3ds-search-slot .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus-visible {
	background-color: var(--p3ds-navy-hover) !important;
	color: #ffffff !important;
	opacity: 1 !important;
}

.p3ds-fallback-search {
	display: flex;
	gap: 8px;
}

.p3ds-fallback-search input {
	flex: 1 1 auto;
	min-height: 44px;
	padding: 8px 12px;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.9375rem;
}

.p3ds-fallback-search button {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 8px;
	background: var(--p3ds-navy);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.p3ds-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--p3ds-green);
}

.p3ds-hero-trust li::before {
	content: "✓ ";
	font-weight: 700;
}

/* 3. Three-Column Layout Shell (Filter Sidebar + Catalog + Service Rail) */
.p3ds-shell {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr) 248px;
	gap: 22px;
	align-items: start;
}

.p3ds-sidebar {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.p3ds-filter-toggle {
	display: none;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--p3ds-border);
	border-radius: 10px;
	background: var(--p3ds-surface);
	color: var(--p3ds-navy);
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}

.p3ds-filter-active-dot {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--p3ds-accent);
	color: var(--p3ds-accent-fg);
	font-size: 0.75rem;
	font-weight: 700;
}

.p3ds-sidebar-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.p3ds-all-link-wrap {
	margin: 0;
}

.p3ds-all-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	border-radius: 10px;
	border: 1px solid var(--p3ds-border);
	background: #ffffff;
	color: var(--p3ds-navy);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.p3ds-all-link:hover {
	background: var(--p3ds-surface);
	border-color: var(--p3ds-blue);
}

.p3ds-all-link[aria-current="page"] {
	background: var(--p3ds-navy);
	border-color: var(--p3ds-navy);
	color: #ffffff;
}

.p3ds-all-link .count {
	font-size: 0.8125rem;
	opacity: 0.82;
}

/* Native Classic WC Widgets */
.p3ds-sidebar section.widget {
	float: none !important;
	width: 100%;
	margin: 0 !important;
	padding: 12px 14px !important;
	background: var(--p3ds-surface);
	border: 1px solid var(--p3ds-border) !important;
	border-radius: 10px;
}

.p3ds-sidebar section.widget.is-collapsed {
	padding: 10px 14px !important;
}

.p3ds-sidebar .widget-title {
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--p3ds-navy);
	margin: 0 0 8px !important;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--p3ds-border);
}

.p3ds-sidebar section.widget.is-collapsed .widget-title {
	margin-bottom: 0 !important;
	padding-bottom: 0;
	border-bottom-color: transparent;
}

.p3ds-sidebar .widget-title:has(> .p3ds-widget-toggle) {
	padding-bottom: 0;
}

.p3ds-sidebar .p3ds-widget-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0 0 6px;
	border: 0;
	background: transparent !important;
	color: inherit !important;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: left;
	box-shadow: none !important;
	cursor: pointer;
}

.p3ds-sidebar section.widget.is-collapsed .p3ds-widget-toggle {
	padding-bottom: 0;
}

.p3ds-sidebar .p3ds-widget-toggle:hover,
.p3ds-sidebar .p3ds-widget-toggle:focus-visible {
	color: var(--p3ds-blue) !important;
	background: transparent !important;
}

.p3ds-sidebar .p3ds-widget-toggle:focus-visible {
	outline: 2px solid var(--p3ds-blue);
	outline-offset: 2px;
	border-radius: 4px;
}

.p3ds-sidebar .p3ds-widget-chevron {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-right: 2px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: rotate(-135deg) translateY(-1px);
	transition: transform 0.16s ease;
}

.p3ds-sidebar section.widget.is-collapsed .p3ds-widget-chevron {
	transform: rotate(45deg) translateY(-2px);
}

.p3ds-sidebar .p3ds-widget-body[hidden] {
	display: none !important;
}

.p3ds-sidebar .widget_product_categories ul.product-categories,
.p3ds-sidebar .woocommerce-widget-layered-nav ul.woocommerce-widget-layered-nav-list,
.p3ds-sidebar .widget_layered_nav_filters ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.p3ds-sidebar .widget_product_categories li.cat-item a,
.p3ds-sidebar .woocommerce-widget-layered-nav li.wc-layered-nav-term a {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	padding: 3px 6px;
	border-radius: 6px;
	font-size: 0.8125rem;
	line-height: 1.28;
	color: var(--p3ds-text);
	text-decoration: none;
	text-transform: none !important;
}

.p3ds-sidebar .widget_product_categories li.cat-item a::after,
.p3ds-sidebar .woocommerce-widget-layered-nav li.wc-layered-nav-term a::after {
	content: none !important;
	display: none !important;
}

.p3ds-sidebar .widget_product_categories li.cat-item,
.p3ds-sidebar .woocommerce-widget-layered-nav li.wc-layered-nav-term {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.p3ds-sidebar .widget_product_categories li.cat-item a:hover,
.p3ds-sidebar .woocommerce-widget-layered-nav li.wc-layered-nav-term a:hover {
	background: #ffffff;
	color: var(--p3ds-navy);
}

.p3ds-sidebar .widget_product_categories li.current-cat > a,
.p3ds-sidebar .widget_product_categories li.current-cat-parent > a {
	background: var(--p3ds-navy);
	color: #ffffff;
	font-weight: 700;
}

.p3ds-sidebar .widget_product_categories li.current-cat > .count,
.p3ds-sidebar .widget_product_categories li.current-cat-parent > .count {
	color: var(--p3ds-navy);
	font-weight: 700;
}

.p3ds-sidebar .widget_product_categories .count,
.p3ds-sidebar .woocommerce-widget-layered-nav .count {
	font-size: 0.75rem;
	color: var(--p3ds-muted);
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

/* Attribute Checkbox Appearance */
.p3ds-sidebar .woocommerce-widget-layered-nav li.wc-layered-nav-term a::before {
	content: "";
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	border-radius: 4px;
	border: 1.5px solid #94a3b8;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.p3ds-sidebar .woocommerce-widget-layered-nav li.chosen a {
	font-weight: 700;
	color: var(--p3ds-navy);
}

.p3ds-sidebar .woocommerce-widget-layered-nav li.chosen a::before {
	content: "✓";
	border-color: var(--p3ds-navy);
	background: var(--p3ds-navy);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

/* Active Filters Chips */
.p3ds-sidebar .widget_layered_nav_filters ul {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
}

.p3ds-sidebar .widget_layered_nav_filters li.chosen a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--p3ds-blue-tint);
	border: 1px solid #bfdbfe;
	color: var(--p3ds-navy);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
}

.p3ds-sidebar .widget_layered_nav_filters li.chosen a::before {
	content: "×";
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

/* Classic Price Filter Widget */
.p3ds-sidebar .widget_price_filter .price_slider_wrapper .ui-widget-content {
	height: 6px;
	border-radius: 999px;
	background: #dbe3ee;
	border: 0;
	margin: 8px 6px 14px;
}

.p3ds-sidebar .widget_price_filter .ui-slider .ui-slider-range {
	background: var(--p3ds-blue);
	border-radius: 999px;
}

.p3ds-sidebar .widget_price_filter .ui-slider .ui-slider-handle {
	width: 18px;
	height: 18px;
	top: -6px;
	margin-left: -9px;
	border-radius: 50%;
	background: var(--p3ds-navy);
	border: 2px solid #ffffff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
	cursor: pointer;
}

.p3ds-sidebar .widget_price_filter .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}

body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_label {
	color: var(--p3ds-text);
	font-weight: 600;
}

body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount button.button,
body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount .button {
	min-height: 34px !important;
	padding: 5px 14px !important;
	border-radius: 8px !important;
	background-color: #ffffff !important;
	color: var(--p3ds-navy) !important;
	border: 1.5px solid var(--p3ds-navy) !important;
	font-size: 0.8125rem !important;
	font-weight: 700 !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount button.button:hover,
body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount button.button:focus-visible,
body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount .button:hover,
body.p3d-shop-archive .p3ds-sidebar .widget_price_filter .price_slider_amount .button:focus-visible {
	background-color: var(--p3ds-blue-tint) !important;
	border-color: var(--p3ds-navy) !important;
	color: var(--p3ds-navy) !important;
	outline: none;
}

/* Right Service Rail (Reparatur + Versicherung) */
.p3ds-service-rail {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.p3ds-help-card {
	background: var(--p3ds-blue-tint);
	border: 1px solid #bfdbfe;
	border-top: 3px solid var(--p3ds-navy);
	border-radius: 10px;
	padding: 16px;
}

.p3ds-help-title {
	margin: 0 0 6px;
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--p3ds-navy);
}

.p3ds-help-title::after {
	content: none !important;
	display: none !important;
}

.p3ds-help-copy {
	margin: 0 0 12px;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--p3ds-text);
}

.p3ds-help-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.p3d-shop-archive a.p3ds-help-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 8px;
	background-color: var(--p3ds-accent);
	border: 1.5px solid var(--p3ds-accent);
	color: var(--p3ds-accent-fg) !important;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.p3d-shop-archive a.p3ds-help-btn:hover,
body.p3d-shop-archive a.p3ds-help-btn:focus-visible {
	background-color: var(--p3ds-accent-hover);
	border-color: var(--p3ds-accent-hover);
	color: var(--p3ds-accent-fg) !important;
}

.p3ds-help-link {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--p3ds-blue);
	text-decoration: none;
}

.p3ds-help-link:hover {
	text-decoration: underline;
}

/* Versicherung Card */
.p3ds-ins-card {
	background: #ffffff;
	border: 1px solid var(--p3ds-border);
	border-top: 3px solid var(--p3ds-green);
	border-radius: 10px;
	padding: 16px;
}

.p3ds-ins-badge {
	display: inline-block;
	margin-bottom: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--p3ds-green-tint);
	border: 1px solid #a7f3d0;
	color: var(--p3ds-green);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.p3ds-ins-title {
	margin: 0 0 6px;
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--p3ds-navy);
}

.p3ds-ins-title::after {
	content: none !important;
	display: none !important;
}

.p3ds-ins-copy {
	margin: 0 0 12px;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--p3ds-text);
}

body.p3d-shop-archive a.p3ds-ins-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 8px;
	background-color: var(--p3ds-green);
	border: 1.5px solid var(--p3ds-green);
	color: #ffffff !important;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.p3d-shop-archive a.p3ds-ins-btn:hover,
body.p3d-shop-archive a.p3ds-ins-btn:focus-visible {
	background-color: #095f3d;
	border-color: #095f3d;
	color: #ffffff !important;
}

/* 4. Catalog Toolbar (Result Count + Sort + WPPP) */
.p3ds-notices {
	margin-bottom: 16px;
}

.p3ds-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	margin-bottom: 20px;
	background: var(--p3ds-surface);
	border: 1px solid var(--p3ds-border);
	border-radius: 10px;
}

.p3ds-toolbar .woocommerce-result-count {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
	order: 1;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--p3ds-muted);
	font-variant-numeric: tabular-nums;
}

.p3ds-toolbar form.woocommerce-ordering {
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	float: none !important;
	width: auto !important;
}

.p3ds-toolbar form.woocommerce-ordering:not(.atomion-select-ppp) {
	order: 2;
	margin-left: auto !important;
}

.p3ds-toolbar form.atomion-select-ppp {
	order: 3;
	display: flex;
	align-items: center;
	gap: 6px;
}

body.p3d-shop-archive .p3ds-toolbar select.orderby,
body.p3d-shop-archive .p3ds-toolbar select.wppp-select {
	min-height: 40px;
	width: auto;
	max-width: 100%;
	padding: 8px 40px 8px 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	background-color: #ffffff !important;
	background-position: right 12px center !important;
	color: #1a202c !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	line-height: 1.3 !important;
	cursor: pointer;
}

body.p3d-shop-archive .p3ds-toolbar select.orderby {
	min-width: 220px;
}

.p3ds-toolbar .atomion-select-ppp ul.wppp-list,
.p3ds-toolbar form.atomion-select-ppp a {
	min-width: 40px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* 5. Product Grid (CLS-Safe Explicit CSS Grid) */
body.p3d-shop-archive #content .p3ds-catalog ul.products,
body.p3d-shop-archive .p3ds-catalog ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 18px !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products::before,
body.p3d-shop-archive .p3ds-catalog ul.products::after {
	content: none !important;
	display: none !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.product.p3ds-card {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--p3ds-border);
	border-radius: 10px;
	overflow: hidden;
	text-align: left !important;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.product.p3ds-card:hover {
	border-color: var(--p3ds-blue);
	box-shadow: 0 8px 22px rgba(18, 54, 125, 0.08);
	transform: translateY(-2px);
}

/* Card Media */
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .product-image-wrapper.p3ds-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--p3ds-surface);
	border-bottom: 1px solid #e2e8f0;
	overflow: hidden;
	line-height: 1;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .product-image-wrapper.p3ds-card-media::before {
	display: none !important;
	content: none !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .product-image-wrapper a.atomion-product-image {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 14px;
	background: transparent !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .product-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: none !important;
	opacity: 1 !important;
	margin: 0 !important;
	transition: transform 0.2s ease;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card:hover .product-image-wrapper img {
	transform: scale(1.03) !important;
	opacity: 1 !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .onsale {
	position: absolute;
	top: 8px;
	right: 8px;
	left: auto;
	z-index: 12;
	margin: 0 !important;
	padding: 4px 8px;
	border-radius: 4px;
	background: #c41e32;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
}

/* Card Body */
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .site-product-meta.p3ds-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 12px 14px 14px;
	text-align: left !important;
}

.p3ds-card-cat {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--p3ds-blue);
	margin-bottom: 4px;
	line-height: 1.3;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card h2.woocommerce-loop-product__title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 0.96875rem !important;
	font-weight: 700;
	line-height: 1.32;
	color: var(--p3ds-navy);
	text-align: left !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.64em;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card h2.woocommerce-loop-product__title:hover {
	color: var(--p3ds-blue);
}

.p3ds-card-compat {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 10px;
}

.p3ds-compat-pill {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 4px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.35;
}

.p3ds-card-footer {
	margin-top: auto;
	padding-top: 8px;
}

/* Price & PAngV */
.p3ds-card-price {
	margin-bottom: 10px;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card span.price {
	display: block;
	margin: 0 0 4px !important;
	font-family: "Space Grotesk", Arial, sans-serif;
	font-size: 1.15rem !important;
	font-weight: 700;
	color: var(--p3ds-navy) !important;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .wgm-info,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .woocommerce-de_price_taxrate {
	display: block;
	font-size: 0.72rem !important;
	line-height: 1.35;
	color: var(--p3ds-muted);
	margin: 0 0 2px;
}

/* Bottom CTA Button (Overrides Parent Overlay Button Rules) */
.p3ds-card-cta {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.button,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta button.button {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 44px;
	padding: 10px 14px !important;
	border-radius: 8px !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
	animation: none !important;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.add_to_cart_button.product_type_simple {
	background-color: var(--p3ds-accent) !important;
	border: 1.5px solid var(--p3ds-accent) !important;
	color: var(--p3ds-accent-fg) !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.add_to_cart_button.product_type_simple:hover,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.add_to_cart_button.product_type_simple:focus-visible {
	background-color: var(--p3ds-accent-hover) !important;
	border-color: var(--p3ds-accent-hover) !important;
	color: var(--p3ds-accent-fg) !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.product_type_variable,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.product_type_grouped,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.product_type_external {
	background-color: #ffffff !important;
	border: 1.5px solid var(--p3ds-navy) !important;
	color: var(--p3ds-navy) !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.product_type_variable:hover,
body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.product_type_variable:focus-visible {
	background-color: var(--p3ds-navy) !important;
	color: #ffffff !important;
}

body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.added_to_cart.wc-forward {
	position: static !important;
	display: block !important;
	text-align: center;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--p3ds-green) !important;
	background: var(--p3ds-green-tint) !important;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	padding: 6px 10px;
	animation: none !important;
}

/* 6. Pagination & Empty State */
.p3ds-pagination {
	margin-top: 28px;
}

.p3ds-pagination nav.woocommerce-pagination {
	display: flex;
	justify-content: center;
}

.p3ds-pagination nav.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li {
	border: 0;
	margin: 0;
}

.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li a,
.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--p3ds-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--p3ds-navy);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li span.current {
	background: var(--p3ds-navy);
	border-color: var(--p3ds-navy);
	color: #ffffff;
}

.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li a:hover {
	background: var(--p3ds-surface);
	border-color: var(--p3ds-blue);
}

.p3ds-empty {
	background: var(--p3ds-surface);
	border: 1px solid var(--p3ds-border);
	border-radius: 12px;
	padding: 28px 24px;
}

.p3ds-empty-actions {
	margin: 14px 0 0;
}

.p3ds-reset-btn {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--p3ds-navy);
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none;
}

/* 7. Responsive Breakpoints (3-Column Desktop / Laptop / Tablet / Mobile) */
@media (min-width: 1025px) {
	.p3ds-sidebar {
		position: sticky;
		top: calc(var(--atomion-sticky-offset, 75px) + 16px);
	}
}

@media (min-width: 1280px) {
	.p3ds-service-rail {
		position: sticky;
		top: calc(var(--atomion-sticky-offset, 75px) + 16px);
	}
}

@media (min-width: 1280px) and (max-width: 1559px) {
	.p3ds-shell {
		grid-template-columns: 224px minmax(0, 1fr) 228px;
		gap: 16px;
	}

	body.p3d-shop-archive #content .p3ds-catalog ul.products,
	body.p3d-shop-archive .p3ds-catalog ul.products {
		gap: 14px !important;
	}

	.p3ds-toolbar {
		padding: 10px 12px;
		gap: 8px;
	}

	.p3ds-toolbar .woocommerce-result-count {
		font-size: 0.8125rem;
	}

	body.p3d-shop-archive .p3ds-toolbar select.orderby {
		min-width: 205px;
	}
}

@media (min-width: 1025px) and (max-width: 1279px) {
	.p3ds-shell {
		grid-template-columns: 236px minmax(0, 1fr);
		gap: 20px;
	}

	.p3ds-service-rail {
		grid-column: 1 / -1;
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 1024px) {
	.p3ds-hero-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.p3ds-shell {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.p3ds-service-rail {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.p3ds-filter-toggle {
		display: flex;
	}

	.p3ds-sidebar-panel {
		display: none;
	}

	.p3ds-sidebar-panel.is-open {
		display: flex;
	}

	body.p3d-shop-archive #content .p3ds-catalog ul.products,
	body.p3d-shop-archive .p3ds-catalog ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}
}

@media (max-width: 768px) {
	.p3ds-hero {
		padding: 24px 0;
		margin-bottom: 20px;
	}

	.p3ds-service-rail {
		grid-template-columns: 1fr;
	}

	.p3ds-toolbar {
		padding: 12px;
		gap: 10px;
	}

	.p3ds-toolbar .woocommerce-result-count {
		width: 100% !important;
	}

	.p3ds-toolbar form.woocommerce-ordering:not(.atomion-select-ppp) {
		margin-left: 0 !important;
		flex: 1 1 180px;
	}

	body.p3d-shop-archive .p3ds-toolbar select.orderby,
	body.p3d-shop-archive .p3ds-toolbar select.wppp-select {
		width: 100% !important;
		min-width: 0;
		min-height: 44px;
	}

	.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li a,
	.p3ds-pagination nav.woocommerce-pagination ul.page-numbers li span {
		min-width: 48px;
		min-height: 48px;
	}
}

@media (max-width: 480px) {
	body.p3d-shop-archive #content .p3ds-catalog ul.products,
	body.p3d-shop-archive .p3ds-catalog ul.products {
		gap: 10px !important;
	}

	body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .site-product-meta.p3ds-card-body {
		padding: 10px 10px 12px;
	}

	body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card h2.woocommerce-loop-product__title {
		font-size: 0.875rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.p3d-shop-archive .p3ds-catalog ul.products li.product.p3ds-card,
	body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .product-image-wrapper img,
	body.p3d-shop-archive .p3ds-catalog ul.products li.p3ds-card .p3ds-card-cta a.button,
	.p3ds-sidebar .p3ds-widget-chevron {
		transition: none;
	}
}
