.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons .js-form-type-checkbox,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox
{
  max-width: none !important;
  min-height: auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox input[type=checkbox]
{
    position: relative;
  width: 30px;
  display: inline-block;
  max-width: none;
  opacity: 1;
  height: 30px;
  order: 1;
  margin-right: 10px;
}

.tunnel-detecteur-chute :is(.commerce-order-item-pado-add-to-cart-form-commerce-product-1, #edit-add-ons .js-form-type-checkbox:not(.form-item-add-ons-add-ons-63),
.tunnel-detecteur-chute :is(.commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox)){
  max-width: none !important;
  min-height: auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.tunnel-detecteur-chute :is(.commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons .js-form-type-checkbox input[type=checkbox]),
.tunnel-detecteur-chute :is(.commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox input[type=checkbox]){

  position: relative;
  width: 30px;
  display: inline-block;
  max-width: none;
  opacity: 1;
  height: 30px;
  order: 1;
  margin-right: 10px;
}

.tunnel-detecteur-chute .commerce_product_canonical_variations_titer{ color: #307fe2; }
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox label:before{display:none !important;}
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox label:before{display:none !important;}

.tunnel-detecteur-chute :is(#edit-add-ons .js-form-type-checkbox label){
  text-indent: revert;
  display: inline-block;
  height: auto;
  order: 2;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}
.tunnel-detecteur-chute :is(#edit-add-ons .js-form-type-checkbox label)
{
  line-height: 1;
}
.modal-open-first,.modal-open-impot {
  overflow: hidden;
}

.modal-open-first .modal,.modal-open-impot .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

/*
.modal-open-first .popin-start .txtpupin.first-popin {
  display: flex !important;
  overflow: hidden;
}
*/

.espacemoncompte .tunnel-detecteur-chute :is(.info_checkbox),
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .info_checkbox{
  order: 3;
  margin-top: 21px;
  width: 100%;
  display:flex;
  flex-wrap:wrap;
  margin-bottom: 20px;
  align-items: center;
}
.espacemoncompte .tunnel-detecteur-chute .info_checkbox_img,
.tunnel-detecteur-chute  #edit-add-ons .js-form-type-checkbox .info_checkbox_img{
  width:33%;
  max-width: 140px;
  padding-right: 20px;
}

.espacemoncompte .tunnel-detecteur-chute .info_checkbox_img2,
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .popchek{
  border: none !important;
  padding:0;
  background-color: transparent;
  min-height: auto;
}

.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .info_checkbox_img {
  width: auto;
  max-width: 100%;
  padding-right: 0;
}

.tunnelachat_etap_1 .commerce_product_canonical_variations #edit-add-ons {
  justify-content: flex-start;
  width: 100%;
}

.tunnel-detecteur-chute :is(.commerce_product_canonical_variations #edit-add-ons .form-item) {
  margin-right: 16%;
}

.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .info_checkbox_img .popchekimg .img-addon{
  margin:0 !important;
}
.text-tunnel-detecteur-chute{
  color: #307FE2;
  font-family: "DaxlinePro";
  font-size: 25px;
  margin-bottom: 10px;
  margin-top: 40px;
}
#block-product-dynamic{
  margin-top: 30px;
}
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .tunnel-detecteur-chute-infoproduit
{
  width:33%;
  text-align: left;
  font-family: "DaxlinePro";
  flex: 1;
  margin-left: 25px;
}
.espacemoncompte .tunnel-detecteur-chute .titreons,
.tunnel-detecteur-chute #edit-add-ons .js-form-type-checkbox .titreons
{
  font-size: 20px;
  font-weight: bold;
  color: #000;
  line-height: 1;
  display: block;
  margin-bottom: 15px;
}
.espacemoncompte .tunnel-detecteur-chute .prixons,
.tunnel-detecteur-chute :is(#edit-add-ons .js-form-type-checkbox .prixons){
  font-size: 20px;
  font-weight: normal;
  color: #000;
  font-family: 'Roboto';
  display: block;
  margin-bottom: 3px;
}

.tunnel-detecteur-chute  #geolibre-form  .form-check{
  padding-left: 2.55rem;
}
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons .js-form-type-checkbox.form-item-add-ons-add-ons-2 input[type=checkbox],
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons .js-form-type-checkbox.form-item-add-ons-add-ons-3 input[type=checkbox],
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox.form-item-add-ons-add-ons-61 input[type=checkbox],
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox.form-item-add-ons-add-ons-63 input[type=checkbox],
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons .js-form-type-checkbox.form-item-add-ons-add-ons-62 input[type=checkbox]{
  width: 20px;
  height: 20px;
}
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons input[type=checkbox],
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons input[type=checkbox] {
  position: relative;
  cursor: pointer;
}
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-onsinput[type=checkbox]:before,
  .tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-onsinput[type=checkbox]:before
  {
    content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  background-color:#e9e9e9;
}
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons input[type=checkbox].checkedretirer:before,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons input[type=checkbox]:checked:before,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons input[type=checkbox].checkedretirer:before,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons input[type=checkbox]:checked:before
{
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color:#1E80EF;
}
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons input[type=checkbox].checkedretirer:after,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-1 #edit-add-ons input[type=checkbox]:checked:after,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons input[type=checkbox].checkedretirer:after,
.tunnel-detecteur-chute .commerce-order-item-pado-add-to-cart-form-commerce-product-57 #edit-add-ons input[type=checkbox]:checked:after
{
  content: "";
  display: block;
  width: 34%;
  height: 51%;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 6%;
  left: 32%;
}

