/**
 * WC Custom Shop Page
 * Scoped, RTL-first styles that keep WooCommerce's native product markup.
 */

.wcsf-custom-shop-active {
	--wcsf-blue: #0059a9;
	--wcsf-blue-dark: #004889;
	--wcsf-yellow: #ffd000;
	--wcsf-ink: #252525;
	--wcsf-muted: #6d7682;
	--wcsf-line: #e3e7eb;
	--wcsf-soft: #f3f3f3;
	--wcsf-count: #dceaf7;
	--wcsf-panel-width: 440px;
}

.wcsf-container {
	box-sizing: border-box;
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.wcsf-shop,
.wcsf-product-groups,
.wcsf-category-hero,
.wcsf-shop-tools,
.wcsf-filter-panel {
	direction: rtl;
	text-align: right;
	
}
.shop-page-groupe{
   padding-inline: var(--space-8);
}
.wcsf-shop *,
.wcsf-product-groups *,
.wcsf-category-hero *,
.wcsf-shop-tools * {
	box-sizing: border-box;
}

.wcsf-product-groups {
	padding: 48px 0 54px;
	background: var(--wcsf-soft, #f3f3f3);
}

.wcsf-groups-title {
	margin: 0 0 42px;
	color: var(--wcsf-ink, #252525);
	font-size: clamp(1.65rem, 2.3vw, 2.25rem);
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
}

.wcsf-groups-grid {
	display: grid;
	grid-template-columns: repeat(var(--wcsf-group-columns, 4), minmax(0, 1fr));
	gap: 28px 18px;
	width: min(920px, 100%);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.wcsf-group-card,
.wcsf-group-card a {
	min-width: 0;
}

.wcsf-group-card a {
	display: block;
	color: var(--wcsf-ink, #252525);
	text-decoration: none;
}

.wcsf-group-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #e7e7e4;
}

.wcsf-group-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform 180ms ease;
}

.wcsf-group-name {
	display: block;
	min-height: 2.6em;
	padding: 10px 6px 0;
	font-size: 0.94rem;
	font-weight: 650;
	line-height: 1.55;
	text-align: center;
}

.wcsf-group-card a:hover .wcsf-group-image img {
	transform: scale(1.025);
}

/* Product-category heading and direct child category chips. */
.wcsf-category-hero {
	padding: 48px 0 44px;
	background: var(--wcsf-soft, #f3f3f3);
	margin-bottom: 32px;
}

.wcsf-category-title {
	margin-bottom: 0;
}

.wcsf-subcategory-navigation {
	margin-top: 30px;
}

.wcsf-subcategory-chips {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
	width:100%;
	margin: 0 auto;
	padding: 16px;
	list-style: none;
	overflow: auto;
}

.wcsf-subcategory-chip {

	flex: 0 1 245px;
}

.wcsf-subcategory-chip a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 8px 12px 8px 10px;
	border: 1px solid var(--wcsf-line, #e3e7eb);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 5px 18px rgb(22 38 55 / 5%);
	color: var(--wcsf-ink, #252525);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wcsf-subcategory-chip a:hover {
	border-color: #b8c9d8;
	box-shadow: 0 8px 24px rgb(22 38 55 / 10%);
	color: var(--wcsf-blue-dark, #004889);
	transform: translateY(-2px);
}

.wcsf-subcategory-media {
	display: block;
	overflow: hidden;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 9px;
	background: #f1f3f5;
}

.wcsf-subcategory-media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.wcsf-subcategory-name {
	min-width: 0;
	flex: 1 1 auto;
	font-size: 0.91rem;
	font-weight: 750;
	line-height: 1.65;
	white-space: nowrap;
}

.wcsf-subcategory-chip .dashicons {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	font-size: 18px;
	color: var(--wcsf-muted, #6d7682);
}

.wcsf-category-description {
	width: min(920px, 100%);
	margin: 28px auto 0;
	padding: 20px 22px;
	border: 1px solid var(--wcsf-line, #e3e7eb);
	border-radius: 12px;
	background: #fff;
	color: #4d5864;
	font-size: 0.95rem;
	line-height: 2;
}

.wcsf-category-description > :first-child,
.wcsf-category-description .term-description > :first-child {
	margin-top: 0;
}

.wcsf-category-description > :last-child,
.wcsf-category-description .term-description > :last-child {
	margin-bottom: 0;
}

.wcsf-shop-tools {
	position: relative;
	z-index: 20;
	padding: 26px 0 30px;
	background: #fff;
	border-top: 1px solid var(--wcsf-line, #e3e7eb);
	border-bottom: 1px solid var(--wcsf-line, #e3e7eb);
}

.wcsf-toolbar {
	display: flex;
	align-items: stretch;
	gap: 14px;
}

.wcsf-filter-trigger {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 128px;
	min-height: 54px;
	padding: 11px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--wcsf-yellow, #ffd000);
	color: #222;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.wcsf-filter-trigger:hover {
	background: #f3c600;
	color: #111;
	transform: translateY(-1px);
}

.wcsf-filter-trigger .dashicons {
	width: 22px;
	height: 22px;
	font-size: 22px;
}

.wcsf-selected-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
}

.wcsf-search-shell {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.wcsf-search-form {
	position: relative;
	display: flex;
	width: 100%;
	min-width: 0;
}

.wcsf-search-form input[type="search"] {
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 11px 54px 11px 18px;
	border: 1px solid transparent;
	border-radius: 9px;
	outline: 0;
	background: #f1f1f1;
	color: var(--wcsf-ink, #252525);
	font: inherit;
	line-height: 1.4;
	-webkit-appearance: none;
}

.wcsf-search-form input[type="search"]::placeholder {
	color: #8a9098;
	opacity: 1;
}

.wcsf-search-submit {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #7a838e;
	cursor: pointer;
}

.wcsf-search-submit:hover {
	color: var(--wcsf-blue, #0059a9);
}

.wcsf-search-spinner {
	width: 20px;
	height: 20px;
	border: 2px solid #b8c2cc;
	border-block-start-color: var(--wcsf-blue, #0059a9);
	border-radius: 50%;
	animation: wcsf-search-spin 700ms linear infinite;
}

.wcsf-search-shell.is-loading .dashicons-search {
	display: none;
}

.wcsf-live-search-results {
	position: absolute;
	inset-block-start: calc(100% + 9px);
	inset-inline: 0;
	z-index: 60;
	padding: 13px 14px 12px;
	border: 1px solid #d7e0e8;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(13, 42, 68, 0.16);
}

.wcsf-live-search-results[hidden],
.wcsf-search-spinner[hidden],
.wcsf-live-search-all[hidden] {
	display: none !important;
}

.wcsf-live-search-status {
	margin: 0 0 10px;
	color: var(--wcsf-muted, #6d7682);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.65;
}

.wcsf-live-search-status:empty {
	display: none;
}

.wcsf-live-search-list {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0 0 10px;
	list-style: none;
	scroll-padding-inline: 1px;
	scroll-snap-type: inline proximity;
	scrollbar-color: #aebdca #eef2f5;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.wcsf-live-search-list:empty {
	display: none;
}

.wcsf-live-search-list::-webkit-scrollbar {
	height: 8px;
}

.wcsf-live-search-list::-webkit-scrollbar-track {
	border-radius: 999px;
	background: #eef2f5;
}

.wcsf-live-search-list::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #aebdca;
}

.wcsf-live-product {
	flex: 0 0 clamp(224px, 26vw, 282px);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.wcsf-live-product > a {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 108px;
	padding: 9px;
	border: 1px solid #e1e7ec;
	border-radius: 9px;
	background: #fafbfc;
	color: var(--wcsf-ink, #252525);
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.wcsf-live-product > a:hover {
	border-color: #aac6dd;
	background: #f4f8fb;
	color: var(--wcsf-ink, #252525);
	transform: translateY(-1px);
}

.wcsf-live-product-media {
	display: block;
	overflow: hidden;
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	border-radius: 7px;
	background: #eceeed;
}

.wcsf-live-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.wcsf-live-product-details {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.wcsf-live-product-title {
	display: -webkit-box;
	overflow: hidden;
	color: #2d3339;
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.wcsf-live-product-price {
	margin-top: 5px;
	color: var(--wcsf-blue, #0059a9);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.55;
}

.wcsf-live-product-price del {
	color: #7e8790;
	font-size: 0.85em;
	opacity: 0.85;
}

.wcsf-live-product-price ins {
	text-decoration: none;
}

.wcsf-live-product-stock {
	display: inline-flex;
	margin-top: 6px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #e5f5ea;
	color: #276b3b;
	font-size: 0.68rem;
	font-weight: 750;
	line-height: 1.55;
}

.wcsf-live-product-stock.is-out-of-stock {
	background: #fbe8e8;
	color: #9a3030;
}

.wcsf-live-product-stock.is-backorder {
	background: #fff2cf;
	color: #755600;
}

.wcsf-live-search-all {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	margin-top: 9px;
	padding: 7px 12px;
	border-radius: 7px;
	background: var(--wcsf-blue, #0059a9);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
}

.wcsf-live-search-all:hover {
	background: var(--wcsf-blue-dark, #004889);
	color: #fff;
}

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

.wcsf-filter-overlay {
	position: fixed;
	inset: 0;
	z-index: 99997;
	display: block;
	background: rgba(18, 31, 47, 0.48);
	opacity: 0;
	visibility: hidden;
	transition: opacity 220ms ease, visibility 220ms ease;
}

.wcsf-filter-panel {
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	z-index: 99998;
	display: flex;
	width: min(var(--wcsf-panel-width, 440px), 100vw);
	height: 100vh;
	height: 100dvh;
	background: #fff;
	box-shadow: -18px 0 40px rgba(12, 39, 65, 0.16);
	transform: translateX(105%);
	visibility: hidden;
	transition: transform 260ms ease, visibility 260ms ease;
}

.wcsf-filter-panel.is-open,
.wcsf-filter-panel:target {
	transform: translateX(0);
	visibility: visible;
}

.wcsf-filter-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

body.wcsf-filter-open {
	overflow: hidden;
}

.wcsf-filter-header {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	padding: 16px 22px;
	background: var(--wcsf-blue, #0059a9);
	color: #fff;
}

.wcsf-filter-header h2 {
	margin: 0;
	color: inherit;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.4;
}

.wcsf-filter-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	text-decoration: none;
}

.wcsf-filter-close:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.wcsf-filter-close .dashicons {
	width: 26px;
	height: 26px;
	font-size: 26px;
}

.wcsf-filter-form {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding-top: 76px;
}

.wcsf-filter-content {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 26px 22px 28px;
	scrollbar-gutter: stable;
}

.wcsf-filter-intro {
	margin: 0 0 20px;
	color: var(--wcsf-muted, #6d7682);
	font-size: 0.9rem;
	line-height: 1.7;
}

.wcsf-category-tree,
.wcsf-category-children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcsf-category-item + .wcsf-category-item {
	margin-top: 4px;
}

.wcsf-category-row {
	display: flex;
	align-items: center;
	min-height: 46px;
	border-radius: 7px;
}

.wcsf-category-row:hover {
	background: #f6f8fa;
}

.wcsf-category-label {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 8px 10px;
	color: var(--wcsf-ink, #252525);
	font-size: 0.93rem;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.wcsf-category-label input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wcsf-blue, #0059a9);
}

.wcsf-category-name {
	overflow-wrap: anywhere;
}

.wcsf-category-count {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 26px;
	margin-inline-start: auto;
	padding: 0 7px;
	border-radius: 7px;
	background: var(--wcsf-count, #dceaf7);
	color: var(--wcsf-blue-dark, #004889);
	font-size: 0.76rem;
	font-weight: 700;
}

.wcsf-collapse-toggle {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #667282;
	cursor: pointer;
}

.wcsf-collapse-toggle:hover {
	background: #e9f0f7;
	color: var(--wcsf-blue, #0059a9);
}

.wcsf-collapse-toggle .dashicons {
	transition: transform 160ms ease;
}

.wcsf-collapse-toggle[aria-expanded="true"] .dashicons {
	transform: rotate(180deg);
}

.wcsf-category-children {
	margin: 2px 18px 9px 0;
	padding-right: 12px;
	border-right: 1px solid #e4e9ee;
}

.wcsf-filter-footer {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	padding: 18px 22px max(18px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--wcsf-line, #e3e7eb);
	background: #fff;
}

.wcsf-filter-apply.button,
.wcsf-filter-apply.button.alt {
	flex: 1 1 auto;
	min-height: 48px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: var(--wcsf-yellow, #ffd000);
	color: #222;
	font-weight: 800;
	line-height: 1.2;
}

.wcsf-filter-apply.button:hover,
.wcsf-filter-apply.button.alt:hover {
	background: #f3c600;
	color: #111;
}

.wcsf-filter-apply:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wcsf-filter-reset {
	flex: 0 0 auto;
	padding: 10px 4px;
	color: var(--wcsf-blue, #0059a9);
	font-size: 0.9rem;
	font-weight: 700;
}

.wcsf-catalog {
	padding-top: 30px;
	padding-bottom: 70px;
}

.wcsf-catalog::after,
.wcsf-catalog .woocommerce-notices-wrapper::after {
	display: table;
	clear: both;
	content: "";
}

.wcsf-catalog .woocommerce-result-count {
	margin: 11px 0 24px;
	color: var(--wcsf-muted, #6d7682);
	font-size: 0.9rem;
}

.wcsf-catalog .woocommerce-ordering {
	margin: 0 0 24px;
}

.wcsf-catalog .woocommerce-ordering select {
	min-height: 46px;
	padding: 8px 14px;
	border: 1px solid #c8d5e1;
	border-radius: 8px;
	background-color: #fff;
	color: var(--wcsf-blue-dark, #004889);
	font: inherit;
}

.wcsf-shop .wcsf-catalog ul.products {
	display: grid;
	clear: both;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 18px;
	margin: 0;
	padding: 0;
}

.wcsf-shop .wcsf-catalog ul.products::before,
.wcsf-shop .wcsf-catalog ul.products::after {
	display: none;
}

.wcsf-shop .wcsf-catalog ul.products li.product {
	position: relative;
	display: flex;
	float: none;
	flex-direction: column;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 14px 14px 16px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--wcsf-soft, #f3f3f3);
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wcsf-shop .wcsf-catalog ul.products li.product:hover {
	border-color: #dce4eb;
	box-shadow: 0 12px 26px rgba(30, 52, 72, 0.08);
	transform: translateY(-2px);
}

.wcsf-shop .wcsf-catalog ul.products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.wcsf-shop .wcsf-catalog ul.products li.product a img {
	width: 100%;
	height: auto;
	max-height: 280px;
	margin: 0 0 16px;
	aspect-ratio: 1 / 1;
	background: #ececeb;
	object-fit: contain;
}

.wcsf-shop .wcsf-catalog ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0 2px;
	color: #31363c;
	font-size: 0.96rem;
	font-weight: 650;
	line-height: 1.8;
	text-align: center;
}

.wcsf-shop .wcsf-catalog ul.products li.product .star-rating {
	margin: 8px auto 0;
}

.wcsf-shop .wcsf-catalog ul.products li.product .price {
	display: block;
	margin: 8px 0 14px;
	color: var(--wcsf-blue, #0059a9);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.65;
	text-align: center;
}

.wcsf-shop .wcsf-catalog ul.products li.product .price del {
	color: #7d8790;
	font-size: 0.82em;
	opacity: 0.8;
}

.wcsf-shop .wcsf-catalog ul.products li.product .price ins {
	text-decoration: none;
}

.wcsf-shop .wcsf-catalog ul.products li.product .button,
.wcsf-shop .wcsf-catalog ul.products li.product .added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: auto 0 0;
	padding: 11px 14px;
	border: 0;
	border-radius: 7px;
	background: var(--wcsf-blue, #0059a9);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
}

.wcsf-shop .wcsf-catalog ul.products li.product .button:hover,
.wcsf-shop .wcsf-catalog ul.products li.product .added_to_cart:hover {
	background: var(--wcsf-blue-dark, #004889);
	color: #fff;
}

.wcsf-shop .wcsf-catalog ul.products li.product .onsale {
	inset-block-start: 10px;
	inset-inline-start: 10px;
	inset-inline-end: auto;
	min-width: 48px;
	min-height: 30px;
	margin: 0;
	padding: 5px 9px;
	border-radius: 6px;
	background: var(--wcsf-yellow, #ffd000);
	color: #222;
	font-size: 0.75rem;
	line-height: 20px;
}

.wcsf-shop .woocommerce-pagination {
	margin-top: 40px;
}

.wcsf-shop .woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 0;
}

.wcsf-shop .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.wcsf-shop .woocommerce-pagination ul.page-numbers a,
.wcsf-shop .woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 6px;
	border: 1px solid #d5dfe7;
	border-radius: 7px;
	background: #fff;
	color: var(--wcsf-blue-dark, #004889);
}

.wcsf-shop .woocommerce-pagination ul.page-numbers .current,
.wcsf-shop .woocommerce-pagination ul.page-numbers a:hover {
	border-color: var(--wcsf-blue, #0059a9);
	background: var(--wcsf-blue, #0059a9);
	color: #fff;
}

.wcsf-shop :where(a, button, input, select):focus-visible,
.wcsf-product-groups :where(a, button, input, select):focus-visible,
.wcsf-category-hero :where(a, button, input, select):focus-visible,
.wcsf-shop-tools :where(a, button, input, select):focus-visible {
	outline: 3px solid #1b75bb;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.wcsf-shop .wcsf-catalog ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.wcsf-container {
		width: min(100% - 28px, 1180px);
	}

	.wcsf-product-groups {
		padding: 36px 0 40px;
	}

	.wcsf-category-hero {
		padding: 36px 0 34px;
	}

	.wcsf-groups-title {
		margin-bottom: 28px;
	}

	.wcsf-category-title {
		margin-bottom: 0;
	}

	.wcsf-groups-grid {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		width: 100%;
		padding: 0 2px 12px;
		scroll-padding-inline: 2px;
		scroll-snap-type: inline mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.wcsf-subcategory-chips {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		padding: 0 2px 12px;
		scroll-padding-inline: 2px;
		scroll-snap-type: inline mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.wcsf-subcategory-chip {
		flex: 0 0 min(245px, calc(100vw - 56px));
		scroll-snap-align: start;
	}

	.wcsf-group-card {
		flex: 0 0 154px;
		scroll-snap-align: start;
	}

	.wcsf-toolbar {
		gap: 9px;
	}

	.wcsf-filter-trigger {
		min-width: 108px;
		padding-inline: 13px;
	}

	.wcsf-shop .wcsf-catalog ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 15px 12px;
	}

	.wcsf-shop .wcsf-catalog ul.products li.product {
		padding: 10px 10px 12px;
	}
}

@media (max-width: 520px) {
	.wcsf-shop-tools {
		padding-block: 18px;
	}

	.wcsf-toolbar {
		flex-wrap: wrap;
	}

	.wcsf-toolbar.has-no-filter {
		flex-wrap: nowrap;
	}

	.wcsf-filter-trigger {
		order: 1;
		width: 100%;
		min-height: 50px;
	}

	.wcsf-search-shell {
		order: 0;
		flex-basis: 100%;
	}

	.wcsf-search-form input[type="search"] {
		min-height: 50px;
	}

	.wcsf-live-search-results {
		padding-inline: 10px;
	}

	.wcsf-category-description {
		padding: 16px;
		font-size: 0.9rem;
	}

	.wcsf-live-product {
		flex-basis: min(252px, calc(100vw - 64px));
	}

	.wcsf-live-product-media {
		flex-basis: 78px;
		width: 78px;
		height: 78px;
	}

	.wcsf-filter-header {
		height: 68px;
		padding-inline: 16px;
	}

	.wcsf-filter-form {
		padding-top: 68px;
	}

	.wcsf-filter-content,
	.wcsf-filter-footer {
		padding-inline: 16px;
	}

	.wcsf-catalog {
		padding-top: 24px;
		padding-bottom: 50px;
	}

	.wcsf-catalog .woocommerce-result-count,
	.wcsf-catalog .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	.wcsf-catalog .woocommerce-ordering select {
		width: 100%;
	}

	.wcsf-shop .wcsf-catalog ul.products {
		gap: 12px 8px;
	}

	.wcsf-shop .wcsf-catalog ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.84rem;
	}

	.wcsf-shop .wcsf-catalog ul.products li.product .price {
		font-size: 0.86rem;
	}

	.wcsf-shop .wcsf-catalog ul.products li.product .button,
	.wcsf-shop .wcsf-catalog ul.products li.product .added_to_cart {
		min-height: 44px;
		padding-inline: 8px;
		font-size: 0.78rem;
	}
}

@media (max-width: 360px) {
	.wcsf-shop .wcsf-catalog ul.products {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcsf-product-groups *,
	.wcsf-category-hero *,
	.wcsf-shop-tools *,
	.wcsf-shop * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
