/* ON ENLEVE LA NOTICE CAR CODE CUSTOM POUR LES QUANTITES GLUTEN/SANS GLUTEN  */
.module_box_produit .bundle_error .woocommerce-info {
  display: none !important;
}

/* EDIT SPECIAL  !! */
/* EDIT SPECIAL  !! */
/* EDIT SPECIAL  !! */
/* EDIT SPECIAL  !! */
@media screen and (min-width: 981px) {
  .bundled_product .bundled_product_images:after {
    right: -45px;
    height: 26px;
    width: 100px;
  }
}

.bundled_product .bundled_product_images {
  position: relative;
}

.section_produit_woo .bundled_product:first-child .bundled_product_images:after {
  /* .section_produit_woo .bundled_product:nth-child(2) .bundled_product_images:after, */
  /* .section_produit_woo .bundled_product:nth-child(3) .bundled_product_images:after { */
  content: "";
  position: absolute;
  bottom: 0;
  right: -55px;
  height: 26px;
  width: 100px;
  background: url(/wp-content/uploads/2023/12/bloop-edition-special-black.svg);
  background-size: contain !important;
  background-repeat: no-repeat !important;
  transform-origin: top center;
  transform: rotate(17deg);
}
.section_produit_woo_bundle .bundled_product:first-child .bundled_product_images:after {
  background: none !important;
}
@media screen and (max-width: 980px) {
  .section_produit_woo .bundled_product:first-child .bundled_product_images:after {
    /* .section_produit_woo .bundled_product:nth-child(2) .bundled_product_images:after, */
    /* .section_produit_woo .bundled_product:nth-child(3) .bundled_product_images:after { */
    right: -15px;
  }
}

/* FIN EDIT SPECIAL  !! */
/* FIN EDIT SPECIAL  !! */
/* FIN EDIT SPECIAL  !! */
/* FIN EDIT SPECIAL  !! */

.woo-store-vacation__btn {
  display: none !important;
}

.orderby,
.woocommerce div.product form.cart .variations td select {
  padding: 12px 8px !important;
  background-color: white !important;
}
.variations th label {
  position: relative;
}
.variations th label::after {
  content: " : ";
}

.section_panier_woo .woocommerce-shipping-total {
  display: none !important;
}

.section_produit_woo .bundled_product_images {
  pointer-events: none !important;
}
#module_text_alert_reduction {
  display: none;
}
#alert_reduction {
  position: relative;
  transform-origin: left center;
  transform: translateX(50px) rotate(355deg);
}
#alert_reduction:after {
  content: "";
  position: absolute;
  height: 30px;
  width: 30px;
  top: 0;
  left: -35px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(/wp-content/uploads/2024/02/arrow-alert-promo.svg);
}

#module_code_recap_shop_updated {
  padding: 10px;
  /* border: 1px solid var(--main-dark); */
  border: 1px solid #666666;
  border-radius: var(--radius);
}
.woocommerce-checkout #main-content .cart-subtotal td {
  border-top: unset !important;
}

/* .section_produit_woo .bundle_price .price span{
      position: relative !important;
      display: inline-block !important;
  }
  .section_produit_woo .bundle_price .price span::after{
      content: attr(alter-promo-content);
      display: block;
      position: absolute;
      right: -50px;
      top: 20px;
  } */

/* edit  2024 notice  */
.wc-block-components-notice-banner.is-info {
  background-color: var(--main-light) !important;
  border-color: var(--main-dark) !important;
}

.wc-block-components-notice-banner.is-info > svg {
  background-color: var(--main-dark) !important;
}

.woocommerce-notices-wrapper {
  background: var(--main-light) !important;
}

.woocommerce-error {
  background: var(--main-dark) !important;
}

.woocommerce-info {
  display: block;
  width: 90%;
  max-width: 1500px !important;
  margin: 0 auto 20px auto !important;
}

.section_produit_woo {
  overflow-x: hidden !important;
}

