:root {
    --secondary-color: #00B1CD;
}

.tns-carousel [data-nav].tns-nav-active {
    background-color: #00b1cd !important;
}

.tns-carousel [data-nav] {
    background-color: #00305f !important;
}

.border-bottom {
    border-bottom: 1px solid #00B1CD !important;
}


.form-control {
    color: #000 !important;
}

.truncate {
    color: #FF0000;
}

.secondary-color-class {
    color: var(--secondary-color) !important;
}

.secondary-background-color-class {
    background-color: var(--secondary-color) !important;
}

h2.main-title {
    text-align: center;
    color: #2E3A47;
    font-size: 30px;
    padding-bottom: 3px !important;
    border-bottom: 2px solid #2e3a47;
    width: fit-content;
    margin: 0 auto;
    font-weight: 900;
}

.centered.custom-button-wrapper {
    text-align: center;
}

a.btn-custom {
    padding: 7px 11px 7px 20px;
    border: 1px solid #000d38;
    color: #000d38;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.5s ease-in-out;
}

a.btn-custom:hover {
    padding: 7px 20px;
}

a.btn-custom:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    opacity: 0;
    left: -10px;
    transition: all 0.5s ease-in-out;
    position: relative;
}

a.btn-custom:hover:after {
    opacity: 1;
    left: 5px;
}

.container.no-margin {
    margin-top: 0px !important;
}

.homepage-carousel .slide1 .title {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}

.homepage-carousel .slide1 .title * {
    font-size: 33px !important;
    padding: 0px !important;
}

.homepage-carousel .slide1 h3 {
    color: #e30613;
    font-weight: bold !important;
}

.homepage-carousel .slide1 h2 {
    color: white;
}

.homepage-carousel .slide1 .pt-5 {
    padding-top: 35px !important;
}

.btn-primary {
    background: transparent !important;
    font-size: 15px;
    padding: 10px 20px;
    font-weight: 500;
}

.homepage-categories-1 .col-lg-6 {
    position: relative;
    padding: 0px;
}

.homepage-categories-1 h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto !important;
    height: fit-content;
    color: white;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    background: rgba(0, 13, 56, 0.39);
    padding: 15px 0px;
}

.homepage-categories-1 a.btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.homepage-categories-1 .col-lg-6 {
    width: 100% !important;

}

.page-wrapper>.container {
    margin-top: 50px;
}

