.bm-ai-dropdown {
    z-index: 10000;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
    padding: 14px 8px 8px;
    box-sizing: border-box;
    font-size: 13px;
    color: #1d2433;
}

.bm-ai-dropdown.is-loading {
    min-height: 44px;
}

.bm-ai-loading,
.bm-ai-empty-message,
.bm-ai-help {
    padding: 10px;
    color: #667085;
    line-height: 1.4;
}

.bm-ai-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.bm-ai-product {
    min-width: 0;
    padding: 6px;
    border: 1px solid #f0f0f0;
    border-radius: 7px;
    background: #fff;
    color: #1d2433;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bm-ai-product.is-active,
.bm-ai-product:hover {
    border-color: #d7dde5;
    box-shadow: 0 3px 10px rgba(16, 24, 40, .07);
}

.bm-ai-product__image {
    width: 100%;
    height: 72px;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-ai-product__image-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bm-ai-product__image-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e9edf3;
}

.bm-ai-product__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bm-ai-product__name {
    min-height: 28px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bm-ai-product__price {
    color: #111827;
    font-size: 12px;
    font-weight: 800;
}

.bm-ai-all {
    display: block;
    margin-top: 4px;
    padding: 8px 10px;
    border-top: 1px solid #f0f0f0;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

.bm-ai-all:hover {
    background: #f7f9fc;
    border-radius: 0 0 7px 7px;
}

.bm-ai-results {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 16px 40px;
    box-sizing: border-box;
}

.bm-ai-results__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.bm-ai-results__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
}

.bm-ai-results__form {
    display: flex;
    gap: 8px;
    width: min(100%, 460px);
}

.bm-ai-results__input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    font-size: 14px;
}

.bm-ai-results__button {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.bm-ai-results__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #667085;
    margin-bottom: 12px;
}

.bm-ai-results__time {
    font-size: 12px;
}

.bm-ai-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bm-ai-chip {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef3ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.bm-ai-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.bm-ai-card {
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bm-ai-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    background: #fbfcfd;
}

.bm-ai-card__image {
    max-width: 100%;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bm-ai-card__noimage {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: #e9edf3;
}

.bm-ai-card__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.bm-ai-card__brand {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bm-ai-card__name {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.bm-ai-card__name a {
    color: #1d2433;
    text-decoration: none;
}

.bm-ai-card__name a:hover {
    color: #1d4ed8;
}

.bm-ai-card__category {
    color: #667085;
    font-size: 12px;
}

.bm-ai-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.bm-ai-card__price {
    font-size: 16px;
    font-weight: 800;
}

.bm-ai-card__stock {
    font-size: 11px;
    font-weight: 700;
    color: #0f8a4b;
}

.bm-ai-card__stock.is-outstock {
    color: #b42318;
}

.bm-ai-empty,
.bm-ai-message {
    padding: 34px 18px;
    text-align: center;
    color: #667085;
    background: #f8fafc;
    border: 1px solid #eef1f4;
    border-radius: 10px;
}

.bm-ai-empty__link {
    display: inline-block;
    margin-top: 10px;
    color: #1d4ed8;
    font-weight: 700;
}

.bm-ai-results__all {
    margin-top: 22px;
    text-align: center;
}

.bm-ai-results__all a {
    color: #1d4ed8;
    font-weight: 700;
}

.bm-ai-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 700px) {
    .bm-ai-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .bm-ai-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bm-ai-product__image {
        height: 64px;
    }
}

@media (max-width: 1100px) {
    .bm-ai-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .bm-ai-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bm-ai-card__image-link {
        height: 150px;
    }

    .bm-ai-card__image {
        max-height: 135px;
    }
}

@media (max-width: 520px) {
    .bm-ai-results__title {
        font-size: 21px;
    }

    .bm-ai-results__header {
        align-items: stretch;
    }

    .bm-ai-results__form {
        width: 100%;
    }

    .bm-ai-grid {
        grid-template-columns: 1fr;
    }

    .bm-ai-card {
        flex-direction: row;
    }

    .bm-ai-card__image-link {
        flex: 0 0 112px;
        height: auto;
        min-height: 112px;
    }

    .bm-ai-card__image {
        max-height: 100px;
    }
}

.bm-ai-results,
.bm-ai-filter {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bm-ai-red: #c8202f;
    --bm-ai-red-dark: #9e1825;
    --bm-ai-red-soft: #fff5f5;
    --bm-ai-text: #1d1d1f;
    --bm-ai-muted: #6e6e73;
    --bm-ai-border: #e5e7eb;
    --bm-ai-border-soft: #eef0f2;
    --bm-ai-soft: #f7f7f7;
}

body.bestmark_ai-result-index .page-title-wrapper {
    display: none !important;
}

body.bestmark_ai-result-index .columns {
    position: relative;
}

body.bestmark_ai-result-index .column.main {
    width: calc(100% - 300px) !important;
    margin-left: 0;
}

.bm-ai-results {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0 0 40px;
}

body.bestmark_ai-result-index .toolbar.toolbar-products {
    margin: 0 0 30px;
    padding: 9px;
    border: 1px solid rgb(229, 229, 229);
    border-radius: 4px;
    background: rgb(249, 249, 249);
    color: rgb(0, 0, 0);
    font: 13px/19.5px Arial, sans-serif;
}

body.bestmark_ai-result-index .toolbar.toolbar-products:after {
    content: '';
    display: block;
    clear: both;
}

body.bestmark_ai-result-index .pages {
    display: block !important;
    float: left;
}

body.bestmark_ai-result-index .pages .pages-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

body.bestmark_ai-result-index .pages-items {
    display: inline-block;
    margin: 0;
    padding: 0;
}

body.bestmark_ai-result-index .pages-items .item {
    float: left;
    width: 36px;
    height: 36px;
    margin: 0 5px 0 0;
    border: 1px solid rgb(226, 42, 68);
    border-radius: 4px;
    background: rgb(226, 42, 68);
    font: 13px/34px Arial, sans-serif;
    text-align: center;
}

body.bestmark_ai-result-index .pages-items .item a,
body.bestmark_ai-result-index .pages-items .item strong {
    display: block;
    color: rgb(34, 34, 34);
    text-decoration: none;
}

body.bestmark_ai-result-index .pages-items .label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

body.bestmark_ai-result-index .field.limiter {
    float: right;
    margin: 0 5px;
}

body.bestmark_ai-result-index .limiter-options {
    height: 36px;
    margin: 0 5px 0 7px;
    padding: 6px 25px 6px 6px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 4px;
    background: rgb(255, 255, 255);
    color: rgb(68, 68, 68);
    font: 13px/19.5px Arial, sans-serif;
}

body.bestmark_ai-result-index .limiter-text {
    color: rgb(68, 68, 68);
}

.bm-ai-results__header {
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.bm-ai-results__title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--bm-ai-text);
}

.bm-ai-results__form {
    width: min(100%, 380px);
}

.bm-ai-results__input {
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--bm-ai-border);
}

.bm-ai-results__button {
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--bm-ai-red);
    font-size: 13px;
}

.bm-ai-results__button:hover {
    background: var(--bm-ai-red-dark);
}

.bm-ai-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--bm-ai-border-soft);
    border-radius: 10px;
}

