/* ============================================================================
   Divi Child WooCommerce UI
   Clean shop, category, and single-product styling
   ============================================================================ */

:root {
	--shop-bg: #f5f7fb;
	--shop-surface: #ffffff;
	--shop-surface-soft: #f0f4fa;
	--shop-border: rgba(19, 48, 86, 0.14);
	--shop-border-strong: rgba(19, 48, 86, 0.24);
	--shop-text: #13233a;
	--shop-text-muted: #5c6d84;
	--shop-text-soft: #8a97aa;
	--shop-accent: #163863;
	--shop-accent-2: #cd2230;
	--shop-accent-3: #f1a72a;
	--shop-success: #10753d;
	--shop-warning: #cc7b12;
	--shop-danger: #cd2230;
	--shop-shadow-sm: 0 10px 28px rgba(19, 48, 86, 0.08);
	--shop-shadow-md: 0 18px 42px rgba(19, 48, 86, 0.14);
	--shop-shadow-lg: 0 34px 74px rgba(19, 48, 86, 0.18);
	--shop-radius-sm: 14px;
	--shop-radius-md: 20px;
	--shop-radius-lg: 28px;
	--shop-gap: 24px;
	--shop-gap-lg: 32px;
	--shop-sidebar-width: 300px;
	--shop-sticky-top: 28px;
	--shop-grid-columns: 3;
	--shop-card-ratio: 1 / 1;
	--shop-transition-fast: 150ms cubic-bezier(0.2, 0, 0, 1);
	--shop-transition-base: 240ms cubic-bezier(0.2, 0, 0, 1);
	--shop-transition-slow: 360ms cubic-bezier(0.2, 0, 0, 1);
	--shop-focus-ring: 0 0 0 3px rgba(205, 34, 48, 0.2);
	--shop-container: 1420px;
	--shop-control-height: 46px;
	--shop-filter-chip: #ebf1f8;
	--shop-filter-chip-hover: #dfe8f2;
	--shop-card-hover: translateY(-4px);
	--shop-list-image-width: 240px;
	color-scheme: light;
}

/* ============================================================================
   Hide Product Pricing (Request-to-Quote Products)
   ============================================================================ */

.custom-single-product .woocommerce-product-rating,
.custom-single-product .price,
.custom-single-product .woocommerce-variation-price {
	display: none !important;
}

/* ============================================================================
   WooCommerce Notices Styling
   ============================================================================ */

.woocommerce-notices-wrapper {
	margin: 0 0 24px 0;
	padding: 0;
	display: flow-root;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-notice {
	margin: 0 0 16px 0;
	padding: 14px 16px;
	border-radius: var(--shop-radius-sm);
	border: 1px solid var(--shop-border);
	background-color: var(--shop-surface-soft);
	color: var(--shop-text);
	font-size: 0.95rem;
	line-height: 1.5;
}

.woocommerce-message {
	border-left: 4px solid var(--shop-success);
	background-color: rgba(16, 117, 61, 0.05);
}

.woocommerce-info {
	border-left: 4px solid #0073aa;
	background-color: rgba(0, 115, 170, 0.05);
}

.woocommerce-notice {
	border-left: 4px solid var(--shop-warning);
	background-color: rgba(204, 123, 18, 0.05);
}

/* ============================================================================
   Global shell
   ============================================================================ */

body.modern-shop {
	background:
		radial-gradient(circle at 0% 0%, rgba(205, 34, 48, 0.06), transparent 30%),
		radial-gradient(circle at 100% 0%, rgba(241, 167, 42, 0.07), transparent 26%),
		var(--shop-bg);
	color: var(--shop-text);
	font-family: "Poppins", "Segoe UI", "Trebuchet MS", sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.55;
}

body.modern-shop *,
body.modern-shop *::before,
body.modern-shop *::after {
	box-sizing: border-box;
}

body.modern-shop a {
	color: inherit;
	text-decoration: none;
	transition: color var(--shop-transition-fast), opacity var(--shop-transition-fast), transform var(--shop-transition-fast);
}

body.modern-shop img {
	display: block;
	max-width: 100%;
	height: auto;
}

body.modern-shop button,
body.modern-shop input,
body.modern-shop select,
body.modern-shop textarea {
	font: inherit;
}

.custom-shop-page,
.custom-category-page,
.custom-single-product-page {
	width: 100%;
	padding: clamp(18px, 2.2vw, 30px);
	background: transparent;
}

.custom-shop-shell {
	max-width: var(--shop-container);
	margin: 0 auto;
}

.custom-shop-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--shop-sidebar-width)) minmax(0, 1fr);
	gap: var(--shop-gap-lg);
	align-items: start;
}

.custom-shop-content,
.custom-shop-sidebar,
.custom-shop-hero,
.custom-category-hero,
.category-banner,
.single-product-hero,
.single-product-layout,
.single-product-details-grid,
.single-product-related-section {
	min-width: 0;
}

/* ============================================================================
   Breadcrumbs and archive hero
   ============================================================================ */

.custom-shop-hero,
.custom-category-hero {
	display: grid;
	gap: 16px;
	margin-bottom: 24px;
}

.custom-shop-hero__breadcrumbs,
.custom-category-hero__breadcrumbs,
.single-product-hero__breadcrumbs {
	font-size: 0.9rem;
	color: var(--shop-text-muted);
}

body.modern-shop .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	font-size: 0.92rem;
	color: var(--shop-text-muted);
}

body.modern-shop .woocommerce-breadcrumb a {
	color: var(--shop-text-muted);
	font-weight: 500;
}

body.modern-shop .woocommerce-breadcrumb a:hover {
	color: var(--shop-text);
}

body.modern-shop .woocommerce-breadcrumb .sep {
	font-size: 0.72rem;
	color: var(--shop-text-soft);
}

.custom-shop-hero__title,
.category-banner__title {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
	font-weight: 700;
	color: var(--shop-text);
}

.category-banner {
	margin-bottom: 24px;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	background:
		linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.98)),
		var(--shop-surface);
	box-shadow: var(--shop-shadow-sm);
	overflow: hidden;
}

.category-banner__content {
	display: grid;
/* 	grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); */
	gap: clamp(18px, 3vw, 32px);
	align-items: center;
}

.category-banner__copy {
	display: grid;
	gap: 12px;
}

.category-banner__eyebrow,
.custom-shop-sidebar__eyebrow,
.single-product-related-section__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--shop-accent-2);
}

.category-banner__meta {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	width: fit-content;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--shop-filter-chip);
	font-size: 0.88rem;
	font-weight: 600;
}

.category-banner__description {
	max-width: 70ch;
	font-size: 0.98rem;
	line-height: 1.75;
	color: var(--shop-text-muted);
}

.category-banner__image {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shop-shadow-md);
}

.category-banner__image img {
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	aspect-ratio: 16 / 11;
}

/* ============================================================================
   Sidebar and toolbar
   ============================================================================ */

.custom-shop-sidebar {
	position: sticky;
	top: var(--shop-sticky-top);
/* 	max-height: calc(100vh - var(--shop-sticky-top) - 24px);
	overflow: auto; */
	padding: 0;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 253, 0.98));
	box-shadow: var(--shop-shadow-sm);
}

.custom-shop-sidebar__inner {
	display: grid;
	gap: 18px;
	padding: 20px;
}

.custom-shop-sidebar__header {
	display: grid;
	gap: 6px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--shop-border);
}

.custom-shop-sidebar__title {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.2;
	font-weight: 700;
}

.custom-shop-sidebar__filters {
	display: grid;
	gap: 16px;
}

