.gpb-brands,
.gpb-products,
.gpb-product-detail,
.gpb-brands *,
.gpb-products *,
.gpb-product-detail * {
    box-sizing: border-box;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: transparent;
}
.gpb-brands,
.gpb-products,
.gpb-product-detail {
    width: 100%;
    direction: rtl;
	font-family: 'Modam FaNum';
}

.gpb-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.gpb-search {
    min-width: 220px;
    max-width: 360px;
    flex: 1 1 260px;
    position: relative;
}

.gpb-search-input,
.gpb-product-search-input {
    width: 100% !important;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 999px !important;
    padding: 0 22px !important;
    outline: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font: inherit;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

.gpb-search-input::placeholder,
.gpb-product-search-input::placeholder {
    color: currentColor;
    opacity: .65;
}
.gpb-brand-profile-top {
    display: flex;
    justify-content: space-between;
}
.gpb-search-input:focus,
.gpb-product-search-input:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.gpb-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 5 1 520px;
}

.gpb-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 4px 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    opacity: .82;
    transition: background .2s ease, opacity .2s ease, transform .2s ease;
    color: #fff;
    font-size: 12px;
}

.gpb-tab:hover,
.gpb-tab.is-active {
    background: rgba(255, 255, 255, 0.68);
    color: #1c4778;
    opacity: 1;
}

.gpb-tab:active {
    transform: translateY(1px);
}

.gpb-tab b {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(28, 71, 120, 0.12);
    font-size: 12px;
    font-weight: 700;
}

.gpb-result-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #1c4778;
    font-weight: 700;
    margin-inline-start: auto;
    font-size: 13px;
}

.gpb-grid,
.gpb-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--gpb-columns, 4), minmax(0, 1fr));
    gap: 24px;
}

.gpb-card,
.gpb-product-card {
    min-width: 0;
}

.gpb-card[hidden],
.gpb-product-card[hidden] {
    display: none !important;
}

.gpb-card-link {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.20);
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(42, 91, 144, 0.10);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.gpb-card-link:hover,
.gpb-product-card-link:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0 20px 44px rgba(42, 91, 144, 0.18);
}