.homepage-banners-small .col-md-6.big .homepage-small-banner1 {
    background-image: url(https://shopranos-media.azureedge.net/media/d9c337b6-706d-4f61-b55b-c4e6719e7df5/24261401-530e-4980-b5f7-dbadd0b34727/24261401-530e-4980-b5f7-dbadd0b34727);
    object-fit: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 0px 30px;
    border-radius: 20px;
}

.homepage-banners-small .col-md-6.big .homepage-small-banner1 h2 {
    color: #000D38;
    font-weight: bold;
    font-size: 35px;
}

.homepage-banners-small .col-md-6.big .homepage-small-banner1 h5 {
    color: #000D38;
    font-size: 16px;
    max-width: 400px;
}

@media screen and (min-width: 768px) {
    .homepage-banners-small .col-md-6.big {
        width: 60% !important;
    }

    .homepage-banners-small .col-md-6.small {
        width: 40% !important;
    }
}

.homepage-banners-small .col-md-6.small .homepage-small-banner1 {
    min-height: 220px;
    background-image: url(https://shopranos-media.azureedge.net/media/d9c337b6-706d-4f61-b55b-c4e6719e7df5/a78120a3-7fbc-481e-8a42-84e84c75887b/a78120a3-7fbc-481e-8a42-84e84c75887b);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0px 30px;
}

.homepage-banners-small .col-md-6.small .homepage-small-banner1 h5 {
    color: white;
    max-width: 200px;
    line-height: 1.8em;
}

a.btn-custom1:before {
    content: url(https://shopranos-media.azureedge.net/media/d9c337b6-706d-4f61-b55b-c4e6719e7df5/f07a896c-d26c-433d-9069-b3f2abc703df/f07a896c-d26c-433d-9069-b3f2abc703df);
}

.sinergasies-text {
    font-size: 17px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.category-card .card {
    overflow: hidden;
}

.card-img-wrap {
    max-height: 280px;
    overflow: hidden;
}

.category-card:hover .category-title {
    background-color: #000d38;
}

.category-card:hover .category-title h3 {
    color: white;
}

.category-card:hover img {
    transform: scale(1.04);
}

.category-card * {
    transition: all 0.4s ease;
}

.text_small_width .row {
    max-width: 1000px;
    margin: auto;
}

.text_small_width h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 35px !important;
}

.text_small_width p {
    text-align: center;
    color: #2E3A47;
}

.company_section_1 p {
    color: #2E3A47;
    line-height: 2.4em;
}

.company_section_2 p {
    color: white;
    line-height: 2.4em;
}

.company_section_1 .text-muted p:nth-child(1),
.company_section_2 .text-muted p:nth-child(1) {
    margin-bottom: 40px;
}

.company_section_2 {
    background: rgba(0, 13, 56, 0.75);
    max-width: 100%;
    padding: 45px 0px !important;
}

.company_section_2 .row {
    max-width: 1260px;
    margin: auto;
}

.custom_title2 {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}

.company_boxes_column .col-lg-12 {
    border: 1px solid #000d38;
    padding: 35px 70px !important;
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media screen and (max-width: 670px) {
    body .company_boxes_column .col-lg-12 {
        padding: 10% !important;
    }
}

@media screen and (max-width: 300px) {
    .company_boxes_column {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
    }
}

.company_boxes_column p {
    color: #2E3A47;
    font-size: 17px;
    margin: 0px;
    line-height: 1.6em;
}

.company_boxes_row {
    max-width: 1260px;
    margin: auto;
}

.company_boxes_column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.custom_text_company_1 {
    font-size: 19px;
    font-weight: bold;
    text-align: center;
}

.company_custom_slider {
    max-width: 100% !important;
    background: rgba(0, 13, 56, 0.75);
    padding: 70px 0px !important;
}

.company_custom_slider .col-lg-undefined {
    margin-bottom: 0px !important;
}

.company_custom_slider .w-100.h-100 {
    min-height: 220px;
    border-radius: 5px;
}

.company_custom_slider .s1-banner-class {
    align-items: flex-end !important;
    max-width: 1300px;
    margin: auto !important;
}

.company_custom_slider .text-start {
    position: relative;
}

.company_custom_slider h3 {
    font-size: 35px !important;
    color: white !important;
    font-weight: bold !important;
}

.company_custom_slider h2 {
    color: #ffffff2b;
    font-size: 130px !important;
    position: absolute;
    top: -47px;
    left: -14px;
}

.company_custom_slider p {
    color: white;
    font-size: 16px !important;
    max-width: 500px;
    white-space: normal;
}

.company_custom_slider img {
    max-height: 100% !important;
}

.company_custom_slider .container {
    min-height: 100% !important;
    max-height: 100% !important;
}

.company_custom_slider .text-lg-start {
    padding: 0px !important;
    margin: 0px !important;
    width: 100% !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    gap: 50px;
}

.company_custom_slider .text_part {
    padding-bottom: 30px;
    position: relative;
}

.company_custom_slider button {
    background-color: #ffffff80 !important;
    border: none !important;
}

.company_custom_slider button i {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    margin: auto;
}

.contact-left-info-box {
    box-shadow: 0px 0px 16px #b9b9b9;
}

.contact-form-left-text div.text-muted p {
    color: black;
}

@media screen and (min-width: 768px) {

    .contact-form-custom:nth-child(1),
    .contact-form-custom:nth-child(3) {
        display: inline-block;
        width: 48%;
        margin-right: 2%;
    }

    .contact-form-custom:nth-child(2),
    .contact-form-custom:nth-child(4) {
        display: inline-block;
        width: 53%;
    }
}

.contact-form-custom input[type=text],
.contact-form-custom input[type=email],
.contact-form-custom textarea {
    border: 1px solid black;
}

.custom-submit-button button.btn-primary {
    background-color: #000D38 !important;
    color: white !important;
}

.contact-left-info-box h2 {
    color: #000D38;
    margin-top: 20px;
}

.gradient-header-blue {
    background: linear-gradient(89.72deg, #000D38 22.92%, #00B1CD 100%);
}

.custom-circle-icons .ms-2 .navbar-tool-icon-box,
.custom-circle-icons .navbar-tool .navbar-tool-icon-box {
    background-color: white !important;
}

.custom-circle-icons .ms-2 .ci-user:before,
.custom-circle-icons .navbar-tool .ci-cart:before {
    color: #018FAE;
}

.custom-circle-icons .ms-2 {
    margin-right: 10px;
}

.showroom-box h4 {
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.showroom-box p {
    font-size: 13px;
    color: white;
}

.terms-links li a {
    font-size: 13px;
    color: white !important;
}

.terms-links li.widget-list-item {
    margin-bottom: 2px;
}

.terms-links {
    margin: 22px 0;
}

/*.gradient-footer {
    background: linear-gradient(88.03deg, #00305f 39.22%, #00B1CD 106.06%);
}*/

.custom-newsletter-section .subscription-form button[name=subscribe] {
    background-color: #00B1CD !important;
    color: white !important;
    border-color: #00B1CD !important;
}

.footer-social-icons i {
    color: white;
}

.footer-social-icons {
    display: flex;
    gap: 30px;
}

.custom-megamenu {
    position: inherit;
}

.custom-megamenu li.nav-item {
    position: inherit;
}

.custom-megamenu .dropdown-menu {
    width: 100%;
    left: 0px;
}

.custom-megamenu .mega-dropdown-column {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.custom-megamenu .dropdown-menu .d-flex {
    gap: 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.custom-megamenu a.widget-list-link h6 {
    text-align: center;
    font-size: 21px !important;
    border-bottom: 1px solid #2e3a47;
    padding-bottom: 10px;
    position: relative;
}

.custom-megamenu ul.widget-list {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-row-gap: 20px;
}

.custom-megamenu .mega-dropdown-column {
    padding-bottom: 1.5rem !important;
}

.custom-megamenu a.widget-list-link h6:before {
    width: 20px;
    content: "";
    height: 11px;
    display: block;
    background: white;
    position: absolute;
    bottom: -6px;
    right: 38px;
}

.custom-megamenu a.widget-list-link h6:after {
    content: "";
    width: 7px;
    height: 7px;
    background: #00B1CD;
    display: block;
    border-radius: 100%;
    margin: 5px;
    position: absolute;
    bottom: -9px;
    right: 39px;
}

.custom-megamenu li.widget-list-item {
    display: flex;
    align-items: center;
}

.navbar-light .nav-item:hover .nav-link:not(.disabled),
.navbar-light .nav-item:hover .nav-link:not(.disabled)>i {
    color: #00a5c3 !important;
}

.navbar-light .navbar-tool:hover .navbar-tool-icon-box.bg-secondary {
    background-color: #ffffffdb !important;
}

.navbar-nav {
    align-items: flex-end;
}

@media screen and (min-width: 992px) {
    .custom-megamenu {
        border-right: 1px solid white;
        border-radius: 0px !important;
    }

    .nav-item.hidden {
        display: block !important;
    }
}

.custom-megamenu>img {
    display: inline-block;
    position: relative;
    margin-bottom: 4px;
    margin-right: 8px;
}

.custom-megamenu>a {
    display: inline-block;
}

.navbar-tool .navbar-tool-label {
    color: var(--topbar-txt-color);
    background-color: var(--topbar-bg-color);
}

.container-terms-text {
    margin-top: 0 !important;
}

.container-terms-text .row .py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !Important;
}

#navcart-icon .navbar-tool-label {
    color: white;
}

.btn-primary.cart-icon {
    background: #00B1CD !important;
    font-size: inherit;
    padding: inherit;
    border-color: #00B1CD;
}

.btn-primary.cart-icon .ci-cart {
    color: white;
    margin-right: 0 !IMPORTANT;
}

.product-card .product-price .text-primary {
    color: var(--secondary-color) !important;
    font-size: 22px;
    font-weight: 300;
}

.product-card .text-secondary {
    color: #66717D !important;
    font-weight: 300 !important;
    font-size: 13px !important;
}

.product-pdf-files {
    justify-content: center;
}

.product-files-icon {
    margin-bottom: 15px;
}

.cart-button * {
    color: white;
}

.single-quantity-text {
    color: #2e3a47;
    font-weight: bold;
}

.main-product-swiper.gallery .button-prev,
.main-product-swiper.gallery .button-next {
    box-shadow: 0px 4px 14px 1px rgba(0, 0, 0, 0.16);
    background-color: white;
    margin-bottom: 11px;
}

.product-card-alt .product-card-actions {
    width: unset;
    bottom: 0;
    top: unset;
}

.product-card-alt .product-card-actions a.btn-icon {
    margin: 0 !important;
    background: rgba(1, 143, 174, 0.48);
    border: unset;
    padding: 12px 11px;
}

.product-card-alt .product-card-actions i.ci-eye {
    font-size: 30px;
    color: white;
}

.product-card-alt .mt-2 span.text-secondary {
    color: #66717D !important;
    font-weight: normal !important;
}

.product-card-alt .product-price .text-primary {
    color: #00B1CD !important;
    font-size: 17px;
}

.custom-circle-icons a.navbar-tool .navbar-tool-icon path {
    fill: #018FAE;
}

.custom-circle-icons i.navbar-tool-icon.ci-user:before {
    color: #018FAE;
}

.videoblock video {
    width: 100% !important;
    height: 100% !important;
}

.videoblock {
    height: auto !important;
}

.videoblock-iframe {
    width: 100%;
    height: 770px;
    padding: 56.25% 0 0 0;
    position: relative;
}

.homepage-carousel .tns-item {
    background-position: 91% 50%;
}

@media screen and (max-width: 767px) {
    .homepage-categories-1 {
        margin-bottom: 50px;
    }

    .big .homepage-small-banner1 {
        margin-bottom: 50px;
    }

    .homepage-small-banner1 {
        background-position: center right;
    }

    .big .homepage-small-banner1 {
        background-image: linear-gradient(90deg, rgb(255 255 255 / 36%) 0%, rgb(255 255 255 / 40%) 100%), url(https://shopranos-media.azureedge.net/media/d9c337b6-706d-4f61-b55b-c4e6719e7df5/6757741e-8354-4f10-a40a-739f3e430b08/6757741e-8354-4f10-a40a-739f3e430b08) !important;
    }

    .small .homepage-small-banner1 {
        background-image: linear-gradient(90deg, rgb(0 0 0 / 36%) 0%, rgb(0 0 0 / 40%) 100%), url(https://shopranos-media.azureedge.net/media/d9c337b6-706d-4f61-b55b-c4e6719e7df5/9b94dc8f-17a7-40cc-bfc6-5f18d45faa45/9b94dc8f-17a7-40cc-bfc6-5f18d45faa45) !important;
    }

    .homepage-categories-1 h2 {
        font-size: 25px;
    }

    .homepage-carousel .tns-item {
        background-position: 89% 50%;
    }

    .homepage-carousel .slide1 {
        min-height: inherit !important;
        max-height: inherit !important;
    }

    .homepage-carousel .slide1 .title {
        display: block;
    }
}


/* START MOBILE MENU CSS */
@media screen and (max-width: 991px) {
    li.custom-megamenu img {
        display: none;
    }

    .custom-megamenu .dropdown-menu .d-flex {
        display: block !important;
    }

    .hidden {
        display: none !important;
    }

    span.product_cat_toggle {
        display: block;
    }

    .widget-list-item.active.hidden {
        display: block !important;
        color: var(--body-primary-txt-color) !important;
    }

    .widget-list-item.active.hidden a {
        color: var(--body-primary-txt-color) !important;
    }

    .widget-links .product_cat_toggle {
        position: absolute;
        top: 21px;
        font-size: 13px;
        right: calc(50% + -81px);
        width: 32px;
        text-align: right;

    }

    .widget-links {
        position: relative;
    }

    .custom-megamenu {
        width: 100%;
    }

    .navbar-collapse .navbar-nav {
        align-items: flex-start;
    }

    .navbar-collapse .navbar-nav .nav-item {
        background-color: transparent;
    }

    .custom-megamenu.dropdown .dropdown-toggle::after {
        transform: rotate(-90deg);
    }

    .mobile_return_div {
        display: flex;
        align-items: center;
        margin: 20px 0px;
        gap: 3px;
        width: 100%;
        justify-content: center;
    }

    .mobile_return_div .ci-arrow-left {
        font-size: 12px;
    }

    .mobile_return_div>* {
        color: white;
    }

    .widget-links .ci-arrow-right {
        transition: all 0.5s ease;
    }

    .widget-links.active .ci-arrow-right {
        transform: rotate(90deg);
    }

    .handheld-toolbar {
        background-color: #F3F8FF;
    }

    .handheld-toolbar .handheld-toolbar-icon i,
    .handheld-toolbar .handheld-toolbar-label {
        color: #3DA9C1;
    }

    .company_section_2 .row {
        flex-direction: column-reverse;
    }

    .company_section_2 img,
    .company_section_1 img {
        display: block;
        margin: auto;
    }

    .product-pdf-files {
        justify-content: center !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1214px) {
    .homepage-top-epiloges .col-md-7 .col-lg-4 {
        width: 50% !important;
    }
}

@media screen and (max-width: 767px) {
    .homepage-top-epiloges img {
        max-width: 330px;
        display: block;
        margin: auto;
    }
}

.catalog-image {
    text-align: center;
}

body img.w-100 {
    width: auto !important;
}

@media screen and (max-width: 744px) {
    .company_custom_slider .text-lg-start {
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
    }

    .company_custom_slider h2 {
        position: absolute;
        left: auto;
        top: 0;
        bottom: 0px;
        height: fit-content;
        margin: auto 0 !important;
        right: 19px;
    }
}

/* END MOBILE MENU CSS */

/*********************************/

.product-card .quantity {
    width: 56px;
    height: 32px;
}

.product-card-alt .quantity {
    width: 56px;
    height: 32px;
}

.custom-product-attributes .list-unstyled>li {
    margin-bottom: 0px;
}

@media(max-width: 992px) {
    .nav-item.mobile-lang-nmu {
        display: block;
    }
}

@media(max-width: 499px) {
    .footer-social-icons {
        margin-bottom: 20px;
    }

    .custom-categories-list .category-card {
        flex: 50%;
    }

    .custom-categories-list .row>* {
        padding-right: 15px;
        padding-left: 15px;
    }
}

.breadcrumb-light .breadcrumb-item.active,
.breadcrumb-light .breadcrumb-item::before {
    color: #666f8190;
}

.product-card-alt .quantity {
    width: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.page-item.active .page-link {
    color: #00B1CD;
    font-size: 16px;
}

.side-product-swiper .swiper-slide,
.side-product-swiper swiper-slide {
    width: 99%;
}

.card .card-img-wrap {
    max-height: 390px;
}

.product-tag div:nth-child(2) {
    background: #ED1B24;
}

.product-tag div {
    background: #00305f;
    /*background: linear-gradient(106deg, #000D38 12.68%, #00B1CD 113.73%);*/
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    padding: 2px 10px;
    margin-right: 10px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    color: #ffffff;
}

.product-tag-overlay {
    position: absolute;
    left: 0;
    top: -15px;
}

.filterlist .product-thumb .product-card-actions {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.filterlist .product-card-alt .product-thumb {
    overflow: visible;
}

.filterlist .product-label {
    background: #00305f;
    /*background: linear-gradient(106deg, #000D38 12.68%, #00B1CD 113.73%);*/
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    padding: 2px 10px;
    margin-right: 10px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    color: #ffffff;
}

.product-label {
    background: #00305f;
    /*background: linear-gradient(106deg, #000D38 12.68%, #00B1CD 113.73%);*/
    background-repeat: no-repeat;
    background-size: cover;
}

.filterlist .product-label {
    color: #ffffff;
}

.form-check-input:checked {
    background-color: #00b1cd !important;
    border-color: #00b1cd !important;
}

.modal-quick-view .cart-button {
    background-color: var(--secondary-color) !important;
}

.modal-quick-view .svg-button {
    background-color: #ffffff !important;
}

.product-card-alt .cart-button.btn-primary.w-100 {
    background: #00B1CD !important;
    border-color: #00B1CD;
}

label .badge {
    color: #ffffff !important;
}

@media(max-width: 773px) {
    .searchbar {
        margin-top: 20px;
        width: 100% !important;
    }
}


@media(max-width: 423px) {
    .wishlist {
        left: -92px !important;
        position: absolute !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1330px) {
    .custom-flex-wrap {
        flex-wrap: wrap !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1267px) {
    .navbar-toolbar.custom-circle-icons {
        width: 100% !important;
        justify-content: end;
        margin-top: 10px;
    }
}

@media (min-width: 1200px) {
    .modal-body #general h1 {
        font-size: 1.6rem;
    }
}

.product-card-alt .product-meta img {
    margin-right: 4px !important;
}

/*********************************/
.homepage-carousel .tns-slider .btn-primary {
    background: rgba(0, 0, 0, 0.47) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.productformmodaltoggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    border: none;
    background: var(--secondary-color) !important;
    color: #ffffff !important;
    border-radius: 50%;
    padding: 8px 15px;
    font-size: 26px;
}

.productformmodal button[type="submit"] {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

.productformmodal input[name="producturl"] {
    display: none;
}










/*  ////////   */

/**************************Custom dropdown Navbar menu******************************/



.inner-mnu-lists {
    background: #f7f9fb;
    display: block !important;
    position: absolute;
    left: 400px;
    width: 400px;
    overflow-y: visible;
    /*top: 10px !important;*/
     top: 68px !important;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
    padding-left: 20px;
}

.inner-mnu-lists ul {
    list-style-type: none;
}

.inner-mnu-lists li:hover {
    background-color: var(--header-bg-color);
    /*background-color: var(--topbar-bg-color);*/
}

.inner-mnu-lists li:hover>a {
    color: #ffffff !important;
}

.inner-mnu-lists ul li:hover .third-level {
    display: block;
}

.mega-menu ul {
    padding-left: 0px;
}

.mega-menu .first-level li li a {
    padding: 7px 10px;
}

ul.second-level-li {
    padding-left: 0px;
}

.second-level-li ul {
    padding-left: 15px;
}

.third-level {
    background: #ffffff;
    display: none;
    position: absolute;
    left: 400px;
    width: 400px;
    top: 0px;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
    padding-left: 20px;
}


.third-level .dropdown-item {
    padding-left: 0px;
}

.third-level {
    overflow-y: scroll;
}


@media (max-width: 1199px) {

    .mega-menu .first-level {
        width: 350px !important;
    }

    .inner-mnu-lists {
        left: 350px;
        width: 300px;
    }

    .third-level {
        left: 300px;
        width: 300px;
    }
}

/***********************************************************************************/

.navbar-stuck .custom-nav-menu {
    display: none !important;
}

.custom-nav-menu-sticky {
    display: none;
}

.navbar-stuck .custom-nav-menu-sticky {
    display: block;
}

.custom-nav-menu-sticky {
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-sm,
.navbar>.container-md,
.navbar>.container-lg,
.navbar>.container-xl {
    align-items: end;
}

.navbar {
    padding-bottom: 1.5rem;
}


.mnu-logo-lg {
    display: none;
}

@media (max-width: 1350px) {
    .mnu-logo-lg {
        display: block;
        margin-bottom: 20px;
    }

    .mnu-logo-sm {
        display: none;
    }
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
        /*border-right: 1px solid #ffffff;*/
    }

    .navbar-expand-lg .navbar-nav .nav-item:last-child .nav-link {
        border-right: none;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 15px;
    }
}

.mega-menu {
    background: transparent;
    visibility: hidden;
    opacity: 0;
    /*transition: visibility 0s, opacity 0.5s linear;*/
    position: absolute;
    left: 0;
    width: 100%;
    padding-bottom: 20px;
    z-index: 99;
   /* padding-top: 10px;*/
    padding-top: 68px;
    overflow: hidden;
    /*height: 90vh;*/
    height: 97vh;
}


.navbar-stuck .mega-menu {
    height: 96vh;
}

.navbar-stuck .mega-menu .first-level {
    height: 93vh;
}

.mega-menu .first-level {
    background: #f3f5f9;
    width: 400px;
    list-style-type: none;
    padding: 0px;
    padding-left: 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 91vh;
    padding-top: 20px;
    padding-bottom: 80px;
}

.mega-menu .first-level>li:hover {
    background: #ffffff;
    background-color: var(--header-bg-color);
}

.mega-menu .first-level>li:hover>a,
.mega-menu .first-level>li>a:hover {
    color: #ffffff !important;
}

.mega-menu .first-level>li {
    padding: 10px 5px;
}

.mega-menu .second-level>li {
    padding: 5px;
}

.mega-menu .first-level>li>a {
    padding-right: 20px;
}

.mega-menu .second-level {
    position: absolute;
    left: 394px;
    top: 10px;
    display: none;
    list-style-type: none;
    height: 100%;
    /*width: 100%; */
    width: 450px;
    background: #ffffff;
    padding-top: 20px;
}


.mega-menu .first-level>li:hover .second-level,
.mega-menu .second-level:hover {
    display: block;
}

/********* CUSTOM SCROLLBAR START *********/
/* width */
.mega-menu ::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.mega-menu ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.mega-menu ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Handle on hover */
.mega-menu ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/********* CUSTOM SCROLLBAR END *********/

.mega-menu .container {
    display: flex;
}

.mega-menu .item {
    flex-grow: 1;
    margin: 0 10px;
}

.mega-menu .item img {
    width: 100%;
}

.dropdown {
    position: static;
}

/**************************************************************/


/**************************************************************/
.inner-mnu-list.container {
    background: #ffffff;
    position: absolute;
    top: 10px;
    left: 394px;
    /*width: 100%;*/
    /* max-width: 1040px; */
    width: 100%;
    min-height: 500px;
    height: 650px;
    display: block;
    /*visibility: hidden;*/
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.inner-mnu-list ul {
    list-style-type: none;
    /*min-width: 250px;*/
    padding-left: 5px;
}

.first-level h6 {
    text-wrap: wrap;
}

/*
.mega-menu .first-level>li:hover .inner-mnu-list,
.mega-menu .inner-mnu-list:hover {
    visibility: visible;
}
*/
/*
.mega-menu .first-level>li .inner-mnu-list,
.mega-menu .inner-mnu-list {
    visibility: visible;
}*/

.inner-mnu-list .masonry-grid {
    height: 700px;
    overflow-y: scroll;
}

.grid-item {
    width: calc(33.33%);
    min-width: 180px;
}

.grid-sizer {
    width: 33.33%;
}

.grid-item>ul,
.grid-item>ul>li {
    margin-bottom: 30px;
}

.grid-item ul li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--body-primary-txt-color);
}

.grid-item ul .second-level-li li {
    padding-left: 10px;
}

.grid-item ul .second-level-li li a {
    font-size: 14px;
    font-weight: 400;
    max-width: 360px;
    color: var(--body-primary-txt-color);
}


@media (max-width: 1600px) {

    .grid-item {
        width: calc(35%);
    }
}


@media (max-width: 1128px) {

    .grid-item {
        width: calc(100%);
    }
}

@media (max-width: 992px) {

    h2,
    .h2 {
        font-size: calc(1.125rem + 0.1vw) !important;
    }

    .single-product .cart-button {
        width: 80%;
    }
}

@media (max-width: 404px) {

    .flex-shrink-0 {
        margin-right: 10px !important;
    }
}

@media (max-width: 345px) {

    .flex-shrink-0 {
        margin-right: -10px !important;
    }
}


.hide {
    visibility: hidden;
}

.first-level .dropdown-toggle {
    position: relative;
}

.first-level .dropdown-toggle::after {
    border-top: 0.275rem solid rgba(0, 0, 0, 0);
    border-right: 0;
    border-bottom: 0.275rem solid rgba(0, 0, 0, 0);
    border-left: 0.275rem solid;
    position: absolute;
    right: 10px;
    top: 35%;
}

.navbar-light .nav-item.active .nav-link:not(.disabled)>i,
.navbar-light .nav-item.show .nav-link:not(.disabled)>i,
.navbar-light .nav-item.dropdown .nav-link:focus:not(.disabled)>i,
.navbar-light .nav-item.active .nav-link:not(.disabled),
.navbar-light .nav-item.show .nav-link:not(.disabled),
.navbar-light .nav-item.dropdown .nav-link:focus:not(.disabled) {
    color: #ffffff !important;
}


/* accordion start */
.mnu-accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 3px;
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50%;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    position: absolute;
    top: 6px;
    right: 10px;
}

.mega-menu .active,
.mnu-accordion:hover {
    background-color: #ccc;
}

.panel {
    padding: 0 2px;
    display: none;
    background-color: white;
    overflow: hidden;
    padding-top: 5px;
}


.loginbox .card-body {
    height: auto;
}

/* accordion end */

@media (min-width: 992px) {
    .navbar-expand-lg .dropdown-menu.dropdown-menu-end {
        left: 0;
        right: auto;
        top: 46px;
        width: 100%;
    }
}

.navbar-tool.dropdown::before {
    content: none;
}

.navbar-light .navbar-tool:hover .navbar-tool-text {
    color: var(--header-txt-color-op085);
}


.widget-list-link {
    transition: color .05s ease-in-out !important;
}


.custom-categories-list .card-body {
    height: 95px;
}

.invitation {
    min-height: 600px !important;
}

.last-visited .tns-carousel .tns-ovh {
    padding-left: 15px;
    padding-right: 15px;
}

/* Chrome, Safari, Edge, Opera */
.offersarea input::-webkit-outer-spin-button,
.offersarea input::-webkit-inner-spin-button,
.cart-comp input::-webkit-outer-spin-button,
.cart-comp input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.offersarea input[type=number],
.cart-comp input[type=number] {
    -moz-appearance: textfield !important;
}

.calculate,
#tocheckout.btn-primary {
    background-color: #006f00 !important;
    color: #ffffff !important;
    border-color: #006f00;
}

.btn-primary.calculate:hover,
#tocheckout.btn-primary:hover {
    color: #ffffff !important;
}

.btn-primary.calculate:disabled,
.btn-primary.disabled.calculate {
    color: #ffffff !important;
    background-color: #ef8e8e !important;
    border-color: #ef8e8e !important;
}

#tocheckout.btn-primary:disabled,
#tocheckout.btn-primary.disabled {
    color: #ffffff !important;
    background-color: #ef8e8e !important;
    border-color: #ef8e8e !important;
}

.limitmessage {
    display: none;
    padding: 6px;
    background-color: #fea569;
    border-color: #fea569;
    color: #ffffff;
    border-radius: 5px;
    width: auto;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 92px;
    width: 100%;
}

.limitmessage.active {
    display: block;
}

.limitmessagesingle {
    display: none;
    padding: 6px;
    background-color: #fea569;
    border-color: #fea569;
    color: #ffffff;
    border-radius: 5px;
    width: auto;
    text-align: center;
    width: auto;
}

.limitmessagesingle.active {
    display: block;
}

.bbbtn {
    color: #ffffff !important;
}

.product-title.fs-sm {
    font-size: 0.765rem !important;
}

@media (max-width: 1680px) {
    .navbar-brand.d-none img {
        max-width: 200px !important;
    }

    .navbar-brand.d-none {
        margin-right: 10px !important;
    }

    .navbar-sticky .navbar .container-fluid {
        padding-left: 15px !important;
    }
}

/*antonis css fix*/
.category-title h3 {

    line-height: 20px;
}


/* .mt-1 μηπως αλλαξουμε το margin-top σε .15 αντι για .25 για να ειναι λιγο πιο πανω
οι ονομασιες στα categories  εστω για εκεινες με 3 line texts */

.card.border-0.files {
    margin-right: 25px;
}

/* μας ενοχλει το γεγονος οτι το 3ο box ειναι μεγαλυτερο απο τα αλλα δυο ?*/


#transactionscontent table * {
    font-size: 14px;
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: wrap-reverse !important;
    }
}

.searchboxnav {
    max-width: 300px;
}

.row1mnu,
.row2mnu {
    width: 100%;
    margin-bottom: 18px;
}

.navbar-sticky.bg-navbar.navbar-stuck .row1mnu{
    width: 60%;
}

.navbar-sticky.bg-navbar.navbar-stuck .searchboxnav{
    max-width: 60%;
}

    .searchboxnav {
        min-width: 200px;
        max-width: 500px;
        margin-top: 16px;
    }
    .row1mnu{
        flex-wrap: wrap;
    }

@media (min-width: 1420px) {
    .searchboxnav {        
        max-width: 250px;
        margin-top: 0px;
    }
}

@media (min-width: 1850px) {
    .searchboxnav {
        max-width: 250px;
    }

    .row1mnu,
    .row2mnu {
        width: auto;
        margin-bottom: 0px;
    }
}

.navbar-sticky.bg-navbar.navbar-stuck .logo-d, .navbar-sticky.bg-navbar.navbar-stuck .navbar-nav.rounded.custom-nav-menu-sticky{
    display: none !important;
}

@media (max-width: 991px) {
    .categories-mob-mnu{
        overflow: scroll;
        height: 58vh;
    }
    #announcement-modal .modal-body{
        padding: 0px;
    }
}

/* =============================================================
   BAKLATSIDIS B2B - MEGAMENU NEW
   Το CSS είναι ενσωματωμένο στη Διάταξη για εύκολη αντικατάσταση.
   ============================================================= */
body.bb-mega-open {
    overflow: hidden !important;
}

.mega-menu-new {
    --bb-menu-top: 82px;
    position: fixed;
    top: var(--bb-menu-top);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1085;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.mega-menu-new.expanded {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.bb-mega-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 39, .72);
    backdrop-filter: blur(2px);
}

.bb-mega-stage {
    position: relative;
    width: min(96vw, 1780px);
    height: calc(100% - 22px);
    margin: 10px auto 12px;
    padding: 0;
}

.bb-mega-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(270px, 315px);
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(14, 47, 86, .10);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(3, 17, 38, .32);
    color: #092b55;
}

.bb-mega-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f7fc;
    color: #0b3b70;
}

.bb-mega-left,
.bb-mega-right,
.bb-mega-main {
    min-height: 0;
}

.bb-mega-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 18px;
    overflow-y: auto;
    border-right: 1px solid #e7eef6;
    background: linear-gradient(180deg, #fbfdff 0%, #f8fbfe 100%);
}

.bb-mega-eyebrow {
    margin: 0 8px 13px;
    color: #718399;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bb-mega-left-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bb-mega-left-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #12365e;
    text-align: left;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bb-mega-left-item:hover,
.bb-mega-left-item:focus-visible {
    border-color: #dceafa;
    background: #f0f7ff;
    outline: 0;
}

.bb-mega-left-item.is-active {
    border-color: #d5e8fb;
    background: linear-gradient(135deg, #edf6ff 0%, #f8fbff 100%);
    box-shadow: inset 3px 0 0 #0f78d2;
}

.bb-mega-left-icon,
.bb-mega-action-icon,
.bb-mega-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0d6fc5;
}

.bb-mega-left-icon svg,
.bb-mega-action-icon svg,
.bb-mega-benefit-icon svg,
.bb-mega-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.bb-mega-left-title {
    min-width: 0;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
}

.bb-mega-left-chevron {
    color: #2469a9;
    font-size: 19px;
    line-height: 1;
}

.bb-mega-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin-top: auto;
    padding: 13px 15px;
    border: 1px solid #dce8f5;
    border-radius: 11px;
    background: #fff;
    color: #123c6b;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.bb-mega-all-link:hover {
    border-color: #90c5ee;
    background: #f3f9ff;
    color: #086ab9;
}

.bb-mega-main {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr);
    gap: 20px;
    padding: 24px 20px 18px;
    overflow-y: auto;
    background: #fff;
}

.bb-mega-hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border-radius: 15px;
    background-color: #edf3f8;
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(10, 48, 84, .08);
}

.bb-mega-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(250, 250, 247, .98) 0%, rgba(250, 250, 247, .90) 37%, rgba(250, 250, 247, .16) 70%, rgba(250, 250, 247, 0) 100%);
}

