/* ---------- اسکرول دسته‌های داغ (هدر بلاگ) ---------- */
  body {
    overflow-x: clip !important;
  }
  @media (max-width: 1024px) {
    .elementor-element-8341fb1 > .e-con-inner {
      flex-direction: column !important;
    }
    .elementor-element-8341fb1,
    .elementor-element-8341fb1 > .e-con-inner,
    .elementor-element-8000ddb,
    .elementor-element-6d1b4d5,
    .elementor-element-533163e,
    .elementor-element-533163e > .elementor-widget-container {
      min-width: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }
  }
  .hot-scroll-outer,
  .hot-scroll-outer * {
    min-width: 0;
  }
  .hot-scroll-outer {
    display: flex;
    align-items: center;
    direction: rtl;
    box-sizing: border-box;
    padding: 10px 12px;
    background: #ffffff;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  @media (max-width: 1024px) {
    .hot-scroll-outer {
      /* full-bleed فقط تو موبایل/تبلت، جایی که چیدمان والد اجازه‌ی سرریز واقعی نمی‌ده */
      width: 100vw;
      max-width: 100vw;
      position: relative;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
    }
  }
  .hot-scroll-label {
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color:#E8590C;
    margin: 0;
    padding: 0;
  }
  .hot-scroll-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    touch-action: pan-x;
  }
  .hot-scroll-wrapper::before,
  .hot-scroll-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    pointer-events: none;
    z-index: 2;
  }
  .hot-scroll-wrapper::before {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
  }
  .hot-scroll-wrapper::after {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
  }
  .hot-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }
  .hot-scroll-container::-webkit-scrollbar {
    display: none;
  }
  .hot-category-button {
    flex-shrink: 0;
    padding: 4px 14px;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 20px !important;
    color: #333 !important;
    font-size: 13px !important;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: none;
  }
  .hot-category-button:hover,
  .hot-category-button:focus,
  .hot-category-button:active,
  .hot-category-button.active {
    background: #fff !important;
    border-color: #e0e0e0 !important;
    color: #333 !important;
    text-decoration: none !important;
  }
  /* یافته‌ی بازبینی فنی ۵ سپتامبر ۲۰۲۶: چون این عنصر یک تگ <button> واقعی
     است، بدون پیشوند «button.» قانون عمومی دکمه‌های تم وودمارت
     (base-rtl.css) روی چند ویژگی بدون !important (به‌خصوص position،
     min-height و border) برنده می‌شد و شکل دایره‌ای دکمه را به‌هم می‌ریخت. */
  button.scroll-button {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #e0e0e0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    z-index: 5;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    user-select: none;
    border-radius: 50%;
    color: #666;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    box-shadow: 0 0 4px rgba(0,0,0,0.12) !important;
    transition: none !important;
  }
  @media (min-width: 1025px) {
    button.scroll-button { display: flex; }
    .hot-scroll-container { padding: 4px 36px; }
  }
  button.scroll-button:hover,
  button.scroll-button:focus,
  button.scroll-button:active,
  button.scroll-button:focus-visible {
    background-color: white !important;
    border-color: #e0e0e0 !important;
    outline: none !important;
    color: #666 !important;
  }
  .scroll-button .scroll-arrow {
    font-size: 12px;
    user-select: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  button.scroll-button.near-label { right: 4px; }
  button.scroll-button.far-edge { left: 4px; }
  @media (max-width: 480px) {
    .hot-scroll-label {
      font-size: 12px;
    }
    .hot-category-button {
      padding: 3px 10px;
      font-size: 11px;
    }
  }