.custom-shop-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	padding: 16px 18px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-md);
	background: rgba(255, 255, 255, 0.93);
	box-shadow: var(--shop-shadow-sm);
}

.custom-shop-toolbar__left,
.custom-shop-toolbar__right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.custom-shop-toolbar__count {
	font-size: 0.94rem;
	font-weight: 600;
	color: var(--shop-text-muted);
}

.custom-shop-toolbar__layout {
	display: inline-flex;
	gap: 8px;
	padding: 4px;
	border-radius: 999px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
}

.shop-layout-toggle,
.shop-sidebar-toggle,
.product-card__action--quick-view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--shop-control-height);
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--shop-surface);
	color: var(--shop-text);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform var(--shop-transition-fast), box-shadow var(--shop-transition-fast), background var(--shop-transition-fast), border-color var(--shop-transition-fast), color var(--shop-transition-fast);
}

.shop-layout-toggle:hover,
.shop-sidebar-toggle:hover,
.product-card__action--quick-view:hover {
	transform: translateY(-1px);
	box-shadow: var(--shop-shadow-sm);
}

.shop-layout-toggle.is-active {
	background: var(--shop-accent);
	color: #fff;
}

.shop-sidebar-toggle {
	display: none;
	background: var(--shop-accent-2);
	color: #fff;
	padding-inline: 18px;
}

.shop-sidebar-toggle__icon {
	position: relative;
	width: 16px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.shop-sidebar-toggle__icon::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 4px;
	height: 2px;
	background: currentColor;
}

.custom-shop-toolbar__sorting .woocommerce-ordering {
	margin: 0;
}

.custom-shop-toolbar__sorting .woocommerce-ordering select {
	min-height: var(--shop-control-height);
	padding: 0 42px 0 16px;
	border: 1px solid var(--shop-border);
	border-radius: 999px;
	appearance: none;
	background: var(--shop-surface) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 24 24"><path stroke="%235c6d84" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m6 9 6 6 6-6"/></svg>') no-repeat right 14px center;
	color: var(--shop-text);
}

/* ============================================================================
   Filter Dropdowns Styling
   ============================================================================ */

.custom-shop-sidebar select.filter-dropdown,
.custom-shop-sidebar select.enhanced {
	width: 100%;
	min-height: 46px;
	padding: 11px 40px 11px 14px;
	border: 1.5px solid var(--shop-border);
	border-radius: var(--shop-radius-sm);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--shop-text);
	background: linear-gradient(180deg, var(--shop-surface), rgba(240, 244, 250, 0.5)) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" viewBox="0 0 24 24"><path stroke="%23163863" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.2" d="m6 9 6 6 6-6"/></svg>') no-repeat right 12px center;
	appearance: none;
	cursor: pointer;
	transition: all var(--shop-transition-base);
	box-shadow: 0 2px 8px rgba(19, 48, 86, 0.06);
}

.custom-shop-sidebar select.filter-dropdown:hover,
.custom-shop-sidebar select.enhanced:hover {
	border-color: var(--shop-border-strong);
	box-shadow: 0 4px 12px rgba(19, 48, 86, 0.1);
	background: linear-gradient(180deg, var(--shop-surface), rgba(240, 244, 250, 0.7)) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" viewBox="0 0 24 24"><path stroke="%23163863" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.2" d="m6 9 6 6 6-6"/></svg>') no-repeat right 12px center;
}

.custom-shop-sidebar select.filter-dropdown:focus,
.custom-shop-sidebar select.enhanced:focus {
	outline: none;
	border-color: var(--shop-accent);
	box-shadow: var(--shop-focus-ring), 0 4px 12px rgba(19, 48, 86, 0.12);
}

.custom-shop-sidebar select.filter-dropdown:focus:hover,
.custom-shop-sidebar select.enhanced:focus:hover {
	border-color: var(--shop-accent);
}

.custom-shop-sidebar select.filter-dropdown:disabled,
.custom-shop-sidebar select.enhanced:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: var(--shop-surface-soft);
}

/* Webkit scrollbar styling for dropdown options */
.custom-shop-sidebar select.filter-dropdown option,
.custom-shop-sidebar select.enhanced option {
	padding: 4px 8px;
	color: var(--shop-text);
	background: var(--shop-surface);
	font-weight: 400;
}

.custom-shop-sidebar select.filter-dropdown option:checked,
.custom-shop-sidebar select.enhanced option:checked {
	background: var(--shop-accent);
	color: var(--shop-surface);
	font-weight: 400;
}

/* ============================================================================
   Enhanced Select Dropdown - Basic Styling
   ============================================================================ */

/* Main dropdown wrapper/container */
.custom-shop-sidebar .chosen-drop {
	width: 100% !important;
	margin-top: 2px;
	border-radius: 4px !important;
	background: var(--shop-surface) !important;
	border: 1px solid var(--shop-border) !important;
	box-shadow: 0 2px 8px rgba(19, 48, 86, 0.08) !important;
	overflow: hidden;
	max-height: 300px !important;
}

/* Dropdown list container */
.custom-shop-sidebar .chosen-results {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--shop-surface) !important;
	border: none !important;
	max-height: 280px;
	overflow-y: auto;
	overflow-x: hidden;
}

/* Search box in dropdown */
.custom-shop-sidebar .chosen-search {
	padding: 8px !important;
	border-bottom: 1px solid var(--shop-border) !important;
	background: var(--shop-surface) !important;
	margin: 0 !important;
}

.custom-shop-sidebar .chosen-search input {
	width: 100% !important;
	padding: 6px 8px !important;
	font-size: 0.88rem !important;
	color: var(--shop-text) !important;
	background: var(--shop-surface-soft) !important;
	border: 1px solid var(--shop-border) !important;
	border-radius: 4px !important;
	margin: 0 !important;
}

.custom-shop-sidebar .chosen-search input:focus {
	outline: none !important;
	border-color: var(--shop-accent) !important;
}

/* Dropdown option/list items */
.custom-shop-sidebar .chosen-results li {
	padding: 6px 12px !important;
	margin: 0 !important;
	color: var(--shop-text) !important;
	background: var(--shop-surface) !important;
	border-bottom: 1px solid rgba(19, 48, 86, 0.04) !important;
	font-size: 0.88rem !important;
	cursor: pointer;
	transition: background var(--shop-transition-fast) !important;
}

.custom-shop-sidebar .chosen-results li:hover {
	background: var(--shop-surface-soft) !important;
}

/* Selected/highlighted option */
.custom-shop-sidebar .chosen-results li.result-selected,
.custom-shop-sidebar .chosen-results li.highlighted {
	background: var(--shop-accent) !important;
	color: #ffffff !important;
	font-weight: 500 !important;
}

/* "Show more" button styling */
.custom-shop-sidebar .chosen-results li.group-option {
	padding: 8px 12px !important;
	margin: 4px 8px !important;
	border-radius: 4px !important;
	background: rgba(205, 34, 48, 0.08) !important;
	border: 1px solid var(--shop-accent-2) !important;
	color: var(--shop-accent-2) !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	text-align: center;
	cursor: pointer;
	transition: all var(--shop-transition-fast) !important;
}

.custom-shop-sidebar .chosen-results li.group-option:hover {
	background: rgba(205, 34, 48, 0.12) !important;
	box-shadow: 0 2px 6px rgba(205, 34, 48, 0.12) !important;
}

/* Scrollbar styling */
.custom-shop-sidebar .chosen-results::-webkit-scrollbar {
	width: 6px;
}

.custom-shop-sidebar .chosen-results::-webkit-scrollbar-track {
	background: var(--shop-surface-soft);
}

