/**
 * Product List Modern Styles
 *
 * Modern, clean UI for the Product Sync page with design tokens,
 * search dropdown, filter bar, and enhanced table styling.
 *
 * @package    MOMCS_Sync
 * @subpackage MOMCS_Sync/assets/css
 * @author     miniOrange
 * @since      1.0.0
 */

/* ==========================================================================
   Design Tokens (CSS Custom Properties)
   ========================================================================== */

:root {
	/* Colors - Primary */
	--momcs-bg-primary: #ffffff;
	--momcs-bg-secondary: #f8f9fa;
	--momcs-bg-tertiary: #f1f3f5;
	--momcs-bg-hover: #f0f4f8;

	/* Colors - Borders */
	--momcs-border-color: #e5e7eb;
	--momcs-border-color-light: #f0f0f0;
	--momcs-border-color-dark: #d1d5db;

	/* Colors - Text */
	--momcs-text-primary: #1f2937;
	--momcs-text-secondary: #6b7280;
	--momcs-text-muted: #9ca3af;
	--momcs-text-white: #ffffff;

	/* Colors - Accent */
	--momcs-accent-blue: #3b82f6;
	--momcs-accent-blue-hover: #2563eb;
	--momcs-accent-blue-light: #eff6ff;
	--momcs-accent-green: #10b981;
	--momcs-accent-green-light: #d1fae5;
	--momcs-accent-orange: #ff6a00;
	--momcs-accent-orange-light: #fff7ed;
	--momcs-accent-red: #ef4444;
	--momcs-accent-red-light: #fee2e2;
	--momcs-accent-purple: #8b5cf6;
	--momcs-accent-purple-light: #ede9fe;

	/* Border Radius */
	--momcs-radius-xs: 4px;
	--momcs-radius-sm: 6px;
	--momcs-radius-md: 8px;
	--momcs-radius-lg: 12px;
	--momcs-radius-xl: 16px;
	--momcs-radius-full: 6px;

	/* Shadows */
	--momcs-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
	--momcs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
	--momcs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
	--momcs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
	--momcs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

	/* Spacing */
	--momcs-spacing-xs: 4px;
	--momcs-spacing-sm: 8px;
	--momcs-spacing-md: 12px;
	--momcs-spacing-lg: 11px;
	--momcs-spacing-xl: 24px;
	--momcs-spacing-2xl: 32px;

	/* Typography */
	--momcs-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--momcs-font-size-xs: 11px;
	--momcs-font-size-sm: 12px;
	--momcs-font-size-md: 13px;
	--momcs-font-size-base: 11px;
	--momcs-font-size-lg: 16px;
	--momcs-font-size-xl: 18px;
	--momcs-font-size-2xl: 24px;
	--momcs-font-weight-normal: 400;
	--momcs-font-weight-medium: 500;
	--momcs-font-weight-semibold: 600;
	--momcs-font-weight-bold: 700;
	--momcs-line-height-tight: 1.25;
	--momcs-line-height-normal: 1.5;

	/* Transitions */
	--momcs-transition-fast: 0.15s ease;
	--momcs-transition-normal: 0.2s ease;
	--momcs-transition-slow: 0.3s ease;
}

/* ==========================================================================
   Modern Products Container
   ========================================================================== */

.momcs-products-modern {
	font-family: var(--momcs-font-family);
	max-width: 100%;
	margin: 0;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.momcs-products-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--momcs-spacing-lg);
	padding: var(--momcs-spacing-lg) 0;
	margin-bottom: var(--momcs-spacing-lg);
}

.momcs-products-header-left {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-lg);
}

.momcs-products-title {
	font-size: var(--momcs-font-size-2xl);
	font-weight: var(--momcs-font-weight-bold);
	color: var(--momcs-text-primary);
	margin: 0;
	line-height: var(--momcs-line-height-tight);
}

.momcs-products-count {
	display: inline-flex;
	align-items: center;
	background: var(--momcs-bg-secondary);
	color: var(--momcs-text-secondary);
	font-size: var(--momcs-font-size-sm);
	font-weight: var(--momcs-font-weight-medium);
	padding: var(--momcs-spacing-xs) var(--momcs-spacing-md);
	border-radius: var(--momcs-radius-full);
}

/* Video Guide Button */
.momcs-video-guide-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	font-size: var(--momcs-font-size-sm);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-accent-blue);
	background: var(--momcs-accent-blue-light);
	border: 1px solid transparent;
	border-radius: var(--momcs-radius-full);
	text-decoration: none;
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
	white-space: nowrap;
}

.momcs-video-guide-btn:hover {
	border-color: var(--momcs-accent-blue);
	background: #dbeafe;
	text-decoration: none;
	color: var(--momcs-accent-blue);
}

.momcs-video-guide-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.momcs-products-header-right {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
}

/* ==========================================================================
   Search Component - Clean White Box Style (Matches Filter Dropdowns)
   ========================================================================== */

