﻿.nav-item.product-trigger {
    position: relative;
}

.product-popup {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
}

    .product-popup.active {
        max-height: 600px;
    }

.product-popup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-popup-category {
    text-align: left;
    /*        border-right: 1px solid #eee*/
}

    .product-popup-category:first-child {
        /*  border-left: 1px solid #eee;*/
        padding-left: 10px;
    }

.category-popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.product-popup-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-popup-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .product-popup-item img {
        width: 39px;
        height: 39px;
        object-fit: cover;
        border-radius: 4px;
        cursor:pointer;
    }



    .product-popup-item span:hover {
        color: #004098 !important
    }

    .product-popup-item span {
        color: #333;
        font-size: 14px;
        cursor: pointer
    }


    .solution-popup {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
    }

    .solution-popup.active {
        max-height: 700px;
    }

.solution-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}



.solution-grid.row-2 {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
}

.solution-item {
    text-align: center;
}

    .solution-item img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .solution-item a{
        text-decoration:none;
    }

.solution-name:hover {
    color: #004098 !important;
}

       

        .solution-name {
            font-size: 16px;
            color: #333;
            font-weight: 600;
        }

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.solution-item {
    text-align: center;
}

    .solution-item img {
        width: 100%;
        max-width: 180px;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

.product-popup-item2 {
    position: relative;
    display: inline-block;
}

.image-preview {
    position: absolute;
    top: 0;
    left: 70%;
    margin-left: 0px;
    display: none;
    padding: 5px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
}

    .image-preview img {
        width: 50px;
        height: 50px;
        margin-right: 5px;
        vertical-align: top;
        border: 1px solid #ddd;
    }

.product-popup-item:hover .image-preview,
.product-popup-item:focus .image-preview {
    display: block;
}






.nav-item {
    position: relative;
    display: inline-block;
    padding: 8px 10px;
}

.news-submenu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 128px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    display: none;
    z-index: 100;
}

.submenu-item {
    display: block;
    padding: 8px 26px;
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .submenu-item:hover {
        background-color: #f5f5f5;
        color: #2c8dfc;
    }

.nav-item:hover .news-submenu {
    display: block;
}


