.products-home {
    padding: 45px 0;
    background: #f8f8f8;
}

.products-catalog {
    padding-top: 30px;
    padding-bottom: 45px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.product-card[hidden] {
    display: none;
}

.product-media {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 4 / 3;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-no-image {
    font-size: 48px;
    color: #aaa;
}

.product-thumbnails {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    overflow-x: auto;
}

.product-thumbnails button {
    flex: 0 0 auto;
    padding: 2px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.product-thumbnails button[aria-pressed="true"] {
    border: 2px solid #444;
    padding: 1px;
}

.product-thumbnails img {
    object-fit: contain;
}

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

.product-card .product-name {
    font-size: 22px;
    /* line-height: 1.45; */
    margin: 0 0 8px;
    text-transform: none;
    letter-spacing: normal;
}

.product-model {
    color: #666;
    font-size: 13px;
}

.product-category {
    display: inline-block;
    background: #eef2f7;
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 12px;
    color: #405664;
}

.product-summary {
    font-size: 17px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    font-size: 14px;
    margin: 0 0 16px;
}

.product-specs div {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
}

.product-specs dt {
    flex: 0 0 35%;
}

.product-specs dd {
    flex: 1;
    margin: 0;
}

.product-details {
    margin: auto 0 0;
}

.products-more {
    margin: 28px 0 0;
}

.products-sidebar {
    margin-bottom: 25px;
}

.products-sidebar h2 {
    font-size: 18px;
    margin-top: 28px;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-filters .btn {
    white-space: normal;
    text-align: start;
    text-transform: none;
    letter-spacing: normal;
}

.product-thumbnails button:focus-visible,
.product-filters button:focus-visible {
    outline: 3px solid #286090;
    outline-offset: 2px;
}

@media (max-width: 1199px) {
    .products-catalog .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 479px) {

    .product-grid,
    .products-catalog .product-grid {
        grid-template-columns: 1fr;
    }
}