/**
 * Sumswork Multivendor — Frontend Styles
 * Theme: White + Black + Blue (professional minimal)
 *
 * Phase 1A: foundation styles.
 * Phase 1B will introduce the premium dashboard layout
 * (sidebar + bottom-nav hybrid).
 */

:root {
	--smv-primary:        #2563eb;
	--smv-primary-dark:   #1d4ed8;
	--smv-primary-light:  #dbeafe;
	--smv-bg:             #ffffff;
	--smv-surface:        #f8fafc;
	--smv-surface-2:      #f1f5f9;
	--smv-text:           #0f172a;
	--smv-text-muted:     #64748b;
	--smv-border:         #e2e8f0;
	--smv-border-strong:  #cbd5e1;
	--smv-success:        #16a34a;
	--smv-warning:        #f59e0b;
	--smv-danger:         #dc2626;
	--smv-radius:         10px;
	--smv-radius-sm:      6px;
	--smv-radius-lg:      14px;
	--smv-shadow-sm:      0 1px 2px rgba(15,23,42,.06);
	--smv-shadow:         0 4px 12px rgba(15,23,42,.06);
	--smv-shadow-lg:      0 12px 32px rgba(15,23,42,.10);
	--smv-font:           -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Container ────────────────────────────────────────── */
.smv-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 16px;
	font-family: var(--smv-font);
	color: var(--smv-text);
}

/* ── Typography ───────────────────────────────────────── */
.smv-h1 { font-size: 28px; font-weight: 700; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.3px; }
.smv-h2 { font-size: 20px; font-weight: 650; margin: 0 0 14px; letter-spacing: -.2px; }
.smv-muted { color: var(--smv-text-muted); margin: 0; }

/* ── Cards ────────────────────────────────────────────── */
.smv-card {
	background: var(--smv-bg);
	border: 1px solid var(--smv-border);
	border-radius: var(--smv-radius-lg);
	padding: 28px;
	box-shadow: var(--smv-shadow-sm);
}
.smv-card-head { margin-bottom: 22px; }

/* ── Forms ────────────────────────────────────────────── */
.smv-form-card { max-width: 720px; margin: 32px auto; }
.smv-login-card { max-width: 440px; }

.smv-section { padding: 18px 0; border-bottom: 1px solid var(--smv-border); }
.smv-section:last-of-type { border-bottom: none; }
.smv-section-title { font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .8px; color: var(--smv-text-muted); margin-bottom: 14px; }

.smv-field { margin-bottom: 16px; }
.smv-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--smv-text);
	margin-bottom: 6px;
}
.smv-req { color: var(--smv-danger); font-weight: 700; }

