.up-catalog-product-filters {
    display: grid;
    gap: 1.25rem;
}

.up-catalog-filter {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0 0 1.1rem;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.up-catalog-filter legend {
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0;
    color: inherit;
    font-size: 0.95rem;
    font-weight: 700;
}

.up-catalog-filter__term {
    display: block;
    color: inherit;
    line-height: 1.35;
    text-decoration: none;
}

.up-catalog-filter__term:hover {
    text-decoration: underline;
}

.up-catalog-filter-placeholder {
    padding: 1rem;
    border: 1px dashed #a0a5aa;
    border-radius: 4px;
    color: #50575e;
    background: #f6f7f7;
}

.up-catalog-specifications {
    column-count: 2;
    column-gap: 1rem;
}

.up-catalog-spec-group {
    display: inline-block;
    width: 100%;
    margin: 0 0 1rem;
    overflow: hidden;
    break-inside: avoid;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: #fff;
}

.up-catalog-spec-group h3 {
    margin: 0;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.025);
    color: var(--theme-text-color, #6f7480);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.up-catalog-spec-group table.shop_attributes {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.up-catalog-spec-group table.shop_attributes tr,
.up-catalog-spec-group table.shop_attributes th,
.up-catalog-spec-group table.shop_attributes td {
    border: 0;
    background: transparent;
}

.up-catalog-spec-group table.shop_attributes tr + tr {
    border-top: 1px solid rgba(0, 0, 0, 0.075);
}

.up-catalog-spec-group table.shop_attributes th,
.up-catalog-spec-group table.shop_attributes td {
    width: 40%;
    padding: 0.72rem 1rem;
    vertical-align: top;
    text-align: left;
    font-style: normal;
    font-weight: 400;
}

.up-catalog-spec-group table.shop_attributes th {
    width: 60%;
    color: var(--theme-text-color, #747985);
}

.up-catalog-spec-group table.shop_attributes td {
    color: var(--theme-heading-color, #242629);
}

.up-catalog-reason {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    min-height: 260px;
    padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.up-catalog-reason + .up-catalog-reason {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.up-catalog-reason:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
}

.up-catalog-reason:nth-child(even) .up-catalog-reason__media {
    order: 2;
}

.up-catalog-reason--without-image {
    display: block;
    min-height: 0;
}

.up-catalog-reason__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

.up-catalog-reason__content h3 {
    margin: 0 0 0.65rem;
    color: var(--theme-text-color, #969aa4);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.up-catalog-reason__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .up-catalog-specifications {
        column-count: 1;
    }

    .up-catalog-reason,
    .up-catalog-reason:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: 0;
    }

    .up-catalog-reason:nth-child(even) .up-catalog-reason__media {
        order: 0;
    }
}
