.bfc-list-items{display:flex;flex-direction:column;gap:12px}
.bfc-list-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(120px,2fr) auto auto;gap:16px;align-items:center;padding:14px;border:1px solid #e5e5e5;border-radius:8px}
.bfc-offer-row{grid-template-columns:minmax(120px,1.25fr) minmax(120px,.9fr) minmax(110px,.8fr) auto}
.bfc-offer-prices{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.bfc-offer-old-price{text-decoration:line-through;opacity:.65}
.bfc-load-more-wrap{text-align:center;margin-top:16px}.bfc-load-more.is-loading{opacity:.6;pointer-events:none}
.bfc-list-image img{max-width:64px;height:auto}.bfc-list-meta{font-size:.9em;opacity:.72;margin-top:4px}
@media(max-width:767px){.bfc-list-row,.bfc-offer-row{grid-template-columns:1fr!important}.bfc-list-button{display:block;text-align:center;width:100%}}

.bfc-product-promos-heading{text-align:center;margin:0 0 16px;font:inherit;font-weight:600;line-height:inherit;color:inherit}

/* v0.12.0 — standalone Social Proof widgets */
.bfc-social-proof{display:flex;align-items:center;gap:4px;margin:8px 0;font-size:12px;line-height:1.35;opacity:.72}
.bfc-social-proof-count{font-weight:700}


/* v0.12.1 — Dynamic Product Badges */
.bfc-product-badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.bfc-product-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;background:#f1f1f1;color:inherit}
.bfc-product-badge--rating{background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff}
.bfc-product-badge--fact{border:1px solid #dedede;background:#fff}

/* v0.15.0 — Price History Chart */
.bfc-price-history{--bfc-chart-grid:#e5e7eb;--bfc-chart-axis:#6b7280;border:1px solid #e5e7eb;background:#fff;overflow:hidden}
.bfc-price-periods{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}
.bfc-price-period{appearance:none;border:1px solid #d1d5db;background:transparent;color:inherit;border-radius:999px;padding:7px 13px;font:inherit;font-size:13px;line-height:1;cursor:pointer;transition:.18s ease}
.bfc-price-period:hover,.bfc-price-period.is-active{background:var(--e-global-color-accent,#111827);border-color:var(--e-global-color-accent,#111827);color:#fff}
.bfc-price-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.bfc-price-summary>div{border:1px solid var(--bfc-chart-grid);border-radius:8px;padding:10px 12px;min-width:0}
.bfc-price-summary span{display:block;color:var(--bfc-chart-axis);font-size:11px;line-height:1.25;margin-bottom:4px}
.bfc-price-summary strong{display:block;font-size:15px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfc-price-chart-stage{position:relative;width:100%;height:340px;min-height:180px}
.bfc-price-chart{display:block;width:100%;height:100%}
.bfc-price-tooltip{position:absolute;z-index:5;pointer-events:none;min-width:190px;max-width:280px;padding:10px 12px;border-radius:8px;background:rgba(17,24,39,.94);color:#fff;font-size:12px;line-height:1.35;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.bfc-price-tooltip>strong{display:block;margin-bottom:6px}.bfc-price-tooltip>div{display:grid;grid-template-columns:10px minmax(70px,1fr) auto;gap:6px;align-items:center;margin-top:4px}.bfc-price-tooltip b{white-space:nowrap}
.bfc-price-tooltip-dot,.bfc-price-legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--bfc-line)}
.bfc-price-legend{display:flex;gap:8px 16px;flex-wrap:wrap;margin-top:14px}
.bfc-price-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;user-select:none}.bfc-price-legend-item input{margin:0}
@media(max-width:767px){.bfc-price-summary{grid-template-columns:1fr}.bfc-price-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.bfc-price-summary span{margin:0}.bfc-price-chart-stage{min-height:220px}.bfc-price-period{padding:7px 10px}}


.bfc-price-insight{display:flex;flex-direction:column;gap:4px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--bfc-chart-grid);border-radius:9px;background:rgba(127,127,127,.04)}
.bfc-price-insight strong{font-size:14px;line-height:1.25}
.bfc-price-insight span{font-size:12px;line-height:1.45;color:var(--bfc-chart-axis)}
.bfc-price-insight.is-best{border-left:4px solid #16a34a}
.bfc-price-insight.is-good{border-left:4px solid #65a30d}
.bfc-price-insight.is-high{border-left:4px solid #d97706}
.bfc-price-insight.is-neutral{border-left:4px solid var(--bfc-chart-axis)}

/* Price Alerts v0.17 */
.bfc-price-alert{--bfc-alert-accent:var(--e-global-color-accent,#111827);border:1px solid #e5e7eb;border-radius:12px;padding:18px;background:#fff}
.bfc-price-alert-head{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.bfc-price-alert-head strong{font-size:19px}.bfc-price-alert-head span{font-size:13px;color:#6b7280;line-height:1.45}
.bfc-price-alert-current{margin-bottom:12px;font-size:13px}.bfc-price-alert-current b{font-size:16px}
.bfc-price-alert-form{display:flex;flex-direction:column;gap:10px}.bfc-price-alert-form>input[type=email],.bfc-price-alert-target input{width:100%;min-height:42px;border:1px solid #d1d5db;border-radius:8px;padding:8px 11px;background:#fff;color:#111827}
.bfc-price-alert-types{display:flex;gap:10px 18px;flex-wrap:wrap;font-size:13px}.bfc-price-alert-types label{display:flex;align-items:center;gap:6px;cursor:pointer}.bfc-price-alert-types input{margin:0}
.bfc-price-alert-target{display:flex;align-items:center;gap:7px}.bfc-price-alert-target[hidden]{display:none}.bfc-price-alert-target input{max-width:220px}
.bfc-price-alert-submit{align-self:flex-start;background:var(--bfc-alert-accent)}.bfc-price-alert-submit.is-loading{opacity:.65;pointer-events:none}
.bfc-price-alert-message{font-size:13px;line-height:1.4}.bfc-price-alert-message.is-success{color:#15803d}.bfc-price-alert-message.is-error{color:#b91c1c}.bfc-price-alert-form small{color:#6b7280;font-size:11px;line-height:1.4}
@media(max-width:767px){.bfc-price-alert-submit{width:100%;text-align:center}.bfc-price-alert-target input{max-width:none}}

.bfc-price-alert-notice{margin:0 0 12px;padding:9px 11px;border-radius:8px;background:#f3f4f6;font-size:13px}.bfc-price-alert-notice.is-success{background:#f0fdf4;color:#15803d}

.bfc-discovery-title{margin:0 0 18px}.bfc-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bfc-discovery-grid .bfc-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e7e7e7;border-radius:14px;background:#fff;overflow:hidden}.bfc-discovery-grid .bfc-product-card-image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f7f7f7;overflow:hidden;text-decoration:none}.bfc-discovery-grid .bfc-product-card-image img{width:100%;height:100%;object-fit:contain;padding:14px}.bfc-discovery-grid .bfc-product-card-body{display:flex;flex:1;flex-direction:column;padding:16px}.bfc-discovery-grid .bfc-product-card-title{margin:0 0 10px;font-size:17px;line-height:1.3}.bfc-discovery-grid .bfc-product-card-title a{color:inherit;text-decoration:none}.bfc-discovery-grid .bfc-product-card-footer{margin-top:auto}.bfc-discovery-grid .bfc-product-prices{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.bfc-discovery-grid .bfc-product-price{font-size:20px}.bfc-discovery-grid .bfc-product-old-price{text-decoration:line-through;opacity:.5;font-size:13px}.bfc-discovery-grid .bfc-product-store{margin:5px 0 12px;font-size:12px;opacity:.65}.bfc-discovery-grid .bfc-product-button{display:block;width:100%;padding:11px 14px;border-radius:8px;text-align:center;text-decoration:none;font-weight:600;box-sizing:border-box;background:#111;color:#fff}.bfc-discovery-grid .bfc-product-discount{position:absolute;top:12px;left:12px;padding:6px 9px;border-radius:7px;background:#111;color:#fff;font-size:13px;font-weight:700}.bfc-discovery-signal{margin:0 0 8px;font-size:12px;font-weight:700;color:var(--e-global-color-accent,#111)}

/* v0.19 Smart Offers: конверсионные сигналы внутри существующего списка предложений. */
.bfc-offer-row.is-bfc-best-offer{position:relative}
.bfc-offer-signals{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 6px}
.bfc-offer-signal{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.15}
.bfc-offer-signal.is-best{background:rgba(22,163,74,.10);color:#15803d}
.bfc-offer-signal.is-promo{background:rgba(217,119,6,.10);color:#b45309}
.bfc-offer-urgency{margin-top:5px;font-size:11px;line-height:1.3;color:#b45309}
.bfc-offer-row.is-bfc-best-offer .bfc-list-button{font-weight:700}


/* v0.19.1 Smart Offers UI hotfix.
 * Базовые колонки оффера остаются стабильными независимо от количества меток.
 */
.bfc-all-offers .bfc-offer-row{
    grid-template-columns:minmax(180px,1.25fr) minmax(220px,1fr) minmax(120px,.7fr) minmax(190px,auto);
    align-items:center;
}

.bfc-all-offers .bfc-offer-store,
.bfc-all-offers .bfc-offer-availability,
.bfc-all-offers .bfc-offer-action{
    align-self:center;
}

.bfc-all-offers .bfc-offer-prices{
    position:relative;
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:4px 8px;
    min-width:0;
}

.bfc-all-offers .bfc-offer-signals{
    flex:0 0 100%;
    order:-2;
    margin:0 0 4px;
}

.bfc-all-offers .bfc-offer-current-price{
    white-space:nowrap;
}

.bfc-all-offers .bfc-social-proof{
    flex:0 0 auto;
    margin:0;
    white-space:nowrap;
    font-size:11px;
    line-height:1.3;
}

.bfc-all-offers .bfc-offer-urgency{
    flex:0 0 100%;
    margin:2px 0 0;
}

.bfc-all-offers .bfc-offer-action{
    display:flex;
    justify-content:flex-end;
}

.bfc-all-offers .bfc-list-button{
    white-space:nowrap;
}

@media(max-width:1024px){
    .bfc-all-offers .bfc-offer-row{
        grid-template-columns:minmax(150px,1.05fr) minmax(190px,1fr) minmax(105px,.65fr) auto;
        gap:12px;
    }
}

@media(max-width:767px){
    .bfc-all-offers .bfc-offer-row{
        grid-template-columns:1fr 1fr!important;
    }
    .bfc-all-offers .bfc-offer-store{
        grid-column:1;
    }
    .bfc-all-offers .bfc-offer-prices{
        grid-column:2;
        justify-content:flex-end;
        text-align:right;
    }
    .bfc-all-offers .bfc-offer-signals{
        justify-content:flex-end;
    }
    .bfc-all-offers .bfc-offer-availability{
        grid-column:1;
    }
    .bfc-all-offers .bfc-offer-action{
        grid-column:2!important;
        justify-content:flex-end;
    }
    .bfc-all-offers .bfc-all-offers-button,
    .bfc-all-offers .bfc-list-button{
        display:inline-block;
        width:auto;
        text-align:center;
    }
}


/* v0.19.2 Smart Offers alignment hotfix.
 * "Лучшая цена" больше не создаёт отдельную строку над ценой.
 */
.bfc-all-offers .bfc-offer-signals{
    flex:0 0 auto;
    order:0;
    margin:0;
}

.bfc-all-offers .bfc-offer-signals:has(.is-promo){
    flex-basis:100%;
    order:-2;
    margin:0 0 4px;
}

.bfc-all-offers .bfc-offer-signal.is-best{
    order:1;
}

.bfc-all-offers .bfc-offer-current-price{
    order:0;
}

.bfc-all-offers .bfc-offer-old-price,
.bfc-all-offers .bfc-offer-discount{
    order:2;
}

.bfc-all-offers .bfc-social-proof{
    order:3;
}

.bfc-all-offers .bfc-offer-urgency{
    order:4;
}

@media(max-width:767px){
    .bfc-all-offers .bfc-offer-signals{
        justify-content:flex-end;
    }
}


/* v0.19.4 — цена перед Smart Offers метками. */
.bfc-all-offers .bfc-offer-current-price{order:0}
.bfc-all-offers .bfc-offer-signals{order:1;flex:0 0 auto;margin:0}
.bfc-all-offers .bfc-offer-signals:has(.is-promo){order:1;flex-basis:auto;margin:0}
.bfc-all-offers .bfc-offer-old-price,
.bfc-all-offers .bfc-offer-discount{order:2}
.bfc-all-offers .bfc-social-proof{order:3}
.bfc-all-offers .bfc-offer-urgency{order:4;flex-basis:100%}


/* v0.21 Smart Search */
.bfc-smart-search{position:relative;width:100%;z-index:30}
.bfc-search-form{display:flex;gap:8px;width:100%}
.bfc-search-input{width:100%;min-width:0;min-height:48px;padding:10px 14px;border:1px solid #d1d5db;border-radius:9px;background:#fff;color:#111827;font:inherit;box-sizing:border-box;outline:none}
.bfc-search-input:focus{border-color:#9ca3af}
.bfc-search-submit{flex:0 0 auto;min-height:48px;border:0;border-radius:9px;cursor:pointer}
.bfc-search-dropdown{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:9999;max-height:min(68vh,560px);overflow:auto;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(0,0,0,.13)}
.bfc-search-dropdown[hidden]{display:none!important}
.bfc-search-group-title{padding:10px 13px 6px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7280}
.bfc-search-result{display:flex;align-items:center;gap:11px;padding:10px 13px;color:inherit;text-decoration:none}
.bfc-search-result:hover,.bfc-search-result.is-active{background:#f7f7f7}
.bfc-search-result-image{display:block;flex:0 0 46px;width:46px;height:46px;border-radius:7px;object-fit:contain;background:#f5f5f5}
.bfc-search-result-image.is-placeholder{background:#f3f4f6}
.bfc-search-result-body{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.bfc-search-result-title{overflow:hidden;color:#111827;font-size:13px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.bfc-search-result-meta{overflow:hidden;color:#6b7280;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.bfc-search-result-price{flex:0 0 auto;color:#111827;font-size:13px;white-space:nowrap}
.bfc-search-result.is-term{padding-top:8px;padding-bottom:8px}
.bfc-search-empty{padding:18px 13px;color:#6b7280;font-size:13px;text-align:center}
.bfc-search-all{display:block;padding:11px 13px;border-top:1px solid #eee;color:inherit;text-align:center;text-decoration:none;font-size:12px;font-weight:700}
.bfc-search-all:hover{background:#fafafa}
@media(max-width:767px){
 .bfc-search-form{gap:6px}
 .bfc-search-submit{padding-left:14px;padding-right:14px}
 .bfc-search-dropdown{left:0;right:0;max-height:60vh}
 .bfc-search-result-price{font-size:12px}
}


/* =========================================================
 * BFC Design System v1 — v0.21.6
 * Синхронизирован с готовыми Elementor JSON-шаблонами.
 * ========================================================= */
:root{
  --bfc-font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --bfc-color-dark:#0b0d10;
  --bfc-color-dark-2:#15181d;
  --bfc-color-text:#111827;
  --bfc-color-muted:#667085;
  --bfc-color-soft-text:#475467;
  --bfc-color-white:#ffffff;
  --bfc-color-light:#f5f7fa;
  --bfc-color-surface:#f8fafc;
  --bfc-color-border:#e5e7eb;
  --bfc-color-field-border:#d0d5dd;
  --bfc-color-accent:#e1261c;
  --bfc-color-accent-hover:#b91c1c;
  --bfc-radius-card:14px;
  --bfc-radius-control:9px;
}

/* Типографика только внутри компонентов BFC. */
.bfc-storefront,
.bfc-promo-storefront,
.bfc-all-offers,
.bfc-price-history,
.bfc-price-alert,
.bfc-product-promos-wrap,
.bfc-store-promo-showcase,
.bfc-store-coupons,
.bfc-smart-search,
.bfc-discovery-grid,
.bfc-product-badges,
.bfc-social-proof,
[class*="elementor-widget-bfc-"]{
  font-family:var(--bfc-font-family);
}

/* Базовые поверхности и тексты. Локальные Elementor selectors остаются выше по приоритету. */
.bfc-product-card,
.bfc-promo-card,
.bfc-offer-row,
.bfc-price-history,
.bfc-price-alert{
  border-color:var(--bfc-color-border);
  background-color:var(--bfc-color-white);
}

.bfc-product-card-title,
.bfc-product-card-title a,
.bfc-promo-title,
.bfc-promo-title a,
.bfc-offer-current-price,
.bfc-price-alert-head strong{
  color:var(--bfc-color-text);
}

.bfc-product-card-meta,
.bfc-product-store,
.bfc-promo-store,
.bfc-promo-description,
.bfc-promo-dates,
.bfc-promo-terms,
.bfc-social-proof{
  color:var(--bfc-color-muted);
}

.bfc-product-card-image,
.bfc-promo-card-top{
  background:var(--bfc-color-surface);
}

/* CTA */
.bfc-product-button,
.bfc-list-button,
.bfc-load-more,
.bfc-filter-submit{
  font-family:var(--bfc-font-family);
  font-weight:700;
  border-radius:var(--bfc-radius-control);
  text-decoration:none;
}

.bfc-product-button,
.bfc-list-button,
.bfc-load-more{
  background:var(--bfc-color-dark);
  color:var(--bfc-color-white);
}

.bfc-product-button:hover,
.bfc-list-button:hover,
.bfc-load-more:hover{
  background:var(--bfc-color-accent);
  color:var(--bfc-color-white);
}

/* Скидки / промо */
.bfc-product-discount{
  background:var(--bfc-color-accent);
  color:var(--bfc-color-white);
}
.bfc-promo-type{
  background:var(--bfc-color-dark);
  color:var(--bfc-color-white);
}
.bfc-promo-benefit{
  color:var(--bfc-color-accent);
}
.bfc-copy-promo-button{
  background:var(--bfc-color-accent);
  color:var(--bfc-color-white);
}
.bfc-copy-promo-button:hover{
  background:var(--bfc-color-accent-hover);
  color:var(--bfc-color-white);
}

/* Фильтры */
.bfc-filters{
  background:var(--bfc-color-surface);
  border-color:var(--bfc-color-border);
  color:#344054;
}
.bfc-filters-heading,
.bfc-filter-group>label{
  color:var(--bfc-color-text);
}
.bfc-filters input,
.bfc-filters select,
.bfc-filter-multiselect details{
  background:var(--bfc-color-white);
  color:var(--bfc-color-text);
  border-color:var(--bfc-color-field-border);
}
.bfc-filter-submit{
  background:var(--bfc-color-dark);
  color:var(--bfc-color-white);
}
.bfc-filter-submit:hover{
  background:var(--bfc-color-accent);
  color:var(--bfc-color-white);
}

/* Пагинация */
.bfc-pagination a,
.bfc-pagination span{
  color:var(--bfc-color-text);
  border-color:var(--bfc-color-field-border);
}
.bfc-pagination .current{
  background:var(--bfc-color-dark);
  border-color:var(--bfc-color-dark);
  color:var(--bfc-color-white);
}

/* Smart Search */
.bfc-search-input{
  font-family:var(--bfc-font-family);
  background:var(--bfc-color-white);
  color:var(--bfc-color-text);
  border-color:var(--bfc-color-field-border);
}
.bfc-search-dropdown{
  background:var(--bfc-color-white);
  border-color:var(--bfc-color-border);
}
.bfc-search-result-title{color:var(--bfc-color-text)}
.bfc-search-result-meta{color:var(--bfc-color-muted)}
.bfc-search-result-price{color:var(--bfc-color-text)}
.bfc-search-result:hover,
.bfc-search-result.is-active{background:var(--bfc-color-surface)}

/* Price Intelligence */
.bfc-price-history{
  --bfc-chart-grid:var(--bfc-color-border);
  --bfc-chart-axis:var(--bfc-color-muted);
}
.bfc-price-period{
  border-color:var(--bfc-color-field-border);
  color:var(--bfc-color-text);
}
.bfc-price-period:hover,
.bfc-price-period.is-active{
  background:var(--bfc-color-dark);
  border-color:var(--bfc-color-dark);
  color:var(--bfc-color-white);
}
.bfc-price-alert{
  --bfc-alert-accent:var(--bfc-color-accent);
}
.bfc-price-alert-head span,
.bfc-price-alert-form small{
  color:var(--bfc-color-muted);
}
.bfc-price-alert-form>input[type=email],
.bfc-price-alert-target input{
  background:var(--bfc-color-white);
  color:var(--bfc-color-text);
  border-color:var(--bfc-color-field-border);
}
.bfc-price-alert-submit{
  background:var(--bfc-color-accent);
  color:var(--bfc-color-white);
}
.bfc-price-alert-submit:hover{
  background:var(--bfc-color-accent-hover);
  color:var(--bfc-color-white);
}


/* =========================================================
 * BFC Favorites — v0.22
 * ========================================================= */
.bfc-product-card{position:relative}
.bfc-favorite-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:40px;padding:9px 13px;border:1px solid var(--bfc-color-field-border,#d0d5dd);
 border-radius:9px;background:#fff;color:var(--bfc-color-text,#111827);
 font-family:var(--bfc-font-family,Inter,sans-serif);font-size:13px;font-weight:700;
 line-height:1;cursor:pointer;transition:.18s ease;box-sizing:border-box
}
.bfc-favorite-toggle:hover{border-color:var(--bfc-color-accent,#e1261c);color:var(--bfc-color-accent,#e1261c)}
.bfc-favorite-toggle.is-active{border-color:var(--bfc-color-accent,#e1261c);color:var(--bfc-color-accent,#e1261c);background:#fff1f0}
.bfc-favorite-icon{font-size:20px;line-height:1}
.bfc-product-card>.bfc-favorite-toggle.is-card-button{
 position:absolute;z-index:5;top:12px;right:12px;width:38px;height:38px;min-height:38px;padding:0;
 border-radius:50%;box-shadow:0 4px 16px rgba(17,24,39,.09)
}
.bfc-product-card>.bfc-favorite-toggle.is-card-button .bfc-favorite-label{display:none}
.bfc-product-actions-row{
 display:flex;
 align-items:stretch;
 gap:12px;
 width:100%;
 margin-top:10px;
}
.bfc-product-actions-row>.bfc-offer-button{
 flex:1 1 auto;
 width:auto;
 margin:0;
}
.bfc-favorite-auto-wrap{
 flex:0 0 auto;
 margin:0;
}
.bfc-favorite-auto-wrap .bfc-favorite-toggle{
 width:auto;
 min-width:180px;
 height:100%;
 min-height:100%;
 white-space:nowrap;
}
@media(max-width:600px){
 .bfc-product-actions-row{flex-wrap:wrap}
 .bfc-product-actions-row>.bfc-offer-button,
 .bfc-favorite-auto-wrap{flex:1 1 100%}
 .bfc-favorite-auto-wrap .bfc-favorite-toggle{width:100%}
}
.bfc-favorites-page{max-width:1180px;margin:0 auto;padding:48px 24px 64px;font-family:var(--bfc-font-family,Inter,sans-serif)}
.bfc-favorites-page-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:28px}
.bfc-favorites-page-head h1{margin:0;color:var(--bfc-color-text,#111827);font-size:42px;line-height:1.1}
.bfc-favorites-page-count{color:var(--bfc-color-muted,#667085);font-size:13px;font-weight:600}
.bfc-favorites-summary{margin-bottom:18px;color:var(--bfc-color-muted,#667085);font-size:14px}
.bfc-favorites-summary strong{color:var(--bfc-color-text,#111827)}
.bfc-favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bfc-favorite-price-change{margin:7px 0;font-size:12px;font-weight:700}
.bfc-favorite-price-change.is-down{color:#15803d}
.bfc-favorite-price-change.is-up{color:#b45309}
.bfc-favorite-price-change.is-same{color:var(--bfc-color-muted,#667085);font-weight:500}
.bfc-favorites-empty{display:flex;min-height:300px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px;border:1px dashed var(--bfc-color-field-border,#d0d5dd);border-radius:14px;background:var(--bfc-color-surface,#f8fafc);text-align:center}
.bfc-favorites-empty-heart{font-size:48px;color:var(--bfc-color-accent,#e1261c)}
.bfc-favorites-empty strong{font-size:22px;color:var(--bfc-color-text,#111827)}
.bfc-favorites-empty span{max-width:520px;color:var(--bfc-color-muted,#667085)}
.bfc-favorites-empty .bfc-product-button{width:auto;min-width:180px;margin-top:8px}
.bfc-favorites-loading,.bfc-favorites-error{padding:40px;border-radius:14px;background:var(--bfc-color-surface,#f8fafc);color:var(--bfc-color-muted,#667085);text-align:center}
@media(max-width:900px){.bfc-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bfc-favorites-page{padding:32px 14px 48px}.bfc-favorites-page-head{align-items:flex-start;flex-direction:column;gap:6px}.bfc-favorites-page-head h1{font-size:32px}.bfc-favorites-grid{grid-template-columns:1fr}}


/* =========================================================
 * BFC v0.23 — «Моя Черная пятница»
 * ========================================================= */
.bfc-my-bf-dashboard{
 margin:0 0 30px;padding:28px;border:1px solid var(--bfc-color-border,#e5e7eb);
 border-radius:18px;background:var(--bfc-color-dark,#0b0d10);color:#fff
}
.bfc-my-bf-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:28px;align-items:center}
.bfc-my-bf-kicker{display:inline-block;margin-bottom:8px;color:var(--bfc-color-accent,#e1261c);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.bfc-my-bf-intro h2{margin:0 0 8px;color:#fff;font-size:30px;line-height:1.15}
.bfc-my-bf-intro p{max-width:650px;margin:0;color:#c7ccd4;font-size:14px;line-height:1.65}
.bfc-my-bf-status{display:flex;flex-direction:column;gap:4px;padding:20px;border:1px solid #2a2f38;border-radius:14px;background:#15181d}
.bfc-my-bf-status span{color:#c7ccd4;font-size:12px;font-weight:600}
.bfc-my-bf-status strong{color:#fff;font-size:26px;line-height:1.2}
.bfc-my-bf-status small{color:#98a2b3;font-size:11px}
.bfc-my-bf-status.is-saving strong{color:#5ee68a}
.bfc-my-bf-status.is-costlier strong{color:#ffb454}
.bfc-my-bf-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:22px}
.bfc-my-bf-metric{min-width:0;padding:16px;border:1px solid #2a2f38;border-radius:12px;background:#101318}
.bfc-my-bf-metric span,.bfc-my-bf-metric small{display:block;color:#98a2b3;font-size:11px}
.bfc-my-bf-metric strong{display:block;margin:5px 0;color:#fff;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfc-my-bf-metric.is-down strong{color:#5ee68a}
.bfc-my-bf-metric.is-up strong{color:#ffb454}
.bfc-my-bf-note{margin-top:12px;color:#98a2b3;font-size:11px}
.bfc-my-bf-card-status{display:flex;flex-direction:column;gap:3px;margin:9px 0;padding:10px 11px;border-radius:9px;background:#f8fafc}
.bfc-my-bf-card-status strong{font-size:12px;color:#111827}
.bfc-my-bf-card-status span{font-size:11px;line-height:1.45;color:#667085}
.bfc-my-bf-card-status.is-hot{background:#fff1f0}
.bfc-my-bf-card-status.is-hot strong{color:#e1261c}
.bfc-my-bf-card-status.is-good{background:#f0fdf4}
.bfc-my-bf-card-status.is-good strong{color:#15803d}
.bfc-my-bf-card-status.is-wait{background:#fffbeb}
.bfc-my-bf-card-status.is-wait strong{color:#b45309}
@media(max-width:900px){
 .bfc-my-bf-intro{grid-template-columns:1fr}
 .bfc-my-bf-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .bfc-my-bf-dashboard{padding:20px 16px;border-radius:14px}
 .bfc-my-bf-intro h2{font-size:25px}
 .bfc-my-bf-metrics{grid-template-columns:1fr 1fr}
 .bfc-my-bf-metric:first-child,.bfc-my-bf-metric:nth-child(2){grid-column:span 2}
}


/* =========================================================
 * BFC v0.24 — Buy Advisor
 * ========================================================= */
.bfc-buy-advisor{
 --bfc-advisor-accent:#e1261c;
 padding:22px;border:1px solid var(--bfc-color-border,#e5e7eb);border-radius:14px;
 background:#fff;font-family:var(--bfc-font-family,Inter,sans-serif)
}
.bfc-buy-advisor-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}
.bfc-buy-advisor-icon{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#f5f7fa;color:#111827;font-size:22px;font-weight:800}
.bfc-buy-advisor-copy>span{display:block;margin-bottom:3px;color:#667085;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.bfc-buy-advisor-copy strong{display:block;color:#111827;font-size:20px;line-height:1.25}
.bfc-buy-advisor-copy p{margin:5px 0 0;color:#667085;font-size:13px;line-height:1.55}
.bfc-buy-advisor-score{display:flex;min-width:74px;flex-direction:column;align-items:center;padding:10px;border-radius:10px;background:#f8fafc}
.bfc-buy-advisor-score strong{color:#111827;font-size:24px;line-height:1}
.bfc-buy-advisor-score span{margin-top:3px;color:#98a2b3;font-size:10px}
.bfc-buy-advisor-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}
.bfc-buy-advisor-fact{padding:11px 12px;border-radius:9px;background:#f8fafc}
.bfc-buy-advisor-fact strong,.bfc-buy-advisor-fact span{display:block}
.bfc-buy-advisor-fact strong{margin-bottom:3px;color:#344054;font-size:11px}
.bfc-buy-advisor-fact span{color:#667085;font-size:11px;line-height:1.45}
.bfc-buy-advisor-fact.is-good{background:#f0fdf4}.bfc-buy-advisor-fact.is-good strong{color:#15803d}
.bfc-buy-advisor-fact.is-warn{background:#fffbeb}.bfc-buy-advisor-fact.is-warn strong{color:#b45309}
.bfc-buy-advisor-note{margin-top:12px;color:#98a2b3;font-size:10px;line-height:1.45}
.bfc-buy-advisor--buy{border-color:#fecaca}.bfc-buy-advisor--buy .bfc-buy-advisor-icon{background:#fff1f0;color:var(--bfc-advisor-accent)}
.bfc-buy-advisor--good .bfc-buy-advisor-icon{background:#f0fdf4;color:#15803d}
.bfc-buy-advisor--wait .bfc-buy-advisor-icon{background:#fffbeb;color:#b45309}
@media(max-width:600px){
 .bfc-buy-advisor{padding:17px}
 .bfc-buy-advisor-head{grid-template-columns:auto minmax(0,1fr)}
 .bfc-buy-advisor-score{grid-column:1/-1;flex-direction:row;justify-content:center;gap:5px}
 .bfc-buy-advisor-facts{grid-template-columns:1fr}
}

.bfc-buy-advisor-auto-wrap{width:100%;margin-top:16px}


/* v0.24.2 — Home stores & promos */
.bfc-home-section-title{margin:0 0 22px;font-size:30px;line-height:1.2;font-weight:800;color:var(--bfc-color-text,#111827)}
.bfc-home-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bfc-home-promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bfc-home-view-all-wrap{margin-top:20px;text-align:right}
.bfc-home-view-all{display:inline-flex;align-items:center;gap:5px;color:var(--bfc-color-accent,#e1261c);font-size:13px;font-weight:700;text-decoration:none}
.bfc-home-view-all:hover{text-decoration:underline}
.bfc-home-stores .bfc-store-card{height:100%}
.bfc-home-promos .bfc-promo-card{height:100%}
@media(max-width:900px){.bfc-home-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bfc-home-store-grid,.bfc-home-promo-grid{grid-template-columns:1fr}.bfc-home-section-title{font-size:25px}.bfc-home-view-all-wrap{text-align:left}}


/* v0.24.3 — Home CTA buttons aligned with BFC Design System */
.bfc-home-view-all-wrap{
 display:flex;
 justify-content:center;
 align-items:center;
 margin-top:24px;
 text-align:center
}
.bfc-home-view-all{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:44px;
 padding:11px 20px;
 border:1px solid var(--bfc-color-accent,#e1261c);
 border-radius:8px;
 background:var(--bfc-color-accent,#e1261c);
 color:#fff!important;
 font-size:13px;
 font-weight:700;
 line-height:1.2;
 text-decoration:none!important;
 transition:opacity .2s ease,transform .2s ease
}
.bfc-home-view-all:hover{
 color:#fff!important;
 text-decoration:none!important;
 opacity:.9;
 transform:translateY(-1px)
}


/* v0.24.4 — Store card CTA uses the global BFC primary style */
.bfc-home-stores .bfc-store-card-action{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:40px;
 padding:10px 16px;
 border:1px solid var(--bfc-color-accent,#e1261c)!important;
 border-radius:8px;
 background:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important;
 font-size:13px;
 font-weight:700;
 line-height:1.2;
 text-decoration:none!important;
 transition:opacity .2s ease,transform .2s ease
}
.bfc-home-stores .bfc-store-card-action:hover{
 background:var(--bfc-color-accent,#e1261c)!important;
 border-color:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important;
 opacity:.9;
 transform:translateY(-1px)
}


/* v0.25 — Store directory CTA unified with BFC Design System */
.bfc-store-archive .bfc-store-card-action,
.bfc-store-directory .bfc-store-card-action,
.bfc-store-grid .bfc-store-card-action{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:40px;
 padding:10px 16px;
 border:1px solid var(--bfc-color-accent,#e1261c)!important;
 border-radius:8px;
 background:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important;
 font-size:13px;
 font-weight:700;
 line-height:1.2;
 text-decoration:none!important;
 transition:opacity .2s ease,transform .2s ease
}
.bfc-store-archive .bfc-store-card-action:hover,
.bfc-store-directory .bfc-store-card-action:hover,
.bfc-store-grid .bfc-store-card-action:hover{
 background:var(--bfc-color-accent,#e1261c)!important;
 border-color:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important;
 opacity:.9;
 transform:translateY(-1px)
}


/* =========================================================
 * BFC v0.26 — Product Compare
 * ========================================================= */
.bfc-compare-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 13px;
 border:1px solid var(--bfc-color-field-border,#d0d5dd);border-radius:9px;background:#fff;color:var(--bfc-color-text,#111827);
 font-family:var(--bfc-font-family,Inter,sans-serif);font-size:13px;font-weight:700;line-height:1;cursor:pointer;transition:.18s ease;box-sizing:border-box
}
.bfc-compare-toggle:hover,.bfc-compare-toggle.is-active{border-color:var(--bfc-color-accent,#e1261c);color:var(--bfc-color-accent,#e1261c);background:#fff1f0}
.bfc-compare-icon{font-size:18px;line-height:1}
.bfc-product-card>.bfc-compare-toggle.is-card-button{
 position:absolute;z-index:5;top:58px;right:12px;width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;
 box-shadow:0 4px 16px rgba(17,24,39,.09)
}
.bfc-product-card>.bfc-compare-toggle.is-card-button .bfc-compare-label{display:none}
.bfc-compare-auto-wrap{flex:0 0 auto;margin:0}
.bfc-compare-auto-wrap .bfc-compare-toggle{height:100%;min-width:132px;white-space:nowrap}
.bfc-product-actions-row>.bfc-favorite-auto-wrap .bfc-favorite-toggle{min-width:150px}
.bfc-compare-floating{
 position:fixed;right:22px;bottom:22px;z-index:9998;display:flex;align-items:center;gap:16px;padding:12px 14px 12px 16px;
 border:1px solid #2a2f38;border-radius:12px;background:var(--bfc-color-dark,#0b0d10);color:#fff;
 box-shadow:0 14px 38px rgba(16,24,40,.24);font-family:var(--bfc-font-family,Inter,sans-serif);font-size:13px
}
.bfc-compare-floating[hidden]{display:none!important}
.bfc-compare-floating span{font-weight:700}.bfc-compare-floating-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;margin-left:4px;border-radius:50%;background:var(--bfc-color-accent,#e1261c);color:#fff;font-size:11px}
.bfc-compare-floating a{padding:9px 12px;border-radius:8px;background:var(--bfc-color-accent,#e1261c);color:#fff;text-decoration:none;font-weight:700}
.bfc-compare-toast{position:fixed;left:50%;bottom:28px;z-index:10000;max-width:90vw;padding:11px 16px;border-radius:9px;background:#111827;color:#fff;opacity:0;transform:translate(-50%,10px);transition:.2s ease;font:600 13px/1.4 var(--bfc-font-family,Inter,sans-serif);box-shadow:0 10px 30px rgba(0,0,0,.2)}
.bfc-compare-toast.is-visible{opacity:1;transform:translate(-50%,0)}

.bfc-compare-page{max-width:1180px;margin:0 auto;padding:48px 24px 64px;color:var(--bfc-color-text,#111827);font-family:var(--bfc-font-family,Inter,sans-serif)}
.bfc-compare-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}
.bfc-compare-page-head h1{margin:0 0 7px;font-size:42px;line-height:1.1}.bfc-compare-page-head p{max-width:720px;margin:0;color:var(--bfc-color-muted,#667085);font-size:15px;line-height:1.6}
.bfc-compare-clear{flex:0 0 auto;min-height:40px;padding:9px 14px;border:1px solid var(--bfc-color-field-border,#d0d5dd);border-radius:8px;background:#fff;color:#667085;font:700 12px/1 var(--bfc-font-family,Inter,sans-serif);cursor:pointer}
.bfc-compare-clear:hover{border-color:var(--bfc-color-accent,#e1261c);color:var(--bfc-color-accent,#e1261c)}
.bfc-compare-summary{margin-bottom:13px;color:#667085;font-size:13px}.bfc-compare-summary span{color:#98a2b3}
.bfc-compare-scroll{width:100%;overflow-x:auto;border:1px solid var(--bfc-color-border,#e5e7eb);border-radius:14px;background:#fff}
.bfc-compare-table{
 width:calc(170px + (var(--bfc-compare-products,2) * 240px));
 min-width:calc(170px + (var(--bfc-compare-products,2) * 240px));
 max-width:none;
 border-collapse:separate;border-spacing:0;table-layout:fixed
}
.bfc-compare-col-feature{width:170px}
.bfc-compare-col-product{width:240px}
.bfc-compare-table th,.bfc-compare-table td{
 width:240px;min-width:240px;max-width:240px;
 padding:15px 16px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;
 vertical-align:top;text-align:left;font-size:13px;line-height:1.5;box-sizing:border-box
}
.bfc-compare-table tr:last-child th,.bfc-compare-table tr:last-child td{border-bottom:0}.bfc-compare-table th:last-child,.bfc-compare-table td:last-child{border-right:0}
.bfc-compare-table .bfc-compare-feature-col,.bfc-compare-table tbody th{
 position:sticky;left:0;z-index:2;
 width:170px!important;min-width:170px!important;max-width:170px!important;
 background:#f8fafc;color:#344054;font-size:12px;font-weight:700
}
.bfc-compare-table thead th{background:#fff;vertical-align:top}
.bfc-compare-table thead .bfc-compare-feature-col{z-index:4;background:#f8fafc}
.bfc-compare-product-head{position:relative;display:flex;width:208px;min-width:208px;max-width:208px;min-height:275px;flex-direction:column;gap:9px}
.bfc-compare-product-image{
 display:flex;
 width:208px;height:150px;min-width:208px;max-width:208px;min-height:150px;max-height:150px;
 align-items:center;justify-content:center;border-radius:10px;background:#f8fafc;overflow:hidden
}
.bfc-compare-product-image img{
 display:block;width:100%;height:100%;max-width:100%;max-height:100%;
 object-fit:contain;padding:8px;box-sizing:border-box
}
.bfc-compare-product-title{color:#111827;text-decoration:none;font-size:15px;font-weight:750;line-height:1.35}
.bfc-compare-remove{position:absolute;top:5px;right:5px;z-index:2;width:30px;height:30px;border:1px solid #e5e7eb;border-radius:50%;background:#fff;color:#667085;font-size:20px;line-height:1;cursor:pointer}
.bfc-compare-remove:hover{border-color:#e1261c;color:#e1261c}
.bfc-compare-table tr.has-difference td{background:#fffdf4}.bfc-compare-table tr.has-difference th{background:#fff8df}
.bfc-compare-diff-label{display:block;margin-top:3px;color:#b45309;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.bfc-compare-advisor{display:flex;flex-direction:column;gap:3px;padding:9px;border-radius:8px;background:#f8fafc}.bfc-compare-advisor strong{font-size:11px}.bfc-compare-advisor span{color:#667085;font-size:10px}
.bfc-compare-advisor.is-buy{background:#fff1f0;color:#e1261c}.bfc-compare-advisor.is-good{background:#f0fdf4;color:#15803d}.bfc-compare-advisor.is-wait{background:#fffbeb;color:#b45309}
.bfc-compare-actions-row .bfc-product-button,.bfc-compare-actions-row .bfc-product-details{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border-radius:8px;text-decoration:none;font-weight:700}
.bfc-compare-empty{display:flex;min-height:340px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px;border:1px dashed #d0d5dd;border-radius:14px;background:#f8fafc;text-align:center}
.bfc-compare-empty-icon{font-size:48px;color:#e1261c}.bfc-compare-empty strong{font-size:22px}.bfc-compare-empty span{max-width:540px;color:#667085}
.bfc-compare-loading,.bfc-compare-error{padding:48px;border-radius:14px;background:#f8fafc;color:#667085;text-align:center}
@media(max-width:767px){
 .bfc-compare-auto-wrap{flex:1 1 100%}.bfc-compare-auto-wrap .bfc-compare-toggle{width:100%}
 .bfc-compare-floating{left:12px;right:12px;bottom:12px;justify-content:space-between}
 .bfc-compare-page{padding:32px 12px 48px}.bfc-compare-page-head{align-items:flex-start;flex-direction:column}.bfc-compare-page-head h1{font-size:32px}
 .bfc-compare-clear{width:100%}
}


/* =========================================================
 * BFC v0.27 — Similar Cheaper Products
 * ========================================================= */
.bfc-related-cheaper-auto-wrap{
 width:100vw;
 max-width:none;
 margin-left:calc(50% - 50vw);
 margin-right:calc(50% - 50vw);
 padding:48px max(32px,calc((100vw - 1180px)/2 + 32px)) 54px;
 box-sizing:border-box;
 background:var(--bfc-color-light,#f5f7fa)
}
.bfc-related-cheaper{
 width:100%;
 max-width:1180px;
 margin:0 auto;
 font-family:var(--bfc-font-family,Inter,sans-serif)
}
.bfc-related-cheaper-head{display:flex;justify-content:space-between;gap:24px;margin-bottom:22px}
.bfc-related-cheaper-head>div{max-width:760px}
.bfc-related-cheaper-head>div>span{
 display:block;margin-bottom:6px;color:var(--bfc-color-accent,#e1261c);
 font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em
}
.bfc-related-cheaper-head h2{
 margin:0 0 8px;color:var(--bfc-color-text,#111827);font-size:30px;line-height:1.2;font-weight:800
}
.bfc-related-cheaper-head p{
 margin:0;color:var(--bfc-color-muted,#667085);font-size:14px;line-height:1.65
}
.bfc-related-cheaper-grid{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px
}
.bfc-related-card{
 border:1px solid var(--bfc-color-border,#e5e7eb);
 border-radius:14px;background:#fff;overflow:hidden;
 box-shadow:0 1px 2px rgba(16,24,40,.03);
 transition:transform .18s ease,box-shadow .18s ease
}
.bfc-related-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(16,24,40,.09)}
.bfc-related-saving{
 margin:0 0 7px;padding:9px 10px;border-radius:8px;background:#f0fdf4;
 color:#15803d;font-size:12px;font-weight:650;line-height:1.35
}
.bfc-related-saving strong{font-weight:800}.bfc-related-saving span{font-weight:600}
.bfc-related-match{
 margin:0 0 7px;color:var(--bfc-color-muted,#667085);font-size:11px;font-weight:600
}
.bfc-related-advisor{
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 margin:9px 0;padding:9px 10px;border-radius:8px;background:#f8fafc
}
.bfc-related-advisor strong{color:#344054;font-size:10px;line-height:1.35}
.bfc-related-advisor span{flex:0 0 auto;color:#667085;font-size:10px;font-weight:700}
.bfc-related-advisor.is-buy{background:#fff1f0}.bfc-related-advisor.is-buy strong{color:#e1261c}
.bfc-related-advisor.is-good{background:#f0fdf4}.bfc-related-advisor.is-good strong{color:#15803d}
.bfc-related-advisor.is-wait{background:#fffbeb}.bfc-related-advisor.is-wait strong{color:#b45309}
.bfc-related-card .bfc-product-button{
 background:var(--bfc-color-accent,#e1261c)!important;
 border-color:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important
}
@media(max-width:1024px){
 .bfc-related-cheaper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .bfc-related-cheaper-auto-wrap{padding:34px 18px 40px}
 .bfc-related-cheaper-head h2{font-size:25px}
 .bfc-related-cheaper-grid{grid-template-columns:1fr}
}

/* v0.32 — shopping list */
.bfc-list-alert{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:24px;align-items:center;margin:22px 0 28px;padding:22px 24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}
.bfc-list-alert-copy>span{display:block;margin-bottom:5px;color:var(--bfc-color-accent,#e1261c);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.bfc-list-alert-copy strong{display:block;color:#111827;font-size:20px}.bfc-list-alert-copy p{margin:6px 0 0;color:#667085;font-size:13px;line-height:1.55}
.bfc-list-alert-form{display:flex;gap:8px}.bfc-list-alert-form input{min-width:0;flex:1;height:44px;padding:0 12px;border:1px solid #d0d5dd;border-radius:9px;font:inherit}.bfc-list-alert-form button{height:44px;padding:0 15px;border:0;border-radius:9px;background:var(--bfc-color-accent,#e1261c);color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}
.bfc-list-alert-message{grid-column:1/-1;min-height:0;font-size:12px}.bfc-list-alert-message.is-success{color:#15803d}.bfc-list-alert-message.is-error{color:#b91c1c}
.bfc-compare-floating{gap:10px!important}.bfc-floating-item{display:flex;align-items:center;gap:9px}.bfc-floating-item span{font-size:12px}.bfc-floating-divider{width:1px;align-self:stretch;background:rgba(255,255,255,.16)}
.bfc-floating-favorites-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;margin-left:4px;border-radius:50%;background:var(--bfc-color-accent,#e1261c);color:#fff;font-size:11px}
@media(max-width:700px){.bfc-list-alert{grid-template-columns:1fr;padding:18px}.bfc-list-alert-form{flex-direction:column}.bfc-compare-floating{align-items:stretch!important;flex-direction:column}.bfc-floating-divider{width:auto;height:1px}.bfc-floating-item{justify-content:space-between}}

/* v0.32.1 — уведомления списка покупок */
.bfc-list-price-alert{margin:22px 0 28px}
.bfc-list-price-alert .bfc-list-alert-form{display:flex;flex-direction:column;gap:10px}
.bfc-list-price-alert .bfc-list-alert-form>input[type=email]{width:100%;min-height:42px;border:1px solid #d1d5db;border-radius:8px;padding:8px 11px;background:#fff;color:#111827}
.bfc-list-price-alert .bfc-list-alert-form small{color:#6b7280;font-size:11px;line-height:1.4}
.bfc-list-price-alert .bfc-price-alert-submit{align-self:flex-start}
.bfc-product-store a{color:inherit;text-decoration:none;font-weight:700}
.bfc-product-store a:hover{text-decoration:underline}
@media(max-width:767px){.bfc-list-price-alert .bfc-price-alert-submit{width:100%;text-align:center}}

/* v0.32.2 — PriceWell design inheritance for shopping-list alert.
 * Не используем Elementor global accent: на обычной WP-странице он может быть голубым.
 */
.bfc-list-price-alert{
    --bfc-alert-accent:#0B0D10;
    font-family:inherit;
    color:inherit;
    background:#fff;
    border-color:#e5e7eb;
}
.bfc-list-price-alert,
.bfc-list-price-alert input,
.bfc-list-price-alert button,
.bfc-list-price-alert label{
    font-family:inherit;
}
.bfc-list-price-alert .bfc-price-alert-head strong{
    color:#0B0D10;
    font-family:inherit;
    font-weight:700;
}
.bfc-list-price-alert .bfc-price-alert-head span,
.bfc-list-price-alert .bfc-price-alert-current,
.bfc-list-price-alert .bfc-price-alert-types,
.bfc-list-price-alert .bfc-list-alert-form small{
    font-family:inherit;
}
.bfc-list-price-alert input[type=email],
.bfc-list-price-alert input[type=number]{
    color:#0B0D10;
    background:#fff;
    border-color:#d1d5db;
    box-shadow:none;
}
.bfc-list-price-alert input[type=email]:focus,
.bfc-list-price-alert input[type=number]:focus{
    border-color:#0B0D10;
    outline:2px solid rgba(11,13,16,.10);
    outline-offset:1px;
}
.bfc-list-price-alert .bfc-price-alert-types input[type=radio]{
    accent-color:#0B0D10;
}
.bfc-list-price-alert .bfc-price-alert-submit,
.bfc-list-price-alert .bfc-price-alert-submit.elementor-button{
    background:#0B0D10;
    border-color:#0B0D10;
    color:#fff;
    font-family:inherit;
    font-weight:700;
    box-shadow:none;
}
.bfc-list-price-alert .bfc-price-alert-submit:hover,
.bfc-list-price-alert .bfc-price-alert-submit.elementor-button:hover{
    background:#20242a;
    border-color:#20242a;
    color:#fff;
}
.bfc-list-price-alert .bfc-price-alert-submit:focus{
    outline:2px solid rgba(11,13,16,.18);
    outline-offset:2px;
}

/* v0.32.3 — PriceWell alert brand colors */
.bfc-list-price-alert{
    --bfc-alert-accent:#E1261C;
    color:#0B0D10;
}
.bfc-list-price-alert .bfc-price-alert-head strong{color:#0B0D10}
.bfc-list-price-alert .bfc-price-alert-types input[type=radio]{accent-color:#E1261C}
.bfc-list-price-alert input[type=email]:focus,
.bfc-list-price-alert input[type=number]:focus{
    border-color:#E1261C;
    outline:2px solid rgba(225,38,28,.12);
}
.bfc-list-price-alert .bfc-price-alert-submit,
.bfc-list-price-alert .bfc-price-alert-submit.elementor-button{
    background:#E1261C!important;
    border-color:#E1261C!important;
    color:#fff!important;
}
.bfc-list-price-alert .bfc-price-alert-submit:hover,
.bfc-list-price-alert .bfc-price-alert-submit.elementor-button:hover{
    background:#C91F17!important;
    border-color:#C91F17!important;
    color:#fff!important;
}
.bfc-list-price-alert .bfc-price-alert-submit:focus{
    outline:2px solid rgba(225,38,28,.20);
    outline-offset:2px;
}

/* v0.33.0 — Shopping list overview layout */
.bfc-favorites-overview-grid{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(300px,1fr);
    gap:20px;
    align-items:stretch;
    margin:0 0 28px;
}
.bfc-favorites-overview-stats,
.bfc-favorites-overview-alert{
    min-width:0;
}
.bfc-favorites-overview-grid .bfc-my-bf-dashboard,
.bfc-favorites-overview-grid .bfc-list-price-alert{
    height:100%;
    box-sizing:border-box;
    margin:0;
}
.bfc-favorites-overview-grid .bfc-my-bf-dashboard{
    padding:18px;
}
.bfc-favorites-overview-grid .bfc-my-bf-intro{
    gap:14px;
}
.bfc-favorites-overview-grid .bfc-my-bf-intro h2{
    font-size:20px;
}
.bfc-favorites-overview-grid .bfc-my-bf-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}
.bfc-favorites-overview-grid .bfc-my-bf-metric{
    padding:11px 12px;
}
.bfc-favorites-overview-grid .bfc-list-price-alert{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}
.bfc-favorites-overview-grid .bfc-list-alert-form{
    margin-top:auto;
}
@media(max-width:1024px){
    .bfc-favorites-overview-grid{
        grid-template-columns:minmax(0,3fr) minmax(280px,2fr);
    }
    .bfc-favorites-overview-grid .bfc-my-bf-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:767px){
    .bfc-favorites-overview-grid{
        grid-template-columns:1fr;
    }
    .bfc-favorites-overview-grid .bfc-my-bf-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:480px){
    .bfc-favorites-overview-grid .bfc-my-bf-metrics{
        grid-template-columns:1fr;
    }
}


/* v0.36.1 — Mobile UX */
@media(max-width:767px){
 .bfc-price-history{overflow:visible}
 .bfc-price-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .bfc-price-period{width:100%;padding:8px 5px;font-size:12px;white-space:nowrap}
 .bfc-price-summary{gap:7px;margin-bottom:10px}
 .bfc-price-summary>div{padding:9px 10px}
 .bfc-price-chart-stage{height:270px;min-height:240px;margin-left:-2px;margin-right:-2px;width:calc(100% + 4px)}
 .bfc-price-insight{padding:11px 12px}
 .bfc-price-tooltip{min-width:160px;max-width:calc(100% - 16px);font-size:11px}
 .bfc-compare-floating{left:10px!important;right:10px!important;bottom:10px!important;display:grid!important;grid-template-columns:1fr 1px 1fr;align-items:center!important;gap:8px!important;padding:8px 10px!important;border-radius:12px!important}
 .bfc-compare-floating[hidden]{display:none!important}
 .bfc-floating-divider{width:1px!important;height:34px!important;align-self:center!important}
 .bfc-floating-item{min-width:0;justify-content:center!important;gap:5px!important}
 .bfc-floating-item span{display:flex;align-items:center;gap:3px;font-size:11px!important;white-space:nowrap}
 .bfc-compare-floating-count,.bfc-floating-favorites-count{min-width:20px!important;height:20px!important;margin-left:1px!important;font-size:10px!important}
 .bfc-compare-floating a{padding:7px 8px!important;font-size:11px!important;white-space:nowrap}
}
@media(max-width:390px){
 .bfc-compare-floating{grid-template-columns:1fr 1px 1fr}
 .bfc-floating-item{flex-direction:column;gap:4px!important}
 .bfc-compare-floating a{width:100%;padding:6px 5px!important;text-align:center;box-sizing:border-box}
}
