/**
 * ShopXnow Multivendor - Frontend Styles
 */

/* ============================================
   Variables
   ============================================ */
:root {
	--sxmv-primary: #e91e63;
	--sxmv-primary-dark: #c2185b;
	--sxmv-secondary: #007bff;
	--sxmv-success: #28a745;
	--sxmv-warning: #ffc107;
	--sxmv-danger: #dc3545;
	--sxmv-dark: #333;
	--sxmv-light: #f8f9fa;
	--sxmv-border: #e0e0e0;
	--sxmv-shadow: 0 2px 8px rgba(0,0,0,0.1);
	--sxmv-radius: 8px;
}

/* ============================================
   Common Styles
   ============================================ */
.sxmv-btn {
	display: inline-block;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: var(--sxmv-radius);
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.sxmv-btn-primary {
	background: var(--sxmv-primary);
	color: #fff;
}

.sxmv-btn-primary:hover {
	background: var(--sxmv-primary-dark);
	color: #fff;
}

.sxmv-btn-outline {
	background: transparent;
	border: 2px solid var(--sxmv-primary);
	color: var(--sxmv-primary);
}

.sxmv-btn-outline:hover {
	background: var(--sxmv-primary);
	color: #fff;
}

.sxmv-btn-small {
	padding: 6px 12px;
	font-size: 12px;
}

.sxmv-btn-danger {
	background: var(--sxmv-danger);
	color: #fff;
}

/* Notices */
.sxmv-notice {
	padding: 15px 20px;
	border-radius: var(--sxmv-radius);
	margin-bottom: 20px;
}

.sxmv-notice-info {
	background: #e3f2fd;
	color: #1565c0;
	border-left: 4px solid #1565c0;
}

.sxmv-notice-success {
	background: #e8f5e9;
	color: #2e7d32;
	border-left: 4px solid #2e7d32;
}

.sxmv-notice-warning {
	background: #fff3e0;
	color: #ef6c00;
	border-left: 4px solid #ef6c00;
}

.sxmv-notice-error {
	background: #ffebee;
	color: #c62828;
	border-left: 4px solid #c62828;
}

/* Status badges */
.sxmv-status {
	display: inline-block;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 20px;
}

.sxmv-status-pending {
	background: #fff3e0;
	color: #ef6c00;
}

.sxmv-status-approved, .sxmv-status-completed, .sxmv-status-publish {
	background: #e8f5e9;
	color: #2e7d32;
}

.sxmv-status-rejected, .sxmv-status-refunded {
	background: #ffebee;
	color: #c62828;
}

.sxmv-status-processing {
	background: #e3f2fd;
	color: #1565c0;
}

.sxmv-status-draft {
	background: #f5f5f5;
	color: #666;
}

/* Tables - Compact */
.sxmv-table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-table th,
.sxmv-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #f3f4f6;
	font-size: 13px;
}

.sxmv-table th {
	background: #f8f9fa;
	font-weight: 700;
	color: #374151;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.sxmv-table tr:hover {
	background: #f9fafb;
}

.sxmv-table tr:last-child td {
	border-bottom: none;
}

.sxmv-table .product-thumb img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 4px;
}

/* ============================================
   Registration Form
   ============================================ */
.sxmv-registration-wrap {
	max-width: 700px;
	margin: 40px auto;
	padding: 0 20px;
}

.sxmv-registration-header {
	text-align: center;
	margin-bottom: 30px;
}

.sxmv-registration-header h2 {
	font-size: 28px;
	color: var(--sxmv-dark);
	margin-bottom: 10px;
}

.sxmv-registration-header p {
	color: #666;
}

/* Form Styles - Compact */
.sxmv-form-section {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-form-section h3,
.sxmv-form-section h4 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f3f4f6;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
}

.sxmv-form-row {
	margin-bottom: 12px;
}

.sxmv-form-row:last-child {
	margin-bottom: 0;
}

.sxmv-form-row-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.sxmv-form-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 12px;
	color: #374151;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.sxmv-form-field label .required {
	color: #dc2626;
}

