/* Заголовки секций */
.page-section-title,
.page-section-title-services,
.page-section-title-materials {
    font-size: 26px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-left: 46px;
    position: relative;
    line-height: 1.3;
}

/* Иконки слева у заголовков */
.page-section-title::before,
.page-section-title-services::before,
.page-section-title-materials::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.page-section-title::before {
    width: 32px;
    height: 32px;
    background-image: url("/assets/images/icons/uslugi/excavator-dig.webp");
}

.page-section-title-services::before {
    width: 34px;
    height: 34px;
    background-image: url("/assets/images/icons/uslugi/landscape.png");
}

.page-section-title-materials::before {
    width: 32px;
    height: 32px;
    background-image: url("/assets/images/icons/materials/sand.png");
}

/* Внутренние секции страницы */
.page-section-inner {
    margin-bottom: 60px;
}

/* Контейнер таблицы */
.page-table-container {
    border-radius: 12px;
    background-color: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    position: relative;
}


.page-table-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

/* Таблицы */
.page-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 890px;
}

/* Шапка таблицы */
.page-price-table thead th {
    position: sticky;
    top: 0;
    background-color: #f0f2f2;
    color: #2b2b2b;
    z-index: 2;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 14px 16px;
    border-right: 1px solid #e4e4e4;
    border-radius: 4px;
}

/* Убираем правую линию у последнего столбца шапки */
.page-price-table thead th:last-child {
    border-right: none;
}

/* Ячейки таблицы */
.page-price-table td {
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #ddd;
    /* горизонтальные линии */
    border-right: 1px solid #ddd;
    /* вертикальные линии */
    color: #222;
    /* цифры будут ровно выровнены по колонкам */
    font-variant-numeric: tabular-nums;
}

/* Убираем правую линию у последнего столбца */
.page-price-table td:last-child {
    border-right: none;
}

/* Первый столбец */
.page-price-table td:first-child {
    text-align: left;
}

/* Hover по ряду с плавной анимацией */
.page-price-table tbody tr {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.page-price-table tbody tr:hover {
    background-color: rgba(226, 226, 226, 0.35);
}

/* Ссылки внутри таблицы */
.page-price-table a {
    color: #2d6f9f;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.3s ease;
}

.page-price-table a:hover {
    border-bottom-color: currentColor;
}

/* Примечания под таблицей */
.table-note {
    font-size: 14px;
    font-weight: 600;
    color: #464646;
    margin: 8px 0 0 0;
}

/* ======== Стилизация скрола =============== */
.page-table-container::-webkit-scrollbar {
    height: 8px; /* толщина */
}

.page-table-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.page-table-container::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 120, 0.5);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.page-table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(80, 80, 80, 0.7);
}

.page-price-table td {
    font-variant-numeric: tabular-nums;
}