.custom-shop-sidebar .chosen-results::-webkit-scrollbar-thumb {
	background: var(--shop-border-strong);
	border-radius: 3px;
}

.custom-shop-sidebar .chosen-results::-webkit-scrollbar-thumb:hover {
	background: var(--shop-accent);
}

/* ============================================================================
   Product cards and loops
   ============================================================================ */

body.modern-shop .custom-shop-content {
	min-width: 0;
}

body.modern-shop .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(var(--shop-grid-columns), minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.modern-shop .woocommerce ul.products::before,
body.modern-shop .woocommerce ul.products::after {
	display: none;
}

/* Some Woo/Divi clearfix pseudo-elements become grid items and occupy col 1. */
body.modern-shop ul.products::before,
body.modern-shop ul.products::after,
body.modern-shop .products::before,
body.modern-shop .products::after {
	content: none !important;
	display: none !important;
}

body.modern-shop .woocommerce ul.products li.product {
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

/* Defensive override against Divi/Woo float-based loop styles. */
body.modern-shop ul.products li.product,
body.modern-shop li.custom-product-card {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	justify-self: stretch !important;
	align-self: stretch !important;
	display: block !important;
}

.custom-product-card {
	opacity: 1;
	transform: none;
	transition: box-shadow var(--shop-transition-base), transform var(--shop-transition-base);
}

.custom-product-card.is-visible {
	opacity: 1;
	transform: none;
}

.product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	min-width: 0;
	max-width: none;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98));
	box-shadow: var(--shop-shadow-sm);
	overflow: hidden;
	transition: transform var(--shop-transition-base), box-shadow var(--shop-transition-base), border-color var(--shop-transition-base);
}

.product-card:hover,
.product-card.is-active {
	transform: var(--shop-card-hover);
	box-shadow: var(--shop-shadow-md);
	border-color: var(--shop-border-strong);
}

.product-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(243, 247, 252, 0.9), #fff);
}

.product-card__image-link {
	display: flex;
	position: relative;
	width: 100%;
	aspect-ratio: var(--shop-card-ratio);
	line-height: 0;
	background: var(--shop-surface-soft);
}

.product-card__image,
.product-card__image--primary,
.product-card__image--hover,
.woocommerce-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--shop-transition-slow), opacity var(--shop-transition-slow);
}

.product-card__image--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.product-card:hover .product-card__image--primary,
.product-card.is-active .product-card__image--primary {
	opacity: 0;
	transform: scale(1.03);
}

.product-card:hover .product-card__image--hover,
.product-card.is-active .product-card__image--hover {
	opacity: 1;
	transform: scale(1.03);
}

.product-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	z-index: 2;
}

.product-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	font-size: 0.71rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--shop-shadow-sm);
}

.product-badge--sale {
	background: var(--shop-accent-2);
	color: #fff;
}

.product-badge--new {
	background: var(--shop-accent-3);
	color: #fff;
}

.product-card__actions {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	gap: 8px;
	z-index: 2;
}

.product-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--shop-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--shop-text);
	box-shadow: var(--shop-shadow-sm);
	transition: transform var(--shop-transition-fast), box-shadow var(--shop-transition-fast), border-color var(--shop-transition-fast);
}

.product-card__action:hover {
	transform: translateY(-1px);
	border-color: var(--shop-border-strong);
	box-shadow: var(--shop-shadow-md);
}

.product-card__action > * {
	min-width: 0;
	width: 100%;
	height: 100%;
}

.product-card__action .yith-wcwl-add-to-wishlist-button,
.product-card__action .yith-compare-button,
.product-card__action .compare,
.product-card__action .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	box-shadow: none;
}

.product-card__action .product-card__wishlist-fallback-link {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 999px;
	color: var(--shop-text);
	font-size: 0.92rem;
	line-height: 1;
	text-decoration: none;
}

.product-card__action--wishlist .yith-add-to-wishlist-button-block:not(.yith-add-to-wishlist-button-block--initialized):empty + .product-card__wishlist-fallback-link {
	display: inline-flex;
}

.product-card__action .product-card__wishlist-fallback-link:hover {
	color: var(--shop-accent-2);
}

.product-card__action .yith-wcwl-add-to-wishlist-button .yith-wcwl-icon,
.product-card__action .yith-wcwl-add-to-wishlist-button svg,
.product-card__action .yith-wcwl-icon {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	opacity: 1 !important;
	visibility: visible !important;
	color: currentColor;
	stroke: currentColor;
}

.product-card__action .yith-wcwl-add-to-wishlist-button,
.product-card__action .yith-wcwl-add-to-wishlist-button:link,
.product-card__action .yith-wcwl-add-to-wishlist-button:visited,
.product-card__action .yith-wcwl-add-to-wishlist-button:hover,
.product-card__action .yith-wcwl-add-to-wishlist-button:focus {
	color: var(--shop-text) !important;
}

.product-card__action .yith-wcwl-add-to-wishlist-button:hover,
.product-card__action .yith-wcwl-add-to-wishlist-button:focus-visible {
	color: var(--shop-accent-2) !important;
}

.product-card__action .yith-wcwl-add-to-wishlist-button__label,
.product-card__action .compare-label,
.product-card__action--quick-view .yith-wcqv-button span,
.product-card__action--quick-view .button.yith-wcqv-button span {
	display: none !important;
}

.product-card__action--quick-view {
	position: relative;
	width: 42px;
	min-width: 42px;
	padding: 0;
	background: rgba(255, 255, 255, 0.96);
}

.product-card__action--quick-view::before {
	content: none;
}

.product-card__action--quick-view::after {
	content: none;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 500;
	color: var(--shop-text);
	pointer-events: none;
}

.product-card__quick-view-glyph {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 500;
	color: var(--shop-text);
	pointer-events: none;
}

.product-card__action--quick-view .product-card__quick-view-glyph {
	display: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.product-card__action--quick-view .yith-wcqv-button,
.product-card__action--quick-view .button.yith-wcqv-button,
.product-card__quick-view-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 42px;
	padding: 0;
	border: 0 !important;
	border-radius: 999px;
	background: transparent !important;
	position: relative !important;
	color: inherit !important;
	box-shadow: none !important;
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
}

/* .product-card__action--quick-view .yith-wcqv-button::before,
.product-card__action--quick-view .button.yith-wcqv-button::before {

	position: absolute !important;
	inset: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
	font-weight: 500 !important;
	font-family: inherit !important;
	color: var(--shop-text) !important;
	text-indent: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
} */

.product-card__action--quick-view .yith-wcqv-button::after,
.product-card__action--quick-view .button.yith-wcqv-button::after,
.product-card__quick-view-fallback span {
	content: none !important;
	display: none !important;
}

.product-card__content {
	display: grid;
	gap: 5px;
	padding: 20px 18px 22px;
	flex: 1;
}

.product-card__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
	font-weight: 700;
	min-height: 5.8em;
	max-height: 5.8em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.product-card__title a {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: inherit;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.product-card__title a:hover {
	color: var(--shop-accent-2);
}

.product-card__rating .star-rating,
.product-card__rating .woocommerce-product-rating {
	margin: 0;
}

.product-card__purchase {
	margin-top: auto;
	padding-top: 4px;
}

.product-card__purchase-inner {
	width: 100%;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.product-card__purchase-inner:empty {
	display: none;
}

.product-card__purchase .button,
.product-card__purchase .added_to_cart,
.product-card__purchase .wcraq-quote-button,
.product-card__purchase .wcraq-add-to-quote,
.product-card__purchase .yith-wcqv-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 0 16px;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--shop-accent-2), #e23a46) !important;
	color: #fff;
	font-size: 0.91rem;
	font-weight: 700;
	text-align: center;
	box-shadow: var(--shop-shadow-sm);
	transition: transform var(--shop-transition-fast), box-shadow var(--shop-transition-fast);
}

