/**
* Theme Name: Medibazar Child
* Description: This is a child theme of Medibazar, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: medibazar
* Version: 1.9.4
*/



@media (max-width: 991px) {

            .shop1-sidebar {
                position: fixed !important;
                top: 0;
                left: 0;
                width: 300px;
                max-width: 85vw;
                height: 100vh;
                overflow-y: auto;
                background: #fff;
                z-index: 99999;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                box-shadow: 0 0 20px rgba(0,0,0,0.12);
                padding: 20px 15px;
            }

            body.filters-open .shop1-sidebar {
                transform: translateX(0);
            }

            body.filters-open::before {
                content: "";
                position: fixed;
                inset: 0;
                background: rgba(0,0,0,0.35);
                z-index: 99990;
            }

            .mobile-filter-toggle {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 10px 16px;
                border: 0;
                border-radius: 8px;
                background: #79b94b;
                color: #fff;
                font-weight: 600;
                font-size: 14px;
                cursor: pointer;
                margin: 0 0 16px;
            }

            .mobile-filter-close {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                margin-bottom: 15px;
            }

            .mobile-filter-close button {
                border: 0;
                background: transparent;
                font-size: 26px;
                line-height: 1;
                cursor: pointer;
                color: #222;
            }
        }


@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        border: 0;
        border-radius: 8px;
        background: #79b94b;
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        z-index: 9998;
        transition: top 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-filter-toggle.is-sticky {
        position: fixed;
        left: 12px;
        right: auto;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }
}


/* Κρύψε το default + του theme */
.shop1-sidebar .subDropdown,
.shop1-sidebar .subDropdown.plus,
.widget_product_categories .subDropdown,
.widget_product_categories .subDropdown.plus {
    display: none !important;
}

/* Αν το theme βάζει + με pseudo-element */
.shop1-sidebar li.cat-parent::after,
.shop1-sidebar li.cat-parent > a::after,
.widget_product_categories li.cat-parent::after,
.widget_product_categories li.cat-parent > a::after {
    content: none !important;
}


/* Checkout fields */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
	font-family:Arial;
    height: 52px;
    border: 1px solid #dfe7dc;
    border-radius: 12px;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: #2f3a2f;
    box-shadow: none;
    transition: all 0.2s ease;
}

.woocommerce-checkout h3{
	font-family:Arial;
}
.woocommerce-checkout label{
	font-family:Arial;
}

/* textarea */
.woocommerce-checkout textarea {
    min-height: 120px;
    padding: 14px 16px;
}

/* hover */
.woocommerce-checkout input.input-text:hover,
.woocommerce-checkout textarea:hover,
.woocommerce-checkout select:hover {
    border-color: #b9cfb3;
}

/* focus */
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
    border-color: #7dbb42;
    box-shadow: 0 0 0 3px rgba(125, 187, 66, 0.12);
    outline: none;
}

/* labels */
.woocommerce-checkout label {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
    display: inline-block;
}