.sxmv-form-field input[type="text"],
.sxmv-form-field input[type="email"],
.sxmv-form-field input[type="tel"],
.sxmv-form-field input[type="password"],
.sxmv-form-field input[type="number"],
.sxmv-form-field textarea,
.sxmv-form-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.2s;
	background: #fff;
}

.sxmv-form-field input:focus,
.sxmv-form-field textarea:focus,
.sxmv-form-field select:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sxmv-form-field select[multiple] {
	min-height: 120px;
	padding: 8px;
	overflow-y: auto;
}

.sxmv-form-field select[multiple] option {
	padding: 8px 12px;
	margin: 2px 0;
	border-radius: 4px;
}

.sxmv-form-field select[multiple] option:checked {
	background: var(--sxmv-primary);
	color: #fff;
}

.sxmv-form-field input:focus,
.sxmv-form-field textarea:focus,
.sxmv-form-field select:focus {
	outline: none;
	border-color: var(--sxmv-primary);
}

.sxmv-form-field .description {
	font-size: 12px;
	color: #666;
	margin-top: 5px;
}

.sxmv-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.sxmv-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
}

.sxmv-form-submit {
	text-align: center;
	margin-top: 16px;
}

.sxmv-form-submit .sxmv-btn {
	min-width: 140px;
	padding: 10px 20px;
	font-size: 13px;
}

.sxmv-form-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: var(--sxmv-radius);
	text-align: center;
}

.sxmv-form-message.success {
	background: #e8f5e9;
	color: #2e7d32;
}

.sxmv-form-message.error {
	background: #ffebee;
	color: #c62828;
}

.sxmv-login-link {
	text-align: center;
	margin-top: 20px;
}

/* ============================================
   Dashboard - PRIME COMPACT MOBILE-FIRST
   ============================================ */
.sxmv-dashboard-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 12px;
	background: #f8f9fa;
	min-height: 100vh;
}

.sxmv-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-dashboard-header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
}

.sxmv-dashboard-header .sxmv-btn {
	padding: 8px 16px;
	font-size: 13px;
}

