/* ضبط الكونتينر */
#main-content .page-breadcrumbs .container-xl,
#main-content .page-title .container,
#main-content .container-xl {
    width: 100%;
    max-width: 1650px;
    padding: 0 18px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 1280px) {
    #main-content .page-breadcrumbs .container-xl,
    #main-content .page-title .container,
    #main-content .container-xl {
        padding: 0 70px;
    }
}

@media (max-width: 768px) {
    #main-content .page-breadcrumbs .container-xl,
    #main-content .page-title .container,
    #main-content .container-xl {
        padding: 0 14px;
    }
}

/* سكشن البراندات */
.brands-section {
    margin: 50px 0 70px;
    text-align: center;
}

.brands-title {
    font-size: 34px;
    font-weight: 700;
    color: #825e47;
    margin: 0 0 12px;
    line-height: 1.3;
}

.brands-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 14px auto 0;
    background: #825e47;
    border-radius: 50px;
}

.brands-subtitle {
    font-size: 16px;
    color: #7b7b7b;
    margin: 0 0 32px;
    line-height: 1.7;
}

/* السلايدر */
.featured-brands {
    margin-top: 15px;
}

.featured-brands .owl-stage {
    display: flex;
    align-items: stretch;
}

.featured-brands .owl-item {
    padding: 10px;
    display: flex;
    height: auto;
}

/* كارت البراند */
.featured-brands .brand-item,
.featured-brands .brand-box,
.featured-brands .item {
    background: #fff;
    border: 1px solid #eee7df;
    border-radius: 18px;
    min-height: 220px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.featured-brands .brand-item:hover,
.featured-brands .brand-box:hover,
.featured-brands .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    border-color: #d9c7b5;
}

/* اللوجوهات */
.featured-brands img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 150px !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
    filter: contrast(1.05);
}

/* أسماء البراندات */
.featured-brands h3,
.featured-brands h4,
.featured-brands .brand-name,
.featured-brands .title {
    font-size: 30px;
    font-weight: 700;
    color: #5f6b76;
    margin-top: 18px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* الأسهم */
.featured-brands .owl-nav button,
.widget-featured-brands .owl-nav button,
.featured-brands .slick-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #825e47 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(130, 94, 71, 0.25);
    transition: all 0.3s ease;
}

.featured-brands .owl-nav button:hover,
.widget-featured-brands .owl-nav button:hover,
.featured-brands .slick-arrow:hover {
    background: #6f4f3c !important;
    transform: scale(1.05);
}

/* شاشات كبيرة */
@media (min-width: 1200px) {
    .featured-brands .brand-item,
    .featured-brands .brand-box,
    .featured-brands .item {
        min-height: 240px;
        padding: 34px 28px;
    }

    .featured-brands img {
        max-height: 165px !important;
    }
}

/* لابتوب وتابلت */
@media (max-width: 1199px) {
    .brands-title {
        font-size: 30px;
    }

    .featured-brands .brand-item,
    .featured-brands .brand-box,
    .featured-brands .item {
        min-height: 190px;
        padding: 24px 20px;
    }

    .featured-brands img {
        max-height: 125px !important;
    }

    .featured-brands h3,
    .featured-brands h4,
    .featured-brands .brand-name,
    .featured-brands .title {
        font-size: 24px;
    }
}

/* تابلت */
@media (max-width: 991px) {
    .brands-section {
        margin: 40px 0 55px;
    }

    .brands-title {
        font-size: 28px;
    }

    .brands-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .featured-brands .owl-item {
        padding: 8px;
    }

    .featured-brands .brand-item,
    .featured-brands .brand-box,
    .featured-brands .item {
        min-height: 170px;
        padding: 20px 16px;
        border-radius: 15px;
    }

    .featured-brands img {
        max-height: 105px !important;
    }

    .featured-brands h3,
    .featured-brands h4,
    .featured-brands .brand-name,
    .featured-brands .title {
        font-size: 20px;
        margin-top: 14px;
    }

    .featured-brands .owl-nav button,
    .widget-featured-brands .owl-nav button,
    .featured-brands .slick-arrow {
        width: 46px;
        height: 46px;
    }
}

/* موبايل */
@media (max-width: 767px) {
    .brands-section {
        margin: 30px 0 45px;
    }

    .brands-title {
        font-size: 24px;
    }

    .brands-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .featured-brands {
        margin-top: 10px;
    }

    .featured-brands .owl-item {
        padding: 6px;
    }

    .featured-brands .brand-item,
    .featured-brands .brand-box,
    .featured-brands .item {
        min-height: 145px;
        padding: 18px 14px;
        border-radius: 14px;
    }

    .featured-brands img {
        max-height: 90px !important;
    }

    .featured-brands h3,
    .featured-brands h4,
    .featured-brands .brand-name,
    .featured-brands .title {
        font-size: 17px;
        margin-top: 12px;
        line-height: 1.3;
    }

    .featured-brands .owl-nav button,
    .widget-featured-brands .owl-nav button,
    .featured-brands .slick-arrow {
        width: 42px;
        height: 42px;
    }
}

/* موبايل صغير */
@media (max-width: 480px) {
    .featured-brands .brand-item,
    .featured-brands .brand-box,
    .featured-brands .item {
        min-height: 130px;
        padding: 16px 12px;
    }

    .featured-brands img {
        max-height: 78px !important;
    }

    .featured-brands h3,
    .featured-brands h4,
    .featured-brands .brand-name,
    .featured-brands .title {
        font-size: 15px;
    }
}