.bb-mega-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 62%;
    min-width: 185px;
    height: 100%;
    padding: 44px 18px 22px 26px;
}

.bb-mega-hero-kicker {
    margin-bottom: 16px;
    color: #1198c7;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bb-mega-hero-title {
    margin: 0 0 15px;
    color: #062d59;
    font-size: clamp(27px, 2vw, 38px);
    font-weight: 800;
    line-height: 1.05;
}

.bb-mega-hero-description {
    margin: 0 0 24px;
    color: #53687f;
    font-size: 13px;
    line-height: 1.65;
}

.bb-mega-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid #20a4d2;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    color: #0879b7;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.bb-mega-hero-button:hover {
    background: #0879b7;
    color: #fff;
}

.bb-mega-categories {
    min-width: 0;
}

.bb-mega-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 2px 14px;
}

.bb-mega-section-title {
    margin: 0;
    color: #153c68;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.bb-mega-section-count {
    color: #8b9aaa;
    font-size: 11px;
}

.bb-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    gap: 12px;
}

.bb-mega-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 13px 8px 11px;
    border: 1px solid #e3ebf4;
    border-radius: 12px;
    background: #fff;
    color: #123b69;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(14, 52, 90, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.bb-mega-card:hover {
    transform: translateY(-2px);
    border-color: #9fd0f1;
    color: #0876c3;
    box-shadow: 0 10px 24px rgba(15, 87, 144, .10);
}