.gpb-card-category {
    display: block;
    text-align: right;
    color: #193f71;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.gpb-logo-box,
.gpb-product-image-box {
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.gpb-product-image-box {
    min-height: 142px;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
}

.gpb-logo,
.gpb-product-image {
    display: block;
    width: 100%;
    max-width: 170px;
    max-height: 90px;
    object-fit: contain;
}

.gpb-product-image {
    max-height: 120px;
}

.gpb-logo-placeholder {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(28, 71, 120, 0.1);
    color: #1c4778;
    font-size: 34px;
    font-weight: 800;
}

.gpb-card-title {
    display: none;
}

.gpb-empty {
    margin: 28px 0 0;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: #1c4778;
    text-align: center;
    font-weight: 700;
}

.gpb-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.gpb-section-head h2,
.gpb-similar-products h2,
.gpb-detail-specs h2 {
    margin: 0;
    color: inherit;
    font-weight: 900;
    color:#fff;
}

.gpb-section-logo {
    width: 130px;
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.gpb-section-logo img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.gpb-products-layout.has-sidebar {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.gpb-products-layout.no-sidebar .gpb-products-main {
    width: 100%;
}

.gpb-products-filter {
    position: sticky;
    top: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.34);
    color: #163d70;
    box-shadow: 0 16px 36px rgba(42, 91, 144, 0.11);
}

.gpb-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    background-color: #ffffffb3;
    padding: 10px;
    border-radius: 10px;	
}

.gpb-filter-top strong {
    font-size: 18px;
    font-weight: 900;
}

.gpb-clear-filters {
    border: 0;
    background: transparent;
    color: #2673c9;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.gpb-filter-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.gpb-filter-group:last-child {
    border-bottom: 0;
}

.gpb-filter-head {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.gpb-filter-head i {
    font-style: normal;
    transition: transform .2s ease;
}

.gpb-filter-group:not(.is-open) .gpb-filter-head i {
    transform: rotate(90deg);
}

.gpb-filter-body {
    display: grid;
    gap: 10px;
    padding: 4px 0 14px;
}

.gpb-filter-group:not(.is-open) .gpb-filter-body {
    display: none;
}

.gpb-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    font-size: 14px;
    cursor: pointer;
}

.gpb-filter-check input {
    width: 18px;
    height: 18px;
    accent-color: #1c4778;
}

.gpb-filter-check span {
    flex: 1;
}

.gpb-filter-check b {
    min-width: 24px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.gpb-product-card-link {
    min-height: 268px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    color: inherit;
    text-align: right;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(42, 91, 144, 0.10);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.gpb-product-title {
    color: #173d6f;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.8;
}

.gpb-product-meta {
    color: rgba(22, 61, 112, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

.gpb-product-detail-title {
    margin: 0 0 28px;
    color: inherit;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
}

.gpb-product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 20px;
    align-items: stretch;
}

.gpb-detail-info-card,
.gpb-detail-gallery-card,
.gpb-detail-specs {
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 18px 42px rgba(42, 91, 144, 0.12);
    overflow: hidden;
}

.gpb-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.gpb-detail-tab {
    flex: 1 1 120px;
    min-height: 52px;
    border: 0;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.42);
    background: transparent;
    color: #193f71;
    font: inherit;
    font-weight: 100;
    cursor: pointer;
}

.gpb-detail-tab.is-active,
.gpb-detail-tab:hover {
    background: rgba(255, 255, 255, 0.62);
}

.gpb-detail-panel {
    display: none;
    min-height: 270px;
    padding: 28px 34px;
    color: #1f416d;
    line-height: 2.1;
}

.gpb-detail-panel.is-active {
    display: block;
}

.gpb-detail-panel ul,
.gpb-detail-specs ul {
    margin: 0;
    padding-inline-start: 22px;
}

.gpb-detail-gallery-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.30);
}

.gpb-detail-main-image {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.gpb-detail-image {
    display: block;
    max-width: 88%;
    max-height: 300px;
    object-fit: contain;
}

.gpb-detail-thumbs {
    display: grid;
    gap: 12px;
    align-content: start;
}

.gpb-detail-thumb {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 8px;
}

.gpb-detail-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.gpb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.gpb-page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    color: #173d6f;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(42, 91, 144, 0.10);
}

.gpb-page-btn:hover,
.gpb-page-btn.is-active {
    background: rgba(255, 255, 255, 0.76);
}

.gpb-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.gpb-page-dots {
    min-width: 28px;
    text-align: center;
    color: rgba(23, 61, 111, 0.72);
    font-weight: 900;
}

.gpb-product-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.gpb-fact {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.30);
    color: #193f71;
}

.gpb-fact span {
    opacity: .82;
}

.gpb-fact b {
    font-weight: 900;
}

.gpb-detail-specs {
    padding: 24px 28px;
    margin: 22px 0;
    color: #1f416d;
}

.gpb-detail-specs h2,
.gpb-similar-products h2 {
    margin-bottom: 18px;
}

.gpb-similar-products {
    margin-top: 34px;
}

@media (max-width: 1200px) {
    .gpb-grid,
    .gpb-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gpb-product-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .gpb-products-layout.has-sidebar,
    .gpb-product-detail-grid {
        grid-template-columns: 1fr;
    }

    .gpb-products-filter {
        position: static;
    }
}

@media (max-width: 900px) {
    .gpb-grid,
    .gpb-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gpb-result-count {
        margin-inline-start: 0;
    }
}

@media (max-width: 560px) {
    .gpb-grid,
    .gpb-products-grid,
    .gpb-product-facts {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gpb-card-link {
        min-height: 150px;
    }

    .gpb-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

    .gpb-tab {
        white-space: nowrap;
    }

    .gpb-detail-gallery-card {
        grid-template-columns: 1fr;
    }

    .gpb-detail-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .gpb-detail-thumb {
        width: 100%;
    }
}

.gpb-brand-profile {
    display: grid;
    gap: 22px;
    align-items: center;
    margin-bottom: 26px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.26);
    color: #173d6f;
    box-shadow: 0 18px 42px rgba(42, 91, 144, 0.12);
}

.gpb-brand-profile-icon {
    width: 132px;
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    padding: 18px;
}

.gpb-brand-profile-icon img {
    display: block;
    max-width: 100%;
    max-height: 74px;
    object-fit: contain;
}

.gpb-brand-profile-body {
    min-width: 0;
}

.gpb-brand-profile-cats {
    margin-bottom: 6px;
    color: rgba(23, 61, 111, 0.78);
    font-size: 14px;
    font-weight: 800;
}

.gpb-brand-profile h1 {
    margin: 0 0 10px;
    color: inherit;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    line-height: 1.4;
}

.gpb-brand-profile-desc {
    color: rgba(23, 61, 111, 0.9);
    line-height: 2;
}

.gpb-brand-profile-desc p {
    margin: 0;
}

.gpb-brand-profile-site {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.44);
    color: #173d6f;
    text-decoration: none !important;
    white-space: nowrap;
    font-size: 11px;
    font-family: 'Roboto';
}

