/*
 * ShafaPump Product Filters
 * Modern 2026 Ecommerce Style
 */

:root {
	--shafa-red: #B8001F;
	--shafa-red-dark: #970019;
	--shafa-blue: #384B70;
	--shafa-text: #3f3f46;
	--shafa-dark: #232326;
	--shafa-muted: #71717a;
	--shafa-border: #e5e7eb;
	--shafa-light: #f5f5f5;
	--shafa-white: #fff;
}


/* =========================================================
   FILTER PANEL
   ========================================================= */

.shafa-filters {
	width: 100%;
	background: #fff;
	border: 1px solid var(--shafa-border);
	border-radius: 10px;
	overflow: hidden;
	direction: rtl;
	font-family: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.shafa-filters__header {
	height: 62px;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--shafa-border);
	background: #fff;
}

.shafa-filters__title-wrap {
	display: flex;
	align-items: center;
	gap: 9px;
}

.shafa-filters__icon {
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: var(--shafa-dark);
}

.shafa-filters__title-wrap > div:last-of-type {
	display: block;
}

.shafa-filters__title-wrap strong {
	font-size: 14px;
	font-weight: 700;
	color: var(--shafa-dark);
}

.shafa-filters__title-wrap span:not(.shafa-filters__active-count) {
	display: none;
}

.shafa-filters__active-count {
	display: none;
	margin-right: 5px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--shafa-red);
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700;
}

.shafa-filters__active-count.is-visible {
	display: inline-flex;
}

.shafa-filters__clear {
	border: 0;
	background: transparent;
	padding: 4px;
	color: var(--shafa-red);
	font-family: inherit;
	font-size: 11px;
	cursor: pointer;
}

.shafa-filters__clear:hover {
	text-decoration: underline;
}

.shafa-filters__mobile-close {
	display: none;
}


/* =========================================================
   FILTER GROUP
   ========================================================= */

.shafa-filter-group {
	border-bottom: 1px solid var(--shafa-border);
}

.shafa-filter-group:last-child {
	border-bottom: 0;
}


/* =========================================================
   FILTER TITLE
   ========================================================= */

.shafa-filter-group__toggle {
	width: 100%;
	height: 56px;
	padding: 0 16px;
	border: 0;
	background: #fff;
	color: var(--shafa-text);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: right;
	cursor: pointer;
	transition:
		color .15s ease,
		background-color .15s ease;
}

.shafa-filter-group__toggle:hover {
	background: #fafafa;
	color: var(--shafa-red);
}

.shafa-filter-group__toggle svg {
	width: 17px;
	height: 17px;
	color: #71717a;
	transition:
		transform .2s ease,
		color .2s ease;
}

.shafa-filter-group.is-open
.shafa-filter-group__toggle {
	color: var(--shafa-dark);
}

.shafa-filter-group.is-open
.shafa-filter-group__toggle svg {
	transform: rotate(180deg);
	color: var(--shafa-dark);
}


/* =========================================================
   OPTIONS
   ========================================================= */

.shafa-filter-group__content {
	display: none;
	padding: 0 16px 16px;
	background: #fff;
}

.shafa-filter-group.is-open
.shafa-filter-group__content {
	display: block;
}

.shafa-filter-options {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: 240px;
	overflow-y: auto;
	padding: 0;
}

.shafa-filter-options::-webkit-scrollbar {
	width: 3px;
}

.shafa-filter-options::-webkit-scrollbar-thumb {
	background: #d4d4d8;
	border-radius: 10px;
}


/* =========================================================
   OPTION
   ========================================================= */

.shafa-filter-option {
	min-height: 38px;
	padding: 5px 2px;
	display: flex;
	align-items: center;
	gap: 9px;
	background: transparent;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color .15s ease;
}

.shafa-filter-option:hover {
	background: #fafafa;
}

.shafa-filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}


/* =========================================================
   CHECKBOX
   ========================================================= */

.shafa-filter-option__check {
	width: 18px;
	height: 18px;
	border: 1px solid #a1a1aa;
	border-radius: 4px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 18px;
	transition:
		background .15s ease,
		border-color .15s ease,
		box-shadow .15s ease;
}

.shafa-filter-option input:checked
+ .shafa-filter-option__check {
	background: var(--shafa-red);
	border-color: var(--shafa-red);
	box-shadow: 0 2px 6px rgba(184, 0, 31, .14);
}

.shafa-filter-option input:checked
+ .shafa-filter-option__check::after {
	content: "";
	width: 9px;
	height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px);
}


/* =========================================================
   TEXT
   ========================================================= */

.shafa-filter-option__label {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	line-height: 1.8;
	color: var(--shafa-text);
	transition: color .15s ease;
}