.wc-proceed-to-checkout .checkout-button {
  border-width: 2px !important;
  border: 2px solid var(--main-dark) !important;
}

@media screen and (min-width: 981px) {
  .section_produit_woo .et_pb_wc_add_to_cart .quantity {
    position: relative;
  }

  .section_produit_woo .et_pb_wc_add_to_cart .quantity::after {
    position: absolute;
    content: "";
    top: 3px;
    right: 2px;
    background: url(/wp-content/uploads/2023/11/bloop-input-shop.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 30px;
    width: 16px;
    pointer-events: none;
  }
}

/* panier  */

#module_produits_carousel_panier .wpcu-carousel-nav {
  padding-right: 50px !important;
}

.bundle_table_item .product-thumbnail img {
  transform: scale(2.5);
}

.bundled-product-name a {
  font-size: 14px !important;
}

.section_panier_woo .woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty {
  padding: 3px !important;
}

.section_panier_woo .woocommerce .quantity input.qty {
  min-width: 80px !important;
}

.section_panier_woo .woocommerce .quantity input.qty,
.section_panier_woo .woocommerce-page .quantity input.qty,
.section_panier_woo .woocommerce #content .quantity input.qty,
.section_panier_woo .woocommerce-page #content .quantity input.qty,
.section_panier_woo .woocommerce-cart table.cart td.actions .coupon .input-text,
.section_panier_woo .woocommerce form .form-row input.input-text,
.section_panier_woo .woocommerce form .form-row textarea,
.section_panier_woo .et_pb_wc_cart_totals .select2-container--default .select2-selection--single,
.section_panier_woo .et_pb_wc_checkout_billing .select2-container--default .select2-selection--single,
.section_panier_woo .et_pb_wc_checkout_shipping .select2-container--default .select2-selection--single {
  background-color: rgb(187 125 125 / 10%);
  color: var(--main-dark);
}

.row_panier_woo a {
  color: var(--brun-dark) !important;
}

.section_panier_woo .edit_bundle_in_cart_text {
  font-size: 14px !important;
  text-decoration: underline !important;
}

.section_panier_woo .woocommerce a.remove {
  color: var(--main-dark) !important;
}

.section_panier_woo .woocommerce a.remove:hover {
  color: var(--main-light) !important;
  background: var(--main-dark) !important;
}

.section_panier_woo .product-thumbnail {
  width: 65px !important;
}

.woocommerce ul.products li.product a img {
  margin: 0 !important;
}

.woocommerce-loop-product__title {
  margin-top: 15px !important;
}

#module_shop_all_cookies .onsale,
#module_shop_suggestions .onsale,
#module_shop_boxes .onsale {
  background: var(--main-dark) !important;
}

#module_shop_all_cookies .woocommerce-result-count,
#module_shop_all_cookies .woocommerce-ordering,
#module_shop_suggestions .woocommerce-result-count,
#module_shop_suggestions .woocommerce-ordering,
#module_shop_boxes .woocommerce-result-count,
#module_shop_boxes .woocommerce-ordering {
  display: none !important;
}

.dgwt-wcas-search-wrapp {
  display: flex;
  justify-content: flex-end;
  max-width: unset !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  max-width: 350px !important;
  background: var(--brun-light) !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  font-family: "Questrial" !important;
  background-color: var(--brun-light) !important;
  font-size: 16px !important;
  border: 1px solid var(--brun-dark);
  color: var(--brun-dark) !important;
}

.dgwt-wcas-search-form {
  display: flex;
  justify-content: flex-end;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--brun-dark) !important;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: rgba(0, 0, 0, 0.04);
}

.woocommerce nav.woocommerce-pagination {
  text-align: right;
  /* padding-top: 50px; */
}

.dgwt-wcas-style-pirx.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  border: none !important;
}

.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return path,
.dgwt-wcas-style-pirx .dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) path,
.dgwt-wcas-style-pirx .dgwt-wcas-voice-search svg path,
.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path {
  fill: var(--brun-dark);
}

