/* Category archive — match eynakchi-category.html + production screenshots */
body.eyn-native-category-archive {
	background: #f2f2f2;
	--maincolor: #303f34;
	--offbgcolor: #ff4242;
	--secondcolor: #c39052;
	--borderradius: 15px;
	--mainfont: var(--eyn-font);
	--mainfontnum: var(--eyn-font);
}

.eyn-wc-archive {
	padding: 0 0 28px;
	background: #f2f2f2;
	font-family: var(--eyn-font);
	color: #333;
}

.eyn-wc-archive .eyn-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 15px;
}

.eyn-wc-archive__breadcrumb-row {
	margin: 10px 0 12px;
}

.eyn-wc-archive .woocommerce-breadcrumb {
	display: block;
	background: #f8f1e9;
	border: 1px solid #fff;
	border-radius: 15px;
	padding: 10px 15px;
	margin: 0;
	color: #414648;
	font-size: 12px;
	line-height: 1.4;
	font-family: var(--eyn-font);
	box-shadow: none;
}

.eyn-wc-archive__layout.row {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	margin: 0 -10px;
}

.eyn-wc-archive__sidebar,
.eyn-wc-archive__main {
	padding: 0 10px;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 1025px) {
	.eyn-wc-archive__sidebar.col-lg-4 {
		flex: 0 0 24.665%;
		max-width: 24.665%;
	}

	.eyn-wc-archive__main.col-lg-8 {
		flex: 0 0 75%;
		max-width: 75%;
	}
}

.eyn-wc-archive__main .woocommerce-products-header {
	display: block;
	width: 100%;
	clear: both;
	margin: 0 0 4px;
}

.eyn-wc-archive__main .woocommerce-products-header__title,
.eyn-wc-archive__main .elementor-heading-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	font-family: var(--eyn-font);
	line-height: 1.6;
}

.eyn-wc-archive .shop-control-bar {
	display: block;
	width: 100%;
	clear: both;
	font-family: var(--eyn-font);
	overflow: hidden;
}

.eyn-wc-archive .shop-control-bar.clear::after {
	content: "";
	display: table;
	clear: both;
}