.product-card__purchase .button.yith-wcqv-button {
	display: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.product-card__purchase .button:hover,
.product-card__purchase .added_to_cart:hover,
.product-card__purchase .wcraq-quote-button:hover,
.product-card__purchase .wcraq-add-to-quote:hover {
	transform: translateY(-1px);
	box-shadow: var(--shop-shadow-md);
}

.product-card__purchase .yith-wcqv-button {
	display: none !important;
}

body.modern-shop .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.modern-shop .woocommerce ul.products li.product .product-title,
body.modern-shop .woocommerce ul.products li.product .product-card__title,
body.modern-shop .woocommerce ul.products li.product .product-card__title a,
body.modern-shop .woocommerce ul.products li.product .price,
body.modern-shop .woocommerce ul.products li.product .woocommerce-Price-amount,
body.modern-shop .woocommerce ul.products li.product .woocommerce-Price-currencySymbol {
	color: var(--shop-text) !important;
}

/* ============================================================================
   Pagination and widgets
   ============================================================================ */

.custom-shop-pagination {
	margin-top: 28px;
}

body.modern-shop .woocommerce-pagination {
	display: flex;
	justify-content: center;
}

body.modern-shop .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

body.modern-shop .woocommerce-pagination ul.page-numbers li {
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.modern-shop .woocommerce-pagination a.page-numbers,
body.modern-shop .woocommerce-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 0 !important;
	border-radius: 999px;
	background: var(--shop-surface);
	color: var(--shop-text);
	font-weight: 600;
	box-shadow: var(--shop-shadow-sm);
}

body.modern-shop .woocommerce-pagination span.page-numbers.current {
	background: var(--shop-accent);
	color: #fff;
}

body.modern-shop .woocommerce-pagination a.page-numbers:hover {
	transform: translateY(-1px);
}

/* Strip native Woo borders that clash with custom single-product shells. */
body.modern-shop .single-product-details-panel .woocommerce-tabs,
body.modern-shop .single-product-details-panel .wc-tabs-wrapper,
body.modern-shop .single-product-details-panel .tabs.wc-tabs,
body.modern-shop .single-product-details-panel .woocommerce-Tabs-panel,
body.modern-shop .single-product-details-panel .woocommerce-Reviews,
body.modern-shop .single-product-details-panel .woocommerce-product-attributes,
body.modern-shop .single-product-details-panel .woocommerce-product-attributes th,
body.modern-shop .single-product-details-panel .woocommerce-product-attributes td,
body.modern-shop .single-product-summary-card table,
body.modern-shop .single-product-summary-card tbody,
body.modern-shop .single-product-summary-card tr,
body.modern-shop .single-product-summary-card th,
body.modern-shop .single-product-summary-card td,
body.modern-shop .single-product-summary-card .variations,
body.modern-shop .single-product-summary-card .variations th,
body.modern-shop .single-product-summary-card .variations td,
body.modern-shop .single-product-summary-card .reset_variations,
body.modern-shop .single-product-summary-card .woocommerce-product-rating,
body.modern-shop .single-product-summary-card .woocommerce-review-link {
	border: 0 !important;
	outline: 0 !important;
}

body.modern-shop .single-product-details-panel .woocommerce-tabs,
body.modern-shop .single-product-details-panel .wc-tabs-wrapper,
body.modern-shop .single-product-details-panel .tabs.wc-tabs,
body.modern-shop .single-product-details-panel .woocommerce-Tabs-panel,
body.modern-shop .single-product-details-panel .woocommerce-Reviews,
body.modern-shop .single-product-details-panel .woocommerce-product-attributes,
body.modern-shop .single-product-summary-card .variations {
	box-shadow: none !important;
}

.custom-shop-sidebar .widget,
.custom-shop-sidebar .yith-wcan-filters,
.custom-shop-sidebar .yith-wcan-filter,
.custom-shop-sidebar .widget_price_filter,
.custom-shop-sidebar .woocommerce-widget-layered-nav,
.custom-shop-sidebar .widget_product_categories,
.custom-shop-sidebar .widget_product_search,
.custom-shop-sidebar .widget_layered_nav {
	padding: 14px;
	border: 1px solid rgba(19, 48, 86, 0.18);
	border-radius: var(--shop-radius-md);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 244, 250, 0.9));
	box-shadow: 0 2px 10px rgba(19, 48, 86, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.custom-shop-sidebar .widget-title,
.custom-shop-sidebar .yith-wcan-filter .filter-title,
.custom-shop-sidebar .yith-wcan-filters .widget-title,
.custom-shop-sidebar .widget_product_categories .widget-title,
.custom-shop-sidebar .widget_product_search .widget-title,
.custom-shop-sidebar .widget_layered_nav .widget-title {
	margin: 0 0 12px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--shop-text);
}

.custom-shop-sidebar .yith-wcan-filters {
	display: grid;
	gap: 12px;
}

.custom-shop-sidebar .yith-wcan-filter .filter-items,
.custom-shop-sidebar .yith-wcan-filters .filter-items,
.custom-shop-sidebar .woocommerce-widget-layered-nav-list,
.custom-shop-sidebar .widget_product_categories ul,
.custom-shop-sidebar .widget_layered_nav ul,
.custom-shop-sidebar .widget_product_search form,
.custom-shop-sidebar .product-categories {
	display: grid;
	gap: 10px;
	margin: 0;
}

.custom-shop-sidebar .yith-wcan-filters .filters-container,
.custom-shop-sidebar .yith-wcan-filters form,
.custom-shop-sidebar .yith-wcan-filter .filter-content {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.custom-shop-sidebar .yith-wcan-filter li,
.custom-shop-sidebar .woocommerce-widget-layered-nav-list li {
	margin: 0;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item {
	list-style: none;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item > label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 6px;
	border-radius: 14px;
	transition: background var(--shop-transition-fast);
	cursor: pointer;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item > label:hover {
	background: rgba(19, 48, 86, 0.04);
}

.custom-shop-sidebar .yith-wcan-filter a,
.custom-shop-sidebar .woocommerce-widget-layered-nav-list a,
.custom-shop-sidebar .yith-wcan-filters a,
.custom-shop-sidebar .product-categories a,
.custom-shop-sidebar .widget_product_categories a,
.custom-shop-sidebar .widget_layered_nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 13px;
	border-radius: 12px;
	background: var(--shop-filter-chip);
	color: var(--shop-text);
	transition: background var(--shop-transition-fast), transform var(--shop-transition-fast), color var(--shop-transition-fast);
}

.custom-shop-sidebar .yith-wcan-filter a.term-label,
.custom-shop-sidebar .yith-wcan-filters a.term-label {
	justify-content: flex-start;
	min-width: 0;
	padding: 12px 14px;
	font-weight: 600;
	line-height: 1.32;
	color: var(--shop-text) !important;
	background: var(--shop-filter-chip) !important;
	border-radius: 12px;
	text-transform: none;
	letter-spacing: normal;
}

.custom-shop-sidebar .yith-wcan-filter a:hover,
.custom-shop-sidebar .woocommerce-widget-layered-nav-list a:hover,
.custom-shop-sidebar .yith-wcan-filters a:hover,
.custom-shop-sidebar .product-categories a:hover,
.custom-shop-sidebar .widget_product_categories a:hover,
.custom-shop-sidebar .widget_layered_nav a:hover {
	background: var(--shop-filter-chip-hover);
	transform: translateX(2px);
}

.custom-shop-sidebar .yith-wcan-filter a.term-label:hover,
.custom-shop-sidebar .yith-wcan-filters a.term-label:hover {
	transform: none;
	background: var(--shop-filter-chip-hover) !important;
	color: var(--shop-text) !important;
}

.custom-shop-sidebar .yith-wcan-filter .chosen a,
.custom-shop-sidebar .woocommerce-widget-layered-nav-list .chosen a,
.custom-shop-sidebar .yith-wcan-filters .selected a {
	background: var(--shop-accent);
	color: #fff;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item.active a.term-label,
.custom-shop-sidebar .yith-wcan-filter .filter-item.chosen a.term-label,
.custom-shop-sidebar .yith-wcan-filters .selected a.term-label {
	background: linear-gradient(135deg, var(--shop-accent), #24538f) !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(19, 48, 86, 0.16);
}

.custom-shop-sidebar .widget_product_search input[type="search"],
.custom-shop-sidebar .widget_product_search input[type="text"],
.custom-shop-sidebar select,
.custom-shop-sidebar .select2-selection--single,
.custom-shop-sidebar .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--shop-border);
	background: var(--shop-surface);
	color: var(--shop-text);
}

.custom-shop-sidebar .widget_product_search button,
.custom-shop-sidebar .widget_product_search input[type="submit"],
.custom-shop-sidebar .button,
.custom-shop-sidebar .wp-block-button__link,
.widget_price_filter .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--shop-accent);
	background: var(--shop-accent);
	color: #fff;
	font-weight: 700;
	box-shadow: var(--shop-shadow-sm);
}

