/* ═══════════════════════════════════════════════════════════════════════
   PAGES CLIENT — LES JEANNINE
   Connexion + Inscription + Mot de passe oublié
   Glassmorphism sur image accueilloader1.png
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   1. BACKGROUND — sur les 3 pages
   ═══════════════════════════════════════════════════════════════════════ */
body:has(#login-form),
body:has(#customer-form),
body:has(.forgotten-password) {
  background-image: url('/img/cms/accueilloader1.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body:has(#login-form)::before,
body:has(#customer-form)::before,
body:has(.forgotten-password)::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,10,15,.05) 0%, rgba(212,30,139,.04) 50%, rgba(5,10,15,.08) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. LAYOUT — centrage carte (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
body:has(#login-form) #wrapper,
body:has(#customer-form) #wrapper,
body:has(.forgotten-password) #wrapper {
  background: transparent !important;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

body:has(#login-form) .breadcrumb,
body:has(#customer-form) .breadcrumb,
body:has(.forgotten-password) .breadcrumb {
  display: none;
}

body:has(#login-form) .container,
body:has(#customer-form) .container,
body:has(.forgotten-password) .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

body:has(#login-form) .row,
body:has(#customer-form) .row,
body:has(.forgotten-password) .row {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
  width: 100% !important;
}

body:has(#login-form) #content-wrapper,
body:has(#customer-form) #content-wrapper,
body:has(.forgotten-password) #content-wrapper {
  max-width: 580px !important;
  width: 100% !important;
  flex: 0 1 580px !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. CARTE GLASS — #main (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
body:has(#login-form) #main,
body:has(#customer-form) #main,
body:has(.forgotten-password) #main {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 20px;
  box-shadow: 0px 20px 60px 0px rgba(0, 0, 0, 0.14);
  padding: 48px 48px 48px 48px;
  backdrop-filter: blur(20px) saturate(110%);
  -webkit-backdrop-filter: blur(20px) saturate(110%);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  overflow: hidden;
  position: relative;
  margin: 0 auto !important;
  width: 100% !important;
}

body:has(#login-form) #main #content,
body:has(#customer-form) #main #content,
body:has(.forgotten-password) #main #content,
body:has(#login-form) #main #content.card,
body:has(#customer-form) #main #content.card,
body:has(.forgotten-password) #main #content.card,
body:has(#login-form) #main #content.card-block,
body:has(#customer-form) #main #content.card-block,
body:has(.forgotten-password) #main #content.card-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. TITRE H1 (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
body:has(#login-form) .page-header,
body:has(#customer-form) .page-header,
body:has(.forgotten-password) .page-header {
  border: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: center;
}
body:has(#login-form) .page-header h1,
body:has(#customer-form) .page-header h1,
body:has(.forgotten-password) .page-header h1 {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  color: #050A0F;
  margin: 0;
  letter-spacing: -0.3px;
  text-transform: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. FORM RESET BOOTSTRAP + ESPACEMENT (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
#login-form,
#customer-form,
.forgotten-password { margin: 0; }

#login-form .form-group,
#login-form .form-group.row,
#customer-form .form-group,
#customer-form .form-group.row,
.forgotten-password .form-group,
.forgotten-password .form-group.row {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  position: relative !important;
}

#login-form .js-input-column,
#customer-form .js-input-column,
.forgotten-password .js-input-column,
#login-form .col-md-6,
#customer-form .col-md-6,
.forgotten-password .col-md-6,
#login-form .col-md-5,
#customer-form .col-md-5,
.forgotten-password .col-md-5,
#login-form .col-md-3,
#customer-form .col-md-3,
.forgotten-password .col-md-3 {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

#login-form .form-control-comment,
#customer-form .form-control-comment,
.forgotten-password .form-control-comment {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. LABEL = FAUX PLACEHOLDER (inputs texte uniquement)
   On désactive cette technique pour les form-group qui contiennent
   des radios, checkboxes ou un label vide.
   ═══════════════════════════════════════════════════════════════════════ */
#login-form .form-control-label,
#customer-form .form-control-label,
.forgotten-password .form-control-label {
  position: absolute !important;
  top: 50% !important;
  left: 22px !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 70px) !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: nowrap !important;
  border: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: rgba(5, 10, 15, .45) !important;
  opacity: 1;
  transition: opacity .2s ease;
  background: transparent !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#login-form .form-control-label::after,
#customer-form .form-control-label::after,
.forgotten-password .form-control-label::after,
#login-form .form-control-label.required::after,
#customer-form .form-control-label.required::after,
.forgotten-password .form-control-label.required::after,
#login-form .form-control-label::before,
#customer-form .form-control-label::before,
.forgotten-password .form-control-label::before {
  display: none !important;
  content: none !important;
}

/* Cache le label au focus / quand l'input est valide */
#login-form .form-group:focus-within .form-control-label,
#customer-form .form-group:focus-within .form-control-label,
.forgotten-password .form-group:focus-within .form-control-label {
  opacity: 0;
}
#login-form .form-group:has(.form-control:valid) .form-control-label,
#customer-form .form-group:has(.form-control:valid) .form-control-label,
.forgotten-password .form-group:has(.form-control:valid) .form-control-label {
  opacity: 0;
}

/* === EXCEPTIONS : radios + checkboxes === */
/* Pour radios/checkboxes, le label de grille devient un vrai titre au-dessus */
#customer-form .form-group:has(.custom-radio) .form-control-label,
#customer-form .form-group:has(.custom-checkbox) .form-control-label {
  position: static !important;
  transform: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 10px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #050A0F !important;
  opacity: 1 !important;
}

/* Si le label de grille est vide (cas des checkboxes RGPD), on le cache */
#customer-form .form-group:has(.custom-checkbox) .form-control-label:empty {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. INPUTS (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
#login-form .form-control,
#customer-form .form-control,
.forgotten-password .form-control {
  width: 100% !important;
  height: 56px !important;
  padding: 0 22px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 15px !important;
  color: #050A0F !important;
  outline: none !important;
  transition: all .25s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
  margin: 0 !important;
}
#login-form .form-control::placeholder,
#customer-form .form-control::placeholder,
.forgotten-password .form-control::placeholder {
  color: rgba(5, 10, 15, .4);
  font-style: italic;
}
#login-form .form-control:hover,
#customer-form .form-control:hover,
.forgotten-password .form-control:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}
#login-form .form-control:focus,
#customer-form .form-control:focus,
.forgotten-password .form-control:focus {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: #d41e8b !important;
  box-shadow: 0 0 0 4px rgba(212, 30, 139, 0.12) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   8. INPUT GROUP (password + œil) — connexion + inscription
   ═══════════════════════════════════════════════════════════════════════ */
#login-form .input-group,
#customer-form .input-group {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
}
#login-form .input-group .form-control,
#customer-form .input-group .form-control {
  padding-right: 60px !important;
}
#login-form .input-group-btn,
#customer-form .input-group-btn {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  width: auto !important;
}
#login-form [data-action="show-password"],
#customer-form [data-action="show-password"] {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  transition: background-color .2s ease;
}
#login-form [data-action="show-password"]::before,
#customer-form [data-action="show-password"]::before {
  content: '' !important;
  display: block !important;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/><circle cx='12' cy='12' r='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .55;
  transition: opacity .2s ease;
}
#login-form [data-action="show-password"]:hover,
#customer-form [data-action="show-password"]:hover {
  background: rgba(212, 30, 139, .08) !important;
}
#login-form [data-action="show-password"]:hover::before,
#customer-form [data-action="show-password"]:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. BOUTON SUBMIT (3 pages)
   ═══════════════════════════════════════════════════════════════════════ */
#submit-login,
#customer-form [type="submit"],
.forgotten-password [type="submit"] {
  display: block !important;
  width: 100% !important;
  height: 60px !important;
  padding: 0 24px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all .3s cubic-bezier(.34,1.2,.64,1) !important;
  text-transform: none !important;
  box-shadow: 0 6px 20px rgba(5, 10, 15, .15) !important;
  margin: 8px 0 0 !important;
  float: none !important;
}
#submit-login:hover,
#customer-form [type="submit"]:hover,
.forgotten-password [type="submit"]:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 30, 139, .35) !important;
}
#submit-login:active,
#customer-form [type="submit"]:active,
.forgotten-password [type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(212, 30, 139, .25) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   ────────────────────  CONNEXION SPÉCIFIQUE  ────────────────────
   ═══════════════════════════════════════════════════════════════════════ */

/* === MOT DE PASSE OUBLIÉ (lien sous le password) === */
#authentication .forgot-password {
  margin: 6px 0 28px;
  padding: 0;
  text-align: center;
}
#authentication .forgot-password a {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .65);
  text-decoration: none;
  font-style: italic;
  transition: color .2s ease;
}
#authentication .forgot-password a:hover {
  color: #d41e8b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === SÉPARATEUR + LIEN INSCRIPTION (page connexion) === */
body:has(#login-form) #main hr {
  margin: 26px 0 18px;
  border: none;
  border-top: 1px solid rgba(5, 10, 15, .08);
}
body:has(#login-form) .no-account {
  text-align: center;
  margin: 0;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .7);
}
body:has(#login-form) .no-account a {
  color: #d41e8b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  font-size: 0;
  transition: color .2s ease;
}
body:has(#login-form) .no-account a::before {
  content: 'Vous n\2019 avez pas de compte ? ';
  font-size: 14px;
  color: rgba(5, 10, 15, .7);
  font-weight: 400;
  text-decoration: none;
}
body:has(#login-form) .no-account a::after {
  content: 'S\2019 inscrire';
  font-size: 14px;
  color: #d41e8b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body:has(#login-form) .no-account a:hover::after {
  color: #b01872;
}

body:has(#login-form) .page-footer { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   ────────────────  INSCRIPTION SPÉCIFIQUE  ────────────────
   ═══════════════════════════════════════════════════════════════════════ */

/* === Lien "Vous avez déjà un compte ?" en haut === */
.register-form > p {
  text-align: center;
  margin: 0 0 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .7);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.register-form > p a {
  color: #d41e8b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.register-form > p a:hover {
  color: #b01872;
}

/* === Radios M./Mme (titre) === */
#customer-form .form-control-valign {
  display: flex !important;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
#customer-form .radio-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 15px;
  color: #050A0F;
  cursor: pointer;
}
#customer-form .custom-radio {
  display: inline-block !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  border: 2px solid rgba(5, 10, 15, .35);
  position: relative;
  vertical-align: middle;
  transition: border-color .2s ease;
}
#customer-form .custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
#customer-form .custom-radio > span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d41e8b;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .2s ease;
}
#customer-form .custom-radio input[type="radio"]:checked ~ span {
  transform: translate(-50%, -50%) scale(1);
}
#customer-form .radio-inline:has(input[type="radio"]:checked) .custom-radio {
  border-color: #d41e8b;
}

/* === Checkboxes (optin, newsletter, RGPD, privacy) === */
#customer-form .custom-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
#customer-form .custom-checkbox > label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(5, 10, 15, .85);
  cursor: pointer;
  width: 100%;
}
#customer-form .custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 1px 0 0 0;
  border: 2px solid rgba(5, 10, 15, .35);
  border-radius: 6px;
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
}
#customer-form .custom-checkbox input[type="checkbox"]:hover {
  border-color: #d41e8b;
}
#customer-form .custom-checkbox input[type="checkbox"]:checked {
  background: #d41e8b;
  border-color: #d41e8b;
}
#customer-form .custom-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
#customer-form .custom-checkbox > label > span {
  display: none !important; /* on cache l'ancien wrapper d'icône PrestaShop */
}
#customer-form .custom-checkbox em {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-style: italic;
  color: rgba(5, 10, 15, .55);
  line-height: 1.4;
}

/* === Champ Birthday (placeholder JJ/MM/AAAA déjà dans le HTML) === */
#customer-form #field-birthday::placeholder {
  color: rgba(5, 10, 15, .4);
  font-style: italic;
}

/* === Password strength feedback === */
#customer-form .password-strength-feedback {
  margin-top: 8px !important;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .4);
}
#customer-form .password-strength-feedback .progress {
  height: 6px;
  background: rgba(5, 10, 15, .08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
#customer-form .password-strength-feedback .progress-bar {
  background: #d41e8b;
  transition: width .3s ease;
}
#customer-form .password-strength-text {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  color: #d41e8b;
  margin-bottom: 6px;
}
#customer-form .password-requirements {
  margin: 0;
}
#customer-form .password-requirements p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  font-size: 12px;
  color: rgba(5, 10, 15, .65);
  font-style: italic;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
}
#customer-form .password-requirements .material-icons {
  font-size: 16px;
  color: rgba(5, 10, 15, .35);
}

/* === Footer du form (bouton Enregistrer) === */
#customer-form .form-footer {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: center;
  display: block;
  width: 100%;
}
#customer-form .form-footer::after {
  content: '';
  display: block;
  clear: both;
}