@media (min-width: 769px) {
	.eyn-wc-archive .shop-control-bar.order_as_list {
		background: #fff;
		padding: 5px 15px;
		border-radius: var(--borderradius, 15px);
		margin: 0 0 12px;
		color: #555;
	}

	.eyn-wc-archive .order_as_list .woocommerce-result-count {
		float: left;
		margin: 0 0 0 5px;
		line-height: 35px;
		color: #707070;
		font-size: 12px;
	}

	.eyn-wc-archive .order_as_list .woocommerce-ordering,
	.eyn-wc-archive .order_as_list .el-instock-switch {
		display: none !important;
	}

	.eyn-wc-archive .el_category_orderby {
		float: right;
		display: inline-block;
		list-style: none;
		margin: 0;
		padding: 4px 26px 2px 0;
		position: relative;
		vertical-align: middle;
		white-space: nowrap;
		width: auto;
		max-width: calc(100% - 220px);
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
	}

	.eyn-wc-archive .el_category_orderby::-webkit-scrollbar {
		display: none;
	}

	.eyn-wc-archive .el_category_orderby::before {
		display: inline-block;
		content: attr(data-label);
		margin-left: 5px;
		font-size: 12px;
		line-height: 25px;
		vertical-align: middle;
		color: #555;
		white-space: nowrap;
	}

	.eyn-wc-archive .el_category_orderby::after {
		position: absolute;
		top: calc(50% - 5px);
		right: 7px;
		opacity: 0.8;
		content: "";
		display: inline-block;
		border: 1px solid #dedede;
		width: 5px;
		height: 10px;
		border-radius: 4px;
	}

	.eyn-wc-archive .el_category_orderby li {
		display: inline-block;
		list-style: none;
		margin: 0 0 0 7px;
		padding: 2px 8px;
		font-size: 11px;
		line-height: 21px;
		vertical-align: middle;
		border-radius: 4px;
		white-space: nowrap;
		cursor: pointer;
		color: #555;
		transition: background-color 0.3s ease, color 0.3s ease;
	}

	.eyn-wc-archive .el_category_orderby li.is_active {
		color: #fff;
		background: var(--maincolor, #303f34);
	}

	.eyn-wc-archive .el_category_orderby li:hover {
		color: #fff;
		background: hsl(0deg 0% 0% / 12%);
	}

	.eyn-wc-archive .el_category_orderby li.is_active:hover {
		background: var(--maincolor, #303f34);
	}
}

.eyn-wc-archive .woocommerce-result-count {
	font-size: 12px;
	color: #555;
	line-height: 28px;
}

.eyn-wc-archive .archive_filter_btn {
	display: none;
}

.eyn-wc-archive .archive_filter_btn svg,
.eyn-wc-archive .shop-control-bar .woocommerce-ordering svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.eyn-wc-archive__sidebar {
		display: none !important;
	}

	.eyn-wc-archive .archive_filter_btn.is_fixed {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}

.eyn-wc-archive ul.products.row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 8px -8px 0;
	padding: 0;
	list-style: none;
}

.eyn-wc-archive ul.products.row > .item,
.eyn-wc-archive ul.products.row > div {
	padding: 0 8px 16px;
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.eyn-wc-archive ul.products.row > .col-lg-3 {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (max-width: 991px) {
	.eyn-wc-archive ul.products.row > .col-6,
	.eyn-wc-archive ul.products.row > .col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* Cards — production spacing (white card, 15px radius, soft shadow) */
.eyn-wc-archive .item .item-area {
	padding: 10px 10px 12px;
	background: #fff;
	border-radius: 15px;
	margin-bottom: 0;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
	height: calc(100% - 0px);
}

.eyn-wc-archive .item .item-area .product-image-area {
	position: relative;
	margin-bottom: 12px;
}

.eyn-wc-archive .item .item-area .product-image-area .product-image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 15px;
	background: #f4f4f4;
}

.eyn-wc-archive .back_img {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.eyn-wc-archive .back_img img {
	position: absolute !important;
	opacity: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.eyn-wc-archive .item .item-area .product-image-area:hover .back_img img {
	opacity: 1;
	background: #f4f4f4;
	z-index: 2;
}

.eyn-wc-archive .item .item-area .product-image-area .product-image img {
	width: 100%;
	height: 100%;
	max-height: none !important;
	object-fit: contain;
	margin: 0 auto;
	display: block;
	border-radius: 15px;
	background: #f4f4f4;
}

/* Out of stock — light dim overlay, hover swap like in-stock */
.eyn-wc-archive .item.outofstock .item-area .product-image-area img,
.eyn-wc-archive .item .item-area.outofstock .product-image-area img {
	filter: grayscale(1);
}

.eyn-wc-archive .item.outofstock .item-area .product-image-area .back_img img,
.eyn-wc-archive .item .item-area.outofstock .product-image-area .back_img img {
	opacity: 0;
}

.eyn-wc-archive .item.outofstock .item-area .product-image-area:hover .back_img img,
.eyn-wc-archive .item .item-area.outofstock .product-image-area:hover .back_img img {
	opacity: 1;
}

.eyn-wc-archive .item.outofstock .item-area .product-image-area::after,
.eyn-wc-archive .item .item-area.outofstock .product-image-area::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 15px;
	background: rgba(0, 0, 0, 0.18);
	pointer-events: none;
	z-index: 1;
}

.eyn-wc-archive .products .item.outofstock:hover .item-area,
.eyn-wc-archive .products .item .item-area.outofstock:hover {
	filter: none;
}

.eyn-wc-archive .item.outofstock .item-area .product-detail-area .price,
.eyn-wc-archive .item .item-area.outofstock .product-detail-area .price {
	display: none !important;
}

.eyn-wc-archive .item.outofstock .item-area .add_to_cart_button,
.eyn-wc-archive .item.outofstock .item-area .button,
.eyn-wc-archive .item .item-area.outofstock .add_to_cart_button,
.eyn-wc-archive .item .item-area.outofstock .button {
	opacity: 0.45;
	filter: grayscale(1);
}

.eyn-wc-archive .eyn-archive-oos-badge {
	display: block !important;
	position: absolute;
	top: 8px;
	left: 8px;
	right: auto;
	z-index: 6;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	background: #8a8a8a;
	box-shadow: none;
	pointer-events: none;
	white-space: nowrap;
	transform: none !important;
	-moz-transform: none !important;
	-webkit-transform: none !important;
}

.eyn-wc-archive .eyn-archive-oos-badge::before,
.eyn-wc-archive .eyn-archive-oos-badge::after {
	display: none !important;
	content: none !important;
}

.eyn-wc-archive .eyn-archive-oos-badge span {
	display: block;
	transform: none !important;
	-moz-transform: none !important;
	-webkit-transform: none !important;
	position: static;
	top: auto;
}

.eyn-wc-archive .item.outofstock .item-area .product-label,
.eyn-wc-archive .item.outofstock .item-area .fire-badge,
.eyn-wc-archive .item .item-area.outofstock .product-label,
.eyn-wc-archive .item .item-area.outofstock .fire-badge {
	display: none !important;
}

.eyn-wc-archive .fire-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 42px;
	height: 42px;
	z-index: 5;
	pointer-events: none;
}

.eyn-wc-archive .fire-badge img {
	width: 100%;
	height: auto;
	display: block;
}

.eyn-wc-archive .onsale {
	display: none !important;
}

.eyn-wc-archive .product-label {
	top: 10px;
	right: 10px;
	left: auto;
	width: 34px;
	height: 34px;
	line-height: 34px;
	border-radius: 67% 33% 33% 67% / 50% 49% 51% 50%;
	background: #ff4242;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
}

.eyn-wc-archive .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	font-size: 14px;
	font-weight: 600;
	color: #303f34;
}

.eyn-wc-archive .price del {
	position: relative;
	display: inline-block;
	order: 2;
	font-size: 12px;
	font-weight: 400;
	color: #9a9a9a;
	text-decoration: none;
	margin-left: 5px;
}

.eyn-wc-archive .price del span {
	text-decoration: none;
	filter: grayscale(100%);
}

.eyn-wc-archive .price del::after {
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: #f44336;
	position: absolute;
	right: 0;
	left: 0;
	top: 50%;
	transform: rotate(-10deg);
}

.eyn-wc-archive .price del .woocommerce-Price-currencySymbol {
	display: none;
}

.eyn-wc-archive .price ins {
	text-decoration: none;
	font-weight: 600;
	color: #303f34;
}

.eyn-wc-archive .eyn-card-rating {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	gap: 3px;
	height: 24px;
	margin: 2px auto 8px;
	padding: 0 6px 0 2px;
	border-radius: 8px;
	background: #fff;
	line-height: 1;
}

.eyn-wc-archive .eyn-card-rating svg {
	width: 14px;
	height: 14px;
	display: block;
	flex: 0 0 14px;
	fill: #f5b400;
}

.eyn-wc-archive .eyn-card-rating span {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: #666;
	line-height: 1;
}

.eyn-wc-archive .item .item-area .price {
	position: absolute;
	left: 48px;
	right: 10px;
	bottom: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 32px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.2;
	color: #303f34;
	font-family: var(--eyn-font);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eyn-wc-archive .item .item-area .product-name {
	font-size: 13px;
	line-height: 22px;
	min-height: 44px;
	max-height: none;
	margin: 0 0 8px;
	padding: 0;
	color: #626060;
	font-weight: 600;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: clip;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.eyn-wc-archive .item .item-area .product-name a {
	color: inherit;
	text-decoration: none;
}

.eyn-wc-archive .prd_term_list,
.eyn-wc-archive .elm_txt_l.custom_label:not(.eyn-archive-oos-badge) {
	display: none !important;
}

.eyn-wc-archive .item .item-area {
	position: relative;
}

.eyn-wc-archive .item .item-area .actions {
	position: absolute;
	left: 10px;
	bottom: 12px;
	margin: 0;
	min-height: 0;
}

.eyn-wc-archive .item .item-area .product-detail-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding-bottom: 40px;
}

.eyn-wc-archive .item .item-area .actions .add-to-links,
.eyn-wc-archive .item .item-area .actions .add-to-links li,
.eyn-wc-archive .item .item-area .add-to-cart-wrap {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 32px;
	height: 32px;
}

.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #f3f3f3;
	color: #555;
	line-height: 1;
	box-shadow: none;
	text-decoration: none;
	overflow: hidden;
}

.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button svg {
	width: 16px;
	height: 16px;
	display: block;
	stroke: #555;
	flex-shrink: 0;
}

.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:hover {
	background: #303f34;
	color: #fff;
}

.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:hover svg {
	stroke: #fff;
}

/* Filters */
.eyn-wc-archive .widget.wt_filter {
	margin: 0 0 12px;
	box-shadow: none;
	background: transparent;
}

.eyn-wc-archive .wt_title {
	display: block;
	background: rgba(0, 0, 0, 0.05);
	color: #505050;
	line-height: 35px;
	height: 35px;
	font-size: 11px;
	font-weight: 500;
	padding: 0 16px;
	border-radius: 8px;
	margin: 0 0 8px;
}

.eyn-wc-archive .widget.wt_filter .widget-content {
	padding: 4px 6px 8px;
	font-size: 12px;
	color: #444;
}

/* Desktop sidebar filters */
.eyn-wc-archive__sidebar .widget.wt_filter a {
	color: var(--secondcolor, #c39052);
	text-decoration: none;
	font-size: 12px;
}

.eyn-wc-archive__sidebar .widget_layered_nav ul,
.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list {
	list-style: none;
	margin: 0 !important;
	padding: 0;
	max-height: 200px;
	overflow-x: visible;
	overflow-y: auto;
	scrollbar-width: thin;
}

#eyn-filter-sidebar .woocommerce-widget-layered-nav-list li {
	display: flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	margin: 0;
	padding: 0 0 7px;
	position: relative;
	box-sizing: border-box;
	line-height: 22px;
	min-height: 28px;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list li {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 8px;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0 0 7px;
	position: relative;
	box-sizing: border-box;
	line-height: 22px;
	min-height: 28px;
	direction: rtl;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list li::before,
.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list li::after,
#eyn-filter-sidebar .woocommerce-widget-layered-nav-list li::before,
#eyn-filter-sidebar .woocommerce-widget-layered-nav-list li::after {
	display: none !important;
	content: none !important;
}

a.eyn-filter-term-link {
	padding-right: 25px !important;
}

.eyn-wc-archive a.eyn-filter-term-link,
.eyn-wc-archive span.eyn-filter-term-link {
	display: block;
	position: relative;
	box-sizing: border-box;
	margin: 0;
	line-height: 20px;
	font-size: 12px;
	text-decoration: none;
	overflow: visible;
	white-space: normal;
	word-break: break-word;
	text-align: right;
}

.eyn-wc-archive__sidebar a.eyn-filter-term-link,
.eyn-wc-archive__sidebar span.eyn-filter-term-link {
	grid-column: 1;
	padding-top: 3px;
	padding-bottom: 4px;
	padding-left: 8px;
	color: var(--secondcolor, #c39052);
}

#eyn-filter-sidebar a.eyn-filter-term-link,
#eyn-filter-sidebar span.eyn-filter-term-link {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 8px;
	color: #434343;
}

.eyn-wc-archive a.eyn-filter-term-link::before {
	display: block !important;
	content: "" !important;
	position: absolute;
	top: 3px;
	right: 0;
	width: 19px;
	height: 19px;
	border: 1px solid #eee;
	border-radius: 3px;
	background: #fff;
	box-sizing: border-box;
	z-index: 0;
}

.eyn-wc-archive span.eyn-filter-term-link--disabled::before {
	display: block !important;
}

.eyn-wc-archive a.eyn-filter-term-link::after {
	display: none !important;
	content: none !important;
}

.eyn-wc-archive .woocommerce-widget-layered-nav-list li.chosen a.eyn-filter-term-link::after,
.eyn-wc-archive .woocommerce-widget-layered-nav-list li:hover a.eyn-filter-term-link::after {
	display: block !important;
	content: "" !important;
	position: absolute;
	right: 7px;
	top: 7px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	transform: rotate(45deg);
	pointer-events: none;
	z-index: 1;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list li .count {
	grid-column: 2;
	justify-self: start;
	position: static;
	margin: 0;
	padding: 0 4px;
	font-size: 10px;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
	line-height: 20px;
}

#eyn-filter-sidebar .woocommerce-widget-layered-nav-list li .count {
	flex: 0 0 auto;
	position: static;
	margin: 0 0 0 2px;
	padding: 0 4px;
	font-size: 10px;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
	line-height: 20px;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-list li .count {
	color: var(--secondcolor, #c39052);
	opacity: 0.9;
}

#eyn-filter-sidebar .woocommerce-widget-layered-nav-list li .count {
	color: #9a9a9a;
}

/* Beat wc-archive-parity list defaults inside archive filters */
#eyn-filter-sidebar .woocommerce .widget_layered_nav ul li {
	padding: 0 0 7px !important;
	width: 100% !important;
	display: flex !important;
}

.eyn-wc-archive__sidebar .woocommerce .widget_layered_nav ul li {
	padding: 0 0 7px !important;
	width: 100% !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 8px;
	align-items: center;
	direction: rtl;
}

.eyn-wc-archive .woocommerce .widget_layered_nav ul li a.eyn-filter-term-link,
.eyn-wc-archive .woocommerce .widget_layered_nav ul li span.eyn-filter-term-link {
	margin-bottom: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.eyn-wc-archive__sidebar .woocommerce .widget_layered_nav ul li a.eyn-filter-term-link,
.eyn-wc-archive__sidebar .woocommerce .widget_layered_nav ul li span.eyn-filter-term-link {
	padding-top: 3px !important;
	padding-bottom: 4px !important;
	padding-left: 8px !important;
	overflow: visible !important;
	white-space: normal !important;
}

#eyn-filter-sidebar .woocommerce .widget_layered_nav ul li a.eyn-filter-term-link,
#eyn-filter-sidebar .woocommerce .widget_layered_nav ul li span.eyn-filter-term-link {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
	padding-left: 8px !important;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-dropdown {
	display: block;
	margin: 0;
}

.eyn-wc-archive__sidebar .woocommerce-widget-layered-nav-dropdown .select2-container {
	margin: 0;
}

/* Mobile drawer — list row layout uses shared rules above */
#eyn-filter-sidebar .woocommerce-widget-layered-nav-list {
	list-style: none;
	margin: 0 !important;
	padding: 0;
}

#eyn-filter-sidebar .widget.wt_filter a {
	color: #434343;
}

.eyn-wc-archive .woocommerce-widget-layered-nav-dropdown select,
#eyn-filter-sidebar .woocommerce-widget-layered-nav-dropdown select {
	width: 100%;
	height: 38px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
	font-family: var(--eyn-font);
	font-size: 12px;
	color: #666;
	padding: 0 10px;
}

.eyn-wc-archive .woocommerce-widget-layered-nav-dropdown__submit {
	display: none !important;
}

.eyn-wc-archive .select2-container,
#eyn-filter-sidebar .select2-container {
	width: 100% !important;
}

