.dmz-ev-page {
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 18px 72px;
    color: #172026;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}

.dmz-ev-page * {
    box-sizing: border-box;
}

.dmz-ev-page button,
.dmz-ev-page select,
.dmz-ev-page input {
    font: inherit;
}

.dmz-ev-tool {
    display: block;
}

.dmz-ev-tool__main,
.dmz-ev-result-head,
.dmz-ev-product,
.dmz-ev-empty,
.dmz-ev-table-wrap {
    border: 1px solid #d7dee3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(23, 32, 38, 0.1);
}

.dmz-ev-tool__main {
    padding: 20px;
}

.dmz-ev-heading span,
.dmz-ev-result-head span {
    display: block;
    margin-bottom: 7px;
    color: #146b67;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dmz-ev-heading h1,
.dmz-ev-result-head h2,
.dmz-ev-section-head h2 {
    margin: 0;
    color: #172026;
    font-size: 28px;
    line-height: 1.2;
}

.dmz-ev-heading p,
.dmz-ev-result-head p {
    margin: 8px 0 0;
    max-width: 850px;
    color: #5c6870;
    line-height: 1.5;
}

.dmz-ev-tabs {
    display: inline-grid;
    grid-template-columns: repeat(4, minmax(74px, 1fr));
    gap: 4px;
    margin-top: 18px;
    padding: 4px;
    border: 1px solid #d7dee3;
    border-radius: 8px;
    background: #e8f1f5;
}

.dmz-ev-tabs button,
.dmz-ev-popular button,
.dmz-ev-reset {
    min-height: 38px;
    border-radius: 6px;
    cursor: pointer;
}

.dmz-ev-tabs button {
    border: 1px solid transparent;
    color: #172026;
    background: transparent;
}

.dmz-ev-tabs button.is-active {
    color: #ffffff;
    background: #146b67;
}

.dmz-ev-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.dmz-ev-search-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 130px;
    gap: 14px;
    align-items: end;
    margin-top: 14px;
}

.dmz-ev-search-holder {
    position: relative;
}

.dmz-ev-page label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #5c6870;
    font-weight: 700;
}

.dmz-ev-page select,
.dmz-ev-page input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d7dee3;
    border-radius: 6px;
    color: #172026;
    background: #ffffff;
}

.dmz-ev-page select:focus,
.dmz-ev-page input:focus,
.dmz-ev-page button:focus-visible {
    outline: 3px solid rgba(20, 107, 103, 0.22);
    outline-offset: 2px;
}

.dmz-ev-reset {
    border: 1px solid #d7dee3;
    color: #203f51;
    background: #f4f7f8;
    font-weight: 800;
}

.dmz-ev-suggestions {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 344px;
    overflow: auto;
    border: 1px solid #c6d1d8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(23, 32, 38, 0.16);
}

.dmz-ev-suggestions[hidden] {
    display: none;
}

.dmz-ev-suggest__item {
    display: grid;
    width: 100%;
    min-height: 62px;
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid #e4eaee;
    color: #172026;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.dmz-ev-suggest__item:last-child {
    border-bottom: 0;
}

.dmz-ev-suggest__item:hover,
.dmz-ev-suggest__item.is-active {
    background: #e8f1f5;
}

.dmz-ev-suggest__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.dmz-ev-suggest__title {
    min-width: 0;
    overflow: hidden;
    color: #172026;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmz-ev-suggest__badge {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: #146b67;
    font-size: 12px;
    font-weight: 800;
}

.dmz-ev-suggest__meta {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #5c6870;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmz-ev-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.dmz-ev-popular button {
    padding: 0 13px;
    border: 1px solid #d7dee3;
    color: #203f51;
    background: #ffffff;
}

.dmz-ev-popular button:hover {
    border-color: #146b67;
}

.dmz-ev-result-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
}