.bb-mega-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 9px;
    overflow: hidden;
    border-radius: 14px;
    background: #f6f9fd;
}

.bb-mega-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.bb-mega-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #123d72;
}

.bb-mega-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bb-mega-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f2f7fc 0%, #f8fbfe 100%);
    color: #16477d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.bb-mega-view-all:hover {
    background: #e8f4ff;
    color: #0874c0;
}

.bb-mega-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 30px;
    border: 1px dashed #d8e5f1;
    border-radius: 12px;
    background: #fbfdff;
    text-align: center;
}

.bb-mega-right {
    grid-column: 3;
    grid-row: 1;
    padding: 24px 18px 18px;
    overflow-y: auto;
    border-left: 1px solid #e7eef6;
    background: linear-gradient(180deg, #fcfdff 0%, #f9fbfd 100%);
}

.bb-mega-actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 23px;
}

.bb-mega-action {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 61px;
    padding: 9px 10px;
    border: 1px solid #e0e9f3;
    border-radius: 11px;
    background: #fff;
    color: #153d69;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.bb-mega-action:hover {
    transform: translateX(2px);
    border-color: #a9d4f2;
    background: #f7fbff;
}

.bb-mega-action.is-disabled {
    pointer-events: none;
    opacity: .48;
}

.bb-mega-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #edf7ff;
}

.bb-mega-action-title {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 800;
}

.bb-mega-action-subtitle {
    display: block;
    color: #8b99a7;
    font-size: 10px;
    line-height: 1.25;
}

.bb-mega-pill {
    padding: 4px 7px;
    border-radius: 999px;
    background: #e7f2ff;
    color: #2d77b9;
    font-size: 8px;
    font-weight: 800;
    white-space: nowrap;
}

.bb-mega-recent {
    margin-top: 11px;
}

.bb-mega-recent-link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 8px;
    min-height: 37px;
    padding: 5px 2px;
    color: #163d68;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.bb-mega-recent-link:hover {
    color: #0875c0;
}

.bb-mega-history {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 15px;
    border: 1px solid #1c9ad1;
    border-radius: 8px;
    color: #1181b9;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.bb-mega-history:hover {
    background: #1085bd;
    color: #fff;
}

.bb-mega-benefits {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 72px;
    padding: 11px 24px;
    border-top: 1px solid #e8eef5;
    background: #fff;
}

.bb-mega-benefit {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-right: 1px solid #edf2f7;
}

.bb-mega-benefit:last-child {
    border-right: 0;
}

.bb-mega-benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f7fd;
}

.bb-mega-benefit-title {
    display: block;
    color: #143a65;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.bb-mega-benefit-subtitle {
    display: block;
    margin-top: 2px;
    color: #8493a2;
    font-size: 9px;
    line-height: 1.25;
}

@media (max-width: 1500px) {
    .bb-mega-panel {
        grid-template-columns: 230px minmax(0, 1fr) 280px;
    }
    .bb-mega-main {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 15px;
        padding-right: 15px;
    }
    .bb-mega-grid {
        grid-template-columns: repeat(4, minmax(92px, 1fr));
    }
    .bb-mega-card {
        min-height: 116px;
    }
    .bb-mega-hero {
        min-height: 412px;
    }
}

@media (max-width: 1199.98px) {
    .bb-mega-stage {
        width: 98vw;
    }
    .bb-mega-panel {
        grid-template-columns: 210px minmax(0, 1fr) 250px;
    }
    .bb-mega-main {
        grid-template-columns: 220px minmax(0, 1fr);
        padding: 18px 14px 14px;
    }
    .bb-mega-grid {
        grid-template-columns: repeat(3, minmax(88px, 1fr));
        gap: 9px;
    }
    .bb-mega-hero-content {
        width: 72%;
        padding-left: 18px;
    }
    .bb-mega-left,
    .bb-mega-right {
        padding-left: 13px;
        padding-right: 13px;
    }
}


/* =========================================================
   BAKLATSIDIS B2B - MEGAMENU NEW V2
   PATCH: adaptive height, smaller empty areas, long titles,
   stronger text contrast on photos, cleaner small groups.

   IMPORTANT:
   Paste this block AFTER the existing MEGAMENUNEW CSS block,
   outside every @media rule.
   ========================================================= */