.eyn-wc-archive .select2-container--default .select2-selection--single,
#eyn-filter-sidebar .select2-container--default .select2-selection--single {
	height: 38px;
	border: 1px solid #eee;
	border-radius: 8px;
	background: #fff;
}

.eyn-wc-archive .select2-container--default .select2-selection--single .select2-selection__rendered,
#eyn-filter-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 38px;
	font-size: 12px;
	color: #888;
	padding-right: 28px;
	padding-left: 10px;
}

.eyn-wc-archive__sidebar .select2-container--default .select2-selection--single {
	margin: 0;
}

.eyn-wc-archive .select2-container--default .select2-selection--single .select2-selection__arrow,
#eyn-filter-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 36px;
	left: 6px;
	right: auto;
}

.eyn-wc-archive .woocommerce-ordering {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	float: none;
	margin: 0;
}

.eyn-wc-archive .woocommerce-ordering .orderby {
	display: inline-block;
	padding: 0 5px 0 0;
	vertical-align: middle;
	line-height: 14px;
	border: none;
	border-radius: 5px;
	color: #555;
	font-family: var(--eyn-font);
	font-size: 12px;
	max-width: 173px;
	height: 30px;
	background-color: inherit;
	box-shadow: none;
	outline: none;
	appearance: auto;
}