.form-ajouter-au-panier-shop-page {
  display: flex;
  justify-content: center;
}

#module_shop_boxes .form-ajouter-au-panier-shop-page {
  display: none !important;
}

.form-ajouter-au-panier-shop-page input[type="number"] {
  background: none !important;
  background-color: none !important;
  padding: 0 !important;
  width: 50px !important;
  text-align: center !important;
  border-width: unset !important;
  border: none !important;
  color: var(--brun-dark);
}

.module_img_box img {
  animation: none !important;
  -webkit-animation: none !important;
}

.section_produit_woo .item_title {
  font-size: 16px !important;
  font-family: "Kumbh Sans" !important;
  color: var(--main-dark) !important;
  /* font-weight: 400 !important; */
}

.section_produit_woo .bundled_product_title {
  margin: 20px 0 0 0 !important;
}

/* .section_produit_woo .bundled_product_images:hover img  */

.section_produit_woo .products {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  gap: 0 1.5%;
  margin-bottom: -50px !important;
}
.section_produit_woo_bundle .products {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 0 1.5%;
  margin-bottom: -50px !important;
}

/* bundle tshirt t-shirt 4 cookies  */
.section_produit_woo_bundle .products li:first-child {
  grid-column: span 5; /* Le premier élément prend toute la largeur */
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1200px;
  margin: auto !important;
  margin-bottom: 50px !important;
  padding-bottom: 50px !important;
  border-bottom: 1px solid var(--main-dark) !important;
}
.section_produit_woo_bundle .products li:first-child .item_title {
  font-size: 30px !important;
  margin-top: 50px;
}
.section_produit_woo_bundle .products li:first-child .bundled_product_title {
  text-align: left !important;
}

.section_produit_woo_bundle .products li:first-child .attribute_options {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.section_produit_woo_bundle .products li:first-child table.variations td {
  text-align: left !important;
}

.section_produit_woo .product {
  width: 100% !important;
}

.section_produit_woo .woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
  content: unset !important;
  display: none !important;
}

.section_produit_woo .et_pb_wc_add_to_cart .quantity input.qty {
  background: none !important;
  background-color: none !important;
  padding: 2px !important;
  padding-left: 0px !important;
  text-align: center !important;
  border-width: 1px !important;
  border: none !important;
  border-bottom: 1px solid var(--main-dark) !important;
  border-right: 1px solid var(--main-dark) !important;
  color: var(--main-dark);
  /* margin-left: 25px; */
  margin-left: 0;
  max-width: 50px !important;
}

.section_produit_woo .woocommerce ul.products li.product {
  margin: unset !important;
}

.section_produit_woo .bundle_data {
  margin-top: 100px;
}

.section_produit_woo .bundle_button {
  padding-top: 50px;
  /* border-top: 1px solid var(--main-dark); */
  margin-bottom: 50px !important;
}

.section_produit_woo .bundle_button {
  position: relative;
}

.section_produit_woo .bundle_button::after {
  content: "";
  background: url(/wp-content/uploads/2023/11/bloop-nbre-de-box-3.svg);
  width: 140px;
  height: 60px;
  position: absolute;
  left: 35px;
  bottom: -50px;
  background-repeat: no-repeat;
  display: none !important;
}

.section_produit_woo .bundled_product_permalink {
  width: 100% !important;
}
.section_produit_woo .bundled_product_summary .bundled_product_title a.bundled_product_permalink:before {
  content: "En savoir plus" !important;
  font-size: 14px;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--noir);
  font-family: "Kumbh Sans";
  font-weight: 400;
  left: 0;
  width: 100%;
  position: static !important;
  display: block;
  margin-top: 15px;
  transition: var(--transition);
}
.section_produit_woo_bundle .products li:first-child a.bundled_product_permalink:before {
  content: "" !important;
}
.section_produit_woo .bundled_product_summary .bundled_product_title a.bundled_product_permalink:hover::before {
  opacity: 0.5;
}