.shafa-filter-option input:checked
~ .shafa-filter-option__label {
	color: var(--shafa-red);
	font-weight: 600;
}

.shafa-filter-option__count {
	font-size: 10px;
	color: #a1a1aa;
	direction: ltr;
}


/* =========================================================
   PRICE FILTER
   ========================================================= */

.shafa-price-filter {
	padding: 4px 0 2px;
}

.shafa-price-filter__values {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 22px;
}

.shafa-price-filter__value {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	font-size: 10px;
	color: var(--shafa-muted);
	white-space: nowrap;
}

.shafa-price-filter__value strong {
	font-size: 11px;
	font-weight: 700;
	color: var(--shafa-dark);
	direction: ltr;
	unicode-bidi: plaintext;
}


/* =========================================================
   PRICE RANGE SLIDER
   ========================================================= */

.shafa-price-range {
	position: relative;
	height: 32px;
	margin: 0 8px 17px;
}

.shafa-price-range__track,
.shafa-price-range__progress {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 5px;
	border-radius: 10px;
	transform: translateY(-50%);
}

.shafa-price-range__track {
	background: #e5e7eb;
	z-index: 1;
}

.shafa-price-range__progress {
	background: var(--shafa-red);
	z-index: 2;
}


/* =========================================================
   RANGE INPUTS
   ========================================================= */

.shafa-price-range__input {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 5px;
	margin: 0;
	padding: 0;
	background: transparent;
	transform: translateY(-50%);
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
	z-index: 3;
}

.shafa-price-range__input::-webkit-slider-runnable-track {
	height: 5px;
	background: transparent;
	border: 0;
}

.shafa-price-range__input::-moz-range-track {
	height: 5px;
	background: transparent;
	border: 0;
}

.shafa-price-range__input::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -6.5px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--shafa-red);
	box-shadow: 0 1px 5px rgba(0, 0, 0, .22);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
}

.shafa-price-range__input::-moz-range-thumb {
	width: 13px;
	height: 13px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--shafa-red);
	box-shadow: 0 1px 5px rgba(0, 0, 0, .22);
	cursor: pointer;
	pointer-events: auto;
}


/* =========================================================
   PRICE APPLY BUTTON
   ========================================================= */

.shafa-price-filter__apply {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 14px;
	border: 0;
	border-radius: 7px;
	background: var(--shafa-red);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition:
		opacity .15s ease,
		transform .15s ease,
		background-color .15s ease;
}

.shafa-price-filter__apply:hover {
	opacity: .94;
	background: var(--shafa-red-dark);
}

