/*
Theme Name: ZooOutlet 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  ***************/


#header .elementor-element-8d5c587 .main-menu > li.menu-item > a, #header .elementor-element-8d5c587 .menu-custom-block span, #header .elementor-element-8d5c587 .menu-custom-block a, .elementor-element-8d5c587 .sidebar-menu > li.menu-item > a {
    font-family: "Lexend", Poppins;
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.035em;
}

.sidebar-content {
    background: #f3f8fd !important;
    padding: 20px;
}



/* ZooOutlet – biały tekst menu na hover i aktywnej stronie */
#header .main-menu > li.menu-item.active > a {
    color: rgb(238 201 127) !important;
}


.custom-menu .main-menu li > a > i {
    color:rgb(238 201 127) !important;
    vertical-align: -0.05em;
}

/* Hover */
#header .main-menu > li:hover > a,
#header .main-menu > li > a:hover {
    color: rgb(238 201 127) !important;
}

/* Aktualnie wybrana strona / kategoria */
#header .main-menu > li.current-menu-item > a,
#header .main-menu > li.current-menu-parent > a,
#header .main-menu > li.current-menu-ancestor > a,
#header .main-menu > li.current_page_item > a {
    color: rgb(238 201 127) !important;
}

/* Ikony również białe */
#header .main-menu > li:hover > a i,
#header .main-menu > li.current-menu-item > a i,
#header .main-menu > li.current-menu-parent > a i,
#header .main-menu > li.current-menu-ancestor > a i {
    color: rgb(238 201 127) !important;
}


/* ZooOutlet – subtelne tło górnego headera */
#header {
     background: radial-gradient(circle at 15% 50%, rgb(238 201 127) 0, transparent 28%), radial-gradient(circle at 85% 20%, rgb(249 240 208) 0, transparent 25%), linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #f4f9fd 100%);
}


#header .elementor-element-8d5c587 .top-links > li.menu-item > a, #header .elementor-element-8d5c587 .main-menu > li.menu-item > a, #header .elementor-element-8d5c587 .menu-custom-block a, #header .elementor-element-8d5c587 .menu-custom-block span, .elementor-element-8d5c587 .sidebar-menu>li.menu-item>a {
    padding: 18px 0px 20px 0px !important;
}

#header .logo .standard-logo {
    display: inline-block;
    padding: 0 0 30px 0 !important;
}

.mega-menu.menu-hover-underline>li.menu-item>a:before {
display:none;
}

.mega-menu.menu-hover-line>li.menu-item>a:before {
display:none;
}


#header .elementor-element-8d5c587 .main-menu > li.menu-item > a, #header .elementor-element-8d5c587 .menu-custom-block span, #header .elementor-element-8d5c587 .menu-custom-block a, .elementor-element-8d5c587 .sidebar-menu > li.menu-item > a {
    font-family: "Lexend", Poppins;
    font-size: 0.985rem !important;
}


/* Pozycje menu */
#header .main-menu > li.menu-item {
    position: relative;
}

/* Separatory dokładnie między pozycjami */
#header .main-menu > li.menu-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -26px; /* połowa odstępu 52px */
    top: 50%;
    transform: translateY(-50%);
    
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}

/* ZooOutlet – separatory linków w stopce */
footer .elementor-icon-list-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

/* Bez linii pod ostatnią pozycją */
footer .elementor-icon-list-item:last-child {
    border-bottom: none;
}

/* Trochę przestrzeni */
footer .elementor-icon-list-item a {
    padding: 2px 0;
}


/* ========================================
   PORTO / WOOCOMMERCE
   HIERARCHIA KATEGORII W SIDEBARZE
   ======================================== */

/* Poziom 1 – główne kategorie */
.widget_product_categories .product-categories > li {
    margin: 0;
}

.widget_product_categories .product-categories > li > a {
    display: block;
    padding: 7px 4px;
    font-weight: 700;
    color: #222;
    font-size: 13px;
}


/* ========================================
   POZIOM 2 – dzieci
   ======================================== */

.widget_product_categories .product-categories > li > .children {
    margin: 0 0 5px 7px;
    padding-left: 12px;
    border-left: 2px solid #dce4ec;
}

.widget_product_categories .product-categories > li > .children > li > a {
    display: block;
    padding: 5px 4px;
    font-weight: 500;
    color: #555;
    font-size: 12px;
}


/* strzałka przed kategorią poziomu 2 */
.widget_product_categories
.product-categories > li > .children > li > a::before {
    content: "›";
    display: inline-block;
    margin-right: 7px;
    color: #9aa6b2;
    font-weight: 700;
}


/* ========================================
   POZIOM 3 – np.
   Transportery > Małe
   ======================================== */

.widget_product_categories
.product-categories .children .children {
    margin: 2px 0 4px 12px;
    padding-left: 11px;
    border-left: 1px solid #dfe5ea;
}

.widget_product_categories
.product-categories .children .children > li > a {
    display: block;
    padding: 4px 3px;
    font-size: 11px;
    font-weight: 400;
    color: #777;
}


/* znacznik trzeciego poziomu */
.widget_product_categories
.product-categories .children .children > li > a::before {
    content: "–";
    margin-right: 6px;
    color: #aaa;
}


/* ========================================
   AKTYWNA KATEGORIA
   ======================================== */

.widget_product_categories li.current-cat > a {
    color: #0875c1 !important;
    font-weight: 700 !important;
}


/* rodzic aktywnej kategorii */
.widget_product_categories li.current-cat-parent > a,
.widget_product_categories li.current-cat-ancestor > a {
    color: #222;
    font-weight: 700;
}


/* ========================================
   HOVER
   ======================================== */

.widget_product_categories a:hover {
    color: #0875c1 !important;
}


/* Ikony social + Add to Wishlist */
.single-product .share-links,
.single-product .yith-wcwl-add-to-wishlist,
.single-product .add_to_wishlist {
    display: none !important;
}

/* Producent / marka pod produktem */
.single-product .porto-product-filters,
.single-product .porto-product-brand,
.single-product .product-brand {
    display: none !important;
}


.single-product .elementor-widget-porto_cp_addcart_sticky {
    display: none !important;
}

/* Usuń Related Products */
.single-product .related.products {
    display: none !important;
}





.porto-product-dimensions {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #777;
    margin: 5px 0;
    line-height: 1.4;
}

.porto-product-dimensions strong {
    color: #222;
    font-weight: 600;
}


/* Wymiary produktu – Porto WooCommerce */
.product-col .price .zo-product-dimensions,
.product-col .zo-product-dimensions {
display: block !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #999 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0px 0px 5px 0px !important;
    letter-spacing: 0.1px;
}

/* Wymiary bez pogrubienia */
.product-col .zo-product-dimensions strong {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #999 !important;
}


@media (max-width: 767px) {

    .porto-woo-category-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;

        margin: 15px 0 20px !important;
        padding: 0 !important;
        float: none !important;
    }

}



@media (max-width: 767px) {
    .porto-woo-category-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 15px 0 20px !important;
        padding: 0 !important;
        float: none !important;
    }
}


.text-capitalize {
    text-transform: math-auto !important;
}


/* ZooOutlet – pasek magazynowy */
.zoo-stock-progress {
    position: relative;
    width: 155px;
    height: 24px;
    background: #f2f2f2;
    border-radius: 30px;
    overflow: hidden;
    margin: 12px 0;
}

.zoo-stock-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: #2dc68d;
    border-radius: 30px;
}

.zoo-stock-progress span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}
