body.kbpb-custom-brand-page .em-container.site-content-container,
body.kbpb-custom-brand-page .site-content-container.em-container,
body.kbpb-custom-brand-page #content > .em-container,
body.kbpb-custom-brand-page .site-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.kbpb-custom-brand-page.ecomus-catalog-page .site-content,
body.kbpb-custom-brand-page .site-content {
    padding-top: 0;
}

.kbpb-brand-landing { width: 100%; }
.kbpb-brand-products-anchor { position: relative; top: -110px; visibility: hidden; height: 0; }
.kbpb-explore-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }

.kbpb-brand-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}
.kbpb-brand-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.kbpb-brand-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.kbpb-brand-category-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.28 / 1;
    padding: 20px;
    background: #f7f7f7;
}
.kbpb-brand-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.kbpb-brand-category-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 44px 17px 16px;
}
.kbpb-brand-category-content strong { font-size: 16px; line-height: 1.35; }
.kbpb-brand-category-content small { opacity: .65; }
.kbpb-brand-category-arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
    font-size: 20px;
    line-height: 1;
}
.kbpb-active-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
}
.kbpb-active-category a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
    .kbpb-brand-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .kbpb-brand-products-anchor { top: -80px; }
    .kbpb-brand-categories {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .kbpb-brand-category-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
    .kbpb-active-category { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* Elementor integration */
.kbpb-editor-placeholder {
    padding: 14px 16px;
    border: 1px dashed #cfcfcf;
    border-radius: 8px;
    background: #fafafa;
    font-size: 13px;
}
.kbpb-elementor-brand-name { margin: 0; }
.kbpb-explore-wrap { width: 100%; }
.kbpb-explore-button {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-weight: 600;
    transition: transform .2s ease, opacity .2s ease;
}
.kbpb-explore-button:hover {
    color: #fff;
    opacity: .9;
    transform: translateY(-1px);
}

/* v1.4.0 visual brand widgets */
.kbpb-brand-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 590px;
    overflow: hidden;
    background-image: var(--kbpb-hero-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.kbpb-brand-hero.has-overlay:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.08) 75%);
}
.kbpb-brand-hero__inner { position: relative; z-index: 1; width: min(100%, 1400px); margin: 0 auto; padding: 72px 40px; }
.kbpb-brand-hero__content { max-width: 610px; }
.kbpb-brand-hero__eyebrow { margin-bottom: 16px; font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kbpb-brand-hero__heading { margin: 0 0 18px; font-size: clamp(44px, 5vw, 76px); line-height: .98; font-weight: 500; }
.kbpb-brand-hero__description { max-width: 560px; margin-bottom: 28px; font-size: 17px; line-height: 1.65; }
.kbpb-brand-hero__button,
.kbpb-brand-about__button { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 13px 22px; border-radius: 4px; background: #fff; color: #111; font-weight: 600; text-decoration: none; }

.kbpb-brand-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; padding: 24px 30px; background: #f7f7f7; }
.kbpb-brand-benefit { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; padding: 6px 24px; }
.kbpb-brand-benefit + .kbpb-brand-benefit { border-left: 1px solid #e5e5e5; }
.kbpb-brand-benefit__icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; font-size: 23px; }
.kbpb-brand-benefit__body { display: flex; flex-direction: column; gap: 3px; }
.kbpb-brand-benefit__body strong { font-size: 14px; line-height: 1.25; }
.kbpb-brand-benefit__body span { font-size: 12px; line-height: 1.35; opacity: .66; }

.kbpb-brand-about { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: stretch; overflow: hidden; background: #f2f2f2; }
.kbpb-brand-about--right .kbpb-brand-about__media { order: 2; }
.kbpb-brand-about__media { min-height: 520px; background: #e7e7e7; }
.kbpb-brand-about__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.kbpb-brand-about__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,6vw,95px); }
.kbpb-brand-about__eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kbpb-brand-about h2 { margin: 0 0 22px; font-size: clamp(34px,4vw,58px); line-height: 1.05; font-weight: 500; }
.kbpb-brand-about__description { max-width: 620px; margin-bottom: 28px; font-size: 16px; line-height: 1.7; }
.kbpb-brand-about__button { align-self: flex-start; background: #111; color: #fff; }
.kbpb-brand-about__button:hover { color: #fff; }

.kbpb-brand-cta-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.kbpb-brand-cta-card { overflow: hidden; background: #f5f5f5; }
.kbpb-brand-cta-card__media { aspect-ratio: 1.55 / 1; overflow: hidden; background: #ececec; }
.kbpb-brand-cta-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.kbpb-brand-cta-card:hover .kbpb-brand-cta-card__media img { transform: scale(1.03); }
.kbpb-brand-cta-card__body { padding: 24px 24px 26px; }
.kbpb-brand-cta-card__body h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.kbpb-brand-cta-card__body p { margin: 0 0 16px; opacity: .7; line-height: 1.55; }
.kbpb-brand-cta-card__body a { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-weight: 600; text-decoration: none; }

@media (max-width: 1024px) {
    .kbpb-brand-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .kbpb-brand-benefit:nth-child(3) { border-left: 0; }
    .kbpb-brand-benefit:nth-child(n+3) { margin-top: 12px; }
    .kbpb-brand-about { grid-template-columns: 1fr 1fr; }
    .kbpb-brand-cta-grid { gap: 16px; }
}
@media (max-width: 767px) {
    .kbpb-brand-hero { min-height: 520px; background-image: var(--kbpb-hero-bg-mobile, var(--kbpb-hero-bg)); background-position: center; }
    .kbpb-brand-hero.has-overlay:before { background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35)); }
    .kbpb-brand-hero__inner { padding: 48px 20px; }
    .kbpb-brand-hero__heading { font-size: clamp(38px,12vw,56px); }
    .kbpb-brand-benefits { grid-template-columns: 1fr 1fr; padding: 18px 10px; }
    .kbpb-brand-benefit { justify-content: flex-start; padding: 10px 12px; }
    .kbpb-brand-benefit + .kbpb-brand-benefit { border-left: 0; }
    .kbpb-brand-benefit:nth-child(even) { border-left: 1px solid #e5e5e5; }
    .kbpb-brand-about, .kbpb-brand-about--right { grid-template-columns: 1fr; }
    .kbpb-brand-about--right .kbpb-brand-about__media { order: 0; }
    .kbpb-brand-about__media, .kbpb-brand-about__media img { min-height: 340px; }
    .kbpb-brand-about__content { padding: 40px 22px 46px; }
    .kbpb-brand-cta-grid { grid-template-columns: 1fr; }
}

/* Native Ecomus product archive placement shortcode. */
.kbpb-brand-products-shortcode {
    width: 100%;
}

.kbpb-brand-products-shortcode > .kbpb-native-brand-products {
    width: 100%;
    max-width: none;
}

/* v1.6.0 icon category navigation / AJAX brand filtering */
.kbpb-brand-categories--icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.kbpb-brand-categories--icons .kbpb-brand-category-card {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 132px;
    min-height: 98px;
    padding: 14px 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font: inherit;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transform: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.kbpb-brand-categories--icons .kbpb-brand-category-card:hover,
.kbpb-brand-categories--icons .kbpb-brand-category-card.is-active {
    border-color: #b67a19;
    background: #fffaf2;
    color: #a96808;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    transform: none;
}
.kbpb-brand-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 0;
    color: #a96808;
}
.kbpb-category-icon-svg {
    display: block;
    width: 38px;
    height: 38px;
}
.kbpb-brand-categories--icons .kbpb-brand-category-content {
    display: block;
    padding: 0;
}
.kbpb-brand-categories--icons .kbpb-brand-category-content strong {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.kbpb-brand-categories--icons .kbpb-brand-category-content small {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    text-transform: none;
}
.kbpb-brand-categories.is-loading {
    pointer-events: none;
}
.kbpb-brand-products-shortcode {
    position: relative;
}
.kbpb-brand-products-shortcode.is-loading {
    min-height: 250px;
    pointer-events: none;
}
.kbpb-brand-products-shortcode.is-loading > .kbpb-native-brand-products {
    opacity: .35;
}
.kbpb-brand-products-loader {
    display: none;
    position: absolute;
    z-index: 30;
    top: 120px;
    left: 50%;
    width: 38px;
    height: 38px;
    margin-left: -19px;
    border: 3px solid #e5e5e5;
    border-top-color: #a96808;
    border-radius: 50%;
    animation: kbpb-spin .7s linear infinite;
}
.kbpb-brand-products-shortcode.is-loading > .kbpb-brand-products-loader {
    display: block;
}
@keyframes kbpb-spin {
    to { transform: rotate(360deg); }
}
.kbpb-brand-products-shortcode {
    scroll-margin-top: 100px;
}
.kbpb-active-category__clear {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
@media (max-width: 767px) {
    .kbpb-brand-categories--icons {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }
    .kbpb-brand-categories--icons .kbpb-brand-category-card {
        flex: 0 0 112px;
        width: 112px;
        min-height: 92px;
        scroll-snap-align: start;
    }
}

/* v1.7.0 visual refinements */
.kbpb-brand-hero__brand{margin:0 0 26px;font-size:72px;line-height:.95;font-weight:700;color:#fff}.kbpb-brand-hero__logo{margin:0 0 26px}.kbpb-brand-hero__logo img{display:block;max-width:100%;height:auto}.kbpb-brand-hero__eyebrow{white-space:normal;font-size:20px;line-height:1.35;font-weight:500;letter-spacing:.08em}.kbpb-brand-hero__description{font-size:18px;line-height:1.45}.kbpb-brand-hero__button-wrap{display:flex}.kbpb-brand-hero__button{background:#b8893f;color:#fff;border-radius:0;padding:16px 28px}.kbpb-brand-hero__badge{position:absolute;z-index:2;right:10%;top:30px}.kbpb-brand-hero__badge img{display:block;max-width:150px;height:auto}
.kbpb-brand-about--background{display:flex;align-items:center;min-height:500px;background-size:cover;background-position:center;background-repeat:no-repeat}.kbpb-brand-about--background .kbpb-brand-about__content{width:min(100%,1400px);max-width:650px;margin-left:max(20px,calc((100% - 1440px)/2 + 120px));padding:70px 0}.kbpb-brand-about--background h2{font-size:40px;font-weight:700;line-height:1.15}.kbpb-brand-about--background .kbpb-brand-about__description{font-size:18px;line-height:1.45}.kbpb-brand-about--background .kbpb-brand-about__button{background:#b8893f;color:#fff;border-radius:0;padding:15px 30px}
.kbpb-brand-cta-grid{gap:12px}.kbpb-brand-cta-card{position:relative;display:flex;align-items:center;min-height:250px;background-size:cover;background-position:center;overflow:hidden}.kbpb-brand-cta-card:before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.48)}.kbpb-brand-cta-card__body{position:relative;z-index:1;padding:30px;color:#fff}.kbpb-brand-cta-card__body h3{color:#fff;font-size:26px;font-weight:700}.kbpb-brand-cta-card__body p{color:#fff;opacity:1;font-size:16px;max-width:390px}.kbpb-brand-cta-card__body a{background:#fff;color:#111;padding:13px 28px;font-weight:700}
.kbpb-brand-categories--icons{gap:14px}.kbpb-brand-categories--icons .kbpb-brand-category-card{width:132px;min-height:98px;border-radius:12px}.kbpb-brand-categories--icons .kbpb-brand-category-card.is-active{background:#fffaf2;border-color:#b67a19}.kbpb-brand-category-icon{width:38px;height:38px}.kbpb-brand-categories--icons .kbpb-brand-category-content strong{font-size:12px;font-weight:700}
@media(max-width:767px){.kbpb-brand-hero__brand{font-size:44px}.kbpb-brand-hero__badge{right:20px;top:20px}.kbpb-brand-hero__badge img{max-width:90px}.kbpb-brand-about--background{background-position:center}.kbpb-brand-about--background .kbpb-brand-about__content{margin:0;padding:40px 22px;max-width:100%}.kbpb-brand-cta-card{min-height:230px}}

/* v1.7.1 button visibility + heading tag support */
.kbpb-brand-about__button,.kbpb-brand-cta-card__button{display:inline-flex;align-items:center;gap:10px;text-decoration:none;cursor:pointer;}
.kbpb-brand-about__button--disabled,.kbpb-brand-cta-card__button--disabled{cursor:default;}
.kbpb-brand-about__heading,.kbpb-brand-cta-card__heading{margin-top:0;}


/* v1.8.0 brand content + FAQ */
.kbpb-brand-description,
.kbpb-brand-bottom-description { width: 100%; }
.kbpb-brand-description > :last-child,
.kbpb-brand-bottom-description > :last-child { margin-bottom: 0; }
.kbpb-brand-faq { width: 100%; }
.kbpb-brand-faq__title { margin: 0 0 24px; }
.kbpb-brand-faq__item { border: 0; border-bottom: 1px solid #e5e5e5; }
.kbpb-brand-faq__item:first-child { border-top: 1px solid #e5e5e5; }
.kbpb-brand-faq__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
}
.kbpb-brand-faq__question::-webkit-details-marker { display: none; }
.kbpb-brand-faq__icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.kbpb-brand-faq__icon:before,
.kbpb-brand-faq__icon:after {
    content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%,-50%);
}
.kbpb-brand-faq__icon:before { width: 16px; height: 1px; }
.kbpb-brand-faq__icon:after { width: 1px; height: 16px; transition: opacity .2s ease; }
.kbpb-brand-faq__item[open] .kbpb-brand-faq__icon:after { opacity: 0; }
.kbpb-brand-faq__answer { padding: 0 0 20px; }
.kbpb-brand-faq__answer > :last-child { margin-bottom: 0; }

/* v1.8.2 brand breadcrumb / prev-next top bar */
.kbpb-brand-topbar {
    width: 100%;
    background: #fff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}
.kbpb-brand-topbar__inner {
    width: min(100% - 40px, 1440px);
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.kbpb-brand-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #767676;
}
.kbpb-brand-breadcrumb a {
    color: #000000;
    text-decoration: none;
}
.kbpb-brand-breadcrumb a:hover { color: #a96808; }
.kbpb-brand-breadcrumb__current { color: #767676; }
.kbpb-brand-topbar__nav {
    display: flex;
    align-items: center;
    gap: 14px;
}
.kbpb-brand-topbar__arrow,
.kbpb-brand-topbar__grid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #111;
    text-decoration: none;
}
.kbpb-brand-topbar__arrow svg,
.kbpb-brand-topbar__grid svg {
    display: block;
    width: 18px;
    height: 18px;
}
.kbpb-brand-topbar__arrow:hover,
.kbpb-brand-topbar__grid:hover { color: #a96808; }
.kbpb-brand-topbar__arrow.is-disabled { opacity: .25; }
@media (max-width: 767px) {
    .kbpb-brand-topbar__inner {
        width: min(100% - 28px, 1440px);
        min-height: 64px;
    }
    .kbpb-brand-breadcrumb { font-size: 12px; gap: 6px; }
    .kbpb-brand-topbar__nav { gap: 9px; }
}


/* v1.8.3 refinements */
body.kbpb-custom-brand-page .site-content.ecomus-catalog-page .site-content {
    padding-top: 0;
}

/* Approved brand category card sizing */
.kbpb-brand-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 0;
    color: #a96808;
}
.kbpb-brand-categories--icons .kbpb-brand-category-card {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 132px;
    min-height: 98px;
    padding: 14px 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font: inherit;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transform: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

/* CTA default internal spacing based on approved reference */
.kbpb-brand-cta-card {
    padding: 32px;
}
.kbpb-brand-cta-card__body {
    width: 100%;
    padding: 0;
}
.kbpb-brand-cta-card__heading { margin-bottom: 10px; }
.kbpb-brand-cta-card__description { margin-bottom: 22px; }
.kbpb-brand-cta-card__description > :last-child { margin-bottom: 0; }
.kbpb-brand-cta-card__button-wrap { margin-top: 0; }

/* v1.8.4 mobile category grid - matches Klapp category navigation */
.kbpb-brand-categories-mobile-title,
.kbpb-brand-categories-toggle { display: none; }

@media (max-width: 767px) {
    .kbpb-brand-categories-mobile-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin: 0 0 18px;
        color: #111;
        text-align: center;
    }
    .kbpb-brand-categories-mobile-title span {
        flex: 1 1 auto;
        height: 1px;
        max-width: 96px;
        background: #d8d8d8;
    }
    .kbpb-brand-categories-mobile-title strong {
        flex: 0 0 auto;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .kbpb-brand-categories--icons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
        scrollbar-width: auto;
    }
    .kbpb-brand-categories--icons .kbpb-brand-category-card {
        width: 100%;
        min-width: 0;
        min-height: 80px;
        padding: 10px 5px 9px;
        border-radius: 12px;
        scroll-snap-align: none;
    }
    .kbpb-brand-category-icon {
        width: 34px;
        height: 34px;
    }
    .kbpb-category-icon-svg {
        width: 34px;
        height: 34px;
    }
    .kbpb-brand-categories--icons .kbpb-brand-category-content strong {
        font-size: 10px;
        line-height: 1.18;
        letter-spacing: .035em;
    }
    .kbpb-mobile-hidden-category {
        display: none !important;
    }
    .kbpb-brand-categories.is-expanded .kbpb-mobile-hidden-category {
        display: flex !important;
    }
    .kbpb-brand-categories-toggle {
        appearance: none;
        -webkit-appearance: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: auto;
        margin: 18px auto 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #a96808;
        font: inherit;
        font-size: 14px;
        line-height: 1.2;
        cursor: pointer;
    }
    .kbpb-brand-categories-toggle .kbpb-toggle-label--less { display: none; }
    .kbpb-brand-categories-toggle[aria-expanded="true"] .kbpb-toggle-label--more { display: none; }
    .kbpb-brand-categories-toggle[aria-expanded="true"] .kbpb-toggle-label--less { display: inline; }
    .kbpb-toggle-chevron {
        position: relative;
        width: 22px;
        height: 22px;
        border: 1px solid #e0cfb5;
        border-radius: 50%;
    }
    .kbpb-toggle-chevron:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 46%;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid #a96808;
        border-bottom: 1.5px solid #a96808;
        transform: translate(-50%, -50%) rotate(45deg);
        transition: transform .2s ease;
    }
    .kbpb-brand-categories-toggle[aria-expanded="true"] .kbpb-toggle-chevron:after {
        top: 56%;
        transform: translate(-50%, -50%) rotate(225deg);
    }
}

/* v1.9.0 mobile category UX + performance/accessibility refinements */
.kbpb-brand-categories-mobile-title { display: none !important; }

@media (max-width: 767px) {
    .kbpb-brand-categories--icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 10px;
        overflow: hidden;
        padding: 0;
        scroll-snap-type: none;
        scrollbar-width: auto;
        transition: max-height .38s ease;
    }

    .kbpb-brand-categories--icons.kbpb-no-transition {
        transition: none !important;
    }

    .kbpb-brand-categories--icons .kbpb-brand-category-card {
        flex: 0 0 calc((100% - 20px) / 3);
        width: calc((100% - 20px) / 3);
        max-width: calc((100% - 20px) / 3);
        min-width: 0;
        min-height: 80px;
        padding: 10px 5px 9px;
        border-radius: 12px;
        scroll-snap-align: none;
        transition: opacity .25s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
    }

    .kbpb-brand-categories--icons .kbpb-mobile-hidden-category {
        display: flex !important;
        opacity: 0;
        pointer-events: none;
    }

    .kbpb-brand-categories--icons.is-expanded .kbpb-mobile-hidden-category,
    .kbpb-brand-categories--icons.kbpb-categories-measuring .kbpb-mobile-hidden-category {
        opacity: 1;
        pointer-events: auto;
    }

    .kbpb-brand-categories-toggle {
        display: flex;
        width: max-content;
        max-width: 100%;
        margin: 18px auto 0;
        color: #a96808 !important;
        background: none !important;
        border: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kbpb-brand-categories--icons,
    .kbpb-brand-categories--icons .kbpb-brand-category-card,
    .kbpb-toggle-chevron:after,
    .kbpb-brand-category-card,
    .kbpb-explore-button {
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .kbpb-brand-products-loader { animation-duration: 1.2s; }
}