.section_produit_woo .bundled_product_images .zoom {
  pointer-events: none !important;
}

.section_produit_woo .bundled_product_summary .bundled_product_title .bundled_product_title_link {
  margin-left: 0 !important;
}

.section_produit_woo .bundled_product_title .item_qty {
  display: none !important;
}

.module_box_produit .bundled_item_cart_details {
  margin-bottom: 10px !important;
}

.module_box_produit .bundled_item_cart_details .price .bundled_item_price_quantity,
.module_box_produit .bundled_item_cart_details .price small,
.module_box_produit .bundle_price .price-discount,
.module_box_produit .bundle_price .price-subtotal {
  display: none !important;
}

.module_box_produit .bundle_price .price {
  color: var(--main-dark) !important;
}

.section_panier_woo .cart_totals h2 {
  display: none !important;
}

.woocommerce table.shop_table {
  border-radius: 0 !important;
}

.woocommerce table.shop_table > * {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.woocommerce table.shop_table {
  border: none !important;
}

.woocommerce table.shop_table th {
  padding: 0.857em 0.587em !important;
}

.woocommerce table.shop_table tr .product-price {
  display: none !important;
}

.woocommerce table .actions {
  border-top: 2px solid var(--main-dark) !important;
}

.woocommerce .cart th,
#main-content table.cart th {
  color: var(--main-dark) !important;
}

.cart_totals a,
.coupon button {
  padding: 22px 30px !important;
  line-height: 1em !important;
}

.woocommerce-additional-fields h3 {
  margin-top: 50px !important;
}

.wc-proceed-to-checkout .checkout-button {
  border-bottom-width: 5px !important;
}

.cart_totals a:hover,
.coupon button:hover {
  transform: scale(0.95) !important;
}

.cart .bundled_table_item_indent {
  position: relative;
  padding-left: 25px;
}

table.cart td,
#main-content table.cart td {
  padding: 6px 20px !important;
}

.coupon {
  margin-top: 20px;
}

.title_step_woo_page_box {
  font-size: 55px;
  color: var(--main-dark);
  font-weight: 400 !important;
}

.section_produit_woo .woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before {
  display: none !important;
  content: unset !important;
}

.module_box_produit .woocommerce-info {
  width: 100% !important;
}

.section_produit_woo .woocommerce-info .msg {
  padding: 0 !important;
}

@media screen and (min-width: 981px) {
  .section_produit_woo .bundled_product:hover img {
    -webkit-animation: shake 1s;
    animation: shake 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
  }
  .section_produit_woo_bundle .bundled_product:hover img {
    -webkit-animation: none !important;
    animation: none !important;
  }

  .cart .bundled_table_item_indent::before {
    content: "-";
    position: absolute;
    top: 0;
    left: 8px;
    color: var(--main-dark);
  }
}