.momcs-product-search-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	background: var(--momcs-bg-primary);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	border: 1px solid var(--momcs-border-color-light);
	height: 34px;
	width: auto;
	min-width: 160px;
	transition: all var(--momcs-transition-fast);
}

.momcs-product-search-wrapper:hover {
	box-shadow: var(--momcs-shadow-md);
}

.momcs-product-search-wrapper:focus-within {
	border-color: var(--momcs-accent-blue);
	box-shadow: 0 0 0 3px var(--momcs-accent-blue-light);
}

.momcs-product-search-icon {
	width: 14px;
	height: 14px;
	color: var(--momcs-text-muted);
	flex-shrink: 0;
}

.momcs-product-search-input {
	flex: 1;
	height: 22px;
	min-width: 100px;
	padding: 0 2px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: transparent;
	border: none !important;
	outline: none !important;
	box-sizing: border-box;
}

.momcs-product-search-input:hover {
	border: none !important;
	color: var(--momcs-accent-blue);
}

.momcs-product-search-input:focus {
	outline: none !important;
	border: none !important;
	color: var(--momcs-text-primary);
}

.momcs-product-search-input::placeholder {
	color: var(--momcs-text-muted);
	opacity: 1;
	border: none !important;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-normal);
}

/* Search Dropdown */
.momcs-product-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	max-height: 400px;
	overflow-y: auto;
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color);
	border-radius: var(--momcs-radius-lg);
	box-shadow: var(--momcs-shadow-lg);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all var(--momcs-transition-fast);
}

.momcs-product-search-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.momcs-search-result-item {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
	padding: var(--momcs-spacing-md) var(--momcs-spacing-lg);
	cursor: pointer;
	transition: background var(--momcs-transition-fast);
}

.momcs-search-result-item:hover,
.momcs-search-result-item.is-focused {
	background: var(--momcs-bg-hover);
}

.momcs-search-result-item:first-child {
	border-radius: var(--momcs-radius-lg) var(--momcs-radius-lg) 0 0;
}

.momcs-search-result-item:last-child {
	border-radius: 0 0 var(--momcs-radius-lg) var(--momcs-radius-lg);
}

.momcs-search-result-item + .momcs-search-result-item {
	border-top: 1px solid var(--momcs-border-color-light);
}

.momcs-search-result-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--momcs-radius-md);
	background: var(--momcs-bg-secondary);
	flex-shrink: 0;
}

.momcs-search-result-info {
	flex: 1;
	min-width: 0;
}

.momcs-search-result-name {
	display: block;
	font-size: var(--momcs-font-size-base);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 2px;
}

.momcs-search-result-meta {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-sm);
}

.momcs-search-result-price {
	font-size: var(--momcs-font-size-sm);
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-accent-green);
}

.momcs-search-result-sku {
	font-size: var(--momcs-font-size-xs);
	color: var(--momcs-text-muted);
}

.momcs-search-no-results {
	padding: var(--momcs-spacing-xl);
	text-align: center;
	color: var(--momcs-text-muted);
	font-size: var(--momcs-font-size-sm);
}

.momcs-search-loading {
	padding: var(--momcs-spacing-xl);
	text-align: center;
}

.momcs-search-loading-spinner {
	width: 24px;
	height: 24px;
	border: 2px solid var(--momcs-border-color);
	border-top-color: var(--momcs-accent-blue);
	border-radius: 50%;
	animation: momcs-spin 0.8s linear infinite;
}

@keyframes momcs-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================================
   Combined Toolbar - Search + Filters + Actions in One Row
   ========================================================================== */

.momcs-products-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--momcs-spacing-sm);
	padding: var(--momcs-spacing-sm) 0;
	margin-bottom: var(--momcs-spacing-sm);
}

.momcs-toolbar-left {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-sm);
	flex-wrap: wrap;
}

.momcs-toolbar-right {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-sm);
}

/* Search wrapper in toolbar - match filter dropdown width */
.momcs-toolbar-left .momcs-product-search-wrapper {
	min-width: 160px;
	max-width: 220px;
}

/* Filter Dropdown Container - Compact clean white boxes */
.momcs-filter-dropdown {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	background: var(--momcs-bg-primary);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	border: 1px solid var(--momcs-border-color-light);
	height: 34px;
}

.momcs-filter-dropdown:hover {
	box-shadow: var(--momcs-shadow-md);
}

.momcs-filter-label {
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	white-space: nowrap;
}

.momcs-filter-select {
	height: 22px;
	min-width: 70px;
	padding: 0 16px 0 2px;
	font-size: var(--momcs-font-size-xs) !important;
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	border: none;
	cursor: pointer;
	appearance: none;
	transition: all var(--momcs-transition-fast);
}

.momcs-filter-select:hover {
	color: var(--momcs-accent-blue);
}

.momcs-filter-select:focus {
	outline: none;
	color: var(--momcs-accent-blue);
}

/* Filter Icon - subtle icon after dropdown */
.momcs-filter-icon {
	width: 12px;
	height: 12px;
	color: var(--momcs-text-muted);
	flex-shrink: 0;
}

