#latest-products .catalog-product-card {
    padding: 0;
    overflow: hidden;
}

.catalog-product-card__photo {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f3;
    border-bottom: 1px solid var(--line);
}

.catalog-product-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px clamp(16px, 2vw, 28px);
}

.catalog-product-card__body h3 {
    margin-top: 10px;
}

.catalog-product-card__body .card-link span {
    display: inline-block;
}

[dir="rtl"] .catalog-product-card__body .card-link span {
    transform: scaleX(-1);
}

.catalog-product-photo {
    max-width: 640px;
    margin: 0 0 24px;
}

.catalog-product-photo img {
    width: auto;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--line);
}

.catalog-product-photo figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

/* The 2205 case image contains several independent inspection photos. Show the upper-right photo. */
[data-plate-photo="2205-duplex-stainless-steel-plate"] {
    position: relative;
    overflow: hidden;
}

.catalog-product-photo [data-plate-photo="2205-duplex-stainless-steel-plate"] {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 300 / 232;
    border: 1px solid var(--line);
}

[data-plate-photo="2205-duplex-stainless-steel-plate"] img {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    max-width: none;
    height: auto;
    border: 0;
}