.eyn-wc-archive .woocommerce-ordering .orderby:focus {
	border-color: var(--maincolor);
	outline: none;
}

.eyn-wc-archive .el-instock-switch {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0 9px 0 0;
	gap: 0;
}

.eyn-wc-archive .el-instock-switch p {
	margin: 0;
	padding-right: 10px;
	font-size: 12px;
	line-height: 18px;
	color: #555;
}

.eyn-wc-archive .ui_input_switch {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 18px;
	flex: 0 0 34px;
	padding: 0;
	line-height: 18px;
}

.eyn-wc-archive .ui_input_switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.eyn-wc-archive .ui_input_switch .slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	border: 1px solid #878990;
	background: #fff;
	border-radius: 15px;
	transition: 0.4s;
}

.eyn-wc-archive .ui_input_switch .slider::before {
	content: "";
	position: absolute;
	height: 10px;
	width: 10px;
	left: 4px;
	bottom: 2px;
	border: 1px solid #878990;
	border-radius: 50%;
	background: #fff;
	transition: 0.4s;
}

.eyn-wc-archive .ui_input_switch input:checked + .slider {
	background: #00cc67;
	border-color: #08a95a;
}

.eyn-wc-archive .ui_input_switch input:checked + .slider::before {
	transform: translateX(13px);
	border-color: #08a95a;
}