/* Filters trigger button - single button that opens filters popup */
.momcs-filters-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color-light);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	cursor: pointer;
	transition: box-shadow var(--momcs-transition-fast), border-color var(--momcs-transition-fast);
}

.momcs-filters-trigger-btn:hover {
	box-shadow: var(--momcs-shadow-md);
	border-color: var(--momcs-border-color);
}

.momcs-filters-trigger-btn:focus {
	outline: none;
	border-color: var(--momcs-accent-blue);
	box-shadow: 0 0 0 1px var(--momcs-accent-blue);
}

.momcs-filters-trigger-icon {
	flex-shrink: 0;
	color: var(--momcs-text-secondary);
}

.momcs-filters-trigger-text {
	white-space: nowrap;
}

/* Filters modal overlay */
.momcs-filters-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9998;
}

.momcs-filters-modal-overlay.is-open {
	display: block;
}

/* Filters modal popup */
.momcs-filters-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 40px);
	max-width: 420px;
	max-height: 90vh;
	background: var(--momcs-bg-primary);
	border-radius: var(--momcs-radius-lg);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
	border: 1px solid var(--momcs-border-color-light);
	z-index: 9999;
	overflow: hidden;
	flex-direction: column;
}

.momcs-filters-modal.is-open {
	display: flex;
}

.momcs-filters-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--momcs-spacing-md) var(--momcs-spacing-lg);
	border-bottom: 1px solid var(--momcs-border-color-light);
	flex-shrink: 0;
}

.momcs-filters-modal-title {
	margin: 0;
	font-size: var(--momcs-font-size-base);
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-primary);
}

.momcs-filters-modal-close {
	padding: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--momcs-text-secondary);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	border-radius: var(--momcs-radius-sm);
	transition: color var(--momcs-transition-fast), background-color var(--momcs-transition-fast);
}

.momcs-filters-modal-close:hover {
	color: var(--momcs-text-primary);
	background: var(--momcs-bg-secondary);
}

.momcs-filters-modal-body {
	padding: var(--momcs-spacing-lg);
	overflow-y: auto;
	flex: 1 1 auto;
}

.momcs-filters-modal-row {
	margin-bottom: var(--momcs-spacing-md);
}

.momcs-filters-modal-row:last-child {
	margin-bottom: 0;
}

.momcs-filters-modal-label {
	display: block;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	margin-bottom: 6px;
}

.momcs-product-search-wrapper-in-modal {
	width: 100%;
	max-width: none;
}

.momcs-filter-select-in-modal {
	width: 100%;
	min-width: 0;
	height: 34px;
	padding: 0 28px 0 10px;
}

.momcs-filters-modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--momcs-spacing-sm);
	padding: var(--momcs-spacing-md) var(--momcs-spacing-lg);
	border-top: 1px solid var(--momcs-border-color-light);
	background: var(--momcs-bg-secondary);
	flex-shrink: 0;
}

.momcs-filters-modal-clear {
	padding: 0 14px;
	height: 34px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color-light);
	border-radius: var(--momcs-radius-md);
	cursor: pointer;
	transition: border-color var(--momcs-transition-fast), color var(--momcs-transition-fast);
}

.momcs-filters-modal-clear:hover {
	color: var(--momcs-text-primary);
	border-color: var(--momcs-border-color);
}

.momcs-filters-modal-apply {
	padding: 0 18px;
	height: 34px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-white);
	background: var(--momcs-accent-orange);
	border: none;
	border-radius: var(--momcs-radius-md);
	cursor: pointer;
	transition: opacity var(--momcs-transition-fast);
}

.momcs-filters-modal-apply:hover {
	opacity: 0.9;
	background: #e68a00;
}

/* Sync Status Row (for spinners and messages) */
.momcs-sync-actions-row {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
	padding: var(--momcs-spacing-xs) 0;
	margin-bottom: var(--momcs-spacing-sm);
	min-height: 0;
}

/* Hide row when spinner/message not active */
.momcs-sync-actions-row:empty {
	display: none;
}

/* Legacy filter bar - keep for backwards compatibility */
.momcs-products-filter-bar {
	display: none;
}

.momcs-filter-group {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
}

.momcs-filter-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--momcs-spacing-xs);
	height: 36px;
	padding: 0 var(--momcs-spacing-lg);
	font-size: var(--momcs-font-size-sm);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color-light);
	border-radius: var(--momcs-radius-lg);
	box-shadow: var(--momcs-shadow-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
}

.momcs-filter-btn:hover {
	box-shadow: var(--momcs-shadow-md);
}

.momcs-filter-btn svg {
	width: 16px;
	height: 16px;
	color: var(--momcs-text-muted);
}

.momcs-filter-btn-primary {
	background: var(--momcs-accent-blue);
	border-color: var(--momcs-accent-blue);
	color: var(--momcs-text-white);
}

.momcs-filter-btn-primary:hover {
	background: var(--momcs-accent-blue-hover);
	border-color: var(--momcs-accent-blue-hover);
}

/* ==========================================================================
   Actions Bar (Bulk Actions) - Clean White Box Style
   ========================================================================== */

