/* RMV Theme 5.0.44 — finition connexion, adresses et confirmation de commande. */
body#authentication .rmv-auth-page .form-control:focus,
body#registration .rmv-auth-page .form-control:focus,
body#password .rmv-auth-page .form-control:focus {
  border-color: var(--rmv-red, #8f1f2a) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(143,31,42,.13) !important;
}
.rmv-auth-page .input-group:focus-within {
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(143,31,42,.13) !important;
}
.rmv-auth-page .input-group:focus-within .form-control { box-shadow: none !important; }

/* Le script PrestaShop ajoute la classe .focus sur le groupe du mot de passe. */
body#authentication .rmv-auth-page .input-group.js-parent-focus.focus,
body#authentication .rmv-auth-page .input-group.js-parent-focus:focus-within,
body#registration .rmv-auth-page .input-group.js-parent-focus.focus,
body#registration .rmv-auth-page .input-group.js-parent-focus:focus-within {
  overflow: hidden;
  border: 1px solid var(--rmv-red, #8f1f2a) !important;
  border-radius: 8px !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(143,31,42,.14) !important;
}
body#authentication .rmv-auth-page .input-group.js-parent-focus.focus .form-control,
body#authentication .rmv-auth-page .input-group.js-parent-focus:focus-within .form-control,
body#registration .rmv-auth-page .input-group.js-parent-focus.focus .form-control,
body#registration .rmv-auth-page .input-group.js-parent-focus:focus-within .form-control {
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body#authentication .rmv-auth-page .input-group.js-parent-focus.focus [data-action="show-password"],
body#authentication .rmv-auth-page .input-group.js-parent-focus:focus-within [data-action="show-password"],
body#registration .rmv-auth-page .input-group.js-parent-focus.focus [data-action="show-password"],
body#registration .rmv-auth-page .input-group.js-parent-focus:focus-within [data-action="show-password"] {
  border-color: transparent !important;
}

