/* Product card carousel – aspect-ratio image box */
.owl-carousel-products .v2_bnc_pr_item,
.v2_bnc_home_products_new .owl-carousel-products .v2_bnc_pr_item {
    position: relative;
}
.owl-carousel-products .v2_bnc_pr_item.padding-10 {
    padding: 0 10px 10px !important;
}
.owl-carousel-products .v2_bnc_pr_item_saleof.v2_bnc_btn_sale {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
}
.owl-carousel-products .v2_bnc_pr_item_saleof.v2_bnc_btn_sale span {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.owl-carousel-products .v2_bnc_pr_item_saleof.v2_bnc_btn_sale span:after {
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
}
.owl-carousel-products .v2_bnc_pr_item_img {
    position: relative;
    width: calc(100% + 20px);
    margin: 0 -10px;
    aspect-ratio: 1;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
}
.owl-carousel-products .v2_bnc_pr_item_img a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
}
.owl-carousel-products .v2_bnc_pr_item_img img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}
.owl-carousel-products .v2_bnc_pr_item_boxdetails {
    padding: 10px 0 0;
}
.owl-carousel-products .v2_bnc_pr_item_name {
    min-height: 66px;
    max-height: 66px;
    margin: 0 0 8px;
    overflow: hidden;
    line-height: 22px;
    text-align: center;
}
.owl-carousel-products .v2_bnc_pr_item_name a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.owl-carousel-products .v2_bnc_pr_item_price_main {
    min-height: 28px;
    text-align: center;
}
@supports not (aspect-ratio: 1 / 1) {
    .owl-carousel-products .v2_bnc_pr_item_img::before {
        content: "";
        display: block;
        padding-top: 100%;
    }
    .owl-carousel-products .v2_bnc_pr_item_img a {
        position: absolute;
        inset: 0;
    }
}
@media (max-width: 767px) {
    .owl-carousel-products .v2_bnc_pr_item_img a {
        padding: 8px;
    }
    .owl-carousel-products .v2_bnc_pr_item_name {
        min-height: 44px;
        max-height: 44px;
    }
    .owl-carousel-products .v2_bnc_pr_item_name a {
        -webkit-line-clamp: 2;
    }
}

