/* Afarin Store — Shop archive */

body.af-shop-page {
	--af-primary: #37CBDD;
	--af-primary-dark: #2ab5c6;
	--af-primary-light: #e8f9fc;
	--af-primary-mid: #b8eef5;
	--af-primary-glow: rgba(55, 203, 221, 0.35);
	--af-primary-soft: rgba(55, 203, 221, 0.15);
	--af-secondary: #650512;
	--af-text: #1e293b;
	--af-muted: #64748b;
	--af-white: #ffffff;
	--af-bg: #f4fbfc;
	--af-radius: 20px;
	--af-radius-sm: 14px;
	--af-font: "Yekan FaNum", Tahoma, sans-serif;
	--afsh-sidebar-w: 300px;
}

body.af-shop-page .site-main {
	padding-top: 0;
}

body.af-shop-page .site-content--shop {
	padding: 28px 0 64px;
	max-width: none;
}

body.afsh-filters-open {
	overflow: hidden;
}

.afsh-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Page title ── */
.afsh-head {
	margin: 0 0 24px;
}

.afsh-head__title {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 900;
	line-height: 1.35;
	color: var(--af-text);
}

.afsh-head__desc {
	margin: 0;
	max-width: 720px;
	font-size: 0.92rem;
	line-height: 1.8;
	color: var(--af-muted);
}

.afsh-head__desc > :first-child {
	margin-top: 0;
}

.afsh-head__desc > :last-child {
	margin-bottom: 0;
}

.afsh-head__desc p {
	margin: 0 0 0.75em;
}

.afsh-head__desc a {
	color: var(--af-primary-dark);
}

.afsh-term-desc {
	margin-top: 28px;
	padding: 22px 24px;
	border: 1px solid var(--af-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--af-shadow);
}

.afsh-term-desc__title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--af-text);
}

.afsh-term-desc__content {
	font-size: 0.92rem;
	line-height: 1.85;
	color: var(--af-muted);
}

.afsh-term-desc__content > :first-child {
	margin-top: 0;
}

.afsh-term-desc__content > :last-child {
	margin-bottom: 0;
}

.afsh-term-desc__content p {
	margin: 0 0 0.75em;
}

.afsh-term-desc__content a {
	color: var(--af-primary-dark);
}

/* ── Hero (legacy, unused) ── */
.afsh-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
	padding: 52px 0 48px;
	color: #fff;
}

.afsh-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 15%, rgba(55, 203, 221, 0.35), transparent 42%),
		radial-gradient(circle at 10% 90%, rgba(101, 5, 18, 0.28), transparent 38%),
		linear-gradient(135deg, #0b1220 0%, #132033 45%, #1a2f45 100%);
}

.afsh-hero__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 55% at 0% 40%, rgba(55, 203, 221, 0.18) 0%, transparent 65%),
		radial-gradient(ellipse 35% 45% at 100% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.afsh-hero__dots {
	position: absolute;
	inset: 0;
	opacity: 0.22;
	background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
	background-size: 24px 24px;
	mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, transparent 75%);
	pointer-events: none;
}

.afsh-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
	gap: 32px;
	align-items: center;
}

.afsh-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 14px;
}

.afsh-hero__eyebrow::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--af-primary), rgba(255, 255, 255, 0.8));
}

.afsh-hero__title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	line-height: 1.25;
	color: #fff;
}

.afsh-hero__desc {
	margin: 0 0 22px;
	max-width: 560px;
	font-size: 0.96rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.78);
}

.afsh-hero__desc > :first-child {
	margin-top: 0;
}

.afsh-hero__desc > :last-child {
	margin-bottom: 0;
}

.afsh-hero__desc p {
	margin: 0 0 0.75em;
}

.afsh-hero__desc a {
	color: #fff;
}

