/* whishlist */

.wishlist-products-container-header .sort-by-row {
  display: none !important;
}

button#b2b_data {
  border-radius: 25px;
}

body#module-b2bregistration-b2b .pageContent #content-wrapper #content {
  display: flex;
}

/* account page information*/
/* .form-group.row:has(input[name="optin"]) {
  display: none !important;
} */

/* Delete address form */
.form-group.row:has(input[name="vat_number"]) {
  display: none;
}

/* Cacher le bloc Social title / gender sur la page identité */
#customer-form .form-group.row:has(input[name="id_gender"]) {
  display: none !important;
}

/* Masquer la colonne "Shipping cost" sur desktop */
.box table.table thead tr th:nth-child(4),
.box table.table tbody tr td:nth-child(4) {
  display: none !important;
}

/* Masquer la colonne "Shipping cost" sur desktop */
.box table#order-products thead tr th:nth-child(4),
.box table#order-products tbody tr td:nth-child(4) {
  display: revert !important;
}

/* Masquer la ligne "Shipping cost" sur mobile */
.box .shipping-lines .shipping-line ul li:nth-child(4) {
  display: none !important;
}

/* Masquer le formulaire "Add a message" sur la page détail commande */
body#order-detail form[action*="controller=order-detail"],
.page-order-detail form[action*="controller=order-detail"] {
  display: none !important;
}

/* Masquer le bouton "voir détails" (icône œil) */
a[data-link-action="view-order-details"] {
  display: none !important;
}

#identity .custom-checkbox a {
  color: #b78162;
}

/* order history page */
#order-history {
  display: none !important;
}

.row.addresses {
  margin: 1rem auto;
}

.box {
  margin: 1rem auto;
}

@media (min-width: 1024px) {
  .box {
    margin: unset;
  }
}

#order-detail .col-12.col-lg-9 .order-infos a,
#order-detail .col-12.col-lg-9 .box a {
  color: rgb(0, 0, 238);
}
#order-detail .col-12.col-lg-9 #order-products a {
  color: #333;
}

#order-infos ~ .box:has(> p + a) > p {
  margin-right: 5px;
  margin-bottom: 0;
}

#order-infos ~ .box:has(> p + a) {
  display: flex;
  flex-wrap: wrap;
}
