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

body.is-store {
	--mv2-ink: #1f2430;
	--mv2-muted: #6b7280;
	--mv2-border: #e5e7eb;
	--mv2-gold: #ffc107;
	--mv2-bg: #f5f6f8;
	--mv2-wa: #25d366;
	--mv2-radius: 12px;
	font-family: Tajawal, Cairo, sans-serif !important;
	background: var(--mv2-bg) !important;
	color: var(--mv2-ink);
}

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

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

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

.mv2-page {
	padding: 20px 0 56px;
}

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

.mv2-bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--mv2-muted);
	margin-bottom: 16px;
}

.mv2-bc a {
	color: var(--mv2-ink);
	text-decoration: none;
}

.mv2-bc__sep {
	opacity: 0.5;
}

.mv2-bc__current {
	color: var(--mv2-muted);
}

.mv2-hero {
	position: relative;
	min-height: 180px;
	border-radius: var(--mv2-radius);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	margin-bottom: 20px;
}

.mv2-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(31, 36, 48, 0.78), rgba(31, 36, 48, 0.35));
}

.mv2-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 28px 24px;
	min-height: 180px;
	box-sizing: border-box;
}

.mv2-hero__logo {
	width: 88px;
	height: 88px;
	border-radius: 16px;
	object-fit: cover;
	background: #fff;
	border: 3px solid #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mv2-hero__title {
	margin: 0;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.mv2-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--mv2-gold);
	color: var(--mv2-ink);
	font-size: 12px;
	font-weight: 800;
}

.mv2-hero__cat {
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	font-weight: 600;
}

.mv2-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.mv2-seller,
.mv2-tip,
.mv2-panel {
	background: #fff;
	border: 1px solid var(--mv2-border);
	border-radius: var(--mv2-radius);
	box-shadow: 0 4px 16px rgba(31, 36, 48, 0.04);
	margin-bottom: 14px;
}

.mv2-seller {
	padding: 18px;
}

.mv2-seller__head {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 16px;
}

.mv2-seller__avatar {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.mv2-seller__avatar img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--mv2-border);
}

.mv2-seller__online {
	position: absolute;
	bottom: 2px;
	inset-inline-end: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #22c55e;
	border: 2px solid #fff;
}

.mv2-seller__name {
	font-size: 16px;
	font-weight: 800;
	color: var(--mv2-ink);
}

.mv2-seller__role {
	font-size: 13px;
	color: var(--mv2-muted);
	margin-top: 2px;
}

.mv2-seller__badge {
	color: #22c55e;
	margin-inline-start: 4px;
}

.mv2-rating {
	margin-top: 6px;
	color: var(--mv2-gold);
	font-size: 12px;
}

.mv2-seller__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.mv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	border: 0;
	font-family: inherit;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.mv2-btn--dark {
	background: var(--mv2-ink);
	color: #fff !important;
}

.mv2-btn--phone {
	background: var(--mv2-ink);
	color: #fff !important;
}

.mv2-btn--wa {
	background: var(--mv2-wa);
	color: #fff !important;
}

.mv2-btn--ghost {
	background: #fff;
	color: var(--mv2-ink) !important;
	border: 1px solid var(--mv2-border);
}

.mv2-btn--gold {
	background: var(--mv2-gold);
	color: var(--mv2-ink) !important;
}

.mv2-btn--full {
	width: 100%;
}

.mv2-btn.is-hidden {
	display: none !important;
}

.mv2-seller__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--mv2-border);
}

.mv2-seller__stats span {
	display: block;
	font-size: 11px;
	color: var(--mv2-muted);
}

.mv2-seller__stats strong {
	font-size: 13px;
	color: var(--mv2-ink);
}

.mv2-tip {
	padding: 16px;
	background: var(--mv2-ink);
	border-color: var(--mv2-ink);
	color: rgba(255, 255, 255, 0.85);
}

.mv2-tip__title {
	color: var(--mv2-gold);
	font-weight: 800;
	margin-bottom: 8px;
	font-size: 14px;
}

.mv2-tip p {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
}

.mv2-panel {
	padding: 16px;
}

.mv2-panel__title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 800;
	position: relative;
	padding-inline-start: 10px;
}

.mv2-panel__title::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 2px;
	bottom: 2px;
	width: 3px;
	border-radius: 2px;
	background: var(--mv2-gold);
}

.mv2-about {
	font-size: 13px;
	line-height: 1.7;
	color: var(--mv2-muted);
}

.mv2-cats {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mv2-cat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--mv2-ink);
	font-size: 13px;
	font-weight: 600;
}

.mv2-cat:hover,
.mv2-cat.is-active {
	background: #f3f4f6;
	color: var(--mv2-ink);
}

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

.mv2-cat.is-active small {
	color: rgba(255, 255, 255, 0.7);
}

.mv2-cat--sub {
	padding-inline-start: 22px;
	font-weight: 500;
}

.mv2-cat small {
	color: var(--mv2-muted);
	font-weight: 700;
}

.mv2-filters .mv2-frow {
	margin-bottom: 14px;
}

.mv2-filters label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--mv2-ink);
}

.mv2-filters input[type="text"],
.mv2-filters select {
	width: 100%;
	height: 40px;
	border: 1px solid var(--mv2-border);
	border-radius: 8px;
	padding: 0 10px;
	font-family: inherit;
	box-sizing: border-box;
	background: #fff;
	margin-bottom: 8px;
}

.mv2-price-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mv2-check {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-weight: 500 !important;
	font-size: 13px !important;
	margin-bottom: 6px !important;
	color: var(--mv2-muted) !important;
}

.mv2-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.mv2-toolbar__title {
	font-size: 20px;
	font-weight: 800;
}

.mv2-toolbar__controls {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.mv2-select {
	height: 40px;
	border: 1px solid var(--mv2-border);
	border-radius: 8px;
	padding: 0 12px;
	font-family: inherit;
	background: #fff;
	font-weight: 700;
	font-size: 13px;
}

.mv2-results-meta {
	font-size: 13px;
	color: var(--mv2-muted);
	margin-bottom: 14px;
}

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

.mv2-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mv2-border);
	border-radius: var(--mv2-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;
}

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

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

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

.mv2-card__badges {
	position: absolute;
	top: 10px;
	inset-inline-start: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mv2-badge {
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--mv2-gold);
	color: var(--mv2-ink);
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
}

.mv2-badge--urgent {
	background: #ef4444;
	color: #fff;
}

.mv2-card__body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.mv2-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--mv2-ink);
}

.mv2-card__loc,
.mv2-card__meta {
	font-size: 12px;
	color: var(--mv2-muted);
}

.mv2-card__price {
	margin-top: auto;
	padding-top: 8px;
	font-size: 16px;
	font-weight: 800;
	color: var(--mv2-gold);
}

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

.mv2-pager {
	margin-top: 24px;
	display: flex;
	justify-content: center;
}

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

body.is-store .mv2-pager a,
body.is-store .mv2-pager span,
body.is-store .mv2-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(--mv2-border);
	background: #fff;
	color: var(--mv2-ink);
	text-decoration: none;
	font-weight: 700;
}

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

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

@media (max-width: 640px) {
	.mv2-hero__title {
		font-size: 20px;
	}
	.mv2-grid {
		grid-template-columns: 1fr;
	}
}
