/*
 * پوسته تخصصی گرگعلی شاپ | Persian Modern Digital Marketplace
 * Version: 2.1.0 (Clean Light Marketplace Edition - WPNovin / Zhaket Style)
 */

/* ==========================================================================
   1. CSS Reset & Light Modern Marketplace Variables
   ========================================================================== */
:root {
  --font-vazir: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-secondary: #10b981;
  --color-accent: #f43f5e;
  --color-warning: #f59e0b;
  --color-bg-light: #f8fafc;
  --color-card-bg: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: #f8fafc;
}

body {
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
  font-family: var(--font-vazir);
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Card System */
.market-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.market-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

img, picture, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   2. Strict SVG Utility Sizes
   ========================================================================== */
svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}

svg.w-3, .w-3 { width: 12px !important; height: 12px !important; max-width: 12px !important; max-height: 12px !important; }
svg.w-3\.5, .w-3\.5 { width: 14px !important; height: 14px !important; max-width: 14px !important; max-height: 14px !important; }
svg.w-4, .w-4 { width: 16px !important; height: 16px !important; max-width: 16px !important; max-height: 16px !important; }
svg.w-5, .w-5 { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; }
svg.w-6, .w-6 { width: 24px !important; height: 24px !important; max-width: 24px !important; max-height: 24px !important; }
svg.w-7, .w-7 { width: 28px !important; height: 28px !important; max-width: 28px !important; max-height: 28px !important; }
svg.w-8, .w-8 { width: 32px !important; height: 32px !important; max-width: 32px !important; max-height: 32px !important; }
svg.w-10, .w-10 { width: 40px !important; height: 40px !important; max-width: 40px !important; max-height: 40px !important; }
svg.w-12, .w-12 { width: 48px !important; height: 48px !important; max-width: 48px !important; max-height: 48px !important; }
svg.w-16, .w-16 { width: 64px !important; height: 64px !important; max-width: 64px !important; max-height: 64px !important; }
