.elementor-6 .elementor-element.elementor-element-a0323b4{width:var( --container-widget-width, 100vw );max-width:100vw;--container-widget-width:100vw;--container-widget-flex-grow:0;}@media(max-width:1024px) and (min-width:768px){.elementor-6 .elementor-element.elementor-element-40a1dd4{width:100%;}.elementor-6 .elementor-element.elementor-element-82ee0cb{width:100%;}.elementor-6 .elementor-element.elementor-element-6f3605e{width:100%;}.elementor-6 .elementor-element.elementor-element-664d2ba{width:100%;}}/* Start custom CSS for html, class: .elementor-element-a0323b4 */.premium-brands {
    /* رنگ تیره سایت شما که رنگ آبی صفحه‌ساز را می‌پوشاند */
    background-color: #151719; 
    /* هاله نوری ملایم که روی رنگ تیره می‌نشیند */
    background-image: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    padding: 70px 20px;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif; 
}


/* بخش عنوان و زیرعنوان */
.brands-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.brands-header h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: bold;
}

.brands-header p {
    color: #8c96a0;
    font-size: 16px;
    line-height: 1.6;
}

/* کانتینر لوگوها */
/* کانتینر لوگوها - اصلاح شده */
.brands-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; 
    gap: 24px; /* فاصله استاندارد و مدرن جایگزین 80px شد */
    max-width: 1200px; /* عرض کمی بیشتر شد تا فضا بهتر پر شود */
    width: 100%;
    margin: 0 auto;
    position: relative; /* برای کنترل بهتر فلش‌های اسلایدر در آینده */
}

/* استایل هر کارت برند - اصلاح شده */
.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* فرمول دقیق ریاضی: 25 درصد عرض منهای سهم هر کارت از gap */
    width: calc(25% - 18px); 
    min-width: 200px;
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 12px; 
    padding: 25px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
}


/* باکسی که لوگو در آن قرار میگیرد (برای یکدست کردن ابعاد لوگوهای مختلف) */
.brand-logo-box {
    width: 100%;
    height: 70px; /* ارتفاع ثابت برای همه لوگوها */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* افکت سیاه و سفید برای عکس‌ها */
.brand-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7); /* در حالت عادی کمرنگ و خاکستری */
    transition: all 0.4s ease;
}

.brand-name {
    color: #6c7a89;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

/* افکت هاور (زمانی که موس روی کارت می‌رود) */
.brand-item:hover {
    transform: translateY(-5px); /* حرکت نرم به بالا */
    background: rgba(255, 255, 255, 0.05); /* روشن‌تر شدن کارت */
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* ایجاد سایه برای عمق */
}

.brand-item:hover .brand-logo-box img {
    filter: grayscale(0%) opacity(1); /* لوگو تمام رنگی و روشن می‌شود */
    transform: scale(1.05); /* کمی بزرگنمایی لوگو */
}

.brand-item:hover .brand-name {
    color: #ffffff;
}

/* ریسپانسیو برای موبایل و تبلت */
@media (max-width: 900px) {
    .brand-item {
        width: calc(33.333% - 25px); /* ۳ آیتم در ردیف */
    }
}

@media (max-width: 600px) {
    .premium-brands {
        padding: 50px 15px;
    }
    .brand-item {
        width: calc(50% - 15px); /* ۲ آیتم در ردیف برای موبایل */
        min-width: 140px;
        padding: 15px;
    }
    .brand-logo-box {
        height: 50px;
    }
    .brands-header h2 {
        font-size: 22px;
    }
}/* End custom CSS */