.brand-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 12px;
    min-height: 180px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.brand-logo-wrapper {
    background: #f8f9fa;
    transition: border-color 0.3s ease;
}

.brand-card:hover .brand-logo-wrapper {
    border-color: #0d6efd !important;
}

.object-fit-cover {
    object-fit: cover;
}

.see-more-icon {
    transition: transform 0.3s ease;
}

.brand-card:hover .see-more-icon {
    transform: scale(1.1);
}



/* =============================== */
/* Swiper Styles برای برندها */
/* =============================== */

.brand-swiper-container {
    position: relative;
}

.brand-swiper {
    overflow: hidden !important;
    padding: 10px 0 45px 0;
}

.brand-swiper .swiper-slide {
    width: auto;
    height: auto;
}

.brand-swiper .swiper-slide .brand-card {
    width: 100%;
    max-width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.brand-swiper .swiper-slide .brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}

.brand-swiper .swiper-slide .brand-card .brand-logo-wrapper {
    transition: border-color 0.3s ease;
}

.brand-swiper .swiper-slide .brand-card:hover .brand-logo-wrapper {
    border-color: #3b82f6 !important;
}

/* دکمه‌های قبلی و بعدی (مثل نمونه) */
.brand-swiper-btn {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 14px;
}

.brand-swiper-prev {
    left: -0px;
    right: auto;
}

.brand-swiper-next {
    right: -0px;
    left: auto;
}

.brand-swiper-btn:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1f2937;
    transform: translateY(-50%) scale(1.05);
}

/* Pagination برندها */
.brand-swiper-pagination {
    bottom: 0 !important;
    position: relative !important;
    margin-top: 15px;
    text-align: center;
}

.brand-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    opacity: 1;
    margin: 0 5px;
}

.brand-swiper-pagination .swiper-pagination-bullet-active {
    background: #3b82f6;
    width: 15px;
    border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .brand-swiper-prev { left: -8px; }
    .brand-swiper-next { right: -8px; }
    .brand-swiper-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .brand-swiper-prev { left: -6px; }
    .brand-swiper-next { right: -6px; }
    .brand-swiper-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .brand-swiper .swiper-slide .brand-card {
        max-width: 140px;
    }
}