/* Прайс [techmash_price_list] і сторінка цін. Додано 08.09.2026. */

/* Секція Elementor на сторінці цін тягнеться на всю ширину екрана, тому власний
   контейнер: без нього текст і таблиця лягають впритул до країв вікна. */
.techmash-prices {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
.techmash-prices > p {
    margin: 0 0 12px;
    line-height: 1.6;
}

/* Форма заявки під прайсом: людина побачила ціну, тут же питає про комплектацію. */
.techmash-prices__form {
    margin: 40px auto 0;
    padding: 26px 24px;
    background: #f7f7f7;
    border-radius: 8px;
}
.techmash-prices__form h2 {
    margin: 0 0 8px;
    font-size: 22px;
}
.techmash-prices__form > p {
    margin: 0 0 18px;
    color: #555;
}

@media (max-width: 767px) {
    .techmash-prices { padding: 0 14px; }
    .techmash-prices__form { padding: 20px 16px; }
}

/* ------------------------------------- світлий hero сторінки цін (08.09.2026, вечір) */

/* Смуга на всю ширину вікна. Відсотки в margin і padding рахуються від батька,
   тому від'ємний margin виводить фон на край екрана, а симетричний padding
   повертає текст рівно в колонку сторінки. Ширину контейнера знати не треба. */
.techmash-hero {
    position: relative;
    margin: 0 calc(50% - 50vw) 40px;
    padding: 0 calc(50vw - 50%);
    background: linear-gradient(165deg, #ffffff 0%, #f4f8fb 52%, #e8f0f6 100%);
    color: #1b1f24;
    overflow: hidden;
}

.techmash-hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 430px;
}

.techmash-hero__text {
    position: relative;
    z-index: 2;
    max-width: 560px;
    min-width: 0;
    padding: 34px 0 38px;
}

.techmash-hero__crumbs {
    font-size: 13px;
    color: #8a939c;
    margin-bottom: 16px;
}

.techmash-hero__crumbs a {
    color: #8a939c;
}

.techmash-hero__crumbs a:hover {
    color: #d81f2a;
}

/* Два класи навмисно: Elementor тримає `.elementor-kit-46 h1 { text-transform: uppercase }`,
   одного класу не вистачає, а в макеті заголовок звичайним регістром. */
.techmash-hero .techmash-hero__title {
    text-transform: none;
    font-size: 44px;
    line-height: 1.14;
    font-weight: 700;
    color: #16191d;
    margin: 0 0 16px;
}

/* Бренд окремим рядком і червоним: так заголовок читається як назва сторінки
   плюс підпис виробника, а не як одна довга фраза. */
.techmash-hero__brand {
    display: block;
    color: #d81f2a;
    white-space: nowrap;
}

.techmash-hero__lead {
    font-size: 17px;
    line-height: 1.62;
    color: #59626b;
    margin: 0 0 18px;
}

.techmash-hero__facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 24px;
    padding: 0;
    font-size: 15px;
    color: #59626b;
}

.techmash-hero__facts strong {
    color: #16191d;
    font-weight: 700;
}

.techmash-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.techmash-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 6px;
    border: 1px solid #d3dae1;
    background: #fff;
    color: #1b1f24;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

.techmash-hero__btn:hover {
    border-color: #d81f2a;
    color: #d81f2a;
}

.techmash-hero__btn--main {
    background: #d81f2a;
    border-color: #d81f2a;
    color: #fff;
}

.techmash-hero__btn--main:hover {
    background: #b8151f;
    border-color: #b8151f;
    color: #fff;
}

/* Фото займає праву половину і тягнеться до краю вікна: right виводить його
   за колонку сторінки рівно на ту саму величину, на яку margin розтягнув секцію. */
.techmash-hero__media {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 47%;
    right: calc(50% - 50vw);
    z-index: 1;
}

/* Два класи в селекторі навмисно: Elementor тримає правило `.elementor img
   { height: auto }`, і одного класу не вистачає, щоб фото зайняло висоту секції. */
.techmash-hero .techmash-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% 50%;
    display: block;
}

/* Ліву межу фото розчиняємо маскою прозорості, а не заливкою кольором: фон секції
   градієнтний, і будь-який підібраний колір дає видимий рубець на стику. */
.techmash-hero__media {
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .25) 16%, rgba(0, 0, 0, .75) 34%, #000 52%),
        linear-gradient(180deg, #000 86%, transparent 100%);
    mask-image:
        linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .25) 16%, rgba(0, 0, 0, .75) 34%, #000 52%),
        linear-gradient(180deg, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

/* Смуга доводів під hero: чотири факти, які вже заявлені на сайті. */
.techmash-hero__trust {
    position: relative;
    z-index: 2;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0 0 30px;
    border-top: 1px solid rgba(27, 31, 36, .08);
    padding-top: 22px;
}

.techmash-hero__trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.35;
    color: #2a3138;
}

