.popup {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3rem 5rem;
    background-color: #ffffff;
    border: 1px solid #000000;
    z-index: 2000;
    font-size: 3rem;
    color: var(--VERT2);
    min-width: 40%;
}
.subscription-form-container{
    padding: 4rem 0 0 0;
}

.btn_scan{
    display: block;border-radius: 0 !important;padding: 0.8rem 5rem !important;
}
.abonner_title {
    margin: 2rem 0;
}
.close-popup {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
    color: black;
}
#boutons_div{
    min-height: 30rem;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}
#boutons_div2{
    
}
#coteconso1{
    max-width: 100% !important;
}
.recaptchaDivScan {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.buttonScan {
    width: 35%;
    margin: 0 !important;
}

#message,
#message_error,
#message_errorScan {
    color: red;
    font-size: 1.4rem;
    display: block;
}
#message{
    padding: 1rem 0;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 10002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.margin_auto {
    padding: 2rem 0;
}
.abonner_title{
    margin: 2rem 0 0 0;
}
/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2rem;
    border: solid 3px #12a79d;
    max-width: 35vw;
    border-radius: 2rem;
    background-image: url(../../public/img/foodhea/logo.webp);
    background-position: inherit;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: 14em;
    background-position-x: 10px;
    background-position-y: 10px;
    margin: 2vh auto;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 3rem;
    position: relative;
    font-weight: bold;
    right: -8px;
    top: -15px;
}


.Copier {
    font-size: 0;
}

.close-popup {
    color: #aaa;
    float: right;
    font-size: 3rem;
    position: relative;
    font-weight: bold;
    right: -3rem;
    top: -2rem;
}

.close:hover,
.close:focus,
.close-popup:hover,
.close-popup:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



#subscription-form input[type=text],
#subscription-form textarea[type=text]{
    width: calc(100% - 5rem);
    margin: 0.5rem 0px 2rem 0;
    padding: 0.9rem;
}
#subscription-form input[type=email] {
    width: calc(65% - 5rem);
    margin: 0.5rem 0px 2rem 0;
    padding: 0.9rem;
}

#subscription-form_In input[type=text],
#subscription-form_In textarea[type=text],
#subscription-form_In input[type=email] {
    width: calc(60% - 5rem);
    margin: 1rem 0;
    padding: 1rem;
}
#subscription-form_In select,#subscription-form select {
    width: calc(100% - 5rem);
    margin: 1rem 0;
    padding: 1rem;
}
.subscribe-button {
    width: 20rem;
    padding: 0.5rem !important;
    background-color: #12a79d;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 2.5rem;
    font-family: "TuffyRegular";
    margin: 1rem 0 0 0 !important;

}
#nous_contacter{
    font-size: 4rem !important;
}

.subscribe-button:hover {
    background-color: #0e827a;
}

.input-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    min-width: 50%;
    flex-direction: column;
}

.input-container label {
    font-family: "RobotoRegular";
    font-size: 1.8rem;
    color: var(--NOIR2);

}

.input-container input,
.input-container textarea,#subscription-form select {
    font-family: "RobotoRegular";
    font-size: 1.5rem;
    padding: 1rem;
    border: 0.25rem solid #12a79d;
    outline: none;
}
.input-container textarea {
    border-radius: 2rem;
}
.input-container input,#subscription-form select {
    border-radius: 1rem;
}
#subscription-form select {
    margin: 0.5rem 0 2rem 0;
    padding: 0.8rem;
}
.input-container input:focus,
.input-container textarea:focus {
    border-color: #008B8B;
}

/* Optional: Style for the placeholder */
.input-container input::placeholder,
.input-container textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

#recaptchaDiv {
    background-image: url(../../public/img/Accueil/V7-maquette-siteweb-08.webp);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    min-height: 17rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    align-content: flex-start;
}
#envoi_div{
    background-image: url(../../public/img/fleche_envoi.png);
    background-position-x: 78%;
    background-repeat: no-repeat;
    background-size: 20%;
    min-height: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-content: center;
    align-items: center;
}
#conso_recaptcha{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}
@media (max-width: 400px) {
    .g_recaptcha_conso {
        -webkit-transform: scale(0.5);
    }
}
#title_pop_up {
    font-size: 4rem !important;
}

/* Responsive Styles */


.g_recaptcha {
    transform: scale(0.90);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -webkit-max-logical-height: 6rem;
}
@media screen and (max-width: 1290px) {
    .g_recaptcha {
    -webkit-transform: scale(0.5);
    }
}
@media screen and (max-width: 768px) {

    #subscription-form input[type=text],
    #subscription-form textarea[type=text],
    #subscription-form input[type=email],select {
        margin: 1rem 0;
        padding: 1rem;
    }

    #subscription-form_In input[type=text],
    #subscription-form_In textarea[type=text],
    #subscription-form_In input[type=email],select {
        margin: 1rem 0;
        padding: 1rem;
    }

    .modal {
        padding-top: 0;
    }


  
    .g_recaptcha {
        -webkit-transform: scale(0.5);
        max-height: 9rem;
    }
}

