.tdiesel-price-table-search {
    margin: 24px 0 20px;
}

.tdiesel-price-table-search__heading {
    margin: 0 0 14px;
}

.tdiesel-price-table-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tdiesel-price-table-search__input {
    display: block;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 10px 14px;
    color: #222;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    font: inherit;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tdiesel-price-table-search__input:focus {
    border-color: #ef3f2f;
    box-shadow: 0 0 0 3px rgba(239, 63, 47, 0.15);
    outline: 0;
}

.tdiesel-price-table-search__input::-webkit-search-cancel-button {
    cursor: pointer;
}

.tdiesel-price-table-search__empty {
    margin: 12px 0 0;
    color: #b42318;
    font-weight: 600;
}

.tdiesel-price-table-search__toggle-wrap {
    margin: 18px 0 28px;
    text-align: center;
}

.tdiesel-price-table-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 24px;
    color: #fff;
    background: #ef3f2f;
    border: 1px solid #ef3f2f;
    border-radius: 3px;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tdiesel-price-table-search__toggle:hover,
.tdiesel-price-table-search__toggle:focus {
    color: #fff;
    background: #cf2d20;
    border-color: #cf2d20;
}

.tdiesel-price-table-search__toggle:focus-visible {
    outline: 3px solid rgba(239, 63, 47, 0.25);
    outline-offset: 2px;
}

.tdiesel-price-table-search__row--hidden,
.tdiesel-price-table-search__table--hidden,
.tdiesel-price-table-search__data-row.tdiesel-price-table-search__row--hidden,
.tdiesel-price-table-search__table.tdiesel-price-table-search__table--hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .tdiesel-price-table-search {
        margin-top: 20px;
    }

    .tdiesel-price-table-search__heading {
        font-size: 24px;
        line-height: 1.25;
    }

    .tdiesel-price-table-search__toggle {
        width: 100%;
    }

    .tdiesel-price-table-search__table,
    .tdiesel-price-table-search__table tbody,
    .tdiesel-price-table-search__table thead,
    .tdiesel-price-table-search__table tfoot {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .tdiesel-price-table-search__table {
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        table-layout: auto !important;
    }

    .tdiesel-price-table-search__table colgroup {
        display: none !important;
    }

    .tdiesel-price-table-search__header-row,
    .tdiesel-price-table-search__section-row--empty {
        display: none !important;
    }

    .tdiesel-price-table-search__section-row {
        display: block !important;
        width: 100% !important;
        margin: 0 0 12px;
    }

    .tdiesel-price-table-search__section-row > td,
    .tdiesel-price-table-search__section-row > th {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 12px 14px !important;
        color: #222;
        background: #f6f6f6;
        border: 1px solid #dedede !important;
        border-radius: 6px;
        font-weight: 700;
        line-height: 1.4;
        text-align: left !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
    }

    .tdiesel-price-table-search__data-row {
        display: block !important;
        width: 100% !important;
        margin: 0 0 16px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #dedede;
        border-radius: 7px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .tdiesel-price-table-search__data-cell {
        display: grid !important;
        grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        box-sizing: border-box;
        padding: 10px 12px !important;
        color: #444;
        background: #fff;
        border: 0 !important;
        border-bottom: 1px solid #ececec !important;
        font-size: 15px;
        line-height: 1.45;
        text-align: left !important;
        vertical-align: top !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
    }

    .tdiesel-price-table-search__data-cell::before {
        content: attr(data-mobile-label);
        color: #222;
        font-weight: 700;
        line-height: 1.35;
    }

    .tdiesel-price-table-search__data-cell:last-child {
        border-bottom: 0 !important;
    }

    .tdiesel-price-table-search__data-cell--empty {
        display: none !important;
    }
}
