/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE ***************/

.onnew {
    border-radius: 10px;
}

.product-image .labels .onnew {
    background: linear-gradient(135deg, var(--porto-new-bgc, #067ecd) 0, var(--porto-new-bgc, #067ecd) 80%);
    border-radius: 100px;
}

.products .product-category .thumb-info-title {
    background-color: #067ecd !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.thumb-info .thumb-info-title {
    font-size: 15px;
}

.sticky-product .availability {
    padding: 2px 6px 0;
    background-color: #16aa5d;
    border-radius: 12px;
    color: #ffffff;
    margin-bottom: 50px !important;
}

#header .main-menu .narrow ul.sub-menu {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.fancybox-opened .fancybox-skin {
    border-radius: 10px;
}

#mini-cart .widget_shopping_cart_content {
    border-radius: 5px !important;
}

.summary-before .labels .onnew {
    background: linear-gradient(135deg, #067ecd 0, #067ecd 80%) !important;
}

.summary-before .labels .onhot,
.summary-before .labels .onnew,
.summary-before .labels .onsale,
.product-image .labels .onsale {
    border-radius: 100px !important;
}

/* Контактна форма */
.contact-form-wrapper {
    padding: 50px;
    border-radius: 20px;
}

.elementor-27010 .elementor-element.elementor-element-95d5dc7 > .elementor-widget-container,
.elementor-27010 .elementor-element.elementor-element-d9dbab3 {
    border-radius: 10px !important;
}

/* Prevent accidental horizontal overflow without overriding Elementor layouts. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* ==== AUTOPORT_SIDEBAR_TABLET (2026-10-04) – страничната лента на категориите (филтри + категории) се показва вляво и на таблет/по-тесни екрани 768–991px, вместо да е скрита зад бутона „Филтри“ ==== */
@media (min-width:768px) and (max-width:991px){
.main-content-wrap > .porto-woo-category-sidebar.mobile-sidebar{position:relative!important;transform:none!important;-webkit-transform:none!important;left:auto!important;top:auto!important;bottom:auto!important;height:auto!important;width:auto!important;flex:0 0 33%!important;max-width:33%!important;order:-1!important;z-index:1!important;box-shadow:none!important;visibility:visible!important;padding-right:14px!important;background:transparent!important;transition:none!important}
.main-content-wrap > .porto-woo-category-sidebar.mobile-sidebar > div,.main-content-wrap > .porto-woo-category-sidebar.mobile-sidebar .sidebar-content{height:auto!important;overflow:visible!important;position:static!important}
.main-content-wrap > .main-content.col-lg-9{flex:0 0 67%!important;max-width:67%!important}
.main-content-wrap > .sidebar-overlay,.porto-product-filters-toggle,.aps-ftoggle-wrap,.porto-woo-category-sidebar .aps-filters__close{display:none!important}
}