/* 1. Το menu δεν γεμίζει υποχρεωτικά όλο το ύψος της οθόνης. */
.mega-menu-new {
    overflow-y: auto;
    padding-bottom: 12px;
}

.bb-mega-stage {
    height: auto;
    min-height: 0;
    max-height: calc(100vh - var(--bb-menu-top) - 20px);
    overflow-y: auto;
}

.bb-mega-panel {
    height: auto;
    min-height: 555px;
    max-height: calc(100vh - var(--bb-menu-top) - 22px);
}

.bb-mega-left,
.bb-mega-main,
.bb-mega-right {
    max-height: calc(100vh - var(--bb-menu-top) - 96px);
}

/* 2. Κεντρικό τμήμα: πιο φυσικό ύψος και λιγότερος κενός χώρος. */
.bb-mega-main {
    align-items: start;
}

.bb-mega-hero {
    min-height: 420px;
    height: 100%;
    max-height: 545px;
}

.bb-mega-categories {
    align-self: start;
}

.bb-mega-grid {
    align-content: start;
}

/* 3. Μικρές ομάδες (1-4 κατηγορίες) δεν τεντώνονται αφύσικα. */
.bb-mega-grid:has(> .bb-mega-card:only-child) {
    grid-template-columns: minmax(175px, 235px);
}

.bb-mega-grid:has(> .bb-mega-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(150px, 205px));
}

.bb-mega-grid:has(> .bb-mega-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(145px, 190px));
}

.bb-mega-grid:has(> .bb-mega-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(135px, 180px));
}

.bb-mega-empty {
    min-height: 175px;
    padding: 24px;
}

/* 4. Μεγάλοι τίτλοι, όπως “Καταργημένοι Τιμοκατάλογοι 2026”. */
.bb-mega-hero-content {
    width: 70%;
    min-width: 0;
    padding-top: 38px;
}

.bb-mega-hero-title {
    max-width: 100%;
    font-size: clamp(24px, 1.85vw, 37px);
    line-height: 1.04;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
}

.bb-mega-hero-description {
    max-width: 230px;
}

/* 5. Καλύτερη αναγνωσιμότητα πάνω στις φωτογραφίες. */
.bb-mega-hero::before {
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, .99) 0%,
            rgba(255, 255, 255, .94) 38%,
            rgba(255, 255, 255, .68) 56%,
            rgba(255, 255, 255, .10) 78%,
            rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg,
            rgba(255, 255, 255, .05) 0%,
            rgba(255, 255, 255, 0) 58%,
            rgba(255, 255, 255, .20) 100%);
}

.bb-mega-hero-kicker,
.bb-mega-hero-title,
.bb-mega-hero-description {
    text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}

.bb-mega-hero-button {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(7, 52, 91, .08);
}

/* 6. Καθαρότερη εμφάνιση των καρτών. */
.bb-mega-card {
    min-height: 124px;
}

.bb-mega-card-title {
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
}

.bb-mega-view-all {
    margin-top: 12px;
}

/* 7. Καλύτερη συμπεριφορά σε χαμηλότερες desktop οθόνες. */
@media (max-height: 780px) and (min-width: 992px) {
    .bb-mega-panel {
        min-height: 500px;
    }

    .bb-mega-left,
    .bb-mega-main,
    .bb-mega-right {
        max-height: calc(100vh - var(--bb-menu-top) - 78px);
    }

    .bb-mega-main {
        padding-top: 16px;
        padding-bottom: 13px;
    }

    .bb-mega-left,
    .bb-mega-right {
        padding-top: 16px;
        padding-bottom: 13px;
    }

    .bb-mega-hero {
        min-height: 370px;
        max-height: 470px;
    }

    .bb-mega-card {
        min-height: 108px;
        padding-top: 10px;
        padding-bottom: 9px;
    }

    .bb-mega-card-media {
        width: 50px;
        height: 50px;
        margin-bottom: 7px;
    }

    .bb-mega-benefits {
        min-height: 62px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 1500px) {
    .bb-mega-hero-content {
        width: 74%;
    }

    .bb-mega-hero-title {
        font-size: clamp(23px, 2vw, 34px);
    }
}

@media (max-width: 1199.98px) {
    .bb-mega-panel {
        min-height: 520px;
    }

    .bb-mega-hero-content {
        width: 82%;
    }

    .bb-mega-grid:has(> .bb-mega-card:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}
/* =========================================================
   B2B PREMIUM HEADER - START
   Εφαρμόζεται μόνο στο custom_megamenunew
   ========================================================= */

@media (min-width: 992px) {

    /* Κεντρική μπάρα */
    .bb-header-new {
        background: linear-gradient(
            90deg,
            #042f5c 0%,
            #063e72 52%,
            #043460 100%
        ) !important;
        border-bottom: 1px solid rgba(33, 199, 232, 0.28);
        box-shadow: 0 8px 24px rgba(0, 25, 55, 0.15);
    }

    .bb-header-new > .navbar:first-child {
        min-height: 74px;
        padding-top: 0;
        padding-bottom: 0;
        transition: min-height 0.25s ease, box-shadow 0.25s ease;
    }

    .bb-header-new > .navbar:first-child > .container-fluid {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 14px;
        padding-left: 28px;
        padding-right: 28px;
    }

    /* Αριστερή περιοχή: logo, προϊόντα, αναζήτηση */
    .bb-header-new .row1mnu {
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
    }

    /* Δεξιά περιοχή: γλώσσα, λογαριασμός, λίστες, καλάθι */
    .bb-header-new .row2mnu {
        flex: 0 0 auto;
        align-items: center;
        margin-left: auto;
    }

    /* Logo */
    .bb-header-new .mnu-logo-lg,
    .bb-header-new .mnu-logo-sm {
        flex: 0 0 auto;
    }

    .bb-header-new .mnu-logo-lg .navbar-brand {
        margin-right: 20px !important;
    }

    .bb-header-new .mnu-logo-lg img {
        width: auto !important;
        max-width: 230px !important;
        max-height: 42px !important;
        transition: max-height 0.25s ease, max-width 0.25s ease;
    }

    /* Κρύβουμε Αρχική, Ανακοινώσεις, Εγχειρίδια, Επιστροφές */
    .bb-header-new .bb-header-secondary-link {
        display: none !important;
    }

    /* Περιοχή Προϊόντα */
    .bb-header-new .custom-nav-menu {
        margin-right: 12px !important;
    }

    .bb-header-new #openmega-new,
    .bb-header-new #openmega-new-sticky {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        padding: 0 16px;
        margin: 0;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.055);
        border: 1px solid rgba(255, 255, 255, 0.84) !important;
        border-radius: 10px !important;
        box-shadow: none;
        white-space: nowrap;
        transition: background-color 0.2s ease,
                    border-color 0.2s ease,
                    box-shadow 0.2s ease,
                    transform 0.2s ease;
    }

    .bb-header-new #openmega-new:hover,
    .bb-header-new #openmega-new-sticky:hover {
        color: #ffffff !important;
        background: rgba(20, 184, 222, 0.15);
        border-color: #28c6e7 !important;
        box-shadow: 0 0 0 3px rgba(40, 198, 231, 0.10);
        transform: translateY(-1px);
    }

    .bb-header-new #openmega-new[aria-expanded="true"],
    .bb-header-new #openmega-new-sticky[aria-expanded="true"] {
        color: #ffffff !important;
        background: rgba(20, 184, 222, 0.18);
        border-color: #28c6e7 !important;
        box-shadow: 0 0 0 3px rgba(40, 198, 231, 0.10),
                    0 7px 18px rgba(0, 30, 60, 0.18);
    }

    .bb-header-new #openmega-new .navbar-tool-icon,
    .bb-header-new #openmega-new-sticky .navbar-tool-icon {
        font-size: 20px;
    }

    /* Αναζήτηση */
    .bb-header-new .bb-header-search {
        flex: 1 1 360px;
        width: auto;
        min-width: 250px !important;
        max-width: 420px;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .bb-header-new .bb-header-search .form-control {
        height: 44px;
        padding-left: 16px;
        padding-right: 45px !important;
        color: #17344f !important;
        background: #ffffff !important;
        border: 1px solid rgba(10, 55, 95, 0.12);
        border-radius: 10px !important;
        box-shadow: 0 4px 14px rgba(0, 24, 55, 0.10),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .bb-header-new .bb-header-search .form-control::placeholder {
        color: #8191a2 !important;
        opacity: 1;
    }

    .bb-header-new .bb-header-search .form-control:focus {
        border-color: #28c6e7;
        box-shadow: 0 0 0 3px rgba(40, 198, 231, 0.13),
                    0 6px 16px rgba(0, 24, 55, 0.12);
    }

    .bb-header-new .bb-header-search .ci-search {
        color: #61798e !important;
        font-size: 17px;
    }

    /* Γλώσσα */
    .bb-header-new .row2mnu .btn-secondary {
        min-height: 44px;
        padding-left: 14px !important;
        padding-right: 14px !important;
        color: #17344f !important;
        background: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.30) !important;
        border-radius: 10px;
        box-shadow: 0 4px 14px rgba(0, 24, 55, 0.10);
    }

    .bb-header-new .row2mnu .btn-secondary:hover {
        color: #063e72 !important;
        background: #f5fbfe !important;
        border-color: #28c6e7 !important;
    }

    /* Λογαριασμός */
    .bb-header-new .navbar-tool.dropdown {
        min-height: 50px;
        padding-left: 6px;
        padding-right: 8px;
        border-radius: 12px;
        transition: background-color 0.2s ease;
    }

    .bb-header-new .navbar-tool.dropdown:hover {
        background: rgba(255, 255, 255, 0.07);
    }

    .bb-header-new .navbar-tool-text {
        margin-left: 7px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .bb-header-new .navbar-tool-text small {
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        opacity: 0.72;
    }

    /* Κυκλικά κουμπιά λίστας και καλαθιού */
    .bb-header-new .navbar-tool-icon-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.07) !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        transition: background-color 0.2s ease,
                    border-color 0.2s ease,
                    transform 0.2s ease;
    }

    .bb-header-new .navbar-tool-icon-box:hover {
        color: #ffffff !important;
        background: rgba(40, 198, 231, 0.18) !important;
        border-color: rgba(40, 198, 231, 0.62);
        transform: translateY(-1px);
    }

    .bb-header-new .navbar-tool-icon {
        line-height: 1;
    }

    .bb-header-new .navbar-tool .navbar-tool-label {
        top: -4px;
        right: -3px;
        min-width: 19px;
        height: 19px;
        padding: 0 5px;
        line-height: 19px;
        background: #12bfe3 !important;
        box-shadow: 0 2px 7px rgba(0, 20, 45, 0.28);
    }

    /* Dropdown λογαριασμού */
    .bb-header-new .navbar-tool.dropdown > .dropdown-menu-end {
        min-width: 245px;
        padding: 8px;
        margin-top: 8px;
        background: #ffffff;
        border: 1px solid rgba(13, 48, 80, 0.08);
        border-radius: 13px;
        box-shadow: 0 18px 45px rgba(0, 25, 55, 0.18),
                    0 4px 12px rgba(0, 25, 55, 0.08);
    }

    .bb-header-new .navbar-tool.dropdown > .dropdown-menu-end .dropdown-item {
        padding: 11px 13px;
        color: #17344f;
        border-radius: 8px;
        transition: color 0.18s ease, background-color 0.18s ease;
    }

    .bb-header-new .navbar-tool.dropdown > .dropdown-menu-end .dropdown-item:hover {
        color: #007fab !important;
        background: #eef9fd;
    }

    .bb-header-new .navbar-tool.dropdown > .dropdown-menu-end .dropdown-item:last-child {
        color: #c43d49;
        margin-top: 3px;
        border-top: 1px solid #edf1f5;
        border-radius: 0 0 8px 8px;
    }

    .bb-header-new .navbar-tool.dropdown > .dropdown-menu-end .dropdown-item:last-child:hover {
        color: #b02c39 !important;
        background: #fff2f3;
    }

    /* Sticky header */
    .bb-header-new.navbar-stuck > .navbar:first-child {
        min-height: 64px;
        box-shadow: 0 8px 22px rgba(0, 24, 55, 0.17);
    }

    .bb-header-new.navbar-stuck .mnu-logo-lg img {
        max-width: 205px !important;
        max-height: 35px !important;
    }
}

