/* ==========================================================================
   „Нощна смяна“ — Black Friday 2026, глобален слой и начална страница.
   Работилница през нощта: асфалт, графит, сигнално жълто, неонов оранж,
   синьото на CMX и стоманени бирки за цените.
   ========================================================================== */

.bf-site {
    --bf-ink: #0f1114;          /* асфалт */
    --bf-panel: #1a1d22;        /* графит */
    --bf-panel-soft: #262a31;
    --bf-line: #343941;
    --bf-yellow: #ffd500;       /* сигнално жълто */
    --bf-yellow-hi: #ffe24a;
    --bf-orange: #ff6a00;       /* неонова тръба */
    --bf-blue: #1d8fe1;         /* синьото от логото */
    --bf-steel: #a9b1ba;
    --bf-paper: #eceef0;        /* бетон */
    --bf-display: "Montserrat", "Arial Black", Arial, sans-serif;
    --bf-text: "Onest", "Segoe UI", Arial, sans-serif;
    background: var(--bf-paper);
    color: var(--bf-ink);
    font-family: var(--bf-text);
    /* Стандартни кирилски букви: без „българските“ т като m и д като g (12.11.2026) */
    font-feature-settings: "locl" 0;
}

.bf-site input,
.bf-site button,
.bf-site select,
.bf-site textarea { font-family: inherit; font-feature-settings: inherit; }

.bf-site a:focus-visible,
.bf-site button:focus-visible,
.bf-site [tabindex]:focus-visible {
    outline: 3px solid var(--bf-yellow);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Лента на кампанията: сигнална лента, която казва в каква фаза сме.
   -------------------------------------------------------------------------- */
.bf-site .bf-campaign-bar {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--bf-ink);
    border-bottom: 1px solid #000;
}

.bf-site .bf-campaign-bar-inner {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.bf-site .bf-campaign-kicker {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 18px 0 14px;
    color: var(--bf-ink);
    background: repeating-linear-gradient(-45deg, var(--bf-yellow) 0 14px, var(--bf-ink) 14px 22px);
    font-family: var(--bf-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}

.bf-site .bf-campaign-kicker > span {
    padding: 3px 8px;
    background: var(--bf-yellow);
}

.bf-site .bf-campaign-message { color: #e7e9ec; font-weight: 500; }
.bf-site .bf-campaign-message b { color: var(--bf-yellow); font-weight: 700; }

.bf-site .bf-campaign-link {
    margin-left: auto;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid var(--bf-yellow);
}

.bf-site .bf-campaign-link:hover { color: var(--bf-yellow); text-decoration: none; }

/* --------------------------------------------------------------------------
   Хедър и навигация
   -------------------------------------------------------------------------- */
.bf-site #navbar-top-and-login {
    top: 43px;
    background: var(--bf-ink);
    border-bottom: 1px solid #000;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.bf-site #navbar-top-and-login.fixed { top: 0; border-bottom: 2px solid var(--bf-yellow); }
.bf-site #navbar-top-and-login.fixed .navbar-top ul li { margin-top: 5px; margin-bottom: 5px; }
.bf-site #navbar-top-and-login.fixed #logo img { max-height: 45px; width: auto; margin-top: 3px !important; }

.bf-site #navbar-top-and-login a:not(.dropdown-item),
.bf-site #navbar-top-and-login button { color: #f1f2f4; }

.bf-site #navbar-top-and-login .btn-outline-secondary,
.bf-site #navbar-top-and-login .btn-outline-primary {
    border-color: var(--bf-line);
    border-radius: 6px;
    background: var(--bf-panel);
    font-weight: 500;
}

.bf-site #navbar-top-and-login .btn-outline-secondary:hover,
.bf-site #navbar-top-and-login .btn-outline-primary:hover {
    color: var(--bf-ink) !important;
    background: var(--bf-yellow);
    border-color: var(--bf-yellow);
}

.bf-site header > .navbar {
    background: var(--bf-panel);
    border-top: 1px solid #000;
    border-bottom: 3px solid var(--bf-yellow);
}

.bf-site header > .navbar .navbar-nav > li > a,
.bf-site header > .navbar .navbar-nav > li > button,
.bf-site header > .navbar #categories .btn-link {
    border-color: var(--bf-line);
    border-radius: 6px;
}

.bf-site header > .navbar #categories .btn-link {
    color: var(--bf-ink);
    background: var(--bf-yellow);
    border-color: var(--bf-yellow);
    font-weight: 700;
}

.bf-site header > .navbar .navbar-nav > li > a:hover,
.bf-site header > .navbar .navbar-nav > li > button:hover {
    color: var(--bf-ink);
    background: var(--bf-yellow);
    border-color: var(--bf-yellow);
}

.bf-site header .header-search .form-control {
    border-color: var(--bf-line);
    border-radius: 6px 0 0 6px;
}

.bf-site header .header-search .form-control:focus {
    border-color: var(--bf-yellow);
    box-shadow: 0 0 0 3px rgba(255,213,0,.35);
}

.bf-site .breadcrumb { border-bottom: 1px solid #d3d6da; }

/* --------------------------------------------------------------------------
   Бутони
   -------------------------------------------------------------------------- */
.bf-site .btn-primary,
.bf-site button.btn-primary,
.bf-site input.btn-primary {
    color: var(--bf-ink);
    background-color: var(--bf-yellow);
    border-color: var(--bf-yellow);
    font-weight: 700;
    box-shadow: none;
}

.bf-site .btn-primary:hover,
.bf-site button.btn-primary:hover,
.bf-site input.btn-primary:hover,
.bf-site .btn-primary:focus-visible {
    color: var(--bf-ink);
    background-color: var(--bf-yellow-hi);
    border-color: var(--bf-yellow-hi);
}

/* --------------------------------------------------------------------------
   Заглавия на секциите: заглавие, линийка с деления, линк вдясно.
   -------------------------------------------------------------------------- */
.bf-site .main-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 42px 0 20px;
    padding: 0;
    line-height: 1.1;
    text-align: left;
    border: 0;
}

.bf-site .main-title:after {
    content: "";
    order: 2;
    flex: 1 1 auto;
    height: 0;
    min-width: 0;
    /* Без украса до заглавието — по желание на клиента; само празно място до бутона. */
    background: none;
}

.bf-site .main-title-effect {
    order: 1;
    color: var(--bf-ink);
    font-family: var(--bf-display);
    font-size: clamp(21px, 2.3vw, 30px);
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
}

.bf-site .main-title-effect:before,
.bf-site .main-title-effect:after { display: none; }

.bf-site .main-title .red-text { color: inherit !important; font-family: inherit; }
.bf-site .main-title .red-text img { display: none; }

.bf-site .main-title .btn,
.bf-site .main-title .btn.btn-sm {
    position: static;
    order: 3;
    margin: 0 !important;
    padding: 9px 16px;
    color: var(--bf-ink);
    background: transparent;
    border: 2px solid var(--bf-ink);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    white-space: nowrap;
}

.bf-site .main-title .btn:hover {
    color: var(--bf-yellow);
    background: var(--bf-ink);
    border-color: var(--bf-ink);
}

/* --------------------------------------------------------------------------
   Продуктови карти. Цената е на стоманена бирка с дупка и връв.
   -------------------------------------------------------------------------- */
.bf-site .card:not(.card-horizontal) {
    position: relative;
    overflow: visible;
    height: 100%;
    background: #fff;
    border: 2px solid var(--bf-ink);
    border-radius: 4px 4px 14px 14px;
    box-shadow: 6px 6px 0 rgba(15,17,20,.12);
    transition: box-shadow .2s ease, transform .2s ease;
}

.bf-site .card:not(.card-horizontal):hover,
.bf-site .card:not(.card-horizontal):focus-within {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--bf-yellow);
}

/* Еднаква височина на картите в слайдерите, без фиксираната височина от main.js. */
.bf-site .slider-new-products .slick-track,
.bf-site .slider-pre-sale-products .slick-track { display: flex; }
.bf-site .slider-new-products .slick-slide,
.bf-site .slider-pre-sale-products .slick-slide { float: none; height: auto; }
.bf-site .slider-new-products .slick-slide > div,
.bf-site .slider-pre-sale-products .slick-slide > div,
.bf-site .slider-new-products .slick-slide .slide,
.bf-site .slider-pre-sale-products .slick-slide .slide { height: 100%; }
.bf-site .slider-new-products .card:not(.card-horizontal),
.bf-site .slider-pre-sale-products .card:not(.card-horizontal) { display: flex; flex-direction: column; }
.bf-site .card:not(.card-horizontal) .card-body { flex: 1 1 auto; height: auto !important; }

.bf-site .card .card-img { position: relative; background: #fff; }

.bf-site .card:not(.card-horizontal) > .card-img > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 206px;
    padding: 18px 14px 10px;
}

.bf-site .card:not(.card-horizontal) .card-img-top {
    width: 100%;
    max-width: 220px;
    height: 180px;
    object-fit: contain;
}

.bf-site .card:not(.card-horizontal) .card-body {
    display: flex;
    flex-direction: column;
    padding: 6px 16px 18px;
}

.bf-site .card .card-title,
.bf-site .card .card-title a,
.bf-site .card .card-text,
.bf-site .card .price-old {
    font-family: var(--bf-text);
    /* Стандартни кирилски букви: без „българските“ т като m и д като g (12.11.2026) */
    font-feature-settings: "locl" 0;
}

.bf-site .card .card-title,
.bf-site .card .card-title a {
    color: var(--bf-ink);
    font-weight: 600;
}

.bf-site .card:not(.card-horizontal) .card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 63px !important;
    min-height: 63px;
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 21px;
}

.bf-site .card:not(.card-horizontal) .card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    margin: 0 0 14px;
    color: #69717b;
    font-size: 13px;
}

/* Бирката */
.bf-site .card .card-price {
    position: relative;
    padding-top: 0;
}

.bf-site .card:not(.card-horizontal) .card-price {
    margin: auto 0 14px;
    padding: 12px 12px 12px 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255,255,255,.07), transparent 45%),
        var(--bf-ink);
    border-radius: 6px 14px 14px 6px;
    clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
    transform-origin: 6px 50%;
    transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}

/* Дупката на бирката */
.bf-site .card:not(.card-horizontal) .card-price:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--bf-steel);
}


.bf-site .card:not(.card-horizontal):hover .card-price,
.bf-site .card:not(.card-horizontal):focus-within .card-price { transform: rotate(-2.5deg); }

