.brands {
    font-size: 17px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 1.8em;
}

.brands .sidebar-section {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    background-color: #fbfbfb;
    border-radius: .375em;
    padding: 1em;
    flex-basis: 27%;
    width: 27%;
}

.brands .sidebar-section.b-sticky {
    position: fixed;
    top: 5em;
    z-index: 100;
    width: 17.5rem;
}

.brands .sidebar-section.b-sticky+section {
    margin-right: 17.8em;
}

.brands .sidebar-section .selected-filters {
    margin-bottom: 1em;
}

.brands .sidebar-section .selected-filters .filter-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.brands .sidebar-section .selected-filters .filter-items .filter-item {
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    font-size: .65em;
    padding: .1em .5em 0;
    background-color: #eee;
    border-radius: 1em;
    margin-left: .5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 2.2em;
    margin-bottom: .6em;
}

.brands .sidebar-section .selected-filters .filter-items .filter-item>i {
    margin-top: .2em;
}

.brands .sidebar-section .selected-filters .filter-items .filter-item .filter-text {
    color: #000;
    font-weight: 600;
    margin-left: .5em;
}

.brands .sidebar-section .filters-form {
    position: relative;
    font-size: 16px;
}

.brands .sidebar-section .filters-form .filter-group {
    margin-bottom: 1.2em;
}

.brands .sidebar-section .filters-form .filter-group .field-group {
    display: flex;
    background-color: #fff;
    border: 0.28571429em;
    border-radius: 0.28571429em;
    align-items: center;
    padding: 0 .5em;
}

.brands .sidebar-section .filters-form .filter-group .form-label {
    margin-bottom: 0;
}

.brands .sidebar-section .filters-form .filter-group .b-input-wrapper>i {
    top: .3em;
}

.brands .sidebar-section .filters-form .filter-group .field-group input[type="text"],
.brands .sidebar-section .filters-form .filter-group .field-group select {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: .9em;
    line-height: 1.7em;
}

.brands .sidebar-section .filters-form .filter-input {
    border: solid .1em #ddd;
    border-radius: .375em !important;
    width: 100%;
}

.brands .sidebar-section .filters-form .cancel-filter-button {
    display: none;
}

.brands .list-section {
    flex-basis: 76.66%;
}

.brands .list-section .selected-filters {
    margin-bottom: 1em;
}

.brands .list-section .selected-filters .filter-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.brands .list-section .selected-filters .filter-items .filter-item {
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    font-size: .65em;
    padding: .1em .5em 0;
    background-color: #eee;
    border-radius: 1em;
    margin-left: .5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 2.2em;
    margin-bottom: .6em;
}

.brands .list-section .selected-filters .filter-items .filter-item>i {
    margin-top: .2em;
}

.brands .list-section .selected-filters .filter-items .filter-item .filter-text {
    color: #000;
    font-weight: 600;
    margin-left: .5em;
}

.brands .list-section .top-bar {
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px;
    background-color: #fff;
    padding: .3em .5em;
    margin-bottom: 1em;
    border-radius: .375em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    min-height: 2.35em;
}

.brands .list-section .top-bar .filter-on-mobile {
    display: none !important;
}

.brands .list-section .top-bar .sorting .sorting-button {
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    font-size: .9em;
    font-weight: 600;
    font-family: Yekan Bakh FaNum;
}

.brands .list-section .top-bar .sorting .sorting-button>i {
    font-size: 1.6em;
    margin-left: .4em;
}

.brands .list-section .top-bar .sorting li a {
    font-size: .85em;
    color: #444;
    display: flex;
}

.brands .list-section .top-bar .sorting li a.active {
    color: #fff;
}

.brands .list-section .top-bar .sorting li a>i {
    margin-left: .4em;
}

.brands .list-section .top-bar .total-data {
    font-size: .9em;
    font-weight: 600;
}

.brands .list-section .mobile-filters {
    display: none;
}

.brands .list-section .brand-list {
    margin-bottom: 1em;
}