.custom-shop-sidebar .widget_product_search button:hover,
.custom-shop-sidebar .widget_product_search input[type="submit"]:hover,
.custom-shop-sidebar .button:hover,
.custom-shop-sidebar .wp-block-button__link:hover,
.widget_price_filter .button:hover {
	transform: translateY(-1px);
	box-shadow: var(--shop-shadow-md);
}

.custom-shop-sidebar input[type="checkbox"],
.custom-shop-sidebar input[type="radio"] {
	appearance: none;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid var(--shop-border-strong);
	border-radius: 6px;
	background: var(--shop-surface);
	vertical-align: middle;
	place-self: center;
}

/* Final override layer for YITH filter row layout (plugin/theme rules are aggressive). */
.custom-shop-sidebar .yith-wcan-filter .filter-item > label,
.custom-shop-sidebar .yith-wcan-filter .filter-item label {
	display: grid !important;
	grid-template-columns: 18px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 6px !important;
	margin: 0 !important;
	border-radius: 14px !important;
	background: transparent !important;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item > label input[type="checkbox"],
.custom-shop-sidebar .yith-wcan-filter .filter-item > label input[type="radio"],
.custom-shop-sidebar .yith-wcan-filter .filter-item label input[type="checkbox"],
.custom-shop-sidebar .yith-wcan-filter .filter-item label input[type="radio"] {
	margin: 0 !important;
	justify-self: center !important;
	align-self: center !important;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter .filter-item label a.term-label {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 12px !important;
	background: var(--shop-filter-chip) !important;
	color: var(--shop-text) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.32 !important;
	text-decoration: none !important;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item.active > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter .filter-item.chosen > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter .filter-item.active label a.term-label,
.custom-shop-sidebar .yith-wcan-filter .filter-item.chosen label a.term-label {
	background: linear-gradient(135deg, var(--shop-accent), #24538f) !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(19, 48, 86, 0.16) !important;
}

/* Keep YITH color/image swatches visible when custom term-label styles are active. */
.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item > label,
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item > label,
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item > label {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 8px !important;
	padding: 0 !important;
}

.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item > label input[type="checkbox"],
.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item > label input[type="radio"],
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item > label input[type="checkbox"],
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item > label input[type="radio"],
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item > label input[type="checkbox"],
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item > label input[type="radio"] {
	display: none !important;
}

.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item > label a.term-label {
	padding: 6px 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 999px !important;
	gap: 8px;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .term-box,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .term-color,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .yith-wcan-color,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .swatch-color,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .term-image,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .swatch-image {
	display: inline-block !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	border-radius: 999px;
	border: 1px solid rgba(19, 48, 86, 0.22);
	overflow: hidden;
}

.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .term-image,
.custom-shop-sidebar .yith-wcan-filter .filter-item a.term-label .swatch-image {
	border-radius: 6px;
	object-fit: cover;
}

.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item.active > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter.filter-type-color .filter-item.chosen > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item.active > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter.filter-type-image .filter-item.chosen > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item.active > label a.term-label,
.custom-shop-sidebar .yith-wcan-filter[class*="color"] .filter-item.chosen > label a.term-label {
	background: rgba(19, 48, 86, 0.08) !important;
	color: var(--shop-text) !important;
	box-shadow: none !important;
}

/* YITH color-design filters use <li><a><span class="term-label">..</span></a></li> (no checkbox wrapper). */
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-items.filter-color {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
	gap: 8px !important;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color {
	margin: 0 !important;
	list-style: none;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 8px 6px !important;
	border-radius: 12px !important;
	background: var(--shop-filter-chip) !important;
	gap: 6px;
	text-align: center;
	transform: none !important;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color .term-label {
	font-size: 0;
	line-height: 0;
	font-weight: 600;
	white-space: nowrap;
	word-break: normal;
	max-width: 100%;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color.filter-has-5-column {
	width: auto !important;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color.filter-has-5-column .term-label::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 auto;
	border-radius: 999px;
	border: 1px solid rgba(19, 48, 86, 0.24);
	background: linear-gradient(135deg, #fff, #e7edf5);
}

/* Fallback color map when YITH returns `no-color` items but term slugs are available. */
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="beige"] .term-label::before {
	background: #d7c2a3;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="cloudy-gray"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="cloudy-grey"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="storm-gray"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="storm-grey"] .term-label::before {
	background: #6f7884;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="std-black"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="black"] .term-label::before {
	background: #202327;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="std-white"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="white"] .term-label::before {
	background: #f9fafb;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="dark-blue"] .term-label::before {
	background: #203a68;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="std-blue"] .term-label::before,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a[data-term-slug="blue"] .term-label::before {
	background: #2f5f9e;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color:hover a {
	transform: none !important;
	background: var(--shop-filter-chip-hover) !important;
}

.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color.active a,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color.chosen a,
.custom-shop-sidebar .yith-wcan-filter.color-design .filter-item.color a.active {
	background: rgba(19, 48, 86, 0.1) !important;
	color: var(--shop-text) !important;
	box-shadow: inset 0 0 0 1px rgba(19, 48, 86, 0.26);
}

.custom-shop-sidebar input[type="radio"] {
	border-radius: 50%;
}

.custom-shop-sidebar input[type="checkbox"]:checked,
.custom-shop-sidebar input[type="radio"]:checked {
	background: var(--shop-accent);
	border-color: var(--shop-accent);
	box-shadow: inset 0 0 0 3px var(--shop-surface);
}

.widget_price_filter .price_slider_wrapper {
	padding-top: 10px;
}

.widget_price_filter .price_slider {
	height: 6px;
	border: 0;
	border-radius: 999px;
	background: rgba(138, 151, 170, 0.28);
}

.widget_price_filter .ui-slider-range {
	background: linear-gradient(90deg, var(--shop-accent-3), var(--shop-accent-2));
	border-radius: inherit;
}

.widget_price_filter .ui-slider-handle {
	top: -7px;
	width: 20px;
	height: 20px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--shop-accent-2);
	box-shadow: var(--shop-shadow-sm);
}

.widget_price_filter .price_slider_amount {
	display: grid;
	gap: 12px;
	margin-top: 16px;
	font-size: 0.9rem;
	color: var(--shop-text-muted);
}

/* ============================================================================
   Loading and quick view
   ============================================================================ */

.custom-shop-loading {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	margin-bottom: 20px;
	border-radius: var(--shop-radius-md);
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(8px);
}

.custom-shop-loading.is-active {
	display: flex;
}

.custom-shop-loading__spinner {
	width: 26px;
	height: 26px;
	border: 2px solid rgba(19, 48, 86, 0.14);
	border-top-color: var(--shop-accent-2);
	border-radius: 50%;
	animation: shop-spin 0.8s linear infinite;
}

.shop-quick-view {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: none;
}

.shop-quick-view.is-open {
	display: block;
}

.shop-quick-view__overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 30, 0.62);
	backdrop-filter: blur(6px);
}

.shop-quick-view__dialog {
	position: relative;
	z-index: 1;
	width: min(1100px, calc(100vw - 24px));
	height: min(84vh, 900px);
	margin: 6vh auto 0;
	border-radius: 26px;
	overflow: hidden;
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow-lg);
}

.shop-quick-view__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(19, 35, 58, 0.9);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.shop-quick-view__frame-wrap,
.shop-quick-view__frame {
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--shop-surface);
}

.shop-sidebar-open,
.shop-quick-view-open {
	overflow: hidden;
}

/* ============================================================================
   Single product page
   ============================================================================ */

.custom-single-product-page .custom-shop-shell {
	max-width: 1320px;
	margin: 0 auto;
}

.custom-single-product {
	display: grid;
	gap: 22px;
}

.single-product-hero {
	display: grid;
	gap: 8px;
}

.single-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr) minmax(250px, 0.74fr);
	gap: clamp(18px, 2.5vw, 30px);
	align-items: start;
}

.single-product-gallery-column,
.single-product-summary-column,
.single-product-sidebar-column {
	display: flex;
	min-width: 0;
}

.single-product-summary-column {
	display: grid;
	gap: 18px;
	align-content: start;
}

.single-product-sidebar-column {
	align-self: start;
}

.single-product-gallery-card,
.single-product-summary-card,
.single-product-details-panel,
.single-product-related-section,
.single-product-best-sellers {
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	background: var(--shop-surface);
	box-shadow: var(--shop-shadow-sm);
	width: 100%;
	overflow: hidden;
}

.single-product-gallery-card {
	padding: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
		radial-gradient(circle at top right, rgba(241, 167, 42, 0.1), transparent 30%);
}

body.modern-shop .custom-single-product-page .woocommerce-notices-wrapper {
	margin-bottom: 4px;
}

body.modern-shop .custom-single-product-page .woocommerce div.product {
	margin: 0;
}

body.modern-shop .custom-single-product-page .woocommerce div.product div.images,
body.modern-shop .custom-single-product-page .woocommerce div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

.single-product-gallery-card .woocommerce-product-gallery {
	display: block;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
}

.single-product-gallery-card .flex-viewport,
.single-product-gallery-card .woocommerce-product-gallery__wrapper,
.single-product-gallery-card .woocommerce-product-gallery__image,
.single-product-gallery-card .woocommerce-product-gallery__image a {
	width: 100% !important;
	max-width: none !important;
}

.single-product-gallery-card .flex-viewport {
	height: auto !important;
	max-height: none !important;
	overflow: hidden !important;
}

.single-product-gallery-card .woocommerce-product-gallery__wrapper {
	border: 1px solid rgba(19, 48, 86, 0.1);
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	height: auto !important;
	position: relative;
	width: 100% !important;
	transform: none !important;
	transition: none !important;
}

.single-product-gallery-card .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #fff;
}