.bf-site .card-price:before {
    content: "BLACK FRIDAY PRICE";
    display: block;
    margin: 0 0 4px;
    color: var(--bf-yellow);
    font-family: var(--bf-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: center;
}

.bf-site .card .price-old {
    color: var(--bf-steel) !important;
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-color: var(--bf-orange);
    text-decoration-thickness: 2px;
}

.bf-site .card .price-new,
.bf-site .card .price-new.red-text {
    color: var(--bf-yellow) !important;
    font-family: var(--bf-display);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.bf-site .card-horizontal .card-price .price-new,
.bf-site .card-horizontal .card-price .price-new.red-text { color: var(--bf-ink) !important; }
.bf-site .card-horizontal .card-price:before { color: var(--bf-ink); }

/* Истинската отстъпка, изчислена от цените в шаблона */
.bf-site .bf-discount {
    position: absolute;
    z-index: 30;
    top: 10px;
    left: 10px;
    padding: 5px 9px 4px;
    color: var(--bf-ink);
    background: var(--bf-yellow);
    border: 2px solid var(--bf-ink);
    border-radius: 3px;
    font-family: var(--bf-display);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    box-shadow: 3px 3px 0 var(--bf-ink);
    pointer-events: none;
}

/* Стикерът „BLACK FRIDAY“ под процента */
.bf-site .bf-discount:after {
    content: "BLACK FRIDAY";
    position: absolute;
    left: -2px;
    top: 100%;
    margin-top: 5px;
    padding: 4px 7px 3px;
    color: var(--bf-yellow);
    background: var(--bf-ink);
    border: 2px solid var(--bf-ink);
    border-radius: 3px;
    box-shadow: 3px 3px 0 var(--bf-yellow);
    font-family: var(--bf-display);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .06em;
    white-space: nowrap;
}

.bf-site.bf-stamps .card.bf-watch:not(.is-cut) .bf-discount { opacity: 0; }
.bf-site.bf-stamps .card.bf-watch .bf-discount.is-stamped { animation: bf-stamp .5s cubic-bezier(.2,1.5,.45,1) both; }
.bf-site.bf-stamps .card.bf-watch:not(.card-horizontal) .price-old:after { transform: scaleX(0); transition: transform .45s cubic-bezier(.6,0,.2,1) .3s; }
.bf-site.bf-stamps .card.bf-watch.is-cut:not(.card-horizontal) .price-old:after { transform: scaleX(1); }
.bf-site.bf-stamps .card.bf-watch.is-cut .card-img { animation: bf-thud .3s ease-out .18s both; }

@keyframes bf-stamp {
    0%   { opacity: 0; transform: scale(2.6) rotate(-14deg); }
    55%  { opacity: 1; transform: scale(.88) rotate(2deg); }
    100% { opacity: 1; transform: none; }
}

@keyframes bf-thud {
    0%, 100% { transform: none; }
    35% { transform: translateY(2px); }
    70% { transform: translateY(-1px); }
}

/* Топлото петно на лампата над картата */
.bf-site .bf-card-glow {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle 170px at var(--mx, 50%) var(--my, 30%), rgba(255,213,0,.32), rgba(255,213,0,0) 70%);
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity .25s ease;
}

.bf-site .card.bf-tilting .bf-card-glow { opacity: 1; }

.bf-site .card:not(.card-horizontal).bf-tilting {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(-2px, -2px);
    transition: box-shadow .2s ease, transform .1s linear;
}

/* Бутонът „Виж офертите“: предупредителни ивици тръгват при посочване */
.bf-home .bf-countdown-cta:hover,
.bf-home .bf-countdown-cta:focus-visible {
    background: repeating-linear-gradient(-45deg, var(--bf-yellow-hi) 0 12px, var(--bf-yellow) 12px 24px) 0 0 / 34px 34px;
    animation: bf-stripes-run .6s linear infinite;
}

@keyframes bf-stripes-run { to { background-position: 34px 0; } }
/* Снимката слиза под процента и стикера, за да не се застъпват
   с надписите в самите снимки (напр. „ПРОМО ПАКЕТ“). */
.bf-site .card:not(.card-horizontal) > .card-img:has(.bf-discount) > a {
    min-height: 222px;
    padding-top: 68px;
}

.bf-site .card:not(.card-horizontal) > .card-img:has(.bf-discount) .card-img-top { height: 146px; }

/* Категории (списък): процентът и стикерът са на един ред над снимката,
   а снимката се свива в кутията си и не се застъпва с тях (10.11.2026). */
.bf-site .card-horizontal .bf-discount:after {
    left: calc(100% + 7px);
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
}

.bf-site .card-horizontal > .card-img:has(.bf-discount) .card-img-top {
    padding-top: 46px !important;
    object-fit: contain;
    box-sizing: border-box;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

/* Таймерът долу вляво също не трябва да закрива снимката */
.bf-site .card-horizontal > .card-img:has(.timer[style*="block"]) .card-img-top {
    padding-bottom: 50px !important;
    object-fit: contain;
    box-sizing: border-box;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

/* Табелката „Black Friday“ над заглавията на промо секциите */
.bf-site .main-title .bf-section-tag {
    display: table;
    margin: 0 0 8px;
    padding: 5px 10px 4px;
    color: var(--bf-yellow) !important;
    background: var(--bf-ink);
    border: 2px solid var(--bf-ink);
    border-left: 8px solid var(--bf-yellow);
    border-radius: 3px;
    font-family: var(--bf-display);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bf-home .bf-hot-band .main-title .bf-section-tag {
    color: var(--bf-ink) !important;
    background: var(--bf-yellow);
    border-color: var(--bf-yellow);
    border-left-color: var(--bf-orange);
}

.bf-site .card-label.promo:after,
.bf-site .card-label.presale:after { background-color: var(--bf-orange); }

.bf-site .stock-and-genius { margin: 0 0 12px !important; text-align: center; }

.bf-site .label-limited_stock_qty {
    display: inline-block;
    padding: 4px 10px !important;
    color: #fff !important;
    background: var(--bf-orange) !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700;
}

.bf-site .card:not(.card-horizontal) .card-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    color: var(--bf-ink);
    background: #fff;
    border: 2px solid var(--bf-ink);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
}

.bf-site .card:not(.card-horizontal) .card-buttons .btn:hover,
.bf-site .card:not(.card-horizontal) .card-buttons .btn:focus-visible {
    color: var(--bf-ink);
    background: var(--bf-yellow);
    border-color: var(--bf-ink);
}

/* Хоризонтални карти в категориите */
.bf-site .card.card-horizontal {
    border: 2px solid var(--bf-ink);
    border-radius: 6px;
    box-shadow: 6px 6px 0 rgba(15,17,20,.1);
}

.bf-site .card.card-horizontal:hover { box-shadow: 6px 6px 0 var(--bf-yellow); }

/* Стрелките на слайдерите */
.bf-site .slider-new-products .slick-list,
.bf-site .slider-pre-sale-products .slick-list { padding-top: 10px; padding-bottom: 18px; }

.bf-site .slider-new-products .slick-prev,
.bf-site .slider-new-products .slick-next,
.bf-site .slider-pre-sale-products .slick-prev,
.bf-site .slider-pre-sale-products .slick-next {
    background-color: var(--bf-ink);
    border: 2px solid var(--bf-yellow);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Футър и бутонът „Пишете ни“
   -------------------------------------------------------------------------- */
.bf-site footer { background: var(--bf-ink); border-top: 4px solid var(--bf-yellow); }
.bf-site #footer-navbar a { color: #e6e8eb; }
.bf-site #footer-navbar a:hover { color: var(--bf-yellow); }
.bf-site #copyright { color: #98a0a8; background: #000; }
.bf-site #mc-launcher { color: var(--bf-ink) !important; background: var(--bf-yellow) !important; font-family: var(--bf-text); font-weight: 700; }

/* ==========================================================================
   НАЧАЛНА СТРАНИЦА
   ========================================================================== */

/* --------------------------------------------------------------------------
   Хиро: банерът в тъмна работилница. При зареждане лампите светват,
   а с мишката посетителят води лампата по банера.
   -------------------------------------------------------------------------- */
.bf-home .bf-image-hero-wrap {
    margin-top: 18px;
    margin-bottom: 0;
}

.bf-home .bf-image-hero {
    --lx: 70%;
    --ly: 60%;
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    background: #000;
    border: 2px solid #000;
    border-radius: 14px 14px 0 0;
}

.bf-home .bf-image-hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* Сянката, която лампата пробива */
.bf-home .bf-image-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle 340px at var(--lx) var(--ly), rgba(255,214,130,.24), rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%);
    opacity: 0;
    transition: opacity .4s ease;
}

.bf-home .bf-image-hero.bf-lamp-on:before { opacity: 1; }

/* Затъмнението преди лампите да светнат */
.bf-home .bf-image-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: #000;
    opacity: 0;
}

.bf-home.bf-motion-ready .bf-image-hero:after { animation: bf-lights-on 1.6s steps(1, end) .15s both; }

@keyframes bf-lights-on {
    0%   { opacity: .92; }
    18%  { opacity: .35; }
    24%  { opacity: .9; }
    36%  { opacity: .2; }
    42%  { opacity: .75; }
    56%  { opacity: .05; }
    62%  { opacity: .45; }
    70%, 100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Таблото: като брояч на моточасове на машина.
   -------------------------------------------------------------------------- */
.bf-home .bf-hero-command {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 20px 26px 20px 30px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%),
        var(--bf-panel);
    border: 2px solid #000;
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

/* Сигнална лента отляво */
.bf-home .bf-hero-command:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    border-radius: 0 0 0 12px;
    background: repeating-linear-gradient(-45deg, var(--bf-yellow) 0 10px, #000 10px 20px);
}

.bf-home .bf-countdown-copy { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bf-home .bf-countdown-copy b,
.bf-home .bf-countdown-copy small { display: block; }

.bf-home .bf-countdown-copy b {
    font-family: var(--bf-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
}

.bf-home .bf-countdown-copy small { margin-top: 5px; color: var(--bf-steel); font-size: 13px; }

.bf-home .bf-live-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: var(--bf-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,106,0,.18), 0 0 18px var(--bf-orange);
}

.bf-home .bf-hero-command.is-live .bf-live-dot { background: #36d17a; box-shadow: 0 0 0 4px rgba(54,209,122,.18), 0 0 18px #36d17a; }

.bf-home .bf-countdown {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
}

.bf-home .bf-countdown[hidden] { display: none; }

.bf-home .bf-countdown > div { text-align: center; }

/* Стоманена рамка около цифрите */
.bf-home .bf-countdown strong {
    display: flex;
    gap: 3px;
    padding: 5px;
    background: linear-gradient(180deg, #5b626b, #2a2f35 48%, #4a5058);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 0 #000;
    font-weight: 800;
}

.bf-home .bf-odo-digit {
    position: relative;
    display: block;
    width: 1.05ch;
    height: 1.25em;
    overflow: hidden;
    color: var(--bf-yellow);
    background: linear-gradient(180deg, #000 0%, #16191d 50%, #000 100%);
    border-radius: 4px;
    font-family: var(--bf-display);
    font-size: 30px;
    line-height: 1.25em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Линията през средата като на механичен брояч */
.bf-home .bf-odo-digit:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0,0,0,.65);
}

.bf-home .bf-odo-strip {
    display: block;
    transition: transform .4s cubic-bezier(.45,1.45,.55,1);
}

.bf-home .bf-odo-strip > span { display: block; height: 1.25em; }

.bf-home .bf-countdown > div > span {
    display: block;
    margin-top: 7px;
    color: var(--bf-steel);
    font-size: 12px;
    font-weight: 500;
}

.bf-home .bf-countdown > i {
    margin-top: 12px;
    color: var(--bf-orange);
    font-family: var(--bf-display);
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
}

.bf-home .bf-countdown-cta {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    color: var(--bf-ink);
    background: var(--bf-yellow);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 4px 4px 0 #000;
    font-family: var(--bf-display);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.bf-home .bf-countdown-cta:hover,
.bf-home .bf-countdown-cta:focus-visible {
    color: var(--bf-ink);
    background: var(--bf-yellow-hi);
    text-decoration: none;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--bf-orange);
}

.bf-home .bf-countdown-cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }

/* --------------------------------------------------------------------------
   Лента с предимствата: табелки, синьото на CMX за иконите.
   -------------------------------------------------------------------------- */
.bf-home .ribbon.top {
    margin: 22px 0 0;
    background: transparent;
    border: 0;
}

.bf-home .ribbon.top > .custome-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
}

.bf-home .ribbon.top .custome-container > [class*="col-"] {
    max-width: none;
    width: auto;
    min-height: 70px;
    margin: 0;
    padding: 10px 12px;
    align-items: center;
    background: #fff;
    border: 2px solid var(--bf-ink);
    border-left: 8px solid var(--bf-blue);
    border-radius: 8px;
}

.bf-home .ribbon.top .custome-container > .row { flex-wrap: nowrap; }
.bf-home .ribbon.top .col-2 { flex: 0 0 44px; max-width: 44px; padding: 0; }
.bf-home .ribbon.top .col-10 { flex: 1 1 auto; min-width: 0; max-width: none; padding: 0 0 0 10px; }

.bf-home .ribbon.top img {
    width: 36px;
    height: auto;
    filter: invert(43%) sepia(83%) saturate(1500%) hue-rotate(185deg) brightness(95%) contrast(92%);
}

.bf-home .ribbon.top p {
    margin: 0;
    color: var(--bf-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

/* --------------------------------------------------------------------------
   Горещата зона: изтичащите промоции на тъмен фон с оранжев неон.
   -------------------------------------------------------------------------- */
.bf-home .bf-hot-band {
    position: relative;
    margin: 46px 0 6px;
    padding: 4px 0 30px;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255,106,0,.18), transparent 60%),
        var(--bf-ink);
    border-top: 3px solid var(--bf-orange);
    box-shadow: 0 -12px 40px -16px rgba(255,106,0,.55);
}

.bf-home .bf-hot-band .main-title { margin-top: 30px; }
.bf-home .bf-hot-band .main-title-effect { color: #fff; }

.bf-home .bf-hot-band .main-title .btn { color: #fff; border-color: #fff; }
.bf-home .bf-hot-band .main-title .btn:hover { color: var(--bf-ink); background: var(--bf-yellow); border-color: var(--bf-yellow); }

.bf-home .bf-hot-band .card:not(.card-horizontal) {
    border-color: #000;
    box-shadow: 0 0 0 1px #34383f, 6px 6px 0 #34383f;
}

.bf-home .bf-hot-band .card:not(.card-horizontal):hover,
.bf-home .bf-hot-band .card:not(.card-horizontal):focus-within { box-shadow: 0 0 0 1px var(--bf-orange), 6px 6px 0 var(--bf-orange); }

.bf-home .bf-hot-band .slick-prev,
.bf-home .bf-hot-band .slick-next { border-color: var(--bf-orange) !important; }

/* Таймерът в картата: малък брояч под описанието */
.bf-home .bf-card-deadline {
    margin: 0 0 14px;
    padding: 8px 10px 9px;
    background: #fff4ea;
    border: 1px dashed var(--bf-orange);
    border-radius: 8px;
}

.bf-home .bf-card-deadline-label {
    display: block;
    margin-bottom: 5px;
    color: #a34300;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.bf-home .bf-card-deadline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
}

.bf-home .bf-card-deadline--open strong {
    display: block;
    color: var(--bf-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.bf-home .bf-card-deadline .timer {
    position: static;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--bf-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
    font-variant-numeric: tabular-nums;
}

.bf-home .bf-card-deadline .timer > div { min-width: 0; border-right: 1px solid #f5c9a6; }
.bf-home .bf-card-deadline .timer > div:last-child { border-right: 0; }
.bf-home .bf-card-deadline .timer span:first-child {
    display: block;
    color: var(--bf-ink);
    font-family: var(--bf-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}
.bf-home .bf-card-deadline .timer span:last-child { display: block; color: #7a6a5d; font-size: 11px; line-height: 1.3; }

.bf-home .bf-offer-slider .card { height: auto; }
.bf-home .bf-offer-slider .card .card-body { height: auto !important; }

/* --------------------------------------------------------------------------
   SEO блок най-долу
   -------------------------------------------------------------------------- */
.bf-home #container-ceo {
    margin-top: 48px;
    color: #c4cad0;
    background: var(--bf-panel);
}

.bf-home #container-ceo h1 { color: #fff; font-family: var(--bf-display); font-size: 22px; }

/* ==========================================================================
   ЕФЕКТИ: искри, предупредителни ленти, печат с отстъпката.
   Всичко се включва от JS и се изключва при „намалено движение“.
   ========================================================================== */

/* Искрите от ъглошлайфа в банера */
.bf-home .bf-sparks {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Двете кръстосани ленти */
.bf-home .bf-tape {
    position: relative;
    height: 122px;
    margin: 18px 0 -10px;
    overflow: hidden;
    pointer-events: none;
}

.bf-home .bf-tape-strip {
    position: absolute;
    left: -4%;
    top: 50%;
    display: flex;
    align-items: center;
    width: 108%;
    height: 44px;
    margin-top: -22px;
    overflow: hidden;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}

.bf-home .bf-tape-strip--a {
    z-index: 2;
    color: var(--bf-ink);
    background: var(--bf-yellow);
    transform: rotate(-2.4deg);
    box-shadow: 0 12px 22px -12px rgba(0,0,0,.55);
}

.bf-home .bf-tape-strip--b {
    z-index: 1;
    color: var(--bf-yellow);
    background: var(--bf-ink);
    transform: rotate(2deg);
}

.bf-home .bf-tape-track {
    display: flex;
    flex: none;
    white-space: nowrap;
    will-change: transform;
}

.bf-home .bf-tape-item {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    font-family: var(--bf-display);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* Разделител: малко парче предупредителна лента */
.bf-home .bf-tape-item:after {
    content: "";
    flex: none;
    width: 28px;
    height: 14px;
    background: repeating-linear-gradient(-45deg, currentColor 0 4px, transparent 4px 8px);
}

.bf-home .bf-tape-item.is-hot { color: var(--bf-orange); }
.bf-home .bf-tape-strip--a .bf-tape-item.is-hot { color: #000; background: var(--bf-orange); padding: 3px 10px; margin-right: 22px; gap: 0; }
.bf-home .bf-tape-strip--a .bf-tape-item.is-hot:after { display: none; }

/* Отстъпката се появява, а старата цена се зачерква, когато картата се покаже */
.bf-site .card:not(.card-horizontal) .price-old {
    position: relative;
    display: table;
    margin: 0 auto;
    text-decoration: none;
}

.bf-site .card:not(.card-horizontal) .price-old:after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    top: 52%;
    height: 2px;
    background: var(--bf-orange);
    box-shadow: 0 0 6px var(--bf-orange);
    transform-origin: left center;
}




/* ==========================================================================
   ЧЕРНА НАЧАЛНА СТРАНИЦА: Black Friday е черен. Белите карти стоят като
   ясно очертани табели върху асфалт, жълтото е за цените и акцентите.
   ========================================================================== */
.bf-site.bf-home {
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px),
        #0a0b0d;
    color: #fff;
}

.bf-home .main-title-effect { color: #fff; }
.bf-home .main-title .btn,
.bf-home .main-title .btn.btn-sm { color: #fff; border-color: #fff; }
.bf-home .main-title .btn:hover { color: var(--bf-ink); background: var(--bf-yellow); border-color: var(--bf-yellow); }

/* Табелките над секциите: жълти върху черното */
.bf-home .main-title .bf-section-tag {
    color: var(--bf-ink) !important;
    background: var(--bf-yellow);
    border-color: var(--bf-yellow);
    border-left-color: var(--bf-orange);
}

/* Картите: бяла табела, черна рамка, графитена сянка; жълта при посочване */
.bf-home .card:not(.card-horizontal) {
    border-color: #000;
    box-shadow: 0 0 0 1px #2c3036, 6px 6px 0 #2c3036;
}
.bf-home .card:not(.card-horizontal):hover,
.bf-home .card:not(.card-horizontal):focus-within { box-shadow: 0 0 0 1px var(--bf-yellow), 6px 6px 0 var(--bf-yellow); }

/* Стикерът под процента има жълта сянка, която на черен фон трябва рамка */
.bf-home .bf-discount { border-color: #000; }

/* Втората лента е графитена с жълти ръбове, за да се вижда върху черното */
.bf-home .bf-tape-strip--b {
    background: #1f2329;
    border-top-color: var(--bf-yellow);
    border-bottom-color: var(--bf-yellow);
}

/* Горещата зона се отделя от черния фон с графит и оранжев ръб */
.bf-home .bf-hot-band {
    background:
        radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255,106,0,.16), transparent 60%),
        #16181c;
    border-bottom: 1px solid #2c3036;
}

.bf-home .ribbon.top .custome-container > [class*="col-"] { border-color: #000; }

/* --------------------------------------------------------------------------
   Таблет и телефон
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .bf-home .bf-hero-command { grid-template-columns: 1fr auto; gap: 16px 20px; }
    .bf-home .bf-countdown-cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 991px) {
    .bf-site .bf-campaign-message { display: none; }
    .bf-home .ribbon.top > .custome-container { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 10px; }
}

@media (max-width: 767px) {
    .bf-site #header-mobile { top: 36px; background: var(--bf-ink); border-bottom: 2px solid var(--bf-yellow); }
    .bf-site .bf-campaign-bar-inner { min-height: 36px; gap: 10px; font-size: 12px; }
    .bf-site .bf-campaign-kicker { padding: 0 10px 0 8px; font-size: 10px; }
    .bf-site .bf-campaign-kicker > span { padding: 2px 6px; }
    .bf-site .bf-campaign-link { font-size: 12px; }

    .bf-site .main-title { gap: 12px; margin: 30px 0 14px; padding: 0 10px; flex-wrap: wrap; }
    .bf-site .main-title:after { display: none; }
    .bf-site .main-title-effect { flex: 1 1 auto; font-size: 20px; }
    .bf-site .main-title .btn,
    .bf-site .main-title .btn.btn-sm { order: 2; padding: 7px 13px; font-size: 13px; }

    .bf-site .bf-discount { font-size: 13px; }

    .bf-home .bf-image-hero-wrap { margin: 8px 0 0; padding: 0; }
    .bf-home .bf-image-hero { border-radius: 0; border-left: 0; border-right: 0; }

    .bf-home .bf-hero-command {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        padding: 18px 14px 18px 24px;
        text-align: center;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .bf-home .bf-hero-command:before { width: 9px; border-radius: 0; }
    .bf-home .bf-countdown-copy { flex-direction: column; justify-content: center; gap: 8px; }
    .bf-home .bf-countdown-copy b { font-size: 15px; }
    .bf-home .bf-countdown-copy small { font-size: 12px; }
    .bf-home .bf-countdown { gap: 5px; }
    .bf-home .bf-odo-digit { font-size: 24px; }
    .bf-home .bf-countdown strong { padding: 4px; gap: 2px; }
    .bf-home .bf-countdown > i { margin-top: 9px; font-size: 18px; }
    .bf-home .bf-countdown-cta { justify-self: stretch; width: 100%; grid-column: auto; }

    .bf-home .ribbon.top { margin-top: 14px; }
    .bf-home .ribbon.top > .custome-container { gap: 8px; }
    .bf-home .ribbon.top .custome-container > [class*="col-"] { min-height: 62px; padding: 8px; border-left-width: 6px; }
    .bf-home .ribbon.top .col-2 { flex-basis: 32px; max-width: 32px; }
    .bf-home .ribbon.top img { width: 28px; }
    .bf-home .ribbon.top p { font-size: 12px; }

    .bf-home .bf-hot-band { margin-top: 34px; padding-bottom: 20px; }

    .bf-home .bf-tape { height: 88px; margin: 10px 0 -14px; }
    .bf-home .bf-tape-strip { height: 32px; margin-top: -16px; border-width: 2px; }
    .bf-home .bf-tape-item { gap: 14px; padding-right: 14px; font-size: 12px; }
    .bf-home .bf-tape-item:after { width: 20px; height: 10px; }
    .bf-home .bf-tape-strip--a .bf-tape-item.is-hot { margin-right: 14px; padding: 2px 8px; }
}

@media (max-width: 380px) {
    .bf-home .bf-odo-digit { font-size: 21px; }
    .bf-home .bf-countdown > div > span { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Намалено движение: без анимации, всичко е видимо веднага.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .bf-home .bf-image-hero:after { animation: none !important; opacity: 0 !important; }
    .bf-home .bf-sparks,
    .bf-site .bf-card-glow { display: none; }
    .bf-home .bf-countdown-cta:hover,
    .bf-home .bf-countdown-cta:focus-visible { animation: none; }
    .bf-home .bf-image-hero:before,
    .bf-home .bf-odo-strip,
    .bf-site .card,
    .bf-site .card .card-price,
    .bf-home .bf-countdown-cta { transition: none !important; }
    .bf-site .card:not(.card-horizontal):hover,
    .bf-site .card:not(.card-horizontal):focus-within,
    .bf-site .card:not(.card-horizontal):hover .card-price,
    .bf-site .card:not(.card-horizontal):focus-within .card-price,
    .bf-home .bf-countdown-cta:hover { transform: none; }
}

/* ==========================================================================
   ПРОДУКТОВА СТРАНИЦА
   ========================================================================== */
/* Black Friday product detail */
.bf-site .product-inner-content {
    position: relative;
    margin-top: 18px;
    padding: 18px 18px 34px;
    border: 1px solid #e3e5e8;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #fff 68%, #f4f5f6 100%);
    box-shadow: 0 18px 55px rgba(8, 12, 16, .10);
    font-family: "Segoe UI", Arial, sans-serif;
}

.bf-site .product-inner-content .main-title-inner {
    max-width: 1100px;
    margin: 0 0 12px !important;
    color: #11161c;
    font-size: clamp(22px, 1.7vw, 29px);
    line-height: 1.24;
    font-weight: 780;
    letter-spacing: -.25px;
}

.bf-site .bf-product-campaign-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #fff;
    background: #11161c;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.bf-site .bf-product-campaign-label {
    padding: 7px 10px;
    color: #101419;
    background: #ffd500;
    font-weight: 850;
    transform: skew(-7deg);
}

.bf-site .bf-product-campaign-proof { color: #d7dce1; }
.bf-site .bf-product-campaign-proof b { color: #ffd500; }

.bf-site .aside-product-inner-center > .nav-pills {
    gap: 7px;
    margin-bottom: 18px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #11161c;
}

.bf-site .product-inner-content > .nav-pills .nav-link {
    border: 1px solid #d7dade;
    border-radius: 8px;
    color: #20262d;
    background: #fff;
    font-weight: 700;
}

.bf-site .product-inner-content > .nav-pills .nav-link.active {
    border-color: #ffd500;
    color: #11161c;
    background: #ffd500;
    box-shadow: 0 7px 18px rgba(255, 213, 0, .28);
}

.bf-site .product-inner .aside-product-inner-left .slider-product {
    padding: 14px;
    border: 1px solid #e0e3e6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 20, 26, .08);
}

.bf-site .product-inner .aside-product-inner-left .card,
.bf-site .product-inner .aside-product-inner-left .card-img {
    border: 0;
    border-radius: 12px;
    background: #fff;
}

.bf-site .slider-product-nav-inner .card {
    margin: 5px;
    padding: 4px;
    border: 2px solid #e3e5e8 !important;
    cursor: pointer;
}

.bf-site .slider-product-nav-inner .slick-current .card,
.bf-site .slider-product-nav-inner .card:hover { border-color: #ffd500 !important; }

.bf-site .aside-product-inner-center {
    padding: 18px 20px;
    border: 1px solid #e0e3e6;
    border-radius: 16px;
    background: #fff;
}

.bf-site .product-inner .aside-product-inner-center h2 {
    margin: 0 0 14px;
    color: #151a20 !important;
    font-size: 19px;
    line-height: 1.42;
    font-weight: 720;
}

.bf-site .bf-spec-title,
.bf-site .bf-technical-title,
.bf-site .bf-product-copy > h3 {
    margin: 22px 0 10px;
    color: #171b20;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 750;
}

.bf-site .bf-spec-title { margin-top: 10px; }

.bf-site .bf-spec-table-head {
    display: grid;
    grid-template-columns: 42% 58%;
    padding: 9px 12px;
    border: 1px solid #20252b;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    color: #fff;
    background: #20252b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .65px;
}

.bf-site .product-inner-specifications {
    overflow: hidden;
    margin: 0 0 18px !important;
    border: 1px solid #e2e4e7;
    border-radius: 0 0 8px 8px;
}

.bf-site .product-inner .product-inner-specifications li.row {
    min-height: 40px;
    padding: 0;
    align-items: center;
    border-bottom: 1px solid #e7e9eb;
    background: #fff;
}

.bf-site .product-inner .product-inner-specifications li:last-child { border-bottom: 0; }
.bf-site .product-inner .product-inner-specifications li:nth-child(2n) { background: #f7f8f9; }
.bf-site .product-inner .product-inner-specifications li > div {
    padding: 9px 12px;
    color: #31363c;
    font-size: 13px;
    line-height: 1.4;
}
.bf-site .product-inner .product-inner-specifications li > div:first-child {
    color: #555d65;
    font-weight: 600 !important;
}

.bf-site .bf-product-copy {
    margin-top: 22px;
    padding-top: 2px;
    border-top: 1px solid #e5e7e9;
    color: #3f464d;
    font-size: 14px;
    line-height: 1.72;
}

.bf-site .bf-product-longform-shell {
    clear: both;
    width: 100%;
    margin: 28px 0 34px;
    padding: 30px clamp(24px, 5vw, 72px) 34px;
    border: 1px solid #e0e3e6;
    border-top: 5px solid #ffd500;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(14, 20, 26, .07);
}

.bf-site .bf-product-copy-source { display: none !important; }

.bf-site .bf-product-longform-shell .bf-product-copy {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    color: #30373d;
    font-size: 16px;
    line-height: 1.78;
}

.bf-site .bf-product-longform-shell .bf-product-copy > h3 {
    margin: 0 0 26px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e5e7;
    font-size: 24px;
    font-weight: 750;
    text-align: left;
}

.bf-site .bf-product-longform-shell .bf-product-copy p {
    max-width: none;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid #edf0f2;
    font-size: 16px;
    line-height: 1.75;
}
.bf-site .bf-product-longform-shell .bf-product-copy p:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.bf-site .bf-product-longform-shell .bf-product-copy p:first-of-type { color: #1f2933; font-size: 17px; font-weight: 600; }

@media (min-width: 992px) {
    .bf-site .bf-product-longform-shell .bf-product-copy { max-width: 900px; column-count: 1; }
}

.bf-site .bf-product-longform-shell .bf-description-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 24px;
    margin-bottom: 26px !important;
    padding: 20px 22px !important;
}

.bf-site .bf-product-copy p { margin: 0 0 14px; line-height: 1.72; }
.bf-site .bf-description-highlights {
    display: grid;
    gap: 8px;
    margin: 0 0 20px !important;
    padding: 14px 16px !important;
    border-left: 4px solid #ffd500;
    border-radius: 0 9px 9px 0;
    background: #f5f6f7;
    list-style: none;
}
.bf-site .bf-description-highlights li {
    position: relative;
    margin: 0 !important;
    padding-left: 21px;
    color: #252b31;
    font-size: 13px;
    line-height: 1.45 !important;
    font-weight: 600;
}
.bf-site .bf-description-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #d69e00;
    font-weight: 900;
}
.bf-site .bf-product-copy h4,
.bf-site .bf-product-copy h5 {
    margin: 22px 0 9px;
    color: #171b20;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}
.bf-site .bf-product-copy ul { margin: 10px 0 16px 20px !important; }
.bf-site .bf-product-copy li { margin-bottom: 6px; line-height: 1.55 !important; }

.bf-site .bf-technical-data {
    overflow: hidden;
    width: 100%;
    max-width: 780px;
    margin: 0 auto 18px;
    border: 1px solid #dfe2e5;
    border-radius: 9px;
    color: #343a40;
    font-size: 14px;
    line-height: 1.55;
}
.bf-site .bf-technical-data table { width: 100% !important; margin: 0; border-collapse: collapse; }
.bf-site .bf-technical-data tr { border-bottom: 1px solid #e4e6e8; }
.bf-site .bf-technical-data tr:last-child { border-bottom: 0; }
.bf-site .bf-technical-data td,
.bf-site .bf-technical-data th { padding: 11px 13px !important; text-align: center; }
.bf-site .bf-technical-data tr:nth-child(even),
.bf-site .bf-technical-data p:nth-child(even) { background: #f6f7f8; }
.bf-site .bf-technical-data td:first-child,
.bf-site .bf-technical-data th:first-child { width: 44%; color: #555d65; font-weight: 650; }
.bf-site .bf-technical-data p { margin: 0; padding: 10px 13px; border-bottom: 1px solid #e4e6e8; }
.bf-site .bf-tech-table thead th {
    color: #fff !important;
    background: #20252b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .65px;
}
.bf-site .bf-tech-table .bf-tech-section th {
    padding: 12px 18px !important;
    color: #171b20 !important;
    background: #ffd500;
    font-size: 15px;
    font-weight: 750;
}
.bf-site .bf-tech-table td:nth-child(2) { color: #181d22; font-weight: 600; }
.bf-site .bf-technical-data .bf-tech-table { table-layout: fixed; }
.bf-site .bf-technical-data .bf-tech-table th,
.bf-site .bf-technical-data .bf-tech-table td {
    padding: 13px 15px !important;
    text-align: center !important;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.bf-site .bf-technical-data .bf-tech-table thead th:first-child,
.bf-site .bf-technical-data .bf-tech-table tbody td:first-child { width: 46%; border-right: 1px solid #e0e4e8 !important; }
.bf-site .bf-technical-data .bf-tech-table tbody td:first-child { color: #475460; font-weight: 700; }
.bf-site .bf-technical-data .bf-tech-table tbody td:nth-child(2) { font-weight: 500; line-height: 1.55; }
.bf-site .bf-technical-data .bf-tech-table .bf-tech-section th { text-align: center !important; border-right: 0 !important; }

.bf-site .product-inner-price {
    position: sticky;
    top: 12px;
    min-width: 0;
    max-width: none;
    padding: 0 16px 18px;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: #11161c;
    box-shadow: 0 18px 35px rgba(4, 8, 12, .25);
}

.bf-site .bf-price-eyebrow {
    margin: 0 -16px 14px;
    padding: 13px 16px;
    color: #11161c;
    background: #ffd500;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: .4px;
}

.bf-site .bf-price-eyebrow span { color: #fff; text-shadow: 1px 1px 0 #111; }
.bf-site .bf-price-eyebrow small { display: block; margin-top: 2px; font-size: 10px; letter-spacing: 1.4px; }

.bf-site .product-inner-price .product-price-and-btn {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.bf-site .product-inner-price .super-sale {
    position: static;
    margin-bottom: 12px;
    padding: 11px;
    border: 1px solid rgba(255, 213, 0, .55);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 213, 0, .08);
}

.bf-site .product-inner-price .super-sale-price.red-text { position: static; color: #ffd500 !important; }
.bf-site .product-inner-price .price-old { color: #aeb5bc; font-size: 15px; }
.bf-site .product-inner-price .price-new.red-text {
    margin: 2px 0 10px;
    color: #ffd500 !important;
    font-size: 36px;
    line-height: 1;
    font-weight: 950;
}

.bf-site .product-inner-price #buy_now {
    margin: 10px 0 12px;
    padding: 15px 12px;
    border: 0 !important;
    border-radius: 8px;
    color: #11161c !important;
    background: linear-gradient(135deg, #ffda00, #ff9d00) !important;
    box-shadow: 0 9px 22px rgba(255, 174, 0, .3);
    font-size: 17px;
    font-weight: 950;
    text-transform: uppercase;
}

.bf-site .product-inner-price #buy_now:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.bf-site .bf-product-trust {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #d9dde1;
    font-size: 11px;
    font-weight: 700;
}

.bf-site .bf-product-trust b { display: inline-block; width: 18px; color: #ffd500; }

.bf-site .product-inner-price .fast-order {
    margin-top: 15px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.05);
}

.bf-site .product-inner-price .fast-order-title { color: #fff; font-size: 16px; font-weight: 900; }
.bf-site .product-inner-price .fast-order .form-control { border: 0; border-radius: 7px; background: #fff; }
.bf-site .product-inner-price .fast-order .btn { width: 100%; color: #111 !important; background: #ffd500 !important; font-weight: 900; }

/* Product page: clearer hierarchy and a focused first screen. */
.bf-site .product-inner-content {
    padding: clamp(18px, 2.2vw, 32px);
    background: #f7f8fa;
}

.bf-site .bf-product-intro {
    margin-bottom: 22px;
    padding: clamp(18px, 2.2vw, 30px);
    border: 1px solid #e0e4e8;
    border-top: 4px solid var(--bf-yellow);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(14, 20, 26, .05);
}

.bf-site .bf-product-intro-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
}

.bf-site .bf-product-intro-top { margin-bottom: 16px; }
.bf-site .bf-product-intro-top span:first-child {
    padding: 7px 11px;
    color: #12161b;
    background: var(--bf-yellow);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
}
.bf-site .bf-product-intro-top span:last-child { color: #737b83; font-size: 12px; font-weight: 700; }
.bf-site .product-inner-content .main-title-inner {
    max-width: 1100px;
    margin-bottom: 22px !important;
    font-size: clamp(23px, 1.85vw, 30px);
    line-height: 1.28;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.bf-site .bf-product-intro-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    overflow: hidden;
    border: 1px solid #e2e5e8;
    border-radius: 9px;
}
.bf-site .bf-product-meta-cell {
    min-width: 0;
    padding: 12px 16px;
    border-right: 1px solid #e2e5e8;
    background: #fafbfc;
}
.bf-site .bf-product-meta-cell:last-child { border-right: 0; }
.bf-site .bf-product-meta-cell > span {
    display: block;
    margin-bottom: 5px;
    color: #66717c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.bf-site .bf-product-meta-cell strong {
    display: block;
    color: #182028;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.bf-site .bf-product-intro-meta .bf-stock-in { background: #ecf8f0; }
.bf-site .bf-product-intro-meta .bf-stock-in strong { color: #13683c; }
.bf-site .bf-product-intro-meta .bf-stock-out { background: #fff0ef; }
.bf-site .bf-product-intro-meta .bf-stock-out strong { color: #a12b26; }
.bf-site .bf-product-intro-meta i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: currentColor; border-radius: 50%; }

.bf-site .product-inner-content > .nav-pills {
    gap: 5px;
    margin-bottom: 20px !important;
    padding: 0 0 9px;
    border-color: #dce0e4;
}
.bf-site .aside-product-inner-center > .nav-pills .nav-link { padding: 8px 14px; border: 0; background: transparent; font-size: 12px; }
.bf-site .aside-product-inner-center > .nav-pills .nav-link.active { background: #1a2026; color: #fff; box-shadow: none; }

/* (12.11.2026) Подредбата на продукта е оригиналната (галерия | описание | цена).
   Премахнат е grid-ът, който разместваше колоните. */

.bf-site .product-inner .aside-product-inner-left .slider-product { padding: 10px; box-shadow: 0 10px 30px rgba(14,20,26,.07); }
.bf-site .product-inner .aside-product-inner-left .slider-product-inner .card-img img { width: 100%; max-height: 560px; object-fit: contain; }
.bf-site .slider-product-nav-inner .card { border-radius: 9px; }
.bf-site .aside-product-inner-center { box-shadow: 0 10px 30px rgba(14,20,26,.06); }
.bf-site .bf-product-overview-kicker { margin-bottom: 10px; color: #b47600; font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.bf-site .product-inner .aside-product-inner-center h2 { margin-bottom: 20px; font-size: 18px; line-height: 1.34; }
.bf-site .bf-product-highlights { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-bottom: 18px; }
.bf-site .bf-product-highlights > div { min-width: 0; padding: 11px 12px; background: #f5f6f7; border: 1px solid #e7e9eb; border-radius: 9px; }
.bf-site .bf-product-highlights span { display: block; margin-bottom: 4px; color: #68727c; font-size: 11px; }
.bf-site .bf-product-highlights strong { display: block; overflow-wrap: anywhere; color: #20272e; font-size: 13px; line-height: 1.35; }

.bf-site .bf-spec-disclosure,
.bf-site .bf-product-video,
.bf-site .bf-fast-order-disclosure,
.bf-site .bf-more-options { border: 1px solid #e1e4e7; border-radius: 9px; background: #fff; }
.bf-site .bf-spec-disclosure summary,
.bf-site .bf-product-video summary,
.bf-site .bf-fast-order-disclosure summary,
.bf-site .bf-more-options summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; }
.bf-site .bf-spec-disclosure summary::-webkit-details-marker,
.bf-site .bf-product-video summary::-webkit-details-marker,
.bf-site .bf-fast-order-disclosure summary::-webkit-details-marker,
.bf-site .bf-more-options summary::-webkit-details-marker { display: none; }
.bf-site details[open] > summary span { transform: rotate(45deg); }
.bf-site .bf-spec-disclosure summary:hover,
.bf-site .bf-product-video summary:hover { background: #fff9df; }
.bf-site .bf-spec-disclosure .bf-spec-title { margin: 10px 14px; font-size: 14px; }
.bf-site .bf-spec-disclosure .bf-spec-table-head,
.bf-site .bf-spec-disclosure .product-inner-specifications { margin-left: 12px !important; margin-right: 12px !important; }
.bf-site .bf-spec-disclosure .product-inner-specifications { margin-bottom: 12px !important; }
.bf-site .bf-product-video { margin-top: 12px; border-color: #2b3138; background: #171c22; color: #fff; }
.bf-site .bf-product-video summary { justify-content: flex-start; }
.bf-site .bf-product-video summary i { color: var(--bf-yellow); font-size: 18px; }
.bf-site .bf-product-video summary span { margin-left: auto; color: var(--bf-yellow); font-size: 20px; }
.bf-site .bf-product-video iframe { display: block; width: 100%; max-width: 100%; margin: 0; border-radius: 0 0 9px 9px; }

.bf-site .product-inner-price { top: 68px; padding: 0 18px 18px; border: 1px solid #2f363e; border-radius: 14px; }
.bf-site .bf-price-eyebrow { margin: 0 -18px 16px; padding: 15px 18px; font-size: 17px; }
.bf-site .bf-price-eyebrow small { font-size: 9px; }
.bf-site .product-inner-price .super-sale { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 9px; margin-bottom: 14px; padding: 9px 11px; }
.bf-site .product-inner-price .super-sale-text { width: 100%; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.bf-site .product-inner-price .super-sale-text-discount { color: #d1d6db; font-size: 11px; }
.bf-site .product-inner-price .super-sale-price { font-size: 15px; }
.bf-site .product-inner-price .price-old { margin-bottom: 2px; font-size: 15px; }
.bf-site .product-inner-price .price-new.red-text { margin: 3px 0 14px; font-size: clamp(34px, 3vw, 43px); }
.bf-site .product-inner-price #buy_now { margin: 10px 0 13px; }
.bf-site .bf-product-trust { gap: 9px; margin-top: 14px; padding-top: 15px; font-size: 11px; }
.bf-site .bf-fast-order-disclosure,
.bf-site .bf-more-options { margin-top: 12px; color: #e9edf0; background: #1c2229; border-color: #39424b; }
.bf-site .bf-fast-order-disclosure > summary,
.bf-site .bf-more-options > summary { color: #e9edf0; }
.bf-site .bf-fast-order-disclosure > summary span,
.bf-site .bf-more-options > summary span { margin-left: auto; color: var(--bf-yellow); font-size: 20px; line-height: 1; }
.bf-site .bf-fast-order-disclosure .fast-order { margin: 0 10px 10px; }
.bf-site .bf-more-options .product-inner-share { padding: 0 10px 12px; }
.bf-site .bf-more-options .product-inner-share .btn { margin-bottom: 7px; }
.bf-site .bf-product-longform-shell { margin-top: 22px; }
.bf-site .bf-mobile-buybar { display: none; }

@media (max-width: 991px) {
    .bf-site .product-inner-price { top: auto; }
}

@media (max-width: 767px) {
    .bf-site .product-inner-content { padding: 14px 12px 88px; border-radius: 0; }
    .bf-site .product-inner-content .main-title-inner { font-size: 24px; line-height: 1.25; }
    .bf-site .bf-product-intro { padding: 17px 15px; }
    .bf-site .bf-product-intro-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-site .bf-product-meta-cell { padding: 11px 12px; border-bottom: 1px solid #e2e5e8; }
    .bf-site .bf-product-meta-cell:nth-child(2n) { border-right: 0; }
    .bf-site .bf-product-meta-cell:nth-last-child(-n+2) { border-bottom: 0; }
    .bf-site .bf-product-meta-cell strong { font-size: 12px; }
    .bf-site .bf-technical-data .bf-tech-table th,
    .bf-site .bf-technical-data .bf-tech-table td { padding: 11px 10px !important; font-size: 13px; }
    .bf-site .bf-product-longform-shell .bf-product-copy p { font-size: 15px; }
    .bf-site .product-inner .aside-product-inner-left .slider-product { padding: 8px; }
    .bf-site .aside-product-inner-center { margin-top: 13px; }
    .bf-site .bf-product-highlights { gap: 7px; }
    .bf-site .bf-product-longform-shell { padding: 22px 18px; }
    .bf-site .bf-mobile-buybar { position: fixed; z-index: 4900; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); background: #11161c; border-top: 3px solid var(--bf-yellow); box-shadow: 0 -10px 28px rgba(0,0,0,.22); }
    .bf-site .bf-mobile-buybar div { min-width: 0; }
    .bf-site .bf-mobile-buybar small { display: block; color: #bcc4cc; font-size: 10px; }
    .bf-site .bf-mobile-buybar strong { display: block; color: var(--bf-yellow); font-size: 20px; line-height: 1.15; }
    .bf-site .bf-mobile-buybar button { min-height: 43px; padding: 0 19px; border: 0; border-radius: 6px; color: #11161c; background: var(--bf-yellow); font-size: 14px; font-weight: 900; white-space: nowrap; }
}

@media (max-width: 991px) {
    .bf-site .product-inner-content { padding: 12px; border-radius: 12px; }
    .bf-site .product-inner-price { position: static; margin-top: 16px; }
    .bf-site .aside-product-inner-center { margin-top: 16px; padding: 14px; }
    .bf-site .bf-product-campaign-proof { display: none; }
    .bf-site .bf-product-longform-shell { padding: 22px 18px; }
    .bf-site .bf-product-longform-shell .bf-description-highlights { grid-template-columns: 1fr; }
}


/* Product information: centered headings and readable values. */
.bf-site .aside-product-inner-center > .nav-pills {
    justify-content: center;
    gap: 10px;
    padding-bottom: 16px;
}
.bf-site .aside-product-inner-center > .nav-pills .nav-link {
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 800;
}
.bf-site .bf-product-overview-kicker {
    margin-bottom: 12px;
    text-align: center;
    font-size: 13px;
}
.bf-site .product-inner .aside-product-inner-center h2 {
    max-width: 850px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: clamp(20px, 1.8vw, 25px);
    line-height: 1.4;
}
.bf-site .bf-product-highlights { gap: 12px; }
.bf-site .bf-product-highlights > div { padding: 16px 14px; text-align: center; }
.bf-site .bf-product-highlights span { margin-bottom: 7px; color: #515c66; font-size: 13px; }
.bf-site .bf-product-highlights strong { font-size: 15px; line-height: 1.45; }
.bf-site .bf-spec-disclosure > summary {
    position: relative;
    justify-content: center;
    padding: 16px 42px;
    text-align: center;
    font-size: 15px;
}
.bf-site .bf-spec-disclosure > summary span { position: absolute; right: 18px; }
.bf-site .bf-spec-title,
.bf-site .bf-technical-title,
.bf-site .bf-product-longform-shell .bf-product-copy > h3 {
    text-align: center;
    font-size: clamp(22px, 2vw, 28px);
}
.bf-site .bf-product-longform-shell .bf-product-copy > h3 { padding-bottom: 18px; }
.bf-site .bf-technical-data { font-size: 15px; }
.bf-site .bf-technical-data .bf-tech-table { table-layout: fixed; }
.bf-site .bf-technical-data td,
.bf-site .bf-technical-data th { padding: 14px 16px !important; }
.bf-site .bf-technical-data .bf-tech-table thead th { font-size: 13px; text-align: center !important; }
.bf-site .bf-tech-table tbody td,
.bf-site .bf-tech-table tbody td:first-child {
    text-align: center !important;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.bf-site .bf-tech-table tbody td:first-child { width: 46% !important; }
.bf-site .bf-tech-table .bf-tech-section th { font-size: 16px; text-align: center !important; }
.bf-site .bf-spec-table-head span,
.bf-site .product-inner .product-inner-specifications li.row > div { text-align: center; }
.bf-site .bf-price-eyebrow { text-align: center; font-size: 22px; }
.bf-site .bf-price-eyebrow small { margin-top: 5px; font-size: 12px; }
.bf-site .product-inner-price .super-sale { justify-content: center; gap: 4px 10px; padding: 13px; text-align: center; }
.bf-site .product-inner-price .super-sale-text { font-size: 13px; }
.bf-site .product-inner-price .super-sale-text-discount { font-size: 13px; }
.bf-site .product-inner-price .super-sale-price { font-size: 18px; }
.bf-site .product-inner-price .price-old,
.bf-site .product-inner-price .price-new.red-text { text-align: center; }
.bf-site .bf-product-trust { justify-items: center; gap: 12px; font-size: 13px; text-align: center; }
.bf-site .bf-product-trust span { display: flex; align-items: center; gap: 5px; }
.bf-site .bf-fast-order-disclosure > summary,
.bf-site .bf-more-options > summary { justify-content: center; position: relative; padding: 15px 36px; text-align: center; font-size: 14px; }
.bf-site .bf-fast-order-disclosure > summary span,
.bf-site .bf-more-options > summary span { position: absolute; right: 16px; }

@media (max-width: 767px) {
    .bf-site .bf-product-highlights { gap: 8px; }
    .bf-site .bf-product-highlights > div { padding: 13px 10px; }
    .bf-site .bf-product-highlights span { font-size: 12px; }
    .bf-site .bf-product-highlights strong { font-size: 14px; }
    .bf-site .bf-technical-data td,
    .bf-site .bf-technical-data th { padding: 11px 10px !important; }
}

@media (max-width: 767px) {
    /* Над мобилната лента за покупка. Отместването за банера за бисквитки
       (--mc-lift) идва от скрипта във footer и се добавя към тази база. */
    .bf-site:has(.bf-mobile-buybar) #mc-launcher { --mc-base: 88px; right: 12px; padding: 9px 12px; font-size: 11px; }
    .bf-site:has(.bf-mobile-buybar) #mc-popup { --mc-popup-base: 136px; }
}

/* Галерията на продукта не е продуктова карта: без сянка и наклон. */
.bf-site .aside-product-inner-left .card,
.bf-site .slider-product-nav-inner .card { box-shadow: none !important; transform: none !important; }
.bf-site .aside-product-inner-left .card .card-price:before,
.bf-site .slider-product-nav-inner .card .card-price:before { content: none; }

/* ==========================================================================
   ТЕЛЕФОН (09.11.2026): нищо да не се реже и да не се застъпва.
   Старият all.css на ≤768px слага цената и бутона един до друг, маха отстъпа
   на цената и закача „Супер оферта“ върху снимката. Тук това се отменя.
   ========================================================================== */
@media (max-width: 768px) {
    /* Цена над бутона, на цялата ширина на картата */
    .bf-site .card:not(.card-horizontal) .card-brand-and-button {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        padding: 0;
    }
    .bf-site .card:not(.card-horizontal) .card-brand-and-button .card-price {
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto !important;
        margin: 0 !important;
        padding: 10px 12px 10px 34px !important;
        text-align: center !important;
    }
    .bf-site .card-brand-and-button .card-price .price-old { order: 1; margin: 0 !important; }
    .bf-site .card-brand-and-button .card-price .price-new { order: 2; }
    .bf-site .card:not(.card-horizontal) .card-brand-and-button .card-buttons { float: none; width: 100%; }
    .bf-site .card:not(.card-horizontal) .card-brand-and-button .card-buttons .btn { width: 100%; margin: 0 !important; }

    /* „Супер оферта“ е лента в текста, не стикер върху снимката */
    .bf-site .super-sale {
        position: static !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2px 8px;
        margin: 0 0 10px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 213, 0, .6);
        border-radius: 8px;
        color: #fff;
        background: #11161c;
        text-align: center;
    }
    .bf-site .card .super-sale { margin: 0 15px 10px; }
    .bf-site .super-sale .super-sale-text,
    .bf-site .super-sale .bold { display: inline; line-height: 1.2; }
    .bf-site .super-sale .super-sale-text { color: var(--bf-yellow); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
    .bf-site .super-sale .super-sale-text-discount { color: #d1d6db; font-size: 12px; }
    .bf-site .super-sale .super-sale-price,
    .bf-site .super-sale .super-sale-price.red-text {
        position: static;
        padding: 0;
        border: 0;
        color: var(--bf-yellow) !important;
        background: none;
        font-family: var(--bf-display);
        font-size: 15px;
        font-weight: 800;
    }

    /* Стрелките на слайдерите стоят върху бялото около снимката, не върху текста */
    .bf-site .slider-new-products .slick-prev,
    .bf-site .slider-new-products .slick-next,
    .bf-site .slider-pre-sale-products .slick-prev,
    .bf-site .slider-pre-sale-products .slick-next,
    .bf-site .slider-products-suggestions .slick-prev,
    .bf-site .slider-products-suggestions .slick-next {
        top: 128px;
        width: 32px;
        height: 32px;
        margin-top: -16px;
        z-index: 40;
    }
    .bf-site .slider-new-products .slick-prev,
    .bf-site .slider-pre-sale-products .slick-prev,
    .bf-site .slider-products-suggestions .slick-prev { left: 8px; }
    .bf-site .slider-new-products .slick-next,
    .bf-site .slider-pre-sale-products .slick-next,
    .bf-site .slider-products-suggestions .slick-next { right: 8px; }

    /* По-ниски карти: по-малко празно място около снимката */
    .bf-site .card:not(.card-horizontal) > .card-img > a { min-height: 176px; padding: 14px 44px 8px; }
    .bf-site .card:not(.card-horizontal) .card-img-top { height: 154px; }
    .bf-site .card:not(.card-horizontal) > .card-img:has(.bf-discount) > a { min-height: 206px; padding-top: 62px; }
    .bf-site .card:not(.card-horizontal) > .card-img:has(.bf-discount) .card-img-top { height: 136px; }
    .bf-site .card:not(.card-horizontal) .card-body { padding: 4px 14px 14px; }
    .bf-site .card:not(.card-horizontal) .card-title { height: auto !important; min-height: 42px; -webkit-line-clamp: 2; }
    .bf-site .card:not(.card-horizontal) .card-price { margin-bottom: 10px; padding: 9px 12px 9px 32px; }
    .bf-site .card .price-new,
    .bf-site .card .price-new.red-text { font-size: 21px; }

    /* Заглавията на секциите винаги отляво, като останалите */
    .bf-home .main-title.text-center,
    .bf-home .main-title.text-center .main-title-effect { text-align: left !important; }
    .bf-home .main-title.text-center { justify-content: space-between; }

    /* Продукт: по-кратък път до снимката и цената */
    .bf-site .breadcrumb ul { font-size: 13px; line-height: 1.5; }
    .bf-site .breadcrumb li.active:last-child { display: none; }
    .bf-site .product-inner-content .main-title-inner { font-size: 20px; line-height: 1.3; }

    /* Продукт: мобилният блок с цената е черна Black Friday табела */
    .bf-site .aside-product-inner-left .product-price-and-btn {
        width: auto;
        margin: 12px 0 0;
        padding: 0 14px 14px;
        overflow: hidden;
        border: 0;
        border-radius: 14px;
        color: #fff;
        background: #11161c;
        box-shadow: 0 12px 26px rgba(4, 8, 12, .2);
        text-align: center;
    }
    .bf-site .aside-product-inner-left .product-price-and-btn:before {
        content: "BLACK FRIDAY PRICE";
        display: block;
        margin: 0 -14px 12px;
        padding: 10px 14px;
        color: var(--bf-ink);
        background: var(--bf-yellow);
        font-family: var(--bf-display);
        font-size: 15px;
        font-weight: 900;
        letter-spacing: .04em;
    }
    .bf-site .aside-product-inner-left .product-price-and-btn .d-flex.flex-column { align-items: center; }
    .bf-site .aside-product-inner-left .product-price-and-btn .price-old {
        color: #aeb5bc;
        font-size: 15px;
        text-decoration: line-through;
        text-decoration-color: var(--bf-orange);
        text-decoration-thickness: 2px;
    }
    .bf-site .aside-product-inner-left .product-price-and-btn .price-new,
    .bf-site .aside-product-inner-left .product-price-and-btn .price-new.red-text {
        margin: 2px 0 8px;
        color: var(--bf-yellow) !important;
        font-family: var(--bf-display);
        font-size: 32px;
        font-weight: 900;
        line-height: 1.1;
    }
    .bf-site .aside-product-inner-left .product-price-and-btn .price-promo-date { color: #d1d6db; font-size: 13px; }
    .bf-site .aside-product-inner-left .product-price-and-btn .price-promo-date .red-text { color: var(--bf-yellow) !important; }
    .bf-site .aside-product-inner-left .product-price-and-btn #tbi_button { margin: 8px 0 0; border-radius: 8px; }
    .bf-site .aside-product-inner-left .product-price-and-btn #buy_now {
        margin: 10px 0 0;
        padding: 14px 12px;
        border-radius: 8px;
        color: var(--bf-ink) !important;
        background-image: linear-gradient(135deg, #ffda00, #ff9d00) !important;
        font-size: 17px;
        font-weight: 900;
    }

    /* Десният панел на телефон няма цена: без празната жълта табела */
    .bf-site .product-inner-price:not(:has(.product-price-and-btn)) { padding-top: 16px; }
    .bf-site .product-inner-price:not(:has(.product-price-and-btn)) .bf-price-eyebrow { display: none; }
}

/* Малък телефон: бутоните „Разпродажба“ и „Намалени“ в менюто се събират с иконата */
@media (max-width: 380px) {
    .bf-site .navbar-nav li[class*="mobile-width-50"] > a { max-width: 100%; padding-left: 8px; padding-right: 36px; font-size: 14px; }
}

/* ==========================================================================
   Лява колона в категориите (11.11.2026): лека BF рамка, без движение.
   Черни заглавия със синя линия, рамка като на картите, син ред
   за избраната категория и сини отметки. Синьото е на CMX (жълтото е на Mashini.bg).
   ========================================================================== */
.bf-site #aside-left #accordion-categories,
.bf-site #aside-left #accordion-filters {
    background: #fff;
    border: 2px solid var(--bf-ink);
    border-radius: 4px 4px 14px 14px;
    box-shadow: 6px 6px 0 rgba(15,17,20,.12);
    overflow: hidden;
}

.bf-site #aside-left .accordion-header,
.bf-site #aside-left .accordion-header .mb-0 { background: var(--bf-ink); border: 0; border-radius: 0; }

.bf-site #aside-left .accordion-header .btn-link {
    color: #fff !important;
    background: var(--bf-ink) !important;
    border: 0 !important;
    border-bottom: 4px solid var(--bf-blue) !important;
    border-radius: 0 !important;
    font-family: var(--bf-display);
    font-weight: 800;
    letter-spacing: -.01em;
    text-decoration: none !important;
}

.bf-site #aside-left .accordion-header .btn-link:focus-visible { outline: 3px solid var(--bf-blue); outline-offset: -3px; }

/* Знаците „+“ и „—“ в заглавията са сини */
.bf-site #aside-left .accordion-header .btn-link:before,
.bf-site #aside-left .accordion-header .btn-link:after {
    background-color: var(--bf-blue) !important;
    border-color: var(--bf-blue) !important;
}

/* Списъкът с категории */
.bf-site #aside-left #collapseCategories a {
    border-left: 4px solid transparent;
    transition: background-color .15s ease, border-color .15s ease;
}

.bf-site #aside-left #collapseCategories a:hover,
.bf-site #aside-left #collapseCategories a:focus-visible {
    background: #e8f3fc;
    border-left-color: var(--bf-blue);
}

.bf-site #aside-left #collapseCategories a.active {
    background: #0b6cb8 !important;
    border-left-color: var(--bf-ink);
}

.bf-site #aside-left #collapseCategories a.active .category-title { color: #fff !important; font-weight: 700; }

.bf-site #aside-left .count-badge {
    color: #5b626b;
    font-family: var(--bf-display);
    font-size: 11px;
    font-weight: 700;
}

.bf-site #aside-left #collapseCategories a.active .count-badge { color: #fff; }

/* Филтрите */
.bf-site #aside-left .slider-box > span,
.bf-site #aside-left .aside-filter-brand > span,
.bf-site #aside-left #selected-filters > div:first-child {
    color: var(--bf-ink);
    font-family: var(--bf-display);
    font-weight: 800;
}

.bf-site #aside-left .form-control:focus {
    border-color: var(--bf-ink);
    box-shadow: 0 0 0 3px rgba(29,143,225,.35);
}

.bf-site #aside-left .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--bf-blue);
    border-color: var(--bf-blue);
}

.bf-site #aside-left .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.bf-site #aside-left .custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 3px rgba(29,143,225,.35); }

@media (prefers-reduced-motion: reduce) {
    .bf-site #aside-left #collapseCategories a { transition: none; }
}

/* Надписът „BLACK FRIDAY PRICE“ в категориите (11.11.2026): черен стикер
   с бели букви и синя сянка (синьото е на CMX). Цената е както преди. */
@media (min-width: 769px) {
    .bf-site .card-horizontal .card-price:has(.price-old):before {
        display: table;
        margin: 0 auto 10px;
        padding: 6px 12px 5px;
        color: #fff;
        background: var(--bf-ink);
        border: 2px solid var(--bf-ink);
        border-radius: 3px;
        box-shadow: 3px 3px 0 var(--bf-blue);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .12em;
        line-height: 1;
    }

    /* Без промоция няма Black Friday надпис */
    .bf-site .card-horizontal .card-price:not(:has(.price-old)):before { display: none; }
}

/* Таблет и малък лаптоп: стикерът до процента не се побира в тясната снимка */
@media (min-width: 769px) and (max-width: 1199px) {
    .bf-site .card-horizontal .bf-discount:after { display: none; }
    .bf-site .card-horizontal .card-price:has(.price-old):before { padding: 5px 6px 4px; font-size: 9px; letter-spacing: .01em; white-space: nowrap; }
    .bf-site .card-horizontal > .card-img:has(.bf-discount) .card-img-top { padding-top: 40px !important; }
}

/* Целият синьо-лилав слой е само за браузъри, които разбират :has().
   В по-стари (iOS < 15.4, Firefox < 121) сайтът остава с досегашния вид, вместо да стане бял с бели заглавия. */
@supports selector(:has(*)) {

/* ==========================================================================
   Синьо-лилав фон с плуващи светлини — НАВСЯКЪДЕ (12.11.2026, Денислав).
   <main> обхваща цялата страница (и header-а). Тъмносин към лилав фон с едва
   видима мрежа; сини и лилави светлини бавно плуват зад съдържанието.
   Белите карета (продукт, карти, SEO текст) остават бели.
   ========================================================================== */
/* Фонът е на <html> (body и main са прозрачни), а светлините са фиксиран слой зад всичко (z-index: -1).
   НЕ слагай isolation/z-index/overflow на <main>: тогава прозорците на Bootstrap
   („Добавихте продукт“, вход, регистрация) остават под тъмния воал и не се натискат. */
html:has(> body.bf-site) {
    background:
        linear-gradient(rgba(140,160,255,.05) 1px, transparent 1px) 0 0 / 48px 48px fixed,
        linear-gradient(90deg, rgba(140,160,255,.05) 1px, transparent 1px) 0 0 / 48px 48px fixed,
        linear-gradient(180deg, #0d1030 0, #120c2b 45%, #0a0b16 100%) fixed,
        #0a0b16;
}
html body.bf-site,
html body.bf-site.bf-home,
.bf-site main { background: transparent !important; }

/* Header-ът (на началната той съдържа и банера) няма собствен бял фон. */
.bf-site main > header { background: transparent !important; }

/* Количката и поръчката: винаги в бяло каре (на телефон старият CSS го прави прозрачно) */
.bf-site main .content.basket-inner-view { color: var(--bf-ink); background: #fff !important; border-radius: 6px; }
@media (max-width: 768px) {
    .bf-site main .content.basket-inner-view { padding: 16px 12px; }
}

/* В списъците с продукти текстът директно върху фона е бял */
.bf-site main:has(.product-list-container) { color: #fff; }

/* Сини и лилави светлини, които бавно плуват зад съдържанието.
   Слоят е фиксиран за екрана, затова светлините се виждат по цялата страница. */
body.bf-site:before {
    content: "";
    position: fixed;
    inset: -12%;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 30%, rgba(29,143,225,.55), transparent 32%),
        radial-gradient(circle at 88% 22%, rgba(139,61,255,.50), transparent 34%),
        radial-gradient(circle at 70% 85%, rgba(29,143,225,.30), transparent 30%),
        radial-gradient(circle at 25% 90%, rgba(139,61,255,.32), transparent 30%);
    filter: blur(20px);
    pointer-events: none;
    animation: bf-aurora 16s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes bf-aurora {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(6%, -4%, 0) scale(1.08); }
    100% { transform: translate3d(-5%, 5%, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    body.bf-site:before { animation: none; }
}

.bf-site main .breadcrumb { background: transparent; }

.bf-site main .breadcrumb,
.bf-site main .breadcrumb a,
.bf-site main .breadcrumb span { color: #c9cfd6 !important; }

/* Заглавията на секции директно върху фона са бели (напр. „Подобни продукти“, „ТОП Предложения“) */
.bf-site main .main-title-effect { color: #fff !important; }
.bf-site main .main-title-effect.red-text { color: var(--bf-yellow) !important; }
/* Вътре в бялото каре на продукта („Подобни продукти“) заглавието е тъмно */
.bf-site main .product-inner-content .main-title-effect { color: var(--bf-ink) !important; }

/* Информационни страници (Условия, Контакти, Доставка и др.) и поръчката:
   съдържанието им е тъмен текст, затова е в бяло каре като продукта. */
.bf-site main:not(:has(.product-list-container, .product-inner, .bf-image-hero)) > .custome-container > .content:not(.basket-inner-view) {
    margin-bottom: 24px;
    padding: 24px 28px;
    color: var(--bf-ink);
    background: #fff;
    border: 2px solid #000;
    border-radius: 6px;
    box-shadow: 0 0 0 1px #2c3036, 6px 6px 0 #2c3036;
}
.bf-site main:not(:has(.product-list-container, .product-inner, .bf-image-hero)) > .custome-container > .content .main-title-effect { color: var(--bf-ink) !important; }

@media (max-width: 768px) {
    .bf-site main:not(:has(.product-list-container, .product-inner, .bf-image-hero)) > .custome-container > .content:not(.basket-inner-view) { padding: 16px 14px; }
}

} /* край на @supports */

/* Заглавието над продуктите е малък банер: работилницата от главния банер
   (оранжевите лампи и машините) отдясно, тъмно отляво, името на категорията в бяло.
   Само това заглавие, не заглавията в SEO текста отдолу. */
.bf-site main:has(.product-list-container) #aside-right .main-title-inner { width: 100%; }

.bf-site main:has(.product-list-container) #aside-right .main-title-inner h1 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 168px;
    margin: 0 0 16px;
    padding: 26px 34% 26px 30px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, #0a0b0d 0, rgba(10,11,13,.94) 30%, rgba(10,11,13,.55) 58%, rgba(10,11,13,.05) 100%),
        url("../images/black-friday-2026/hero-desktop-v2.webp") right -40px center / auto 330% no-repeat,
        #0a0b0d;
    border: 2px solid #000;
    border-bottom: 4px solid var(--bf-blue);
    border-radius: 6px;
    box-shadow: 0 0 0 1px #2c3036, 6px 6px 0 #2c3036;
    font-family: var(--bf-display);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-shadow: 0 2px 18px rgba(0,0,0,.6);
}

.bf-site main:has(.product-list-container) #aside-right .main-title-inner h1:before {
    content: "Black Friday";
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 5px 10px 4px;
    color: #fff;
    background: var(--bf-ink);
    border: 2px solid #fff;
    border-left: 8px solid var(--bf-blue);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1;
    text-shadow: none;
    text-transform: uppercase;
}

.bf-site main:has(.product-list-container) #accordion-categories,
.bf-site main:has(.product-list-container) #accordion-filters,
.bf-site main:has(.product-list-container) .card-horizontal {
    border-color: #000 !important;
    box-shadow: 0 0 0 1px #2c3036, 6px 6px 0 #2c3036 !important;
}

@media (max-width: 1199px) {
    .bf-site main:has(.product-list-container) #aside-right .main-title-inner h1 { min-height: 140px; padding: 22px 30% 22px 24px; font-size: 30px; }
}

/* Телефон: заглавието е в средата, машините се виждат през тъмен воал */
@media (max-width: 768px) {
    .bf-site main:has(.product-list-container) #aside-right .main-title-inner h1 {
        align-items: center;
        min-height: 128px;
        padding: 20px 16px;
        font-size: 24px !important;
        line-height: 1.15 !important;
        text-align: center;
        background:
            linear-gradient(rgba(10,11,13,.72), rgba(10,11,13,.72)),
            url("../images/black-friday-2026/hero-desktop-v2.webp") right -20px center / auto 260% no-repeat,
            #0a0b0d;
    }
    .bf-site main:has(.product-list-container) #aside-right .main-title-inner h1:before { align-self: center; }
}

/* ==========================================================================
   Ценовият панел в продукта — подредено (12.11.2026, Денислав: „не ми е структурирано“).
   „Супер оферта“: заглавие отгоре, под него „Спестявате“ вляво и сумата вдясно в жълто каре.
   Етикетите („Последна 1 бр.“, „Препоръчан“) са еднакви ленти на цялата ширина.
   Само стилове; HTML-ът е оригиналният.
   ========================================================================== */
.bf-site .product-inner-price .super-sale {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
    margin: 0 0 14px;
    padding: 0 !important;
    overflow: hidden;
    text-align: left;
    background: rgba(255,213,0,.06) !important;
    border: 1px solid rgba(255,213,0,.5);
    border-radius: 8px;
}

.bf-site .product-inner-price .super-sale .super-sale-text {
    grid-column: 1 / -1;
    width: auto;
    padding: 9px 14px 8px;
    color: var(--bf-ink) !important;
    background: var(--bf-yellow);
    font-family: var(--bf-display);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1;
    text-align: center;
}

.bf-site .product-inner-price .super-sale .super-sale-text-discount {
    padding: 12px 0 12px 14px;
    color: #d1d6db !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
}

.bf-site .product-inner-price .super-sale .super-sale-price,
.bf-site .product-inner-price .super-sale .super-sale-price.red-text {
    position: static !important;
    margin: 8px 12px 8px 0;
    padding: 5px 10px 4px;
    color: var(--bf-ink) !important;
    background: var(--bf-yellow) !important;
    border: 0;
    border-radius: 4px;
    font-family: var(--bf-display);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

/* Етикетите под цената: еднакви ленти на цялата ширина, една под друга */
.bf-site .product-price-and-btn > div:has(> .label-limited_stock_qty),
.bf-site .product-price-and-btn > div:has(> .product-featured) {
    display: block;
    margin: 0 0 8px !important;
}

.bf-site .product-price-and-btn .label-limited_stock_qty,
.bf-site .product-price-and-btn .product-featured {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    padding: 0 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1;
    text-align: center;
}

/* Етикетите са табелки с рамка, за да не приличат на бутоните отдолу */
.bf-site .product-price-and-btn .label-limited_stock_qty {
    color: #ff9a52 !important;
    background: rgba(255,106,0,.12) !important;
    border: 1px solid rgba(255,106,0,.65);
}
.bf-site .product-price-and-btn .product-featured {
    color: #d4c4ff;
    background: rgba(106,63,214,.2);
    border: 1px solid rgba(150,110,255,.65);
}
.bf-site .product-price-and-btn .product-featured b { font-weight: 800; }

/* ==========================================================================
   Поправки след прегледа преди пускане (12.11.2026)
   ========================================================================== */

/* 1. Ценовият панел в продукта НЕ лепне за екрана (както на живия сайт).
   Залепен и по-висок от екрана, той криеше бързата поръчка и бутоните под „Купи“. */
@media (min-width: 992px) {
    .bf-site .product-inner-price { position: static; top: auto; }
}

/* 2. „BLACK FRIDAY PRICE“ само при истинска промоция (има стара цена).
   Без промоция не пишем Black Friday над цената — иначе изглежда като измислена отстъпка. */
.bf-site .card-price:not(:has(.price-old)):before { content: none; display: none; }
.bf-site .aside-product-inner-left .product-price-and-btn:not(:has(.price-old)):before { content: none; display: none; }
