.popup-close {
  & {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    border-radius: 50%;
    border: 1px solid var(--color-black);
    font-size: 3rem;
    font-weight: 300;
    font-family: "Montserrat";
    transform: rotate(45deg);
    cursor: pointer;
    line-height: 2;
    background: #fff;
    align-self: flex-end;
    transition: all ease-in-out 0.3s;

    &:hover {
      background: var(--color-black);
      color: #fff;
    }
  }
  :not(.isPopup) > .popup-content > & {
    display: none;
  }
}

body:has(.isPopup) {
  & {
    overflow: hidden;
  }
  #colophon {
    z-index: 9999;
  }
}

#colophon {
  .aana-newsletter {
    &:not(.isPopup) {
      .gfield--type-section,
      #field_151_5,
      #field_238_5,
      .popupAlert,
      .popupTitle,
      .text-gpdr {
        display: none;
      }
    }

    .confirmButtonClose {
      display: none;
    }

    &.isPopup {
      & {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: rgb(245 243 243 / 90%);
        backdrop-filter: blur(5px);
        z-index: 99;
        transition: all ease-in-out 0.5s;
        overflow: auto;
      }

      & > .popup-content {
        & {
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: center;
          background: #ffffff;
          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
          border-radius: 10px;
          padding: 30px 30px 20px;
          gap: 1rem;
          isolation: isolate;
          margin: 2rem auto !important;
          color: var(--color-black);
          transition: all ease-in-out 0.5s;
          position: relative;
          width: 90%;
          max-width: 500px;
          overflow: auto;
          overflow-x: hidden;
        }

        a[data-target="newsletterPopup"]:not([data-action="close"]) {
          display: none !important;
        }

        & > h3 {
          & {
            color: var(--color-black);
            text-align: center;
            font-size: 22px !important;
            padding: 0;
          }

          span {
            font-weight: 700;

            .registrationSuccess &.popupTitle {
              opacity: 0;
            }
          }

          span:not(.popupTitle) {
            display: none;
          }
        }
      }

      .popupAlert {
        & {
          padding: 10px 20px;
          background: #f5f3f3;
          font-size: 0.85rem;
          margin: 0;
        }
        svg {
          display: inline-block;
          position: relative;
          top: 3px;
          margin-right: 3px;
        }
      }

      .gform_wrapper {
        & {
          width: 100%;
        }
        #gform_151,
        #gform_238 {
          & {
            width: 100%;
            flex-direction: column;
          }
          .gform_body {
            & {
              width: 100%;
            }
            .gfield--type-section {
              & {
                border: none;
                padding: 0;

                &:not(:first-of-type) {
                  margin-top: 1rem;
                }
              }
              h3 {
                color: var(--color-black);
                font-family: "Delicious Handrawn";
                font-size: 2rem !important;
                font-weight: 100 !important;
                padding: 0 0 0.5rem;
              }
            }
            #input_151_1,
            #input_238_1 {
              border: 1px solid var(--color-black) !important;
              border-radius: 30px !important;
            }
            .gfield_validation_message:not(:empty) {
              margin: 0;
              padding: 0 1.5rem !important;
            }

            .ginput_container_consent {
              margin: 1rem 0 2rem;
              justify-content: flex-start;
              gap: 0.5rem;

              & + .gfield_validation_message:not(:empty) {
              }
            }
          }
        }
      }

      .gform_footer {
        & {
          width: 100%;
        }
        #gform_submit_button_151,
        #gform_submit_button_238 {
          width: auto !important;
          height: auto !important;
          position: inherit !important;
          padding: 0.85rem 1rem 0.85rem !important;
          border-radius: 30px;

          & + .gform_ajax_spinner {
            margin-left: 1rem;
          }
        }
      }

      .gfield--type-section,
      #field_151_5,
      #field_238_5,
      .popupAlert,
      .popupTitle,
      .gform_footer,
      .text-gpdr {
        display: block;
      }

      &.registrationSuccess {
        h2 {
          font-size: 2rem;
          color: var(--color-red);
          margin: 0;
        }
        .popupAlert {
          & {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
          }

          svg {
            top: 0;
            margin-right: 0.5rem;
          }

          span {
            font-weight: 700;
            font-size: 1rem;
          }
        }
        .confirmButtonClose {
          margin-top: 1rem;
        }
      }
    }
  }
}