.momcs-products-actions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--momcs-spacing-md);
	padding: var(--momcs-spacing-md) 0;
	margin-bottom: var(--momcs-spacing-lg);
}

.momcs-bulk-actions {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
}

/* Action Dropdown Container - Matches filter dropdowns style */
.momcs-action-dropdown {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	background: var(--momcs-bg-primary);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	border: 1px solid var(--momcs-border-color-light);
	height: 34px;
	transition: all var(--momcs-transition-fast);
}

.momcs-action-dropdown:hover {
	box-shadow: var(--momcs-shadow-md);
}

.momcs-action-label {
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	white-space: nowrap;
}

/* Bulk Select - Clean transparent style inside container */
.momcs-bulk-select {
	height: 22px;
	min-width: 80px;
	padding: 0 16px 0 2px;
	font-size: var(--momcs-font-size-xs) !important;
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	border: none;
	cursor: pointer;
	appearance: none;
	transition: all var(--momcs-transition-fast);
}

.momcs-bulk-select:hover {
	color: var(--momcs-accent-blue);
}

.momcs-bulk-select:focus {
	outline: none;
	color: var(--momcs-accent-blue);
}

/* Apply Button - Compact white box style matching filters */
.momcs-bulk-apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 12px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color-light);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
}

.momcs-bulk-apply-btn:hover {
	box-shadow: var(--momcs-shadow-md);
	border-color: var(--momcs-border-color);
}

/* Sync Amazon Button - Compact primary action */
.momcs-sync-amazon-btn {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-white);
	background: #ea580c;
	border: none;
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
	line-height: 1;
	white-space: nowrap;
}

.momcs-sync-amazon-btn:hover {
	background: #c2410c;
	box-shadow: var(--momcs-shadow-md);
}

/* Override any gradient from other stylesheets: solid plugin-orange only */
.momcs-products-toolbar .momcs-sync-amazon-btn,
.momcs-products-modern .momcs-sync-amazon-btn,
#momcs-sync-from-amazon-btn.momcs-sync-amazon-btn {
	background: #ea580c !important;
}

.momcs-products-toolbar .momcs-sync-amazon-btn:hover,
.momcs-products-modern .momcs-sync-amazon-btn:hover,
#momcs-sync-from-amazon-btn.momcs-sync-amazon-btn:hover {
	background: #c2410c !important;
}

#momcs-sync-from-amazon-btn.momcs-sync-amazon-btn:focus {
	background: #ea580c !important;
}

.momcs-sync-amazon-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.momcs-sync-amazon-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	display: block;
	margin: 0;
	padding: 0;
}

/* Free plan: disabled "Sync from Amazon" shows lock + label */
.momcs-sync-amazon-btn.momcs-sync-amazon-btn--locked .momcs-sync-amazon-lock {
	font-size: 14px;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	line-height: 1;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.momcs-sync-amazon-btn.momcs-sync-amazon-btn--locked .momcs-sync-amazon-btn-label {
	line-height: 1.2;
}

/* ==========================================================================
   Modern Table - Card-like Rows
   ========================================================================== */

.momcs-products-table-wrapper {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.momcs-products-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 6px;
	border: none !important;
	font-size: var(--momcs-font-size-sm);
}

.momcs-products-table thead th {
	padding: var(--momcs-spacing-md) var(--momcs-spacing-lg);
	padding-bottom: 0;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
	background: transparent;
	border: none !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-bottom: none !important;
	white-space: nowrap;
	vertical-align: middle;
	display: table-cell;
}

/* STATUS header alignment - ensure button and text are aligned */
.momcs-products-table thead th.column-status {
	vertical-align: middle;
}

/* Refresh status button in header */
.momcs-amz-refresh-status-btn {
	display: inline-block;
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
	margin-left: 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	vertical-align: middle;
	line-height: 1;
}

.momcs-amz-refresh-status-btn svg {
	width: 14px;
	height: 14px;
	color: var(--momcs-text-secondary);
	vertical-align: middle;
	display: block;
}

.momcs-amz-refresh-status-btn:hover svg {
	color: var(--momcs-accent-blue);
}

/* Remove borders between header columns */
.momcs-products-table thead th + th {
	border-left: none !important;
}

.momcs-products-table tbody tr {
	background: transparent;
	transition: transform var(--momcs-transition-fast);
}

.momcs-products-table tbody tr {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	border-radius: var(--momcs-radius-lg);
	background: var(--momcs-bg-primary);
}

.momcs-products-table tbody tr:hover {
	transform: translateY(-1px);
	box-shadow: var(--momcs-shadow-md);
}

.momcs-products-table tbody tr:hover td {
	box-shadow: none !important;
}

.momcs-products-table tbody td {
	padding: var(--momcs-spacing-lg);
	border: none !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-bottom: none !important;
	vertical-align: middle;
	background: transparent;
	box-shadow: none !important;
	position: relative;
}

/* Round corners for first and last cells in each row */
.momcs-products-table tbody td:first-child {
	border-radius: var(--momcs-radius-lg) 0 0 var(--momcs-radius-lg);
	box-shadow: none !important;
	border-left: none !important;
}

.momcs-products-table tbody td:last-child {
	border-radius: 0 var(--momcs-radius-lg) var(--momcs-radius-lg) 0;
	box-shadow: none !important;
	border-right: none !important;
}

/* Remove any borders between columns */
.momcs-products-table tbody td + td {
	border-left: none !important;
}

/* Single cell rows get full radius */
.momcs-products-table tbody td:only-child {
	border-radius: var(--momcs-radius-lg);
}

/* Checkbox Column */
.momcs-products-table .column-cb {
	width: 40px;
	text-align: center;
}

.momcs-products-table .column-cb input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
	accent-color: var(--momcs-accent-blue);
}

