/* ============================================================
   1. DEFINING FONT FACES (آدرس‌دهی دقیق با پوشه Abar)
   ============================================================ */

/* --- ABAR LOW --- */
@font-face {
    font-family: 'AbarLow';
    src: url('../fonts/Abar/AbarLowFaNum-Regular.woff2') format('woff2'),
         url('../fonts/Abar/AbarLowFaNum-Regular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarLow';
    src: url('../fonts/Abar/AbarLowFaNum-SemiBold.woff2') format('woff2'),
         url('../fonts/Abar/AbarLowFaNum-SemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarLow';
    src: url('../fonts/Abar/AbarLowFaNum-Bold.woff2') format('woff2'),
         url('../fonts/Abar/AbarLowFaNum-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* --- ABAR MID --- */
@font-face {
    font-family: 'AbarMid';
    src: url('../fonts/Abar/AbarMidFaNum-Regular.woff2') format('woff2'),
         url('../fonts/Abar/AbarMidFaNum-Regular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarMid';
    src: url('../fonts/Abar/AbarMidFaNum-SemiBold.woff2') format('woff2'),
         url('../fonts/Abar/AbarMidFaNum-SemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarMid';
    src: url('../fonts/Abar/AbarMidFaNum-Bold.woff2') format('woff2'),
         url('../fonts/Abar/AbarMidFaNum-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* --- ABAR HIGH --- */
@font-face {
    font-family: 'AbarHigh';
    src: url('../fonts/Abar/AbarHighFaNum-Regular.woff2') format('woff2'),
         url('../fonts/Abar/AbarHighFaNum-Regular.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarHigh';
    src: url('../fonts/Abar/AbarHighFaNum-SemiBold.woff2') format('woff2'),
         url('../fonts/Abar/AbarHighFaNum-SemiBold.woff') format('woff');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'AbarHigh';
    src: url('../fonts/Abar/AbarHighFaNum-Bold.woff2') format('woff2'),
         url('../fonts/Abar/AbarHighFaNum-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}


/* ============================================================
   2. APPLYING WITH HIGH PRIORITY (کد موفق شما + نجات آیکون‌ها)
   ============================================================ */

/* اعمال فونت بدنه روی تمامی عناصر متنی و ساختاری که کارساز بود */
body, p, span, a, li, td, th, div, input, select, textarea, label {
    font-family: 'AbarLow', sans-serif !important;
}

/* رفع مشکل آیکون‌ها: بازگرداندن فونت اصلی برای تگ‌های آیکون */
.fa, .fas, .far, .fab, .fal, .fad, .fa-solid, .fa-regular, .fa-brands, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "FontAwesome" !important;
}





/* =========================================================
   Yara Hamrah Sanat - Isolated Catalog Stylesheet
   ========================================================= */

/* انیمیشن‌ها */
@keyframes catalogFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes catalogPulse {
  0% { box-shadow: 0 0 0 0 rgba(181, 32, 38, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(181, 32, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(181, 32, 38, 0); }
}

@keyframes catalogRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.2; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes catalogBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* استایل‌دهی ریشه */
.yas-catalog-brand-wrapper {
  background-color: #ffffff !important;
  color: #231f20 !important;
}

/* هیرو سکشن */
.yas-catalog-brand-wrapper .yas-hero-sec {
  background: linear-gradient(180deg, rgba(94, 6, 20, 0.04) 0%, rgba(255, 255, 255, 0) 100%) !important;
  border-bottom: 1px solid #f2f2f2 !important;
  padding: 15px;
  border-radius: 12px;
}

.yas-catalog-brand-wrapper .yas-badge-custom {
  display: inline-block !important;
  background-color: rgba(181, 32, 38, 0.08) !important;
  color: #b52026 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 6px 16px !important;
  border-radius: 4px !important;
  border-right: 4px solid #b52026 !important;
  margin-bottom: 20px;
}

.yas-catalog-brand-wrapper .yas-hero-main-title {
  font-weight: 850 !important;
  font-size: 2.6rem !important;
  color: #5e0614 !important;
  line-height: 1.4 !important;
}

.yas-catalog-brand-wrapper .yas-hero-lead-text {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #444444 !important;
}

/* تصویر شناور */
.yas-catalog-brand-wrapper .yas-hero-img-holder {
  position: relative !important;
  display: inline-block !important;
}

.yas-catalog-brand-wrapper .yas-floating-banner {
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(35, 31, 32, 0.15) !important;
  animation: catalogFloat 5s ease-in-out infinite !important;
  border-top: 5px solid #b52026 !important;
  border-left: 5px solid #5e0614 !important;
}

.yas-catalog-brand-wrapper .yas-img-shadow-box {
  position: absolute !important;
  top: 15px !important;
  right: -15px !important;
  width: 100% !important;
  height: 100% !important;
  border: 2px dashed rgba(94, 6, 20, 0.2) !important;
  border-radius: 12px !important;
  z-index: -1 !important;
}

/* دکمه‌های کاتالوگ */
.yas-catalog-brand-wrapper .yas-btn-primary {
  background-color: #b52026 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 750 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.yas-catalog-brand-wrapper .yas-btn-primary:hover {
  background-color: #5e0614 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px rgba(94, 6, 20, 0.3) !important;
}

.yas-catalog-brand-wrapper .yas-btn-outline {
  background-color: transparent !important;
  color: #231f20 !important;
  border: 2px solid #231f20 !important;
  font-weight: 750 !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.yas-catalog-brand-wrapper .yas-btn-outline:hover {
  background-color: #231f20 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* سکشن توضیحات */
.yas-catalog-brand-wrapper .yas-info-card-box {
  background: #ffffff !important;
  border-right: 5px solid #b52026 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02) !important;
  border-radius: 0 8px 8px 0 !important;
}

.yas-catalog-brand-wrapper .yas-section-title-bar {
  color: #231f20 !important;
  font-weight: 800 !important;
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 12px !important;
}

.yas-catalog-brand-wrapper .yas-section-title-bar::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 50px !important;
  height: 3px !important;
  background-color: #b52026 !important;
}

/* کارت‌های گرید محصولات */
.yas-catalog-brand-wrapper .yas-product-card-item {
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  height: 100% !important;
}

.yas-catalog-brand-wrapper .yas-top-bar-indicator {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 0% !important;
  height: 4px !important;
  background-color: #b52026 !important;
  transition: width 0.35s ease !important;
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(94, 6, 20, 0.07) !important;
  border-color: rgba(181, 32, 38, 0.15) !important;
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover .yas-top-bar-indicator {
  width: 100% !important;
}

/* آیکون کارت‌ها */
.yas-catalog-brand-wrapper .yas-card-icon-circle {
  width: 70px !important;
  height: 70px !important;
  background-color: #fafafa !important;
  border: 1px solid #eaeaea !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  color: #5e0614 !important;
  font-size: 1.6rem !important;
  transition: all 0.35s ease !important;
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover .yas-card-icon-circle {
  background-color: #b52026 !important;
  color: #ffffff !important;
  border-color: #b52026 !important;
  transform: scale(1.08) rotate(360deg) !important;
}

.yas-catalog-brand-wrapper .yas-card-heading-title {
  color: #231f20 !important;
  font-weight: 700 !important;
  margin-top: 20px;
  text-align: center;
}
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover .yas-card-heading-title {
  color: #b52026 !important;
}

.yas-catalog-brand-wrapper .yas-card-action-link {
  color: #5e0614 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.3s ease !important;
}

.yas-catalog-brand-wrapper .yas-card-action-link i {
  transition: transform 0.3s ease !important;
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover .yas-card-action-link {
  color: #b52026 !important;
}

.yas-catalog-brand-wrapper .yas-product-card-item:hover .yas-card-action-link i {
  transform: translateX(-5px) !important;
}

/* بخش باکس دانلود کاتالوگ */
.yas-catalog-brand-wrapper .yas-download-sec {
  background: linear-gradient(135deg, #231f20 0%, #5e0614 50%, #231f20 100%) !important;
  color: #ffffff !important;
}

.yas-catalog-brand-wrapper .yas-pattern-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.05 !important;
  background-image: radial-gradient(#ffffff 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
}

.yas-catalog-brand-wrapper .yas-download-pulse-container {
  position: relative !important;
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto !important;
}

.yas-catalog-brand-wrapper .yas-pulse-ring-element {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  border: 3px solid #b52026 !important;
  border-radius: 50% !important;
  animation: catalogRing 2s infinite ease-out !important;
}

.yas-catalog-brand-wrapper .yas-download-icon-box {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #b52026 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  color: #ffffff !important;
  z-index: 2 !important;
}

.yas-catalog-brand-wrapper .yas-download-glow-btn {
  background-color: #b52026 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 750 !important;
  font-size: 1.05rem !important;
  border-radius: 4px !important;
  animation: catalogPulse 2.5s infinite !important;
  transition: all 0.3s ease !important;
}

.yas-catalog-brand-wrapper .yas-download-glow-btn:hover {
  background-color: #ffffff !important;
  color: #5e0614 !important;
  transform: translateY(-2px) !important;
}

.yas-catalog-brand-wrapper .yas-bounce-icon {
  animation: catalogBounce 2s infinite !important;
  display: inline-block !important;
}

.yas-card-inner-body h3
{font-size: 1.5rem !important;}


.yas-download-sec .yas-download-icon-box h2
{
    margin-top: 20px;
}







