.catalogue-section {
    padding: 50px 0 70px;
    color: #000;
    background: #fff url("/res/img/static/ombreggiaturasopra.png") repeat-x top left;
}

.catalogue-group-title {
    margin: 0 0 40px;
    color: #000;
    font-size: 40px;
    font-weight: 200;
    line-height: 1;
}

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

.product-card {
    position: relative;
    min-width: 0;
    height: 360px;
    margin: 20px 0;
    background: transparent;
}

.product-card > a {
    display: block;
    height: 100%;
    color: #000;
    text-decoration: none;
}

.product-card-image {
    display: block;
    width: 100%;
    line-height: 0;
    text-align: center;
}

.product-card-image img {
    display: inline-block;
    width: 100%;
    height: auto;
    padding: 0;
    object-fit: contain;
}

.product-card-copy {
    display: block;
    border: 0;
    text-align: center;
}

.product-card-copy strong {
    display: block;
    padding: 10px 0 5px;
    color: #000;
    font-family: "Source Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.product-card-copy span {
    display: block;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.product-card > a::after {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0) url("/res/img/static/scopri.png") no-repeat 50% -80px;
    content: "";
    transition: background-color 0.3s, background-position 0.3s;
}

.product-card > a:hover::after,
.product-card > a:focus::after {
    background-color: rgba(255, 255, 255, 0.7);
    background-position: 50% 50%;
}

.product-summary {
    width: 100%;
}

.product-download {
    margin-top: 0;
}

.product-download .pulsante {
    width: 100%;
    margin-top: 5px;
    font-size: 19px;
}

.product-detail {
    position: relative;
    display: grid;
    padding-top: 50px;
    padding-bottom: 50px;
    grid-template-columns: 68% 30%;
    align-items: start;
    gap: 2%;
    color: #000;
    line-height: 1.5;
}

.product-main-image {
    position: static;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    width: 100%;
    margin: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.product-image-block {
    width: 100%;
}

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

.product-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

@media (max-width: 940px) {
    .catalogue-section {
        padding: 40px 0;
    }

    .catalogue-group-title {
        margin-bottom: 30px;
        font-size: 33px;
    }

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

    .product-card {
        height: 350px;
    }

    .product-detail {
        display: flex;
        flex-direction: column;
    }

    .product-main-image {
        width: min(100%, 330px);
        margin: 0 auto 20px;
        order: 1;
    }

    .product-copy {
        width: 100%;
        order: 2;
    }

}

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

    .product-card {
        height: 340px;
    }

    .product-card-copy strong {
        font-size: 22px;
    }

    .product-card-copy span {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .catalogue-section {
        padding: 20px 0;
        background-position: 0 -50px;
    }

    .catalogue-group-title {
        margin-bottom: 15px;
        font-size: 26px;
    }

    .product-grid {
        grid-template-columns: 70%;
        justify-content: center;
    }

    .product-card {
        height: auto;
        min-height: 330px;
        margin: 15px 0;
    }

    .product-card-copy span {
        font-size: 16px;
    }

    .product-download .pulsante {
        font-size: 15px;
    }
}