/* Προσαρμογή σε μικρότερο laptop */
@media (min-width: 992px) and (max-width: 1399px) {

    .bb-header-new > .navbar:first-child > .container-fluid {
        gap: 8px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .bb-header-new .mnu-logo-lg .navbar-brand {
        margin-right: 12px !important;
    }

    .bb-header-new .mnu-logo-lg img {
        max-width: 205px !important;
        max-height: 38px !important;
    }

    .bb-header-new .bb-header-search {
        flex-basis: 280px;
        min-width: 220px !important;
        max-width: 330px;
    }

    .bb-header-new #openmega-new,
    .bb-header-new #openmega-new-sticky {
        padding-left: 13px;
        padding-right: 13px;
    }

    .bb-header-new .navbar-tool-text {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* 16 κατηγορίες: καθαρό πλέγμα 4 x 4 */
.bb-mega-grid:has(> .bb-mega-card:nth-child(16):last-child) {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}

/* =========================================================
   B2B PREMIUM HEADER - END
   ========================================================= */

/* =========================================================
   BAKLATSIDIS B2B - PREMIUM COMPACT FOOTER V1
   Εφαρμόζεται μόνο στο custom_footernew
   ========================================================= */

.bb-footer-new {
    --bb-footer-bg-1: #063b6b;
    --bb-footer-bg-2: #052f59;
    --bb-footer-accent: #18b9dc;
    --bb-footer-text: #ffffff;
    --bb-footer-muted: rgba(255, 255, 255, .68);
    position: relative;
    overflow: hidden;
    color: var(--bb-footer-text);
    background:
        radial-gradient(circle at 12% 10%, rgba(26, 187, 220, .10), transparent 28%),
        linear-gradient(135deg, var(--bb-footer-bg-1) 0%, var(--bb-footer-bg-2) 100%);
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.bb-footer-new::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .35;
}

.bb-footer-top-line {
    position: relative;
    z-index: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--bb-footer-accent), transparent);
}

.bb-footer-container {
    position: relative;
    z-index: 1;
    padding-top: 34px;
    padding-bottom: 0;
}

.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr 1.15fr 1.35fr;
    gap: 34px;
    align-items: start;
}

.bb-footer-brand,
.bb-footer-column,
.bb-footer-newsletter {
    min-width: 0;
}

.bb-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 225px;
    margin-bottom: 16px;
}

.bb-footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78px;
    object-fit: contain;
}

.bb-footer-brand-text,
.bb-footer-newsletter-text {
    max-width: 270px;
    margin: 0 0 17px;
    color: var(--bb-footer-muted);
    font-size: 12px;
    line-height: 1.55;
}

.bb-footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.bb-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .065);
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.bb-footer-social a:hover {
    color: #ffffff !important;
    border-color: rgba(24, 185, 220, .8);
    background: rgba(24, 185, 220, .22);
    transform: translateY(-2px);
}

.bb-footer-title {
    margin: 0 0 15px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.bb-footer-location {
    margin-bottom: 14px;
}

.bb-footer-location:last-of-type {
    margin-bottom: 0;
}

.bb-footer-location h4 {
    margin: 0 0 5px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.bb-footer-location p,
.bb-footer-location a,
.bb-footer-location span,
.bb-footer-email {
    display: block;
    margin: 0;
    color: var(--bb-footer-muted) !important;
    font-size: 12px;
    line-height: 1.48;
    text-decoration: none;
}

.bb-footer-location a:hover,
.bb-footer-email:hover {
    color: #ffffff !important;
}

.bb-footer-email {
    margin-top: 12px;
    font-weight: 700;
}

.bb-footer-subscription {
    margin: 0;
}

.bb-footer-subscription-row {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 22, 48, .14);
}

.bb-footer-mail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #688096;
}

.bb-footer-subscription-row input {
    min-width: 0;
    height: 44px;
    padding: 0 10px 0 0;
    color: #17364f;
    border: 0;
    outline: 0;
    background: #ffffff;
    font-size: 13px;
}

.bb-footer-subscription-row input::placeholder {
    color: #8796a5;
}

.bb-footer-subscribe-btn {
    align-self: stretch;
    min-width: 96px;
    padding: 0 17px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(135deg, #13a8d0, #0a86ba);
    font-size: 12px;
    font-weight: 800;
    transition: filter .2s ease, transform .2s ease;
}

.bb-footer-subscribe-btn:hover:not(:disabled) {
    filter: brightness(1.06);
}

.bb-footer-subscribe-btn:disabled {
    opacity: .75;
    cursor: wait;
}

.bb-footer-form-message {
    margin: 7px 0 0;
    font-size: 11px;
    line-height: 1.35;
}

.bb-footer-form-message.is-error {
    color: #ffd2d7;
}

.bb-footer-form-message.is-success {
    color: #bff4d1;
}

.bb-footer-policies {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
}

.bb-footer-policies a {
    color: var(--bb-footer-muted) !important;
    font-size: 11px;
    line-height: 1.35;
    text-decoration: none;
}

.bb-footer-policies a:hover {
    color: #ffffff !important;
}

.bb-footer-espa {
    margin-top: 14px;
}

.bb-footer-espa img {
    display: block;
    width: min(100%, 230px);
    height: auto;
    max-height: 62px;
    object-fit: contain;
    object-position: left center;
    background: rgba(255, 255, 255, .97);
    border-radius: 4px;
}

.bb-footer-menu-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: 26px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.bb-footer-menu-links a {
    position: relative;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.bb-footer-menu-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .32);
    transform: translateY(-50%);
}

.bb-footer-menu-links a:hover {
    color: #ffffff !important;
}

.bb-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
    line-height: 1.35;
}

.bb-footer-bottom a {
    color: rgba(255, 255, 255, .72) !important;
    text-decoration: none;
}

.bb-footer-bottom a:hover {
    color: #ffffff !important;
}

.bb-footer-powered {
    text-align: right;
}

@media (max-width: 1199.98px) {
    .bb-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 38px;
    }
}

@media (max-width: 767.98px) {
    .bb-footer-container {
        padding-top: 28px;
    }

    .bb-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bb-footer-brand-text,
    .bb-footer-newsletter-text {
        max-width: none;
    }

    .bb-footer-logo {
        max-width: 205px;
    }

    .bb-footer-menu-links {
        gap: 8px 14px;
        margin-top: 22px;
    }

    .bb-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
        padding: 14px 0;
    }

    .bb-footer-powered {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .bb-footer-subscription-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .bb-footer-subscribe-btn {
        grid-column: 1 / -1;
        min-height: 42px;
    }
}

/* =========================================================
   BAKLATSIDIS B2B - PREMIUM COMPACT FOOTER V1 END
   ========================================================= */


/* =========================================================
   V2 FULL-WIDTH + INLINE SOCIAL ICONS
   ========================================================= */

/* Side-to-side περιεχόμενο με ασφαλές responsive gutter. */
.bb-footer-new .bb-footer-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(24px, 4.5vw, 86px) !important;
    padding-right: clamp(24px, 4.5vw, 86px) !important;
}

.bb-footer-new .bb-footer-grid {
    grid-template-columns:
        minmax(230px, .95fr)
        minmax(250px, 1fr)
        minmax(250px, 1fr)
        minmax(330px, 1.25fr);
    gap: clamp(28px, 3.2vw, 62px);
}

/* Τα social SVG δεν εξαρτώνται πλέον από Font Awesome. */
.bb-footer-social a svg {
    display: block;
    width: 18px;
    height: 18px;
    color: #ffffff;
    overflow: visible;
}

.bb-footer-social a:hover svg {
    color: #ffffff;
}

@media (max-width: 1199.98px) {
    .bb-footer-new .bb-footer-container {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .bb-footer-new .bb-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 42px;
    }
}