.afsh-hero__search {
	display: flex;
	align-items: stretch;
	max-width: 520px;
	padding: 6px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(12px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.afsh-hero__search-input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--af-text);
	font-family: var(--af-font);
	font-size: 0.9rem;
}

.afsh-hero__search-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px var(--af-primary-soft);
}

.afsh-hero__search-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 4px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	font-family: var(--af-font);
	font-size: 0.88rem;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.afsh-hero__search-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.afsh-hero__search-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px var(--af-primary-glow);
}

.afsh-hero__panel {
	position: relative;
	min-height: 220px;
	padding: 24px;
	border-radius: var(--af-radius);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.afsh-hero__orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.afsh-hero__orb--1 {
	width: 130px;
	height: 130px;
	top: -35px;
	left: -25px;
	background: radial-gradient(circle, rgba(55, 203, 221, 0.45), transparent 70%);
}

.afsh-hero__orb--2 {
	width: 100px;
	height: 100px;
	bottom: 8px;
	right: 16px;
	background: radial-gradient(circle, rgba(101, 5, 18, 0.35), transparent 70%);
}

.afsh-hero__orb--3 {
	width: 70px;
	height: 70px;
	top: 48%;
	right: 42%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.afsh-hero__stats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}

.afsh-hero__stat {
	padding: 16px 14px;
	border-radius: var(--af-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.afsh-hero__stat--main {
	background: linear-gradient(135deg, rgba(55, 203, 221, 0.22), rgba(55, 203, 221, 0.08));
}

.afsh-hero__stat-num {
	display: block;
	font-size: 1.65rem;
	font-weight: 900;
	color: #fff;
	line-height: 1.2;
}

.afsh-hero__stat-label {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.72);
}

.afsh-hero__perks {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.afsh-hero__perks span {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.78rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.88);
}

/* ── Breadcrumb ── */
.afsh-breadcrumb {
	margin: 0 0 14px;
}

.afsh-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
	color: var(--af-muted);
}

.afsh-breadcrumb__item a {
	color: var(--af-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.afsh-breadcrumb__item a:hover {
	color: var(--af-primary-dark);
}

.afsh-breadcrumb__item--current span {
	color: var(--af-text);
	font-weight: 700;
}

.afsh-breadcrumb__sep {
	color: rgba(100, 116, 139, 0.5);
}

/* ── Layout ── */
.afsh-layout {
	display: grid;
	grid-template-columns: minmax(var(--afsh-sidebar-w), 300px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.afsh-main {
	min-width: 0;
}

.afsh-main__inner {
	min-width: 0;
}

/* ── Sidebar ── */
.afsh-sidebar {
	position: relative;
	z-index: 30;
}

.afsh-sidebar__overlay {
	display: none;
}

.afsh-sidebar__panel {
	position: sticky;
	top: 24px;
	border-radius: var(--af-radius);
	border: 1px solid rgba(55, 203, 221, 0.18);
	background: var(--af-white);
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.afsh-sidebar__head {
	display: none;
}

.afsh-sidebar__body {
	padding: 18px;
}

.afsh-widget + .afsh-widget {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(55, 203, 221, 0.12);
}

.afsh-widget__title {
	margin: 0 0 12px;
	font-size: 0.9rem;
	font-weight: 900;
	color: var(--af-text);
}

.afsh-search {
	display: flex;
	align-items: stretch;
	padding: 4px;
	border-radius: 14px;
	background: var(--af-bg);
	border: 1px solid rgba(55, 203, 221, 0.2);
}

.afsh-search__input {
	flex: 1;
	min-width: 0;
	min-height: 42px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--af-text);
	font-family: var(--af-font);
	font-size: 0.86rem;
}

.afsh-search__input:focus {
	outline: none;
}

.afsh-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	cursor: pointer;
}

.afsh-search__btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.afsh-active__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--af-muted);
}

.afsh-active__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.afsh-active__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--af-primary-light);
	color: var(--af-primary-dark);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.afsh-active__clear {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--af-secondary);
	text-decoration: none;
}