.img-tunnel-detecteur-chute{
  max-width: 130px;
  display: block;
  margin: 0px auto 9px;
}
#block-product-dynamic{
  margin-top: 25px;
}
.options-tunnel{
  margin-top: 20px;
}
.options-tunnel-label{
  color : #000000;
}
.options-tunnel > .w-100{
  order:1;
}
@media (min-width: 1440px){
  .options-tunnel  {
    flex-wrap: wrap;
  }

}
.options-tunnel > div{
  order:2
}

/* Start custom tunnel css */
.txt-impot {
  font-weight: 300;
}

.tunnel-detecteur-chute .products-wrapper {
  position: relative;
  z-index: 1;
}

.tunnel-detecteur-chute .products-cards-wrapper {
  margin-bottom: 50px;
}

.tunnel-detecteur-chute .products-wrapper .intro p {
  font-size: 26px;
  margin-bottom: 0;
}

.tunnel-detecteur-chute .products-wrapper .intro a {
  display: block;
  color: #307FE2;
  font-size: 20px;
}

.tunnel-detecteur-chute .card.card-tunnel{
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.card.selected {
  background-color: rgba(9, 48, 184, 0.14);
}

.card-tunnel .card-body {
  display: flex;
  flex-direction: column;
}

.card-tunnel .description {
  flex-grow: 1;
}



.card-tunnel-title {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  padding: 7px 16px;
  background-color: rgba(0, 38, 153, 1);
  border-radius: 10px 10px 10px 0;
  font-family: 'daxlinepro';
  font-size: 20px;
  font-weight: 900;
  line-height: 20px;
  color: #fff;
}

.price-tunnel-wrapper {
  font-family: 'DaxlinePro';
  font-size: 19px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-tunnel-wrapper strong {
  font-size: 41px;
  font-weight: 900;
}

.card-tunnel .suffix-text {
  margin-bottom: 10px;
  font-family: 'DaxlinePro';
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.category {
  padding: 6px 20px;
  background-color: #61C2C8;
  box-shadow: 0px -4px 21px 0px rgba(0, 0, 0, 0.12);
  border-radius: 10px 0 10px 10px;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  margin-left: auto;
  font-family: 'DaxlinePro';
}

.links .btn {
  border-radius: 50px;
  margin: 5px 0;
}

.card-tunnel ul,
.popin-start ul,
.popin-tunnel ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 28px;
}

.card-tunnel li,
.popin-tunnel li,
.card-tunnel .description p,
.popin-tunnel .description p {
  padding-left: 22px;
  margin-bottom: 5px;
  background-image: url(/images/check-icon.svg);
  background-position: left top 8px;
  background-repeat: no-repeat;
  font-family: 'DaxlinePro';
  font-size: 18px;
  font-weight: 500;
}

.btn-tertiary {
  background-color: transparent;
  color: #002699 !important;
  border-color: #002699 !important;
}
.btn-remove {
  background-color: #FB8478 !important;
  border-color: #FB8478 !important;
  color: #fff !important;
}
.order-link,
.btn-remove {
  min-width: 150px;
}

.popin-tunnel-header {
  position: relative;
}

.popin-tunnel .popin-content .text-wysiwyg p{
  font-size: 20px;
}

.popin-tunnel .card-tunnel-title {
  font-size: 15px;
}

.popin-tunnel .category {
  position: absolute;
  top: 0;
  border-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.popin-tunnel .card-body {
  height: 100%;
  border: 1px solid #CCCCCC2B;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  position: relative;
  padding: 10px 10px 22px 10px;
  display: flex;
  flex-direction: column;
}

.popin-tunnel .price-tunnel-wrapper {
  font-size: 15px;
}

.popin-tunnel .price-tunnel-wrapper strong {
  font-size: 34px;
}

.popin-tunnel .img-wrapper .icon-inside-img,
.products-wrapper .img-wrapper .icon-inside-img {
  position: absolute;
  top: 50px;
  right: 35px;
  text-align: center;
}

.popin-tunnel .img-wrapper .icon-inside-img .txtframe,
.products-wrapper .img-wrapper .icon-inside-img .txtframe {
  font-family: 'DaxlinePro';
  font-weight: 700;
  font-size: 13px;
  color: #002699;
  margin-top: 10px;
}

.btn-svg svg {
  width: 20px;
  height: 10px;
}

.tunnel :is(.commerce-cart-block--contents__links .order-link-popin),
.tunnel :is(.commerce-cart-block--contents__links a.close-popin) {
  font-family: 'DaxlinePro-Medium';
  font-size: 19px;
  line-height: normal;
  text-transform: unset;
  min-width: auto;
  padding: 0 1rem;
}

.tunnel :is(.commerce-cart-block--contents__links .order-link-popin span),
.tunnel :is(.commerce-cart-block--contents__links a.close-popin span){
  font-size: 24px;
}

.tunnel :is(.commerce-cart-block--contents__links .order-link-popin) {
  background-color: #D13641 !important;
  border-color: #D13641 !important;
}

.popin-tunnel :is(.commerce-cart-block--contents__links a.close-popin),
.popin-start:is(.commerce-cart-block--contents__links a.close-popin)
{
  background-color: #307FE2 !important;
  border-color: #307FE2 !important;
}

.popin-tunnel .txtpupin
{
  max-height: 95%;
  height: auto;
  padding: 50px 25px 10px 25px;
  overflow: auto;
  display: none !important;
  flex-direction: column;
}

.modal-product-open .popin-tunnel .txtpupin
{
  display: flex !important;
}

.popin-start .txtpupin {
  display: none !important;
}

.modal-open-first .popin-start .txtpupin,
.modal-open-impot:is(.txtpupin){
  max-height: 85%;
  height: auto;
  padding: 50px 50px 10px 50px;
  overflow: auto;
  display: flex !important;
  flex-direction: column;
}
.popin-tunnel .txtpupin.first-popin .popin-content,
.popin-start .txtpupin.first-popin .popin-content
{
  max-height: none;
}

.popin-tunnel .txtpupin.first-popin .popin-content .main-title,
.popin-start .txtpupin.first-popin .popin-content .main-title {
  color: #0930B8;
  font-size: 22px;
  font-weight: 700;
}

.popin-tunnel .txtpupin.first-popin .actions-wrapper,
.popin-start .txtpupin.first-popin .actions-wrapper
{
  margin-top: 10px;
}
.popin-start .txtpupin.start-popin .popin-content {
    max-height: none;
}
.popin-start .txtpupin.start-popin .actions-wrapper {
    margin-top: 10px;
}

.popin-tunnel  .description {
  flex-grow: 1;
  margin-bottom: 20px;
}

.popin-tunnel .more-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.popin-tunnel .frame {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.popin-tunnel .frame .frameitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 6px;
  max-width: 90px;
}

.popin-tunnel .frame .frameitem .txtframe {
  font-family: 'DaxlinePro';
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 18px;
  align-items: center;
  color: #002699;
  padding-top: 0;
  text-align: center;
  margin-top: 10px;
}

.more-details-wrapper .btn {
  min-width: 150px;
}

.tunnel-detecteur-chute .block--teleassistance-content .checkbox-tunnel {
  width: 24px !important;
  height: 25px !important;
  margin-left: 0;
  margin-top: 0;
}

.tunnel-detecteur-chute .block--teleassistance-content .form-check label {
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.tunnel-detecteur-chute .block--teleassistance-content .form-item-add-ons-add-ons-63 {
  margin-top: 20px;
}


.tunnel-detecteur-chute .section-contact .title-h2 {
  font-size: 25px;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* S'assure que le loader est au-dessus des autres éléments */
}

.spinner {
  border: 6px solid rgba(255, 255, 255, 0.3); /* Couleur grise claire */
  border-top: 6px solid #fff; /* Couleur de la partie tournante */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Animation de rotation du loader */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media (max-width: 767.98px) {
  .card-tunnel li,
  .popin-tunnel li {
    font-size: 16px;
    background-position: left top 4px;
  }

  .links .btn {
    font-size: 12px;
  }

  .order-link, .btn-remove {
    min-width: 120px;
  }
}
@media (max-width: 991.98px) {
  .start-popin .frame {
    display: none;
  }

  .start-popin .txtpupin {
    max-width: 90%;
    padding: 30px 20px 10px 20px;
  }

  .start-popin .txtpupin.first-popin .popin-content {
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
  }

  .start-popin .card-body {
    padding-bottom: 10px;
  }

  .start-popin .popin-content .text-wysiwyg p {
    font-size: 18px;
  }

  .start-popin .more-details-wrapper {
    position: static;
  }

  .start-popin .txtpupin.first-popin .actions-wrapper {
    margin-top: 0;
  }
}
@media (max-width: 991.98px) {
  .popin-tunnel .frame {
    display: none;
  }

  .more-details-wrapper {
    justify-content: end;
  }

  .card-tunnel-title {
    font-size: 14px;
  }
  .category {
    font-size: 12px;
  }

  .popin-tunnel .txtpupin {
    max-width: 90%;
    padding: 30px 20px 10px 20px;
  }

  .popin-tunnel .txtpupin.first-popin .popin-content {
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
  }

  .popin-tunnel .card-body {
    padding-bottom: 10px;
  }

  .popin-tunnel .popin-content .text-wysiwyg p {
    font-size: 18px;
  }

  .popin-tunnel .more-details-wrapper {
    position: static;
  }

  .popin-tunnel .txtpupin.first-popin .actions-wrapper {
    margin-top: 0;
  }

  .popin-tunnel .commerce-cart-block--contents__links .order-link-popin,
  .popin-tunnel .commerce-cart-block--contents__links a.close-popin {
    font-size: 15px;
  }

  .products-cards-wrapper .mb-element {
    margin-bottom: 20px;
  }

  .products-cards-wrapper .mb-element:last-child {
    margin-bottom: 0;
  }
}


.code-promo-message {
  font-size: 18px;
  margin-top: 5px;
  min-height: 20px;
  display: block;
  font-family: "DaxlinePro-bold";
}
.error-message{
  color: #721c24;

}
.success-message{
  color: #4ad56a;
}