/* Product grid – equal-height cards (category / listing pages) */
.f-product-viewid.f-product.row {
    display: flex;
    flex-wrap: wrap;
}
.f-product-viewid.f-product.row > li {
    display: flex;
    flex-direction: column;
    float: none;
}
.f-product-viewid.f-product .v2_bnc_pr_item {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
}
.f-product-viewid.f-product .v2_bnc_pr_item_saleof.v2_bnc_btn_sale {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
}
.f-product-viewid.f-product .v2_bnc_pr_item_saleof.v2_bnc_btn_sale span {
    position: relative;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.f-product-viewid.f-product .v2_bnc_pr_item_saleof.v2_bnc_btn_sale span:after {
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
}
.f-product-viewid.f-product .v2_bnc_pr_item_img {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    background: #f8fbff;
    border-bottom: 1px solid #eef2f6;
}
.f-product-viewid.f-product .v2_bnc_pr_item_img a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    overflow: hidden;
}
.f-product-viewid.f-product .v2_bnc_pr_item_img img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}
.f-product-viewid.f-product .v2_bnc_pr_item_boxdetails {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 8px;
}
.f-product-viewid.f-product .v2_bnc_pr_item_name {
    flex-shrink: 0;
    height: auto !important;
    min-height: 66px;
    max-height: 66px;
    margin: 0 0 8px;
    overflow: hidden;
    line-height: 22px;
}
.f-product-viewid.f-product .v2_bnc_pr_item_name a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.f-product-viewid.f-product .v2_bnc_pr_item_price_main,
.f-product-viewid.f-product .v2_bnc_pr_item_price_main.v2_bnc_pr_item_price_cate {
    flex-shrink: 0;
    height: auto !important;
    min-height: 56px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.f-product-viewid.f-product .v2_bnc_pr_item_price,
.f-product-viewid.f-product .v2_bnc_pr_item_price_old,
.f-product-viewid.f-product .v2_bnc_pr_item_no_prices,
.f-product-viewid.f-product .v2_bnc_pr_item_no_price {
    display: block;
    width: 100%;
    margin: 0 !important;
    line-height: 1.25;
    font-size: 16px !important;
}
.f-product-viewid.f-product .v2_bnc_pr_item_price_old {
    font-size: 14px !important;
    font-weight: 400 !important;
}
.f-product-viewid.f-product .v2_bnc_pr_item_no_prices,
.f-product-viewid.f-product .v2_bnc_pr_item_no_price {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0284c7;
}
.f-product-viewid.f-product .v2_bnc_pr_item_details {
    display: block;
    width: calc(100% - 4px);
    max-width: 160px;
    margin: auto auto 10px !important;
    margin-top: auto !important;
    padding: 6px 12px;
    font-size: 12px;
}
@media (max-width: 767px) {
    .f-product-viewid.f-product .v2_bnc_pr_item_name {
        min-height: 44px;
        max-height: 44px;
    }
    .f-product-viewid.f-product .v2_bnc_pr_item_name a {
        -webkit-line-clamp: 2;
    }
    .f-product-viewid.f-product .v2_bnc_pr_item_price_main,
    .f-product-viewid.f-product .v2_bnc_pr_item_price_main.v2_bnc_pr_item_price_cate {
        min-height: 48px;
    }
    .f-product-viewid.f-product .v2_bnc_pr_item_price,
    .f-product-viewid.f-product .v2_bnc_pr_item_no_prices {
        font-size: 14px !important;
    }
}

/* Hero slider: padding-top % is based on parent width, so height exists on first paint */
.slideshow_block_top {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eef2f6;
    aspect-ratio: 16 / 9;
}
.slideshow_block_top::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.slideshow_block_top .owl-carousel,
.slideshow_block_top .owl-wrapper-outer,
.slideshow_block_top .owl-item,
.slideshow_block_top figure,
.slideshow_block_top a,
.slideshow_block_top picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
.slideshow_block_top .owl-carousel {
    position: absolute;
    inset: 0;
    display: block !important;
}
.slideshow_block_top .owl_sidebar_slideshow > figure + figure {
    display: none;
}
.slideshow_block_top img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}
/* Theme already draws FA arrows on ::before — hide extra inner icons */
.slideshow_block_top .owl-prev i,
.slideshow_block_top .owl-next i,
.slideshow_block_top .flex-prev-slideshow,
.slideshow_block_top .flex-next-slideshow {
    display: none !important;
}
#logo img,
.logo_mobile img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}
iframe[data-bnc-map="1"] {
    background: #e9eef2;
}
button.v2_bnc_icon_scrolltop {
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    color: inherit;
}
.item-contact {
    cursor: pointer;
}
@media (max-width: 991px) {
    .button_menu_mobile,
    #nav_list,
    button#nav_list,
    .v2_bnc_search,
    button.v2_bnc_search,
    .v2_bnc_icon_filter,
    .v2_bnc_icon_filter .btn {
        min-width: 48px;
        min-height: 48px;
        box-sizing: border-box;
    }
    button#nav_list,
    button.v2_bnc_search {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fcf6f6;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }
    .button_menu_mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        left: 6px;
        top: 4px;
        z-index: 999;
    }
    #nav_list {
        position: relative;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        width: 48px;
        color: inherit;
    }
    .v2_bnc_search {
        width: 48px;
        height: 48px;
        line-height: 48px;
    }
    .v2_bnc_search .icons,
    .v2_bnc_search .icon-magnifier {
        padding: 0;
        font-size: 22px;
        color: #fcf6f6;
    }
    .v2-filterpr select,
    #sort_filter,
    #limit_filter {
        min-height: 48px;
        padding: 8px 12px;
    }
    .owl-carousel-products .v2_bnc_pr_item_img,
    .f-product-viewid.f-product .v2_bnc_pr_item_img,
    .f-product-viewid.f-product.row > li .v2_bnc_pr_item_img {
        aspect-ratio: 1 / 1 !important;
    }
}
@media (max-width: 767px) {
    .f-product-viewid.f-product.row > li.col-xs-6 .v2_bnc_pr_item_img {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

/* Keep 1/1 crop via overflow, but let img keep natural ratio (PSI aspect-ratio audit) */
.v2_bnc_pr_item_img {
    position: relative;
    overflow: hidden;
}
.v2_bnc_news_item_img,
.v2_bnc_hometab_news_big_img,
.v2_bnc_hometab_news_small_img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef2f6;
}
.v2_bnc_news_item_img img,
.v2_bnc_hometab_news_big_img img,
.v2_bnc_hometab_news_small_img img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: none;
}
.slideshow_block_top .owl-theme .owl-controls .owl-buttons div {
    transition: opacity .3s ease !important;
}
.circle {
    animation: none !important;
}