.afsh-cats__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.afsh-cats__list--child {
	display: none;
	gap: 6px;
	margin-top: 8px;
	padding: 6px 14px 2px 0;
	border-right: 2px solid var(--af-primary-soft);
}

.afsh-cats__item--expanded > .afsh-cats__list--child {
	display: flex;
}

.afsh-cats__row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.afsh-cats__link {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 12px;
	color: var(--af-text);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.afsh-cats__link:hover {
	background: var(--af-primary-light);
	color: var(--af-primary-dark);
}

.afsh-cats__item--current > .afsh-cats__row .afsh-cats__link {
	background: linear-gradient(135deg, rgba(55, 203, 221, 0.16), rgba(55, 203, 221, 0.06));
	color: var(--af-primary-dark);
	font-weight: 800;
}

.afsh-cats__name {
	flex: 1;
	min-width: 0;
	font-size: 0.86rem;
	line-height: 1.5;
}

.afsh-cats__count {
	flex: 0 0 auto;
	min-width: 24px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--af-bg);
	color: var(--af-muted);
	font-size: 0.72rem;
	font-weight: 700;
	text-align: center;
}

.afsh-cat__toggle {
	flex: 0 0 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(55, 203, 221, 0.2);
	border-radius: 10px;
	background: var(--af-bg);
	color: var(--af-muted);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.afsh-cat__toggle span {
	display: block;
	width: 8px;
	height: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
}

.afsh-cats__item--expanded > .afsh-cats__row .afsh-cat__toggle span {
	transform: rotate(135deg);
}

.afsh-prices {
	margin: 0;
	padding: 0;
	list-style: none;
}

.afsh-prices__item + .afsh-prices__item {
	margin-top: 6px;
}

.afsh-prices__link {
	display: flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid transparent;
	color: var(--af-text);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.afsh-prices__link:hover {
	background: var(--af-primary-light);
	color: var(--af-primary-dark);
}

.afsh-prices__link--active {
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 22px var(--af-primary-glow);
}

.afsh-quick {
	display: grid;
	gap: 8px;
}

.afsh-quick__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid rgba(55, 203, 221, 0.22);
	background: var(--af-bg);
	color: var(--af-text);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.afsh-quick__btn:hover {
	border-color: var(--af-primary);
	color: var(--af-primary-dark);
}

.afsh-quick__btn--active {
	background: linear-gradient(135deg, var(--af-secondary), #8b1030);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 22px rgba(101, 5, 18, 0.25);
}

.afsh-promo {
	margin-top: 18px;
	padding: 18px;
	border-radius: var(--af-radius-sm);
	background: linear-gradient(145deg, rgba(101, 5, 18, 0.08), rgba(55, 203, 221, 0.08));
	border: 1px solid rgba(55, 203, 221, 0.18);
	text-align: center;
}

.afsh-promo__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--af-secondary), #a61b3f);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 900;
}

.afsh-promo strong {
	display: block;
	margin-bottom: 6px;
	font-size: 0.95rem;
	color: var(--af-text);
}

.afsh-promo p {
	margin: 0 0 12px;
	font-size: 0.82rem;
	line-height: 1.7;
	color: var(--af-muted);
}

.afsh-promo__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 10px;
	background: var(--af-white);
	color: var(--af-secondary) !important;
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* ── Toolbar ── */
.afsh-main__inner .woocommerce-notices-wrapper {
	margin-bottom: 16px;
}

.afsh-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 22px;
	padding: 14px 18px;
	border-radius: var(--af-radius-sm);
	background: var(--af-white);
	border: 1px solid rgba(55, 203, 221, 0.15);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.afsh-filter-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(55, 203, 221, 0.25);
	border-radius: 12px;
	background: var(--af-bg);
	color: var(--af-text);
	font-family: var(--af-font);
	font-size: 0.84rem;
	font-weight: 800;
	cursor: pointer;
}