/* Dashboard Navigation - Compact */
.sxmv-dashboard-nav {
	margin-bottom: 16px;
	background: #fff;
	border-radius: 10px;
	padding: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-tabs {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	border-bottom: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.sxmv-tabs::-webkit-scrollbar {
	display: none;
}

.sxmv-tabs li {
	margin: 0;
	flex: 1;
	min-width: 100px;
	flex-shrink: 0;
	display: list-item !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.sxmv-tabs li a {
	display: block !important;
	padding: 10px 8px;
	text-decoration: none;
	color: #6b7280;
	font-weight: 600;
	font-size: 13px;
	border-radius: 8px;
	transition: all 0.2s;
	white-space: nowrap;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	visibility: visible !important;
	opacity: 1 !important;
}

.sxmv-tabs li a:hover {
	color: #667eea;
	background: #f3f4f6;
}

.sxmv-tabs li.active a {
	color: #667eea;
	background: #eef2ff;
}

/* Stats Grid - Compact */
.sxmv-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}

.sxmv-stat-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sxmv-stat-card .stat-icon {
	font-size: 28px;
	line-height: 1;
}

.sxmv-stat-card .stat-content {
	flex: 1;
	min-width: 0;
}

.sxmv-stat-card .stat-content h3 {
	font-size: 20px;
	margin: 0;
	color: #1a1a2e;
	font-weight: 700;
	line-height: 1.2;
}

.sxmv-stat-card .stat-content p {
	margin: 4px 0 0;
	color: #6b7280;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Quick Actions - Compact */
.sxmv-quick-actions {
	margin-bottom: 16px;
}

.sxmv-quick-actions h3 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	padding: 0 4px;
}

.sxmv-actions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.sxmv-action-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14px 8px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	text-decoration: none;
	color: #374151;
	transition: all 0.2s;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sxmv-action-card:hover {
	border-color: #667eea;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
	transform: translateY(-1px);
}

.sxmv-action-card .action-icon {
	font-size: 24px;
	margin-bottom: 6px;
	line-height: 1;
}

.sxmv-action-card span:not(.action-icon) {
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

/* No Data - Compact */
.sxmv-no-data {
	text-align: center;
	padding: 40px 20px;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
}

.sxmv-no-data p {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

/* Products List */
.sxmv-products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

/* Earnings Table Enhancements */
.sxmv-earnings-history .sxmv-table code {
	background: #f0f0f0;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #666;
	font-family: 'Courier New', monospace;
}

.sxmv-earning-amount {
	color: var(--sxmv-success);
	font-size: 16px;
	font-weight: 700;
}

.sxmv-earnings-history .sxmv-table td {
	vertical-align: middle;
}

.sxmv-earnings-history .sxmv-table th {
	background: #f8f9fa;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.5px;
}

/* Earnings Summary - Compact */
.sxmv-earnings-summary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 16px;
}

.sxmv-summary-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 14px 12px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.sxmv-summary-card h4 {
	margin: 0 0 6px;
	font-size: 11px;
	opacity: 0.9;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.sxmv-summary-card .amount {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

/* Image Upload */
.sxmv-image-upload {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
}

.sxmv-image-preview {
	width: 120px;
	height: 120px;
	border: 2px dashed var(--sxmv-border);
	border-radius: var(--sxmv-radius);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sxmv-light);
}

.sxmv-image-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sxmv-image-preview.banner-preview {
	width: 100%;
	height: 150px;
}

/* Pagination */
.sxmv-pagination {
	margin-top: 30px;
	text-align: center;
}

.sxmv-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border: 1px solid var(--sxmv-border);
	border-radius: 4px;
	text-decoration: none;
	color: var(--sxmv-dark);
}

.sxmv-pagination .page-numbers.current {
	background: var(--sxmv-primary);
	color: #fff;
	border-color: var(--sxmv-primary);
}

/* ============================================
   Premium Store Page - Light & Clean Design
   ============================================ */

/* Store Page Container */
.sxmv-store-page {
	background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
	min-height: 100vh;
}

/* Compact Store Header - Premium Light */
.sxmv-store-header-compact {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
	border-bottom: 1px solid #eef1f5;
	padding: 20px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.sxmv-store-info-compact {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.sxmv-store-info-compact .store-name-section {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sxmv-store-info-compact .store-logo-small {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	border: 2px solid #eef1f5;
	background: #fff;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sxmv-store-info-compact .store-logo-small img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sxmv-store-info-compact .store-logo-small-default {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	overflow: hidden;
	border: 2px solid #eef1f5;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.sxmv-store-info-compact .store-name-compact {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	letter-spacing: -0.3px;
}

.sxmv-store-info-compact .store-stats-compact {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sxmv-store-info-compact .stat-item-compact {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: #5a6778;
	background: #f5f7fa;
	padding: 6px 12px;
	border-radius: 20px;
}

.sxmv-store-info-compact .stat-item-compact .stat-icon {
	font-size: 14px;
}

.sxmv-store-info-compact .stat-item-compact strong {
	font-weight: 700;
	color: #1a1a2e;
}

.sxmv-store-info-compact .stat-item-compact.rating {
	background: #fff8e1;
	color: #f57c00;
}

.sxmv-store-info-compact .stat-item-compact.rating strong {
	color: #f57c00;
}

.sxmv-store-info-compact .stat-item-compact.verified {
	background: #e8f5e9;
	color: #2e7d32;
	font-weight: 600;
}

.sxmv-follow-btn-compact {
	background: #667eea;
	border: none;
	color: #fff;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	display: inline-block;
}

.sxmv-follow-btn-compact:hover {
	background: #5a6fd6;
	color: #fff;
}

.sxmv-follow-btn-compact.following {
	background: #4caf50;
}

.sxmv-follow-btn-compact.following:hover {
	background: #43a047;
}

/* Products Section - Premium Light */
.sxmv-store-products {
	padding: 30px 0 50px;
	background: #fff;
}

.sxmv-store-products .products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	flex-wrap: wrap;
	gap: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eef1f5;
}

.sxmv-store-products h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a2e;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sxmv-store-products h2::before {
	content: "🛍️";
	font-size: 18px;
}

.sxmv-store-products .products-filter-bar {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.sxmv-store-products .filter-dropdown {
	position: relative;
}

.sxmv-store-products .filter-select {
	appearance: none;
	-webkit-appearance: none;
	background: #f5f7fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6778' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
	border: 1px solid #e0e0e0;
	padding: 8px 30px 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	min-width: 120px;
	transition: all 0.2s ease;
}

.sxmv-store-products .filter-select:hover,
.sxmv-store-products .filter-select:focus {
	border-color: #667eea;
	outline: none;
}

/* Products Grid */
.sxmv-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
}

/* Store Product Card - Compact Design */
.sxmv-store-product-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.2s ease;
	position: relative;
}

.sxmv-store-product-card:hover {
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	border-color: #667eea;
}

.sxmv-store-product-card .product-image-wrapper {
	position: relative;
	width: 100%;
	padding-top: 120%;
	overflow: hidden;
	background: #f9f9f9;
}

.sxmv-store-product-card .product-image-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sxmv-store-product-card:hover .product-image-wrapper img {
	transform: scale(1.08);
}

.sxmv-store-product-card .discount-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #ff5252;
	color: #fff;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	z-index: 2;
}

.sxmv-store-product-card .product-info {
	padding: 10px;
}

.sxmv-store-product-card .product-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	height: 36px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.sxmv-store-product-card .product-title a {
	color: #333;
	text-decoration: none;
}

.sxmv-store-product-card .product-title a:hover {
	color: #667eea;
}

.sxmv-store-product-card .product-price {
	margin: 6px 0;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.sxmv-store-product-card .product-price .final-price,
.sxmv-store-product-card .product-price .sale-price {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
}

.sxmv-store-product-card .product-price .regular-price {
	font-size: 12px;
	color: #999;
	text-decoration: line-through;
}

.sxmv-store-product-card .view-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 8px;
	background: #667eea;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	margin-top: 8px;
	transition: background 0.2s;
}

.sxmv-store-product-card .view-btn:hover {
	background: #5a6fd6;
	color: #fff;
}

/* Legacy support */
.sxmv-store-product-card .product-price .price-note {
	display: block;
	font-size: 10px;
	color: #28a745;
	margin-top: 3px;
	font-weight: 500;
}

.sxmv-store-product-card .product-actions {
	margin-top: 10px;
}

.sxmv-store-product-card .view-product-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 11px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(102, 126, 234, 0.25);
}

.sxmv-store-product-card .view-product-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
	color: #fff;
}

/* ============================================
   Stores List
   ============================================ */
.sxmv-stores-list h2 {
	text-align: center;
	margin-bottom: 30px;
}

.sxmv-stores-grid {
	display: grid;
	gap: 25px;
}

.sxmv-stores-grid.columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.sxmv-stores-grid.columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.sxmv-store-card {
	background: #fff;
	border: 1px solid var(--sxmv-border);
	border-radius: var(--sxmv-radius);
	overflow: hidden;
	transition: all 0.3s;
}

.sxmv-store-card:hover {
	box-shadow: var(--sxmv-shadow);
	transform: translateY(-3px);
}

.sxmv-store-card .store-banner {
	height: 100px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	background-size: cover;
	background-position: center;
}

.sxmv-store-card .store-content {
	padding: 20px;
	text-align: center;
}

.sxmv-store-card .store-logo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: -60px auto 15px;
	border: 4px solid #fff;
	overflow: hidden;
	background: #fff;
}

.sxmv-store-card .store-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sxmv-store-card .store-logo-default {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sxmv-primary);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
}

