/* 1. ZÁKLADNÉ OPRAVY A NAVIGÁCIA */
body.mobile .navigation-in.menu ul.menu-level-1 {
    margin-top: 4rem;
}

.p-in-in a.name, .category-appendix {
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

.products-block.products .p .name {
    overflow: unset;
}

/* 2. ZOBRAZENIE CELÝCH NÁZVOV (BEZ SKRACOVANIA) */
.subcategories-list .name, .category-title, .category-name, .category-item .name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: vertical !important;
    height: auto !important;
    max-height: none !important;
}

/* 3. ZJEDNOTENIE VÝŠKY PODKATEGÓRIÍ (GRID 2x2) */
@media (max-width: 767px) {
    .subcategories-list {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        padding: 5px !important;
    }

    .subcategories-list .category-item {
        width: 48% !important;
        min-height: 150px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 10px !important;
        background: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    .subcategories-list .category-item .image {
        height: 80px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .subcategories-list .category-item .name {
        margin-top: 8px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        color: #000 !important;
    }
}

/* 4. DOMOVSKÁ STRÁNKA: BANNERY (VÝŠKA 75px) */
.new-banner-style {
    height: 75px !important;
    display: flex !important;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 15%);
    align-items: center;
    border-radius: 4px;
    text-decoration: none;
    width: 48%;
    margin: 1%;
    float: left;
    padding: 5px;
    background: #fff;
    overflow: hidden;
}

.new-banner-style a {
    display: flex !important;
    align-items: center;
    width: 100%;
}    

.new-banner-style a img {
    height: 35px;
    width: 35px;
    min-width: 35px;
    object-fit: contain;
}

.new-banner-style a h3 {
    margin: 0 0 0 8px !important;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: left;
}

/* 5. MOBILNÉ MENU - PORADIE (PODĽA RO VERZIE) */
@media (max-width: 767px) {
    .menu-level-1 {
        display: flex;
        flex-direction: column;
    }
    .menu-item-external-37 { order: 1; }
    .menu-item-2847 { order: 2; }
    .menu-item-39 { order: 3; }
    .menu-item-691 { order: 4; }
    .menu-item-01 { order: 5; }
    .menu-item-29 { order: 6; }
    
    body.navigation-window-visible #header {
        position: fixed;
        top: 0px;
    }
    body.navigation-window-visible #header .navigation-wrapper {
        margin: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: fixed;
        z-index: 999;
    }
}