.brands .list-section .brand-list .brand-item {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border: solid .1em #ccc;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    font-size: .9em;
    border-radius: .475em;
    min-height: 20em;
    width: 100%;
    margin-bottom: 1.6em;
}

.brands .list-section .brand-list .brand-item .image-wrapper {
    border-bottom: solid .1em #ddd;
    width: 100%;
    height: 12em;
    overflow: hidden;
    border-radius: .475em .475em 0 0;
}

.brands .list-section .brand-list .brand-item .image-wrapper>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brands .list-section .brand-list .brand-item .brand-name {
    font-size: .9em;
    color: #333;
    margin-bottom: 1em;
    line-height: 1;
}

.brands .list-section .brand-list .brand-item .brand-name>a {
    white-space: normal;
    line-height: 1.6em;
}

.brands .list-section .brand-list .brand-item .main-product {
    margin-bottom: 1em;
    font-size: 0.8em;
    text-align: center;
}

.brands .list-section .brand-list .brand-item .bottom-wrapper {
    display: inline-flex;
    font-size: .7rem;
    justify-content: space-around;
    width: 100%;
    flex-grow: 1;
    flex-wrap: wrap;
    align-content: flex-end;
}

.brands .list-section .brand-list .brand-item .content-wrapper {
    padding: .5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.brands .list-section .brand-list .brand-item .bottom-wrapper .brand-type {
    display: flex;
    align-items: center;
    flex-basis: 50%;
}

.brands .list-section .brand-list .brand-item .bottom-wrapper span {
    white-space: nowrap;
    display: inline-flex;
}

.brands .list-section .brand-list .brand-item .bottom-wrapper .brand-location {
    display: flex;
    align-items: center;
}

.brands.skeleton {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100;
}

.preloading {
    position: relative;
}

.sk-bar,
.sk-bar-sm,
.sk-bar-lg,
.sk-box {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

.sk-bar {
    height: 2em;
    width: 8em;
}

.sk-bar-sm {
    height: 1.5em;
    width: 5em;
}

.sk-bar-lg {
    height: 5em;
    width: 8em;
}

.field-group.sk-bar {
    width: 100%;
}

.button-bar {
    min-height: 3.5em;
}

.sk-bar.paging-bar {
    width: 33em;
    height: 2.5em;
    margin-top: -.6em;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/*----------------------------------------------------
        reponsive media query
----------------------------------------------------*/

/* Extra small devices (phones, 600px and down)  Bootstrap => none <<mobile>> */
@media only screen and (max-width: 767px) {
    .brands {
        font-size: 100%;
        display: block;
    }

    /*----------------------------------------------------
        section sidebar
----------------------------------------------------*/
    .brands .sidebar-section {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100%;
        z-index: 99999;
        display: none;
    }

    .brands .sidebar-section .selected-filters.desktop-filters {
        display: none;
    }

    .brands .sidebar-section .filters-form .cancel-filter-button {
        display: block;
    }

    .filter-button {
        margin-bottom: 1em;
    }

    /*----------------------------------------------------
        section content & brand list
----------------------------------------------------*/
    .brands .list-section {
        display: block;
    }

    .brands .list-section .top-bar {
        width: 100%;
    }

    .brands .list-section .top-bar .sorting {
        display: flex;
    }

    .brands .list-section .top-bar .sorting .sorting-button.d-none {
        display: block !important;
    }

    .brands .list-section .top-bar .sorting-button {
        margin-left: .8em;
    }

    .brands .list-section .top-bar .sorting-button .sorting-text {
        display: none;
    }

    .brands .list-section .top-bar .filter-on-mobile {
        display: inline-flex !important;
    }

    .brands .list-section .mobile-filters {
        display: block;
    }

    .brands .list-section .brand-list .brand-item .image-wrapper {
        height: 13em;
    }

    .brands .list-section .pagination .page-item {
        display: flex;
        flex: auto;
    }

    .brands .list-section .pagination .page-item .page-link {
        padding: .4em .75em;
        font-size: .9em;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) Bootstrap => sm */
/* Medium devices (landscape tablets, 768px and up) Bootstrap => md */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) Bootstrap => lg */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) Bootstrap => xl */
@media only screen and (min-width: 1200px) {}

/* Extra large devices (large laptops and desktops, 1200px and up)  Bootstrap => xxl */
@media only screen and (min-width: 1400px) {}


/*----------------------------------------------------
            custom buttons 
----------------------------------------------------*/

/*  filter button */
.filter-button {
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    text-align: center;
    border-style: solid;
    border-width: 0;
    box-sizing: border-box;
    border: 1px solid #5f26e3;
    border-radius: 8px;
    margin-top: .4em;
    padding: 12px 16px;
    transition-property: border-color, transform, background-color;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.55, 1, 0.15, 1);
    will-change: transform;
    border-color: #b9b7dc;
    background-color: #e8e8f2;
    background-image: radial-gradient(75% 25% at 50% 95%, #fff, transparent);
    box-shadow: inset 0 0 2px 1px #fff, 0 1px 4px 1px rgba(0, 0, 0, 0.1);
    color: #45456c;
    width: 100%;
}

.filter-button:focus {
    outline-style: solid;
    outline-color: transparent;
}

@media (hover: hover) {
    .filter-button:hover {
        transform: scale(1.04);
    }
}

.filter-button:focus-visible {
    transform: scale(1.04);
    text-decoration-line: underline;
    text-decoration-thickness: 0.0625em;
    text-underline-offset: 0.125em;
}

.filter-button:active {
    transform: scale(0.96);
}

/* cancel filter button */
.cancel-filter-button {
    touch-action: manipulation;
    position: relative;
    padding: 0;
    width: 100%;
    height: 3em;
    border: .1em solid #888888;
    line-height: 3;
    outline: none;
    background-color: #f4f5f6;
    border-radius: 20px;
    box-shadow: -3px -10px 17.5px #ffffff, -3px -5px 7.5px #ffffff, -10px 0px 15px #ffffff, 3px 10px 12.5px rgba(0, 0, 0, 0.2);
    transition: 0.13s ease-in-out;
    cursor: pointer;
}

.cancel-filter-button:active {
    box-shadow: none;
}

.cancel-filter-button:active .cancel-filter-button__content {
    box-shadow: none;
}

.cancel-filter-button:active .cancel-filter-button__content .cancel-filter-button__text,
.cancel-filter-button:active .cancel-filter-button__content .cancel-filter-button__icon {
    transform: translate3d(0px, 0px, 0px);
}

.cancel-filter-button__content {
    position: relative;
    display: grid;
    padding: 10px;
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    box-shadow: inset 0px -4px 0px #dddddd, 0px -4px 0px #f4f5f6;
    border-radius: 20px;
    transition: 0.13s ease-in-out;
    z-index: 1;
}

.cancel-filter-button__icon {
    position: relative;
    display: flex;
    transform: translate3d(0px, -2px, 0px);
    grid-column: 4;
    align-self: start;
    justify-self: end;
    width: 16px;
    height: 16px;
    transition: 0.13s ease-in-out;
}

.cancel-filter-button__icon svg {
    width: 16px;
    height: 16px;
    fill: #aaaaaa;
}

.cancel-filter-button__text {
    position: relative;
    transform: translate3d(0px, -2px, 0px);
    margin: 0;
    align-self: end;
    grid-column: 1/5;
    grid-row: 2;
    text-align: center;
    font-size: 16px;
    background-color: #888888;
    color: transparent;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    transition: 0.13s ease-in-out;
}

/* --------------------------------
        SELECT2 CUSTOMIZE
-------------------------------- */
.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__rendered {
    text-align: right !important;
    padding-right: 2em !important;
}

.b-input-wrapper.icon-position-right>i {
    left: 0.7em !important;
    right: auto !important;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__clear {
    right: auto !important;
    left: 1.4em !important;
    top: 0em !important;
    font-size: 1.5em !important;
}







/* --------------------------------------------------------
                  select 2 new
          -----------------------------------------------------------*/


:root {
    --container-color: #fff;
    --border-color: rgba(34, 36, 38, 0.15);
    --outline-color: #007fd4;
    --color: rgba(0, 0, 0, 0.87) --box-shadow-color: rgb(0 0 0 / 36%);
}


/* --------------------------------------------------------
         group with icon
    -----------------------------------------------------------*/

.b-input-wrapper {
    position: relative;
    font-size: 15px;
}

.b-input-wrapper>i {
    font-size: 1em;
    position: absolute;
    top: 0.7em;
    z-index: 99;
}

.b-input-wrapper:not(.icon-position-right)>i {
    left: 0.7em;
}

.b-input-wrapper.icon-position-right>i {
    right: 0.7em;
}


/* --------------------------------------------------------
                single theme
          -----------------------------------------------------------*/

.select2-container.select2-container--default {
    min-width: 100%;
    font-size: 14px;
    padding-right: 0 !important;
}

.select2-container.select2-container--default .select2-dropdown {
    z-index: 999999 !important;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single {
    background-color: var(--container-color);
    border: .1em solid var(--border-color);
    border-radius: 0.28571429em;
    transition: box-shadow 0.1s ease, border-color 0.1s ease;
    height: 2.6em;

}

.select2-container.select2-container--default.select2-container--open .select2-selection.select2-selection--single {
    outline-color: var(--outline-color);
    outline-width: .1em;
    outline-style: solid;
    outline-offset: -.1em;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__placeholder {
    color: #999;
    font-size: .95em;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__rendered {
    line-height: 2.5em !important;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__clear {
    float: none;
    position: absolute;
    right: 2.5em;
    top: .75em;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0em;
    width: 2.5em;
}

.select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__arrow b {
    display: block;
    background-image: url("/DesktopModules/BusinessEngine/extensions/nitro-II/field-types/select2-dropdown/default/down-arrow.png") !important;
    background-repeat: no-repeat;
    background-size: 2em;
    background-position: center;
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    height: 100%;
    border: none;
    margin: 0;
    width: 100%;
}

.select2-container.select2-container--default.select2-container--open .select2-results {}

.select2-container.select2-container--default.select2-container--open .select2-results>ul>li {
    font-size: 1em;
    text-align: right;
}

/* --------------------------------------------------------
                multiple theme
          -----------------------------------------------------------*/

.select2-container--default.select2-container {
    direction: rtl;
}

.select2-container--default .select2-selection--multiple {
    background-color: #f5f5f5;
    height: auto;
    border: none;
    border-radius: 4px;
    cursor: text;
}

.select2-container--default.select2-container .select2-search--inline .select2-search__field {
    border: none !important;
    padding: 0 !important;
    font-size: 1em;
    line-height: 2.7;
}

.select2-container--default.select2-container .select2-selection__rendered {
    margin-right: 1.8em;
    height: 2.2em;
    padding-top: 3px !important;
}

.select2-container--default.select2-container .select2-selection__rendered li {
    line-height: 1em;
    float: right !important;
}

.select2-container--default.select2-container .select2-selection__rendered li.select2-selection__choice {
    padding: .4em;
}

.select2-container--default.select2-container .select2-selection__clear {
    margin: 0 .35em;
}

.select2-container--default.select2-container .select2-search--inline .select2-search__field {
    padding: .6em;
    margin: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none !important;
}


/* --------------------------------------------------------
                  rtl signle theme
          -----------------------------------------------------------*/

.b-rtl .select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__rendered {
    text-align: right;
    padding-right: 2.2em;
    padding-left: .5em;
}

.b-rtl .select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__arrow {
    left: 0;
    right: auto;
}

.b-rtl .select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__arrow b {
    left: 0;
    right: auto;
}

.b-rtl .select2-container.select2-container--default .select2-selection.select2-selection--single .select2-selection__clear {
    left: 2.5em;
    right: auto;
    top: 0;
}