.sxmv-store-card .store-name {
	margin: 0 0 10px;
	font-size: 18px;
}

.sxmv-store-card .store-name a {
	color: var(--sxmv-dark);
	text-decoration: none;
}

.sxmv-store-card .store-address,
.sxmv-store-card .store-products {
	font-size: 13px;
	color: #666;
	margin: 5px 0;
}

.sxmv-store-card .sxmv-btn {
	margin-top: 15px;
}

/* Vendor Info on Product Page */
.sxmv-vendor-info {
	margin: 10px 0;
	padding: 10px 15px;
	background: var(--sxmv-light);
	border-radius: var(--sxmv-radius);
	font-size: 14px;
}

.sxmv-vendor-info .vendor-label {
	color: #666;
}

.sxmv-vendor-info .vendor-store-link {
	color: var(--sxmv-primary);
	font-weight: 600;
	text-decoration: none;
}

.sxmv-vendor-info .vendor-store-link:hover {
	text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
	.sxmv-dashboard-wrap {
		padding: 8px;
	}
	
	.sxmv-dashboard-header {
		flex-direction: column;
		gap: 10px;
		text-align: center;
		padding: 10px 12px;
	}
	
	.sxmv-dashboard-header h2 {
		font-size: 16px;
	}
	
	.sxmv-dashboard-header .sxmv-btn {
		width: 100%;
		padding: 8px;
	}

	.sxmv-form-row-half {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.sxmv-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 2px;
		scrollbar-width: thin;
	}

	.sxmv-tabs::-webkit-scrollbar {
		display: block;
		height: 4px;
	}

	.sxmv-tabs::-webkit-scrollbar-thumb {
		background: #667eea;
		border-radius: 2px;
	}

	.sxmv-tabs li {
		min-width: 90px;
		flex-shrink: 0;
	}

	.sxmv-tabs li a {
		padding: 8px 6px;
		font-size: 12px;
		white-space: nowrap;
	}

	.sxmv-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.sxmv-stat-card {
		padding: 12px 10px;
		gap: 10px;
	}
	
	.sxmv-stat-card .stat-icon {
		font-size: 24px;
	}
	
	.sxmv-stat-card .stat-content h3 {
		font-size: 18px;
	}
	
	.sxmv-stat-card .stat-content p {
		font-size: 10px;
	}

	.sxmv-actions-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	
	.sxmv-action-card {
		padding: 12px 6px;
	}
	
	.sxmv-action-card .action-icon {
		font-size: 20px;
		margin-bottom: 4px;
	}
	
	.sxmv-action-card span:not(.action-icon) {
		font-size: 10px;
	}
	
	.sxmv-earnings-summary {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	
	.sxmv-summary-card {
		padding: 12px 10px;
	}
	
	.sxmv-summary-card h4 {
		font-size: 10px;
	}
	
	.sxmv-summary-card .amount {
		font-size: 18px;
	}

	.sxmv-store-header-compact {
		padding: 15px 0;
	}
	
	.sxmv-store-info-compact {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.sxmv-store-info-compact .store-name-section {
		width: 100%;
	}
	
	.sxmv-store-info-compact .store-logo-small,
	.sxmv-store-info-compact .store-logo-small-default {
		width: 48px;
		height: 48px;
		border-radius: 12px;
		font-size: 18px;
	}
	
	.sxmv-store-info-compact .store-name-compact {
		font-size: 18px;
	}
	
	.sxmv-store-info-compact .store-stats-compact {
		width: 100%;
		justify-content: flex-start;
		gap: 8px;
		flex-wrap: wrap;
	}
	
	.sxmv-store-info-compact .stat-item-compact {
		font-size: 11px;
		padding: 6px 10px;
		border-radius: 8px;
	}
	
	.sxmv-follow-btn-compact {
		padding: 6px 14px;
	}
	
	.sxmv-store-products {
		padding: 15px 0 30px;
	}
	
	.sxmv-store-products .products-header {
		padding-bottom: 10px;
		margin-bottom: 15px;
	}
	
	.sxmv-store-products h2 {
		font-size: 16px;
	}
	
	.sxmv-store-products h2::before {
		display: none;
	}
	
	.sxmv-store-products .filter-select {
		padding: 6px 25px 6px 10px;
		font-size: 12px;
		min-width: 100px;
	}
	
	.sxmv-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.sxmv-store-product-card {
		border-radius: 10px;
	}
	
	.sxmv-store-product-card .product-info {
		padding: 8px;
	}
	
	.sxmv-store-product-card .product-title {
		font-size: 12px;
		height: 34px;
		margin-bottom: 4px;
	}
	
	.sxmv-store-product-card .product-price .final-price,
	.sxmv-store-product-card .product-price .sale-price {
		font-size: 14px;
	}
	
	.sxmv-store-product-card .product-price .regular-price {
		font-size: 11px;
	}
	
	.sxmv-store-product-card .view-btn {
		padding: 6px;
		font-size: 11px;
		margin-top: 6px;
	}

	.sxmv-stores-grid.columns-3,
	.sxmv-stores-grid.columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.sxmv-table {
		font-size: 13px;
	}

	.sxmv-table th,
	.sxmv-table td {
		padding: 10px 8px;
	}

	.sxmv-products-header {
		flex-direction: column;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.sxmv-dashboard-wrap {
		padding: 6px;
	}
	
	.sxmv-dashboard-header {
		padding: 8px 10px;
	}
	
	.sxmv-dashboard-header h2 {
		font-size: 15px;
	}
	
	.sxmv-dashboard-nav {
		padding: 2px;
	}
	
	.sxmv-tabs li a {
		padding: 8px 4px;
		font-size: 11px;
	}

	.sxmv-stats-grid {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	
	.sxmv-stat-card {
		padding: 10px;
	}

	.sxmv-stores-grid.columns-3,
	.sxmv-stores-grid.columns-4 {
		grid-template-columns: 1fr;
	}

	.sxmv-actions-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}
	
	.sxmv-action-card {
		padding: 10px 4px;
	}
	
	.sxmv-action-card .action-icon {
		font-size: 18px;
	}
	
	.sxmv-action-card span:not(.action-icon) {
		font-size: 9px;
	}
	
	.sxmv-table {
		font-size: 11px;
	}
	
	.sxmv-table th,
	.sxmv-table td {
		padding: 8px 6px;
	}
	
	.sxmv-table th {
		font-size: 10px;
	}
	
	.sxmv-form-section {
		padding: 12px;
	}
	
	.sxmv-form-section h3,
	.sxmv-form-section h4 {
		font-size: 13px;
	}
	
	.sxmv-form-field label {
		font-size: 11px;
	}
	
	.sxmv-form-field input[type="text"],
	.sxmv-form-field input[type="email"],
	.sxmv-form-field input[type="tel"],
	.sxmv-form-field input[type="password"],
	.sxmv-form-field input[type="number"],
	.sxmv-form-field textarea,
	.sxmv-form-field select {
		padding: 8px 10px;
		font-size: 13px;
	}
	
	.sxmv-orders,
	.sxmv-earnings,
	.sxmv-settings {
		padding: 12px 10px;
	}
	
	.sxmv-orders h3,
	.sxmv-earnings h3,
	.sxmv-settings h3 {
		font-size: 13px;
	}
	
	.sxmv-recent-orders {
		padding: 12px 10px;
	}
	
	.sxmv-recent-orders h3 {
		font-size: 13px;
	}
}

/* Additional Compact Styles */
.sxmv-orders,
.sxmv-earnings,
.sxmv-settings {
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-orders h3,
.sxmv-earnings h3,
.sxmv-settings h3 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 1px solid #f3f4f6;
}

.sxmv-recent-orders {
	margin-top: 16px;
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-recent-orders h3 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
}

.sxmv-withdrawal-section {
	margin-top: 16px;
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-withdrawal-section h3 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 1px solid #f3f4f6;
}

.sxmv-earnings-history {
	margin-top: 16px;
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-earnings-history h3 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 1px solid #f3f4f6;
}

.sxmv-payouts-history {
	margin-top: 16px;
	background: #fff;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sxmv-payouts-history h3 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #1a1a2e;
	padding-bottom: 8px;
	border-bottom: 1px solid #f3f4f6;
}

