.a-scale {
    display: block;
    margin-top: -20px;
    word-break: break-word;
    transition: transform 0.2s ease;
}

.a-scale:hover {
    transform: scale(1.01);
}

.headH1,
.docH1 {
    text-align: center !important;
}

/* Меню с иконками */
.tech-menu {
    margin: 20px 0;
}

.menu-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 40px;
}

.menu-item {
    flex: 0 1 calc(25% - 20px); /* Изменил на 0 1 вместо 1 1 */
    min-width: 180px; /* Уменьшил минимальную ширину */
    max-width: 250px; /* Уменьшил максимальную ширину */
    box-sizing: border-box;
    margin-bottom: 10px;
}

.menu-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border-radius: 10px;
    height: 100%;
}

.menu-link img {
    width: 70%; /* Уменьшил ширину иконок */
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 1px;
    transition: all 0.3s ease;
}

.menu-link:hover img {
    box-shadow: 0 0 10px 5px #FFDE05;
    background-color: #FFDE05;
    padding: 0;
}

.menu-text {
    font-weight: bold;
    font-size: 1rem; /* Уменьшил размер текста */
    text-align: center;
    line-height: 1.2;
    padding: 0 5px;
}

/* Стили для списка документов */
.listDoc {
    font-size: 20px;
    text-align: left;
    margin: 20px 2%;
}

.listDoc ul {
    padding-left: 20px;
}

.listDoc ul > li {
    list-style-type: disclosure-closed;
    position: relative;
    border: 2px solid #2e427b;
    padding: 10px;
    margin-bottom: 10px;
    color: #2e427b;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.listDoc ul > li:hover {
    background-color: rgba(46, 66, 123, 0.05);
    transform: translateX(5px);
}

.imgPDF {
    width: 45px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.pText {
    color: grey;
    text-align: center;
    font-size: 1.5rem;
    padding: 40px 0;
}

.listDocInv {
    display: none;
}

/* Секция руководств по эксплуатации */
.manual-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.manual-category {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.manual-category h4 {
    text-align: center;
    margin-bottom: 15px;
    color: #2e427b;
    border-bottom: 2px solid #FFDE05;
    padding-bottom: 10px;
}

/* Стили для схем */
.header-skhema {
    display: flex;
    margin-bottom: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-skhema h3 {
    margin: 0;
}

.visual .main-image {
	background-color: #002c743b;
}

/* Стили для таблиц схем */
.list_products .btn-default,
.tooltipe-footer .btn-default {
	padding: 0 6%;
	color: white !important;
}

tr {
    height: 2.4rem;
}

tbody tr:hover, tbody tr.on {
    cursor: pointer;
	background-color: #002c743b !important;
    color: #002c74;
}

.list_products {
    min-width: 360px !important;
}

.list_products table {
    border: 2px solid #0b1226;
    border-radius: 5px;
}

/* Адаптивность для меню */
@media (max-width: 992px) {
    .menu-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 0 20px;
    }
    
    .menu-item {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    
    .menu-link img {
        width: 50%;
    }
    
    .menu-text {
        font-size: 0.9rem;
    }
    
    .header-skhema {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .manual-section {
        flex-direction: column;
    }
    
    .manual-category {
        min-width: 100%;
    }
    
    .listDoc {
        font-size: 18px;
        margin: 10px 5%;
    }
    
    .pText {
        font-size: 1.2rem;
        padding: 20px 0;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 85% !important;
    }
}