/* select arrow πιο καθαρό */
.woocommerce-checkout select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #7dbb42 50%),
                      linear-gradient(135deg, #7dbb42 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px),
                         calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

/* spacing */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

/* required star */
.woocommerce-checkout .required {
    color: #e16b5b;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background: #fcfdfb;
}

.woocommerce-checkout-review-order{
	font-family:Arial!important;
}



.product-categories li.cat-parent {
    position: relative !important;
    display: block !important;
    padding-right: 34px !important;
}

.product-categories li.cat-parent > a {
    display: block !important;
    width: 100% !important;
    line-height: 1.45 !important;
    padding-right: 28px !important;
    margin: 0 !important;
}

.product-categories li.cat-parent > .cat-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 2px !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-categories li.cat-parent > .children {
    margin-top: 6px !important;
}


/*.widget_product_categories .children,
.shop1-sidebar .children {
    display: none;
    margin-left: 12px;
}

.widget_product_categories li.is-open > ul.children,
.shop1-sidebar li.is-open > ul.children {
    display: block;
}

.widget_product_categories li.cat-parent,
.shop1-sidebar li.cat-parent {
    position: relative;
    padding-right: 28px;
}

.widget_product_categories li.cat-parent > a,
.shop1-sidebar li.cat-parent > a {
    display: inline-block;
    width: calc(100% - 28px);
}

.widget_product_categories .cat-toggle,
.shop1-sidebar .cat-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 24px;
    color: #666;
    padding: 0;
}

.widget_product_categories li.cat-parent > .cat-toggle::before,
.shop1-sidebar li.cat-parent > .cat-toggle::before {
    content: "+";
}

.widget_product_categories li.is-open > .cat-toggle::before,
.shop1-sidebar li.is-open > .cat-toggle::before {
    content: "−";
}

.shop1-sidebar ul.children {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.shop1-sidebar ul.children > li:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.widget_product_categories ul.product-categories ul.children li.cat-parent:not(.is-open) > button.cat-toggle,
.shop1-sidebar ul.product-categories ul.children li.cat-parent:not(.is-open) > button.cat-toggle {
    top: 50% !important;
    transform: translateY(-45%) !important;
}

.widget_product_categories ul.product-categories ul.children li.is-open > button.cat-toggle,
.shop1-sidebar ul.product-categories ul.children li.is-open > button.cat-toggle {
    top: 10px !important;
    transform: none !important;
}*/

/* Children spacing */
.shop1-sidebar ul.children,
.widget_product_categories ul.product-categories ul.children {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.shop1-sidebar ul.children > li:first-child,
.widget_product_categories ul.product-categories ul.children > li:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Parent item base */
.widget_product_categories ul.product-categories li.cat-parent,
.shop1-sidebar ul.product-categories li.cat-parent {
    position: relative !important;
    padding-right: 30px !important;
}

.widget_product_categories ul.product-categories li.cat-parent > a,
.shop1-sidebar ul.product-categories li.cat-parent > a {
    display: block !important;
    width: 100% !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* Green circle toggle */
.widget_product_categories ul.product-categories li.cat-parent > button.cat-toggle,
.shop1-sidebar ul.product-categories li.cat-parent > button.cat-toggle {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #d9e3d3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #7dbb42 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    position: absolute !important;
    right: 0 !important;
    top: 2px !important;
}

.widget_product_categories ul.product-categories li.cat-parent > button.cat-toggle:hover,
.shop1-sidebar ul.product-categories li.cat-parent > button.cat-toggle:hover {
    background: #7dbb42 !important;
    color: #fff !important;
    border-color: #7dbb42 !important;
}

/* Symbols */
.widget_product_categories ul.product-categories li.cat-parent > button.cat-toggle::before,
.shop1-sidebar ul.product-categories li.cat-parent > button.cat-toggle::before {
    content: "+" !important;
}

.widget_product_categories ul.product-categories li.is-open > button.cat-toggle::before,
.shop1-sidebar ul.product-categories li.is-open > button.cat-toggle::before {
    content: "−" !important;
}

/* Nested closed items: center the + */
.widget_product_categories ul.product-categories ul.children li.cat-parent:not(.is-open) > button.cat-toggle,
.shop1-sidebar ul.product-categories ul.children li.cat-parent:not(.is-open) > button.cat-toggle {
    top: 50% !important;
    transform: translateY(-45%) !important;
}

/* Nested opened items: keep the − a bit lower */
.widget_product_categories ul.product-categories ul.children li.is-open > button.cat-toggle,
.shop1-sidebar ul.product-categories ul.children li.is-open > button.cat-toggle {
    top: 10px !important;
    transform: none !important;
}

.shop1-sidebar ul.children li::before,
.widget_product_categories ul.product-categories ul.children li::before {
    position: static !important;
    top: auto !important;
    display: inline !important;
    margin-top: 0 !important;
    vertical-align: baseline !important;
}

.shop1-sidebar ul.children li > a,
.widget_product_categories ul.product-categories ul.children li > a {
    display: inline !important;
    line-height: 1.45 !important;
}



.widget_product_categories ul.product-categories li,
.shop1-sidebar .widget_product_categories ul.product-categories li {
    width: 100% !important;
}

.widget_product_categories ul.product-categories li > a,
.shop1-sidebar .widget_product_categories ul.product-categories li > a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.widget_product_categories ul.product-categories,
.widget_product_categories ul.product-categories ul.children,
.shop1-sidebar .widget_product_categories ul.product-categories,
.shop1-sidebar .widget_product_categories ul.product-categories ul.children {
    width: 100% !important;
    box-sizing: border-box !important;
}

.widget_product_categories ul.product-categories li.cat-parent > a,
.shop1-sidebar .widget_product_categories ul.product-categories li.cat-parent > a {
    width: calc(100% - 28px) !important;
}



/* =========================
   SHOP MEGA MENU - FINAL CLEAN
   ========================= */

/* menu item */
.mdp-shop-menu-item {
    position: static !important;
}

/* hover bridge */
.mdp-shop-menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
    background: transparent;
}

/* main panel */
.mdp-shop-mega-menu {
    position: fixed;
    top: 100%;
    left: 50%;
    right: auto;
    margin: 0;
    transform: translateX(-50%);
    width: min(1120px, 88vw);
    min-width: min(1120px, 88vw);
    max-width: min(1120px, 88vw);
    max-height: 78vh;
    background: #fff;
    border: 1px solid #edf2e8;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    padding: 20px 18px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* show on hover or click-open */
.mdp-shop-menu-item:hover > .mdp-shop-mega-menu,
.mdp-shop-menu-item.mdp-menu-open > .mdp-shop-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* reset */
.mdp-shop-mega-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* columns grid */
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-height: calc(78vh - 36px);
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 20px;
}

/* scrollbar */
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0::-webkit-scrollbar-thumb {
    background: #cfe1bf;
    border-radius: 999px;
}
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0::-webkit-scrollbar-track {
    background: #f7faf4;
    border-radius: 999px;
}

/* top columns */
.mdp-shop-mega-menu .level-0 > .mdp-mega-item {
    position: relative;
    min-width: 0;
    border-right: 1px solid #f3f5ef;
    padding-right: 18px;
}
.mdp-shop-mega-menu .level-0 > .mdp-mega-item:last-child {
    border-right: 0;
}

/* top titles */
.mdp-shop-mega-menu .level-0 > .mdp-mega-item > a {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2f3a2f;
    text-decoration: none;
    line-height: 1.3;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 2px solid #eef5e8;
    letter-spacing: -0.01em;
}

/* items */
.mdp-shop-mega-menu .level-1 {
    display: block;
}

.mdp-shop-mega-menu .level-1 > .mdp-mega-item,
.mdp-shop-mega-menu .level-2 > .mdp-mega-item,
.mdp-shop-mega-menu .level-3 > .mdp-mega-item,
.mdp-shop-mega-menu .level-4 > .mdp-mega-item {
    position: relative;
    margin: 1px 0;
}

/* links */
.mdp-shop-mega-menu .level-1 > .mdp-mega-item > a,
.mdp-shop-mega-menu .level-2 a,
.mdp-shop-mega-menu .level-3 a,
.mdp-shop-mega-menu .level-4 a,
.mdp-shop-mega-menu .level-5 a {
    display: block;
    color: #5f6660;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.38;
    padding: 6px 20px 6px 0;
    border-radius: 8px;
    white-space: normal;
    transition: all 0.18s ease;
}

/* hover */
.mdp-shop-mega-menu .level-0 > .mdp-mega-item > a:hover,
.mdp-shop-mega-menu .level-1 > .mdp-mega-item > a:hover,
.mdp-shop-mega-menu .level-2 a:hover,
.mdp-shop-mega-menu .level-3 a:hover,
.mdp-shop-mega-menu .level-4 a:hover,
.mdp-shop-mega-menu .level-5 a:hover {
    color: #79b63e;
    background: #f7fbf3;
    padding-left: 8px;
    padding-right: 8px;
}

/* arrows */
.mdp-shop-mega-menu .level-1 > .mdp-mega-item.has-children > a::after,
.mdp-shop-mega-menu .level-2 > .mdp-mega-item.has-children > a::after,
.mdp-shop-mega-menu .level-3 > .mdp-mega-item.has-children > a::after,
.mdp-shop-mega-menu .level-4 > .mdp-mega-item.has-children > a::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 6px;
    color: #a5afa2;
    font-size: 16px;
    font-weight: 500;
}

/* flyouts */
.mdp-shop-mega-menu .level-1 > .mdp-mega-item > .level-2,
.mdp-shop-mega-menu .level-2 > .mdp-mega-item > .level-3,
.mdp-shop-mega-menu .level-3 > .mdp-mega-item > .level-4,
.mdp-shop-mega-menu .level-4 > .mdp-mega-item > .level-5 {
    position: absolute;
    top: -6px;
    left: calc(100% - 6px);
    min-width: 220px;
    max-width: 280px;
    background: #fff;
    border: 1px solid #edf2e8;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.09);
    padding: 10px 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.18s ease;
    z-index: 999999;
}

/* show flyouts */
.mdp-shop-mega-menu .level-1 > .mdp-mega-item:hover > .level-2,
.mdp-shop-mega-menu .level-2 > .mdp-mega-item:hover > .level-3,
.mdp-shop-mega-menu .level-3 > .mdp-mega-item:hover > .level-4,
.mdp-shop-mega-menu .level-4 > .mdp-mega-item:hover > .level-5 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* desktop 4-column right edge opens left */
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-1 > .mdp-mega-item > .level-2,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-2 > .mdp-mega-item > .level-3,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-3 > .mdp-mega-item > .level-4,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-4 > .mdp-mega-item > .level-5,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-1 > .mdp-mega-item:hover > .level-2,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-2 > .mdp-mega-item:hover > .level-3,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-3 > .mdp-mega-item:hover > .level-4,
.mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(4n) .level-4 > .mdp-mega-item:hover > .level-5 {
    left: auto !important;
    right: calc(100% - 6px) !important;
}

/* =========================
   SMALL DESKTOP / TABLET
   centered + fixed + 3 cols
   ========================= */
@media (max-width: 1366px) and (min-width: 992px) {
    .mdp-shop-menu-item > .mdp-shop-mega-menu,
    .mdp-shop-menu-item:hover > .mdp-shop-mega-menu,
    .mdp-shop-menu-item.mdp-menu-open > .mdp-shop-mega-menu {
        position: fixed !important;
        /*top: 140px !important;*/
        left: 50% !important;
        right: auto !important;
        margin: 0 !important;
        transform: translateX(-50%) !important;
        width: 92vw !important;
        min-width: 92vw !important;
        max-width: 92vw !important;
        max-height: calc(100vh - 160px) !important;
        overflow: hidden !important;
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
        max-height: calc(100vh - 190px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-right: 12px !important;
    }

    .mdp-shop-mega-menu .level-0 > .mdp-mega-item {
        padding-right: 12px !important;
    }

    .mdp-shop-mega-menu .level-0 > .mdp-mega-item > a {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }

    .mdp-shop-mega-menu .level-1 > .mdp-mega-item > a,
    .mdp-shop-mega-menu .level-2 a,
    .mdp-shop-mega-menu .level-3 a,
    .mdp-shop-mega-menu .level-4 a,
    .mdp-shop-mega-menu .level-5 a {
        font-size: 13px !important;
        line-height: 1.3 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* right edge in 3-column layout opens left */
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-1 > .mdp-mega-item > .level-2,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-2 > .mdp-mega-item > .level-3,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-3 > .mdp-mega-item > .level-4,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-4 > .mdp-mega-item > .level-5,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-1 > .mdp-mega-item:hover > .level-2,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-2 > .mdp-mega-item:hover > .level-3,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-3 > .mdp-mega-item:hover > .level-4,
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 > li:nth-child(3n) .level-4 > .mdp-mega-item:hover > .level-5 {
        left: auto !important;
        right: calc(100% - 6px) !important;
    }
}

/* mobile off */
@media (max-width: 991px) {
    .mdp-shop-mega-menu {
        display: none !important;
    }
}

/* Desktop + tablet: το mega menu να είναι ΠΑΝΤΑ fixed και centered */
@media (min-width: 992px) {
    .mdp-shop-menu-item {
        position: static !important;
    }

    .mdp-shop-menu-item > .mdp-shop-mega-menu,
    .mdp-shop-menu-item:hover > .mdp-shop-mega-menu,
    .mdp-shop-menu-item.mdp-menu-open > .mdp-shop-mega-menu {
        position: fixed !important;
        /*top: 150px !important;*/
        left: 50% !important;
        right: auto !important;
        margin: 0 !important;
        transform: translateX(-50%) !important;

        width: 92vw !important;
        min-width: 92vw !important;
        max-width: 92vw !important;

        max-height: calc(100vh - 170px) !important;
        overflow: hidden !important;
        z-index: 99999 !important;
    }

    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 {
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

/* Μεγάλο desktop: λίγο πιο μαζεμένο πλάτος, αλλά πάλι fixed centered */
/*@media (min-width: 1367px) {
    .mdp-shop-menu-item > .mdp-shop-mega-menu,
    .mdp-shop-menu-item:hover > .mdp-shop-mega-menu,
    .mdp-shop-menu-item.mdp-menu-open > .mdp-shop-mega-menu {
        width: min(1180px, 90vw) !important;
        min-width: min(1180px, 90vw) !important;
        max-width: min(1180px, 90vw) !important;
    }
}*/

/* 3-column layout: να μη χάνονται items μέσα στα top categories */
@media (max-width: 1366px) and (min-width: 992px) {
    .mdp-shop-mega-menu > .mdp-mega-menu-level.level-0 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        align-items: start !important;
        align-content: start !important;
        grid-auto-rows: max-content !important;
    }

    .mdp-shop-mega-menu .level-0 > .mdp-mega-item {
        height: auto !important;
        min-height: 0 !important;
        align-self: start !important;
        overflow: visible !important;
        display: block !important;
    }

    .mdp-shop-mega-menu .level-0 > .mdp-mega-item > .level-1 {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .mdp-shop-mega-menu .level-1 > .mdp-mega-item {
        display: block !important;
        overflow: visible !important;
    }

    .mdp-shop-mega-menu .level-1 > .mdp-mega-item > a {
        display: block !important;
        white-space: normal !important;
    }
}

/* λίγο πιο ασφαλές vertical spacing στα top blocks */
@media (max-width: 1366px) and (min-width: 992px) {
    .mdp-shop-mega-menu .level-0 > .mdp-mega-item {
        padding-bottom: 10px !important;
    }
}


/*--------*/
/* Categories Sidebar */

.mdp-accordion-wrap {
    background: #f8faf7;
    border: 1px solid #e8efe1;
    border-radius: 14px;
    padding: 18px 16px;
}

.mdp-accordion-title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 18px;
    color: #2f3a2f;
}

.mdp-accordion-tree,
.mdp-accordion-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mdp-acc-item {
    border-bottom: 1px solid #edf3e8;
}

.mdp-acc-item:last-child {
    border-bottom: 0;
}

.mdp-acc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mdp-acc-link {
    display: block;
    flex: 1;
    padding: 11px 0;
    color: #5f6660;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.35;
    transition: color .2s ease;
}

.mdp-acc-link:hover {
    color: #79b63e;
}

.mdp-acc-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1px solid #dbe8cf;
    background: #fff;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.mdp-acc-toggle::before,
.mdp-acc-toggle::after {
    content: "";
    position: absolute;
    background: #79b63e;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mdp-acc-toggle::before {
    width: 10px;
    height: 2px;
}

.mdp-acc-toggle::after {
    width: 2px;
    height: 10px;
}

.mdp-acc-item.is-open > .mdp-acc-row .mdp-acc-toggle::after {
    display: none;
}

.mdp-acc-children {
    display: none;
    padding: 0 0 6px 14px;
}

.mdp-acc-item.is-open > .mdp-acc-children {
    display: block;
}

.mdp-acc-children .mdp-acc-link {
    font-size: 15px;
    padding: 9px 0;
}

.mdp-acc-children .mdp-acc-children .mdp-acc-link {
    font-size: 14px;
    color: #707670;
}

/* Sidebar accordion να πιάσει όλο το πλάτος */
.mdp-accordion-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Αν υπάρχει widget wrapper με εσωτερικά κενά */
.widget .mdp-accordion-wrap,
.elementor-widget-container .mdp-accordion-wrap,
.sidebar .mdp-accordion-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

/* Το inner box να απλώσει */
.mdp-accordion-tree {
    width: 100% !important;
}

/* Αν θες να φύγουν και τα κενά του ίδιου του widget */
.widget,
.widget_product_categories,
.sidebar .widget,
.elementor-widget-container {
    box-sizing: border-box;
}