.techmash-hero__trust i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d81f2a;
}

.techmash-hero__trust svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

@media (max-width: 1200px) {
    .techmash-hero .techmash-hero__title {
        font-size: 38px;
    }
    .techmash-hero__text {
        max-width: 500px;
    }
    .techmash-hero__media {
        left: 51%;
    }
}

@media (max-width: 1024px) {
    .techmash-hero__inner {
        min-height: 370px;
    }
    .techmash-hero .techmash-hero__title {
        font-size: 32px;
    }
    .techmash-hero__lead {
        font-size: 16px;
    }
    .techmash-hero__trust {
        grid-template-columns: repeat(2, 1fr);
    }
    /* На телефоні дві колонки не вміщаються: фото стає смугою над текстом. */
@media (max-width: 768px) {
    .techmash-hero {
        padding: 0;
        margin-bottom: 30px;
    }
    .techmash-hero__inner {
        display: block;
        min-height: 0;
    }
    .techmash-hero__media {
        position: static;
        display: block;
        height: 200px;
    }
    .techmash-hero__media {
        -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    }
    .techmash-hero__text {
        max-width: none;
        padding: 22px 20px 26px;
    }
    .techmash-hero .techmash-hero__title {
        font-size: 27px;
    }
    .techmash-hero__trust {
        padding: 20px 20px 24px;
        gap: 14px;
    }
    .techmash-hero__btn {
        flex: 1 1 auto;
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .techmash-hero .techmash-hero__title {
        font-size: 24px;
    }
    .techmash-hero__trust {
        grid-template-columns: 1fr;
    }
    .techmash-hero__facts {
        gap: 6px 16px;
        font-size: 14px;
    }
}}

/* ------------------------------------- прайс розділами (08.09.2026, під макет) */

.techmash-plist {
    margin: 0 0 44px;
}

/* Панель дій: пошук по всіх таблицях, вибір розділу, кнопка запиту прайсу. */
.techmash-plist__panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 26px;
}

.techmash-plist__field {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
}

.techmash-plist__field svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    fill: #98a1aa;
    pointer-events: none;
}

/* Три класи навмисно: у Woodmart поля форми стилізує `.form-style-underlined
   :is(input[type="search"], ...)`, і це важче за два класи. */
.techmash-plist .techmash-plist__field .techmash-plist__search {
    /* Woodmart лишає полям content-box, і на телефоні поле вилазить за екран
       на ширину внутрішніх відступів. */
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    border: 1px solid #dfe4e9;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    color: #1b1f24;
}

.techmash-plist .techmash-plist__panel .techmash-plist__cat {
    box-sizing: border-box;
    flex: 0 1 260px;
    height: 48px;
    padding: 0 34px 0 14px;
    border: 1px solid #dfe4e9;
    border-radius: 6px;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2398a1aa'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center/20px 20px;
    font-size: 15px;
    color: #1b1f24;
    -webkit-appearance: none;
    appearance: none;
}

.techmash-plist__search:focus,
.techmash-plist__cat:focus {
    outline: none;
    border-color: #d81f2a;
}

.techmash-plist__get {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    background: #d81f2a;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.techmash-plist__get:hover {
    background: #b8151f;
    color: #fff;
}

.techmash-plist__get svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Розділ це біла картка: шапка з назвою і лічильником, усередині таблиця. */
.techmash-cblock {
    margin: 0 0 22px;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(22, 30, 38, .05);
    overflow: hidden;
}

.techmash-cblock__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid #eef1f4;
}

.techmash-cblock__ico {
    flex: 0 0 auto;
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f5f8;
}

.techmash-cblock .techmash-cblock__icoimg {
    width: 44px;
    height: 44px;
    object-fit: cover;
    display: block;
}

.techmash-cblock .techmash-cblock__name {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: none;
    color: #16191d;
}

.techmash-cblock__count {
    flex: 0 0 auto;
    padding: 5px 11px;
    border-radius: 20px;
    background: #f2f5f8;
    font-size: 13px;
    color: #5c656e;
}

.techmash-cblock__all {
    margin-left: auto;
    flex: 0 0 auto;
    color: #d81f2a;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.techmash-cblock__all:hover {
    color: #b8151f;
}

/* Вузький екран: таблиця гортається всередині картки, сторінка стоїть на місці. */
.techmash-cblock__wrap {
    overflow-x: auto;
}

