
/* ðŸŽ¨ Elementor Brand Slider â€” Minimal Gold Theme */
.brand-slider {
    position: relative;
    padding: 2rem 0 3rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.brand-slider::before,
.brand-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.brand-slider::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 60%, rgba(255,255,255,0) 100%);
}
.brand-slider::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 60%, rgba(255,255,255,0) 100%);
}
.brand-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
.brand-slider img {
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.brand-slider img:hover {
    transform: scale(1.07);
    opacity: 0.95;
}
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: #d5ad70;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    transition: all 0.25s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #2e4b4d;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}
.swiper-pagination {
    bottom: 10px !important;
}
.swiper-pagination-bullet {
    background: rgba(0,0,0,0.12);
    opacity: 0.6;
    width: 7px;
    height: 7px;
}
.swiper-pagination-bullet-active {
    background: #d5ad70;
    opacity: 1;
}

/* ✅ بهینه‌سازی برند اسلایدر برای موبایل */
@media (max-width: 768px) {
  .brand-slider .swiper-slide {
    width: auto !important;              /* اسلاید با توجه به تصویر گسترش یابد */
    margin: 0 10px !important;           /* فاصله منطقی بین برندها */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .brand-slider img {
    max-height: 110px !important;        /* افزایش سایز آیکن برند */
    width: auto !important;              /* عرض متناسب با ارتفاع */
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .swiper {
    padding-bottom: 40px !important;     /* جا برای pagination */
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
  }
}