/* Product Details Column */
.momcs-product-details {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-md);
}

.momcs-product-thumb {
	width: 38px;
	height: 38px;
	object-fit: cover;
	border-radius: var(--momcs-radius-md);
	background: var(--momcs-bg-secondary);
	flex-shrink: 0;
	border: 1px solid var(--momcs-border-color-light);
}

.momcs-product-info {
	flex: 1;
	min-width: 0;
}

.momcs-product-name {
	font-size: var(--momcs-font-size-base);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	text-decoration: none;
	display: block;
	margin-bottom: 4px;
	transition: color var(--momcs-transition-fast);
}

.momcs-product-name:hover {
	color: var(--momcs-accent-blue);
}

.momcs-product-sku-row {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--momcs-font-size-xs);
	color: var(--momcs-text-secondary);
}

.momcs-product-sku-row .momcs-sku-label {
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-primary);
}

.momcs-product-sku-row .momcs-sku-value {
	color: var(--momcs-text-secondary);
}

.momcs-product-sku-row .momcs-sku-edit-link {
	color: var(--momcs-accent-blue);
	text-decoration: none;
}

.momcs-product-sku-row .momcs-sku-edit-link:hover {
	text-decoration: underline;
}

.momcs-product-config-warning {
	display: inline-flex;
	align-items: center;
	margin-top: 6px;
	padding: 4px;
	color: var(--momcs-accent-orange);
	background: var(--momcs-accent-orange-light);
	border-radius: var(--momcs-radius-sm);
	text-decoration: none;
	cursor: help;
}

.momcs-product-config-warning:hover {
	color: #b45309;
}

.momcs-product-config-warning svg {
	width: 14px;
	height: 14px;
}

/* Category Pills */
.momcs-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.momcs-category-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-accent-purple);
	background: var(--momcs-accent-purple-light);
	border-radius: var(--momcs-radius-full);
	white-space: nowrap;
}

/* Hidden category pills - shown when expanded */
.momcs-category-pill-hidden {
	display: none;
}

.momcs-category-pills.momcs-categories-expanded .momcs-category-pill-hidden {
	display: inline-flex;
}

/* Toggle pill (+N / collapse) */
.momcs-category-pill-toggle {
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.momcs-category-pill-toggle:hover {
	background: var(--momcs-accent-purple);
	color: #fff;
}

/* Type Badge - Icon only with tooltip */
.momcs-type-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--momcs-text-secondary);
	background: transparent;
	padding: 4px;
	border-radius: var(--momcs-radius-sm);
	cursor: help;
	transition: all var(--momcs-transition-fast);
}

.momcs-type-badge:hover {
	background: var(--momcs-bg-secondary);
	color: var(--momcs-accent-purple);
}

.momcs-type-badge.type-variable {
	color: var(--momcs-accent-purple);
}

.momcs-type-badge.type-simple {
	color: var(--momcs-text-secondary);
}

.momcs-type-badge.momcs-type-badge-text {
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	padding: 2px 6px;
	cursor: default;
}

.momcs-type-badge svg {
	width: 16px;
	height: 16px;
}

/* ASIN Column - With icon */
.momcs-asin-with-icon {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: help;
}

.momcs-asin-with-icon svg {
	color: var(--momcs-text-muted);
	flex-shrink: 0;
}

.momcs-asin-with-icon:hover svg {
	color: var(--momcs-accent-blue);
}

