.promo-stock-inline {
    display: none;
}

.promo-installments-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 3px 0 10px;
    color: #657184;
    font-size: 11px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.promo-installments-icon {
    top: 1.5px;
    position: relative;
}

.promo-installments-inline--placeholder {
    visibility: hidden;
}



.cms-bf-promo-home .block-products-list .price-box .old-price {
    margin-right: 0 !important;
}

.cms-bf-promo-home .block-products-list .old-price span.price-container.price-final_price,
.cms-bf-promo-home .block-products-list .old-price span.price-container.price-final_price .price {
    text-decoration-color: #B9BED1 !important;
}

.promo-installments-text {
    min-width: 0;
}

/* Promo page skin migrated from the Page Builder inline block. */
.cms-index-index.cms-bf-promo-home .cdz-main-content.widget.block.block-static-block,
.cms-index-index.cms-bf-promo-home div#mobi_vertcial-menu-container,
.cms-index-index.cms-bf-promo-home .page-main.page-main-full,
.cms-index-index.cms-bf-promo-home main#maincontent,
body.cms-bf-promo-home {
    background-color: #01375D !important;
}

body.cms-bf-promo-home .mst-searchautocomplete__autocomplete.etele-searchsuggestions__autocomplete,
body.cms-bf-promo-home .mst-searchautocomplete__autocomplete.etele-searchsuggestions__autocomplete._active {
    z-index: 10050 !important;
}

.cms-bf-promo-home .magento-hero-buttons {
    background: rgb(1 55 93) !important;
}

.cms-bf-promo-home ul.tabs-navigation {
    background: #0079CF !important;
}

.cms-bf-promo-home .header-vertical-menu-wrap .menu-container li.item.level0.level-top.parent a.menu-link,
.cms-bf-promo-home .cdz-vertical-menu .item.level0.parent:hover > a.menu-link {
    pointer-events: none;
}

.cms-bf-promo-home .tab-align-center .tabs-navigation li.tab-header.ui-tabs-active a.tab-title {
    color: #000 !important;
    background-color: #FEC700 !important;
}

.cms-bf-promo-home .tabs-navigation li.tab-header a.tab-title.ui-tabs-anchor {
    color: #FFF !important;
    background-color: #0079CF !important;
}

.cms-bf-promo-home .tabs-navigation li.tab-header:not(.ui-tabs-active) a.tab-title:hover {
    background: #FFF !important;
    color: #000 !important;
}

.cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link,
.cms-bf-promo-home .page-header.header-style-07 .header-menu-wrap .knavihor .groupmenu,
.cms-bf-promo-home .page-header .header-panel-bottom {
    background-color: #0079CF !important;
}

.cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link:visited,
.cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link {
    color: #FFF !important;
}

.cms-bf-promo-home .col-sm-12.header-menu-wrap .menu-link,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .menu-link:visited {
    color: #FFF !important;
}

.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.eco > a.menu-link,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.eco > a.menu-link:visited,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.eco > a.menu-link span,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.eco > a.menu-link i,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.phone > a.menu-link,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.phone > a.menu-link:visited,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.phone > a.menu-link span,
.cms-bf-promo-home .col-sm-12.header-menu-wrap .groupmenu .item.phone > a.menu-link i {
    color: #FFF !important;
}

.cms-bf-promo-home .main-content-top-left .menu-title {
    background: #FEC700 !important;
    color: #000 !important;
}

body.cms-bf-promo-home .page-footer .footer-content-middle,
body.cms-bf-promo-home .page-footer .footer-content-bottom {
    background-color: #282828 !important;
}

.cms-bf-promo-home span.savepercentage {
    background-color: #FEC700 !important;
    color: #000 !important;
}

body.cms-bf-promo-home .phone a span,
body.cms-bf-promo-home .phone a i,
body.cms-bf-promo-home .eco a span {
    color: #FFF !important;
}

.cms-index-index.cms-bf-promo-home button.action.tocart.primary,
.cms-bf-promo-home button.action.tocart.primary,
body.cms-bf-promo-home button.action.tocart.primary {
    background-color: #FEC700 !important;
    border-color: #FEC700 !important;
}

