.catalog-product-column {
    min-width: 0;
}

.catalog-product-link {
    height: 100%;
    color: #272822;
    text-decoration: none;
}

.catalog-product-link:hover {
    color: #272822;
}

.catalog-product-link:focus-visible {
    outline: 3px solid #b43c26;
    outline-offset: 4px;
}

.catalog-product-card.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedfd8;
    border-radius: 0;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.catalog-product-link:hover .catalog-product-card,
.catalog-product-card.product-card:hover {
    transform: none;
    border-color: #aaa99f;
    box-shadow: 0 4px 16px rgb(39 40 34 / 7%);
}

.catalog-product-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: 0;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #efefe9;
}

.catalog-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-product-image-placeholder {
    color: #686a62;
    font-size: 14px;
}

.catalog-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
    overflow-wrap: anywhere;
}

.catalog-product-brand {
    margin: 0 0 6px;
    color: #686a62;
    font-size: 12px;
    line-height: 1.4;
}

.catalog-product-card .catalog-product-name {
    display: -webkit-box;
    min-height: 4.2em;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #272822;
    font: 600 16px/1.4 Arial, Helvetica, sans-serif;
}

.catalog-product-price {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 5px;
    align-items: baseline;
    margin-bottom: 4px;
    line-height: 1.3;
}

.catalog-product-amount {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.catalog-product-unit {
    color: #686a62;
    font-size: 14px;
}

.catalog-product-price-request {
    font-size: 18px;
    font-weight: 700;
}

.catalog-product-availability {
    margin: 0 0 16px;
    color: #686a62;
    font-size: 12px;
    line-height: 1.5;
}

.catalog-product-specifications {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #efefe9;
    font-size: 12px;
    line-height: 1.45;
}

.catalog-product-specifications > div {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    justify-content: space-between;
}

.catalog-product-specifications dt {
    color: #686a62;
    font-weight: 400;
}

.catalog-product-specifications dd {
    margin: 0;
    color: #272822;
    font-weight: 600;
}

.catalog-product-action {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    margin: 0 18px;
    padding: 12px 0;
    border-top: 1px solid #dedfd8;
    color: #a93623;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.scroll-container > .catalog-product-column {
    flex: 0 0 260px;
    max-width: 260px;
}

@media (max-width: 479px) {
    .catalog-product-image-wrap {
        padding: 10px;
    }

    .catalog-product-body {
        padding: 12px;
    }

    .catalog-product-card .catalog-product-name {
        font-size: 14px;
    }

    .catalog-product-amount {
        font-size: 21px;
    }

    .catalog-product-price-request {
        font-size: 16px;
    }

    .catalog-product-action {
        margin-inline: 12px;
        font-size: 12px;
    }

    .scroll-container > .catalog-product-column {
        flex-basis: 230px;
        max-width: 230px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-product-card.product-card {
        transition: none;
    }
}