.momcs-asin-value {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: var(--momcs-font-size-xs);
	color: var(--momcs-text-secondary);
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.momcs-asin-empty {
	color: var(--momcs-text-muted);
}

/* Price Chips */
.momcs-price-chips {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.momcs-price-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: var(--momcs-bg-secondary);
	border-radius: var(--momcs-radius-sm);
	font-size: var(--momcs-font-size-sm);
}

.momcs-price-chip-logo {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.momcs-price-chip.woocommerce .momcs-price-chip-logo {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDg1LjkgNDcuNiI+CjxwYXRoIGZpbGw9IiNhN2FhYWQiIGQ9Ik03Ny40LDAuMWMtNC4zLDAtNy4xLDEuNC05LjYsNi4xTDU2LjQsMjcuN1Y4LjZjMC01LjctMi43LTguNS03LjctOC41cy03LjEsMS43LTkuNiw2LjVMMjguMywyNy43VjguOAoJYzAtNi4xLTIuNS04LjctOC42LTguN0g3LjNDMi42LDAuMSwwLDIuMywwLDYuM3MyLjUsNi40LDcuMSw2LjRoNS4xdjI0LjFjMCw2LjgsNC42LDEwLjgsMTEuMiwxMC44UzMzLDQ1LDM2LjMsMzguOWw3LjItMTMuNXYxMS40CgljMCw2LjcsNC40LDEwLjgsMTEuMSwxMC44czkuMi0yLjMsMTMtOC43bDE2LjYtMjhjMy42LTYuMSwxLjEtMTAuOC02LjktMTAuOEM3Ny4zLDAuMSw3Ny4zLDAuMSw3Ny40LDAuMXoiLz4KPC9zdmc+Cg==") !important;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.momcs-price-chip.amazon .momcs-price-chip-logo {
	background-image: url("../images/amazon-single-logo.png") !important;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.momcs-price-value {
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-primary);
}

/* Stock Status - Icon only with tooltip */
.momcs-stock-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	border-radius: var(--momcs-radius-sm);
	cursor: help;
	transition: all var(--momcs-transition-fast);
}

.momcs-stock-badge svg {
	width: 18px;
	height: 18px;
}

.momcs-stock-badge.in-stock {
	color: var(--momcs-accent-green);
}

.momcs-stock-badge.in-stock:hover {
	background: var(--momcs-accent-green-light);
}

.momcs-stock-badge.out-of-stock {
	color: var(--momcs-accent-red);
}

.momcs-stock-badge.out-of-stock:hover {
	background: var(--momcs-accent-red-light);
}

.momcs-stock-badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

/* Status Column - Clean icons with flags (no chip background) */
.momcs-marketplace-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.momcs-marketplace-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px;
	border-radius: var(--momcs-radius-sm);
	position: relative;
	cursor: help;
	background: transparent;
	transition: all var(--momcs-transition-fast);
}

.momcs-marketplace-chip:hover {
	background: var(--momcs-bg-secondary);
}

/* Remove colored backgrounds - keep transparent */
.momcs-marketplace-chip.success,
.momcs-marketplace-chip.discoverable,
.momcs-marketplace-chip.processing,
.momcs-marketplace-chip.pending,
.momcs-marketplace-chip.error,
.momcs-marketplace-chip.danger {
	background: transparent;
}

/* Status dot - hidden by default since we use icons now */
.momcs-status-dot {
	display: none;
}

/* Icon tooltip - native browser tooltip via title attribute */
.momcs-icon-tooltip {
	cursor: help;
}

/* Spinning icon animation for processing status */
@keyframes momcs-icon-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.momcs-icon-spin {
	animation: momcs-icon-spin 1.5s linear infinite;
}

/* Status icons */
.momcs-marketplace-chip svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Icon colors by status */
.momcs-status-icon-uploaded {
	color: var(--momcs-accent-green);
}

.momcs-status-icon-discoverable {
	color: var(--momcs-accent-blue);
}

.momcs-status-icon-processing {
	color: var(--momcs-accent-orange);
}

.momcs-status-icon-error {
	color: var(--momcs-accent-red);
}

.momcs-status-icon-default {
	color: var(--momcs-text-muted);
}

/* Country flags in status */
.momcs-marketplace-chip .momcs-mp-flag {
	width: 22px;
	height: 16px;
	border-radius: 6px;
	flex-shrink: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid var(--momcs-border-color-light);
}

/* Issues Column - Icon only, no chip background */
.momcs-issues-btn,
.momcs-amz-issues-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	background: transparent !important;
	border: none !important;
	border-radius: var(--momcs-radius-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
	box-shadow: none !important;
}

.momcs-issues-btn:hover,
.momcs-amz-issues-btn:hover {
	background: var(--momcs-bg-secondary) !important;
	color: inherit !important;
	transform: none !important;
	box-shadow: none !important;
}

.momcs-issues-btn:focus,
.momcs-amz-issues-btn:focus {
	outline: none !important;
	box-shadow: none !important;
}

.momcs-issues-btn:active,
.momcs-amz-issues-btn:active {
	transform: none !important;
	box-shadow: none !important;
}

.momcs-issues-btn svg,
.momcs-amz-issues-btn svg,
.momcs-icon-issues {
	width: 20px;
	height: 20px;
	color: var(--momcs-accent-red);
	flex-shrink: 0;
}

.momcs-issues-btn:hover svg,
.momcs-amz-issues-btn:hover svg,
.momcs-issues-btn:hover .momcs-icon-issues {
	color: #dc2626;
}

.momcs-no-issues {
	display: none;
}

/* Actions Column */
.momcs-actions-cell {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-sm);
}

.momcs-action-edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 32px;
	padding: 0 var(--momcs-spacing-md);
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: var(--momcs-bg-secondary);
	border: 1px solid var(--momcs-border-color);
	border-radius: var(--momcs-radius-sm);
	text-decoration: none;
	transition: all var(--momcs-transition-fast);
}