.eyn-wc-archive .ui_input_switch input:focus + .slider {
	box-shadow: 0 0 5px -1px #ff675f;
}

/* Mobile sort bar */
@media (max-width: 768px) {
	.eyn-wc-archive .eyn-container {
		padding-left: 6px;
		padding-right: 6px;
	}

	.eyn-wc-archive__main.col-lg-8,
	.eyn-wc-archive__main {
		padding-left: 4px;
		padding-right: 4px;
	}

	.eyn-wc-archive ul.products.row {
		margin-left: -3px;
		margin-right: -3px;
		margin-top: 6px;
	}

	.eyn-wc-archive ul.products.row > .item,
	.eyn-wc-archive ul.products.row > div {
		flex: 0 0 50%;
		max-width: 50%;
		padding: 0 3px 14px;
	}

	.eyn-wc-archive .el_category_orderby {
		display: none !important;
	}

	.eyn-wc-archive .shop-control-bar {
		background: transparent;
		padding: 0;
	}

	.eyn-wc-archive .woocommerce-ordering {
		width: 100%;
		justify-content: space-between;
		margin: 4px 0 10px;
	}

	.eyn-wc-archive .woocommerce-ordering > svg {
		width: 22px;
		height: 22px;
		color: #444;
	}


	.eyn-wc-archive .item .item-area {
		padding: 10px 10px 44px;
		box-shadow: 0 1px 9px -2px rgba(0, 0, 0, 0.12);
	}

	.eyn-wc-archive .item .item-area .product-image-area,
	.eyn-wc-archive .item .item-area.general_mobile .product-image-area,
	.eyn-wc-archive .item .item-area.general_mobile .product-image-area .product-image {
		margin: 0 0 12px;
		padding: 0;
		min-height: 196px;
		width: 100%;
		box-sizing: border-box;
	}

	.eyn-wc-archive .item .item-area .product-image-area .product-image {
		min-height: 196px;
	}

	.eyn-wc-archive .item .item-area .product-name,
	.eyn-wc-archive .item .item-area .woocommerce-loop-product__title {
		width: 100%;
		max-width: 100%;
		height: auto !important;
		min-height: 20px;
		max-height: 40px;
		margin: 10px 0 8px;
		padding: 0;
		font-size: 12px;
		line-height: 20px;
		font-weight: 600;
		letter-spacing: normal;
		text-align: center;
		direction: rtl;
		overflow: hidden;
		display: -webkit-box !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		text-overflow: clip;
		white-space: normal;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.eyn-wc-archive .item .item-area .product-name a {
		display: inline;
		white-space: normal;
	}

	.eyn-wc-archive .item .item-area .product-detail-area {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding-left: 0;
		padding-right: 0;
	}

	.eyn-wc-archive .eyn-card-rating {
		margin: 0 auto 6px;
	}

	.eyn-wc-archive .item .item-area .price {
		left: 46px;
		right: 4px;
		bottom: 8px;
		font-size: 13px;
		min-height: 32px;
	}

	.eyn-wc-archive .item .item-area .actions {
		position: absolute;
		left: 10px;
		bottom: 8px;
	}

	.eyn-wc-archive .item .item-area {
		position: relative;
	}
}

.eyn-wc-archive .is_fixed.archive_filter_btn {
	position: fixed !important;
	background: #303f34;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	bottom: 18px;
	left: 16px;
	right: auto;
	z-index: 997;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.eyn-wc-archive .is_fixed.archive_filter_btn svg {
	stroke: #fff;
	width: 20px;
	height: 20px;
	margin: 0;
}

/* Filter drawer — markup is outside .eyn-wc-archive */
#eyn-filter-sidebar.togglesidebar.filter_sidebar {
	width: min(100vw, 320px);
	background: #f9f9f9;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
	direction: rtl;
	text-align: right;
	left: auto;
	right: 0;
}

#eyn-filter-sidebar .cart_sidebar_wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100vh;
	max-height: 100vh;
	overflow: hidden;
}

