﻿/* Stili desktop esistenti */
.hero-box-img-donna-faro {
    position: absolute;
    max-width: 86%;
    top: 22%;
    left: -20%;
}

.hero-img-wrapper {
    width: 74%;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.hero-img-faro {
    height: auto;
    max-width: 75%;
}

.hero-womencare-container {
    position: relative;
    background: #fff;
    min-height: 600px;
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
    overflow: visible;
}

.hero-text-block {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 50px;
}

/* TITOLO */
.hero-title {
    font-size: 4.8rem;
    font-weight: 750;
    color: #f15a24;
    line-height: 1.38;
    margin-bottom: 4.9rem;
    margin-top: 0.2rem;
    text-align: left;
    letter-spacing: 0;
}

/* STILE UNICO per TUTTI I BLOCCHI DI TESTO */
.hero-text p,
.hero-text-laterale p,
.hero-text-laterale2 p,
.hero-bottom-text p {
    color: #5c5046;
    margin-block-end: 1.9rem;
    margin-block-start: 0;
    font-size: 18px;
    line-height: 1.22;
    margin-bottom: 2.0rem;
    text-align: left;
    letter-spacing: 0.04em;
    font-weight: 400;
    margin-right: -75px;
}

/* LATERALE */
.hero-text-laterale {
    left: 400px;
    top: 24.0em;
    width: 720px;
    z-index: 2;
    padding-top: 2em;
    margin-left: 21.0em;
    padding-bottom: 0;
    z-index: 2;
}

/* LATERALE 2blocco */
.hero-text-laterale2 {
    left: 400px;
    top: 24.0em;
    width: 700px;
    margin-left: 20.0em;
    padding-bottom: 0;
    z-index: 2;
}

/* BOTTOM ROW */
.hero-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: -3.5rem;
    margin-right: -38px;
    position: relative;
    z-index: 2;
    gap: 11rem;
    flex-wrap: wrap;
    align-content: stretch;
    flex-direction: row;
}

.hero-bottom-text {
    flex: 2;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0;
    max-width: 640px;
}

.hero-bottom-img {
    flex: 1;
    min-width: 130px;
    padding-right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-img-pc {
    width: 350px;
    max-width: 100%;
    height: auto;
    display: block;
    left: 100px;
}

.fadein-css {
    opacity: 0;
    animation: fadeInBrochure 1.3s ease-in-out 0.2s forwards;
}

@keyframes fadeInBrochure {
    to {
        opacity: 1;
    }
}

.element_codice{
  padding-left: 10px;
}

.text-codice {
    font-size: 14px;
}

/* RESPONSIVE MOBILE (sotto 1000px) */
@media (max-width: 1000px) {
    .hero-womencare-container {
        padding: 2rem 1rem;
        min-height: auto;
        overflow: visible;
    }

    .hero-text-block {
        max-width: none;
        margin: 0;
        padding: 0;
        position: static;
    }

    /* Titolo mobile */
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        line-height: 1.3;
        margin-left:6px;
    }

    /* Reset posizionamenti assoluti per mobile */
    .hero-box-img-donna-faro {
        position: static;
        max-width: none;
        width: 100%;
        margin: 2rem 0;
        left: auto;
        top: auto;
    }

    .hero-img-wrapper {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .hero-img-faro {
        max-width: 100%;
        height: auto;
        width: auto;
    }

    /* Testi mobile - tutti i paragrafi */
    .hero-text p,
    .hero-text-laterale p,
    .hero-text-laterale2 p,
    .hero-bottom-text p {
        margin-right: 0;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Blocchi di testo mobile */
    .hero-text {
        margin-bottom: 2rem;
    }

    .hero-text-laterale {
        position: static;
        width: 100%;
        margin-left: 0;
        left: auto;
        top: auto;
        padding-top: 1rem;
        margin-bottom: 2rem;
    }

    .hero-text-laterale2 {
        position: static;
        width: 100%;
        margin-left: 0;
        left: auto;
        top: auto;
        margin-bottom: 2rem;
    }

    /* Bottom row mobile */
    .hero-bottom-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        margin-right: 0;
        align-items: center;
    }

    .hero-bottom-text {
        flex: none;
        max-width: none;
        width: 100%;
        order: 1;
    }

    .hero-bottom-img {
        flex: none;
        min-width: auto;
        order: 2;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-img-pc {
        width: 280px;
        max-width: 90%;
        left: auto;
    }

    /* Margini laterali per tutto il contenuto mobile */
    .hero-text-block > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Eccezioni per elementi che non devono avere padding extra */
    .hero-box-img-donna-faro,
    .hero-bottom-img {
        padding-left: 0;
        padding-right: 0;
    }

    /* Copyright mobile */
    .hero-text-block > .row {
        font-size: 14px;
        margin-top: 2rem;
        text-align: center;
    }

    .img-fluid {
        margin-top: -6rem !important ;
        margin-left: 25rem;
        width: 105px;
        height: 115px;
    }

    .text-codice {
        padding-left: 5px;
        font-size: 12px;
    }
}

/* Ulteriori aggiustamenti per schermi molto piccoli */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text p,
    .hero-text-laterale p,
    .hero-text-laterale2 p,
    .hero-bottom-text p {
        font-size: 15px;
        padding: 0 0.5rem;
    }

    .hero-text-block > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .hero-img-pc {
        width: 240px;
    }
}

.ts-item.hidden {
    display: none !important;
}
/* Arrotonda l'angolo destro dell'ultimo pulsante visibile */
#ts-tag-ddl {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}