.qmb-brands-section {
    margin: -30px 0 30px;
    background: linear-gradient(135deg,#fff,#fff7f8);
    border: 1px solid #f1e4e6;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(40,30,30,.06)
}
.qmb-brands-home-only .qmb-brands-section {
    margin: 12px 0 30px;
    background: linear-gradient(135deg, #fff, #fff7f8);
    border: 1px solid #f1e4e6;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(40, 30, 30, .06);
}
.qmb-brands-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

    .qmb-brands-heading span {
        font-size: 12px;
        color: #a36a72
    }

    .qmb-brands-heading h2 {
        margin: 4px 0 0;
        font-size: 22px
    }

.qmb-brands-count {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 99px;
    padding: 8px 12px;
    color: #777 !important
}

.qmb-brands-scroller {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 3px 12px;
    scrollbar-width: thin
}

.qmb-brand-circle {
    min-width: 108px;
    text-align: center;
    color: #333;
    text-decoration: none
}

.qmb-brand-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0f1;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    overflow: hidden;
    font-size: 28px;
    font-weight: 700;
    color: #8f555e
}

    .qmb-brand-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.qmb-brand-circle strong {
    display: block;
    margin-top: 9px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.qmb-brand-page-head {
    display: flex;
    gap: 22px;
    align-items: center;
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,.06)
}

.qmb-brand-page-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f1f2;
    overflow: hidden;
    font-size: 40px;
    font-weight: 700;
    color: #8f555e;
    flex: 0 0 120px
}

    .qmb-brand-page-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.qmb-brand-page-head h1 {
    margin: 5px 0 8px
}

.qmb-brand-page-head p {
    margin: 0;
    color: #666;
    line-height: 2
}

@media(max-width: 576px) {
    .qmb-brands-section {
        padding: 16px;
        border-radius: 18px
    }

    .qmb-brand-avatar {
        width: 72px;
        height: 72px
    }

    .qmb-brand-circle {
        min-width: 82px
    }

    .qmb-brand-page-head {
        padding: 16px;
        gap: 14px
    }

    .qmb-brand-page-logo {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
        font-size: 28px
    }

    .qmb-brand-page-head h1 {
        font-size: 20px
    }
}

/* فاصله فقط برای کادر معرفی برند؛ سایر بخش‌های صفحه دست‌نخورده می‌مانند */
.qmb-brand-page .qmb-brand-page-head {
    margin-top: 48px;
}

.qmb-brand-page-kicker {
    display: inline-block;
    font-size: 12px;
    color: #a36a72;
    letter-spacing: .3px;
}

.qmb-brand-products-heading {
    margin-top: 28px;
}

    .qmb-brand-products-heading h2 {
        margin: 4px 0 8px;
    }

.qmb-brand-page .qmb-price-old {
    display: block;
    color: #999;
    font-size: 12px;
    margin-bottom: 3px;
}

@media (max-width: 767px) {
    .qmb-brand-page .qmb-brand-page-head {
        margin-top: 34px;
    }
}

/* Public brands search */
.qmb-brands-search {
    margin: 0 0 24px
}

.qmb-brands-search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 5px 6px 5px 7px;
    background: #fff;
    border: 1px solid #ece7ea;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(40,30,30,.05)
}

    .qmb-brands-search-box > i {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #f7f1f3;
        color: #a36a72;
        flex: 0 0 40px
    }

    .qmb-brands-search-box input {
        min-width: 0;
        flex: 1;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 8px 4px !important;
        color: #292b36;
        font-size: 13px;
        direction: rtl
    }

        .qmb-brands-search-box input::placeholder {
            color: #a1a3aa
        }

    .qmb-brands-search-box button {
        border: 0;
        border-radius: 13px;
        background: #171923;
        color: #fff;
        padding: 11px 18px;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
        transition: .2s
    }

        .qmb-brands-search-box button:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(23,25,35,.16)
        }

.qmb-brands-clear {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #8d8f97;
    background: #f3f3f5;
    text-decoration: none;
    font-size: 21px;
    line-height: 1
}

.qmb-brands-empty {
    margin: 12px 0 5px;
    padding: 48px 18px;
    text-align: center;
    border: 1px dashed #ddd5d8;
    border-radius: 20px;
    background: rgba(255,255,255,.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #777
}

.qmb-brands-empty-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6eef0;
    color: #a36a72;
    font-size: 30px
}

.qmb-brands-empty strong {
    color: #333;
    font-size: 15px
}

.qmb-brands-empty span {
    font-size: 11px
}

@media(max-width: 576px) {
    .qmb-brands-search-box {
        min-height: 50px
    }

        .qmb-brands-search-box button {
            padding: 10px 13px
        }

        .qmb-brands-search-box input {
            font-size: 12px
        }
}