.ginput_container_consent {
  & {
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    position: relative;
  }

  input {
    & {
      opacity: 0;
      visibility: hidden;
      position: absolute;
    }
    & + label {
      & {
        display: flex !important;
        align-items: flex-start;
        gap: 0.5rem;
        position: relative;
        padding: 0 !important;
        font-size: 0.9rem !important;
      }
      &::before {
        content: "";
        width: 20px;
        height: 20px;
        position: absolute;
        top: -2px;
        border: 1px solid #999;
        border-radius: 3px;
        left: 0;
      }
      &::after {
        content: "";
        transition: all linear 0.2s;
        position: absolute;
        width: 24px;
        height: 24px;
        background: transparent;
        border-radius: 50%;
        top: 0px;
        left: 3px;
      }
    }

    &:checked + label {
      &::before {
        content: "";
        padding: 0;
      }
      &::after {
        content: "✓";
        color: var(--color-red);
        font-size: 1.25rem;
      }
    }
  }
}

.gform_wrapper {
  .gfield--type-choice {
    .gchoice {
      input {
        & {
        }
        & + label {
          & {
            display: flex !important;
            align-items: flex-start;
            gap: 0.75rem;
            position: relative;
            /* display: block !important; */
            line-height: 2rem;
          }
          &::before {
            width: 56px;
            flex: 0 0 56px;
            height: 30px;
            border-radius: 30px;
            position: relative;
            top: 0;
            border-color: #999;
            background: transparent;
            margin-right: 0;
          }
          &::after {
            content: "";
            transition: all linear 0.2s;
            position: absolute;
            width: 24px;
            height: 24px;
            background: var(--color-black);
            border-radius: 50%;
            top: 3px;
            left: 3px;
          }

          .isPopup & {
            &::after {
              top: 4px;
            }
          }
        }

        &:checked + label {
          &::before {
            content: "";
            padding: 0;
          }
          &::after {
            transform: translateX(26px);
            background: var(--color-light-red);
          }
        }
      }
    }

    &:has(.gchoice:nth-child(2)) {
      .gchoice:not(:last-child) {
        margin-bottom: 1rem;
      }
    }

    &.largeRadio {
      & .gfield_radio {
        flex-direction: column;
      }
      & .gchoice {
        & {
          margin: 0;
          width: 100%;
        }
        & input {
          & + label {
            & {
              width: 100%;
              border: 1px solid #999;
              display: block !important;
              border-radius: 10px;
              padding: 1.25rem 1rem;
              transition: all ease-in-out 0.3s;
            }
            &::before {
              left: calc(100% - 44px - 0.75rem);
              width: 44px;
              height: 44px;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              border: none;
              background: var(--color-light-red);
              box-shadow: none;
            }
            &::after {
              position: absolute;
              left: calc(100% - 3rem);
              top: 50%;
              transform: translateY(-50%);
            }
          }
        }
      }
    }

    &.gfield--type-checkbox {
      &:not(:has(.gchoice:nth-child(2))) {
        .gchoice {
          label {
            & {
              padding-left: 2rem;
              position: relative;
            }
            &::before {
              content: "";
              width: 20px;
              height: 20px;
              position: absolute;
              /* top: 4px; */
              border: 1px solid #999;
              border-radius: 3px;
              left: 2px;
              margin: 0;
            }
            &::after {
              content: "";
              transition: all linear 0.2s;
              position: absolute;
              width: 24px;
              height: 24px;
              background: transparent;
              border-radius: 50%;
              top: -3px;
              left: 4px;
              line-height: 2rem;
            }
          }
          input:checked + label {
            &::after {
              content: "✓";
              color: var(--color-red);
              font-size: 1.25rem;
              transform: none;
            }
          }
        }
      }
    }
  }
}

