/* Stores list v2 */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

body.is-stores {
	--sv2-ink: #1f2430;
	--sv2-muted: #6b7280;
	--sv2-border: #e5e7eb;
	--sv2-gold: #ffc107;
	--sv2-bg: #f5f6f8;
	--sv2-radius: 16px;
	--sv2-radius-sm: 10px;
	font-family: Tajawal, Cairo, sans-serif !important;
	background: var(--sv2-bg) !important;
	color: var(--sv2-ink);
}

body.is-stores .main-content {
	padding: 0 !important;
	background: var(--sv2-bg) !important;
	min-height: 70vh;
}

body.is-stores #top-header,
body.is-stores .site-header,
body.is-stores .nav-bar,
body.is-stores .site-footer,
body.is-stores #banner {
	display: none !important;
}

body.is-stores .hv2-footer {
	background: #fff;
	border-top: 1px solid var(--sv2-border);
}

.sv2-page {
	padding: 28px 0 56px;
}

.sv2-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.sv2-hero {
	text-align: center;
	margin-bottom: 24px;
}

.sv2-hero__title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 800;
	color: var(--sv2-ink);
}

.sv2-hero__sub {
	margin: 0;
	font-size: 15px;
	color: var(--sv2-muted);
}

.sv2-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--sv2-border);
	border-radius: var(--sv2-radius);
	margin-bottom: 32px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.sv2-search {
	position: relative;
	flex: 1 1 220px;
	min-width: 200px;
}

.sv2-search i {
	position: absolute;
	top: 50%;
	inset-inline-start: 14px;
	transform: translateY(-50%);
	color: var(--sv2-muted);
}

.sv2-search input {
	width: 100%;
	height: 44px;
	border: 1px solid var(--sv2-border);
	border-radius: var(--sv2-radius-sm);
	padding: 0 14px;
	padding-inline-start: 40px;
	font-family: inherit;
	font-size: 14px;
	background: #f9fafb;
	color: var(--sv2-ink);
	box-sizing: border-box;
}

.sv2-search input:focus {
	outline: none;
	border-color: var(--sv2-gold);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.sv2-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.sv2-chip {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: #f3f4f6;
	color: var(--sv2-ink);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid transparent;
}

.sv2-chip:hover {
	background: #e5e7eb;
	color: var(--sv2-ink);
}

.sv2-chip.is-active {
	background: var(--sv2-ink);
	color: #fff;
}

.sv2-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.sv2-section__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: var(--sv2-ink);
}

.sv2-section__title i {
	color: var(--sv2-gold);
	margin-inline-end: 6px;
}

.sv2-link {
	color: var(--sv2-gold);
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
}

.sv2-featured {
	margin-bottom: 36px;
}

.sv2-featured__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.sv2-fcard {
	display: block;
	background: #fff;
	border: 1px solid var(--sv2-border);
	border-radius: var(--sv2-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 4px 16px rgba(31, 36, 48, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sv2-fcard:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(31, 36, 48, 0.08);
	color: inherit;
	text-decoration: none;
}

.sv2-fcard__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #e8e9ec;
}

.sv2-fcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sv2-fcard__icon,
.sv2-card__icon {
	position: absolute;
	bottom: -18px;
	inset-inline-start: 16px;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--sv2-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sv2-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	z-index: 2;
}

.sv2-fcard__body {
	padding: 28px 14px 14px;
}

.sv2-fcard__name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 800;
}

.sv2-fcard__cat {
	color: var(--sv2-gold);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 8px;
}

.sv2-fcard__meta {
	font-size: 12px;
	color: var(--sv2-muted);
}

.sv2-all {
	margin-top: 8px;
}

.sv2-sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--sv2-muted);
}

.sv2-sort select {
	height: 38px;
	border: 1px solid var(--sv2-border);
	border-radius: 8px;
	padding: 0 12px;
	font-family: inherit;
	background: #fff;
	color: var(--sv2-ink);
	font-weight: 700;
}

.sv2-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sv2-card {
	background: #fff;
	border: 1px solid var(--sv2-border);
	border-radius: var(--sv2-radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(31, 36, 48, 0.05);
	display: flex;
	flex-direction: column;
}

.sv2-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: #e8e9ec;
}

.sv2-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sv2-badge {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--sv2-gold);
	color: var(--sv2-ink);
	font-size: 12px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	z-index: 2;
}

.sv2-card__body {
	padding: 28px 18px 18px;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sv2-card__rating {
	color: var(--sv2-gold);
	font-weight: 800;
	font-size: 13px;
	margin-bottom: 6px;
}

.sv2-card__name {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 800;
}

.sv2-card__name a {
	color: var(--sv2-ink);
	text-decoration: none;
}

.sv2-card__cat {
	color: var(--sv2-muted);
	font-size: 13px;
	margin-bottom: 14px;
}

.sv2-card__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 16px;
	padding: 12px 0;
	border-top: 1px solid var(--sv2-border);
	border-bottom: 1px solid var(--sv2-border);
}

.sv2-card__stats strong {
	display: block;
	font-size: 16px;
	color: var(--sv2-ink);
}

.sv2-card__stats span {
	font-size: 12px;
	color: var(--sv2-muted);
}

.sv2-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	margin-top: auto;
	border: 1.5px solid var(--sv2-ink);
	border-radius: var(--sv2-radius-sm);
	color: var(--sv2-ink);
	text-decoration: none;
	font-weight: 800;
	font-size: 14px;
	background: #fff;
	transition: background 0.15s ease, color 0.15s ease;
}

.sv2-card__cta:hover {
	background: var(--sv2-ink);
	color: #fff;
}

.sv2-empty {
	padding: 40px 20px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--sv2-border);
	border-radius: var(--sv2-radius);
	color: var(--sv2-muted);
}

.sv2-pager {
	margin-top: 28px;
	display: flex;
	justify-content: center;
}

body.is-stores .sv2-pager .pagination,
body.is-stores .sv2-pager ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.is-stores .sv2-pager a,
body.is-stores .sv2-pager span,
body.is-stores .sv2-pager .page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid var(--sv2-border);
	background: #fff;
	color: var(--sv2-ink);
	text-decoration: none;
	font-weight: 700;
}

body.is-stores .sv2-pager .active a,
body.is-stores .sv2-pager .active .page-link,
body.is-stores .sv2-pager li.active > a {
	background: var(--sv2-ink) !important;
	border-color: var(--sv2-ink) !important;
	color: #fff !important;
}

@media (max-width: 1024px) {
	.sv2-featured__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sv2-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.sv2-hero__title {
		font-size: 26px;
	}
	.sv2-featured__grid,
	.sv2-grid {
		grid-template-columns: 1fr;
	}
	.sv2-section__head {
		flex-direction: column;
		align-items: flex-start;
	}
}