@media screen and (max-width: 490px) {
    .g_recaptcha {
        -webkit-transform: scale(0.3);
    }
}



@media (max-aspect-ratio: 3/4) {
    .modal {
        padding-top: 20%;
    }

    .g_recaptcha {
        -webkit-transform: scale(0.45);
        top: 5vh;
        padding: 2vw 0;
    }

    .modal-content {
        max-width: 85vw;
    }

    #title_pop_up {
        font-size: 7rem !important;
    }

    .input-container label {
        font-size: 4rem;
    }

    .input-container {
        display: flex;
        justify-content: space-around;
    }
 
    #boutons_div {
        min-height: 30vh;
    }
    #boutons_div2 {
        flex-direction: column;
        display: flex;
    justify-content: center;
    align-items: center;
    }
    .btn_mobile{
        font-size: 5vw;
        padding-bottom: 5rem;
    }
    .btnContact{
        width: 100%;
        padding: 4rem !important;
        max-width: 100% !important;
        min-width: 100% !important;

    }
    .input-container input,
    .input-container textarea,#subscription-form select {
        font-size: 3.5rem;
        width: calc(93% - 5rem);
    }
    .contact_conso {
        font-size: 6vw !important;
    }

    .modal-content {

        background-size: 25em

    }

    #subscription-form input[type=text],
    #subscription-form textarea[type=text],
    #subscription-form input[type=email],select {
        width: calc(100% - 5vw);
        margin: 2rem 0px 2vh 0;
        padding: 2rem;
    }

    #subscription-form_In input[type=text],
    #subscription-form_In textarea[type=text],
    #subscription-form_In input[type=email],select {
        margin: 2rem 0;
        padding: 2rem;
    }

    
    .subscription-form-container{
        padding: 3vh 1vw 1vw 1vw;
    }
    .subscribe-button {
        width: 30vw;
        padding: 2rem;
        font-size: 5rem;
        margin: 0.5rem 0;
    }

    .close,
    .close-popup {
        font-size: 7rem;
        top: -9px;
        left: 2px;
    }
}

/* Style pour les inputs désactivés */
.input_forme:disabled {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}

/* Style pour les boutons désactivés */
.btn_forme:disabled {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
}


#producttitle{
	font-size: 4rem;
    color: var(--BLEU);
}
.productName {
    font-size: 3rem;
    text-align: center;
}

#productName {
    font-size: 2rem;
     margin-bottom: 2rem;
}
#scan_box{
    padding-top: 4rem;
    padding-bottom: 1rem;
}
@media (max-width: 640px){
    #scan_box {
        padding-top: 6rem;
    }

}
#divFlexCol {
    display: flex;
    align-items: center;
    font-size: 2rem;
    width: 100%;
    justify-content: center;
    column-gap: 5rem;
}

#divFlexCol div {
    text-align: start;
}

#SannedImageDiv {
    text-align: center;
    margin: 1rem;
    width: 25%;
}

.SannedImage {
    max-width: 70%;
    height: auto;
}

#message_error,
#message_errorScan {
    color: red;
    font-size: 2rem;
    margin-bottom: 2rem;
}

#subscription-form-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 1rem;
}

@media (max-aspect-ratio: 3/4) {
    #SannedImageDiv {
        margin: 5rem;
        width: 100%;
    }
    #scan_box {
        padding-top: 4vh;
    }
    .buttonScan {
        width: 60%;
    }
    #producttitle {
        font-size: 6rem;
    }
    
#productName {
    font-size: 4rem;
     margin-bottom: 1rem;
}
}

/* les réseaux sociaux */
.sharing .cagnotte-header-partage-socials {
    max-width: 80%;
    margin: 0 auto 1.2rem;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sharing {
    max-width: 70rem;
    margin: 4rem auto 4rem;
    text-align: center;
    font-family: 'TuffyRegular';
}

.sharing p {
    font-weight: 700;
    font-size: 1.7rem;
}

.modal-title span {
    text-transform: none;
    font-size: 1.5rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
}



.sharing .cagnotte-header-partage-socials {
    row-gap: 2rem;
    column-gap: 3.5rem;
}

.cagnotte-header-partage-socials {
    margin-bottom: 1rem;
    border-radius: 0.4rem;
    padding: 1rem;
    background: #FFF;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 100%;
    max-width: 40rem;
}

.sharing .cagnotte-header-partage-socials .share-icon,
.sharing .cagnotte-header-partage-socials a {
    font-weight: 700;
    font-size: 2rem !important;
    color: #12a79d !important;
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.2rem;
    flex-basis: 10rem;
    text-decoration: none;
}

.cagnotte-header-partage-socials .share-icon span {
    color: #12a79d;
    transition: color .3s;
}

/*
.sharing-other-options {
    display: inline-block;
}

.sharing-other-options {
    list-style: none;
}

.sharing ul {
    margin-left: -3rem;
    text-align: left;
}

.sharing ul {
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 1.7;
    list-style-position: outside;
    margin-bottom: 2rem;
}
*/
.sharing a:hover {
    color: #32afcf;
}

.cagnotte-header-partage-clipboard {
    position: relative;
    margin-bottom: 1rem;
    padding: 0.8rem 7.5rem 0.8rem 1rem;
    border-radius: 0.4rem;
    background: #FFF;
    text-align: left;
}

.share-compact-mode {
    margin: auto;
    max-width: 40rem;
    background-color: #12a79d !important;
}

.text-center {
    text-align: center !important;
}

#label {
    color: #4d4d4d;
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
}