.afsh-filter-toggle svg {
	width: 18px;
	height: 18px;
}

.afsh-result-count {
	margin: 0 !important;
	font-size: 0.86rem !important;
	color: var(--af-muted) !important;
}

.afsh-ordering {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
}

.afsh-ordering__label {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--af-text);
	white-space: nowrap;
}

.afsh-ordering__field {
	position: relative;
}

.afsh-ordering__field::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 14px;
	width: 8px;
	height: 8px;
	border-left: 2px solid var(--af-muted);
	border-bottom: 2px solid var(--af-muted);
	transform: translateY(-65%) rotate(-45deg);
	pointer-events: none;
}

.afsh-ordering select.orderby {
	min-width: 180px;
	min-height: 42px;
	padding: 0 14px 0 32px;
	border: 1px solid rgba(55, 203, 221, 0.25);
	border-radius: 12px;
	background: var(--af-bg);
	color: var(--af-text);
	font-family: var(--af-font);
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.afsh-ordering select.orderby:focus {
	outline: none;
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px var(--af-primary-soft);
}

/* ── Product grid ── */
.af-shop-page .woocommerce ul.products.afsh-products__grid {
	display: grid !important;
	float: none !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 28px !important;
	padding: 0 !important;
	list-style: none !important;
	clear: both;
}

.af-shop-page .afsh-products__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 28px !important;
	padding: 0 !important;
	list-style: none !important;
	clear: both;
}

.af-shop-page .woocommerce ul.products.afsh-products__grid::before,
.af-shop-page .woocommerce ul.products.afsh-products__grid::after,
.af-shop-page .afsh-products__grid::before,
.af-shop-page .afsh-products__grid::after {
	display: none !important;
	content: none !important;
}

.af-shop-page .woocommerce ul.products.afsh-products__grid li.product,
.af-shop-page .woocommerce ul.products.afsh-products__grid .afsh-products__item,
.af-shop-page .afsh-products__item {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	position: static !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

.af-shop-page .afsh-products__item .af-product-card {
	height: 100%;
	min-width: 0;
}

/* ── Pagination ── */
.afsh-pagination {
	margin-top: 8px;
}

.afsh-pagination > ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.afsh-pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.afsh-pagination li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid rgba(55, 203, 221, 0.2);
	background: var(--af-white);
	color: var(--af-text);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.afsh-pagination li .page-numbers:hover {
	border-color: var(--af-primary);
	color: var(--af-primary-dark);
	box-shadow: 0 6px 20px rgba(55, 203, 221, 0.15);
}

.afsh-pagination li .page-numbers.current {
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 24px var(--af-primary-glow);
}

.afsh-pagination li .page-numbers.prev,
.afsh-pagination li .page-numbers.next {
	font-size: 1.1rem;
}

/* ── Empty state ── */
.afsh-empty {
	margin: 32px 0;
	padding: 48px 28px;
	border-radius: var(--af-radius);
	background: var(--af-white);
	border: 1px dashed rgba(55, 203, 221, 0.35);
	text-align: center;
}

.afsh-empty strong {
	display: block;
	margin-bottom: 10px;
	font-size: 1.1rem;
	color: var(--af-text);
}

.afsh-empty p {
	margin: 0 0 20px;
	font-size: 0.9rem;
	color: var(--af-muted);
	line-height: 1.8;
}

.afsh-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 24px var(--af-primary-glow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.afsh-empty__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px var(--af-primary-glow);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
	.af-shop-page .woocommerce ul.products.afsh-products__grid,
	.af-shop-page .afsh-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.afsh-layout {
		grid-template-columns: 1fr;
	}

	.afsh-filter-toggle {
		display: inline-flex;
	}

	.afsh-sidebar {
		position: fixed;
		inset: 0;
		z-index: -1;
		pointer-events: none;
		visibility: hidden;
	}

	.afsh-sidebar--open {
		z-index: 10000;
		pointer-events: auto;
		visibility: visible;
	}

	.afsh-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px;
		border-bottom: 1px solid rgba(55, 203, 221, 0.12);
	}

	.afsh-sidebar__title {
		margin: 0;
		font-size: 1rem;
		font-weight: 900;
		color: var(--af-text);
	}

	.afsh-sidebar__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 10px;
		background: var(--af-bg);
		color: var(--af-text);
		font-size: 1.4rem;
		line-height: 1;
		cursor: pointer;
	}

	.afsh-sidebar__overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(15, 23, 42, 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	.afsh-sidebar__panel {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(360px, 92vw);
		border-radius: 0;
		border: 0;
		transform: translateX(100%);
		transition: transform 0.28s ease;
		overflow: auto;
		z-index: 2;
	}

	.afsh-sidebar--open .afsh-sidebar__overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.afsh-sidebar--open .afsh-sidebar__panel {
		transform: translateX(0);
	}

	.afsh-toolbar {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"filter filter"
			"count sort";
	}

	.afsh-filter-toggle {
		grid-area: filter;
		width: 100%;
		justify-content: center;
	}

	.afsh-result-count {
		grid-area: count;
	}

	.afsh-ordering {
		grid-area: sort;
		justify-content: flex-end;
	}
}