/* ═══════════════════════════════════════════════════════════════════════
   ──────────────  MOT DE PASSE OUBLIÉ SPÉCIFIQUE  ──────────────
   ═══════════════════════════════════════════════════════════════════════ */

/* === Header explicatif === */
.forgotten-password > header {
  margin: 0 0 24px;
  text-align: center;
}
.forgotten-password .send-renew-password-link {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(5, 10, 15, .7);
  margin: 0;
  font-style: italic;
}

/* === Alertes erreur === */
.forgotten-password .ps-alert-error {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.forgotten-password .ps-alert-error:empty {
  display: none;
}
.forgotten-password .ps-alert-error li {
  padding: 12px 16px;
  background: rgba(231, 76, 60, .12);
  border: 1px solid rgba(231, 76, 60, .3);
  border-radius: 10px;
  color: #c0392b;
  font-size: 14px;
  margin-bottom: 8px;
}

/* === Form fields wrapper === */
.forgotten-password .form-fields {
  margin: 0;
}

/* === Form group : on déstructure le layout flex Bootstrap === */
.forgotten-password .form-group.center-email-fields {
  display: block !important;
  margin: 0 !important;
  text-align: left;
}
.forgotten-password .form-group .email {
  margin-bottom: 18px;
}
.forgotten-password .form-group label {
  /* Le label "Adresse e-mail" devient un faux placeholder dans l'input */
  position: absolute !important;
  top: 28px !important; /* aligné dans l'input email (28px = mi-hauteur input 56px) */
  left: 22px !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  z-index: 2;
  pointer-events: none;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: rgba(5, 10, 15, .45) !important;
  opacity: 1;
  transition: opacity .2s ease;
}
.forgotten-password .form-group label::after {
  display: none !important;
}
.forgotten-password .form-group:focus-within label,
.forgotten-password .form-group:has(.form-control:valid) label {
  opacity: 0;
}

/* === Page footer (lien retour à la connexion) === */
body:has(.forgotten-password) .page-footer {
  display: block !important;
  margin-top: 22px;
  padding: 0;
  text-align: center;
}
#back-to-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .65);
  text-decoration: none;
  font-style: italic;
  transition: color .2s ease;
}
#back-to-login:hover {
  color: #d41e8b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#back-to-login::before {
  content: '←';
  font-size: 18px;
  font-style: normal;
  display: inline-block;
  transition: transform .2s ease;
}
#back-to-login:hover::before {
  transform: translateX(-3px);
}
#back-to-login .material-icons {
  display: none; /* on remplace par notre flèche CSS */
}

/* ═══════════════════════════════════════════════════════════════════════
   10. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  body:has(#login-form) #wrapper,
  body:has(#customer-form) #wrapper,
  body:has(.forgotten-password) #wrapper {
    padding: 40px 16px;
  }
  body:has(#login-form) #main,
  body:has(#customer-form) #main,
  body:has(.forgotten-password) #main {
    padding: 32px 24px !important;
    border-radius: 18px !important;
  }
  body:has(#login-form) .page-header h1,
  body:has(#customer-form) .page-header h1,
  body:has(.forgotten-password) .page-header h1 {
    font-size: 26px;
  }
  #login-form .form-control,
  #customer-form .form-control,
  .forgotten-password .form-control {
    height: 52px !important;
    font-size: 14px !important;
  }
  #submit-login,
  #customer-form [type="submit"],
  .forgotten-password [type="submit"] {
    height: 56px !important;
    font-size: 15px !important;
  }
  #customer-form .form-control-valign { gap: 16px; }
}