.shafa-price-filter__apply:active {
	transform: translateY(1px);
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.shafa-filter-products {
	width: 100%;
	min-width: 0;
}

.shafa-filter-results {
	width: 100%;
	min-width: 0;
	transition: opacity .2s ease;
}

.shafa-filter-results.is-loading {
	opacity: .45;
	pointer-events: none;
}


/* =========================================================
   MOBILE FILTER BUTTON
   ========================================================= */

.shafa-filter-open {
	display: none !important;
	width: 100%;
	height: 46px;
	margin-bottom: 14px;
	padding: 0 14px;
	border: 1px solid var(--shafa-border);
	border-radius: 10px;
	background: #fff;
	color: var(--shafa-dark);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	align-items: center;
	justify-content: center;
	gap: 7px;
	cursor: pointer;
	box-sizing: border-box;
}

.shafa-filter-open::before {
	display: none !important;
}

.shafa-filter-open__count {
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 50%;
	background: var(--shafa-red);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.shafa-filter-empty {
	min-height: 220px;
	border: 1px solid var(--shafa-border);
	border-radius: 10px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 25px;
	text-align: center;
}

.shafa-filter-empty strong {
	font-size: 14px;
	color: var(--shafa-dark);
}

.shafa-filter-empty span {
	font-size: 11px;
	color: var(--shafa-muted);
}


/* =========================================================
   OVERLAY
   ========================================================= */

.shafa-filter-overlay {
	display: none;
}


/* =========================================================
   LOADING
   ========================================================= */

.shafa-filters.is-loading {
	pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.shafa-filters__header {
		padding: 0 13px;
	}

	.shafa-filter-group__toggle {
		padding: 0 13px;
	}

	.shafa-filter-group__content {
		padding-right: 13px;
		padding-left: 13px;
	}

}


/* =========================================================
   MOBILE FILTER DRAWER
   ========================================================= */

@media (max-width: 767px) {

	body.shafa-filter-drawer-open {
		overflow: hidden !important;
	}

	.shafa-filter-open {
		display: flex !important;
	}

	.shafa-filters {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: auto !important;
		width: 88% !important;
		max-width: 380px !important;
		height: 100dvh !important;
		margin: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		z-index: 99999 !important;
		transform: translateX(105%) !important;
		visibility: hidden !important;
		display: flex !important;
		flex-direction: column !important;
		overflow: hidden !important;
		background: #fff !important;
		box-shadow: -5px 0 25px rgba(0,0,0,.12);
		transition:
			transform .25s ease,
			visibility 0s linear .25s;
	}

	.shafa-filters.is-mobile-open {
		transform: translateX(0) !important;
		visibility: visible !important;
		transition:
			transform .25s ease,
			visibility 0s linear 0s;
	}

	.shafa-filters__header {
		height: 62px !important;
		min-height: 62px !important;
		padding: 0 15px !important;
		flex: 0 0 auto !important;
	}

	.shafa-filters__mobile-close {
		display: flex !important;
		width: 32px !important;
		height: 32px !important;
		border: 1px solid var(--shafa-border) !important;
		border-radius: 7px !important;
		background: #fff !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 22px !important;
		color: var(--shafa-dark) !important;
		cursor: pointer !important;
	}

	.shafa-filters__body {
		flex: 1 1 auto !important;
		min-height: 0 !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		-webkit-overflow-scrolling: touch;
	}

	.shafa-filter-group__toggle {
		height: 58px !important;
		min-height: 58px !important;
		padding: 0 16px !important;
		font-size: 13px !important;
	}

	.shafa-filter-group__content {
		padding: 0 16px 15px !important;
	}

	.shafa-filter-option {
		min-height: 44px;
	}

	.shafa-filter-option__check {
		width: 19px;
		height: 19px;
		flex-basis: 19px;
	}

	.shafa-filter-option__label {
		font-size: 13px;
	}

	.shafa-filter-overlay {
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		background: rgba(0,0,0,.42) !important;
		z-index: 99998 !important;
	}

	.shafa-filter-overlay.is-visible {
		display: block !important;
	}

	.shafa-price-filter__values {
		margin-bottom: 24px;
	}

	.shafa-price-range {
		margin-left: 9px;
		margin-right: 9px;
	}

	.shafa-price-range__input::-webkit-slider-thumb {
		width: 20px;
		height: 20px;
		margin-top: -7.5px;
	}

	.shafa-price-range__input::-moz-range-thumb {
		width: 15px;
		height: 15px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.shafa-filters {
		width: 100% !important;
		max-width: none !important;
	}

}


/* =========================================================
   ARCHIVE PRODUCT CARDS
   ========================================================= */

.shafa-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.shafa-archive-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid #e9ebef;
	border-radius: 16px;
	overflow: hidden;
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.shafa-archive-card:hover {
	transform: translateY(-3px);
	border-color: #dfe3e8;
	box-shadow: 0 12px 30px rgba(33, 33, 33, .08);
}

.shafa-archive-card__image-link {
	display: block;
	text-decoration: none;
}

.shafa-archive-card__image-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 270px;
	padding: 22px;
	background: #fff;
	overflow: hidden;
}

.shafa-archive-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .3s ease;
}

.shafa-archive-card:hover
.shafa-archive-card__image {
	transform: scale(1.035);
}

.shafa-archive-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 18px 18px;
}

.shafa-archive-card__brand {
	margin-bottom: 5px;
	color: #858585;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
}

.shafa-archive-card__title {
	margin: 0 !important;
	min-height: 48px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.7 !important;
}

.shafa-archive-card__title a {
	display: -webkit-box;
	overflow: hidden;
	color: #212121;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.shafa-archive-card__title a:hover {
	color: var(--shafa-red);
}

.shafa-archive-card__specs {
	display: flex;
	flex-direction: column;
	margin-top: 11px;
	border-top: 1px solid #f0f1f3;
}

.shafa-archive-card__spec {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px solid #f0f1f3;
	font-size: 11.5px;
	line-height: 1.5;
}

.shafa-archive-card__spec-label {
	color: #858585;
	white-space: nowrap;
}

.shafa-archive-card__spec-value {
	color: #333;
	font-weight: 500;
	text-align: left;
}

.shafa-archive-card__footer {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin-top: auto;
	padding-top: 17px;
}

.shafa-archive-card__price {
	min-height: 27px;
	color: #212121;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	text-align: right;
}

.shafa-archive-card__price .amount {
	font-weight: 700;
}

.shafa-archive-card__price .woocommerce-Price-currencySymbol {
	margin-right: 3px;
	font-size: 12px;
	font-weight: 500;
}