.single-product-gallery-card .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
	position: absolute !important;
	inset: 0;
	float: none !important;
	width: 100% !important;
	height: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.single-product-gallery-card .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image.flex-active-slide {
	position: relative !important;
	height: auto !important;
	overflow: visible !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	z-index: 2;
}

.single-product-gallery-card .woocommerce-product-gallery__image a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.single-product-gallery-card .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, 88px);
	justify-content: start;
	gap: 10px;
	margin-top: 16px !important;
}

.single-product-gallery-card .flex-control-thumbs li {
	width: 88px !important;
	height: 88px;
	margin: 0 !important;
}

.single-product-gallery-card .flex-control-thumbs img {
	width: 88px;
	height: 88px;
	object-fit: contain;
	border-radius: 12px;
	border: 1px solid var(--shop-border);
	background: #fff;
	padding: 4px;
}

.single-product-summary-card {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 252, 0.98)),
		radial-gradient(circle at top left, rgba(22, 56, 99, 0.08), transparent 34%);
	min-height: 100%;
}

.single-product-summary-card__inner {
	display: grid;
	align-content: start;
	gap: 12px;
	min-height: 100%;
	padding: 24px;
}

.single-product-best-sellers {
	display: grid;
	gap: 14px;
	padding: 20px 20px 18px;
	border: 1px solid var(--shop-border);
	border-radius: var(--shop-radius-lg);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
	box-shadow: var(--shop-shadow-sm);
	width: 100%;
	position: sticky;
	top: calc(var(--shop-sticky-top) + 8px);
}

.single-product-best-sellers__header {
	display: grid;
	gap: 4px;
}

.single-product-best-sellers__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--shop-accent-2);
}

.single-product-best-sellers__title {
	margin: 0;
	font-size: 1.03rem;
	line-height: 1.2;
	font-weight: 700;
	color: var(--shop-text);
}

.single-product-best-sellers__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product-best-sellers__item {
	border: 1px solid rgba(19, 48, 86, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.8);
	overflow: hidden;
}

.single-product-best-sellers__link {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	transition: transform var(--shop-transition-fast), background var(--shop-transition-fast);
}

.single-product-best-sellers__link:hover {
	transform: translateY(-1px);
	background: rgba(245, 248, 252, 0.95);
}

.single-product-best-sellers__thumb {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single-product-best-sellers__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-product-best-sellers__meta {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.single-product-best-sellers__name {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--shop-text);
}

.single-product-best-sellers__price {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--shop-accent);
}

.single-product-best-sellers__view-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--shop-surface-soft);
	color: var(--shop-accent);
	font-size: 0.86rem;
	font-weight: 700;
}

.single-product-best-sellers__view-more:hover {
	background: var(--shop-filter-chip);
}

.single-product-summary-card .product_title {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 1.9vw, 2.1rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: var(--shop-accent);
}

.single-product-summary-card .woocommerce-product-rating {
	margin: 0 0 8px;
}

.single-product-summary-card .woocommerce-review-link {
	font-weight: 600;
	color: var(--shop-text-muted);
}

.single-product-summary-card .price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 14px;
	padding: 10px 14px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(22, 56, 99, 0.09), rgba(205, 34, 48, 0.08));
	font-size: 1.04rem;
	font-weight: 700;
	color: var(--shop-accent);
	width: fit-content;
}

.single-product-summary-card .woocommerce-product-details__short-description {
	margin-bottom: 16px;
	font-size: 0.95rem;
	line-height: 1.68;
	color: var(--shop-text-muted);
}

.single-product-summary-card form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
	margin: 12px 0 0;
}

.single-product-summary-card .quantity .qty {
	min-height: 50px;
	min-width: 72px;
	padding-inline: 12px;
	border: 1px solid var(--shop-border);
	border-radius: 14px;
	background: #fff;
}

