.elementor-kit-5{--e-global-color-primary:#000000;--e-global-color-secondary:#F5F5FC;--e-global-color-text:#3E38F7;--e-global-color-accent:#A09FAB;--e-global-color-3162794:#FDD30F;--e-global-color-ac26b0d:#F3F3FB;--e-global-typography-primary-font-family:"PT Sans";--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"PT Sans";--e-global-typography-secondary-font-weight:500;--e-global-typography-text-font-family:"PT Sans";--e-global-typography-text-font-weight:700;--e-global-typography-accent-font-family:"PT Sans";--e-global-typography-accent-font-weight:900;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 a{text-decoration:none;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */price-table .elementor-widget-container table {
    width: 100%;
    table-layout: fixed; /* Фиксируем ширину только на десктопе */
}

.price-table td,
.price-table th {
    padding: 12px 8px; /* Улучшаем читаемость */
    word-wrap: break-word; /* Перенос длинных слов */
    overflow-wrap: break-word;
}

/* Ширина колонок на десктопе и планшетах (от 768px) */
@media (min-width: 768px) {
    .price-table td:nth-child(1),
    .price-table th:nth-child(1) {
        width: 40%; /* Услуга — самая широкая */
    }
    .price-table td:nth-child(2),
    .price-table th:nth-child(2) {
        width: 20%; /* Стоимость */
        text-align: center;
    }
    .price-table td:nth-child(3),
    .price-table th:nth-child(3) {
        width: 35%; /* Описание */
    }
    .price-table td:nth-child(4),
    .price-table th:nth-child(4) {
        width: 5%; /* Кнопка "Заказать" или пустая */
        text-align: right;
    }
}

/* На мобильных (меньше 768px) — отключаем фиксированную ширину и делаем адаптивно */
@media (max-width: 767px) {
    .price-table .elementor-widget-container table {
        table-layout: auto; /* Важно! Отключаем fixed */
    }
    
    .price-table td,
    .price-table th {
        display: block;
        width: 100% !important;
        text-align: right;
        position: relative;
        padding-left: 50%;
        box-sizing: border-box;
    }
    
    .price-table td::before,
    .price-table th::before {
        content: attr(data-label); /* Подпись колонки */
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #333;
    }
    
    .price-table tr {
        margin-bottom: 15px;
        display: block;
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
    }
    
    .price-table thead {
        display: none; /* Скрываем заголовок таблицы на мобильных */
    }
}/* End custom CSS */