@media (max-width: 767.98px) {
    .bb-footer-new .bb-footer-container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .bb-footer-new .bb-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   V2 END
   ========================================================= */

/* =========================================================
   BAKLATSIDIS B2B - PREMIUM HEADER V3 FINAL OVERRIDE
   Βάλτε το στο ΤΕΛΟΣ όλου του CSS
   ========================================================= */

@media (min-width: 992px) {

    /* Κεντρική μπάρα */
    .bb-header-new {
        background:
            radial-gradient(
                circle at 20% -80%,
                rgba(25, 191, 224, .18),
                transparent 38%
            ),
            linear-gradient(
                105deg,
                #073968 0%,
                #083f73 52%,
                #06345f 100%
            ) !important;

        border-top: 1px solid rgba(34, 201, 230, .20);
        border-bottom: 1px solid rgba(34, 201, 230, .28);
        box-shadow: 0 8px 26px rgba(0, 25, 55, .18);
    }

    /* Αφαιρεί τα παλιά μεγάλα κενά */
    .bb-header-new > .navbar:first-child {
        min-height: 76px;
        padding: 0 !important;
    }

    .bb-header-new > .navbar:first-child > .container-fluid {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center !important;
        min-height: 76px;
        gap: 18px;

        padding-left: clamp(22px, 2.1vw, 40px) !important;
        padding-right: clamp(22px, 2.1vw, 40px) !important;
    }

    /* Αριστερό τμήμα */
    .bb-header-new .row1mnu {
        display: flex;
        flex: 1 1 auto !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 14px;

        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* Δεξί τμήμα */
    .bb-header-new .row2mnu {
        display: flex;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px;

        width: auto !important;
        margin: 0 !important;
    }

    /* Logo */
    .bb-header-new .mnu-logo-lg,
    .bb-header-new .mnu-logo-sm {
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .bb-header-new .navbar-brand {
        display: flex;
        align-items: center;
        margin: 0 12px 0 0 !important;
        padding: 0 !important;
    }

    .bb-header-new .mnu-logo-lg img,
    .bb-header-new .mnu-logo-sm img {
        display: block;
        width: auto !important;
        max-width: 235px !important;
        max-height: 40px !important;
        object-fit: contain;
    }

    /* Το κουμπί Προϊόντα παραμένει και στο sticky header */
    .bb-header-new .custom-nav-menu,
    .bb-header-new.navbar-stuck .custom-nav-menu {
        display: flex !important;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .bb-header-new .custom-nav-menu-sticky,
    .bb-header-new.navbar-stuck .custom-nav-menu-sticky {
        display: none !important;
    }

    /* Premium κουμπί Προϊόντα */
    .bb-header-new #openmega-new {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;

        height: 46px;
        padding: 0 17px !important;
        margin: 0;

        color: #ffffff !important;
        background: rgba(255, 255, 255, .075);
        border: 1px solid rgba(255, 255, 255, .48) !important;
        border-radius: 12px !important;

        font-size: 14px;
        font-weight: 700;
        white-space: nowrap;

        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 5px 13px rgba(0, 20, 45, .08);

        transition:
            background-color .2s ease,
            border-color .2s ease,
            box-shadow .2s ease,
            transform .2s ease;
    }

    .bb-header-new #openmega-new:hover,
    .bb-header-new #openmega-new[aria-expanded="true"] {
        color: #ffffff !important;
        background: rgba(25, 190, 223, .18);
        border-color: rgba(46, 207, 234, .82) !important;

        box-shadow:
            0 0 0 3px rgba(30, 194, 225, .10),
            0 8px 18px rgba(0, 22, 48, .15);

        transform: translateY(-1px);
    }

    .bb-header-new #openmega-new::after {
        margin-left: 2px;
        opacity: .75;
    }

    .bb-header-new #openmega-new .navbar-tool-icon {
        font-size: 20px;
        line-height: 1;
    }

    /* Μεγαλύτερη και πιο premium αναζήτηση */
    .bb-header-new .bb-header-search {
        flex: 1 1 620px !important;

        width: auto !important;
        min-width: 280px !important;
        max-width: 720px !important;

        margin: 0 auto !important;
    }

    .bb-header-new .bb-header-search .form-control {
        height: 46px;

        padding-left: 18px;
        padding-right: 48px !important;

        color: #17364f !important;
        background: rgba(255, 255, 255, .98) !important;

        border: 1px solid rgba(7, 51, 91, .10);
        border-radius: 13px !important;

        font-size: 14px;

        box-shadow:
            0 7px 20px rgba(0, 22, 50, .14),
            inset 0 1px 0 rgba(255, 255, 255, .90);

        transition:
            border-color .2s ease,
            box-shadow .2s ease,
            background-color .2s ease;
    }

    .bb-header-new .bb-header-search .form-control::placeholder {
        color: #8493a2 !important;
        opacity: 1;
    }

    .bb-header-new .bb-header-search .form-control:focus {
        background: #ffffff !important;
        border-color: #26badc;

        box-shadow:
            0 0 0 3px rgba(27, 184, 216, .14),
            0 9px 23px rgba(0, 22, 50, .15);
    }

    .bb-header-new .bb-header-search .ci-search {
        color: #55748e !important;
        font-size: 18px;
    }

    /* Γλώσσα */
    .bb-header-new .row2mnu > .dropdown {
        margin-left: 0 !important;
    }

    .bb-header-new .row2mnu .btn-secondary {
        display: inline-flex;
        align-items: center;

        min-height: 46px;
        padding-left: 14px !important;
        padding-right: 14px !important;

        color: #17364f !important;
        background: rgba(255, 255, 255, .98) !important;

        border: 1px solid rgba(255, 255, 255, .32) !important;
        border-radius: 12px !important;

        font-size: 14px;
        font-weight: 650;

        box-shadow: 0 6px 17px rgba(0, 22, 50, .13);
    }

    .bb-header-new .row2mnu .btn-secondary:hover,
    .bb-header-new .row2mnu .btn-secondary:focus {
        color: #063e72 !important;
        background: #f4fbfd !important;
        border-color: #27c0df !important;
    }

    /* Δεξιά εργαλεία */
    .bb-header-new .navbar-toolbar {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .bb-header-new .navbar-tool {
        margin-left: 0 !important;
    }

    .bb-header-new .navbar-tool-icon-box {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;
        padding: 0 !important;

        color: #ffffff !important;
        background: rgba(255, 255, 255, .07) !important;

        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 13px;

        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);

        transition:
            background-color .2s ease,
            border-color .2s ease,
            box-shadow .2s ease,
            transform .2s ease;
    }

    .bb-header-new .navbar-tool-icon-box:hover {
        color: #ffffff !important;
        background: rgba(30, 191, 222, .17) !important;
        border-color: rgba(40, 201, 230, .52);

        box-shadow: 0 6px 16px rgba(0, 20, 45, .12);
        transform: translateY(-1px);
    }

    .bb-header-new .navbar-tool-icon {
        line-height: 1;
    }

    /* Λογαριασμός */
    .bb-header-new .navbar-tool.dropdown {
        display: flex;
        align-items: center;

        min-height: 48px;
        padding: 2px 7px 2px 2px;

        border: 1px solid transparent;
        border-radius: 13px;

        transition:
            background-color .2s ease,
            border-color .2s ease;
    }

    .bb-header-new .navbar-tool.dropdown:hover {
        background: rgba(255, 255, 255, .055);
        border-color: rgba(255, 255, 255, .08);
    }

    .bb-header-new .navbar-tool-text {
        max-width: 190px;
        margin-left: 8px !important;
        padding: 0 !important;

        overflow: hidden;
        color: #ffffff !important;

        font-size: 13px;
        font-weight: 650;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bb-header-new .navbar-tool-text small {
        display: block;

        margin-bottom: 3px;

        overflow: hidden;
        color: rgba(255, 255, 255, .60) !important;

        font-size: 9px;
        font-weight: 500;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Badge καλαθιού */
    .bb-header-new #navcart-icon {
        position: relative;
    }

    .bb-header-new .navbar-tool .navbar-tool-label {
        top: -5px;
        right: -5px;

        min-width: 20px;
        height: 20px;
        padding: 0 5px;

        color: #ffffff !important;
        background: #14bfe1 !important;
        border: 2px solid #063864;
        border-radius: 999px;

        font-size: 10px;
        font-weight: 800;
        line-height: 16px;

        box-shadow: 0 4px 10px rgba(0, 20, 45, .30);
    }

    /* Sticky: λίγο πιο compact αλλά ίδια αισθητική */
    .bb-header-new.navbar-stuck > .navbar:first-child,
    .bb-header-new.navbar-stuck > .navbar:first-child > .container-fluid {
        min-height: 68px;
    }

    .bb-header-new.navbar-stuck .row1mnu {
        width: auto !important;
    }

    .bb-header-new.navbar-stuck .searchboxnav {
        max-width: 650px !important;
    }

    .bb-header-new.navbar-stuck .mnu-logo-lg img,
    .bb-header-new.navbar-stuck .mnu-logo-sm img {
        max-width: 215px !important;
        max-height: 36px !important;
    }
}

/* Laptop / μικρό desktop */
@media (min-width: 992px) and (max-width: 1399px) {

    .bb-header-new > .navbar:first-child > .container-fluid {
        gap: 10px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .bb-header-new .mnu-logo-lg img,
    .bb-header-new .mnu-logo-sm img {
        max-width: 185px !important;
        max-height: 35px !important;
    }

    .bb-header-new .navbar-brand {
        margin-right: 5px !important;
    }

    .bb-header-new #openmega-new {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    .bb-header-new .bb-header-search {
        flex-basis: 400px !important;
        min-width: 220px !important;
        max-width: 470px !important;
    }

    .bb-header-new .navbar-tool-text {
        display: none;
    }
}

/* Πολύ μεγάλο desktop */
@media (min-width: 1800px) {

    .bb-header-new .bb-header-search {
        max-width: 760px !important;
    }

    .bb-header-new .navbar-tool-text {
        max-width: 210px;
    }
}

/* =========================================================
   PREMIUM HEADER V3 FINAL OVERRIDE END
   ========================================================= */
/* =========================================================
   BAKLATSIDIS B2B - MEGA MENU SUBCATEGORY TREE V1
   + FAVORITES POPOVER FINAL FIX
   Το block πρέπει να παραμένει στο ΤΕΛΟΣ του CSS.
   ========================================================= */

/* Wrapper κάρτας: κρατά ξεχωριστό link κατηγορίας και κουμπί δέντρου. */
.bb-mega-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3ebf4;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(14, 52, 90, .035);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.bb-mega-card-wrap:hover {
    transform: translateY(-2px);
    border-color: #9fd0f1;
    box-shadow: 0 10px 24px rgba(15, 87, 144, .10);
}

.bb-mega-card-wrap.is-tree-open {
    border-color: #1b9bd2;
    box-shadow:
        0 0 0 3px rgba(27, 155, 210, .09),
        0 12px 28px rgba(15, 87, 144, .12);
}

/* Η υφιστάμενη κάρτα γίνεται το επάνω clickable μέρος. */
.bb-mega-card-wrap > .bb-mega-card {
    flex: 1 1 auto;
    min-height: 96px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.bb-mega-card-wrap:not(.has-children) > .bb-mega-card {
    min-height: 124px;
}

.bb-mega-card-wrap > .bb-mega-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

/* Κουμπί εμφάνισης υποκατηγοριών. */
.bb-mega-card-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    color: #52718e;
    border: 0;
    border-top: 1px solid #e8eff6;
    background: #f8fbfe;
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition:
        color .18s ease,
        background-color .18s ease;
}

.bb-mega-card-toggle:hover,
.bb-mega-card-toggle:focus-visible,
.bb-mega-card-wrap.is-tree-open .bb-mega-card-toggle {
    color: #0876bd;
    background: #edf7ff;
    outline: 0;
}

.bb-mega-card-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #0d78bd;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .18s ease;
}