.dmz-ev-alerts {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.dmz-ev-alert {
    padding: 13px 15px;
    border: 1px solid #e8d1a3;
    border-left: 5px solid #d39a24;
    border-radius: 8px;
    background: #fff8e8;
    color: #172026;
    line-height: 1.45;
}

.dmz-ev-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.dmz-ev-product {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 470px;
    padding: 16px;
}

.dmz-ev-image {
    display: grid;
    place-items: center;
    overflow: hidden;
    height: 450px;
    max-height: 450px;
    margin: -4px -4px 12px;
    padding: 8px;
    border: 1px solid #d7dee3;
    border-radius: 8px;
    background: #ffffff;
    text-decoration: none;
}

.dmz-ev-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.dmz-ev-image.is-empty span {
    color: #203f51;
    font-size: 22px;
    font-weight: 800;
}

.dmz-ev-product__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.dmz-ev-article {
    color: #203f51;
    font-weight: 800;
}

.dmz-ev-badge {
    max-width: 150px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.dmz-ev-badge.stock,
.dmz-ev-badge.min {
    background: #7aa35b;
}

.dmz-ev-badge.order {
    background: #6750a4;
}

.dmz-ev-badge.stop {
    background: #b84a46;
}

.dmz-ev-badge.pending,
.dmz-ev-badge.test {
    background: #d39a24;
}

.dmz-ev-pack-badge {
    max-width: 150px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: #146b67;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.dmz-ev-product h3 {
    margin: 12px 0 8px;
    color: #172026;
    font-size: 18px;
    line-height: 1.25;
}

.dmz-ev-product p {
    margin: 0;
    color: #5c6870;
    line-height: 1.45;
}

.dmz-ev-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.dmz-ev-meta div {
    padding: 8px;
    border: 1px solid #d7dee3;
    border-radius: 6px;
    background: #f4f7f8;
}

.dmz-ev-meta span {
    display: block;
    color: #5c6870;
    font-size: 12px;
}

.dmz-ev-meta strong {
    display: block;
    margin-top: 3px;
    color: #172026;
}

.dmz-ev-specs {
    margin-top: 8px;
    color: #172026;
    font-size: 13px;
}

.dmz-ev-dopusk {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #d7dee3;
    border-radius: 6px;
    background: #f9fbfc;
}

.dmz-ev-dopusk span {
    display: block;
    margin-bottom: 6px;
    color: #146b67;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dmz-ev-dopusk pre {
    overflow: auto;
    max-height: 160px;
    margin: 0;
    color: #172026;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.dmz-ev-catalog-note {
    margin-top: 8px;
    color: #146b67;
    font-size: 13px;
    font-weight: 700;
}

.dmz-ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
}

.dmz-ev-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #146b67;
    border-radius: 6px;
    color: #146b67;
    background: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.dmz-ev-open:hover {
    color: #ffffff;
    background: #146b67;
}

.dmz-ev-empty {
    grid-column: 1 / -1;
    padding: 28px;
    color: #5c6870;
    line-height: 1.5;
}

.dmz-ev-all {
    margin-top: 30px;
}

.dmz-ev-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.dmz-ev-section-head span {
    color: #5c6870;
}

.dmz-ev-table-wrap {
    overflow-x: auto;
}

.dmz-ev-table-wrap table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.dmz-ev-table-wrap th,
.dmz-ev-table-wrap td {
    padding: 12px 14px;
    border-bottom: 1px solid #d7dee3;
    text-align: left;
    vertical-align: top;
}

.dmz-ev-table-wrap th {
    color: #ffffff;
    background: #146b67;
}

.dmz-ev-table-wrap a {
    color: #146b67;
    font-weight: 700;
    text-decoration: none;
}

.dmz-ev-table-wrap a:hover {
    text-decoration: underline;
}

.dmz-ev-table-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #146b67;
    border-radius: 6px;
    color: #146b67;
    background: #ffffff;
    font-weight: 800;
    white-space: nowrap;
}

.dmz-ev-table-wrap a.dmz-ev-table-open:hover {
    color: #ffffff;
    background: #146b67;
    text-decoration: none;
}

.dmz-ev-table-missing {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #87939b;
    font-weight: 700;
    white-space: nowrap;
}

.dmz-ev-table-wrap tbody tr:nth-child(even) {
    background: #f9fbfc;
}

@media (max-width: 1080px) {
    .dmz-ev-products {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .dmz-ev-page {
        padding: 16px 12px 52px;
    }

    .dmz-ev-fields,
    .dmz-ev-search-row,
    .dmz-ev-products {
        grid-template-columns: 1fr;
    }

    .dmz-ev-tabs {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dmz-ev-result-head,
    .dmz-ev-section-head {
        flex-direction: column;
        align-items: stretch;
    }

}
