/* ============================================================
   آتی دُر — atd-custom.css | استایل‌های عمومی قالب
   محل: wp-content/themes/flatsome-child/css/atd-custom.css
   منبع: محتوای قبلی «Custom CSS» در Customizer
   نکته: بعد از قرار دادن این فایل، کادر Custom CSS در
         Customizer را کاملاً خالی کنید تا کد تکراری نشود.
   ============================================================ */

/* ---------- فونت ---------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/uploads/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/uploads/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---------- فرم‌ها ---------- */
.form-flat input:not([type="submit"]),
.form-flat textarea,
.form-flat select {
  background-color: rgba(0, 0, 0, 0.03);
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.09);
  color: currentColor !important;
  border-radius: 4px;
  height: 50px;
}
.wpforms-container-full { margin: 0 !important; }

/* ---------- دکمه‌های شناور تماس و واتس‌اپ ---------- */
.telephone-button,
.whatsapp-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: fixed;
  bottom: 40px;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.telephone-button { background-color: #ff0000; right: 100px; }
.whatsapp-button  { background-color: #008000; right: 25px; }
.telephone-button svg,
.whatsapp-button svg {
  width: 60%;
  height: auto;
  fill: #ffffff;
}

/* ---------- دکمه تماس داخل محتوا ---------- */
.call-button {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.call-button:hover { background-color: #f5f5f5; }
.phone-icon svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}
.call-text {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 16px;
  display: inline-block;
  vertical-align: middle;
}
.phone-number {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  direction: rtl;
  display: block;
  margin-top: 5px;
}

/* ---------- تصاویر و ویدیو ---------- */
.myimg { border-radius: 15px; }
.myvideo,
.myvideo2 {
  box-shadow: 0 3px 6px -4px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  min-height: 350px;
}
.myvideo2 {
  width: 75%;
  aspect-ratio: 1/1;
  min-height: 300px;
}

/* ---------- بردکرامب ---------- */
.rank-math-breadcrumb {
  justify-content: right;
  min-height: 10px;
  background-color: #f1f1f1;
  padding-right: 30px;
  padding-top: 10px;
  display: flex;
  align-items: center;
}

/* ---------- مقیاس تیترها ----------
   توجه: در صفحه اصلی، H1 داخل سکشن سرمه‌ای با کلاس .atd-h1
   استایل اختصاصی خود را دارد و از این قاعده تبعیت نمی‌کند. */
.h1, h1 { font-size: 23px; }
.h2, h2 { font-size: 21px; }
.h3, h3 { font-size: 19px; }
.h4, h4 { font-size: 18px; }
.h5, h5 { font-size: 16px; }
.h6, h6 { font-size: 12px; }

/* ---------- مخفی کردن فیلترهای ووکامرس ---------- */
.woocommerce-result-count { display: none; }
.woocommerce-ordering { display: none; }