.cms-index-index.cms-bf-promo-home button.action.tocart.primary:hover,
.cms-index-index.cms-bf-promo-home button.action.tocart.primary:focus,
.cms-bf-promo-home button.action.tocart.primary:hover,
.cms-bf-promo-home button.action.tocart.primary:focus,
body.cms-bf-promo-home button.action.tocart.primary:hover,
body.cms-bf-promo-home button.action.tocart.primary:focus {
    background: #FFF !important;
    color: #000 !important;
}

@media (min-width: 320px) and (max-width: 480px) {
    .cms-bf-promo-home .main-content-top-left .menu-title {
        color: #000 !important;
        background: #FEC700 !important;
    }
}

/* Additional mobile adjustments for the promo page, migrated from the Page Builder inline block. */
@media (max-width: 767px) {
  body.cms-bf-promo-home .magento-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px;
    margin: 20px 0 20px 0;
    background: transparent;
    width: 100%;
  }

  /* Resetting the <a> tags */
  body.cms-bf-promo-home .magento-hero-buttons a {
    text-decoration: none !important;
    display: block;
  }

  body.cms-bf-promo-home .magento-hero-buttons .btn-top {
    color: white;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 20px;
    line-height: 1.1;
    box-shadow: none;
  }

  body.cms-bf-promo-home .magento-hero-buttons .btn-bottom {
    color: #000033;
    background: white;
    border: none;
    padding: 6px 30px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.1;
    box-shadow: none;
  }
  body.cms-bf-promo-home .magento-hero-buttons button {
    box-shadow: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Keeps it clean on mobile taps */
  }
}


/*======================================================*/
@media (min-width: 768px) {
    /* Quick hotfix: update homepage Livrare Gratuita threshold text */
    .cms-index-index .k-body-top-panel-wrapper .k-cvp-wrapper .k-cvp[href*="livrare"] .k-cvp-sub {
        font-size: 0;
    }

    .cms-index-index .k-body-top-panel-wrapper .k-cvp-wrapper .k-cvp[href*="livrare"] .k-cvp-sub::before {
        content: 'peste 250 Lei';
        font-size: 13px;
    }

    .cms-bf-promo-home .block-products-list .products-grid .product-item {
        transition: box-shadow 0.25s ease;
        border-radius: 0;
        position: relative;
        isolation: isolate;
        overflow: visible;
    }

    .cms-bf-promo-home .block-products-list .products-grid .product-item:hover {
        box-shadow: 0 0 16px 3px rgba(255, 255, 255, 0.40);
        position: relative;
        z-index: 2;
    }

    .cms-bf-promo-home .block-products-list .products-grid .product-item.is-best-promo {
        z-index: 1;
    }

    .cms-bf-promo-home .block-products-list .products-grid .product-item.is-best-promo::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 8px solid #FEC700;
        box-sizing: border-box;
        z-index: 5;
        pointer-events: none;
    }

    /* Homepage-only micro-adjustment: shift border 1px left and 1px down */
    .cms-index-index.cms-bf-promo-home .block-products-list .products-grid .product-item.is-best-promo::after {
        top: -1px;
        right: -1px;
        bottom: -1px;
        left: -1px;
        transform: none;
    }

    /*.cms-bf-promo-home .block-products-list .products-grid .product-item.is-best-promo:hover {
        box-shadow: inset 0 0 0 7px #FEC700, 0 0 16px 3px rgba(255, 255, 255, 0.58);
    }*/

    .cms-bf-promo-home .promo-stock-inline {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 6px;
        margin-bottom: 8px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
    }

    .cms-bf-promo-home .promo-stock-inline.in-stock {
        color: #74B208;
    }

    .cms-bf-promo-home .promo-stock-inline.out-of-stock {
        color: #b71c1c;
    }

    .cms-bf-promo-home .promo-stock-inline .promo-stock-mark {
        font-size: 14px;
        line-height: 1;
    }
}


.catalog-product-view .product-info-main .price-box.price-final_price .old-price .price-wrapper::after, .cms-index-index .price-box .old-price .price-wrapper::after, .catalog-category-view .price-box .old-price .price-wrapper::after, .catalogsearch-result-index .price-box .old-price .price-wrapper::after, .cms-bf-promo-home .price-box .old-price .price-wrapper::after{
    border-top: 1px solid #B9BED1 ;
}

/* Promo color declarations migrated from generic/theme promo CSS. */
.cms-bfhome .container.sapce-base .cdz-blog-wrap.base-slider.post-list-style05 p.b-title.h2 span {
    color: #ffffff;
}