@media (max-width: 767px) {
	body.af-shop-page .site-content--shop {
		padding-bottom: 40px;
	}

	.afsh-wrap {
		padding: 0 16px;
	}

	.afsh-hero {
		padding: 36px 0 32px;
	}

	.afsh-hero__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.afsh-hero__search {
		flex-direction: column;
		padding: 8px;
	}

	.afsh-hero__search-btn {
		margin: 0;
		min-height: 44px;
		justify-content: center;
	}

	.afsh-hero__panel {
		min-height: auto;
	}

	.afsh-toolbar {
		grid-template-columns: 1fr;
		grid-template-areas:
			"filter"
			"count"
			"sort";
	}

	.afsh-ordering {
		width: 100%;
		justify-content: space-between;
	}

	.afsh-ordering select.orderby {
		flex: 1;
		min-width: 0;
	}

	.af-shop-page .woocommerce ul.products.afsh-products__grid,
	.af-shop-page .afsh-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px;
	}

	.af-shop-page .woocommerce ul.products.afsh-products__grid li.product,
	.af-shop-page .afsh-products__grid li.product,
	.af-shop-page .afsh-products__item {
		width: 100% !important;
		max-width: none !important;
		float: none !important;
		clear: none !important;
		margin: 0 !important;
	}

	.af-shop-page .afsh-products__item .af-product-card {
		--af-card-pad: 8px;
		--af-card-media-pad: 10px;
		--af-card-img-max-h: 150px;
		--af-card-badge-top: 8px;
		--af-card-badge-inset: 8px;
		--af-card-badge-pad: 4px 8px;
		--af-card-badge-fs: 0.64rem;
		--af-card-body-gap: 6px;
		--af-card-title-fs: 0.78rem;
		--af-card-title-min-h: 2.4em;
		--af-card-install-min-h: 2em;
		--af-card-install-mt: 6px;
		--af-card-install-pad-block: 8px;
		--af-card-price-fs: 0.82rem;
		--af-card-price-old-fs: 0.7rem;
		--af-card-install-fs: 62%;
	}

	.afsh-pagination > ul.page-numbers {
		gap: 6px;
	}

	.afsh-pagination li .page-numbers {
		min-width: 38px;
		min-height: 38px;
		font-size: 0.82rem;
	}
}

@media (max-width: 420px) {
	.afsh-ordering {
		flex-direction: column;
		align-items: stretch;
	}

	.afsh-ordering__field,
	.afsh-ordering select.orderby {
		width: 100%;
	}
}