.momcs-action-edit-btn:hover {
	background: var(--momcs-bg-tertiary);
	border-color: var(--momcs-border-color-dark);
	color: var(--momcs-text-primary);
}

.momcs-action-edit-btn svg {
	width: 14px;
	height: 14px;
}

/* Three-dot Menu */
.momcs-action-menu {
	position: relative;
}

.momcs-action-menu-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	z-index: 100;
	height: 32px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--momcs-radius-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
}

.momcs-action-menu-trigger:hover {
	background: var(--momcs-bg-secondary);
	border-color: var(--momcs-border-color);
}

.momcs-action-menu-trigger svg {
	width: 18px;
	height: 18px;
	color: var(--momcs-text-secondary);
}

.momcs-action-menu-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 160px;
	background: var(--momcs-bg-primary);
	border: 1px solid var(--momcs-border-color);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-lg);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all var(--momcs-transition-fast);
}

.momcs-action-menu-dropdown.is-open {
	opacity: 1;
	z-index: 1;
	visibility: visible;
	transform: translateY(0);
}

.momcs-action-menu-item {
	display: flex;
	align-items: center;
	gap: var(--momcs-spacing-sm);
	padding: var(--momcs-spacing-sm) var(--momcs-spacing-md);
	font-size: var(--momcs-font-size-sm);
	color: var(--momcs-text-primary);
	text-decoration: none;
	cursor: pointer;
	transition: background var(--momcs-transition-fast);
}

.momcs-action-menu-item:hover {
	background: var(--momcs-bg-hover);
}

.momcs-action-menu-item:first-child {
	border-radius: var(--momcs-radius-md) var(--momcs-radius-md) 0 0;
}

.momcs-action-menu-item:last-child {
	border-radius: 0 0 var(--momcs-radius-md) var(--momcs-radius-md);
}

.momcs-action-menu-item svg {
	width: 16px;
	height: 16px;
	color: var(--momcs-text-secondary);
}

.momcs-action-menu-item.danger {
	color: var(--momcs-accent-red);
}

.momcs-action-menu-item.danger svg {
	color: var(--momcs-accent-red);
}

.momcs-action-menu-divider {
	height: 1px;
	background: var(--momcs-border-color-light);
	margin: var(--momcs-spacing-xs) 0;
}

/* ==========================================================================
   Modern Pagination - Clean Design
   ========================================================================== */

.momcs-pagination-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--momcs-spacing-lg);
	padding: var(--momcs-spacing-lg) 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.momcs-pagination-wrapper.top {
	border: none;
	border-radius: 0;
	margin-bottom: 0;
	padding-bottom: var(--momcs-spacing-md);
}

/* Show Entries UI - Same padding as Filters / toolbar (0 12px, 34px height) */
.momcs-pagination-per-page {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	background: var(--momcs-bg-primary);
	border-radius: var(--momcs-radius-md);
	box-shadow: var(--momcs-shadow-sm);
	border: 1px solid var(--momcs-border-color-light);
	height: 34px;
	transition: all var(--momcs-transition-fast);
}

.momcs-pagination-per-page:hover {
	box-shadow: var(--momcs-shadow-md);
}

.momcs-pagination-per-page span {
	font-size: var(--momcs-font-size-xs);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	white-space: nowrap;
}

.momcs-per-page-select {
	height: 22px;
	min-width: 70px;
	padding: 0 16px 0 2px;
	font-size: var(--momcs-font-size-xs) !important;
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-primary);
	background: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	border: none;
	cursor: pointer;
	appearance: none;
	transition: all var(--momcs-transition-fast);
}

.momcs-per-page-select:hover {
	color: var(--momcs-accent-blue);
}

.momcs-per-page-select:focus {
	outline: none;
	color: var(--momcs-accent-blue);
}

.momcs-pagination-info {
	margin-left: 9%;
	font-size: var(--momcs-font-size-sm);
	color: var(--momcs-text-secondary);
}

.momcs-pagination-info strong {
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-primary);
}

.momcs-pagination-nav {
	display: flex;
	align-items: center;
	gap: 2px;
}

.momcs-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	border-radius: var(--momcs-radius-sm);
	cursor: pointer;
	transition: all var(--momcs-transition-fast);
	color: var(--momcs-text-secondary);
	text-decoration: none;
}

.momcs-page-btn:hover:not(:disabled) {
	background: transparent;
	color: var(--momcs-text-primary);
}

.momcs-page-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.momcs-page-btn svg {
	width: 16px;
	height: 16px;
	color: var(--momcs-text-secondary);
}

.momcs-page-numbers {
	display: flex;
	align-items: center;
	gap: 2px;
}

.momcs-page-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 var(--momcs-spacing-sm);
	font-size: var(--momcs-font-size-sm);
	font-weight: var(--momcs-font-weight-medium);
	color: var(--momcs-text-secondary);
	background: transparent;
	border: none;
	border-radius: var(--momcs-radius-sm);
	cursor: pointer;
	text-decoration: none;
	transition: all var(--momcs-transition-fast);
}