.shafa-archive-card__button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 9px 14px;
	border-radius: 10px;
	background: var(--shafa-red);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	transition:
		background .2s ease,
		transform .2s ease;
}

.shafa-archive-card__button:hover {
	background: var(--shafa-red-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.shafa-archive-card__button span {
	font-size: 16px;
	line-height: 1;
}


/* =========================================================
   TABLET PRODUCT CARDS
   ========================================================= */

@media (max-width: 1199px) {

	.shafa-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.shafa-archive-card__image-wrap {
		height: 240px;
	}

	.shafa-archive-card__title {
		font-size: 13.5px !important;
		min-height: 47px !important;
	}

}


/* =========================================================
   MOBILE PRODUCT CARDS
   ========================================================= */

@media (max-width: 767px) {

	.shafa-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.shafa-archive-card {
		border-radius: 12px;
	}

	.shafa-archive-card__image-wrap {
		height: 180px;
		padding: 12px;
	}

	.shafa-archive-card__content {
		padding: 0 11px 11px;
	}

	.shafa-archive-card__brand {
		margin-bottom: 4px;
		font-size: 10px;
		line-height: 1.5;
	}

	.shafa-archive-card__title {
		min-height: 47px !important;
		font-size: 13px !important;
		font-weight: 500 !important;
		line-height: 1.65 !important;
	}

	.shafa-archive-card__specs {
		margin-top: 8px;
	}

	.shafa-archive-card__spec {
		gap: 5px;
		padding: 5px 0;
		font-size: 10px;
	}

	.shafa-archive-card__price {
		min-height: 24px;
		font-size: 13px;
		line-height: 1.6;
	}

	.shafa-archive-card__price .woocommerce-Price-currencySymbol {
		font-size: 9px;
	}

	.shafa-archive-card__button {
		display: flex !important;
		width: 100% !important;
		min-height: 38px !important;
		height: auto !important;
		padding: 7px 8px !important;
		border-radius: 8px !important;
		font-size: 11px !important;
		font-weight: 600 !important;
		line-height: 1.5 !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.shafa-archive-card__button span {
		font-size: 13px;
	}

}


/* =========================================================
   VERY SMALL MOBILE CARDS
   ========================================================= */

@media (max-width: 380px) {

	.shafa-archive-grid {
		gap: 8px;
	}

	.shafa-archive-card__image-wrap {
		height: 155px;
		padding: 9px;
	}

	.shafa-archive-card__content {
		padding: 0 9px 9px;
	}

	.shafa-archive-card__brand {
		font-size: 9px;
	}

	.shafa-archive-card__title {
		min-height: 44px !important;
		font-size: 12px !important;
		line-height: 1.65 !important;
	}

	.shafa-archive-card__price {
		font-size: 12px;
	}

	.shafa-archive-card__button {
		min-height: 36px !important;
		padding: 6px 6px !important;
		font-size: 10.5px !important;
	}

}


/* =========================================================
   CATEGORY CONTENT
   ========================================================= */

.shafa-category-content {
	width: 100%;
	direction: rtl;
	color: var(--shafa-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.95;
}

.shafa-category-content p {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 16px;
	line-height: 1.95;
}

.shafa-category-content h2 {
	margin-top: 34px;
	margin-bottom: 16px;
	color: var(--shafa-dark);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.55;
}

.shafa-category-content h3 {
	margin-top: 28px;
	margin-bottom: 13px;
	color: var(--shafa-dark);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}

.shafa-category-content h4 {
	margin-top: 22px;
	margin-bottom: 10px;
	color: var(--shafa-dark);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.shafa-category-content ul,
.shafa-category-content ol {
	margin-top: 0;
	margin-bottom: 20px;
	padding-right: 22px;
	padding-left: 0;
	font-size: 16px;
	line-height: 1.9;
}

.shafa-category-content li {
	margin-bottom: 8px;
}

.shafa-category-content a {
	color: var(--shafa-red); 
	text-decoration: none;
}

.shafa-category-content a:hover { 
	color: var(--shafa-red-dark); 
	text-decoration: underline; 
}

.shafa-category-content strong {
	font-weight: 700;
}

.shafa-category-content img {
	max-width: 100%;
	height: auto;
}


/* =========================================================
   CATEGORY CONTENT - TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.shafa-category-content {
		font-size: 15.5px;
		line-height: 1.9;
	}

	.shafa-category-content p {
		font-size: 15.5px;
		line-height: 1.9;
		margin-bottom: 17px;
	}

	.shafa-category-content h2 {
		font-size: 22px;
		line-height: 1.55;
		margin-top: 30px;
		margin-bottom: 15px;
	}

	.shafa-category-content h3 {
		font-size: 19px;
		line-height: 1.6;
		margin-top: 25px;
	}

	.shafa-category-content h4 {
		font-size: 17px;
	}

	.shafa-category-content ul,
	.shafa-category-content ol {
		font-size: 15.5px;
		line-height: 1.9;
		padding-right: 20px;
	}

}


/* =========================================================
   CATEGORY CONTENT - MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.shafa-category-content {
		font-size: 15px;
		line-height: 1.9;
	}

	.shafa-category-content p {
		font-size: 15px;
		line-height: 1.9;
		margin-bottom: 16px;
	}

	.shafa-category-content h2 {
		margin-top: 28px;
		margin-bottom: 14px;
		font-size: 20px;
		line-height: 1.55;
	}

	.shafa-category-content h3 {
		margin-top: 24px;
		margin-bottom: 12px;
		font-size: 18px;
		line-height: 1.6;
	}

	.shafa-category-content h4 {
		margin-top: 20px;
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 1.6;
	}

	.shafa-category-content ul,
	.shafa-category-content ol {
		margin-bottom: 18px;
		padding-right: 19px;
		font-size: 15px;
		line-height: 1.9;
	}

	.shafa-category-content li {
		margin-bottom: 7px;
	}

}


/* =========================================================
   CATEGORY CONTENT - SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.shafa-category-content {
		font-size: 14px;
		line-height: 1.9;
	}

	.shafa-category-content p {
		font-size: 14px;
		line-height: 1.9;
		margin-bottom: 15px;
	}

	.shafa-category-content h2 {
		margin-top: 25px;
		margin-bottom: 13px;
		font-size: 19px;
		line-height: 1.55;
	}

	.shafa-category-content h3 {
		margin-top: 22px;
		margin-bottom: 11px;
		font-size: 17px;
		line-height: 1.6;
	}

	.shafa-category-content h4 {
		font-size: 15.5px;
	}

	.shafa-category-content ul,
	.shafa-category-content ol {
		padding-right: 18px;
		font-size: 14px;
		line-height: 1.9;
	}

}


/* =========================================================
   VERY SMALL MOBILE CONTENT
   ========================================================= */

@media (max-width: 380px) {

	.shafa-category-content {
		font-size: 14px;
		line-height: 1.85;
	}

	.shafa-category-content p {
		font-size: 14px;
		line-height: 1.85;
	}

	.shafa-category-content h2 {
		font-size: 18px;
		line-height: 1.55;
	}

	.shafa-category-content h3 {
		font-size: 16px;
	}

	.shafa-category-content h4 {
		font-size: 15px;
	}

}


/* =========================================================
   CATEGORY TABS
   ========================================================= */

.shafa-category-tabs {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0 0 24px;
	padding: 0 2px;
	border: 0;
	border-bottom: 1px solid #eeeeF0;
	border-radius: 0;
	background: transparent;
	overflow-x: auto;
	scrollbar-width: none;
	direction: rtl;
}

.shafa-category-tabs::-webkit-scrollbar {
	display: none;
}

.shafa-category-tab {
	position: relative;
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 13px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #777;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.6;
	white-space: nowrap;
	cursor: pointer;
	transition:
		color .2s ease,
		background .2s ease;
}

.shafa-category-tab::after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: -1px;
	left: 10px;
	height: 2px;
	border-radius: 3px 3px 0 0;
	background: var(--shafa-red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.shafa-category-tab:hover {
	background: #fafafa;
	color: #212121;
	border-radius: 8px 8px 0 0;
}

.shafa-category-tab.is-active {
	background: transparent;
	color: var(--shafa-red);
	font-weight: 600;
}

.shafa-category-tab.is-active::after {
	transform: scaleX(1);
}


/* =========================================================
   SUBCATEGORY TABS
   ========================================================= */

.shafa-product-subcategories {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0 0 22px;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid #eceef1;
	direction: rtl;
}

.shafa-product-subcategories::-webkit-scrollbar {
	display: none;
}

.shafa-product-subcategories__list {
	display: flex;
	align-items: center;
	gap: 26px;
	min-width: max-content;
}

.shafa-product-subcategories__item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 1px;
	border: 0;
	background: transparent;
	color: #777;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: color .2s ease;
}

.shafa-product-subcategories__item::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	border-radius: 2px 2px 0 0;
	background: var(--shafa-red);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.shafa-product-subcategories__item:hover {
	color: #212121;
}

.shafa-product-subcategories__item.is-active {
	color: var(--shafa-red);
	font-weight: 600;
}

.shafa-product-subcategories__item.is-active::after {
	transform: scaleX(1);
}


/* =========================================================
   CATEGORY TABS - MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.shafa-category-tabs {
		gap: 5px;
		margin-bottom: 16px;
		padding: 4px;
		border: 1px solid #eceef1;
		border-radius: 10px;
		background: #fff;
	}

	.shafa-category-tab {
		min-height: 37px;
		padding: 7px 14px;
		border-radius: 8px;
		font-size: 11px;
	}

	.shafa-category-tab::after {
		display: none;
	}

	.shafa-category-tab:hover {
		border-radius: 8px;
	}

	.shafa-category-tab.is-active {
		background: #fff4f5;
		color: var(--shafa-red);
		box-shadow: 0 2px 7px rgba(184, 0, 31, .07);
	}

	.shafa-product-subcategories {
		margin-bottom: 16px;
	}

	.shafa-product-subcategories__list {
		gap: 20px;
	}

	.shafa-product-subcategories__item {
		min-height: 38px;
		font-size: 11px;
	}

}


/* =========================================================
   ARCHIVE PAGINATION
   ========================================================= */

.shafa-archive-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	margin: 34px 0 8px;
	padding: 0;
	border: 0;
	background: transparent;
	direction: rtl;
}

.shafa-pagination__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #384B70 0%, #B8001F 100%);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(56, 75, 112, .12);
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		opacity .2s ease;
}

.shafa-pagination__button:hover {
	background: linear-gradient(135deg, #384B70 0%, #B8001F 100%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 7px 18px rgba(184, 0, 31, .16);
}

.shafa-pagination__button.is-active {
	background: linear-gradient(135deg, #B8001F 0%, #384B70 100%);
	border: 0;
	color: #fff;
	box-shadow: 0 7px 20px rgba(184, 0, 31, .22);
	transform: translateY(-1px);
}

.shafa-pagination__button.is-active:hover {
	background: linear-gradient(135deg, #B8001F 0%, #384B70 100%);
	color: #fff;
	transform: translateY(-1px);
}

.shafa-pagination__prev,
.shafa-pagination__next {
	font-size: 24px;
	font-weight: 400;
}

.shafa-pagination__prev span,
.shafa-pagination__next span {
	display: block;
	font-family: Arial, sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	transform: translateY(-1px);
}

.shafa-pagination__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 40px;
	margin: 0 1px;
	color: #a0a5ad;
	font-size: 14px;
	font-weight: 600;
	user-select: none;
}


/* =========================================================
   PAGINATION LOADING
   ========================================================= */

.shafa-pagination__button.is-loading {
	pointer-events: none;
	opacity: .5;
}

.shafa-filter-results.is-loading
.shafa-archive-pagination {
	opacity: .6;
}


/* =========================================================
   AJAX LOADING
   ========================================================= */

.shafa-filter-results.is-loading {
	position: relative;
	min-height: 240px;
	pointer-events: none;
}

.shafa-filter-results.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 3px solid #e5e7eb;
	border-top-color: var(--shafa-red);
	border-radius: 50%;
	animation: shafaFilterSpin .7s linear infinite;
}

@keyframes shafaFilterSpin {
	to {
		transform: rotate(360deg);
	}
}


/* =========================================================
   PAGINATION - MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.shafa-archive-pagination {
		gap: 5px;
		margin-top: 28px;
		margin-bottom: 4px;
	}

	.shafa-pagination__button {
		width: 36px;
		min-width: 36px;
		height: 36px;
		border-radius: 10px;
		font-size: 11px;
	}

	.shafa-pagination__prev,
	.shafa-pagination__next {
		font-size: 21px;
	}

	.shafa-pagination__prev span,
	.shafa-pagination__next span {
		font-size: 21px;
	}

	.shafa-pagination__dots {
		width: 17px;
		height: 36px;
		font-size: 12px;
	}

}


/* =========================================================
   VERY SMALL MOBILE PAGINATION
   ========================================================= */

@media (max-width: 380px) {

	.shafa-archive-pagination {
		gap: 3px;
	}

	.shafa-pagination__button {
		width: 33px;
		min-width: 33px;
		height: 33px;
		border-radius: 9px;
	}

	.shafa-pagination__prev span,
	.shafa-pagination__next span {
		font-size: 19px;
	}

	.shafa-pagination__dots {
		width: 14px;
		height: 33px;
		font-size: 11px;
	}

}


/* =========================================================
   RESPONSIVE ARCHIVE STRUCTURE
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.elementor-container:has(.shafa-filters):has(.shafa-filter-products) {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.e-con:has(.shafa-filters):has(.shafa-filter-products) {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.elementor-container:has(.shafa-filters):has(.shafa-filter-products)
	> .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.elementor-element:has(> .shafa-filters),
	.elementor-element:has(> .elementor-widget-shortcode .shafa-filters) {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.elementor-element:has(> .shafa-filter-products),
	.elementor-element:has(> .elementor-widget-shortcode .shafa-filter-products) {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.shafa-filter-products,
	.shafa-filter-results,
	.shafa-archive-grid {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

}


/* =========================================================
   LANDSCAPE RESPONSIVE STRUCTURE
   0 تا 1024px
   ========================================================= */

@media (max-width: 1024px) and (orientation: landscape) {

	body.shafa-filter-drawer-open {
		overflow: hidden !important;
	}

	.elementor-container:has(.shafa-filters):has(.shafa-filter-products) {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		box-sizing: border-box !important;
	}

	.e-con:has(.shafa-filters):has(.shafa-filter-products) {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.elementor-element:has(.shafa-filters):has(.shafa-filter-products) {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.elementor-container:has(.shafa-filters):has(.shafa-filter-products)
	> .elementor-column {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		position: relative !important;
		left: auto !important;
		right: auto !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	.e-con:has(.shafa-filters):has(.shafa-filter-products)
	> .e-con,
	.e-con:has(.shafa-filters):has(.shafa-filter-products)
	> .elementor-element {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	.elementor-element:has(> .shafa-filters),
	.elementor-element:has(> .elementor-widget-shortcode .shafa-filters),
	.e-con:has(> .shafa-filters),
	.e-con:has(> .elementor-widget-shortcode .shafa-filters) {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.elementor-element:has(> .shafa-filter-products),
	.elementor-element:has(> .elementor-widget-shortcode .shafa-filter-products),
	.e-con:has(> .shafa-filter-products),
	.e-con:has(> .elementor-widget-shortcode .shafa-filter-products) {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.shafa-filter-open {
		display: flex !important;
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: 46px !important;
		min-height: 46px !important;
		margin: 0 0 14px !important;
		padding: 0 14px !important;
		box-sizing: border-box !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.shafa-filters {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: auto !important;
		width: 88vw !important;
		max-width: 380px !important;
		min-width: 0 !important;
		height: 100dvh !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: #fff !important;
		z-index: 99999 !important;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
		transform: translate3d(105%, 0, 0) !important;
		visibility: hidden !important;
		opacity: 1 !important;
		box-shadow: -5px 0 25px rgba(0,0,0,.12) !important;
		transition:
			transform .25s ease,
			visibility 0s linear .25s !important;
	}

	.shafa-filters.is-mobile-open {
		transform: translate3d(0, 0, 0) !important;
		visibility: visible !important;
		opacity: 1 !important;
		transition:
			transform .25s ease,
			visibility 0s linear 0s !important;
	}

	.shafa-filters__header {
		display: flex !important;
		width: 100% !important;
		height: 62px !important;
		min-height: 62px !important;
		flex: 0 0 62px !important;
		padding: 0 15px !important;
		box-sizing: border-box !important;
	}

	.shafa-filters__mobile-close {
		display: flex !important;
		width: 32px !important;
		min-width: 32px !important;
		height: 32px !important;
		min-height: 32px !important;
		border: 1px solid var(--shafa-border) !important;
		border-radius: 7px !important;
		background: #fff !important;
		align-items: center !important;
		justify-content: center !important;
		font-size: 22px !important;
		color: var(--shafa-dark) !important;
		cursor: pointer !important;
		box-sizing: border-box !important;
	}

	.shafa-filters__body {
		display: block !important;
		width: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		flex: 1 1 auto !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		-webkit-overflow-scrolling: touch !important;
		box-sizing: border-box !important;
	}

	.shafa-filter-overlay {
		display: none;
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		margin: 0 !important;
		padding: 0 !important;
		background: rgba(0,0,0,.42) !important;
		z-index: 99998 !important;
	}

	.shafa-filter-overlay.is-visible {
		display: block !important;
	}

	.shafa-filter-products,
	.shafa-filter-results {
		display: block !important;
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
		box-sizing: border-box !important;
		overflow: visible !important;
	}

	.shafa-archive-card {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.shafa-archive-card__content {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.shafa-archive-card__button {
		display: flex !important;
		width: 100% !important;
		min-width: 0 !important;
		visibility: visible !important;
		opacity: 1 !important;
		box-sizing: border-box !important;
	}

	.shafa-category-tabs,
	.shafa-product-subcategories {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	.elementor-element:has(.shafa-filter-products),
	.e-con:has(.shafa-filter-products) {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		transform: none !important;
		box-sizing: border-box !important;
	}

	.shafa-filters {
		transform: translate3d(105%, 0, 0) !important;
	}

	.shafa-filters.is-mobile-open {
		transform: translate3d(0, 0, 0) !important;
	}

}


/* =========================================================
   LANDSCAPE MOBILE
   زیر 768px
   3 ستون
   ========================================================= */

@media (max-width: 767px) and (orientation: landscape) {

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-auto-flow: row !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.shafa-archive-card {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		border-radius: 10px !important;
	}

	.shafa-archive-card__image-wrap {
		height: 145px !important;
		min-height: 145px !important;
		padding: 8px !important;
	}

	.shafa-archive-card__content {
		padding: 0 8px 8px !important;
	}

	.shafa-archive-card__brand {
		margin-bottom: 3px !important;
		font-size: 8.5px !important;
		line-height: 1.4 !important;
	}

	.shafa-archive-card__title {
		min-height: 40px !important;
		font-size: 10.5px !important;
		line-height: 1.55 !important;
	}

	.shafa-archive-card__specs {
		margin-top: 6px !important;
	}

	.shafa-archive-card__spec {
		gap: 4px !important;
		padding: 4px 0 !important;
		font-size: 8.5px !important;
	}

	.shafa-archive-card__price {
		min-height: 21px !important;
		font-size: 11px !important;
		line-height: 1.5 !important;
	}

	.shafa-archive-card__price .woocommerce-Price-currencySymbol {
		font-size: 8px !important;
	}

	.shafa-archive-card__button {
		min-height: 33px !important;
		padding: 5px !important;
		border-radius: 7px !important;
		font-size: 9.5px !important;
	}

	.shafa-archive-card__button span {
		font-size: 11px !important;
	}

}


/* =========================================================
   LANDSCAPE TABLET
   768 تا 1024px
   3 ستون
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

	.shafa-filter-open {
		display: flex !important;
		width: 100% !important;
		height: 44px !important;
		min-height: 44px !important;
		margin-bottom: 14px !important;
		font-size: 13px !important;
	}

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-auto-flow: row !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: 900px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.shafa-archive-card {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		border-radius: 12px !important;
	}

	.shafa-archive-card__image-wrap {
		height: 175px !important;
		min-height: 175px !important;
		padding: 12px !important;
	}

	.shafa-archive-card__content {
		padding: 0 11px 11px !important;
	}

	.shafa-archive-card__brand {
		font-size: 9.5px !important;
		margin-bottom: 3px !important;
	}

	.shafa-archive-card__title {
		font-size: 11.5px !important;
		min-height: 43px !important;
		line-height: 1.6 !important;
	}

	.shafa-archive-card__specs {
		margin-top: 7px !important;
	}

	.shafa-archive-card__spec {
		padding: 4px 0 !important;
		font-size: 9.5px !important;
	}

	.shafa-archive-card__price {
		min-height: 23px !important;
		font-size: 12px !important;
	}

	.shafa-archive-card__button {
		min-height: 36px !important;
		padding: 6px 7px !important;
		border-radius: 8px !important;
		font-size: 10px !important;
	}

	.shafa-filter-products,
	.shafa-filter-results {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	.shafa-filters {
		width: 380px !important;
		max-width: 88vw !important;
	}

}


/* =========================================================
   VERY SMALL MOBILE
   فقط حالت عمودی
   ========================================================= */

@media (max-width: 380px) and (orientation: portrait) {

	.shafa-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	.shafa-archive-card__image-wrap {
		height: 155px !important;
		min-height: 155px !important;
		padding: 9px !important;
	}

	.shafa-archive-card__content {
		padding: 0 9px 9px !important;
	}

}


/* =========================================================
   FINAL GRID CONTROL
   جلوگیری از برگشت ناخواسته به 2 ستون
   ========================================================= */

/* موبایل افقی = همیشه 3 ستون */
@media (max-width: 767px) and (orientation: landscape) {

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
		grid-auto-flow: row !important;
	}

}


/* تبلت افقی = همیشه 3 ستون */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
		grid-auto-flow: row !important;
	}

}


/* موبایل عمودی = 2 ستون */
@media (max-width: 767px) and (orientation: portrait) {

	.shafa-archive-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
		grid-auto-flow: row !important;
	}

}


/* =========================================================
   FINAL VISIBILITY RESET
   ========================================================= */

@media (max-width: 1024px) {

	.shafa-filter-products,
	.shafa-filter-results,
	.shafa-archive-grid,
	.shafa-archive-card {
		visibility: visible !important;
		opacity: 1 !important;
	}

	.shafa-filter-products,
	.shafa-filter-results {
		display: block !important;
	}

	.shafa-archive-grid {
		display: grid !important;
	}

}