.smv-field input[type="text"],
.smv-field input[type="email"],
.smv-field input[type="password"],
.smv-field input[type="tel"],
.smv-field input[type="number"],
.smv-field input[type="url"],
.smv-field input[type="date"],
.smv-field select,
.smv-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--smv-border-strong);
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	font-family: inherit;
	color: var(--smv-text);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
	box-sizing: border-box;
}
.smv-field input:focus,
.smv-field select:focus,
.smv-field textarea:focus {
	outline: none;
	border-color: var(--smv-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.smv-field input:disabled { background: var(--smv-surface); color: var(--smv-text-muted); cursor: not-allowed; }
.smv-help { display: block; font-size: 12px; color: var(--smv-text-muted); margin-top: 5px; }

.smv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.smv-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

@media (max-width: 640px) {
	.smv-grid-2, .smv-grid-3 { grid-template-columns: 1fr; }
}

/* ── Upload box ──────────────────────────────────────── */
.smv-upload-box {
	border: 2px dashed var(--smv-border-strong);
	border-radius: var(--smv-radius);
	min-height: 140px;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	background: var(--smv-surface);
	background-size: cover; background-position: center;
	transition: border-color .15s, background .15s;
}
.smv-upload-box:hover { border-color: var(--smv-primary); background: var(--smv-primary-light); }
.smv-upload-wide { min-height: 110px; }
.smv-upload-inner {
	text-align: center; color: var(--smv-text-muted);
}
.smv-upload-inner span { display: block; font-size: 28px; font-weight: 300; color: var(--smv-primary); margin-bottom: 4px; }
.smv-upload-inner small { font-size: 12px; }

.smv-link-btn {
	background: transparent;
	border: none;
	color: var(--smv-danger);
	cursor: pointer;
	font-size: 13px;
	padding: 6px 0;
	margin-top: 6px;
	font-weight: 500;
}
.smv-link-btn:hover { text-decoration: underline; }

/* ── Buttons ─────────────────────────────────────────── */
.smv-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 11px 22px;
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .15s, border-color .15s, transform .05s;
	min-height: 44px;
	line-height: 1;
}
.smv-btn:active { transform: scale(.98); }
.smv-btn-primary { background: var(--smv-primary); color: #fff; }
.smv-btn-primary:hover { background: var(--smv-primary-dark); }
.smv-btn-primary:disabled { background: var(--smv-text-muted); cursor: wait; }
.smv-btn-block { width: 100%; }

/* ── Form footer ─────────────────────────────────────── */
.smv-form-foot { padding-top: 18px; }
.smv-check { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; color: var(--smv-text); cursor: pointer; }
.smv-check input { width: auto; }
.smv-foot-link { margin-top: 16px; text-align: center; font-size: 14px; color: var(--smv-text-muted); }
.smv-foot-link a { color: var(--smv-primary); font-weight: 600; text-decoration: none; }
.smv-foot-link a:hover { text-decoration: underline; }

/* ── Inline messages ─────────────────────────────────── */
.smv-msg {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
}
.smv-msg-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.smv-msg-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.smv-msg-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── Notices (full-width banners) ───────────────────── */
.smv-notice {
	padding: 14px 18px;
	border-radius: var(--smv-radius);
	font-size: 14px;
	border: 1px solid;
}
.smv-notice-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.smv-notice-warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.smv-notice a { color: var(--smv-primary); font-weight: 600; }

/* ── Thank-you screen ───────────────────────────────── */
.smv-thanks { max-width: 580px; margin: 32px auto; text-align: center; padding: 36px 28px; }
.smv-thanks-icon {
	width: 64px; height: 64px; line-height: 64px;
	background: #dcfce7; color: var(--smv-success);
	border-radius: 50%; margin: 0 auto 18px;
	font-size: 36px; font-weight: 700;
}
.smv-steps {
	list-style: none; padding: 0;
	margin: 24px 0 0;
	text-align: left;
	display: grid; gap: 10px;
}
.smv-steps li {
	padding: 10px 14px;
	background: var(--smv-surface);
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	color: var(--smv-text-muted);
}
.smv-steps li.done    { background: #f0fdf4; color: #166534; font-weight: 600; }
.smv-steps li.done::before    { content: '✓ '; }
.smv-steps li.current { background: var(--smv-primary-light); color: #1e40af; font-weight: 600; }
.smv-steps li.current::before { content: '⏳ '; }

/* ──────────────────────────────────────────────────────
 * DASHBOARD (Phase 1A minimal — Phase 1B replaces)
 * ────────────────────────────────────────────────────── */
.smv-dashboard {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 16px;
	font-family: var(--smv-font);
	color: var(--smv-text);
}

.smv-d-topbar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px;
	background: var(--smv-text);
	border-radius: var(--smv-radius-lg);
	color: #fff;
	margin-bottom: 16px;
}
.smv-d-brand { display: flex; align-items: center; gap: 10px; }
.smv-d-logo {
	width: 32px; height: 32px;
	border-radius: 8px;
	background: var(--smv-primary);
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 16px;
}
.smv-d-store { font-weight: 650; font-size: 15px; }
.smv-d-top-actions { display: flex; align-items: center; gap: 14px; }
.smv-d-bell {
	position: relative;
	background: transparent;
	border: 1px solid rgba(255,255,255,.2);
	color: #fff;
	width: 38px; height: 38px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
}
.smv-d-bell-count {
	position: absolute; top: -5px; right: -5px;
	background: var(--smv-danger);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px; height: 18px;
	border-radius: 9px;
	padding: 0 5px;
	line-height: 18px;
	text-align: center;
}
.smv-d-logout {
	color: rgba(255,255,255,.85);
	font-size: 14px;
	text-decoration: none;
	font-weight: 500;
}
.smv-d-logout:hover { color: #fff; }

.smv-d-tabs {
	display: flex;
	gap: 4px;
	background: var(--smv-surface);
	padding: 4px;
	border-radius: var(--smv-radius);
	margin-bottom: 18px;
	overflow-x: auto;
}
.smv-d-tab {
	flex-shrink: 0;
	padding: 9px 16px;
	border: none;
	background: transparent;
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	font-weight: 600;
	color: var(--smv-text-muted);
	cursor: pointer;
	transition: background .15s, color .15s;
	font-family: inherit;
}
.smv-d-tab:hover { color: var(--smv-text); }
.smv-d-tab.active { background: #fff; color: var(--smv-primary); box-shadow: var(--smv-shadow-sm); }

.smv-d-main { min-height: 360px; }
.smv-d-panel { display: none; }
.smv-d-panel.active { display: block; }

.smv-d-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 18px;
}
@media (max-width: 768px) { .smv-d-stats { grid-template-columns: repeat(2, 1fr); } }

.smv-d-stat {
	background: #fff;
	border: 1px solid var(--smv-border);
	border-radius: var(--smv-radius);
	padding: 18px;
}
.smv-d-stat-label { font-size: 12px; color: var(--smv-text-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-bottom: 6px; }
.smv-d-stat-value { font-size: 24px; font-weight: 700; color: var(--smv-text); }

/* ──────────────────────────────────────────────────────
 * MARKETPLACE
 * ────────────────────────────────────────────────────── */
.smv-mp-head { margin-bottom: 20px; }

.smv-mp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
	background: var(--smv-surface);
	padding: 14px;
	border-radius: var(--smv-radius);
}
.smv-mp-filters input,
.smv-mp-filters select {
	padding: 9px 12px;
	border: 1px solid var(--smv-border-strong);
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}
.smv-mp-filters input { flex: 1 1 220px; }
.smv-mp-filters .smv-btn { padding: 9px 18px; min-height: 0; }

.smv-mp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.smv-mp-card {
	background: #fff;
	border: 1px solid var(--smv-border);
	border-radius: var(--smv-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .15s, box-shadow .15s, border-color .15s;
	display: block;
}
.smv-mp-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--smv-shadow);
	border-color: var(--smv-primary);
}
.smv-mp-card-static { cursor: default; }
.smv-mp-card-static:hover { transform: none; box-shadow: none; border-color: var(--smv-border); }

.smv-mp-card-img {
	aspect-ratio: 4 / 3;
	background: var(--smv-surface-2);
	background-size: cover;
	background-position: center;
	display: flex; align-items: center; justify-content: center;
}
.smv-mp-card-placeholder { font-size: 40px; opacity: .3; }

.smv-mp-card-body { padding: 14px; }
.smv-mp-card-cat { font-size: 11px; color: var(--smv-text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: .5px; margin-bottom: 4px; }
.smv-mp-card-title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.smv-mp-card-vendor { font-size: 12px; color: var(--smv-text-muted); margin-bottom: 8px; }
.smv-mp-card-price .smv-sale { font-weight: 700; color: var(--smv-danger); margin-right: 6px; }
.smv-mp-card-price del { color: var(--smv-text-muted); font-size: 12px; }
.smv-mp-card-price .smv-price { font-weight: 700; color: var(--smv-text); }

.smv-mp-pagination {
	display: flex; gap: 6px; flex-wrap: wrap;
	margin-top: 28px;
	justify-content: center;
}
.smv-mp-page {
	min-width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: var(--smv-radius-sm);
	border: 1px solid var(--smv-border);
	background: #fff;
	color: var(--smv-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	padding: 0 10px;
}
.smv-mp-page:hover { border-color: var(--smv-primary); color: var(--smv-primary); }
.smv-mp-page.smv-active { background: var(--smv-primary); border-color: var(--smv-primary); color: #fff; }

/* ──────────────────────────────────────────────────────
 * EMPTY STATE
 * ────────────────────────────────────────────────────── */
.smv-empty {
	text-align: center;
	padding: 48px 24px;
	color: var(--smv-text-muted);
}
.smv-empty-icon { font-size: 48px; opacity: .4; margin-bottom: 12px; }

/* ──────────────────────────────────────────────────────
 * STORE HERO
 * ────────────────────────────────────────────────────── */
.smv-store-hero {
	min-height: 240px;
	background: var(--smv-text);
	background-size: cover; background-position: center;
	border-radius: var(--smv-radius-lg);
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.smv-store-hero::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.15));
}
.smv-store-hero-inner {
	position: relative; z-index: 2;
	display: flex; align-items: flex-end; gap: 16px;
	padding: 24px;
	min-height: 240px;
	color: #fff;
}
.smv-store-logo {
	width: 88px; height: 88px;
	border-radius: 16px;
	background: #fff;
	background-size: cover; background-position: center;
	display: flex; align-items: center; justify-content: center;
	font-size: 36px; font-weight: 800;
	color: var(--smv-primary);
	flex-shrink: 0;
	border: 3px solid #fff;
}
.smv-store-name { font-size: 26px; font-weight: 700; margin: 0; }
.smv-store-tagline { margin: 4px 0 6px; opacity: .9; }
.smv-store-loc { font-size: 13px; opacity: .8; }

.smv-store-about { margin-bottom: 28px; padding: 18px; background: var(--smv-surface); border-radius: var(--smv-radius); }
.smv-store-about p { margin: 0; color: var(--smv-text); line-height: 1.6; }

/* ──────────────────────────────────────────────────────
 * TOASTS
 * ────────────────────────────────────────────────────── */
#smv-toast-wrap {
	position: fixed;
	top: 20px; right: 20px;
	z-index: 9999;
	display: flex; flex-direction: column; gap: 8px;
	pointer-events: none;
}
.smv-toast {
	background: var(--smv-text);
	color: #fff;
	padding: 12px 18px;
	border-radius: var(--smv-radius-sm);
	font-size: 14px;
	font-weight: 500;
	box-shadow: var(--smv-shadow-lg);
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity .25s, transform .25s;
	pointer-events: all;
	min-width: 220px;
	max-width: 380px;
}
.smv-toast.show { opacity: 1; transform: translateY(0); }
.smv-toast-success { background: var(--smv-success); }
.smv-toast-error   { background: var(--smv-danger); }
.smv-toast-info    { background: var(--smv-primary); }

/* ──────────────────────────────────────────────────────
 * NOTIFICATIONS PANEL
 * ────────────────────────────────────────────────────── */
.smv-notif-panel {
	position: fixed;
	top: 70px; right: 20px;
	width: 340px; max-width: calc(100vw - 40px);
	max-height: 70vh; overflow-y: auto;
	background: #fff;
	border: 1px solid var(--smv-border);
	border-radius: var(--smv-radius);
	box-shadow: var(--smv-shadow-lg);
	z-index: 9998;
}
.smv-notif-item {
	padding: 12px 14px;
	border-bottom: 1px solid var(--smv-border);
}
.smv-notif-item:last-child { border-bottom: none; }
.smv-notif-item.unread { background: #eff6ff; }
.smv-notif-msg { font-size: 14px; color: var(--smv-text); }
.smv-notif-time { font-size: 11px; color: var(--smv-text-muted); margin-top: 4px; }
.smv-notif-empty { padding: 24px; text-align: center; color: var(--smv-text-muted); font-size: 14px; }

/* ──────────────────────────────────────────────────────
 * MOBILE
 * ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
	.smv-container { padding: 16px 12px; }
	.smv-card { padding: 20px 16px; }
	.smv-h1 { font-size: 22px; }
	.smv-d-tabs { padding: 3px; }
	.smv-d-tab { padding: 8px 12px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════
 * Phase 2A — WooCommerce "Sold by" badge
 * ═══════════════════════════════════════════════════════ */
.smv-sold-by {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--smv-primary-light, #eff6ff);
	color: var(--smv-primary, #2563eb);
	padding: 6px 12px;
	border-radius: 99px;
	font-size: 13px;
	font-weight: 600;
	margin: 6px 0 14px;
}
.smv-sold-by span { color: var(--smv-text-muted, #64748b); font-weight: 500; }
.smv-sold-by a {
	color: var(--smv-primary, #2563eb);
	text-decoration: none;
	font-weight: 700;
}
.smv-sold-by a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
 * Phase 5 — Premium Vendor Store Page
 * ═══════════════════════════════════════════════════════ */
.smv-store {
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
}

.smv-store-hero {
	position: relative;
	min-height: 260px;
	background: linear-gradient(135deg, var(--smv-primary, #2563eb), #1e40af);
	background-size: cover;
	background-position: center;
	color: #fff;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
}
.smv-store-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.65));
}
.smv-store-hero-inner {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 24px;
	padding: 80px 32px 28px;
	flex-wrap: wrap;
}
@media (max-width: 640px) {
	.smv-store-hero-inner { padding: 60px 18px 20px; gap: 14px; }
}

.smv-store-logo {
	width: 110px;
	height: 110px;
	border-radius: 18px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	border: 4px solid #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	color: var(--smv-primary, #2563eb);
	font-size: 38px;
	font-weight: 800;
}
.smv-store-logo img { width: 100%; height: 100%; object-fit: cover; }

.smv-store-info { flex: 1; min-width: 220px; }
.smv-store-name {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.smv-store-verified { display: inline-flex; }
.smv-store-tagline {
	margin: 0 0 14px;
	font-size: 15px;
	opacity: 0.92;
}
.smv-store-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
}
.smv-store-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.smv-store-stars { color: #fbbf24; letter-spacing: 1px; }

/* Tabs */
.smv-store-tabs-wrap {
	border-bottom: 1px solid var(--smv-border, #e5e7eb);
	margin-bottom: 24px;
}
.smv-store-tabs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
}
.smv-store-tab {
	background: transparent;
	border: none;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: var(--smv-text-muted, #64748b);
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	border-bottom: 3px solid transparent;
	transition: color 0.15s, border-color 0.15s;
}
.smv-store-tab:hover { color: var(--smv-text, #0f172a); }
.smv-store-tab.active {
	color: var(--smv-primary, #2563eb);
	border-bottom-color: var(--smv-primary, #2563eb);
}
.smv-store-tab small { opacity: 0.7; margin-left: 4px; }

.smv-store-panel { display: none; }
.smv-store-panel.active { display: block; }

/* Products grid */
.smv-store-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.smv-store-prod {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid var(--smv-border, #e5e7eb);
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.smv-store-prod:hover {
	transform: translateY(-2px);
	border-color: var(--smv-primary, #2563eb);
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.smv-store-prod-thumb {
	position: relative;
	aspect-ratio: 1;
	background: var(--smv-surface-2, #f3f4f6);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.smv-store-prod-placeholder { font-size: 40px; opacity: 0.3; }
.smv-store-prod-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--smv-danger, #dc2626);
	color: #fff;
	padding: 4px 9px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.smv-store-prod-body { padding: 12px; }
.smv-store-prod-title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.smv-store-prod-price strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--smv-text, #0f172a);
}
.smv-store-prod-orig {
	margin-left: 6px;
	color: var(--smv-text-muted, #64748b);
	text-decoration: line-through;
	font-size: 12px;
}
.smv-store-prod-rating {
	margin-top: 4px;
	font-size: 12px;
	color: #f59e0b;
	font-weight: 600;
}
.smv-store-prod-rating small { color: var(--smv-text-muted, #64748b); margin-left: 2px; }

/* Reviews layout */
.smv-store-reviews-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 28px;
	align-items: start;
}
@media (max-width: 768px) {
	.smv-store-reviews-layout { grid-template-columns: 1fr; }
}
.smv-store-rating-summary {
	background: var(--smv-surface, #f9fafb);
	padding: 24px;
	border-radius: 12px;
	position: sticky;
	top: 20px;
}
.smv-rating-big { text-align: center; }
.smv-rating-num {
	font-size: 48px;
	font-weight: 800;
	color: var(--smv-text, #0f172a);
	line-height: 1;
}
.smv-rating-stars { font-size: 22px; color: #f59e0b; margin: 6px 0; letter-spacing: 2px; }
.smv-rating-count { color: var(--smv-text-muted, #64748b); font-size: 13px; }
.smv-rating-bars { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.smv-rating-bar-row {
	display: grid;
	grid-template-columns: 30px 1fr 30px;
	gap: 8px;
	align-items: center;
	font-size: 12px;
}
.smv-rating-bar-lbl { color: var(--smv-text-muted, #64748b); }
.smv-rating-bar {
	background: #e5e7eb;
	height: 8px;
	border-radius: 99px;
	overflow: hidden;
}
.smv-rating-bar-fill {
	background: #f59e0b;
	height: 100%;
	border-radius: 99px;
}
.smv-rating-bar-cnt { color: var(--smv-text-muted, #64748b); text-align: right; }

.smv-store-reviews { display: flex; flex-direction: column; gap: 14px; }
.smv-store-review {
	background: #fff;
	border: 1px solid var(--smv-border, #e5e7eb);
	border-radius: 12px;
	padding: 18px;
}
.smv-store-review-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.smv-store-review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.smv-store-review-customer { font-weight: 600; font-size: 14px; flex: 1; }
.smv-verified-badge {
	display: inline-block;
	background: #dcfce7;
	color: #166534;
	padding: 2px 8px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 700;
	margin-left: 6px;
}
.smv-store-review-date { font-size: 12px; color: var(--smv-text-muted, #64748b); }
.smv-store-review-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.smv-store-review-body { margin: 0; line-height: 1.5; color: var(--smv-text, #0f172a); }
.smv-store-review-reply {
	margin-top: 10px;
	padding: 10px 14px;
	background: var(--smv-primary-light, #eff6ff);
	border-left: 3px solid var(--smv-primary, #2563eb);
	border-radius: 6px;
	font-size: 13px;
}

/* About / Policies */
.smv-store-text { max-width: 800px; }
.smv-store-text h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 24px 0 10px;
	letter-spacing: -0.3px;
}
.smv-store-text h2:first-child { margin-top: 0; }
.smv-store-text p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--smv-text, #0f172a);
	margin: 0 0 14px;
}

/* ═══════════════════════════════════════════════════════
 * Phase 5 — Marketplace
 * ═══════════════════════════════════════════════════════ */
.smv-market { max-width: 1200px; margin: 0 auto; }

.smv-market-hero {
	text-align: center;
	padding: 40px 20px;
	margin-bottom: 24px;
}
.smv-market-title {
	margin: 0 0 8px;
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -1px;
}
.smv-market-sub {
	margin: 0;
	font-size: 16px;
	color: var(--smv-text-muted, #64748b);
}

.smv-market-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
	flex-wrap: wrap;
	align-items: center;
	background: var(--smv-surface, #f9fafb);
	padding: 14px;
	border-radius: 12px;
}
.smv-market-search {
	position: relative;
	flex: 1;
	min-width: 240px;
}
.smv-market-search svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--smv-text-muted, #64748b);
}
.smv-market-search input {
	width: 100%;
	padding: 10px 14px 10px 38px;
	border: 1px solid var(--smv-border-strong, #d1d5db);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}
.smv-market-filters select {
	padding: 10px 14px;
	border: 1px solid var(--smv-border-strong, #d1d5db);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
}
.smv-market-kyc-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--smv-border-strong, #d1d5db);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.smv-market-kyc-toggle input { width: auto !important; margin: 0; }

.smv-market-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.smv-market-card {
	display: block;
	background: #fff;
	border: 1px solid var(--smv-border, #e5e7eb);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.smv-market-card:hover {
	transform: translateY(-3px);
	border-color: var(--smv-primary, #2563eb);
	box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.smv-market-card-banner {
	position: relative;
	height: 110px;
	background: linear-gradient(135deg, var(--smv-primary, #2563eb), #1e40af);
	background-size: cover;
	background-position: center;
}
.smv-market-card-logo {
	position: absolute;
	bottom: -22px;
	left: 18px;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	font-size: 22px;
	font-weight: 800;
	color: var(--smv-primary, #2563eb);
}
.smv-market-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.smv-market-card-body { padding: 32px 18px 18px; }
.smv-market-card-name {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
}
.smv-market-card-tag {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--smv-text-muted, #64748b);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.smv-market-card-meta {
	display: flex;
	gap: 14px;
	font-size: 12px;
	color: var(--smv-text-muted, #64748b);
	margin-bottom: 6px;
}
.smv-market-rating { color: #f59e0b; font-weight: 700; }
.smv-market-prods { font-weight: 600; }
.smv-market-loc { font-size: 12px; color: var(--smv-text-muted, #64748b); }
