.bfc-global-topbar{width:100%;background:#fff;border-bottom:1px solid rgba(0,0,0,.08);box-sizing:border-box;position:relative;z-index:99999;font-family:inherit}
.bfc-global-topbar-track{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;padding:8px max(18px,4vw);box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;direction:ltr;white-space:nowrap}
.bfc-topbar-item{direction:rtl;flex:0 0 var(--bfc-item-width,auto);width:var(--bfc-item-width,auto);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:var(--bfc-py,9px) 15px;background:var(--bfc-bg,#f7d5c3);color:var(--bfc-text,#171717)!important;border:var(--bfc-bw,0) solid var(--bfc-border,#f0c5ae);border-radius:var(--bfc-radius,22px);box-shadow:var(--bfc-shadow,none);box-sizing:border-box;text-decoration:none!important;line-height:1.25;font-size:14px;font-weight:500;transition:transform .15s ease,filter .15s ease}
.bfc-topbar-item:hover{color:var(--bfc-text,#171717)!important;filter:brightness(.98);transform:translateY(-1px)}
.bfc-topbar-tag{font-size:17px;line-height:1;transform:rotate(45deg)}
.bfc-topbar-discount{font-weight:800;font-size:15px}
.bfc-topbar-text{font-weight:600}
.bfc-topbar-code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:700;background:rgba(255,255,255,.58);padding:3px 7px;border-radius:8px;direction:ltr}
.bfc-topbar-arrow{font-size:22px;line-height:1;margin-right:2px}
/* Legacy campaign/card styles retained for backward compatibility. */
.bfc-campaign-shell{width:var(--bfc-width,100%);max-width:var(--bfc-maxw,1180px);margin:18px auto;box-sizing:border-box;color:var(--bfc-text,#2b2024)}
.bfc-campaign-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:var(--bfc-py,16px) 20px;border:var(--bfc-bw,1px) solid var(--bfc-border,#e7b9c5);border-radius:var(--bfc-radius,16px);background:var(--bfc-bg,#fff6f8);box-shadow:var(--bfc-shadow,0 10px 30px rgba(0,0,0,.08));font-size:14px;box-sizing:border-box}
.bfc-carousel{display:flex;gap:12px;overflow-x:auto}.bfc-card{flex:0 0 180px;text-decoration:none!important;color:inherit!important}
@media(max-width:700px){.bfc-global-topbar-track{gap:8px;padding:7px 10px}.bfc-topbar-item{padding:8px 12px;font-size:12px}.bfc-topbar-code{font-size:11px}.bfc-topbar-text{max-width:190px;overflow:hidden;text-overflow:ellipsis}.bfc-topbar-discount{font-size:13px}}
/* v1.3 Woodmart-safe top placement */
#bfc-global-topbar{display:block!important;visibility:visible!important;opacity:1!important;clear:both}
body #bfc-global-topbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important}
.whb-header + #bfc-global-topbar{order:-1}

/* v1.4: published campaigns always stay visible in the global strip. */
.bfc-topbar-item.is-inactive{opacity:.72;cursor:default;pointer-events:none}

/* v1.5: keep the promo strip as a real row outside Woodmart's website wrapper. */
body > #bfc-global-topbar{position:relative!important;inset:auto!important;width:100%!important;z-index:100000!important;margin:0!important;transform:none!important}
.bfc-global-topbar-track{-ms-overflow-style:none;scrollbar-width:none}
.bfc-global-topbar-track::-webkit-scrollbar{display:none}
.bfc-topbar-item{cursor:default}
.bfc-topbar-item.is-inactive{opacity:.72;pointer-events:auto}
.bfc-topbar-apply{display:inline-flex;align-items:center;justify-content:center;padding:5px 11px;border-radius:999px;background:var(--bfc-btn-bg,#111);color:var(--bfc-btn-text,#fff)!important;text-decoration:none!important;font-size:12px;font-weight:800;line-height:1.2;white-space:nowrap}
.bfc-topbar-apply:hover{color:var(--bfc-btn-text,#fff)!important;filter:brightness(1.12)}
.bfc-topbar-disabled{display:inline-flex;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.55);font-size:11px;font-weight:700}
/* v1.7 */
.bfc-countdown{font-variant-numeric:tabular-nums;font-weight:800;font-size:12px;background:rgba(255,255,255,.46);padding:4px 7px;border-radius:9px;direction:ltr}
@media(max-width:700px){.bfc-global-topbar-track{overflow-x:auto;scroll-behavior:auto}.bfc-topbar-item{flex-shrink:0}.bfc-countdown{font-size:10px}}
.bfc-flash{position:fixed;z-index:2147483000;display:flex;align-items:center;gap:10px;max-width:min(92vw,560px);opacity:0;transform:translateY(-10px);transition:.3s ease;font-family:inherit;direction:rtl}.bfc-flash.is-visible{opacity:1;transform:none}.bfc-flash-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.22);font-weight:900}.bfc-flash-success{background:#198754;color:#fff}.bfc-flash-error{background:#b42318;color:#fff}.bfc-layout-toast{padding:12px 16px;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.18)}.bfc-layout-pill{padding:10px 18px;border-radius:999px;box-shadow:0 8px 28px rgba(0,0,0,.15)}.bfc-layout-card{padding:18px 22px;border-radius:18px;box-shadow:0 18px 55px rgba(0,0,0,.23);font-size:16px}.bfc-layout-banner{width:min(94vw,900px);max-width:94vw;padding:13px 22px;border-radius:10px;justify-content:center}.bfc-pos-top-center{top:24px;left:50%;transform:translate(-50%,-10px)}.bfc-pos-top-center.is-visible{transform:translate(-50%,0)}.bfc-pos-top-right{top:24px;right:24px}.bfc-pos-center{top:50%;left:50%;transform:translate(-50%,-55%)}.bfc-pos-center.is-visible{transform:translate(-50%,-50%)}.bfc-pos-bottom-center{bottom:24px;left:50%;transform:translate(-50%,10px)}.bfc-pos-bottom-center.is-visible{transform:translate(-50%,0)}.bfc-pos-bottom-right{bottom:24px;right:24px}
.bfc-price-active{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.bfc-old-price{text-decoration-thickness:1.5px;opacity:.65}.bfc-new-price{font-weight:800}.bfc-new-price small{font-size:11px;font-weight:600;display:inline-block;margin-left:4px}.bfc-product-badge{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;z-index:15;background:#ffc928!important;color:#17365f!important;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.2;box-shadow:0 4px 14px rgba(0,0,0,.12)}

/* v1.7.7: same gentle auto-scroll on desktop and mobile; desktop is mouse-draggable, no arrow controls. */
.bfc-global-topbar-track{cursor:grab;user-select:none;-webkit-user-select:none}
.bfc-global-topbar-track.is-dragging{cursor:grabbing;scroll-behavior:auto}
.bfc-global-topbar-track a,.bfc-global-topbar-track button{user-select:none;-webkit-user-drag:none}

/* v1.7.9: force predictable LTR scroll coordinates while keeping each promo item RTL. */
.bfc-global-topbar-track{direction:ltr!important;scroll-behavior:auto!important}
.bfc-topbar-item{direction:rtl!important}
/* v1.7.11: autoplay starts immediately after layout; cache-busted assets. */
.bfc-global-topbar-track{scroll-snap-type:none!important}

/* v1.7.12: interval-based autoplay starts without interaction and always resumes after touch/drag. */