@media (max-width: 980px) {
  .woocommerce-page ul.products li.product:nth-child(n) {
    width: 100% !important;
    margin-top: 15px !important;
  }

  .section_produit_woo .products,
  .section_produit_woo_bundle .products {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section_produit_woo .et_pb_wc_add_to_cart .quantity input.qty {
    min-width: 50px;
  }

  .coupon .button {
    font-size: 14px !important;
    padding: 5px !important;
    line-height: 1em !important;
  }

  table.cart td,
  #main-content table.cart td {
    padding: 5px 20px !important;
  }

  table.cart tr,
  #main-content table.cart tr,
  #content-area table tr {
    padding-bottom: 30px !important;
  }

  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) {
    background-color: rgba(0, 0, 0, 0.025) !important;
  }

  .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background-color: unset !important;
  }
  .section_produit_woo_bundle .products li:first-child {
    grid-column: span 3;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .section_produit_woo .item_title,
  .section_produit_woo_bundle .item_title {
    font-size: 22px !important;
    font-family: "DM SERIF DISPLAY" !important;
  }

  .bundle_wrap .bundle_button button[type="submit"] {
    margin-top: 20px !important;
  }

  .bundle_wrap .bundle_button input[type="number"] {
    margin: 0px !important;
    margin-left: 5px !important;
  }

  .woocommerce ul.products li.product a img {
    width: 75%;
    margin: auto !important;
  }

  .module_box_produit .products {
    grid-template-columns: 1fr !important;
  }

  .section_produit_woo .bundled_product_summary .bundled_product_title a.bundled_product_permalink:before {
    font-size: 18px !important;
    margin-top: 25px !important;
    margin-bottom: 5px !important;
  }
  .section_produit_woo_bundle .products li:first-child {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price,
  .woocommerce ul.products li.product .price del,
  .woocommerce-page ul.products li.product .price del {
    font-size: 16px !important;
  }

  .module_box_produit ul.products li.product:nth-child(n) {
    margin-top: 0 !important;
    margin: 0 0 25px 0 !important;
    padding-bottom: 25px !important;
  }

  .section_produit_woo .woocommerce-info .msg {
    font-size: 16px !important;
  }

  .woocommerce-page ul.products li.product .details {
    position: relative;
  }

  .woocommerce-page ul.products li.product .bundled_product_title {
    margin-top: 10px !important;
    line-height: 1;
  }

  .section_produit_woo .bundled_product_title {
    margin: 0 !important;
  }
}

#module_image_cookie_produit {
  pointer-events: none !important;
}

@keyframes shake {
  0% {
    -webkit-transform: translate(1px, 1px) rotate(0deg);
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    -webkit-transform: translate(-1px, -1px) rotate(-1deg);
    transform: translate(-1px, -1px) rotate(-1deg);
  }

  20% {
    -webkit-transform: translate(-2px) rotate(1deg);
    transform: translate(-2px) rotate(1deg);
  }

  30% {
    -webkit-transform: translate(2px, 2px) rotate(0deg);
    transform: translate(2px, 2px) rotate(0deg);
  }

  40% {
    -webkit-transform: translate(1px, -1px) rotate(1deg);
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    -webkit-transform: translate(-1px, 1px) rotate(-1deg);
    transform: translate(-1px, 1px) rotate(-1deg);
  }

  60% {
    -webkit-transform: translate(-2px, -1px) rotate(0deg);
    transform: translate(-2px, -1px) rotate(0deg);
  }

  70% {
    -webkit-transform: translate(2px, -1px) rotate(-1deg);
    transform: translate(2px, -1px) rotate(-1deg);
  }

  80% {
    -webkit-transform: translate(-1px, -1px) rotate(1deg);
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    -webkit-transform: translate(1px, 1px) rotate(0deg);
    transform: translate(1px, 1px) rotate(0deg);
  }

  to {
    -webkit-transform: translate(1px, -1px) rotate(-1deg);
    transform: translate(1px, -1px) rotate(-1deg);
  }
}

/* 

////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
////////////////////////////////////////////////
//////////////////////////////////////////////// */

/* Par défaut (desktop) : on ne voit PAS les boutons +/- */
.bundled_item_after_cart_details .quantity button.qty-btn {
  display: none !important;
}

/* Mobile uniquement : on les affiche et on les met en forme */
@media (max-width: 768px) {
  .bundled_item_after_cart_details .quantity {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .bundled_item_after_cart_details .quantity .qty {
    width: 64px;
    text-align: center;
    height: 44px;
  }

  .bundled_item_after_cart_details .quantity button.qty-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--main-dark);
    color: var(--main-dark);
    background: rgba(0, 0, 0, 0);
    border-radius: 10px;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .bundled_item_after_cart_details .quantity button.qty-btn:active {
    transform: scale(0.98);
  }

  .qty-minus {
    margin-right: 20px;
  }
  .qty-plus {
    margin-left: 20px;
  }
}

.woocommerce-page .section_produit_woo .bundled_item_button {
  padding-left: 20px;
}
