/*
Theme Name: My Abzar Pak
Theme URI: https://myabzarpak.ir
Author: Development Team
Description: قالب اختصاصی فروشگاهی مای ابزارپک - چندزبانه (WPML/WCML)، تمام فونت‌ها و کتابخانه‌های جاوااسکریپت به‌صورت کامل روی همین سرور میزبانی می‌شوند (بدون فراخوانی از گوگل فونت یا CDN خارجی).
Version: 3.0.0
Text Domain: myabzarpak
*/

/* ==========================================================================
   فونت وزیرمتن - کاملاً روی سرور خودمان (self-hosted)
   هیچ درخواستی به fonts.googleapis.com یا هر سرور خارجی دیگر ارسال نمی‌شود.
   ========================================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  direction: rtl;
  margin: 0;
  color: #232323;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* ---------------- هدر ---------------- */
.site-header { border-bottom: 1px solid #eee; padding: 14px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.main-navigation ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }

/* ---------------- اسلایدر اصلی ---------------- */
.hero-slider { background: #f8f8f8; padding: 60px 0; text-align: center; }
.hero-slider h2 { font-weight: 700; font-size: 28px; margin-bottom: 10px; }
.btn-shop {
  display: inline-block; margin-top: 16px; padding: 12px 28px;
  background: #1f6f3e; color: #fff; border-radius: 6px; font-weight: 500;
  transition: background .25s ease, transform .2s ease;
}
.btn-shop:hover { background: #17542f; transform: translateY(-2px); }

/* ---------------- کارت محصول - افکت هاور فقط با CSS ---------------- */
.products .product img { transition: transform .35s ease; }
.products .product:hover img { transform: scale(1.06); }
.products .product .button { transition: background .2s ease, color .2s ease; }

/* ---------------- فوتر ---------------- */
.site-footer { background: #1a1a1a; color: #ddd; padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-bottom: 24px; }
.footer-grid h4 { color: #fff; margin-bottom: 10px; font-weight: 500; }
.footer-contact p { margin: 6px 0; font-size: 14px; line-height: 1.8; }
.footer-maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 10px; }
.footer-maps iframe { width: 100%; height: 260px; border: 0; border-radius: 8px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 16px; text-align: center; font-size: 13px; color: #999; }

@media (max-width: 700px) {
  .site-header .container { flex-direction: column; align-items: flex-start; }
}
