.zion-search-page {
    --zion-red: #e51616;
    --zion-dark: #20242c;
    --zion-muted: #7d8591;
    max-width: 1440px;
    margin: 0 auto;
    padding: 34px 20px 60px;
}

.zion-search-page__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e7eb;
}

.zion-search-page__head p {
    margin: 0;
    color: var(--zion-muted);
    font-size: 15px;
}

.zion-search-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zion-search-sort label {
    color: var(--zion-muted);
    font-size: 13px;
}

.zion-search-sort select {
    min-width: 190px;
    height: 42px;
    padding: 0 38px 0 13px;
    border: 1px solid #d7dbe0;
    border-radius: 8px;
    background: #fff;
    color: var(--zion-dark);
    cursor: pointer;
}

.zion-search-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zion-product-card {
    position: relative;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 280px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20, 25, 32, .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.zion-product-card:hover {
    border-color: #cfd4da;
    box-shadow: 0 14px 32px rgba(20, 25, 32, .12);
    transform: translateY(-3px);
}

.zion-product-card__badges {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.zion-product-card__badges span {
    padding: 5px 8px;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.zion-product-card__badges .is-new { background: #168753; }
.zion-product-card__badges .is-popular { background: #252b35; }
.zion-product-card__badges .is-sale { background: var(--zion-red); }

.zion-product-card__image {
    display: flex;
    height: 210px;
    padding: 16px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #edf0f2;
    background: #fff;
}

.zion-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
}

.zion-product-card:hover .zion-product-card__image img {
    transform: scale(1.035);
}

.zion-product-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.zion-product-card__article {
    margin-bottom: 7px;
    color: #9097a1;
    font-size: 11px;
}

.zion-product-card__body h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.35;
}

.zion-product-card__body h2 a {
    color: var(--zion-dark);
    text-decoration: none;
}

.zion-product-card__body h2 a:hover {
    color: var(--zion-red);
}

.zion-product-card__body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 11px 0 0;
    color: #717985;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.zion-product-card__footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 22px;
    border-left: 1px solid #edf0f2;
    background: #fafbfc;
}

.zion-product-card__stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
}

.zion-product-card__stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.zion-product-card__stock.is-stock { color: #168753; }
.zion-product-card__stock.is-stock::before { background: #20a568; }
.zion-product-card__stock.is-check { color: #a56b12; }
.zion-product-card__stock.is-check::before { background: #e0a331; }

.zion-product-card__prices {
    display: flex;
    min-height: 48px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.zion-product-card__prices del {
    color: #979da5;
    font-size: 12px;
}

.zion-product-card__prices strong {
    color: var(--zion-red);
    font-size: 23px;
    line-height: 1.15;
}

.zion-product-card__prices strong.is-request {
    color: var(--zion-dark);
    font-size: 16px;
}

.zion-product-card__cart {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
}

.zion-product-card__quantity {
    display: grid;
    grid-template-columns: 28px 40px 28px;
    height: 42px;
    overflow: hidden;
    border: 1px solid #d9dde2;
    border-radius: 7px;
}

.zion-product-card__quantity button,
.zion-product-card__quantity input {
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--zion-dark);
    text-align: center;
}

.zion-product-card__quantity button {
    color: #6f7782;
    cursor: pointer;
}

.zion-product-card__quantity button:hover {
    background: #f1f3f5;
}

.zion-product-card__quantity input {
    outline: 0;
    font-size: 12px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.zion-product-card__quantity input::-webkit-inner-spin-button,
.zion-product-card__quantity input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.zion-product-card__buy {
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--zion-red);
    border-radius: 7px;
    background: var(--zion-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .17s ease, color .17s ease;
}

.zion-product-card__buy:hover {
    background: #fff;
    color: var(--zion-red);
}

.zion-search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 34px;
}

.zion-search-pagination a,
.zion-search-pagination strong,
.zion-search-pagination span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    text-decoration: none;
}

.zion-search-pagination a {
    border: 1px solid #dfe2e6;
    background: #fff;
    color: var(--zion-dark);
}

.zion-search-pagination a:hover,
.zion-search-pagination strong {
    border: 1px solid var(--zion-red);
    background: var(--zion-red);
    color: #fff;
}

.zion-search-empty {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    background: #f7f8fa;
    text-align: center;
}

.zion-search-empty strong {
    color: var(--zion-dark);
    font-size: 24px;
}

.zion-search-empty span {
    margin: 7px 0 18px;
    color: var(--zion-muted);
}

.zion-search-empty a {
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--zion-red);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .zion-product-card {
        grid-template-columns: 180px minmax(0, 1fr) 235px;
    }

    .zion-product-card__image {
        height: 190px;
    }

    .zion-product-card__body {
        padding: 20px;
    }

    .zion-product-card__body h2 {
        font-size: 17px;
    }

    .zion-product-card__cart {
        grid-template-columns: 1fr;
    }

    .zion-product-card__quantity {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .zion-search-page {
        padding: 25px 12px 45px;
    }

    .zion-search-page__head {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .zion-search-sort {
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
    }

    .zion-search-sort select {
        width: 100%;
    }

    .zion-product-card {
        grid-template-columns: 116px minmax(0, 1fr);
        align-items: stretch;
    }

    .zion-product-card__image {
        height: 145px;
        padding: 10px;
    }

    .zion-product-card__body {
        justify-content: center;
        padding: 14px;
    }

    .zion-product-card__body h2 {
        font-size: 14px;
    }

    .zion-product-card__body p {
        display: none;
    }

    .zion-product-card__footer {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 14px;
        padding: 12px 14px;
        border-top: 1px solid #edf0f2;
        border-left: 0;
    }

    .zion-product-card__stock,
    .zion-product-card__prices {
        margin: 0;
    }

    .zion-product-card__cart {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .zion-product-card__cart {
        grid-template-columns: 1fr;
    }

    .zion-product-card__quantity {
        display: none;
    }

    .zion-product-card__prices strong {
        font-size: 19px;
    }
}

@media (max-width: 419.98px) {
    .zion-product-card {
        grid-template-columns: 98px minmax(0, 1fr);
    }

    .zion-product-card__image {
        height: 125px;
    }

    .zion-product-card__body h2 {
        font-size: 13px;
    }

    .zion-product-card__footer {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    .zion-product-card__buy {
        padding: 0 10px;
    }
}