#eyn-filter-sidebar .cart_sidebar_head {
	flex: 0 0 auto;
	background: #fff;
	border-bottom: 1px solid #eaeaec;
	text-align: center;
	padding: 20px 48px 18px 20px;
	font-size: 12px;
	font-weight: 500;
	color: #454545;
}

#eyn-filter-sidebar .cart_sidebar_head strong {
	display: inline-block;
	font-weight: 500;
}

#eyn-filter-sidebar .sidebar_toggle_content {
	flex: 1 1 auto;
	min-height: 0;
	margin: 10px !important;
	padding: 0 8px 24px 10px !important;
	height: auto !important;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #a7a7a7 #eee;
}

#eyn-filter-sidebar .sidebar_toggle_content::-webkit-scrollbar {
	width: 3px;
	background: #eee;
	border-radius: 4px;
}

#eyn-filter-sidebar .sidebar_toggle_content::-webkit-scrollbar-thumb {
	background: #a7a7a7;
	border-radius: 4px;
}

#eyn-filter-sidebar .widget.wt_filter {
	margin: 0 0 14px;
	box-shadow: none;
	background: transparent;
}

#eyn-filter-sidebar .wt_title {
	background: rgba(0, 0, 0, 0.05);
	color: #505050;
	line-height: 35px;
	height: 35px;
	font-size: 11px;
	font-weight: 500;
	padding: 0 16px;
	border-radius: 8px;
	margin-bottom: 6px;
}

#eyn-filter-sidebar .widget.wt_filter .widget-content {
	padding: 4px 4px 8px;
	font-size: 12px;
	color: #444;
}