.techmash-ptable {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.techmash-ptable th {
    padding: 12px 22px;
    background: #f7f9fb;
    border-bottom: 1px solid #eef1f4;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #6b747d;
    white-space: nowrap;
}

.techmash-ptable td {
    padding: 12px 22px;
    border-bottom: 1px solid #f1f4f6;
    vertical-align: middle;
}

.techmash-ptable tbody tr:last-child td {
    border-bottom: none;
}

.techmash-ptable tbody tr:hover td {
    background: #fdf6f6;
}

.techmash-ptable__model {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.techmash-ptable__model a {
    color: #1b1f24;
    font-weight: 500;
    text-decoration: none;
}

.techmash-ptable__model a:hover {
    color: #d81f2a;
}

.techmash-ptable__thumb {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f5f8;
}

.techmash-ptable .techmash-ptable__thumb img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    display: block;
}

.techmash-ptable__width {
    white-space: nowrap;
    color: #4a535c;
}

.techmash-ptable__dash {
    color: #b6bec5;
}

.techmash-ptable__price {
    white-space: nowrap;
    font-weight: 700;
    color: #16191d;
}

.techmash-ptable__act {
    text-align: right;
    white-space: nowrap;
}

.techmash-ptable__act a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #dfe4e9;
    border-radius: 6px;
    color: #1b1f24;
    font-size: 14px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.techmash-ptable__act a:hover {
    border-color: #d81f2a;
    color: #d81f2a;
}

.techmash-plist__empty {
    margin: 0 0 22px;
    padding: 22px;
    border: 1px dashed #dfe4e9;
    border-radius: 10px;
    color: #6b747d;
    text-align: center;
}

.techmash-plist__notes {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6b747d;
}

.techmash-plist__notes li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.techmash-plist__notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d81f2a;
}

/* Дві картки під прайсом: запит переліку і дзвінок. */
.techmash-plist__cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.techmash-ccard {
    padding: 26px;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(22, 30, 38, .05);
}

.techmash-ccard__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #d81f2a;
}

.techmash-ccard__ico svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.techmash-ccard h3 {
    margin: 0 0 8px;
    font-size: 19px;
    text-transform: none;
    color: #16191d;
}

.techmash-ccard p {
    margin: 0 0 18px;
    color: #5c656e;
    line-height: 1.6;
}

.techmash-ccard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid #d3dae1;
    border-radius: 6px;
    background: #fff;
    color: #1b1f24;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}

.techmash-ccard__btn:hover {
    border-color: #d81f2a;
    color: #d81f2a;
}

.techmash-ccard__btn--main {
    background: #d81f2a;
    border-color: #d81f2a;
    color: #fff;
}

.techmash-ccard__btn--main:hover {
    background: #b8151f;
    border-color: #b8151f;
    color: #fff;
}

@media (max-width: 900px) {
    .techmash-plist__cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .techmash-cblock__head {
        flex-wrap: wrap;
        padding: 16px;
        gap: 10px;
    }
    .techmash-cblock .techmash-cblock__name {
        font-size: 18px;
        flex: 1 1 auto;
    }
    .techmash-cblock__all {
        margin-left: 0;
        flex-basis: 100%;
    }
    .techmash-ptable th,
    .techmash-ptable td {
        padding: 10px 16px;
    }
    .techmash-plist__field {
        flex: 1 1 100%;
    }
    .techmash-plist__get {
        flex: 1 1 auto;
        justify-content: center;
    }
    .techmash-plist .techmash-plist__panel .techmash-plist__cat {
        flex: 1 1 auto;
    }
}

/* На телефоні таблиця з чотирьох колонок не читається, тому рядок стає карткою:
   фото і назва зверху, під ними підписані ширина і ціна, кнопка на всю ширину. */
@media (max-width: 600px) {
    .techmash-cblock__wrap {
        overflow-x: visible;
    }
    .techmash-ptable thead {
        display: none;
    }
    .techmash-ptable,
    .techmash-ptable tbody,
    .techmash-ptable tr,
    .techmash-ptable td {
        display: block;
        width: auto;
    }
    .techmash-ptable tr {
        padding: 14px 16px;
        border-bottom: 1px solid #f1f4f6;
    }
    .techmash-ptable tbody tr:last-child {
        border-bottom: none;
    }
    .techmash-ptable td {
        padding: 0;
        border: none;
    }
    /* Селектор із тегом навмисно: правило вище розкладає всі td у block,
       і воно важче за один клас. */
    .techmash-ptable td.techmash-ptable__model {
        display: flex;
        min-width: 0;
        margin-bottom: 10px;
    }
    .techmash-ptable td.techmash-ptable__width,
    .techmash-ptable td.techmash-ptable__price {
        display: inline-block;
        margin: 0 18px 10px 0;
        font-size: 14px;
    }
    .techmash-ptable__width::before,
    .techmash-ptable__price::before {
        content: attr(data-label) ': ';
        color: #7c858e;
        font-weight: 400;
    }
    .techmash-ptable__act {
        text-align: left;
    }
    .techmash-ptable__act a {
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .techmash-ptable__thumb,
    .techmash-ptable .techmash-ptable__thumb img {
        width: 38px;
        height: 38px;
    }
    .techmash-ccard {
        padding: 20px;
    }
}
