/* Checkout Xerxes */

.woocommerce-checkout .form-row label {
  font-weight: 600;
}

.woocommerce-checkout input::placeholder {
  opacity: 0.75;
}


/* Code de retrait */

.xerxes-code-retrait {
  margin: 25px 0;
  padding: 22px;
  border: 1px solid #d8c7b7;
  border-radius: 8px;
  background: #fffaf6;
  text-align: center;
}

.xerxes-code-retrait-label {
  margin: 0 0 8px;
  font-weight: 600;
}

.xerxes-code-retrait-sous-label {
  margin: 18px 0 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.xerxes-code-retrait-code {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.woocommerce-order-received
.xerxes-code-retrait
.xerxes-code-retrait-alias {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
}

.xerxes-code-retrait-info {
  margin: 16px 0 0;
  font-size: 0.95rem;
}


/* Champ e-mail verrouillé pour les clients connectés */

body.woocommerce-checkout .xerxes-readonly-field input[readonly],
body.woocommerce-checkout #billing_email[readonly] {
  background-color: #f7f3ef !important;
  color: #5a3a2a !important;
  cursor: not-allowed;
  opacity: 0.9;
}


/* Bons de fidélité dans la validation de commande */

body.woocommerce-checkout .xerxes-cart-loyalty-coupons {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
}

body.woocommerce-checkout .xerxes-cart-loyalty-list {
  gap: 5px;
}

body.woocommerce-checkout .xerxes-cart-loyalty-option {
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: none;
}

body.woocommerce-checkout .xerxes-cart-loyalty-option:hover {
  background: none;
  color: #6d422e;
}

body.woocommerce-checkout
.xerxes-cart-loyalty-option
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #3a2318 !important;
}

body.woocommerce-checkout
.xerxes-cart-loyalty-option
input[type="checkbox"]:checked {
  accent-color: #3a2318 !important;
}