#eyn-filter-sidebar .widget.wt_filter a {
	color: #434343;
	text-decoration: none;
	font-size: 12px;
}

#eyn-filter-sidebar .widget_layered_nav ul,
#eyn-filter-sidebar .woocommerce-widget-layered-nav-list {
	max-height: 220px;
	overflow-y: auto;
	padding: 0 2px 0 0;
}

#eyn-filter-sidebar .woocommerce-widget-layered-nav-dropdown__submit {
	display: none !important;
}

body.open_filter_sidebar .select2-container--open {
	z-index: 100010;
}

body.open_filter_sidebar .select2-dropdown {
	z-index: 100011;
}

/* Pagination — override WooCommerce default bordered nav */
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination {
	padding: 18px 0 22px;
	text-align: center;
	clear: both;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 6px 12px;
	list-style: none;
	font-family: var(--mainfontnum, var(--eyn-font));
	text-align: center;
	direction: ltr;
	white-space: nowrap;
	float: none;
	clear: both;
	border: none;
	background-color: #fff;
	border-radius: var(--borderradius, 15px);
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers::before {
	border-radius: 30px;
	position: absolute;
	width: 95%;
	height: 129%;
	background: #fff;
	display: block;
	content: "";
	z-index: -1;
	opacity: 0.5;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers::after {
	content: "";
	display: table;
	clear: both;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li {
	display: inline-block;
	float: none;
	margin: 5px;
	padding: 0;
	border: none;
	overflow: visible;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li span {
	display: block;
	min-width: 2.15em;
	margin: 0;
	padding: 4px 12px;
	border: none;
	border-radius: 1.143em;
	color: #333;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	background: transparent;
	box-shadow: none;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers.prev,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers.next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35em;
	padding: 6px 10px;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers.prev {
	border-right: 2px dashed #fff;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers.next {
	border-left: 2px dashed #fff;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers:hover,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers:focus {
	background-color: #fff;
	color: #444;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li span.current,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.page-numbers.current {
	background-color: var(--maincolor, #303f34);
	color: #fff;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li span.dots,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li a.dots {
	border: none;
	padding: 4px 8px;
	background: transparent;
	color: #666;
}

body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li .pack-theme,
body.eyn-native-category-archive .eyn-wc-archive nav.woocommerce-pagination ul.page-numbers > li svg {
	width: 13px;
	height: 13px;
	display: block;
	vertical-align: middle;
	stroke: #333;
}

/* Category SEO description box */
.eyn-wc-archive .term-description-wrap {
	background: #fff;
	border-radius: 7px;
	margin: 16px 0 12px;
	padding: 15px 20px 18px;
	color: #444;
	font-size: 12px;
	line-height: 2.3em;
	box-shadow: 0 1px 7px -3px rgba(0, 0, 0, 0.1);
	clear: both;
}

.eyn-wc-archive .term-description {
	height: 9em;
	overflow: hidden;
	position: relative;
	transition: height 0.4s ease;
}

.eyn-wc-archive .term-description * {
	position: relative;
	z-index: 1;
}

.eyn-wc-archive .term-description::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 11em;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 1) 93%,
		rgba(255, 255, 255, 1) 100%
	);
	transition: opacity 0.35s ease;
}

.eyn-wc-archive .term-description.desc_show {
	height: auto;
	overflow: visible;
}

.eyn-wc-archive .term-description.desc_show::after {
	opacity: 0;
	visibility: hidden;
	height: 0;
}

.eyn-wc-archive .term-description h1,
.eyn-wc-archive .term-description h2,
.eyn-wc-archive .term-description h3,
.eyn-wc-archive .term-description h4,
.eyn-wc-archive .term-description h5 {
	font-weight: 600;
	color: #494949;
	margin: 0 0 0.6em;
}

.eyn-wc-archive .term-description h1 {
	font-size: 20px;
}

.eyn-wc-archive .term-description h2 {
	font-size: 18px;
}

.eyn-wc-archive .term-description h3 {
	font-size: 16px;
}

.eyn-wc-archive .term-description h4 {
	font-size: 14px;
}

.eyn-wc-archive .term-description h5 {
	font-size: 12px;
}

.eyn-wc-archive .term-description > ul li {
	list-style: disc;
	margin-right: 20px;
	padding-right: 0;
}

.eyn-wc-archive .term-description > ol li {
	list-style: arabic-indic;
	margin-right: 20px;
	padding-right: 0;
}

.eyn-wc-archive .term-description a {
	border-bottom: 1px dashed #ff6000;
	color: #ff6000;
	padding: 0 1px;
	text-decoration: none;
}

.eyn-wc-archive .term-description-wrap .loadmore {
	display: block;
	width: 130px;
	margin: 20px auto 0;
	padding: 0;
	text-align: center;
	border-radius: 26px;
	line-height: 27px;
	font-size: 11px;
	font-family: inherit;
	border: 1px dashed #dbdcdc;
	background: #fff;
	color: #8a8a8a;
	cursor: pointer;
	appearance: none;
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.eyn-wc-archive .term-description-wrap .loadmore:hover {
	background-color: var(--maincolor, #303f34);
	border-color: var(--maincolor, #303f34);
	color: #fff;
}

.eyn-wc-archive .term-description-wrap .loadmore[hidden] {
	display: none;
}

/* Card add-to-cart: branded pill (icon + label), #900000 like the checkout buttons */
.eyn-wc-archive .item .item-area .actions .add-to-links,
.eyn-wc-archive .item .item-area .actions .add-to-links li,
.eyn-wc-archive .item .item-area .add-to-cart-wrap,
.eyn-wc-archive .item .item-area.item_general:not(.general_mobile) .actions .add-to-links,
.eyn-wc-archive .item .item-area.item_general:not(.general_mobile) .actions .add-to-links li,
.eyn-wc-archive .item .item-area.item_general:not(.general_mobile) .add-to-cart-wrap { width: auto; height: 36px; }
.eyn-wc-archive .item .item-area.item_general:not(.general_mobile) .actions { height: 36px; min-height: 36px; }
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button,
.eyn-wc-archive .item .item-area.item_general:not(.general_mobile) .add-to-cart-wrap a.button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	height: 36px;
	padding: 0 12px 0 14px;
	border-radius: 12px;
	background: #900000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 36px;
	white-space: nowrap;
	box-shadow: 0 4px 12px -4px rgba(144, 0, 0, .55);
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button::after {
	content: 'افزودن به سبد';
}
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button svg {
	width: 17px;
	height: 17px;
	stroke: #fff;
	fill: none;
}
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:hover,
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:focus-visible {
	background: #7a0000;
	color: #fff;
	box-shadow: 0 6px 16px -4px rgba(144, 0, 0, .65);
	transform: translateY(-1px);
}
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:hover svg { stroke: #fff; }
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button.loading { opacity: .75; pointer-events: none; }
/* After adding: "مشاهده سبد خرید" link as an outlined pill */
.eyn-wc-archive .item .item-area .add-to-cart-wrap a.added_to_cart {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 12px;
	border: 1.5px solid #900000;
	border-radius: 12px;
	background: #fff !important;
	color: #900000;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}
/* Out of stock: quiet grey pill */
.eyn-wc-archive .products .item .item-area.outofstock .add-to-cart-wrap a.button {
	background: #eceff1;
	color: #777;
	box-shadow: none;
}
.eyn-wc-archive .products .item .item-area.outofstock .add-to-cart-wrap a.button svg { stroke: #777; }
.eyn-wc-archive .products .item .item-area.outofstock .add-to-cart-wrap a.button::after { content: 'مشاهده'; }
/* Narrow cards: icon-only square */
@media (max-width: 575px) {
	.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button { width: 36px; padding: 0; }
	.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
	.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button { transition: none; }
	.eyn-wc-archive .item .item-area .add-to-cart-wrap a.button:hover { transform: none; }
}

/* Mobile cards: keep the image box square. A fixed min-height (196px) made the box taller
   than wide on phones like the S24 Ultra, leaving grey bands above/below the photo. */
@media (max-width: 991px) {
	.eyn-wc-archive .item .item-area .product-image-area,
	.eyn-wc-archive .item .item-area.general_mobile .product-image-area,
	.eyn-wc-archive .item .item-area .product-image-area .product-image,
	.eyn-wc-archive .item .item-area.general_mobile .product-image-area .product-image {
		min-height: 0;
		height: auto;
	}
	.eyn-wc-archive .item .item-area .product-image-area .product-image {
		aspect-ratio: 1 / 1;
	}
	.eyn-wc-archive .item .item-area .product-image-area .product-image img {
		box-shadow: none;
	}
}

/* Mobile card price: a little breathing room from the card's right edge */
@media (max-width: 991px) {
	.eyn-wc-archive .item .item-area .price,
	.eyn-wc-archive .item .item-area.general_mobile .price { right: 14px; }
}

/* Out-of-stock cards: no cart button at all (desktop + mobile) */
.eyn-wc-archive .products .item.outofstock .item-area .add-to-cart-wrap,
.eyn-wc-archive .products .item .item-area.outofstock .add-to-cart-wrap {
	display: none !important;
}