.momcs-page-num:hover {
	background: transparent;
	color: var(--momcs-text-primary);
}

.momcs-page-num.active {
	background: var(--momcs-accent-orange);
	border: none;
	color: var(--momcs-text-white);
	min-width: 24px;
	height: 28px;
	padding: 0 8px;
}

.momcs-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: var(--momcs-font-size-sm);
	color: var(--momcs-text-muted);
}

/* ==========================================================================
   Notice Box
   ========================================================================== */

.momcs-products-notice {
	display: flex;
	align-items: flex-start;
	gap: var(--momcs-spacing-md);
	padding: var(--momcs-spacing-md) var(--momcs-spacing-lg);
	background: var(--momcs-accent-orange-light);
	border: 1px solid #ff8c13;
	border-radius: var(--momcs-radius-md);
	margin-bottom: var(--momcs-spacing-lg);
}

.momcs-products-notice-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--momcs-accent-orange);
}

.momcs-products-notice p {
	margin: 0;
	font-size: var(--momcs-font-size-sm);
	color: #b45309;
	line-height: var(--momcs-line-height-normal);
}

/* ==========================================================================
   Progress Container
   ========================================================================== */

.momcs-sync-progress-container {
	margin-bottom: var(--momcs-spacing-lg);
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.momcs-products-empty {
	text-align: center;
	padding: var(--momcs-spacing-2xl) * 2;
}

.momcs-products-empty-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto var(--momcs-spacing-lg);
	color: var(--momcs-text-muted);
}

.momcs-products-empty h3 {
	font-size: var(--momcs-font-size-lg);
	font-weight: var(--momcs-font-weight-semibold);
	color: var(--momcs-text-primary);
	margin: 0 0 var(--momcs-spacing-sm);
}

.momcs-products-empty p {
	font-size: var(--momcs-font-size-base);
	color: var(--momcs-text-secondary);
	margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media screen and (max-width: 1200px) {
	.momcs-toolbar-left .momcs-product-search-wrapper {
		min-width: 140px;
		max-width: 180px;
	}

	.momcs-products-table .column-category,
	.momcs-products-table .column-type {
		display: none;
	}
}

@media screen and (max-width: 992px) {
	.momcs-products-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.momcs-products-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.momcs-toolbar-left {
		width: 100%;
		flex-wrap: wrap;
	}

	.momcs-toolbar-right {
		width: 100%;
		margin-top: var(--momcs-spacing-sm);
	}

	.momcs-toolbar-left .momcs-product-search-wrapper {
		min-width: 100%;
		max-width: 100%;
		flex: 1;
	}

	.momcs-pagination-wrapper {
		flex-direction: column;
		gap: var(--momcs-spacing-md);
	}

	.momcs-pagination-nav {
		order: -1;
	}
}

@media screen and (max-width: 768px) {
	.momcs-products-table .column-sku,
	.momcs-products-table .column-asin,
	.momcs-products-table .column-issues {
		display: none;
	}

	.momcs-product-details {
		gap: var(--momcs-spacing-sm);
	}

	.momcs-product-thumb {
		width: 38px;
		height: 38px;
	}

	.momcs-pagination-nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	.momcs-page-numbers {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media screen and (max-width: 576px) {
	.momcs-products-actions-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.momcs-bulk-actions {
		width: 100%;
		flex-wrap: wrap;
	}

	.momcs-action-dropdown,
	.momcs-sync-amazon-btn {
		flex: 1;
		min-width: 120px;
	}

	.momcs-toolbar-right {
		flex-wrap: wrap;
	}

	.momcs-toolbar-right .momcs-action-dropdown {
		flex: 1;
	}

	.momcs-products-table thead th,
	.momcs-products-table tbody td {
		padding: var(--momcs-spacing-sm);
	}

	.momcs-product-name {
		font-size: var(--momcs-font-size-sm);
	}

	.momcs-products-table .column-price,
	.momcs-products-table .column-stock {
		display: none;
	}

	.momcs-action-edit-btn span {
		display: none;
	}
}

/* ==========================================================================
   Shimmer Effect for Status and Issues Columns
   ========================================================================== */

.column-status.momcs-shimmer-active .momcs-marketplace-chip,
.column-status.momcs-shimmer-active .momcs-marketplace-chips,
.column-issues.momcs-shimmer-active .momcs-issues-btn,
.column-issues.momcs-shimmer-active .momcs-amz-issues-btn {
	opacity: 0;
}

.column-status.momcs-shimmer-active::after,
.column-issues.momcs-shimmer-active::after {
	content: '';
	display: block;
	width: 80px;
	height: 24px;
	background: linear-gradient(90deg,
		#f0f0f0 25%,
		#e0e0e0 50%,
		#f0f0f0 75%);
	background-size: 200% 100%;
	animation: momcs-shimmer 1.5s infinite;
	border-radius: var(--momcs-radius-sm);
}

@keyframes momcs-shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}
