.bfc-storefront{padding:40px 20px 64px}.bfc-storefront-container{width:min(1280px,100%);margin:0 auto}.bfc-storefront-header{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.bfc-storefront-title{margin:0 0 6px;font-size:clamp(28px,4vw,42px);line-height:1.1}.bfc-storefront-count{opacity:.65}.bfc-storefront-sort{display:flex;gap:10px;align-items:center;white-space:nowrap}.bfc-storefront-sort label{font-size:14px;opacity:.7}.bfc-storefront-sort select,.bfc-filters select,.bfc-filters input[type=number]{min-height:42px;padding:8px 12px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:#111}.bfc-storefront-sort select{padding-right:36px}.bfc-catalog-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}.bfc-filters{position:sticky;top:24px;border:1px solid #e7e7e7;border-radius:14px;background:#fff;padding:18px}.bfc-filters-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px;font-size:18px}.bfc-filters-heading a{font-size:12px;font-weight:400;color:inherit;opacity:.65}.bfc-filter-group{margin-bottom:16px}.bfc-filter-group>label{display:block;margin-bottom:6px;font-size:13px;font-weight:600}.bfc-filter-group select,.bfc-filter-group input[type=number]{width:100%;box-sizing:border-box}.bfc-filter-price-stack{display:grid;grid-template-columns:1fr;gap:8px}.bfc-price-field{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;margin:0;font-size:12px;font-weight:500}.bfc-price-field span{opacity:.65}.bfc-price-field input[type=number]{display:block;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}.bfc-filter-checkbox label{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}.bfc-filter-checkbox input{margin:0}.bfc-filter-submit{width:100%;min-height:44px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:700;cursor:pointer}.bfc-filter-submit:hover{opacity:.88}.bfc-catalog-results{min-width:0}.bfc-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bfc-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e7e7e7;border-radius:14px;background:#fff;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.bfc-product-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.08)}.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-product-card-image img{width:100%;height:100%;object-fit:contain;padding:14px}.bfc-product-card-placeholder{font-size:13px;opacity:.45}.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;line-height:1}.bfc-product-card-body{display:flex;flex:1;flex-direction:column;padding:16px}.bfc-product-card-meta{min-height:18px;margin-bottom:6px;font-size:12px;opacity:.6}.bfc-product-card-title{margin:0 0 8px;font-size:17px;line-height:1.3}.bfc-product-card-title a{color:inherit;text-decoration:none}.bfc-product-card-description{margin-bottom:14px;font-size:13px;line-height:1.45;opacity:.7}.bfc-product-card-footer{margin-top:auto}.bfc-product-prices{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.bfc-product-price{font-size:20px;line-height:1.2}.bfc-product-old-price{text-decoration:line-through;opacity:.5;font-size:13px}.bfc-product-store{margin:5px 0 12px;font-size:12px;opacity:.65}.bfc-product-button,.bfc-product-details{display:block;width:100%;padding:11px 14px;border-radius:8px;text-align:center;text-decoration:none;font-weight:600;box-sizing:border-box}.bfc-product-button{background:#111;color:#fff}.bfc-product-button:hover{color:#fff;opacity:.88}.bfc-product-details{border:1px solid #ddd;color:inherit}.bfc-product-no-offer{margin-bottom:10px;font-size:13px;opacity:.6}.bfc-pagination{margin-top:34px}.bfc-pagination .page-numbers{display:flex;justify-content:center;gap:7px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.bfc-pagination a,.bfc-pagination span{display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid #ddd;border-radius:8px;text-decoration:none;color:inherit}.bfc-pagination .current{background:#111;color:#fff;border-color:#111}.bfc-storefront-empty{display:flex;flex-direction:column;gap:8px;padding:40px;border:1px dashed #ccc;border-radius:12px;text-align:center;align-items:center}.bfc-storefront-empty span{opacity:.65}.bfc-storefront-empty a{margin-top:6px;color:inherit;font-weight:600}@media(max-width:1024px){.bfc-catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}.bfc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.bfc-storefront{padding:28px 14px 48px}.bfc-storefront-header{align-items:stretch;flex-direction:column}.bfc-storefront-sort{justify-content:space-between}.bfc-storefront-sort select{width:100%}.bfc-catalog-layout{grid-template-columns:1fr}.bfc-filters{position:static}.bfc-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bfc-product-card-body{padding:12px}.bfc-product-card-title{font-size:15px}.bfc-product-price{font-size:18px}.bfc-product-card-description{display:none}}@media(max-width:420px){.bfc-product-grid{grid-template-columns:1fr}}
.bfc-filter-multiselect details{border:1px solid #d8d8d8;border-radius:8px;background:#fff}.bfc-filter-multiselect summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:8px 12px;cursor:pointer;list-style:none}.bfc-filter-multiselect summary::-webkit-details-marker{display:none}.bfc-filter-chevron{font-size:16px;transition:transform .15s ease}.bfc-filter-multiselect details[open] .bfc-filter-chevron{transform:rotate(180deg)}.bfc-filter-options{max-height:260px;overflow:auto;border-top:1px solid #eee;padding:8px}.bfc-filter-options-actions{display:flex;justify-content:space-between;gap:8px;padding:2px 2px 8px}.bfc-filter-options-actions button{border:0;background:none;padding:2px;font-size:11px;cursor:pointer;text-decoration:underline;opacity:.65}.bfc-option-check{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:7px 4px;font-size:13px!important;font-weight:400!important;cursor:pointer}.bfc-option-check input{margin:0;flex:0 0 auto}.bfc-option-check:hover{background:#f7f7f7;border-radius:5px}
/* v0.7.4 — контекст категории и наследование глобального дизайна сайта. */
.bfc-filter-context{margin:-2px 0 16px;padding:10px 12px;border:1px solid currentColor;border-radius:8px;opacity:.78}
.bfc-filter-context span{display:block;font-size:11px;opacity:.65}
.bfc-filter-context strong{display:block;margin:2px 0 4px}
.bfc-filter-context a,.bfc-product-card-meta a{color:inherit;text-decoration:none}
.bfc-product-card-meta a:hover{text-decoration:underline}
.bfc-storefront button,.bfc-storefront input,.bfc-storefront select{font-family:inherit}
.bfc-filter-submit{background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff}
.bfc-product-button{background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff}
.bfc-product-button:hover{color:#fff}
.bfc-product-discount,.bfc-pagination .current{background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff;border-color:var(--e-global-color-accent,var(--wp--preset--color--primary,#111))}

/* v0.7.6 — компактная карточка товара. */
.bfc-product-price-label{margin:0 0 3px;font-size:11px;font-weight:600;opacity:.6}
.bfc-product-store{display:flex;gap:4px;align-items:baseline;flex-wrap:wrap}
.bfc-product-store span{opacity:.75}
.bfc-product-store strong{font-weight:600}

/* v0.8.0 — SEO-тексты посадочных страниц */
.bfc-seo-intro,
.bfc-seo-bottom {
    max-width: 100%;
    line-height: 1.65;
}
.bfc-seo-intro { margin: 0 0 24px; }
.bfc-seo-bottom { margin: 32px 0 0; }
.bfc-seo-intro > :first-child,
.bfc-seo-bottom > :first-child { margin-top: 0; }
.bfc-seo-intro > :last-child,
.bfc-seo-bottom > :last-child { margin-bottom: 0; }

/* v0.12.0 — Social Proof */
.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}
.bfc-promo-card .bfc-social-proof{margin:4px 0 14px}
.bfc-offer-row .bfc-social-proof,.bfc-store-offer .bfc-social-proof{margin:5px 0 0}


/* 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.14.0 — Stores Directory */
.bfc-store-directory-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 24px}
.bfc-store-search{display:flex;gap:10px;flex:1;max-width:560px}.bfc-store-search input{width:100%;min-height:44px;padding:9px 13px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:inherit}.bfc-store-search button{min-height:44px;padding:0 18px;border:0;border-radius:8px;background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff;font-weight:700;cursor:pointer}.bfc-store-directory-sort{display:flex;align-items:center;gap:10px;white-space:nowrap}.bfc-store-directory-sort select{min-height:44px;padding:8px 36px 8px 12px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;color:inherit}.bfc-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bfc-store-card{display:flex;flex-direction:column;border:1px solid #e7e7e7;border-radius:14px;background:#fff;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.bfc-store-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.08)}.bfc-store-card-logo{display:flex;align-items:center;justify-content:center;height:150px;padding:22px;background:#f7f7f7;text-decoration:none}.bfc-store-card-logo img{width:100%;height:100%;object-fit:contain}.bfc-store-card-logo-placeholder{font-size:14px;opacity:.45}.bfc-store-card-body{display:flex;flex:1;flex-direction:column;padding:18px}.bfc-store-card-title{margin:0 0 8px;font-size:20px;line-height:1.25}.bfc-store-card-title a{color:inherit;text-decoration:none}.bfc-store-card-description{margin:0 0 14px;font-size:13px;line-height:1.5;opacity:.72}.bfc-store-card-stats{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}.bfc-store-card-stat{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border-radius:999px;background:#f3f3f3;font-size:11px;font-weight:650}.bfc-store-card-stat--promo{border:1px solid #dedede;background:#fff}.bfc-store-card-action{display:block;width:100%;margin-top:auto;padding:11px 14px;border-radius:8px;background:var(--e-global-color-accent,var(--wp--preset--color--primary,#111));color:#fff;text-align:center;text-decoration:none;font-weight:700;box-sizing:border-box}.bfc-store-card-action:hover{color:#fff;opacity:.88}@media(max-width:900px){.bfc-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.bfc-store-directory-toolbar{align-items:stretch;flex-direction:column}.bfc-store-search{max-width:none}.bfc-store-directory-sort{justify-content:space-between}.bfc-store-directory-sort select{flex:1}.bfc-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bfc-store-card-logo{height:120px;padding:16px}.bfc-store-card-body{padding:14px}.bfc-store-card-title{font-size:17px}}@media(max-width:420px){.bfc-store-grid{grid-template-columns:1fr}}

.bfc-discovery-title{margin:0 0 18px}.bfc-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.bfc-discovery-signal{margin:0 0 8px;font-size:12px;font-weight:700;color:var(--e-global-color-accent,#111)}
@media(max-width:1024px){.bfc-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.bfc-discovery-grid{grid-template-columns:1fr}}

/* v0.20 Smart Catalog */
.bfc-smart-filter-list{display:flex;flex-direction:column;gap:8px}
.bfc-smart-filter-list .bfc-filter-checkbox{display:block}
.bfc-smart-filter-list .bfc-filter-checkbox label,
.bfc-smart-filter-list label.bfc-filter-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;cursor:pointer}
.bfc-smart-filter-list input{margin:0}

/* v0.21 Smart Search in existing catalog */
.bfc-search-context{margin:0 0 16px;padding:10px 12px;border:1px solid #e5e5e5;border-radius:8px;font-size:13px}
.bfc-filters input[type=search]{width:100%;min-height:42px;padding:8px 11px;border:1px solid #d8d8d8;border-radius:8px;box-sizing:border-box}


/* v0.21.6 — публичный каталог: Design System v1 */
.bfc-storefront{font-family:var(--bfc-font-family);color:var(--bfc-color-text)}
.bfc-storefront .bfc-product-card{border-radius:var(--bfc-radius-card)}
.bfc-storefront .bfc-product-price{font-weight:800}
.bfc-storefront .bfc-product-old-price{color:#98a2b3}
.bfc-storefront .bfc-product-button{background:var(--bfc-color-dark);color:var(--bfc-color-white)}
.bfc-storefront .bfc-product-button:hover{background:var(--bfc-color-accent);color:var(--bfc-color-white)}


/* =========================================================
 * BFC v0.25.1 — UX Consistency Pass
 * Existing public components only; no new storefront blocks.
 * ========================================================= */
.bfc-storefront,
.bfc-store-directory{
 color:var(--bfc-color-text,#111827);
 font-family:var(--bfc-font-family,Inter,sans-serif)
}
.bfc-storefront .bfc-product-card,
.bfc-store-directory .bfc-store-card{
 border-color:var(--bfc-color-border,#e5e7eb);
 border-radius:14px;
 background:var(--bfc-color-card,#fff);
 box-shadow:0 1px 2px rgba(16,24,40,.03)
}
.bfc-storefront .bfc-product-card:hover,
.bfc-store-directory .bfc-store-card:hover{
 transform:translateY(-2px);
 box-shadow:0 10px 28px rgba(16,24,40,.09)
}
.bfc-storefront .bfc-product-card-image,
.bfc-store-directory .bfc-store-card-logo{background:var(--bfc-color-surface,#f8fafc)}
.bfc-storefront .bfc-product-card-title,
.bfc-store-directory .bfc-store-card-title{color:var(--bfc-color-text,#111827);font-weight:750}
.bfc-storefront .bfc-product-card-meta,
.bfc-storefront .bfc-product-card-description,
.bfc-storefront .bfc-product-store,
.bfc-store-directory .bfc-store-card-description{color:var(--bfc-color-muted,#667085);opacity:1}
.bfc-storefront .bfc-product-price{color:var(--bfc-color-text,#111827)}
.bfc-storefront .bfc-product-discount{background:var(--bfc-color-accent,#e1261c);color:#fff}
.bfc-storefront .bfc-product-button,
.bfc-storefront .bfc-filter-submit,
.bfc-store-directory .bfc-store-card-action{
 border:1px solid var(--bfc-color-accent,#e1261c)!important;
 border-radius:8px;
 background:var(--bfc-color-accent,#e1261c)!important;
 color:#fff!important;
 font-weight:700;
 text-decoration:none!important
}
.bfc-storefront .bfc-product-button:hover,
.bfc-storefront .bfc-filter-submit:hover,
.bfc-store-directory .bfc-store-card-action:hover{color:#fff!important;opacity:.9}
.bfc-storefront .bfc-product-details{
 border-color:var(--bfc-color-field-border,#d0d5dd);
 border-radius:8px;
 background:#fff;
 color:var(--bfc-color-text,#111827)
}
.bfc-storefront .bfc-filters{
 border-color:var(--bfc-color-border,#e5e7eb);
 border-radius:14px;
 background:var(--bfc-color-card,#fff)
}
.bfc-storefront .bfc-filter-group select,
.bfc-storefront .bfc-filter-group input[type=number],
.bfc-storefront .bfc-storefront-sort select,
.bfc-store-directory .bfc-store-search,
.bfc-store-directory .bfc-store-directory-sort select{
 min-height:42px;
 border:1px solid var(--bfc-color-field-border,#d0d5dd);
 border-radius:8px;
 background:#fff;
 color:var(--bfc-color-text,#111827)
}
.bfc-storefront .bfc-filter-group select:focus,
.bfc-storefront .bfc-filter-group input[type=number]:focus,
.bfc-store-directory .bfc-store-search:focus,
.bfc-store-directory .bfc-store-directory-sort select:focus{
 outline:2px solid color-mix(in srgb,var(--bfc-color-accent,#e1261c) 20%,transparent);
 outline-offset:1px;
 border-color:var(--bfc-color-accent,#e1261c)
}
.bfc-storefront .bfc-pagination a,
.bfc-storefront .bfc-pagination span{
 border-color:var(--bfc-color-field-border,#d0d5dd);
 border-radius:8px;
 color:var(--bfc-color-text,#111827)
}
.bfc-storefront .bfc-pagination .current{
 border-color:var(--bfc-color-accent,#e1261c);
 background:var(--bfc-color-accent,#e1261c);
 color:#fff
}
.bfc-store-directory .bfc-store-card-stat{background:var(--bfc-color-surface,#f8fafc);color:var(--bfc-color-muted,#667085)}
.bfc-store-directory .bfc-store-card-stat--promo{border-color:var(--bfc-color-field-border,#d0d5dd);background:#fff}
@media(max-width:767px){
 .bfc-storefront .bfc-product-card-body,.bfc-store-directory .bfc-store-card-body{padding:14px}
 .bfc-storefront .bfc-product-card-title,.bfc-store-directory .bfc-store-card-title{font-size:17px}
}


/* v0.36.1 — Mobile UX: compact collapsible filters */
.bfc-mobile-filter-toggle{display:none}
@media(max-width:767px){
 .bfc-mobile-filter-toggle{display:flex;width:100%;min-height:48px;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0 16px;border:1px solid var(--bfc-color-field-border,#d0d5dd);border-radius:10px;background:var(--bfc-color-card,#fff);color:var(--bfc-color-text,#111827);font:750 14px/1 var(--bfc-font-family,Inter,sans-serif);cursor:pointer}
 .bfc-mobile-filter-toggle-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--bfc-color-accent,#e1261c);color:#fff;font-size:11px}
 .bfc-mobile-filter-toggle-chevron{margin-left:auto;font-size:18px;transition:transform .18s ease}
 .bfc-mobile-filter-toggle[aria-expanded="true"] .bfc-mobile-filter-toggle-chevron{transform:rotate(180deg)}
 .bfc-catalog-layout>.bfc-filters{display:none;margin-bottom:16px;padding:16px}
 .bfc-catalog-layout>.bfc-filters.is-mobile-open{display:block}
 .bfc-catalog-layout>.bfc-filters .bfc-filter-submit{position:sticky;bottom:8px;z-index:3;box-shadow:0 8px 22px rgba(16,24,40,.16)}
}