.single-product-summary-card .variations {
	width: 100%;
	margin: 0 0 12px;
	border-collapse: separate;
	border-spacing: 0 12px;
	table-layout: fixed;
}

.single-product-summary-card .variations tbody,
.single-product-summary-card .variations tr {
	display: grid;
	gap: 6px;
	width: 100%;
}

.single-product-summary-card .variations td,
.single-product-summary-card .variations th {
	width: 100%;
	padding: 0;
}

.single-product-summary-card .variations th.label {
	padding-bottom: 2px;
}

.single-product-summary-card .variations label {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--shop-text);
}

.single-product-summary-card .variations select,
.single-product-summary-card select {
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid var(--shop-border);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
	color: var(--shop-text);
}

.single-product-summary-card .single_variation_wrap {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}

.single-product-summary-card .single_add_to_cart_button,
.single-product-summary-card .button.alt,
.single-product-summary-card .woocommerce-variation-add-to-cart button {
	min-height: 50px;
	min-width: 180px;
	padding: 0 22px;
	border: 0 !important;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--shop-accent-2), #e23a46) !important;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	box-shadow: var(--shop-shadow-sm);
}

.single-product-summary-card .single_add_to_cart_button:hover,
.single-product-summary-card .button.alt:hover,
.single-product-summary-card .woocommerce-variation-add-to-cart button:hover {
	transform: translateY(-1px);
	box-shadow: var(--shop-shadow-md);
}

.single-product-summary-card .product_meta {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--shop-border);
	font-size: 0.91rem;
	color: var(--shop-text-muted);
}

.single-product-summary-card .product_meta a {
	color: var(--shop-text);
}

.single-product-summary-card .yith-wcwl-add-to-wishlist,
.single-product-summary-card .yith-compare-button,
.single-product-summary-card .yith-ywraq-add-to-quote {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 9px 12px;
	border: 1px solid var(--shop-border);
	border-radius: 999px;
	background: var(--shop-surface-soft);
	color: var(--shop-text);
	font-size: 0.86rem;
}

.single-product-details-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.single-product-details-panel__title {
	margin: 0;
	padding: 20px 24px 0;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.single-product-details-panel__content {
	padding: 22px 24px 24px;
	line-height: 1.75;
	color: var(--shop-text-muted);
}

.single-product-details-panel .woocommerce-tabs {
	margin: 0;
	display: grid;
	gap: 16px;
	padding: 20px;
	border: 0 !important;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(247, 250, 253, 0.96), rgba(255, 255, 255, 0.98));
}

.single-product-details-panel .wc-tabs-wrapper {
	margin-top: 0;
}

.single-product-details-panel .tabs.wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 14px !important;
	border: 0 !important;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(245, 248, 252, 0.95), rgba(255, 255, 255, 0.98)) !important;
	box-shadow: inset 0 0 0 1px rgba(19, 48, 86, 0.10);
}

.single-product-details-panel .woocommerce-tabs ul.tabs::before,
.single-product-details-panel .woocommerce-tabs ul.tabs::after {
	display: none !important;
}

.single-product-details-panel .tabs.wc-tabs li {
	margin: 0;
	padding: 0;
	float: none !important;
	border: 0;
	background: transparent !important;
	box-shadow: none !important;
}

.single-product-details-panel .tabs.wc-tabs li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	color: var(--shop-text-muted) !important;
	-webkit-text-fill-color: var(--shop-text-muted) !important;
	font-size: 0.86rem;
	font-weight: 700;
	transition: transform var(--shop-transition-fast), box-shadow var(--shop-transition-fast), background var(--shop-transition-fast), color var(--shop-transition-fast);
}

.single-product-details-panel .tabs.wc-tabs li a:hover {
	background: #fff;
	color: var(--shop-accent) !important;
	transform: translateY(-1px);
}

.single-product-details-panel .tabs.wc-tabs li.active a {
	background: linear-gradient(135deg, var(--shop-accent-2), #e23a46);
	border-color: rgba(205, 34, 48, 0.2);
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	box-shadow: 0 12px 26px rgba(205, 34, 48, 0.18);
}

body.modern-shop .single-product-details-panel .tabs.wc-tabs li a,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li a:link,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li a:visited,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li a:hover,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li a:focus {
	color: var(--shop-text-muted) !important;
	-webkit-text-fill-color: var(--shop-text-muted) !important;
}

body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a:link,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a:visited,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a:hover,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a:focus,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a *,
body.modern-shop .single-product-details-panel .tabs.wc-tabs li.active a span {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

.single-product-details-panel .woocommerce-Tabs-panel,
.single-product-details-panel .woocommerce-Reviews {
	border: 0 !important;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 252, 0.98));
	box-shadow: 0 14px 30px rgba(19, 48, 86, 0.08);
	padding: 22px;
}

/* Keep CTA text readable against plugin/default blue link styles. */
body.modern-shop .product-card__purchase .wcraq-quote-button,
body.modern-shop .product-card__purchase .wcraq-add-to-quote,
body.modern-shop .single-product-summary-card .single_add_to_cart_button,
body.modern-shop .single-product-summary-card .button.alt,
body.modern-shop .single-product-summary-card .woocommerce-variation-add-to-cart button,
body.modern-shop .single-product-summary-card .wcraq-quote-button,
body.modern-shop .single-product-summary-card .wcraq-add-to-quote,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote a,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote .button,
body.modern-shop .single-product-summary-card form.cart .button {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-shadow: none;
}

body.modern-shop .single-product-summary-card .single_add_to_cart_button *,
body.modern-shop .single-product-summary-card .button.alt *,
body.modern-shop .single-product-summary-card .woocommerce-variation-add-to-cart button *,
body.modern-shop .single-product-summary-card .wcraq-quote-button *,
body.modern-shop .single-product-summary-card .wcraq-add-to-quote *,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote a *,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote .button *,
body.modern-shop .single-product-summary-card form.cart .button * {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}

body.modern-shop .single-product-summary-card .single_add_to_cart_button,
body.modern-shop .single-product-summary-card .button.alt,
body.modern-shop .single-product-summary-card .woocommerce-variation-add-to-cart button,
body.modern-shop .single-product-summary-card .wcraq-quote-button,
body.modern-shop .single-product-summary-card .wcraq-add-to-quote,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote a,
body.modern-shop .single-product-summary-card .yith-ywraq-add-to-quote .button,
body.modern-shop .single-product-summary-card form.cart .button {
	background: linear-gradient(135deg, var(--shop-accent-2), #e23a46) !important;
	border: 0 !important;
}

.single-product-details-panel .woocommerce-Tabs-panel > h2,
.single-product-details-panel .woocommerce-Reviews > h2,
.single-product-related-section .related.products > h2 {
	display: none;
}

.single-product-details-panel input,
.single-product-details-panel textarea,
.single-product-details-panel select {
	width: 100%;
	border: 1px solid var(--shop-border);
	border-radius: 12px;
	background: var(--shop-surface);
	color: var(--shop-text);
}

.single-product-details-panel textarea {
	min-height: 160px;
}

.single-product-details-panel .button,
.single-product-details-panel button {
	border-radius: 999px;
}

.single-product-related-section {
	display: grid;
	gap: 18px;
	padding: 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.single-product-related-section__header {
	display: grid;
	gap: 8px;
}

.single-product-related-section__title {
	margin: 0;
	font-size: clamp(1.14rem, 1.6vw, 1.5rem);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.single-product-related-section__content,
.single-product-related-section .related.products,
.single-product-related-section .related.products ul.products {
	width: 100%;
	min-width: 0;
}

.single-product-related-section .related.products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product-related-section .related.products ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0;
}

.single-product-related-section .product-card {
	height: 100%;
}

.single-product-related-section .product-card__title {
	/* min-height: 0; */
	min-height: auto;
	font-size : 22px !important;
	padding-bottom: 0;
}
.single-product-related-section .product-card__title a {
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--shop-text);
}
.single-product-related-section .product-card__content {
	padding: 16px;
}

@media (max-width: 1180px) {
	.single-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
	}

	.single-product-sidebar-column {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.single-product-layout {
		grid-template-columns: 1fr;
	}

	.single-product-sidebar-column {
		grid-column: auto;
	}

	.single-product-best-sellers {
		position: static;
	}
}

/* ============================================================================
   Woo defaults touched by this theme
   ============================================================================ */

body.modern-shop .woocommerce .star-rating {
	color: #f59f0a;
}

body.modern-shop .woocommerce .star-rating::before {
	color: rgba(245, 159, 10, 0.24);
}

body.modern-shop .woocommerce .woocommerce-error,
body.modern-shop .woocommerce .woocommerce-info,
body.modern-shop .woocommerce .woocommerce-message {
	border-radius: var(--shop-radius-md);
	box-shadow: var(--shop-shadow-sm);
}

body.modern-shop .woocommerce nav.woocommerce-pagination {
	margin-top: 0;
}

body.modern-shop .woocommerce-result-count {
	margin: 0;
	font-weight: 600;
	color: var(--shop-text-muted);
}

body.modern-shop .woocommerce a.button,
body.modern-shop .woocommerce button.button,
body.modern-shop .woocommerce input.button,
body.modern-shop .woocommerce #respond input#submit {
	border-radius: 999px;
}