.bb-mega-card-wrap.is-tree-open .bb-mega-card-toggle-arrow {
    transform: rotate(180deg) translateY(1px);
}

/* Panel δέντρου κάτω από το πλέγμα καρτών. */
.bb-mega-subtree {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #d8e8f5;
    border-radius: 13px;
    background:
        linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
    box-shadow: 0 12px 30px rgba(13, 72, 118, .08);
}

.bb-mega-subtree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-bottom: 1px solid #e1ebf4;
    background: rgba(255, 255, 255, .86);
}

.bb-mega-subtree-kicker {
    display: block;
    margin-bottom: 3px;
    color: #1594c8;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bb-mega-subtree-head h4 {
    margin: 0;
    color: #123d68;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
}

.bb-mega-subtree-head-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.bb-mega-subtree-head-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    color: #0879b7;
    border: 1px solid #9fd0ec;
    border-radius: 8px;
    background: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.bb-mega-subtree-head-actions > a:hover {
    color: #ffffff;
    border-color: #0c83bb;
    background: #0c83bb;
}

.bb-mega-subtree-head-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #5d758c;
    border: 1px solid #d6e2ed;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.bb-mega-subtree-head-actions > button:hover,
.bb-mega-subtree-head-actions > button:focus-visible {
    color: #0c79b2;
    border-color: #9acde8;
    background: #eef8fd;
    outline: 0;
}

.bb-mega-subtree-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    padding: 13px;
}

.bb-mega-tree-branch {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1eaf3;
    border-radius: 10px;
    background: #ffffff;
}

.bb-mega-tree-parent {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    min-height: 45px;
    padding: 8px 10px;
    color: #153e69;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
    transition:
        color .18s ease,
        background-color .18s ease;
}

.bb-mega-tree-parent:hover {
    color: #0877bd;
    background: #f2f9fe;
}

.bb-mega-tree-parent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f78bd;
}

.bb-mega-tree-parent-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.bb-mega-tree-descendants {
    padding: 3px 8px 8px;
    border-top: 1px solid #edf2f7;
    background: #fbfdff;
}

.bb-mega-tree-child {
    --bb-tree-depth: 1;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding:
        5px 2px
        5px
        calc(4px + (var(--bb-tree-depth) - 1) * 13px);
    color: #536d86;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition:
        color .16s ease,
        background-color .16s ease;
}

.bb-mega-tree-child:hover {
    color: #0877bd;
    background: #edf7fd;
}

.bb-mega-tree-child.is-deep {
    font-weight: 650;
}

.bb-mega-tree-bullet {
    width: 5px;
    height: 5px;
    border: 1px solid #56a9d3;
    border-radius: 50%;
    background: #ffffff;
}

.bb-mega-tree-child.is-deep .bb-mega-tree-bullet {
    width: 4px;
    height: 4px;
    border: 0;
    background: #9ab8cc;
}

.bb-mega-tree-link-arrow {
    color: #2e86b9;
    font-size: 13px;
    line-height: 1;
}

/* Vue transition. */
.bb-mega-tree-enter-active,
.bb-mega-tree-leave-active {
    transition:
        opacity .18s ease,
        transform .18s ease;
    transform-origin: top center;
}

.bb-mega-tree-enter-from,
.bb-mega-tree-leave-to {
    opacity: 0;
    transform: translateY(-6px) scaleY(.98);
}

/* Το πλέγμα πλέον έχει wrappers αντί για απευθείας .bb-mega-card. */
.bb-mega-grid:has(> .bb-mega-card-wrap:only-child) {
    grid-template-columns: minmax(175px, 235px);
}

.bb-mega-grid:has(> .bb-mega-card-wrap:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(150px, 205px));
}

.bb-mega-grid:has(> .bb-mega-card-wrap:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(145px, 190px));
}

.bb-mega-grid:has(> .bb-mega-card-wrap:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(135px, 180px));
}

/* 16 κατηγορίες: 4 x 4 και με το νέο wrapper. */
.bb-mega-grid:has(> .bb-mega-card-wrap:nth-child(16):last-child) {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}

/* Favorites popup: σωστή θέση κάτω από το νέο premium header. */
.bb-header-new .bb-wishlist-popover {
    width: 340px !important;
    top: 58px !important;
    right: 0 !important;
    left: auto !important;
    z-index: 1200 !important;
    overflow: visible;
    background: #ffffff;
    border: 1px solid rgba(10, 48, 84, .10);
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(0, 25, 55, .20) !important;
}

.bb-header-new .bb-wishlist-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 17px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-top: 1px solid rgba(10, 48, 84, .10);
    border-left: 1px solid rgba(10, 48, 84, .10);
    transform: rotate(45deg);
}

@media (max-width: 1500px) {
    .bb-mega-subtree-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .bb-mega-grid:has(> .bb-mega-card-wrap:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .bb-mega-subtree-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .bb-mega-subtree-head {
        align-items: flex-start;
    }
}

@media (max-height: 780px) and (min-width: 992px) {
    .bb-mega-card-wrap > .bb-mega-card {
        min-height: 82px;
        padding-top: 9px;
        padding-bottom: 8px;
    }

    .bb-mega-card-wrap:not(.has-children) > .bb-mega-card {
        min-height: 108px;
    }

    .bb-mega-card-toggle {
        min-height: 31px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .bb-mega-subtree-grid {
        padding: 10px;
    }
}

/* =========================================================
   MEGA MENU SUBCATEGORY TREE V1 END
   ========================================================= */

/* =========================================================
   MEGA MENU SUBCATEGORY TREE V2
   Αυτόματη εστίαση/κύλιση στο δέντρο που μόλις άνοιξε.
   ========================================================= */
.bb-mega-subtree {
    scroll-margin-top: 12px;
}

.bb-mega-subtree.is-scroll-focused {
    animation: bbMegaSubtreeFocus .82s ease;
}

@keyframes bbMegaSubtreeFocus {
    0% {
        border-color: #22a9dc;
        box-shadow:
            0 0 0 5px rgba(34, 169, 220, .16),
            0 16px 34px rgba(13, 72, 118, .12);
    }
    100% {
        border-color: #d8e8f5;
        box-shadow: 0 12px 30px rgba(13, 72, 118, .08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bb-mega-subtree.is-scroll-focused {
        animation: none;
    }
}
/* =========================================================
   MEGA MENU SUBCATEGORY TREE V2 END
   ========================================================= */

/* =========================================================
   MEGA MENU SUBCATEGORY TREE V3 - TRUE POPUP OVERLAY
   Το δέντρο δεν τοποθετείται πλέον κάτω από τις κάρτες.
   Ανοίγει μπροστά, πάνω από όλο το κεντρικό τμήμα.
   ========================================================= */

.bb-mega-main {
    position: relative;
    isolation: isolate;
}

.bb-mega-main.has-subtree-popup {
    overflow: hidden !important;
}

.bb-mega-subtree-layer {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: clamp(14px, 2vw, 26px);
    overflow: hidden;
    border-radius: 0;
    background: rgba(7, 30, 55, .36);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.bb-mega-subtree--popup {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 1040px);
    max-height: calc(100% - 8px);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(127, 190, 226, .62);
    border-radius: 16px;
    background: #f8fbfe;
    box-shadow:
        0 30px 75px rgba(2, 21, 43, .34),
        0 8px 24px rgba(3, 42, 78, .18),
        0 0 0 1px rgba(255, 255, 255, .72) inset;
}

.bb-mega-subtree--popup .bb-mega-subtree-head {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    padding: 17px 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 7px 18px rgba(10, 59, 99, .06);
}

.bb-mega-subtree-help {
    display: block;
    margin-top: 4px;
    color: #7c8fa1;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}

.bb-mega-subtree-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #8abbd7 #edf5fa;
}

.bb-mega-subtree-scroll::-webkit-scrollbar {
    width: 7px;
}

.bb-mega-subtree-scroll::-webkit-scrollbar-track {
    background: #edf5fa;
}

.bb-mega-subtree-scroll::-webkit-scrollbar-thumb {
    border: 2px solid #edf5fa;
    border-radius: 999px;
    background: #8abbd7;
}

.bb-mega-subtree--popup .bb-mega-subtree-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 12px;
    padding: 15px;
}

.bb-mega-subtree--popup .bb-mega-tree-branch {
    box-shadow: 0 5px 15px rgba(10, 61, 102, .045);
}

.bb-mega-subtree-close {
    flex: 0 0 auto;
}

/* Νέα μετάβαση πραγματικού popup. */
.bb-mega-popup-enter-active,
.bb-mega-popup-leave-active {
    transition: opacity .18s ease;
}

.bb-mega-popup-enter-active .bb-mega-subtree--popup,
.bb-mega-popup-leave-active .bb-mega-subtree--popup {
    transition: transform .20s ease, opacity .18s ease;
    transform-origin: center center;
}

.bb-mega-popup-enter-from,
.bb-mega-popup-leave-to {
    opacity: 0;
}

.bb-mega-popup-enter-from .bb-mega-subtree--popup,
.bb-mega-popup-leave-to .bb-mega-subtree--popup {
    opacity: 0;
    transform: translateY(10px) scale(.975);
}

@media (max-width: 1500px) {
    .bb-mega-subtree--popup .bb-mega-subtree-grid {
        grid-template-columns: repeat(3, minmax(165px, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .bb-mega-subtree-layer {
        padding: 12px;
    }

    .bb-mega-subtree--popup .bb-mega-subtree-grid {
        grid-template-columns: repeat(2, minmax(155px, 1fr));
    }
}

@media (max-height: 780px) and (min-width: 992px) {
    .bb-mega-subtree-layer {
        align-items: stretch;
        padding: 10px 14px;
    }

    .bb-mega-subtree--popup {
        max-height: 100%;
    }

    .bb-mega-subtree--popup .bb-mega-subtree-head {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .bb-mega-subtree--popup .bb-mega-subtree-grid {
        padding: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bb-mega-popup-enter-active,
    .bb-mega-popup-leave-active,
    .bb-mega-popup-enter-active .bb-mega-subtree--popup,
    .bb-mega-popup-leave-active .bb-mega-subtree--popup {
        transition: none;
    }
}

/* Μεγαλύτερα εικονίδια βασικών κατηγοριών Mega Menu */
.bb-mega-left-icon svg {
    width: 28px;
    height: 28px;
}

.bb-mega-left-item {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
}

/* =========================================================
   MEGA MENU SUBCATEGORY TREE V3 END
   ========================================================= */