.bm-ai-toolbar__amount {
    font-size: 13px;
    font-weight: 700;
    color: var(--bm-ai-text);
}

.bm-ai-toolbar__total {
    color: var(--bm-ai-muted);
    font-weight: 500;
}

.bm-ai-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bm-ai-muted);
}

.bm-ai-sort-select {
    height: 34px;
    padding: 0 8px;
    border: 1px solid var(--bm-ai-border);
    border-radius: 6px;
    background: #fff;
    color: var(--bm-ai-text);
    font-size: 12px;
}

.bm-ai-filters {
    margin-bottom: 12px;
}

.bm-ai-chip {
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: var(--bm-ai-red-soft);
    color: var(--bm-ai-red-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.bm-ai-chip:hover {
    border-color: var(--bm-ai-red);
    color: var(--bm-ai-red);
}

.bm-ai-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bm-ai-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    height: 100%;
    background: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    transition: transform .2s, box-shadow .2s;
}

.bm-ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(200, 32, 47, .06), 0 20px 40px -12px rgba(200, 32, 47, .18);
}

.bm-ai-card__image-zone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 195px;
    padding: 18px 16px 12px;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
}

.bm-ai-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    max-width: 70px;
    color: var(--bm-ai-muted);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.bm-ai-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
}

.bm-ai-card__image {
    display: block;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
    transition: transform .35s cubic-bezier(.25, .8, .25, 1);
}

.bm-ai-card:hover .bm-ai-card__image {
    transform: scale(1.08);
}

.bm-ai-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 0;
    min-width: 0;
}

.bm-ai-card__name {
    display: block;
    height: 40px;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.bm-ai-card__name a {
    display: -webkit-box;
    color: var(--bm-ai-text);
    text-decoration: none;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bm-ai-card__name a:hover {
    color: var(--bm-ai-red);
}

.bm-ai-card__name-brand {
    font-weight: 800;
}

.bm-ai-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 24px;
    margin-bottom: 8px;
}

.bm-ai-card__spec {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}

.bm-ai-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
}

.bm-ai-card__price,
.bm-ai-card__price .price {
    color: var(--bm-ai-text);
    font-size: 16px;
    font-weight: 800;
}

.bm-ai-card__stock {
    color: #15803d;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
}

.bm-ai-card__stock.is-outstock {
    color: #6b7280;
}

.bm-ai-card__footer {
    padding: 10px 12px 12px;
    margin-top: auto;
}

.bm-ai-atc-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bm-ai-atc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: var(--bm-ai-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.bm-ai-atc:hover {
    background: var(--bm-ai-red-dark);
    transform: translateY(-1px);
}

.bm-ai-atc svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
}

.bm-ai-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.bm-ai-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--bm-ai-border);
    border-radius: 8px;
    background: #fff;
    color: var(--bm-ai-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bm-ai-page:hover,
.bm-ai-page.is-current {
    border-color: var(--bm-ai-red);
    background: var(--bm-ai-red);
    color: #fff;
}

.bm-ai-results__all {
    margin-top: 20px;
}

.bm-ai-results__all a {
    color: var(--bm-ai-red);
    font-weight: 700;
}

.bm-ai-message,
.bm-ai-empty {
    background: #fff;
    border: 1px solid var(--bm-ai-border-soft);
    border-radius: 10px;
}

.bm-ai-filter-shell {
    width: 100%;
    box-sizing: border-box;
}

.bm-ai-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
    color: #fff;
}

