@keyframes bgfNum{0%{transform:scale(.3)}60%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes bgfBump{0%,to{transform:scale(1)}35%{transform:scale(1.22)}}@keyframes bgfIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes bgfWin{0%{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:none}}@keyframes bgfSpark{0%{opacity:1;transform:translate(0,0) scale(.6) rotate(0)}to{opacity:0;transform:translate(var(--x),var(--y)) scale(1) rotate(160deg)}}@keyframes bgfPop{0%{transform:scale(.4)}to{transform:scale(1)}}@keyframes bgfDraw{to{stroke-dashoffset:0}}:root{--bgf-brand:#0190ff;--bgf-ink:#0f1729;--bgf-muted:#64748b;--bgf-line:#e5e7eb;--bgf-soft:#f4f8ff;--bgf-ok:#16a34a;--bgf-red:#e5252a;--bgf-bg:#fff;--bgf-top:84px}.bgf-fab{position:fixed;right:14px;top:0;translate:0 var(--bgf-top);z-index:1061;display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:0;border:0;border-radius:999px;background:var(--bgf-bg);color:var(--bgf-brand);box-shadow:0 10px 28px -10px rgba(1,144,255,.55),0 2px 6px rgba(15,23,41,.08),inset 0 0 0 1px rgba(1,144,255,.18);cursor:pointer;opacity:0;transform:translateY(-10px) scale(.6) rotate(-12deg);pointer-events:none;transition:opacity .25s ease,transform .45s cubic-bezier(.2,1.4,.4,1),translate .25s cubic-bezier(.2,.8,.2,1);contain:layout style;-webkit-tap-highlight-color:transparent}@supports not (translate:0){.bgf-fab{top:var(--bgf-top)}}.bgf-fab.is-on{opacity:1;transform:none;pointer-events:auto}.bgf-fab:hover{transform:translateY(-2px) scale(1.04)}.bgf-fab:active{transform:scale(.94);transition-duration:.1s}.bgf-fab:focus-visible{outline:3px solid rgba(1,144,255,.35);outline-offset:3px}.bgf-ic{position:relative;display:flex;width:28px;height:28px;transform-origin:50% 80%}.bgf-hic img,.bgf-hic svg,.bgf-ic img,.bgf-ic svg{width:100%;height:100%;object-fit:contain}.bgf-n{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border:0;border-radius:999px;background:var(--bgf-red);color:#fff;font-size:11.5px;font-weight:800;line-height:20px;text-align:center;box-shadow:none;font-variant-numeric:tabular-nums}.bgf-n.is-pop{animation:bgfNum .5s cubic-bezier(.3,1.8,.5,1)1}.bgf-fab::after{content:"";position:absolute;inset:-3px;border-radius:inherit;pointer-events:none;box-shadow:0 0 0 3px rgba(1,144,255,.32),0 6px 18px -4px rgba(1,144,255,.45);opacity:0;transition:opacity .35s ease}.bgf-fab.is-glow::after{opacity:1}.bgf-fab.is-bump{animation:bgfBump .7s cubic-bezier(.3,1.6,.5,1)1}.bgf-panel{position:fixed;right:14px;top:calc(var(--bgf-top) + 62px);z-index:1062;width:340px;max-width:calc(100vw - 28px);max-height:calc(100vh - var(--bgf-top) - 80px);overflow:auto;overscroll-behavior:contain;padding:14px;border-radius:18px;background:var(--bgf-bg);color:var(--bgf-ink);box-shadow:0 24px 60px -18px rgba(15,23,41,.35),0 0 0 1px var(--bgf-line);opacity:0;transform:translateY(-10px) scale(.96);transform-origin:top right;transition:opacity .2s ease,transform .3s cubic-bezier(.2,1.2,.4,1);contain:layout paint}.bgf-panel.is-on{opacity:1;transform:none}.bgf-panel.is-on .bgf-bar,.bgf-panel.is-on .bgf-ft,.bgf-panel.is-on .bgf-hd,.bgf-panel.is-on .bgf-it,.bgf-panel.is-on .bgf-next{animation:bgfIn .38s cubic-bezier(.2,.9,.3,1.1) both}.bgf-panel.is-on .bgf-it:nth-child(1){animation-delay:.04s}.bgf-panel.is-on .bgf-it:nth-child(2){animation-delay:.08s}.bgf-panel.is-on .bgf-it:nth-child(3){animation-delay:.12s}.bgf-panel.is-on .bgf-it:nth-child(4){animation-delay:.16s}.bgf-panel.is-on .bgf-it:nth-child(n+5){animation-delay:.2s}.bgf-panel.is-on .bgf-next{animation-delay:.18s}.bgf-panel.is-on .bgf-bar{animation-delay:.22s}.bgf-panel.is-on .bgf-ft{animation-delay:.26s}.bgf-hd{display:flex;align-items:center;gap:10px;margin:0 0 10px}.bgf-hd b{flex:1;font-size:15.5px;font-weight:800;letter-spacing:-.01em}.bgf-hic,.bgf-x{display:flex;width:30px;height:30px}.bgf-hic{padding:5px;border-radius:10px;background:var(--bgf-soft);color:var(--bgf-brand)}.bgf-x{padding:6px;border:0;border-radius:999px;background:0 0;color:var(--bgf-muted);cursor:pointer;transition:background .15s,color .15s,transform .2s}.bgf-x:hover{background:#f1f5f9;color:var(--bgf-ink);transform:rotate(90deg)}.bgf-it .bgf-st svg,.bgf-x svg{width:100%;height:100%}.bgf-win{position:relative;overflow:hidden;margin:0 0 10px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#eaf5ff,#f5faff);box-shadow:inset 0 0 0 1px rgba(1,144,255,.2)}.bgf-win small{display:block;color:var(--bgf-brand);font-size:12px;font-weight:700;text-transform:none}.bgf-win b{display:block;font-size:15px;line-height:1.3}.bgf-panel.is-party .bgf-win{animation:bgfWin .5s cubic-bezier(.2,.9,.3,1.3) both}.bgf-spark{position:absolute;inset:0;pointer-events:none}.bgf-spark i{position:absolute;top:50%;left:85%;width:6px;height:6px;border-radius:2px;background:var(--bgf-brand);opacity:0}.bgf-panel.is-party .bgf-spark i{animation:bgfSpark 1.1s ease-out .15s 1}.bgf-spark i:nth-child(2){background:#f59e0b;--x:-38px;--y:-20px}.bgf-spark i:nth-child(3){background:#16a34a;--x:-22px;--y:18px}.bgf-spark i:nth-child(4){background:#ef4444;--x:22px;--y:-22px}.bgf-spark i:nth-child(5){background:#0190ff;--x:30px;--y:16px}.bgf-spark i:nth-child(6){background:#a855f7;--x:-4px;--y:-28px}.bgf-spark i:nth-child(1){--x:-30px;--y:4px}.bgf-list{margin:0;padding:0;list-style:none}.bgf-it{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;transition:background .2s,transform .2s}.bgf-it+.bgf-it{margin-top:4px}.bgf-it:hover{transform:translateX(-2px)}.bgf-it .bgf-th{flex:none;width:44px;height:44px;border-radius:10px;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px var(--bgf-line)}.bgf-it .bgf-th img{width:100%;height:100%;object-fit:contain;filter:grayscale(.85);opacity:.6;transition:filter .3s,opacity .3s,transform .3s}.bgf-it .bgf-tx{flex:1;min-width:0}.bgf-it .bgf-tx b{display:block;font-size:13.5px;font-weight:700;line-height:1.3;color:#334155}.bgf-it .bgf-tx small{display:block;margin-top:1px;font-size:12px;color:var(--bgf-muted)}.bgf-ft a,.bgf-it .bgf-st{flex:none;border-radius:999px}.bgf-it .bgf-st{display:flex;width:26px;height:26px;padding:5px;background:#f1f5f9;color:#94a3b8}.bgf-it.is-on{background:#f6fbf7}.bgf-it.is-on .bgf-th img{filter:none;opacity:1}.bgf-it.is-on:hover .bgf-th img{transform:scale(1.06) rotate(-3deg)}.bgf-it.is-on .bgf-tx b,.bgf-next b{color:var(--bgf-ink)}.bgf-it.is-on .bgf-st{background:var(--bgf-ok);color:#fff;animation:bgfPop .45s cubic-bezier(.3,1.6,.5,1) .2s both}.bgf-it.is-on .bgf-st path{stroke-dasharray:24;stroke-dashoffset:24;animation:bgfDraw .4s ease .35s forwards}.bgf-it.is-next{background:var(--bgf-soft)}.bgf-it.is-next .bgf-st{color:var(--bgf-brand);background:#e0efff}.bgf-next{margin:12px 2px 6px;font-size:13px;line-height:1.4;color:#334155}.bgf-bar,.bgf-bar i{position:relative;overflow:hidden}.bgf-bar{height:8px;border-radius:999px;background:#e8eef6}.bgf-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0190ff,#38b2ff);transform-origin:left center;transition:width .6s cubic-bezier(.2,.8,.2,1)}.bgf-ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--bgf-line)}.bgf-ft small{color:var(--bgf-muted);font-size:11.5px;line-height:1.35}.bgf-ft a{padding:7px 14px;background:var(--bgf-brand);color:#fff!important;font-size:12.5px;font-weight:700;text-decoration:none!important;transition:transform .15s,box-shadow .15s}.bgf-ft a:hover{transform:translateY(-1px);box-shadow:0 8px 18px -8px rgba(1,144,255,.7)}.bgf-ft a:active{transform:scale(.96)}.bgf-cart{margin:14px 0}.bgf-cbox{padding:14px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--bgf-line);animation:bgfIn .4s cubic-bezier(.2,.9,.3,1.1) both}.bgf-cbox .bgf-hd{margin-bottom:8px}@media (max-width:767px){.bgf-fab{right:10px;width:48px;height:48px}.bgf-panel{right:10px;left:10px;width:auto;max-width:none;top:calc(var(--bgf-top) + 56px)}}.bgf-sep{display:flex!important;align-items:center;gap:10px;margin:10px 0 4px!important;padding:0!important;border:0!important;background:0 0!important;list-style:none;animation:bgfIn .4s cubic-bezier(.2,.9,.3,1.1) both}.bgf-sep::after,.bgf-sep::before{content:"";flex:1;height:0;border-top:1px dashed rgba(22,163,74,.45)}.bgf-gift-tag,.bgf-sep span{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#ecfdf3;color:#15803d}.bgf-sep span{padding:5px 12px;font-size:12.5px;line-height:1.2;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(22,163,74,.28)}.bgf-gift-tag svg,.bgf-sep span svg{flex:none;color:#16a34a}td.bgf-sep-td{padding:10px 0 4px!important;border:0!important}.bgf-gift-tag{margin:0 0 6px;padding:4px 10px 4px 8px;font-size:12px;line-height:1.3;box-shadow:inset 0 0 0 1px rgba(22,163,74,.25);animation:bgfPop .4s cubic-bezier(.3,1.6,.5,1)1}.bgf-gift-tag b,.bgf-sep span{font-weight:800}.bgf-gift-tag small{color:#166534;font-size:11.5px;font-weight:600}.bgf-gift-line .ba-pcd-row,.bgf-gift-line .ba-src,.bgf-gift-line .bagr-saveline,.bgf-gift-line .bap,.bgf-gift-line .bap-row,.bgf-gift-line .bootstrap-touchspin,.bgf-gift-line .current-price,.bgf-gift-line .discount,.bgf-gift-line .ets-cd-flags,.bgf-gift-line .js-cart-line-product-quantity,.bgf-gift-line .product-discount,.bgf-gift-line .product-line-grid-right,.bgf-gift-line .product-price,.bgf-gift-line .regular-price,.bgf-gift-line .remove-from-cart{display:none!important}.bgf-gift-line,.bgf-gift-more{background:linear-gradient(90deg,rgba(22,163,74,.06),transparent 60%);border-radius:12px;animation:bgfIn .4s cubic-bezier(.2,.9,.3,1.1) both}@media (prefers-reduced-motion:reduce){.bgf-bar i,.bgf-fab,.bgf-it,.bgf-panel,.bgf-x{transition:none}.bgf-cbox,.bgf-fab.is-bump,.bgf-gift-line,.bgf-gift-more,.bgf-gift-tag,.bgf-it.is-on .bgf-st,.bgf-n.is-pop,.bgf-panel.is-on *,.bgf-panel.is-party .bgf-spark i,.bgf-panel.is-party .bgf-win,.bgf-sep{animation:none!important}.bgf-it.is-on .bgf-st path{stroke-dashoffset:0}}html.ba-dark .bgf-fab,html[data-ba-theme=dark] .bgf-fab,html[data-theme=dark] .bgf-fab{--bgf-bg:#111827}html.ba-dark .bgf-cbox,html.ba-dark .bgf-panel,html[data-ba-theme=dark] .bgf-cbox,html[data-ba-theme=dark] .bgf-panel,html[data-theme=dark] .bgf-cbox,html[data-theme=dark] .bgf-panel{--bgf-bg:#111827;--bgf-ink:#e5e7eb;--bgf-muted:#9ca3af;--bgf-line:#1f2937;--bgf-soft:#0b1b33;background:#111827;color:#e5e7eb}html.ba-dark .bgf-it.is-on,html[data-ba-theme=dark] .bgf-it.is-on,html[data-theme=dark] .bgf-it.is-on{background:#0f2418}html.ba-dark .bgf-win,html[data-ba-theme=dark] .bgf-win,html[data-theme=dark] .bgf-win{background:linear-gradient(135deg,#0b1f3a,#0e1a2e)}html.ba-dark .bgf-it .bgf-tx b,html.ba-dark .bgf-next,html[data-ba-theme=dark] .bgf-it .bgf-tx b,html[data-ba-theme=dark] .bgf-next,html[data-theme=dark] .bgf-it .bgf-tx b,html[data-theme=dark] .bgf-next{color:#cbd5e1}html.ba-dark .bgf-bar,html[data-ba-theme=dark] .bgf-bar,html[data-theme=dark] .bgf-bar{background:#1f2937}html.ba-dark .bgf-gift-tag,html.ba-dark .bgf-sep span,html[data-ba-theme=dark] .bgf-gift-tag,html[data-ba-theme=dark] .bgf-sep span,html[data-theme=dark] .bgf-gift-tag,html[data-theme=dark] .bgf-sep span{background:#0f2418;color:#86efac}html.ba-dark .bgf-gift-tag small,html[data-ba-theme=dark] .bgf-gift-tag small,html[data-theme=dark] .bgf-gift-tag small{color:#bbf7d0}
/* BestAuto 13.11.2026: подаръците – без сума, отбелязани и отделени (количка, странична количка, поръчка, потвърждение) */
.ba-gl-hide,html body #order-detail-content .ba-gl-hide,html body div#onepagecheckoutps #order-detail-content .row.ba-gl-hide,html body .cart-detailed-totals .ba-gl-hide{display:none!important}
html body .cart_block .bgf-gift-line .rmv-from-cart{display:none!important}
.bgf-gift-line .laberPrice,.bgf-gift-line .rmv-from-cart,.bgf-gift-line .bux-mc-badge,.bgf-gift-line .bgr,.bgf-gift-line .baq-calc,.bgf-gift-line .discount-percentage,.bgf-gift-line .price-box,.bgf-gift-line .product-flags,.bgf-gift-line .ba-pcd-row,.cart_item.bgf-gift-line>.hidden-sm-up{display:none!important}
.bgf-gift-tag[data-bagl]{display:flex;flex-wrap:wrap;width:-webkit-max-content;width:max-content;max-width:100%;margin:6px 0 4px;row-gap:2px}
.bgf-gift-tag[data-bagl] small{white-space:normal}
.bgf-sep[data-bagl] span,.bgf-sep-row[data-bagl] .bgf-sep span{white-space:normal;text-align:center}
.cart_block .bgf-sep[data-bagl]{margin:8px 0 2px!important}
.cart_block .bgf-gift-line{padding:4px 6px}
.ba-gl-free{color:#15803d!important;font-weight:800!important}
html.ba-dark .ba-gl-free,html[data-ba-theme=dark] .ba-gl-free{color:#86efac!important}
body .bgf-gift-line .bgf-gift-tag[data-bagl]{font-size:13px;padding:6px 12px 6px 10px;background:#dcfce7;box-shadow:inset 0 0 0 1px rgba(22,163,74,.35)}
body .bgf-gift-line .bgf-gift-tag[data-bagl] b{text-transform:uppercase;letter-spacing:.04em}
body .bgf-gift-line .bgf-gift-tag[data-bagl] svg{width:16px;height:16px}
html.ba-dark body .bgf-gift-line .bgf-gift-tag[data-bagl],html[data-ba-theme=dark] body .bgf-gift-line .bgf-gift-tag[data-bagl]{background:rgba(22,163,74,.18);color:#bbf7d0}
html body .bgf-gift-line>[data-bagl-free],html body .bgf-gift-line>.product-line-grid>[data-bagl-free]{display:flex!important;align-items:center;justify-content:center}
html body .bgf-gift-line>[data-bagl-free]>*,html body .bgf-gift-line>.product-line-grid>[data-bagl-free]>*,html body div#onepagecheckoutps #order-detail-content .cart_item.bgf-gift-line>[data-bagl-free]>*{display:none!important}
html body .bgf-gift-line [data-bagl-free]::after{content:attr(data-bagl-free);display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;line-height:1.2;white-space:nowrap;box-shadow:0 6px 14px -8px rgba(21,128,61,.8)}
html body .cart_item.bgf-gift-line>.price-col,html body .cart_item.bgf-gift-line>.quantity-content,html body div#onepagecheckoutps #order-detail-content .cart_item.bgf-gift-line>.price-col,html body div#onepagecheckoutps #order-detail-content .cart_item.bgf-gift-line>.quantity-content{visibility:hidden!important}
@media (max-width:767px){html body .cart_item.bgf-gift-line>.price-col,html body .cart_item.bgf-gift-line>.quantity-content,html body div#onepagecheckoutps #order-detail-content .cart_item.bgf-gift-line>.price-col,html body div#onepagecheckoutps #order-detail-content .cart_item.bgf-gift-line>.quantity-content{display:none!important}html body .bgf-gift-line>[data-bagl-free]{justify-content:flex-start}}