body#checkout .address-item {
  border: 1px solid var(--rmv-border, #ead7bd) !important;
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
body#checkout .address-item.selected {
  background: linear-gradient(180deg, #fffdfa 0%, #fbf4e9 100%) !important;
  border-color: var(--rmv-red, #8f1f2a) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(143,31,42,.12), 0 8px 18px rgba(46,37,25,.08) !important;
}
body#checkout .address-item .custom-radio input[type="radio"]:checked + span {
  background: var(--rmv-red, #8f1f2a) !important;
  border-color: var(--rmv-red, #8f1f2a) !important;
  box-shadow: inset 0 0 0 4px #fff;
}
body#checkout .address-item a:hover,
body#checkout .address-item a:focus { color: var(--rmv-green, #0f6b4f) !important; }

body#order-confirmation #wrapper { background: var(--rmv-cream, #f7efe4); }
body#order-confirmation #content-wrapper { width: 100%; }
body#order-confirmation #content-hook_order_confirmation,
body#order-confirmation .page-order-confirmation,
body#order-confirmation #content-hook_payment_return,
body#order-confirmation #content-hook-order-confirmation-footer > * {
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid rgba(143,31,42,.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(46,37,25,.05);
}
body#order-confirmation #content-hook_order_confirmation .card-block,
body#order-confirmation .page-order-confirmation .card-block,
body#order-confirmation #content-hook_payment_return .card-block { padding: 22px 24px; }
body#order-confirmation .card-title,
body#order-confirmation #order-items > .row .card-title {
  margin: 0 0 12px;
  color: var(--rmv-text, #111827);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: none !important;
}
body#order-confirmation #content-hook_order_confirmation .card-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 24px;
}
body#order-confirmation #content-hook_order_confirmation {
  background: linear-gradient(135deg, #f4fbf6 0%, #fffdfa 72%);
  border-color: #cfe5d6;
  border-left: 6px solid var(--rmv-green, #0f6b4f);
}
body#order-confirmation #content-hook_order_confirmation .card-block { padding: 20px 24px; }
body#order-confirmation #content-hook_order_confirmation p {
  margin: 2px 0 0 42px;
  color: #4b5563;
  font-size: 16px;
}
body#order-confirmation #content-hook_order_confirmation .done {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--rmv-green, #0f6b4f);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
}
body#order-confirmation #order-items { padding-right: 0; padding-left: 0; }
body#order-confirmation #order-items > .row {
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--rmv-border, #ead7bd);
}
body#order-confirmation #order-items > .row {
  padding: 12px 16px;
  background: #fffdfa;
  border-radius: 8px 8px 0 0;
}
body#order-confirmation .order-confirmation-table .order-line {
  display: flex;
  min-height: 98px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eee6da;
}
body#order-confirmation .order-confirmation-table .order-line .image {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
}
body#order-confirmation .order-confirmation-table .order-line img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76px;
  margin: auto;
  object-fit: contain;
}
body#order-confirmation .order-confirmation-table .details {
  color: var(--rmv-text, #111827);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
body#order-confirmation .order-confirmation-table .qty { font-size: 15px; }
body#order-confirmation .order-confirmation-table > hr { display: none; }
body#order-confirmation .order-confirmation-table > table {
  width: 100%;
  margin: 12px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #eee6da;
  border-radius: 8px;
}
body#order-confirmation .order-confirmation-table > table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee6da;
}
body#order-confirmation .order-confirmation-table > table td:last-child {
  width: 180px;
  color: var(--rmv-red, #8f1f2a);
  font-weight: 700;
  text-align: right;
}
body#order-confirmation .order-confirmation-table > table tr:last-child td,
body#order-confirmation .order-confirmation-table > table .total-value td { border-bottom: 0; }
body#order-confirmation .order-confirmation-table > table .total-value td {
  background: #f8f3eb;
  font-size: 16px;
}
body#order-confirmation .text-uppercase { text-transform: none !important; }
body#order-confirmation #order-details {
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
  margin-top: 14px;
  padding: 16px 18px;
  background: #fffdfa;
  border: 1px solid #eee1cf;
  border-left: 4px solid var(--rmv-red, #8f1f2a);
  border-radius: 8px;
}
body#order-confirmation #order-details .card-title { color: var(--rmv-red, #8f1f2a); }
body#order-confirmation #order-details ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body#order-confirmation #order-details li { margin: 0; line-height: 1.45; }
body#order-confirmation #content-hook_payment_return {
  position: relative;
  background: #fff;
  border-left: 4px solid var(--rmv-red, #8f1f2a);
}
body#order-confirmation #content-hook_payment_return::before {
  display: block;
  padding: 18px 22px 0;
  color: var(--rmv-red, #8f1f2a);
  content: "Paiement par virement bancaire";
  font-size: 20px;
  font-weight: 800;
}
body#order-confirmation #content-hook_payment_return p,
body#order-confirmation #content-hook_payment_return div,
body#order-confirmation #content-hook_payment_return td,
body#order-confirmation #content-hook_payment_return th { line-height: 1.5; }
body#order-confirmation #content-hook_payment_return table {
  width: 100%;
  margin: 12px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e8dfd2;
  border-radius: 8px;
}
body#order-confirmation #content-hook_payment_return td,
body#order-confirmation #content-hook_payment_return th {
  padding: 9px 12px;
  background: #fffdfa;
  border-bottom: 1px solid #eee6da;
}
body#order-confirmation #content-hook_payment_return tr:last-child td,
body#order-confirmation #content-hook_payment_return tr:last-child th { border-bottom: 0; }
body#order-confirmation #content-hook_payment_return td:first-child,
body#order-confirmation #content-hook_payment_return th:first-child {
  width: 34%;
  color: #123f2f;
  font-weight: 700;
}
body#order-confirmation #content-hook_payment_return strong {
  color: var(--rmv-green, #0f6b4f);
}
body#order-confirmation #content-hook_payment_return td:last-child {
  color: var(--rmv-text, #111827);
  font-weight: 600;
}
@media (max-width: 767px) {
  body#order-confirmation #content-hook_order_confirmation .card-block,
  body#order-confirmation .page-order-confirmation .card-block,
  body#order-confirmation #content-hook_payment_return .card-block { padding: 17px 15px; }
  body#order-confirmation #content-hook_order_confirmation .card-title { font-size: 19px; }
  body#order-confirmation #content-hook_order_confirmation p { margin-left: 0; }
  body#order-confirmation #order-items > .row ._desktop-title { display: none; }
  body#order-confirmation .order-confirmation-table .order-line {
    min-height: 0;
    align-items: flex-start;
  }
  body#order-confirmation .order-confirmation-table .qty { margin-top: 10px; }
  body#order-confirmation .order-confirmation-table > table td:last-child { width: 110px; }
  body#order-confirmation #content-hook_payment_return table,
  body#order-confirmation #content-hook_payment_return tbody,
  body#order-confirmation #content-hook_payment_return tr,
  body#order-confirmation #content-hook_payment_return td,
  body#order-confirmation #content-hook_payment_return th {
    display: block;
    width: 100% !important;
  }
  body#order-confirmation #content-hook_payment_return td:first-child,
  body#order-confirmation #content-hook_payment_return th:first-child {
    padding-bottom: 4px;
    border-bottom: 0;
  }
  body#order-confirmation #content-hook_payment_return td:last-child { padding-top: 4px; }
}
