.uc-text {
    max-width:800px;
    margin:0 auto;
    padding: 0 10px;
}

.custom-h1 {
    text-align:center;
    font-size: 24px;
}

.custom-h2 {
    text-align:center;
    margin:10px;
}

.h-title {
    font-weight: normal; 
    text-align: center; 
    font-size: 26px;
}

@media (max-width: 768px) {
    .h-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .h-title {
        font-size: 16px;
    }
}

.list-tag .tagt {
	display: block;
    padding: 14px;
    margin: 0 0 15px 12px;
    font-size: 18px;
    line-height: 13px;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid #ebeef5;
    background: #fcfcfc;
    transition: all .2s ease-in-out;
}

.list-tag .listpt {
	display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
	margin-bottom: 35px;
}

.list-tag a {
    color:#000 !important;
}

.list-tag .tagt:hover {
    color: #e84f47;
    border-color: #000;
    background: #ffffff;
}

@media (max-width: 768px) {
    .list-tag .tagt {
        white-space: normal;
        line-height: 1.4;
        font-size: 16px;
        padding: 12px;
        margin: 0 0 10px 8px;
    }
}

@media (max-width: 480px) {
    .list-tag .tagt {
        font-size: 14px;
        padding: 10px;
        margin: 0 0 8px 5px;
        line-height: 1.3;
    }
}

.sp_title2 {
    background: #fcfcfc;
    color: #000;
    padding: 7px 6px;
    margin-top: 4px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

.sp_content2 {
    color: #000;
    padding: 6px 4px 4px 4px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px #ccc;
}

.my-link, .my-link:hover {
    text-decoration: none !important;
    color: #000 !important;
    pointer-events: none;
}

.t-rec[data-record-type="405"] {
    position: fixed !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
}

/* Фиксируем второй блок под первым */
.uc-header-2 {
    position: fixed !important;
    top: 60px !important; /* высота ME405, подберите нужную */
    z-index: 9998 !important;
    width: 100% !important;
}


        .contact-info-wrapper {
            padding: 10px 15px;
            background: #eafff9;
            border-bottom: 1px solid #eafff9;
        }

.contact-info-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    position: relative;
}

.contact-address-block {
    flex: 1;
    font-size: 14px;
    color: #000;
}

.contact-phone-block {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.contact-phone-block:hover {
    color: #007bff;
}

.contact-hours-block {
    flex: 1;
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    text-align: right;
}

        .hours-label-text {
            font-weight: bold;
            color: #000;
        }

        .hours-online-text {
            margin-bottom: 2px;
        }

        .hours-production-text {
            margin-bottom: 0;
        }

        /* Мобильные устройства */
        @media (max-width: 768px) {
            
    .contact-info-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        position: static; /* убираем relative */
    }
    .contact-address-block {
        order: 1;
        font-size: 13px;
        flex: none; /* убираем flex: 1 */
    }
    .contact-phone-block {
        order: 2;
        font-size: 18px;
        position: static; /* убираем absolute */
        left: auto; /* сбрасываем */
        transform: none; /* сбрасываем */
    }
    .contact-hours-block {
        order: 3;
        text-align: left;
        font-size: 13px;
        flex: none; /* убираем flex: 1 */
    }
}

        /* Очень маленькие экраны */
        @media (max-width: 480px) {
            .contact-info-wrapper {
                padding: 8px 10px;
            }

            .contact-info-container {
                gap: 10px;
            }

            .contact-address-block {
                font-size: 12px;
                line-height: 1.3;
            }

            .contact-phone-block {
                font-size: 16px;
            }

            .contact-hours-block {
                font-size: 12px;
            }
        }