.cms-bf-promo-home .tabs-navigation li.tab-header a.tab-title {
    color: #ffffff;
    background-color: #0079CF;
}

.cms-bf-promo-home .tabs-navigation li.tab-header:not(.ui-tabs-active) a.tab-title:hover {
    background: #FFFFFF;
    color: #000000;
}

.cms-bf-promo-home .btn-more-product a.pagebuilder-button-primary {
    background: #FEC700;
    color: #000000!important;
}

.cms-bf-promo-home a.pagebuilder-button-primary {
    border-color: #FEC700!important;
}

.cms-bf-promo-home a.pagebuilder-button-primary:hover {
    border-color: #FEC700!important;
    background: #fff!important;
}

.cms-bf-promo-home a.pagebuilder-button-primary:hover span {
    color: #000000!important;
}

@media screen and (max-width: 480px) {
    .cms-bfhome .menu-title {
        background: #eb5800!important;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .cms-bfhome .menu-title {
        background: #eb5800!important;
    }

    .cms-bf-promo-home .actions-primary .tocart {
        color: #fff;
        border-color: #eb5800;
        background: #eb5800;
    }
}

@media (min-width: 220px) and (max-width: 480px) {
    .cms-bf-promo-home i.fa-solid.fa-chevron-left,
    .cms-bf-promo-home i.fa-solid.fa-chevron-right {
        color: #fff;
    }

    .cms-bf-promo-home button.left,
    .cms-bf-promo-home button.right {
        background-color: #0079CF;
    }

    .cms-bf-promo-home .actions-primary .tocart {
        color: #000000!important;
        border-color: #FEC700!important;
        background: #FEC700!important;
    }

    .cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link,
    .cms-bf-promo-home .page-header.header-style-07 .header-menu-wrap .knavihor .groupmenu,
    .cms-bf-promo-home .page-header .header-panel-bottom {
        background-color: transparent;
    }

    .cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link:visited,
    .cms-bf-promo-home .cdz-horizontal-menu .groupmenu li.level0 > a.menu-link {
        color: #444;
    }
}

/* Palette enforcement: outrank older promo colors still present in theme CSS. */
html body.cms-bf-promo-home,
body.cms-bf-promo-home .cdz-main-content.widget.block.block-static-block,
body.cms-bf-promo-home div#mobi_vertcial-menu-container,
body.cms-bf-promo-home .page-main.page-main-full,
body.cms-bf-promo-home main#maincontent {
    background-color: #01375D !important;
}

@media (min-width: 768px) {
    body.cms-bf-promo-home .magento-hero-buttons {
        background: rgb(1 55 93) !important;
    }
}

body.cms-bf-promo-home .product-nav-bar,
body.cms-bf-promo-home ul.tabs-navigation,
body.cms-bf-promo-home ul.tabs-navigation.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all {
    background: #0079CF !important;
}

body.cms-bf-promo-home .tabs-navigation li.tab-header:not(.ui-tabs-active) a.tab-title:hover,
body.cms-bf-promo-home .product-nav-bar .nav-jump-btn:hover {
    background: #FFF !important;
    color: #000 !important;
}

body.cms-bf-promo-home .product-nav-bar .nav-jump-btn.is-active,
body.cms-bf-promo-home .product-nav-bar .tab-header.ui-tabs-active .nav-jump-btn,
body.cms-bf-promo-home .tab-align-center .tabs-navigation li.tab-header.ui-tabs-active a.tab-title {
    color: #000 !important;
    background: #FEC700 !important;
}

body.cms-bf-promo-home div#mobi_vertcial-menu-container .menu-title {
    background: #FEC700 !important;
    color: #000 !important;
}

body.cms-bf-promo-home span.savepercentage {
    background-color: #FEC700 !important;
    color: #000 !important;
}

body.cms-bf-promo-home button.action.tocart.primary {
    background: #FEC700 !important;
    border-color: #FEC700 !important;
    color: #000 !important;
}

body.cms-bf-promo-home button.action.tocart.primary:hover,
body.cms-bf-promo-home button.action.tocart.primary:focus {
    background: #FFF !important;
    color: #000 !important;
}
/* transition: background-color 0.2s ease, color 0.2s ease; */
