@import url("./auth/connexion.css");
@import url("./cart/cart.css");
@import url("./cart/configuration.css");

button#place_order {
  background-color: #a8d15f !important;
}

.product-quantity div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
}

.product-quantity div button {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
}

@media screen and (max-width: 767px) {
  .expe_tableau thead {
    display: none;
  }

  .expe_tableau tr {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    border: 2px solid;
    border-bottom: 1px solid;
  }

  .expe_tableau tr:last-of-type {
    border-bottom: 2px solid;
  }
}

.woocommerce-cart-form {
  position: relative !important;
}

.detail_prod {
  color: #4c4441;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding-top: 20px;
}

.elementor-widget-woocommerce-purchase-summary .woocommerce .shop_table {
  padding: 0 !important;
  border: 3px solid #e6e6e6 !important;
}

.elementor-widget-woocommerce-purchase-summary .woocommerce .shop_table th {
  padding: 10px !important;
}

.elementor-widget-woocommerce-purchase-summary .woocommerce .shop_table td {
  padding: 20px 10px !important;
}
.shipping ul {
  font-size: 14px;
}
.elementor-menu-cart__container {
  display: none !important;
}

.woocommerce-cart table.cart img {
  width: 150px !important;
  margin: 30px 0;
}

.woocommerce-cart-form thead {
  background-color: #e2e2e2;
}

.woocommerce-cart-form thead th {
  border-bottom: 0;
  border-color: #dddddd;
}

.woocommerce-cart-form .product-remove {
  background-color: #fff;
}

.woocommerce table.shop_table {
  border: 3px solid #dddddd;
  border-radius: 0px;
}

thead .product-name {
  border-width: 0 1px 0 1px;
  border-color: #e5e5e5;
}

.woocommerce-cart-form tbody .product-name {
  padding: 29px !important;
}

.woocommerce-cart-form tbody .product-name a {
  font-size: 21px;
  font-weight: 400;
  color: #4c4441;
  text-transform: uppercase;
}

.detail-cart {
  text-align: center;
  color: #4c4441;
  font-size: 16px;
  font-weight: 400;
}

.bouton-cont {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: end;
  padding-bottom: 26px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: unset;
  background-color: #a8d15f !important;
  border-radius: 4px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #92b94f !important;
  border-radius: 4px;
  color: white !important;
}

.woocommerce-additional-fields {
  padding-top: 60px;
}

.shipping_address {
  margin-top: 70px;
}

.woocommerce-form__label span {
  font-size: 18px;
  font-weight: 300;
}

.part {
  padding: 3px;
}

.part .required {
  color: red;
  font-weight: 700;
  border: 0 !important;
  text-decoration: none;
}

.woocommerce-billing-fields input[type="text"],
.woocommerce-billing-fields input[type="email"],
.woocommerce-billing-fields input[type="tel"],
.woocommerce-billing-fields textarea,
.woocommerce-shipping-fields input[type="text"],
.woocommerce-shipping-fields input[type="email"],
.woocommerce-shipping-fields input[type="tel"],
textarea,
.woocommerce-account-fields input[type="password"],
.woocommerce-account-fields input[type="text"] {
  background-color: #f7f7f7;
  color: #707070;
  border-color: #e5e5e5;
  border-radius: 4px;
}

/* Cachez la checkbox par défaut */
.woocommerce-form__input-checkbox {
  display: none;
}

.centre {
  display: flex;
  align-items: center;
  justify-content: center;
}

.titre-form-check {
  font-weight: 500;
  font-size: 24px !important;
}

.check {
  display: flex;
  margin-top: 12px;
}

.product-thumbnail {
  display: table-cell !important;
}

@media screen and (max-width: 1024px) {
  .product-subtotal::before {
    content: "Sous-total:";
  }

  .product-thumbnail {
    display: block !important;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    background-color: #a8d15f !important;
    border-radius: 4px;
  }

  .product-subtotal {
    display: flex;
    justify-content: space-between;
  }

  .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background-color: white;
  }
  .woocommerce table.shop_table_responsive thead,
  .woocommerce-page table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    text-align: right;
  }

  .woocommerce table.shop_table_responsive tr .product-name,
  .woocommerce-page table.shop_table_responsive tr .product-name {
    border: none;
  }

  .woocommerce table.shop_table_responsive tr .product-subtotal,
  .woocommerce-page table.shop_table_responsive tr .product-subtotal {
    display: flex;
    justify-content: space-between;
  }

  .product-name::before {
    display: none;
  }

  .woocommerce-cart-form__cart-item .product-thumbnail::before {
    display: none;
  }

  .woocommerce-cart-form__cart-item .product-thumbnail {
    border-bottom: none;
  }

  .woocommerce-cart table.cart img {
    margin: 0;
  }

  .product-quantity div {
    justify-content: end;
  }

  .product-price div {
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .woocommerce-cart-form .remove {
    position: absolute;
    top: 30px;
    right: 20px;
  }

  .check {
    margin-top: 10px;
  }

  .check .centre {
    align-items: flex-start;
  }
}

#payment {
  background-color: white !important;
  border-radius: 0px !important;
  border: 4px solid #dddddd;
}

.review-check-cont {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.price del {
  opacity: 1 !important;
}
