@import url('global.css');

/* ===================================================================
                CONTENT
=================================================================== */

.content-section {
}

    .content-section .content-top {
        display: flex;
        padding-top: 10px;
    }

        .content-section .content-top .left-div {
            flex: 0 0 65%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-right: 10px
        }

            .content-section .content-top .left-div img {
                width: 100%;
                height: auto;
                display: block;
            }

        .content-section .content-top .right-div {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Cambiato da center a space-between */
        }

            .content-section .content-top .right-div > div {
                display: flex;
                align-items: center;
            }

                .content-section .content-top .right-div > div p {
                    color: var(--main-white);
                    font-size: 1.5rem;
                    line-height:1.5rem;
                    align-self: flex-start; /* Assicura che stia in alto */
                }

                .content-section .content-top .right-div > div img {
                    margin-left: 20px;
                    height:35px;
                }


            .content-section .content-top .right-div h1 {
                color: var(--main-black);
                font-size: 3.5rem;
                line-height: 3.5rem;
                font-weight: 900;
            }


            .content-section .content-top .right-div div > span:nth-child(1) {
                color: var(--main-black);
                font-size: 1.5rem;
                font-weight: 700;
                line-height: 1.5rem;
            }



.content-middle {
    margin: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-middle section {
    padding-bottom:100px;
}
.product-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.product-card {
    position: relative;
    display: block;
    width: 300px;
    margin: 20px;
    color: var(--main-black);
}

    .product-card * {
        color: var(--main-black);
    }
    .product-card h3 {
        font-size: 1.5rem;
        line-height:1.4rem;
    }
    .product-card p {
        font-size: 0.8rem;
        font-weight:300;
        padding-top:5px
    }

.product-new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px
}





/* ===================================================================
        RESPONSIVE - TABLET E MOBILE (max-width: 1279px)
        =================================================================== */
@media (max-width: 1279px) {
    .content-middle {
        margin: 10px;
    }

    /*Contents*/

    .content-top {
        flex-direction: column;
        padding: unset !important;
    }

    .left-div {
        flex: none;
        width: 100%;
        padding-bottom: 10px;
        padding-right: unset !important;
    }

    .right-div {
        flex: none;
        width: 100%;
        padding: 20px;
    }

        .right-div h2 {
            font-size: 20px;
        }

    .content-middle {
        margin: 10px;
    }
}



/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 1024px)
=================================================================== */

@media (max-width: 1024px) {
    .content-section .content-top .right-div h1 {
        line-height:3rem;
    }

    .product-grid{
        justify-content:center;
    }
}


/* ===================================================================
         RESPONSIVE - MOBILE PICCOLO (max-width: 769px)
=================================================================== */

@media (max-width: 768px) {
    .content-section .content-top .right-div h1 {
        font-size: 3rem;
        line-height: 3rem;
    }
}
