.prodotto-page {
    .menu-verde {
        position: relative;
    }
}

.top-part {
    min-height: 80vh;
    margin: auto;
    position: relative;

    img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
    }

    & > div:nth-of-type(1) {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;

        & > div {
            position: relative;
            width: 100%;
            height: 100%;
        }
    }
    & > div:nth-of-type(2) {
        /*position: absolute;*/
        /*height: calc(379 / 1380 * 100%);*/
        /*width: calc(544 / 1920 * 100%);*/
        /*margin: auto;*/
        /*left: 0;*/
        /*right: 0;*/
        /*top: calc(429 / 1380 * 100%);*/
        /*display: flex;*/
        /*flex-direction: column;*/
        /*font-family: 'Archivo', serif;*/
        /*font-style: normal;*/
        /*font-weight: 700;*/
        /*font-size: clamp(0.625rem, 1vw, 1.3rem);        */
    }
}

.top-part-text {
    height: calc(30/1380*100vh);
    position: absolute;
    margin-left: calc(242 / 1920 * 100%);
    top: calc(257 / 1380 * 100%);
}

.top-part-back {
    width: 100%;
    height: 100%;
    color: black;

    & > div:nth-of-type(1) {
        height: 100%;
        width: 100%;
        aspect-ratio: 1/1;

        a {
            display: block;
            height: 100%;
            width: 100%;
        }
    }
}

.middle-part {
    margin: 0 calc(242/1920*100%);
    width: calc(1436/1920*100%);
}

.product {
    display: flex;
    position: absolute;
    top: calc(391 / 1380 * 100%);
    margin: 0 calc(242 / 1920 * 100%);
    width: calc(1436 / 1920 * 100%);
    left: 0;
    right: 0;
}

.product-title {
    text-align: right;
    font-family: 'Archivo', serif;
    font-style: normal;
    font-weight: 700;
    top: calc(257 / 1380 * 100%);
    margin-right: calc(242 / 1920 * 100%);
    position: absolute;
    right: 0;
    margin-left: 5%;
    max-width: 70%;

    & > div:nth-of-type(1) {
        font-size: clamp(2.5rem, 3.33vw, 5.3rem);
    }
    & > div:nth-of-type(2) {
        font-size: clamp(1.5rem, 2vw, 3.2rem);
    }
}

.product-left {
    flex: 1;
    aspect-ratio: 1/1;
    padding-top: 2.5%;

    /*.product-img-1 {*/
    /*    max-height: 100%;*/
    /*    max-width: 100%;*/
    /*    display: flex*/
    /*}*/

    img {
        max-width: 54%;
        max-height: 100%;
        height: auto;
        /*width: unset;*/
        /*height: unset;*/
        object-fit: contain;
    }
}

.product-right {
    flex: 1;

    img {
        width: unset;
        height: unset;
    }

    font-size: clamp(1rem, 1.25vw, 1.5rem);
    text-align: right;

    & > div:nth-of-type(1) {
        padding-top: 10%;
        line-height: clamp(1.5rem, 1.875vw, 2.25rem);;
    }

    & > div:nth-of-type(2) {
        /*height: 1.5vw;*/
        width: 60%;
        padding-top: 4%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        margin-left: auto;
        /*background-color: bisque;*/

        & > div:nth-of-type(1) {
            /*background-color: red;*/
            flex: 4;
            aspect-ratio: 4/1;
            height: 1.5vw;
        }
        & > div:nth-of-type(2) {
            /*background-color: orange;*/
            flex: 1;
            aspect-ratio: 1/1;
        }
        & > div:nth-of-type(3) {
            /*background-color: yellow;*/
            flex: 1;
            aspect-ratio: 1/1;
            align-content: center;
            justify-items: center;
        }
        & > div:nth-of-type(4) {
            /*background-color: greenyellow;*/
            flex: 1;
            aspect-ratio: 1/1;
            align-content: center;
            justify-items: center;
            text-align: center;
        }
        & > div:nth-of-type(5) {
            /*background-color: orange;*/
            flex: 1;
            aspect-ratio: 1/1;
            align-content: center;
            justify-items: center;
            text-align: center;
        }
        & > div:nth-of-type(6) {
            /*background-color: sienna;*/
            flex: 3;
            aspect-ratio: 3/1;
        }
        & > div:nth-of-type(7) {
            background-color: #03A460;
            flex: 6;
            align-content: center;
            justify-items: center;
            cursor: pointer;
            user-select: none;
            display: flex;
            justify-content: center;
            padding: calc(9 / 1380 * 100vh) 0;
            border-radius: 1rem;

        }
    }

    & > div:nth-of-type(3) {
        /*height: 1.5vw;*/
        width: 60%;
        padding-top: 4%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: end;
        margin-left: auto;
    }
}
.cart-button {
}