.bm-ai-filter__head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bm-ai-filter__head-title::before {
    content: '';
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--bm-ai-red);
}

.bm-ai-filter__head-clear {
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bm-ai-filter__head-clear:hover {
    color: #fff;
}

.bm-ai-filter__head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bm-ai-filter__close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.bm-ai-filter__close:hover,
.bm-ai-filter__close:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.bm-ai-filter__current {
    padding: 14px 16px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff7f7 100%);
    border-bottom: 1px solid #fecaca;
}

.bm-ai-filter__current-title {
    display: block;
    margin-bottom: 10px;
    color: var(--bm-ai-red);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bm-ai-filter__current-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bm-ai-filter__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 5px 4px 11px;
    border: 1px solid #fecaca;
    border-radius: 20px;
    background: #fff;
    font-size: 11.5px;
}

.bm-ai-filter__pill-label {
    color: var(--bm-ai-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.bm-ai-filter__pill-value {
    color: var(--bm-ai-text);
    font-weight: 600;
}

.bm-ai-filter__pill-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bm-ai-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.bm-ai-filter__sections {
    display: flex;
    flex-direction: column;
}

.bm-ai-filter__section {
    border-bottom: 1px solid var(--bm-ai-border-soft);
    background: #fff;
}

.bm-ai-filter__section:last-child {
    border-bottom: 0;
}

.bm-ai-filter__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border: 0;
    background: transparent;
    color: var(--bm-ai-text);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.bm-ai-filter__section-head:hover,
.bm-ai-filter__section[data-bm-open="true"] .bm-ai-filter__section-head {
    background: var(--bm-ai-red-soft);
    color: var(--bm-ai-red);
}

.bm-ai-filter__section-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bm-ai-filter__chevron {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid var(--bm-ai-muted);
    border-bottom: 2px solid var(--bm-ai-muted);
    transform: rotate(45deg);
    transition: transform .25s, margin-top .25s;
}

.bm-ai-filter__section[data-bm-open="true"] .bm-ai-filter__chevron {
    margin-top: 4px;
    border-color: var(--bm-ai-red);
    transform: rotate(-135deg);
}

.bm-ai-filter__section-body {
    display: none;
    padding: 4px 14px 16px;
}

.bm-ai-filter__section[data-bm-open="true"] .bm-ai-filter__section-body {
    display: block;
}

.bm-ai-filter__search {
    margin: 4px 4px 10px;
}

.bm-ai-filter__search input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--bm-ai-border);
    border-radius: 8px;
    background: var(--bm-ai-soft);
    font-size: 12.5px;
    outline: none;
}

.bm-ai-filter__search input:focus {
    border-color: var(--bm-ai-red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 32, 47, .08);
}

.bm-ai-filter__list {
    max-height: 280px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    scrollbar-width: thin;
}

.bm-ai-filter__option {
    margin: 0 0 2px;
}

.bm-ai-filter__option-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--bm-ai-text);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.bm-ai-filter__option-link:hover {
    background: var(--bm-ai-red-soft);
    color: var(--bm-ai-red);
}

.bm-ai-filter__checkbox {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 1.8px solid #d1d5db;
    border-radius: 5px;
    background: #fff;
}

.bm-ai-filter__option.is-active .bm-ai-filter__checkbox {
    border-color: var(--bm-ai-red);
    background: var(--bm-ai-red);
}