/* ============================================================================
   Accessibility and focus
   ============================================================================ */

.custom-shop-sidebar input[type="checkbox"]:focus,
.custom-shop-sidebar input[type="radio"]:focus,
.custom-shop-sidebar select:focus,
.custom-shop-sidebar button:focus,
.shop-layout-toggle:focus,
.shop-sidebar-toggle:focus,
.product-card__action:focus,
.product-card__action--quick-view:focus,
body.modern-shop .woocommerce-pagination .page-numbers:focus,
.single-product-summary-card button:focus,
.single-product-summary-card input:focus,
.single-product-summary-card select:focus,
.single-product-details-panel button:focus,
.single-product-details-panel input:focus,
.single-product-details-panel textarea:focus,
.single-product-details-panel select:focus {
	outline: none;
	box-shadow: var(--shop-focus-ring);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1024px) {
	:root {
		--shop-grid-columns: 2;
	}

	.custom-shop-layout {
		grid-template-columns: 1fr;
	}

	.custom-shop-sidebar {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 9997;
		width: min(92vw, 380px);
		max-height: 100vh;
		border-radius: 0 var(--shop-radius-lg) var(--shop-radius-lg) 0;
		transform: translateX(-102%);
		transition: transform var(--shop-transition-base);
	}

	.custom-shop-sidebar.is-open {
		transform: translateX(0);
	}

	.custom-shop-backdrop {
		position: fixed;
		inset: 0;
		z-index: 9996;
		background: rgba(8, 16, 30, 0.45);
		backdrop-filter: blur(4px);
	}

	.custom-shop-backdrop[hidden] {
		display: none;
	}

	.shop-sidebar-toggle {
		display: inline-flex;
	}

	.custom-shop-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.custom-shop-toolbar__left,
	.custom-shop-toolbar__right {
		justify-content: space-between;
	}

	.category-banner__content {
		grid-template-columns: 1fr;
	}

	.single-product-layout,
	.single-product-details-grid {
		grid-template-columns: 1fr;
	}

	.single-product-related-section .related.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.custom-shop-toolbar__left,
	.custom-shop-toolbar__right,
	.custom-shop-toolbar__count,
	.custom-shop-toolbar__sorting {
		width: 100%;
	}

	.custom-shop-toolbar__sorting .woocommerce-ordering,
	.custom-shop-toolbar__sorting .woocommerce-ordering select {
		width: 100%;
	}
}

@media (max-width: 767px) {
	:root {
		--shop-grid-columns: 1;
	}

	.custom-shop-page,
	.custom-category-page,
	.custom-single-product-page {
		padding: 14px;
	}

	.custom-shop-toolbar {
		padding: 14px;
	}

	.custom-shop-toolbar__layout {
		width: 100%;
		justify-content: space-between;
	}

	.shop-layout-toggle {
		flex: 1;
	}

	.custom-shop-sidebar {
		width: 100vw;
		border-radius: 0;
	}

	.category-banner {
		padding: 18px;
	}

	.product-card__actions {
		top: 10px;
		right: 10px;
		gap: 6px;
	}

	.product-card__action,
	.product-card__action--quick-view {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}

	.shop-quick-view__dialog {
		width: calc(100vw - 14px);
		height: calc(100vh - 14px);
		margin: 7px auto 0;
		border-radius: 20px;
	}

	.single-product-gallery-card {
		padding: 12px;
	}

	.single-product-summary-card__inner,
	.single-product-details-panel__content,
	.single-product-related-section {
		padding: 18px;
	}

	.single-product-details-panel__title {
		padding: 18px 18px 0;
	}

	.single-product-details-panel .tabs.wc-tabs,
	.single-product-details-panel .woocommerce-Tabs-panel,
	.single-product-details-panel .woocommerce-Reviews {
		padding-left: 18px;
		padding-right: 18px;
	}

	.single-product-summary-card .single_add_to_cart_button,
	.single-product-summary-card .button.alt,
	.single-product-summary-card .woocommerce-variation-add-to-cart button {
		width: 100%;
		min-width: 0;
	}

	.single-product-related-section .related.products ul.products {
		grid-template-columns: 1fr;
	}
}

/* ============================================================================
   List mode
   ============================================================================ */

body.shop-view-list ul.products {
	grid-template-columns: 1fr;
}

body.shop-view-list ul.products li.product,
body.shop-view-list .custom-product-card {
	width: 100%;
}

body.shop-view-list .product-card {
	display: grid;
	grid-template-columns: minmax(220px, var(--shop-list-image-width)) minmax(0, 1fr);
	align-items: stretch;
}

body.shop-view-list .product-card__media {
	height: 100%;
}

body.shop-view-list .product-card__image-link {
	height: 100%;
	aspect-ratio: 1 / 1;
}

body.shop-view-list .product-card__content {
	padding: 22px;
	align-content: start;
}

body.shop-view-list .product-card__title {
	min-height: 0;
}

body.shop-view-list .product-card__purchase .button,
body.shop-view-list .product-card__purchase .added_to_cart,
body.shop-view-list .product-card__purchase .wcraq-quote-button,
body.shop-view-list .product-card__purchase .wcraq-add-to-quote {
	width: fit-content;
	min-width: 180px;
}

@media (max-width: 767px) {
	body.shop-view-list .product-card {
		grid-template-columns: 1fr;
	}

	body.shop-view-list .product-card__purchase .button,
	body.shop-view-list .product-card__purchase .added_to_cart,
	body.shop-view-list .product-card__purchase .wcraq-quote-button,
	body.shop-view-list .product-card__purchase .wcraq-add-to-quote {
		width: 100%;
		min-width: 0;
	}
}

/* ============================================================================
   Motion preferences
   ============================================================================ */

@keyframes shop-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.modern-shop *,
	body.modern-shop *::before,
	body.modern-shop *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.custom-product-card,
	.product-card,
	.product-card__image,
	.product-card__image-link,
	.custom-shop-sidebar,
	.shop-quick-view,
	.custom-shop-loading {
		transition: none !important;
	}
}
