body[data-gpc-legacy-product="true"] {
    overflow-x: hidden;
}

.gpc-legacy-product-photo,
.gpc-legacy-fps-gallery {
    position: relative;
    z-index: 20;
    width: min(1180px, calc(100% - 48px));
    margin: 24px auto;
    font-family: "Segoe UI", Arial, sans-serif;
}

.gpc-legacy-product-photo {
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: #242730;
}

.gpc-legacy-product-photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.gpc-legacy-product-photo span {
    display: block;
    padding: 14px 18px;
    color: #f2f3f8;
    font-size: 22px;
    font-weight: 750;
}

.gpc-legacy-fps-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gpc-legacy-fps-card {
    position: relative;
    min-height: 118px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: #242730;
    color: #fff;
}

.gpc-legacy-fps-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .34;
}

.gpc-legacy-fps-card strong,
.gpc-legacy-fps-card span {
    position: relative;
    z-index: 1;
    display: block;
}

.gpc-legacy-fps-card strong {
    font-size: 15px;
}

.gpc-legacy-fps-card span {
    margin-top: 26px;
    font-size: 28px;
    font-weight: 800;
}

@media (max-width: 620px) {
    .gpc-legacy-product-photo,
    .gpc-legacy-fps-gallery {
        width: min(100% - 24px, 1180px);
        margin-block: 12px;
    }

    .gpc-legacy-product-photo img {
        height: 220px;
    }

    .gpc-legacy-fps-gallery {
        grid-template-columns: 1fr;
    }
}