.gpb-brand-profile-site:hover {
    background: rgba(255, 255, 255, 0.62);
}

.gpb-brand-profile-site span {
    font-size: 13px;
    opacity: .72;
}

.gpb-brand-profile-site b {
    font-weight: 900;
    direction: ltr;
    text-align: left;
}

@media (max-width: 980px) {
    .gpb-brand-profile {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .gpb-brand-profile-site {
        grid-column: 1 / -1;
        white-space: normal;
    }

    .gpb-brand-profile-icon {
        width: 110px;
    }
}

@media (max-width: 560px) {
    .gpb-brand-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gpb-brand-profile-icon {
        width: 100%;
    }

    .gpb-brand-profile-site b {
        text-align: center;
    }
}

/* v1.2.3 - brand page: one-line filter row + smaller brand cards */
.gpb-brands .gpb-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 14px;
}

.gpb-brands .gpb-search {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: 360px;
    flex: none;
}

.gpb-brands .gpb-result-count {
    grid-column: 3;
    grid-row: 1;
    margin-inline-start: 0;
    justify-self: end;
}

.gpb-brands .gpb-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    flex: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.gpb-brands .gpb-tabs::-webkit-scrollbar {
    height: 6px;
}

.gpb-brands .gpb-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.gpb-brands .gpb-tab {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 3px 6px;
    gap: 5px;
    font-size: 10.5px;
    line-height: 1.2;
    white-space: nowrap;
}

.gpb-brands .gpb-tab b {
    min-width: 19px;
    height: 19px;
    font-size: 10px;
}

.gpb-brands .gpb-grid {
    gap: 20px;
}

.gpb-brands .gpb-card-link {
    min-height: 130px;
    padding: 13px 14px;
    gap: 8px;
    border-radius: 18px;
}

.gpb-brands .gpb-card-category {
    font-size: 12.5px;
    line-height: 1.35;
    width: 100%;
    min-height: 18px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpb-brands .gpb-logo-box {

}

.gpb-brands .gpb-logo {
    max-width: 140px;
    max-height: 70px;
}

@media (max-width: 980px) {
    .gpb-brands .gpb-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .gpb-brands .gpb-search {
        grid-column: 1;
    }

    .gpb-brands .gpb-result-count {
        grid-column: 2;
    }
}

@media (max-width: 560px) {
    .gpb-brands .gpb-toolbar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gpb-brands .gpb-search,
    .gpb-brands .gpb-result-count,
    .gpb-brands .gpb-tabs {
        grid-column: 1;
    }

    .gpb-brands .gpb-result-count {
        justify-self: start;
    }

    .gpb-brands .gpb-tabs {
        margin-inline: -2px;
    }

    .gpb-brands .gpb-grid {
        grid-template-columns: 1fr;
    }

    .gpb-brands .gpb-card-link {
        min-height: 134px;
    }
}


/* v1.2.4 - brand page: vertical sidebar filters beside brand cards */
.gpb-brands .gpb-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
}

.gpb-brands .gpb-search {
    width: min(100%, 360px);
    min-width: 220px;
    max-width: 360px;
    flex: 0 1 360px;
}

.gpb-brands .gpb-result-count {
    margin-inline-start: 0;
    justify-self: auto;
}