.bm-ai-filter__option.is-active .bm-ai-filter__checkbox::after {
    content: '';
    position: absolute;
    right: 3px;
    bottom: 4px;
    width: 5px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.bm-ai-filter__option-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bm-ai-filter__option-count {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 2px 8px;
    border: 1px solid var(--bm-ai-border);
    border-radius: 20px;
    background: var(--bm-ai-soft);
    color: var(--bm-ai-muted);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.bm-ai-filter__empty {
    padding: 30px 18px;
    color: var(--bm-ai-muted);
    font-size: 13px;
    text-align: center;
}

.bm-ai-filter-fab {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1003;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--bm-ai-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(200, 32, 47, .3);
    cursor: pointer;
}

.bm-ai-filter-fab svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.bm-ai-filter-backdrop {
    display: none;
}

@media (max-width: 1100px) {
    .bm-ai-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991px) {
    body.bestmark_ai-result-index .column.main {
        width: 100% !important;
        margin-left: 0;
        float: none !important;
    }

    .bm-ai-filter-shell .bbd-filter {
        display: block !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1004;
        max-height: 88vh;
        overflow: auto !important;
        border-radius: 18px 18px 0 0 !important;
        transform: translateY(105%);
        transition: transform .25s ease;
    }

    body.bm-ai-filter-open .bm-ai-filter-shell .bbd-filter {
        transform: translateY(0);
    }

    .bm-ai-filter__close {
        display: flex;
    }

    body.bm-ai-filter-open .bm-ai-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1002;
        background: rgba(0, 0, 0, .45);
    }

    .bm-ai-filter-fab {
        display: flex;
    }
}

@media (max-width: 767px) {
    .bm-ai-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .bm-ai-card__image-zone {
        height: 165px;
    }

    .bm-ai-results__header {
        align-items: stretch;
        flex-direction: column;
    }

    .bm-ai-results__form {
        width: 100%;
    }

    .bm-ai-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .bm-ai-cards {
        gap: 8px !important;
    }

    .bm-ai-card__image-zone {
        height: 145px;
        padding: 14px 10px 8px;
    }

    .bm-ai-card__body,
    .bm-ai-card__footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bm-ai-card__stock {
        display: none;
    }
}


:root {
    --bbd-red      : #C8202F;
    --bbd-red-dk   : #a81825;
    --bbd-red-lt   : rgba(200,32,47,.06);
    --bbd-red-soft : #FEF2F2;
    --bbd-text     : #1D1D1F;
    --bbd-muted    : #6E6E73;
    --bbd-border   : #E5E7EB;
    --bbd-border-2 : #F3F4F6;
    --bbd-bg       : #FFFFFF;
    --bbd-bg-soft  : #F9FAFB;
    --bbd-star     : #f5a623;
    --bbd-font     : 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bbd-shadow   : 0 1px 2px rgba(15,23,42,.04), 0 4px 12px -4px rgba(15,23,42,.08);
}


/* =========================================================
   LEFT FILTER (desktop)
   ========================================================= */
.bbd-filter {
    display: block;
    width: 100%;
    background: var(--bbd-bg);
    border-radius: 14px;
    border: 1px solid var(--bbd-border);
    box-shadow: var(--bbd-shadow);
    font-family: var(--bbd-font);
    color: var(--bbd-text);
    overflow: hidden;
    margin: 0 0 22px;
}
.bbd-filter *,
.bbd-filter *::before,
.bbd-filter *::after { box-sizing: border-box; }
.bbd-filter ul,
.bbd-filter ol,
.bbd-filter li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bbd-filter a { text-decoration: none !important; color: inherit; }

.bbd-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1D1D1F 0%, #2D2D30 100%);
    color: #fff;
}
.bbd-filter__head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
}
.bbd-filter__head-title::before {
    content: '';
    width: 3px; height: 14px;
    background: var(--bbd-red);
    border-radius: 2px;
}
.bbd-filter__head-clear {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all .15s;
    cursor: pointer;
    background: transparent;
    border: none;
}
.bbd-filter__head-clear:hover { color: #fff; background: rgba(255,255,255,.1); }

.bbd-filter__current {
    background: linear-gradient(135deg, #FEF2F2 0%, #FFF7F7 100%);
    border-bottom: 1px solid #FECACA;
    padding: 14px 16px;
}
.bbd-filter__current-title {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--bbd-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}
.bbd-filter__current-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bbd-filter__pill {
    background: #fff;
    border: 1px solid #FECACA;
    border-radius: 20px;
    padding: 4px 5px 4px 11px;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all .15s;
}
.bbd-filter__pill:hover { border-color: var(--bbd-red); box-shadow: 0 2px 6px rgba(200,32,47,.12); }
.bbd-filter__pill-label { font-size: 10px; font-weight: 700; color: var(--bbd-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.bbd-filter__pill-value { color: var(--bbd-text); font-weight: 600; }
.bbd-filter__pill-remove {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--bbd-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: all .15s;
}
.bbd-filter__pill-remove:hover { background: var(--bbd-red-dk); transform: rotate(90deg); }

.bbd-filter__sections { display: flex; flex-direction: column; }
.bbd-filter__section {
    border-bottom: 1px solid var(--bbd-border-2);
    background: var(--bbd-bg);
    order: 50;
}
.bbd-filter__section[data-role="brand"]    { order: 1; }
.bbd-filter__section[data-role="category"] { order: 2; }
.bbd-filter__section:last-child { border-bottom: none; }

.bbd-filter__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--bbd-font);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--bbd-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    transition: all .15s;
    user-select: none;
}
.bbd-filter__section-head:hover { color: var(--bbd-red); background: var(--bbd-red-lt); }
.bbd-filter__section-icon { font-size: 14px; line-height: 1; flex-shrink: 0; }
.bbd-filter__section-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbd-filter__section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--bbd-red);
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}
.bbd-filter__chevron {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--bbd-muted);
    border-bottom: 2px solid var(--bbd-muted);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform .28s cubic-bezier(.25,.8,.25,1), border-color .15s, margin-top .28s;
}
.bbd-filter__section-head:hover .bbd-filter__chevron { border-color: var(--bbd-red); }
.bbd-filter__section[data-bbd-open="true"] .bbd-filter__section-head { color: var(--bbd-red); background: var(--bbd-red-lt); }
.bbd-filter__section[data-bbd-open="true"] .bbd-filter__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: var(--bbd-red);
}
.bbd-filter__section-body { display: none; padding: 4px 14px 16px; }
.bbd-filter__section[data-bbd-open="true"] .bbd-filter__section-body {
    display: block;
    animation: bbd-slide-down .28s cubic-bezier(.25,.8,.25,1);
}
@keyframes bbd-slide-down {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.bbd-filter__search { position: relative; margin: 4px 4px 10px; }
.bbd-filter__search input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid var(--bbd-border);
    border-radius: 8px;
    font-family: var(--bbd-font);
    font-size: 12.5px;
    color: var(--bbd-text);
    background: var(--bbd-bg-soft);
    outline: none;
    transition: all .15s;
}
.bbd-filter__search input:focus { border-color: var(--bbd-red); background: #fff; box-shadow: 0 0 0 3px rgba(200,32,47,.08); }
.bbd-filter__search::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: .8;
}
.bbd-filter__list {
    max-height: 280px;
    /* overflow-y: auto; */
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}
.bbd-filter__list::-webkit-scrollbar { width: 6px; }
.bbd-filter__list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.bbd-filter__option { margin: 0 0 2px; }
.bbd-filter__option-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bbd-text);
    line-height: 1.35;
    transition: all .14s;
    cursor: pointer;
}
.bbd-filter__option-link:hover { background: var(--bbd-red-lt); color: var(--bbd-red); }
.bbd-filter__checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.8px solid #D1D5DB;
    border-radius: 5px;
    background: #fff;
    transition: all .14s;
    position: relative;
}
.bbd-filter__option-link:hover .bbd-filter__checkbox { border-color: var(--bbd-red); }
.bbd-filter__option.is-active .bbd-filter__checkbox { background: var(--bbd-red); border-color: var(--bbd-red); }
.bbd-filter__option.is-active .bbd-filter__checkbox::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 7 12 13 4'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.bbd-filter__brand-logo {
    width: 32px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(.6);
    transition: filter .14s;
}
.bbd-filter__option-link:hover .bbd-filter__brand-logo { filter: grayscale(0); }
.bbd-filter__option-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbd-filter__option-count {
    flex-shrink: 0;
    color: var(--bbd-muted);
    font-size: 11px;
    font-weight: 700;
    background: var(--bbd-bg-soft);
    border: 1px solid var(--bbd-border);
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 26px;
    text-align: center;
    transition: all .14s;
}
.bbd-filter__option-link:hover .bbd-filter__option-count { background: #fff; border-color: var(--bbd-red); color: var(--bbd-red); }
.bbd-filter__option.is-active .bbd-filter__option-link { background: var(--bbd-red-soft); color: var(--bbd-red); font-weight: 600; }
.bbd-filter__no-results { padding: 14px 12px; text-align: center; font-size: 12px; color: var(--bbd-muted); font-style: italic; }
.bbd-filter__actions {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bbd-bg-soft);
    border-top: 1px solid var(--bbd-border-2);
}
.bbd-filter__actions a {
    flex: 1;
    padding: 10px 12px;
    font-size: 11.5px;
    font-weight: 800;
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all .15s;
}
.bbd-filter__actions .bbd-filter__action-clear { background: #fff; color: var(--bbd-muted); border: 1px solid var(--bbd-border); }
.bbd-filter__actions .bbd-filter__action-clear:hover { border-color: var(--bbd-red); color: var(--bbd-red); }
.bbd-filter__actions .bbd-filter__action-apply { background: var(--bbd-red); color: #fff; border: 1px solid var(--bbd-red); }
.bbd-filter__actions .bbd-filter__action-apply:hover { background: var(--bbd-red-dk); border-color: var(--bbd-red-dk); }

/* ═══════════════════════════════════════════════════════════
   MOBILE FAB (gated by media query)
   ═══════════════════════════════════════════════════════════ */

#bbdFilterFab,
.bbd-filter-fab {
    display: none;
}

@media (max-width: 991px) {
    .bbd-filter { display: none !important; }

    #bbdFilterFab,
    .bbd-filter-fab {
        display: flex !important;
        position: fixed !important;
        bottom: calc(10% + 20px) !important;
        left: 20px !important;
        right: auto !important;
        top: auto !important;
        z-index: 99998 !important;
        width: 58px !important;
        height: 58px !important;
        background: var(--bbd-red) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 10px 28px -6px rgba(200,32,47,.55), 0 4px 12px rgba(0,0,0,.15) !important;
        margin: 0 !important;
        padding: 0 !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .bbd-filter-fab svg {
        width: 26px !important;
        height: 26px !important;
        fill: none !important;
        stroke: #fff !important;
        stroke-width: 2.2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        display: block !important;
        pointer-events: none !important;
    }
    .bbd-filter-fab .bbd-fab-count {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        min-width: 22px !important;
        height: 22px !important;
        background: #fff !important;
        color: var(--bbd-red) !important;
        border-radius: 11px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        display: none !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 5px !important;
        border: 2px solid var(--bbd-red) !important;
    }
    .bbd-filter-fab.has-active .bbd-fab-count { display: inline-flex !important; }
}

/* ═══════════════════════════════════════════════════════════
   MODAL — OUTSIDE any media query so .is-open always works
   ═══════════════════════════════════════════════════════════ */

#bbdFilterModal,
.bbd-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15,23,42,.55);
    z-index: 99999;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#bbdFilterModal.is-open,
.bbd-filter-modal.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bbd-filter-modal__sheet {
    background: #fff;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--bbd-font);
    box-shadow: 0 -10px 40px rgba(0,0,0,.25);
    animation: bbd-sheet-up .3s cubic-bezier(.25,.8,.25,1);
}
@keyframes bbd-sheet-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

/* Header */
.bbd-filter-modal__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 16px;
    background: linear-gradient(135deg, #1D1D1F 0%, #2D2D30 100%);
    color: #fff;
    flex-shrink: 0;
}
.bbd-filter-modal__head::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,.35);
    border-radius: 2px;
}
.bbd-filter-modal__head h3 {
    margin: 12px 0 0 0;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.bbd-filter-modal__close {
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 0 0;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Body */
.bbd-filter-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 20px;
    -webkit-overflow-scrolling: touch;
    font-family: var(--bbd-font);
    min-height: 0;
    background: var(--bbd-bg-soft);
}
.bbd-filter-modal__body .bbd-filter__head,
.bbd-filter-modal__body .bbd-filter__actions { display: none; }
.bbd-filter-modal__body .bbd-filter__current {
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid #FECACA;
}
.bbd-filter-modal__body .bbd-filter__sections { gap: 10px; }
.bbd-filter-modal__body .bbd-filter__section {
    margin: 0 !important;
    border: 1px solid var(--bbd-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
}
.bbd-filter-modal__body .bbd-filter__section-head {
    background: #fff !important;
    padding: 14px 16px !important;
    font-size: 12.5px !important;
}
.bbd-filter-modal__body .bbd-filter__section[data-bbd-open="true"] .bbd-filter__section-head {
    color: var(--bbd-red) !important;
    background: var(--bbd-red-lt) !important;
}
.bbd-filter-modal__body .bbd-filter__list { max-height: none !important; }
.bbd-filter-modal__body .bbd-filter__option-link {
    padding: 11px 12px !important;
    font-size: 13.5px !important;
}

/* Footer */
.bbd-filter-modal__foot {
    background: #fff;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--bbd-border);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.bbd-filter-modal__foot button {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    border: none;
    font-family: var(--bbd-font);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bbd-filter-modal__foot .bbd-clear {
    background: #fff;
    color: var(--bbd-text);
    border: 1px solid var(--bbd-border);
}
.bbd-filter-modal__foot .bbd-apply {
    background: var(--bbd-red);
    color: #fff;
}

/* =========================================================
   PRODUCT GRID + CARD
   ========================================================= */
.products.wrapper.grid .products.list.items.product-items,
.bbd-items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
.bbd-item { width: 100% !important; margin: 0 !important; padding: 0 !important; display: flex !important; min-width: 0; }
@media (max-width: 767px) {
    .products.wrapper.grid .products.list.items.product-items,
    .bbd-items {
        gap: 10px !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.bbd-card {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--bbd-bg) !important;
    border: 0 !important;
    border-radius: 12px !important;
    position: relative !important;
    box-sizing: border-box !important;
    transition: border-color .2s, box-shadow .2s, transform .2s !important;
    box-shadow: var(--bbd-shadow) !important;
    margin: 0 !important;
    overflow: hidden !important;
    height: 100% !important;
    font-family: var(--bbd-font);
}
.bbd-card:hover {
    border-color: var(--bbd-red) !important;
    box-shadow: 0 4px 8px rgba(200,32,47,.06), 0 20px 40px -12px rgba(200,32,47,.18) !important;
    transform: translateY(-4px) !important;
    z-index: 2 !important;
}
.bbd-badge {
    position: absolute !important;
    top: 12px !important; left: 12px !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    max-width: 78px !important;
    color: var(--bbd-text) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    pointer-events: none !important;
}
.bbd-img-zone .bbd-badge img {
    display: block !important;
    max-width: 58px !important;
    max-height: 18px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
.bbd-discount {
    position: absolute !important;
    bottom: 12px !important; left: 12px !important;
    z-index: 6 !important;
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    pointer-events: none !important;
}
.bbd-wish {
    position: absolute !important;
    top: 12px !important; right: 12px !important;
    z-index: 5 !important;
    width: 32px !important; height: 32px !important;
    background: rgba(255,255,255,.95) !important;
    border: 1px solid var(--bbd-border) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 1;
    transform: none;
    transition: all .2s;
}
.bbd-wish::after {
    content: '';
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.bbd-wish:hover { background: var(--bbd-red) !important; border-color: var(--bbd-red) !important; }
.bbd-quickview-container {
    position: absolute !important;
    bottom: 12px !important; right: 12px !important;
    z-index: 5 !important;
    pointer-events: none !important;
}
.bbd-quickview-container .quickview-handler {
    pointer-events: auto !important;
    background: rgba(255,255,255,.95) !important;
    border: 1px solid var(--bbd-border) !important;
    border-radius: 50% !important;
    width: 32px !important; height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s;
    font-size: 0 !important;
    line-height: 0 !important;
}
.bbd-quickview-container .quickview-handler span {
    display: none !important;
}
.bbd-card:hover .bbd-quickview-container .quickview-handler {
    opacity: 1;
    transform: translateX(0);
}
.bbd-quickview-container .quickview-handler::after {
    content: '';
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.bbd-quickview-container .quickview-handler:hover {
    background: var(--bbd-red) !important;
    border-color: var(--bbd-red) !important;
}
.bbd-quickview-container .quickview-handler:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
@media (max-width: 767px) {
    .bbd-quickview-container .quickview-handler {
        opacity: 1;
        transform: none;
    }
}
.bbd-wish:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
.bbd-img-zone {
    position: relative;
    width: 100%;
    height: 195px !important;
    padding: 18px 16px 12px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
   
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbd-img-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.bbd-img-zone img,
.bbd-img-zone .product-image-photo {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform .35s cubic-bezier(.25,.8,.25,1) !important;
}
.product-image-container { width: 100% !important; height: 100% !important; display: block !important; }
.product-image-wrapper {
    width: 100% !important; height: 100% !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.bbd-card:hover .bbd-img-zone img { transform: scale(1.08) !important; }
.bbd-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 12px 14px 0 !important;
    box-sizing: border-box !important;
    min-width: 0;
}
.bbd-brand {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: var(--bbd-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.bbd-brand img {
    max-height: 20px !important; max-width: 70px !important;
    width: auto !important; height: auto !important;
    filter: grayscale(1) opacity(.85);
    transition: filter .2s;
}
.bbd-card:hover .bbd-brand img { filter: grayscale(0) opacity(1); }
.bbd-name { height: 40px !important; overflow: hidden !important; margin-bottom: 8px !important; display: block !important; }
.bbd-name-link {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--bbd-text) !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.bbd-name-link:hover { color: var(--bbd-red) !important; }
.bbd-name-brand {
    font-size: inherit !important;
    font-weight: 800 !important;
    color: inherit !important;
}
.bbd-specs { display: flex !important; flex-wrap: wrap !important; gap: 4px !important; margin: 0 0 8px !important; min-height: 24px; }
.bbd-spec {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    padding: 4px 9px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}
.bbd-spec-ram { background: #EFF6FF !important; color: #1D4ED8 !important; }
.bbd-spec-rom { background: #F0FDF4 !important; color: #15803D !important; }
.bbd-rating { display: flex !important; align-items: center !important; gap: 5px !important; margin-bottom: 8px !important; min-height: 16px; }
.bbd-stars { display: flex !important; gap: 1px !important; }
.bbd-star { width: 15px !important; height: 15px !important; }
.bbd-star path { stroke: currentColor !important; stroke-width: .6px !important; }
.bbd-star-full { fill: var(--bbd-star) !important; }
.bbd-star-half { fill: url(#bbd-hg) !important; }
.bbd-star-empty { fill: #E5E7EB !important; }
.bbd-rating-val { font-size: 11px !important; font-weight: 700 !important; color: var(--bbd-text) !important; }
.bbd-rating-count { font-size: 10.5px !important; color: var(--bbd-muted) !important; }
.bbd-price-box { margin-top: 2px !important; padding: 0 !important; }
.bbd-price-box .price-box {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
}
.bbd-price-box .price { font-size: 16px !important; font-weight: 800 !important; color: var(--bbd-text) !important; }
.bbd-price-box .bbd-price-dec {
    position: relative !important;
    top: -0.0em !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    vertical-align: super !important;
    margin-left: 1px !important;
}
.bbd-price-box .old-price .price {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--bbd-muted) !important;
    text-decoration: line-through !important;
}
.bbd-spacer { flex: 1 !important; min-height: 8px !important; }
.bbd-footer { padding: 10px 12px 12px !important; box-sizing: border-box !important; margin-top: auto !important; }
.bbd-atc {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--bbd-red) !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 11px 0 !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all .15s !important;
}
.bbd-atc:hover { background: var(--bbd-red-dk) !important; transform: translateY(-1px) !important; }
.bbd-atc svg { width: 15px !important; height: 15px !important; fill: #fff !important; flex-shrink: 0 !important; }
.bbd-atc.bbd-oos { background: #E5E7EB !important; color: #6B7280 !important; cursor: not-allowed !important; }
.bbd-footer-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
}
.bbd-footer-row form { flex: 1 1 auto !important; min-width: 0 !important; }
.bbd-footer-row .bbd-atc { width: 100% !important; }
.bbd-compare {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    border: 1px solid var(--bbd-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--bbd-text) !important;
    cursor: pointer !important;
    transition: border-color .15s, background .15s !important;
}
.bbd-compare::before {
    content: '';
    display: block;
    flex: 0 0 12px !important;
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}
.bbd-compare-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.bbd-compare:hover { border-color: var(--bbd-red) !important; color: var(--bbd-red) !important; }
.bbd-compare[aria-checked="true"] { border-color: var(--bbd-red) !important; color: var(--bbd-red) !important; }
.bbd-compare[aria-checked="true"]::before { background: currentColor; box-shadow: inset 0 0 0 2px #fff; }

.product-reviews-summary,
.rating-summary,
.product-item-actions,
.actions-secondary,
.product-item-inner,
.hover-area,
.swatch-opt,
.price-label,
.bbd-actions-hidden { display: none !important; }

@media (max-width: 767px) {
    .bbd-card { border-radius: 10px !important; }
    .bbd-img-zone { height: 150px !important; padding: 12px 10px 8px !important; }
    .bbd-name { height: 34px !important; }
    .bbd-name-link { font-size: 11.5px !important; }
    .bbd-price-box .price { font-size: 14px !important; }
    .bbd-atc { font-size: 11.5px !important; padding: 9px 10px !important; }
    .bbd-compare { display: none !important; }
    .bbd-wish { opacity: 1; transform: none; }
}
.bbd-filter {
    border-radius: 10px !important;
    border: 1px solid #e6e6e6 !important;
    box-shadow: none !important;
    margin: 0 0 18px !important;
    overflow: visible !important;
}
.bbd-filter__head {
    padding: 15px 16px !important;
    background: #fff !important;
    border-bottom: 1px solid #ececec !important;
}
.bbd-filter__head-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #1d1d1f !important;
}
.bbd-filter__head-title::before { display: none !important; }
.bbd-filter__head-clear {
    color: #c8202f !important;
    font-size: 11px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
    padding: 2px 0 !important;
}
.bbd-filter__head-clear:hover { color: #a81825 !important; background: transparent !important; }
.bbd-filter__current {
    background: #fafafa !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 12px 16px !important;
}
.bbd-filter__current-title {
    color: #6e6e73 !important;
    font-size: 10px !important;
    margin-bottom: 8px !important;
}
.bbd-filter__pill {
    border-color: #e5e7eb !important;
    border-radius: 6px !important;
    padding: 4px 4px 4px 8px !important;
    font-size: 11px !important;
}
.bbd-filter__pill-remove { background: #6e6e73 !important; border-radius: 4px !important; }
.bbd-filter__section {
    border-bottom: 1px solid #eeeeee !important;
    background: #fff !important;
}
.bbd-filter__section[data-role="brand"] { order: 1 !important; }
.bbd-filter__section[data-role="price"] { order: 2 !important; }
.bbd-filter__section[data-role="category"] { order: 3 !important; }
.bbd-filter__section-head {
    padding: 13px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #1d1d1f !important;
}
.bbd-filter__section-head:hover { background: #f7f7f7 !important; color: #1d1d1f !important; }
.bbd-filter__section-icon,
.bbd-filter__section-count { display: none !important; }
.bbd-filter__chevron {
    width: 7px !important;
    height: 7px !important;
    border-right: 1.8px solid #6e6e73 !important;
    border-bottom: 1.8px solid #6e6e73 !important;
    margin-top: -3px !important;
}
.bbd-filter__section[data-bbd-open="true"] .bbd-filter__section-head { background: #fff !important; color: #1d1d1f !important; }
.bbd-filter__section[data-bbd-open="true"] .bbd-filter__chevron { border-color: #c8202f !important; }
.bbd-filter__section-body { padding: 2px 12px 14px !important; }
.bbd-filter__search { margin: 4px 2px 10px !important; }
.bbd-filter__search input { border-radius: 6px !important; font-size: 12px !important; }
.bbd-filter__list { max-height: 280px !important; overflow-y: visible !important; scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.bbd-filter__option {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 6px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}
.bbd-filter__option:hover { background: #f7f7f7 !important; }
.bbd-filter__option-link { display: none !important; }
.bbd-filter__checkbox {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 17px !important;
    height: 17px !important;
    border: 1.5px solid #8a8a8e !important;
    border-radius: 4px !important;
    background: #fff !important;
    position: relative !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
}
.bbd-filter__checkbox:checked { background: #c8202f !important; border-color: #c8202f !important; }
.bbd-filter__checkbox:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 1px !important;
    width: 5px !important;
    height: 9px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}
.bbd-filter__checkbox:focus { outline: 2px solid rgba(200,32,47,.25) !important; outline-offset: 2px !important; }
.bbd-filter__option-label {
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #1d1d1f !important;
    overflow: visible !important;
    white-space: normal !important;
}
.bbd-filter__option-count {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    min-width: auto !important;
    font-size: 11px !important;
    color: #8a8a8e !important;
}
.bbd-filter__option.is-active .bbd-filter__option-label { color: #c8202f !important; font-weight: 600 !important; }
.bbd-filter__no-results { font-size: 12px !important; }
.bbd-filter__show-more {
    display: block !important;
    width: 100% !important;
    padding: 9px 6px 4px !important;
    background: transparent !important;
    border: 0 !important;
    color: #c8202f !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: left !important;
    cursor: pointer !important;
}
.bbd-filter__option.is-hidden { display: none !important; }
.bbd-filter__price { padding: 2px 2px 0 !important; }
.bbd-filter__price-row { display: flex !important; align-items: center !important; gap: 8px !important; }
.bbd-filter__price-row input {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    padding: 0 10px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    color: #1d1d1f !important;
}
.bbd-filter__price-row input::placeholder,
.bbd-filter__price-row input::-webkit-input-placeholder { color: #8a8a8e !important; -webkit-text-fill-color: #8a8a8e !important; opacity: 1 !important; }
.bbd-filter__price-sep { color: #8a8a8e !important; font-size: 12px !important; }
.bbd-filter__price-apply {
    margin-top: 10px !important;
    width: 100% !important;
    height: 36px !important;
    border: 1px solid #1d1d1f !important;
    border-radius: 6px !important;
    background: #1d1d1f !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.bbd-filter__actions { display: none !important; }
.bbd-filter-modal__body .bbd-filter__section-head { padding: 13px 14px !important; }
.bbd-filter-modal__body .bbd-filter__option { padding: 9px 10px !important; }