#label textarea:disabled,
#label textarea[disabled],
#label textarea[readonly] {
    background-color: #DDD;
    cursor: default;
}

select[multiple],
#label textarea[rows] {
    height: auto;
}

#textarea {
    min-height: 5rem;
    max-width: 100%;
    font: inherit;
    overflow: auto;
}

#textarea {

    border-radius: 0;
    background-color: #FFF;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    color: rgba(0, 0, 0, .75);
    display: block;
    font-family: inherit;
    font-size: 1.3rem;
    height: 2.3125rem;
    margin: 0 0 1rem;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color .15s linear, background .15s linear;
}

.share-compact-mode {
    color: #FFF !important;
    font-size: 2rem;
    padding: 1rem;
}

.share-compact-mode span {
    color: #FFF !important;
    font-size: 1rem !important;
}

.cagnotte-header-partage-clipboard span {
    display: block;
    margin-top: 0.8rem;
    font-family: Comfortaa, cursive;
    font-size: .625rem;
    color: #12a79d;
}

.cagnotte-header-partage-clipboard button {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0 1.9rem;
    height: calc(100% - 1.6rem);
    border-radius: 0.4rem;
    color: #fff;
    background-color: #12a79d;
    margin: 0;
    border: none;
    box-shadow: none;
}

.share-compact-mode button {
    background-color: #FFF !important;
}

.share-compact-mode button svg path[fill="#fff"] {
    fill: #12a79d;
}

svg {
    height: 3.5rem;
    width: 3.5rem;
}

.svgid {
    fill: #12a79d
}

#content-share {
    display: none;
    justify-content: center;
    flex-direction: column;
}

.red-separation::after {
    content: '';
    display: block;
    margin: 1rem auto;
    width: 15rem;
    height: 0.2rem;
    background-color: var(--c-hr-bg-color, #FF1654);
}

#partagerText {
    font-size: 4rem;
    font-family: 'TuffyRegular';
    margin-top: 0;
    font-weight: 400;
}

.produit_scane{
    width: auto;height:20rem
}

@media (max-aspect-ratio: 3/4) {
    .sharing p {
        font-size: 3.5vw;
    }
    #nous_contacter{
        font-size: 5vw !important;
    }
    #subscription-form select {
        margin: 2rem 0px 2vh 0;
        padding: 2rem;
    }
    .produit_scane{
        width: auto;height:32rem
    }
    .share-icon svg {
        height: 6vw;
        width: 3vh;
    }

    .Copier svg {
        height: 2vh;
        width: 5vw;
    }

    .sharing .cagnotte-header-partage-socials {
        row-gap: 2vh;
        column-gap: 4vw;
        max-width: 100%;
    }

    .modal-title span {
        font-size: 3vw;
    }

    .sharing .cagnotte-header-partage-socials {
        margin: auto;
    }

    .sharing ul {
        font-size: 3.5vw;
    }

    .share-compact-mode {
        max-width: 85%;
        padding: 2rem !important;
    }

    #partagerText {
        font-size: 5vw;
    }

    #label {
        font-size: 3vw;
    }

    #textarea {
        font-size: 3vw;
    }

    .sharing {
        margin: 23px auto 23px;
        max-width: 80%;
    }

    .sharing ul {
        margin-left: -14rem;
    }

    .share-compact-mode {
        font-size: 3vw;
    }

    .share-compact-mode span {
        font-size: 2vw !important;
    }

    .cagnotte-header-partage-clipboard {
        min-height: auto;
        padding: 1rem;
    }

    .sharing .cagnotte-header-partage-socials .share-icon,
    .sharing .cagnotte-header-partage-socials a {
        font-size: 3vw !important;
    }
    #enveloppe_foodhea {
        max-width: 30rem !important;
        padding: 1.5vh;
    }
    .contact_conso {
        font-size: 2.5vh !important;
    }
    #divFlexCol {
        font-size: 4rem;
    }
}
.contact_conso{
    text-align: center;
}
#enveloppe_foodhea{
    max-width: 14rem;
}
#enveloppe_div{
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
}
.double_element{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
#c_message_cont{
    height: 60px;
}
@media (max-width: 1750px) {
#c_message_cont{
    height: 5rem;
}

.g_recaptcha_conso {
    -webkit-transform: scale(0.7);
}

#enveloppe_foodhea {
    max-width: 13rem;
}
}