.gpb-brands-layout.has-sidebar {
    display: grid;
    grid-template-columns: minmax(160px, 215px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.gpb-brands-layout.no-sidebar .gpb-brands-main {
    width: 100%;
}

.gpb-brands-sidebar {
    position: sticky;
    top: 24px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 36px rgba(42, 91, 144, 0.10);
}

.gpb-brands-filter-title {
    display: block;
    margin-bottom: 12px;
    color: #173d6f;
    font-size: 13px;
    font-weight: 900;
}

.gpb-brands .gpb-brands-sidebar .gpb-tabs {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    flex: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 7px;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.gpb-brands .gpb-brands-sidebar .gpb-tab {
    width: 100%;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #000;
    font-size: 11.5px;
    line-height: 1.35;
    text-align: right;
    white-space: normal;
}

.gpb-brands .gpb-brands-sidebar .gpb-tab span {
    min-width: 0;
    flex: 1;
}

.gpb-brands .gpb-brands-sidebar .gpb-tab:hover,
.gpb-brands .gpb-brands-sidebar .gpb-tab.is-active {
    background: rgba(255, 255, 255, 0.76);
    color: #1c4778;
}

.gpb-brands .gpb-brands-sidebar .gpb-tab b {
    flex: 0 0 auto;
    min-width: 22px;
    height: 22px;
    font-size: 10.5px;
}

.gpb-brands-main {
    min-width: 0;
}

.gpb-brands .gpb-grid {
    gap: 18px;
}

@media (max-width: 980px) {
    .gpb-brands-layout.has-sidebar {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gpb-brands-sidebar {
        position: static;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .gpb-brands-filter-title {
        margin-bottom: 8px;
        color: #173d6f;
    }

    .gpb-brands .gpb-brands-sidebar .gpb-tabs {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .gpb-brands .gpb-brands-sidebar .gpb-tab {
        flex: 0 0 auto;
        width: auto;
        min-height: 32px;
        white-space: nowrap;
        padding: 5px 8px;
    }
}

@media (max-width: 560px) {
    .gpb-brands .gpb-toolbar {
        align-items: stretch;
    }

    .gpb-brands .gpb-search {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: 1 1 100%;
    }

    .gpb-brands .gpb-result-count {
        align-self: flex-start;
    }
}

/* v1.2.6 - mobile brand filters as checkbox combo box */
.gpb-brand-mobile-combo {
    display: none;
}

@media (max-width: 980px) {
    .gpb-brands-sidebar {
        position: relative;
        z-index: 3;
    }

    .gpb-brands .gpb-brands-sidebar .gpb-tabs {
        display: none;
    }

    .gpb-brand-mobile-combo {
        display: block;
        position: relative;
        width: 100%;
    }

    .gpb-brand-combo-toggle {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 14px;
        border: 1px solid rgba(255, 255, 255, 0.58);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.22);
        color: #ffffff;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.4;
        text-align: right;
        cursor: pointer;
        box-shadow: 0 12px 28px rgba(42, 91, 144, 0.12);
    }

    .gpb-brand-combo-toggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.78);
        color: #1c4778;
    }

    .gpb-brand-combo-toggle i {
        flex: 0 0 auto;
        font-style: normal;
        font-size: 18px;
        line-height: 1;
    }

    .gpb-brand-combo-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gpb-brand-combo-panel {
        position: absolute;
        inset-inline: 0;
        top: calc(100% + 8px);
        max-height: 310px;
        overflow: auto;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.62);
        border-radius: 16px;
        background: rgba(106, 153, 200, 0.98);
        box-shadow: 0 18px 46px rgba(29, 73, 116, 0.24);
        -webkit-overflow-scrolling: touch;
    }

    .gpb-brand-combo-option {
        min-height: 38px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 7px 9px;
        border-radius: 12px;
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
    }

    .gpb-brand-combo-option:hover,
    .gpb-brand-combo-option:has(input:checked) {
        background: rgba(255, 255, 255, 0.20);
    }

    .gpb-brand-combo-option input {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
        accent-color: #1c4778;
    }

    .gpb-brand-combo-option span {
        min-width: 0;
        flex: 1;
    }

    .gpb-brand-combo-option b {
        min-width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        color: #1c4778;
        font-size: 10.5px;
        font-weight: 900;
    }
}