body.page-template-page--inscription-entreprise,
body.page-template-page--inscription-entreprise-profils {
  #content {
    & > .container {
      max-width: 100%;
    }
    & > .top {
      display: none !important;
    }
    .steps-wrapper {
      & {
        flex-direction: column;
      }

      & > #siretBloc,
      & > #EntrepriseBloc {
        display: none;
      }

      .gform_wrapper {
        .gform_body {
          position: relative;
        }
      }

      .gform_heading {
        & + .partial_entry_warning {
          display: none;
        }
      }

      #registerformBloc {
        & {
          width: 100%;
        }
        .gpasc-auto-load-notice,
        #gform_130 > .gform_validation_error,
        #gform_220 > .gform_validation_error,
        #gform_237 > .gform_validation_error,
        #gform_239 > .gform_validation_error {
          display: none !important;
        }

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        textarea:-webkit-autofill,
        textarea:-webkit-autofill:hover,
        textarea:-webkit-autofill:focus,
        select:-webkit-autofill,
        select:-webkit-autofill:hover,
        select:-webkit-autofill:focus {
          /* To remove the background color, you can set a transparent box-shadow */
          -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;

          /* You might also want to adjust the text color for better readability */
          /* -webkit-text-fill-color: #000000 !important; */

          /* For Safari specifically, you might need background-clip */
          background-clip: text;
        }

        .required {
          text-align: center;
        }

        .formHeader {
          & {
            padding: 4rem 5vw 5rem;
            border-bottom-right-radius: 70% 15rem;
            background: var(--color-gray-f5);
            width: 100%;
            position: relative;
            top: -10px;
            margin: 0 !important;
          }

          & > h1 {
            & {
              color: var(--color-red);
              font-weight: 100;
              text-align: center;
              max-width: 800px;
              margin: auto;
            }

            span {
              display: block;
              color: var(--color-black);
              font-family: "Montserrat";
              font-size: 2rem;
              font-weight: 700;
            }

            & + p {
              max-width: 800px;
              margin: 1rem auto 0;
              text-align: center;
            }
          }
        }

        .gfield_validation_message {
          padding: 0 !important;
          border: none !important;
          background: transparent !important;
        }

        #gf_page_steps_220,
        #gf_page_steps_130,
        #gf_page_steps_237,
        #gf_page_steps_239 {
          position: fixed;
          left: 1rem;
          top: 50%;
          display: flex;
          flex-direction: column;
          border: none;
          background: #eee;
          padding: 1rem;
          border-radius: 10px;
          transform: translateY(-50%);
          z-index: 99;
          box-shadow: 2px 3px 9px #00000030;
          display: none;
        }

        #gform_confirmation_wrapper_130,
        #gform_confirmation_wrapper_220,
        #gform_confirmation_wrapper_237,
        #gform_confirmation_wrapper_239 {
          & {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
          }

          .pageHeader {
            & {
              padding: 4rem 5vw 5rem;
              border-bottom-right-radius: 70% 15rem;
              background: var(--color-gray-f5);
              width: 100%;
              position: relative;
              top: -10px;
              margin: 0 !important;
            }

            & > h1 {
              & {
                color: var(--color-red);
                font-weight: 100;
                text-align: center;
                max-width: 800px;
                margin: auto;
              }

              span {
                display: block;
                color: var(--color-black);
                font-family: "Montserrat";
                font-size: 2rem;
                font-weight: 700;
              }

              & + p {
                max-width: 800px;
                margin: 1rem auto 0;
                text-align: center;
              }
            }
          }

          .gform_confirmation_message {
            & {
              padding: 20px 30px 20px 75px;
              box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
              background: #fff url("../images/svg/check.svg") 25px 20px
                no-repeat;
              order: 99;
              max-width: 600px;

              &#gform_confirmation_message_130,
              &#gform_confirmation_message_237 {
                margin-top: 3rem;
              }
            }

            a {
              color: var(--color-red);
              font-weight: 600;
              text-decoration: underline;
            }
          }
        }

        #gform_220,
        #gform_130,
        #gform_237,
        #gform_239 {
          .gform_fields {
            & > div,
            & > fieldset {
              &:not(.formHeader) {
                max-width: 600px;
                margin: 0 auto 0.5rem;
                width: 100%;

                @container (max-width: 500px) {
                  & {
                    /* padding-left: 1.5rem; */
                    /* padding-right: 0.5rem; */
                    flex-direction: column;
                    gap: 2rem;

                    &:is(.confirmBox) {
                      padding-left: 5rem !important;
                    }

                    &:is(#produitsSpecifique) {
                      padding: 0;

                      .productSpecBloc {
                        /* padding-top: 0.5rem; */
                        & {
                          gap: 1rem;
                          /* padding-left: 0rem; */
                          /* padding-right: 1rem; */
                        }

                        #productCatList,
                        #zoneDexportADate,
                        #zoneDexport {
                          padding-left: 0 !important;
                          padding-right: 0 !important;
                        }
                      }
                    }

                    #field_130_67,
                    #field_237_67 {
                      width: 100%;
                    }

                    .gfield--width-quarter {
                      width: 100%;
                      max-width: 100%;
                    }
                  }
                }
              }

              @container (max-width: 500px) {
                &:is(.formHeader) {
                  margin: 0rem -5% 0rem !important;
                  width: auto !important;
                  border-bottom-right-radius: 70% 5rem;
                  padding-left: 2rem;
                  padding-right: 2rem;
                  min-width: 100%;
                  padding-bottom: 2rem;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  justify-content: center;
                  max-width: 100vw;
                  padding-top: 1rem;

                  h1 {
                    padding: 0 1rem;
                  }
                }
              }

              &#field_130_39,
              &#field_237_39 {
                legend {
                  display: none;
                }
              }

              &#field_220_2,
              &#field_239_2 {
                & {
                  display: flex;
                  flex-wrap: wrap;
                  flex-direction: row;
                }

                legend {
                  flex: 1;
                }

                & > .ginput_container {
                  & {
                  }
                  .gchoice {
                    margin-bottom: 0;
                  }
                }
              }
            }
          }
          .gform_footer,
          .required {
            & {
              max-width: 600px;
              margin: 1.5rem auto;
              width: 100%;
              padding: 0;
            }

            .gform_next_button + .gform_ajax_spinner {
              margin-left: 1rem;
            }

            .gform_save_link {
              opacity: 0;
              pointer-events: none;
              visibility: hidden;
              height: 0px;
              width: 0px;
              clip: rect(0px, 0px, 0px, 0px);
              padding: 0;
              margin: 0 !important;
              border: none;
              position: absolute;
            }
          }

          @container (max-width: 500px) {
            &#gform_130,
            &#gform_237 {
              .gform_fields {
              }
            }
          }
        }

        /* .gform_page_fields { */
        .gform_fields {
          & {
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
            display: flex;
            flex-direction: column;
          }

          & > div,
          & > fieldset {
            &.gfield--type-section {
              & {
                border: none;
              }
              h3.gsection_title {
                font-size: 30px !important;
                font-family: "Delicious Handrawn";
                margin: 1rem 0 2.5rem;
                font-weight: 100 !important;
                text-transform: none;
                border: none;
                padding: 0;
                margin: 0;

                @container (max-width: 767px) {
                  & {
                    text-align: center;
                    line-height: 1.15;
                  }
                }
              }
            }

            &:not(.formHeader) {
              max-width: 600px;
              margin: 0 auto;
              width: 100%;
            }

            .gfield_checkbox {
              .gchoice {
                label {
                  &::before {
                    top: 5px;
                  }
                  &::after {
                    top: 1px;
                    /* left: 4px; */
                  }
                }
              }
            }

            &.cpCityWrapper {
              display: flex;
              gap: 1rem;

              &:has(.gfield--width-quarter[style*="display: none"]) {
                display: none;
              }

              .gfield--width-quarter {
                max-width: calc(600px * 0.3);
                margin: 0;
                flex: 1;
              }
              .gfield--width-three-quarter {
                margin: 0;
                flex: 1;
              }
            }

            &.gfield--width-quarter {
              max-width: calc(600px * 0.25);
              margin: 0;
            }
            &.gfield--width-three-quarter {
              max-width: calc(600px * 0.75);
              margin: 0;
            }

            &.confirmBox {
              & {
                padding: 20px 30px 20px 75px;
                box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
                background: #fff url("../images/svg/check.svg") 25px 20px
                  no-repeat;
              }

              a {
                color: var(--color-red);
                font-weight: 600;
                text-decoration: underline;
              }

              #ficheName {
                font-weight: 600;
                color: var(--color-light-red);
              }
            }

            &#field_130_11,
            &#field_237_11 {
              .ginput_container {
                & {
                  position: relative;
                  flex-wrap: wrap;
                }

                #input_130_11,
                #input_237_11 {
                  padding-right: 150px !important;
                }
                #siret-search-button {
                  position: absolute;
                  right: 0px;
                  height: 44px;
                  top: 0px;

                  &::after {
                    content: "";
                    display: block;
                    width: 0;
                    height: 0;
                    border-top: 1px solid #fff;
                    border-right: 1px solid #fff;
                    border-radius: 50%;
                    margin-left: 0;
                    opacity: 0;
                    visibility: hidden;
                    transition: all ease-in-out 0.3s;
                  }

                  &.is-loading::after {
                    width: 20px;
                    height: 20px;
                    opacity: 1;
                    visibility: visible;
                    margin-left: 0.5rem;
                    animation: rotateAnimation 1s ease infinite;
                  }
                }
                .gfield_validation_message {
                  width: 100%;
                  flex: 0 0 100%;
                  border: none;
                  background: transparent;
                  padding: 0 0 0 1rem;
                }
              }
            }

            &#gform_130_validation_container:has(> h2:not(:empty)),
            &#gform_220_validation_container:has(> h2:not(:empty)),
            &#gform_237_validation_container:has(> h2:not(:empty)),
            &#gform_239_validation_container:has(> h2:not(:empty)) {
              & {
                width: auto;
                margin: auto;
                display: flex;
                align-items: flex-start;
                grid-column: 1/-1;
              }
              h2 {
                display: block;
                font-family: "Montserrat";

                span.gform-icon {
                  align-items: flex-start;
                  padding-top: 10px;
                }
              }
              @container (max-width: 767px) {
                & {
                  border-radius: 0 !important;
                  border-left: 0;
                  border-right: 0;

                  h2 {
                    padding-left: 1rem;

                    span.gform-icon {
                      left: 0.25rem;
                    }
                  }
                }
              }
            }

            &#field_130_29,
            &#field_130_30,
            &#field_130_66,
            &#field_130_38,
            &#field_130_107,
            &#field_237_29,
            &#field_237_30,
            &#field_237_66,
            &#field_237_38,
            &#field_237_107 {
              display: none !important;
            }

            .password_input_container {
              input {
                width: 100%;
              }
            }

            &#field_130_2,
            &#field_237_2 {
              & {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                align-items: center;
                justify-content: flex-start;
              }

              .gchoice {
                margin: 0;

                &:not(:last-child) {
                  margin-right: 2rem;
                }
              }

              & > .gfield_label {
                display: block;
              }
            }
          }

          .largeRadio {
            label {
              & {
                cursor: pointer;
                font-weight: 700;
                font-size: 1.15rem;
                width: 100%;
                @container (max-width: 500px) {
                  & {
                    max-width: 100%;
                    padding-right: 5rem;
                  }
                }
              }
              &::after {
                content: "";
                border-radius: 0;
                border-top: 1px solid #fff;
                border-right: 1px solid #fff;
                background: transparent;
                transform: translateY(-50%) rotate(45deg);
                width: 15px;
                height: 15px;
                left: calc(100% - 2.95rem);
              }
            }

            input:checked + label,
            label:hover {
              color: #fff;
              background: var(--color-light-red);
              border-color: var(--color-red);
              &::before {
                background: #fff;
              }
              &::after {
                border-color: var(--color-light-red);
              }

              &.is-loading {
                &::after {
                  border-radius: 50%;
                  left: calc(100% - 2.75rem);
                  animation: rotateAnimation 1s ease infinite;
                  top: 40%;
                }
              }
            }
          }

          #field_130_71,
          #field_130_22,
          #field_237_71,
          #field_237_22 {
            legend {
              font-size: 30px;
              font-family: "Delicious Handrawn";
              margin: 1rem 0 2.5rem;
              font-weight: 100;

              @container (max-width: 500px) {
                & {
                  width: 100%;
                  text-align: center;
                }
              }

              .gfield_required {
                display: none;
              }
            }
          }

          #field_130_22,
          #field_237_22 {
            .gfield_description {
              display: none;
            }

            .gfield_checkbox {
              & {
                height: auto !important;
              }

              .gchoice {
                label {
                  &::before {
                    top: 0;
                  }
                  &::after {
                    top: 3px;
                  }
                }
              }
            }
          }

          .validation_message {
            &:not(:empty) {
              width: 100%;
              flex: 0 0 100%;
              padding: 0 !important;
              border: none;
              background: no-repeat;
            }

            &#validation_message_220_7,
            &#validation_message_239_7 {
              display: flex;
              flex-direction: column;
              /* padding: 0 1rem !important; */
            }

            a {
              color: #c02b0a;
              text-decoration: underline;
            }
          }
        }
        /* } */

        .gform_page {
          & {
            position: relative;
          }

          &#gform_page_130_,
          &#gform_page_237_ {
            .gform_next_button {
              opacity: 0;
              pointer-events: none;
              visibility: hidden;
              height: 0px;
              width: 0px;
              clip: rect(0px, 0px, 0px, 0px);
              padding: 0;
              margin: 0 !important;
              border: none;
              position: absolute;
            }
          }
        }

        .gform_page {
          &:not(:first-child) {
            .formHeader {
              & {
                position: relative;
              }
              .stepBack {
                & {
                  position: absolute;
                  left: calc(15%);
                  top: 4rem;
                  padding-left: 2rem !important;
                  @container (max-width: 500px) {
                    & {
                      width: 100% !important;
                      left: 0;
                      top: initial;
                      /* bottom: 2rem; */
                      transform: none;
                      position: relative !important;
                      margin: 0.5rem auto 1rem !important;
                      order: -1;

                      &::before {
                        position: relative !important;
                        left: -2px !important;
                        top: 2px !important;
                      }
                    }
                  }
                }

                &:before {
                  content: "";
                  width: 10px;
                  height: 10px;
                  border-top: 2px solid var(--color-black);
                  border-left: 2px solid var(--color-black);
                  position: absolute;
                  left: 1.15rem;
                  top: 45%;
                  transform: rotate(-45deg) translateY(-50%);
                }

                &:hover {
                  &::before {
                    border-color: #fff;
                  }
                }
              }
            }
          }
          .gform_page_footer {
            .gform_previous_button,
            #gform_page_130_1 &,
            #gform_page_237_1 & {
              opacity: 0;
              pointer-events: none;
              visibility: hidden;
              height: 0px;
              width: 0px;
              clip: rect(0px, 0px, 0px, 0px);
              padding: 0;
              margin: 0 !important;
              border: none;
              position: absolute;

              & + input[type="submit"],
              & + .gform_next_button {
                margin-left: 0;
                white-space: normal;
                min-height: 45px;
                height: auto;
              }
            }

            input[type="button"] {
              font-family: "Montserrat" !important;
              font-size: 1rem !important;

              @container (max-width: 500px) {
                & {
                  width: 100%;
                }
              }
            }
          }
        }

        #gform_page_130_8,
        #gform_page_237_8 {
          .gform_validation_errors {
            max-width: 1168px;
          }

          .gform_page_footer {
            #gform_submit_button_130,
            #gform_submit_button_237 {
              margin: 0 auto;
              display: block;
            }
          }

          .entrepriseDetailsWrapper {
            & {
              max-width: 1168px !important;
              width: 95% !important;
              display: flex;
              flex-wrap: wrap;
              justify-content: center;
              gap: 2rem;
              border: 1px solid var(--color-gray);
              padding: 2rem 1.5rem;
              position: relative;
              transition: all ease-in-out 0.3s;
            }

            &.closed {
              overflow: hidden;
              max-height: 75px;
              padding-top: 1.5rem;
              /* padding-left: 0 !important; */
              /* padding-right: 0.5rem !important; */
              /* display: block; */

              h3:first-of-type {
                & {
                  margin-bottom: 0;
                }
                &::before {
                  transform: rotate(135deg);
                  top: 5px;
                }
              }
            }

            #field_130_105,
            #field_237_105 {
              width: 100%;
            }

            h3:first-of-type {
              & {
                position: relative;
                cursor: pointer;

                @container (max-width: 500px) {
                  & {
                    font-size: 1rem !important;
                    padding-right: 50px;
                  }
                }
              }
              &::after {
                content: "";
                position: absolute;
                display: block;
                width: 40px;
                height: 40px;
                background: var(--color-gray-f5);
                border-radius: 50%;
                top: -5px;
                right: 0;
              }
              &::before {
                content: "";
                position: absolute;
                display: block;
                width: 15px;
                height: 15px;
                border-top: 3px solid #999;
                border-right: 3px solid #999;
                transform: rotate(-45deg);
                right: 12px;
                top: 11px;
                z-index: 1;
                transition: all ease-in-out 0.3s;
              }
            }

            &#entreprisePresentationWrapper {
              h3 {
                /* display: none; */
                font-family: "Delicious Handrawn";
                font-size: 30px !important;
                font-weight: 100 !important;
                text-align: center;
                flex: 0 0 100%;
                width: 100%;

                span {
                  color: var(--color-light-red);
                }
              }
            }

            @container (max-width: 767px) {
              &#entreprisePresentationWrapper {
                h3 {
                  display: block;
                  width: 100%;
                }
              }
            }

            .entrepriseSubDetailsWrapper {
              & {
                display: flex;
                flex-direction: column;
                width: 35%;
                gap: 1rem;
              }

              @container (max-width: 500px) {
                & {
                  width: 100%;
                }
              }

              #field_130_37,
              #field_237_37 {
                & {
                  background: transparent;
                  border: 1px solid var(--color-gray);
                  position: relative;
                  padding: 1.5rem 1rem;
                  border-radius: 10px;
                }
                &::before {
                  content: "Choisir un fichier";
                  position: absolute;
                  top: 1rem;
                  right: 1rem;
                  background: var(--color-red);
                  color: #fff;
                  padding: 0.5rem 1rem;
                  border-radius: 30px;
                  font-size: 1rem;
                  cursor: pointer;
                  transition: all ease 0.3s;
                }
                #input_130_37,
                #input_237_37 {
                  width: 160px;
                  height: 41px;
                  position: absolute;
                  top: 1rem;
                  right: 1rem;
                  opacity: 0;
                  cursor: pointer;
                }
                #gfield_description_130_37,
                #gfield_description_237_37 {
                  margin-top: 1rem;
                  color: #999;
                }

                &:has(#input_130_37:hover),
                &:has(#input_237_37:hover) {
                  &::before {
                    background: #fff;
                    color: var(--color-black);
                    border: 1px solid var(--color-black);
                  }
                }

                @container (max-width: 767px) {
                  & {
                    &::before {
                      width: calc(100% - 2rem);
                      top: 4rem;
                      text-align: center;
                    }
                    & > .gfield_label {
                      text-align: center;
                      display: block;
                    }
                    #input_130_37,
                    #input_237_37 {
                      position: relative;
                      /* opacity: 1; */
                      width: 100%;
                      top: 0;
                      left: 0;
                      margin-bottom: 1rem;
                    }
                    #gfield_upload_rules_130_37,
                    #gfield_description_130_37,
                    #gfield_upload_rules_237_37,
                    #gfield_description_237_37 {
                      margin: 0;
                      line-height: 1.5;
                      text-align: center;
                    }
                  }
                }
              }
            }

            & > .gfield--type-html {
              flex: 0 0 100%;
              text-align: center;
              h3 {
                font-family: "Delicious Handrawn";
                font-size: 30px !important;
                font-weight: 100 !important;

                span {
                  color: var(--color-light-red);
                }
              }
            }
          }

          #field_130_68,
          #field_237_68 {
            flex: 1;
            align-self: stretch;
            height: 100%;
          }

          #field_130_67,
          #field_237_67 {
            max-width: 769px;
            width: 95%;
          }

          #input_130_59,
          #input_237_59 {
            background: #fff url(../images/svg/webpicto.svg) 10px 50% no-repeat;
            padding-left: 3rem !important;
          }
          #input_130_41,
          #input_237_41 {
            background: #fff url(../images/svg/facebookpicto.svg) 18px 50%
              no-repeat;
            padding-left: 3rem !important;
          }
          #input_130_45,
          #input_237_45 {
            background: #fff url(../images/svg/instapicto.svg) 14px 50%
              no-repeat;
            padding-left: 3rem !important;
          }
          #input_130_42,
          #input_237_42 {
            background: #fff url(../images/svg/xpicto.svg) 15px 50% no-repeat;
            padding-left: 3rem !important;
          }
          #input_130_12,
          #input_237_12 {
            background: #fff url(../images/svg/linkedinpicto.svg) 16px 50%
              no-repeat;
            padding-left: 3rem !important;
          }
        }

        .gform_page_footer,
        .required {
          & {
            max-width: 600px;
            margin: 1.5rem auto;
            width: 100%;
            padding: 0;

            @container (max-width: 500px) {
              & {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
              }
            }
          }

          .gform_next_button + .gform_ajax_spinner {
            margin-left: 1rem;
          }

          .gform_save_link {
            opacity: 0;
            pointer-events: none;
            visibility: hidden;
            height: 0px;
            width: 0px;
            clip: rect(0px, 0px, 0px, 0px);
            padding: 0;
            margin: 0 !important;
            border: none;
            position: absolute;
          }
        }

        #produitsSpecifique {
          max-width: 100% !important;

          .productSpecBloc {
            margin: 0rem auto 2rem;

            & > div {
              padding: 1rem 2.5rem;

              p,
              h5 {
                font-weight: 600;
              }
            }
            .zoneDexport {
              padding-top: 2rem;
              display: flex;
              gap: 30px;

              & > div {
                flex: 0 0 calc(50% - 13px);
              }

              p {
                padding-left: 1.5rem;
              }
            }
          }

          #zoneDexportADate {
            & {
              margin-top: 0.5rem;
            }
            div {
              div.categorie-de-produit {
                & > ul > li:first-child {
                  margin-top: 0.5rem !important;
                }
              }
            }
          }

          #productCatList,
          #zoneDexportADate,
          #zoneDexport {
            div.categorie-de-produit {
              & > ul {
                /* column-count: 1 !important; */
              }
            }
          }

          .productSpecBloc {
            & {
              max-width: 1168px;
              width: 95%;
              display: flex;
              flex-wrap: wrap;
              justify-content: center;
              gap: 2rem;
              border: 1px solid var(--color-gray);
              padding: 2rem 1.5rem;
              position: relative;
              flex-direction: column;
              transition: all ease-in-out 0.3s;
            }
            .zoneDexport {
              padding: 1.5rem 1rem !important;
              /* flex-direction: column; */
              width: 100%;

              @container (max-width: 767px) {
                & {
                  padding-left: 0.5rem !important;
                  padding-right: 0.5rem !important;
                }
              }

              & > div {
              }

              #field_130_65,
              #field_237_65 {
                margin-top: 1rem;
                legend {
                  display: none;
                }

                #input_130_65,
                #input_237_65 {
                  flex-direction: column;

                  & .gchoice {
                    & {
                      margin: 0 0 5px;
                    }
                    & input {
                      & + label {
                        &::before {
                          width: 20px;
                          height: 20px;
                          top: 4px;
                          /* margin-right: 0.75rem; */
                          flex: 0 0 20px;
                        }
                        &::after {
                          top: 7px;
                          left: 3px;
                          width: 14px;
                          height: 14px;
                          transform: scale(0);
                        }
                      }

                      &:checked + label {
                        &::after {
                          transform: scale(1);
                        }
                      }
                    }
                  }
                }
              }
            }
            h4 {
              font-family: "Delicious Handrawn";
              font-size: 30px !important;
              font-weight: 100 !important;
              text-align: center;
              line-height: 28px;

              span {
                color: var(--color-light-red);
              }
            }

            &.closed {
              & {
                overflow: hidden;
                max-height: 75px;
                padding-top: 1.5rem;
                /* display: block; */
                /* padding-right: 0.5rem !important; */
              }

              h4:first-of-type {
                & {
                  padding-top: 0 !important;
                  padding-bottom: 0 !important;
                }
                &::before {
                  transform: rotate(135deg);
                  top: 5px;
                }
              }
            }

            h4:first-of-type {
              & {
                position: relative;
                width: 100%;
                cursor: pointer;
                transition: all ease-in-out 0.3s;

                @container (max-width: 500px) {
                  & {
                    padding-right: 50px !important;
                  }
                }
              }
              &::after {
                content: "";
                position: absolute;
                display: block;
                width: 40px;
                height: 40px;
                background: var(--color-gray-f5);
                border-radius: 50%;
                top: -5px;
                right: 0;
              }
              &::before {
                content: "";
                position: absolute;
                display: block;
                width: 15px;
                height: 15px;
                border-top: 3px solid #999;
                border-right: 3px solid #999;
                transform: rotate(-45deg);
                right: 12px;
                top: 11px;
                z-index: 1;
                transition: all ease-in-out 0.3s;
              }
            }
          }

          #productCatList {
            padding: 2rem 1rem 1rem !important;
            width: 100%;
          }

          #productCatList,
          #zoneDexportADate,
          #zoneDexport {
            & > div {
              overflow: hidden;
              max-height: 500px;
              padding-bottom: 2rem !important;
            }
            div.categorie-de-produit {
              position: relative;
              top: -40px;

              & > ul {
                margin-top: 3rem;
                column-count: 2;

                & > li {
                  margin: 1rem 0 !important;
                }
                li {
                  position: relative;
                  margin: 1rem 0 0;
                  padding-left: 2rem;
                  break-inside: avoid-column;
                  page-break-inside: avoid;
                  display: flex;
                  flex-direction: column;
                  a {
                    color: #000;
                  }

                  &::after {
                    content: "";
                    display: block;
                    width: 12px;
                    height: 7px;
                    border-left: 2px solid #b00925;
                    border-bottom: 2px solid #b00925;
                    transform: rotate(-35deg);
                    position: absolute;
                    top: 7px;
                    left: 4px;
                    opacity: 0;
                    transition: all ease 0.3s;
                  }

                  &::before {
                    content: "";
                    border: 1px solid #000;
                    border-radius: 5px;
                    width: 21px;
                    height: 21px;
                    position: absolute;
                    top: 1px;
                    left: 0;
                  }
                  ul {
                    padding-left: 1rem;
                  }

                  &.checked {
                    a {
                      color: #b00925;
                    }
                    &::after {
                      opacity: 1;
                    }
                    &::before {
                      border-color: #b00925;
                    }
                  }
                }
                li:has(ul.children) {
                  padding-left: 0;

                  & > a {
                    pointer-events: none;
                    font-weight: 600;
                  }

                  &::before,
                  &:after {
                    display: none;
                  }
                }
              }
            }
          }

          #zoneDexportADate,
          #zoneDexport {
            div.categorie-de-produit {
              & > ul {
                column-count: 1;
                padding-right: 2rem;
              }
            }
          }

          #gform_fields_130 #zoneDexportADate,
          #gform_fields_237 #zoneDexportADate,
          #zoneDexportADate {
            div.categorie-de-produit {
              display: none;

              & > ul > li:first-child {
                border-bottom: 2px solid;
                padding-bottom: 0.5rem;
                margin-top: -0.5rem !important;
              }
            }
          }

          #zoneDexportADate {
            .categorie-de-produit {
              & > ul {
                margin-top: 4rem !important;
              }
            }
          }
        }
      }
    }
  }
}

.gfield.is-loading .ginput_container {
  position: relative;
}
.gfield .siret-loading {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.8;
}

@keyframes rotateAnimation {
  from {
    transform: rotate(0deg); /* Starting rotation */
  }
  to {
    transform: rotate(360deg); /* Ending rotation (full circle) */
  }
}

.ginput_container_siret {
  display: flex;
  align-items: center;
}

.ginput_container_siret input[type="text"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

#siret-search-button {
  /* border-top-left-radius: 0; */
  /* border-bottom-left-radius: 0; */
  padding: 1rem 1.5rem;
  background-color: #a61833;
  color: white;
  border: 1px solid #a61833;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  height: 48px; /* Match input height */
}
