/* Page connexion / inscription — preview client 2830 (desktop + mobile) */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Oswald:wght@200;300;400;500;600&display=swap');

body#authentication.customer-auth-redesign-dev {
  --beige: #fdf9f3;
  --cream: #f2e9e0;
  --dark: #232323;
  --white: #ffffff;
  --red: #a34a3c;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Oswald', sans-serif;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  min-width: 1280px;
}

body#authentication.customer-auth-redesign-dev #footer,
body#authentication.customer-auth-redesign-dev .breadcrumb,
body#authentication.customer-auth-redesign-dev .page-header,
body#authentication.customer-auth-redesign-dev #left-column,
body#authentication.customer-auth-redesign-dev #right-column {
  display: none !important;
}

body#authentication.customer-auth-redesign-dev #page {
  max-width: none !important;
  overflow-x: hidden;
}

body#authentication.customer-auth-redesign-dev #wrapper {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body#authentication.customer-auth-redesign-dev aside#notifications,
body#authentication.customer-auth-redesign-dev #notifications {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body#authentication.customer-auth-redesign-dev #header .header-banner {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body#authentication.customer-auth-redesign-dev #header .header-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body#authentication.customer-auth-redesign-dev #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body#authentication.customer-auth-redesign-dev #wrapper > .container,
body#authentication.customer-auth-redesign-dev #wrapper .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body#authentication.customer-auth-redesign-dev #wrapper .container > .row {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body#authentication.customer-auth-redesign-dev #wrapper .row > #content-wrapper,
body#authentication.customer-auth-redesign-dev #content-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  flex: 0 0 100% !important;
}

body#authentication.customer-auth-redesign-dev #content-wrapper,
body#authentication.customer-auth-redesign-dev #main,
body#authentication.customer-auth-redesign-dev #content.page-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign button,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign a {
  box-sizing: border-box;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .mode-toggle-d button {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign a:not(.forgot-d) {
  color: inherit;
  text-decoration: none;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign input:not([type='checkbox']) {
  font-family: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}

body#authentication.customer-auth-redesign-dev .split-d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body#authentication.customer-auth-redesign-dev .login-side-d {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 64px;
}

body#authentication.customer-auth-redesign-dev .login-form-d {
  width: 100%;
  max-width: 440px;
}

body#authentication.customer-auth-redesign-dev .login-head-d {
  margin-bottom: 32px;
  text-align: left;
}

body#authentication.customer-auth-redesign-dev .login-head-d .eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 16px;
}

body#authentication.customer-auth-redesign-dev .login-head-d h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

body#authentication.customer-auth-redesign-dev .login-head-d h1 em {
  font-style: italic;
}

body#authentication.customer-auth-redesign-dev .login-head-d .lede {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(35, 35, 35, 0.6);
}

body#authentication.customer-auth-redesign-dev .mode-toggle-d {
  display: flex;
  border: 1px solid rgba(35, 35, 35, 0.14);
  margin-bottom: 32px;
  background: var(--beige);
}

body#authentication.customer-auth-redesign-dev .mode-toggle-d button {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  color: var(--dark);
  transition: all 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .mode-toggle-d button.active {
  background: var(--dark);
  color: var(--cream);
  opacity: 1;
}

body#authentication.customer-auth-redesign-dev .mode-toggle-d button:not(.active):hover {
  opacity: 0.85;
}

body#authentication.customer-auth-redesign-dev .social-row-d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

body#authentication.customer-auth-redesign-dev .social-btn-d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid rgba(35, 35, 35, 0.14);
  background: var(--beige);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .social-btn-d:hover {
  border-color: var(--dark);
  background: var(--cream);
}

body#authentication.customer-auth-redesign-dev .social-btn-d.dark {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .social-btn-d.dark:hover {
  background: #1a1a1a;
}

body#authentication.customer-auth-redesign-dev .divider-d {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 24px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.4;
}

body#authentication.customer-auth-redesign-dev .divider-d::before,
body#authentication.customer-auth-redesign-dev .divider-d::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(35, 35, 35, 0.12);
}

body#authentication.customer-auth-redesign-dev .divider-d__short {
  display: none;
}

body#authentication.customer-auth-redesign-dev .field-d {
  margin-bottom: 22px;
  position: relative;
}

body#authentication.customer-auth-redesign-dev .field-d label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 8px;
}

body#authentication.customer-auth-redesign-dev .field-d input:not([type='checkbox']) {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 32px 10px 0;
  border-bottom: 1px solid rgba(35, 35, 35, 0.2);
  transition: border-color 0.2s;
}

body#authentication.customer-auth-redesign-dev .field-d input:not([type='checkbox']):focus {
  border-bottom-color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .field-d input:not([type='checkbox'])::placeholder {
  color: rgba(35, 35, 35, 0.28);
  font-style: italic;
}

body#authentication.customer-auth-redesign-dev .field-d.is-invalid input:not([type='checkbox']) {
  border-bottom-color: var(--red);
}

body#authentication.customer-auth-redesign-dev .field-d .err-msg {
  display: none;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 300;
}

body#authentication.customer-auth-redesign-dev .field-d.is-invalid .err-msg {
  display: block;
}

body#authentication.customer-auth-redesign-dev .customer-auth-names-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

body#authentication.customer-auth-redesign-dev .customer-auth-hidden-field {
  display: none !important;
}

body#authentication.customer-auth-redesign-dev .forgot-d {
  display: block;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  color: rgba(35, 35, 35, 0.6);
  margin: -10px 0 28px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35, 35, 35, 0.25);
  text-decoration-thickness: 0.5px;
  transition: color 0.2s;
}

body#authentication.customer-auth-redesign-dev .forgot-d:hover {
  color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .btn-dark-d {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--cream);
  padding: 18px 28px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .btn-dark-d:hover {
  background: #1a1a1a;
}

body#authentication.customer-auth-redesign-dev .consent-d {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
  cursor: pointer;
  color: rgba(35, 35, 35, 0.6);
  margin: 0 0 24px;
  min-width: 0;
}

body#authentication.customer-auth-redesign-dev .consent-d span {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: rgba(35, 35, 35, 0.72);
  white-space: nowrap;
}

body#authentication.customer-auth-redesign-dev .consent-d input {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(35, 35, 35, 0.28);
  margin-top: 0;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  cursor: pointer;
}

body#authentication.customer-auth-redesign-dev .consent-d input:checked {
  background: var(--dark);
  border-color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .consent-d input:checked::after {
  content: '✓';
  position: absolute;
  top: -4px;
  left: 1px;
  color: var(--cream);
  font-size: 0.75rem;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .consent-d a {
  color: rgba(35, 35, 35, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

body#authentication.customer-auth-redesign-dev .legal-fine-d {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.4;
  text-align: center;
  margin-top: 28px;
}

body#authentication.customer-auth-redesign-dev .invite-side-d {
  background: var(--dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 72px;
  position: relative;
  overflow: hidden;
}

body#authentication.customer-auth-redesign-dev .invite-side-d::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(242, 233, 224, 0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(242, 233, 224, 0.03), transparent 50%);
  pointer-events: none;
}

body#authentication.customer-auth-redesign-dev .invite-mono {
  position: absolute;
  top: 56px;
  right: 72px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.2em;
  opacity: 0.35;
  display: flex;
  align-items: center;
  gap: 8px;
}

body#authentication.customer-auth-redesign-dev .invite-mono .dash {
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

body#authentication.customer-auth-redesign-dev .invite-content-d {
  position: relative;
  max-width: 480px;
  z-index: 1;
}

body#authentication.customer-auth-redesign-dev .invite-content-d .eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
  margin: 0 0 12px;
}

body#authentication.customer-auth-redesign-dev .invite-content-d h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  padding: 0;
  color: var(--cream);
}

body#authentication.customer-auth-redesign-dev .invite-content-d h2 em {
  font-style: italic;
  color: currentColor;
}

body#authentication.customer-auth-redesign-dev .invite-content-d .invite-body {
  font-family: var(--font-display);
  font-style: italic !important;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.72;
  margin-bottom: 40px;
}

body#authentication.customer-auth-redesign-dev .btn-cream-d {
  display: inline-block;
  min-width: 240px;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--dark);
  padding: 17px 36px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .btn-cream-d:hover {
  background: var(--white);
}

body#authentication.customer-auth-redesign-dev .invite-features-d {
  display: flex;
  gap: 44px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(242, 233, 224, 0.15);
}

body#authentication.customer-auth-redesign-dev .invite-features-d .feat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body#authentication.customer-auth-redesign-dev .invite-features-d .feat .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

body#authentication.customer-auth-redesign-dev .invite-features-d .feat .lbl {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

body#authentication.customer-auth-redesign-dev .invite-addr {
  position: absolute;
  bottom: 48px;
  left: 72px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.4;
}

body#authentication.customer-auth-redesign-dev .invite-content-d.fade-swap {
  animation: customerAuthFadeSwap 0.3s ease;
}

@keyframes customerAuthFadeSwap {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body#authentication.customer-auth-redesign-dev .help-block,
body#authentication.customer-auth-redesign-dev .alert {
  font-family: var(--font-body);
  font-size: 0.75rem;
  margin-bottom: 16px;
}

/* ─── Surcharges thème PrestaShop / Bootstrap (chargées en dernier) ─── */

body#authentication.customer-auth-redesign-dev #content,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .login-form-d {
  text-align: left;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form section,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form footer,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .form-footer {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .form-group,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .form-group.row {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign [class*='col-md-'],
body#authentication.customer-auth-redesign-dev .customer-auth-redesign [class*='col-lg-'],
body#authentication.customer-auth-redesign-dev .customer-auth-redesign [class*='col-xs-'] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .form-control-label,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .form-control-comment,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
  float: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:not([type='checkbox']),
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='email'],
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='password'],
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='text'],
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .form-control {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 10px 32px 10px 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(35, 35, 35, 0.2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  color: var(--dark) !important;
  -webkit-appearance: none;
  appearance: none;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:not([type='checkbox']):focus,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border-bottom-color: var(--dark) !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:-webkit-autofill,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:-webkit-autofill:hover,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--dark) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--beige) inset !important;
  box-shadow: 0 0 0 1000px var(--beige) inset !important;
  transition: background-color 9999s ease-out 0s;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .input-group,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .input-group-btn,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .js-visible-password,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .custom-radio,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .radio-inline {
  display: none !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-password-wrap {
  position: relative;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgba(35, 35, 35, 0.55);
  cursor: pointer;
  transition: color 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-toggle:hover,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-toggle:focus {
  outline: none;
  color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-icon {
  display: block;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-icon--hide,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-toggle[aria-pressed='true'] .customer-auth-pw-icon--show {
  display: none;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-pw-toggle[aria-pressed='true'] .customer-auth-pw-icon--hide {
  display: block;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .mode-toggle-d button,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-dark-d,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-cream-d {
  width: auto;
  max-width: none;
  line-height: normal;
  text-transform: uppercase;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-cream-d {
  display: inline-block;
  background: var(--cream);
  color: var(--dark);
  border: none;
  min-width: 240px;
  padding: 17px 36px;
  cursor: pointer;
  transition: background 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-cream-d:hover {
  background: var(--white);
  color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .mode-toggle-d button {
  flex: 1;
  width: auto;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(35, 35, 35, 0.14);
  background: var(--beige);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d:hover {
  border-color: var(--dark);
  background: var(--cream);
  color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d.dark {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d.dark:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: var(--cream);
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-dark-d,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-submit-btn {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn.btn-primary,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .bouton-connect-login {
  all: unset;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d .eyebrow,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d h2,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d .invite-body {
  text-align: left;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign h1,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign h2,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign p:not(.legal-fine-d) {
  text-align: inherit;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign p.legal-fine-d {
  text-align: center;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-names-row__col {
  min-width: 0;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .field-d {
  margin-bottom: 22px !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .customer-auth-names-row.field-d {
  margin-bottom: 22px !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form > .field-d,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form > .customer-auth-names-row.field-d {
  margin-bottom: 0 !important;
  padding-bottom: 22px !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .field-d label {
  margin-bottom: 8px !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .consent-d {
  margin: 0 0 24px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .consent-d span {
  font-family: var(--font-display) !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.35 !important;
  color: rgba(35, 35, 35, 0.72) !important;
  white-space: nowrap !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .consent-d a {
  color: rgba(35, 35, 35, 0.72) !important;
  font-size: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  white-space: nowrap !important;
}

body#authentication.customer-auth-redesign-dev #wrapper #content-wrapper #main {
  overflow: visible;
}

body#authentication.customer-auth-redesign-dev section#wrapper {
  width: 100% !important;
  max-width: none !important;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign a.forgot-d {
  display: block;
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  color: rgba(35, 35, 35, 0.6);
  margin: -10px 0 28px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35, 35, 35, 0.25);
  text-decoration-thickness: 0.5px;
  transition: color 0.2s ease;
}

body#authentication.customer-auth-redesign-dev .customer-auth-redesign a.forgot-d:hover,
body#authentication.customer-auth-redesign-dev .customer-auth-redesign a.forgot-d:focus {
  color: var(--dark);
  text-decoration: underline;
  text-decoration-color: rgba(35, 35, 35, 0.25);
}

body#authentication.customer-auth-redesign-dev .invite-photo-d,
body#authentication.customer-auth-redesign-dev .invite-overlay-d {
  display: none;
}

/* ─── Desktop (maquette Possible - Connexion ordinateur) ─── */

@media (min-width: 992px) {
  body#authentication.customer-auth-redesign-dev .split-d {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body#authentication.customer-auth-redesign-dev .invite-side-d {
    order: 1;
    background: var(--dark);
    justify-content: flex-start;
    align-items: flex-start;
    padding: clamp(250px, 34vh, 309px) 54px 48px 37px;
  }

  body#authentication.customer-auth-redesign-dev .login-side-d {
    order: 2;
    padding: 60px 40px;
  }

  body#authentication.customer-auth-redesign-dev .login-form-d {
    max-width: 404px;
  }

  body#authentication.customer-auth-redesign-dev .invite-photo-d {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
  }

  body#authentication.customer-auth-redesign-dev .invite-overlay-d {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(20, 18, 16, 0.5) 0%,
      rgba(20, 18, 16, 0.1) 40%,
      rgba(20, 18, 16, 0.62) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  body#authentication.customer-auth-redesign-dev .invite-side-d::before {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .invite-mono,
  body#authentication.customer-auth-redesign-dev .invite-addr {
    display: none !important;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d {
    max-width: 460px;
    z-index: 2;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d .eyebrow {
    font-weight: 300;
    font-size: 0.64rem;
    letter-spacing: 0.34em;
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 20px;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d h2,
  body#authentication.customer-auth-redesign-dev .invite-title-d {
    font-size: 2.7rem;
    line-height: 1.16;
    letter-spacing: -0.01em;
    color: #fdf9f3;
    margin-bottom: 0;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d .invite-body {
    font-style: normal !important;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(253, 249, 243, 0.74);
    opacity: 1;
    margin-top: 18px;
    margin-bottom: 0;
  }

  body#authentication.customer-auth-redesign-dev .btn-cream-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-cream-d {
    display: inline-block;
    min-width: 0;
    margin-top: 26px;
    background: #fdf9f3;
    color: var(--dark);
    padding: 15px 28px;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  body#authentication.customer-auth-redesign-dev .btn-cream-d:hover,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-cream-d:hover {
    background: var(--white);
    color: var(--dark);
  }

  body#authentication.customer-auth-redesign-dev .invite-features-d {
    display: flex !important;
    gap: 0;
    margin-top: 36px;
    padding-top: 0;
    border-top: 1px solid rgba(253, 249, 243, 0.22);
    max-width: 420px;
  }

  body#authentication.customer-auth-redesign-dev .invite-features-d .feat {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 18px 8px 4px;
    border-right: 1px solid rgba(253, 249, 243, 0.22);
  }

  body#authentication.customer-auth-redesign-dev .invite-features-d .feat:last-child {
    border-right: none;
  }

  body#authentication.customer-auth-redesign-dev .invite-features-d .feat .num {
    display: block;
    font-family: var(--font-display) !important;
    font-style: normal !important;
    font-weight: 400;
    font-size: 1.7rem !important;
    line-height: 1 !important;
    letter-spacing: 0;
    color: #fdf9f3 !important;
  }

  body#authentication.customer-auth-redesign-dev .invite-features-d .feat .lbl {
    display: block;
    font-family: var(--font-body) !important;
    font-weight: 300 !important;
    font-size: 0.54rem !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    line-height: 1.3;
    color: rgba(253, 249, 243, 0.7) !important;
    opacity: 1 !important;
    margin-top: 8px;
  }

  body#authentication.customer-auth-redesign-dev .login-head-d .eyebrow {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .login-head-d {
    margin-bottom: 0;
  }

  body#authentication.customer-auth-redesign-dev .login-head-d h1 {
    font-size: 2.55rem;
    margin-bottom: 14px;
  }

  body#authentication.customer-auth-redesign-dev .login-head-d .lede {
    font-size: 0.88rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(35, 35, 35, 0.55);
    margin-bottom: 34px;
  }

  body#authentication.customer-auth-redesign-dev .mode-toggle-d {
    margin-bottom: 28px;
  }

  body#authentication.customer-auth-redesign-dev .social-row-d {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: none;
    padding: 15px;
    gap: 12px;
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d:not(.dark) {
    background: #ffffff;
    border-color: rgba(35, 35, 35, 0.16);
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d:not(.dark):hover {
    background: var(--beige);
    border-color: rgba(35, 35, 35, 0.28);
  }

  body#authentication.customer-auth-redesign-dev .divider-d {
    gap: 14px;
    margin: 0 0 24px;
    font-size: 0.56rem;
    letter-spacing: 0.22em;
    opacity: 0.5;
  }

  body#authentication.customer-auth-redesign-dev .divider-d::before,
  body#authentication.customer-auth-redesign-dev .divider-d::after {
    background: rgba(35, 35, 35, 0.14);
  }

  body#authentication.customer-auth-redesign-dev .field-d label,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d label {
    font-size: 0.55rem !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 6px !important;
  }

  body#authentication.customer-auth-redesign-dev .field-d input:not([type='checkbox']),
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:not([type='checkbox']),
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='email'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='password'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='text'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .form-control {
    font-size: 0.95rem !important;
    padding: 11px 32px 11px 4px !important;
    border-bottom-color: rgba(35, 35, 35, 0.18) !important;
  }

  body#authentication.customer-auth-redesign-dev .forgot-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign a.forgot-d {
    font-size: 0.82rem;
    color: rgba(35, 35, 35, 0.55);
    margin: -6px 0 28px;
    text-underline-offset: 2px;
  }

  body#authentication.customer-auth-redesign-dev .btn-dark-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-dark-d {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    padding: 18px;
    margin-top: 6px;
  }

  body#authentication.customer-auth-redesign-dev .legal-fine-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign p.legal-fine-d {
    display: none;
  }
}

/* ─── Mobile (maquette Parcours Mobile.html #screen-login) ─── */

@media (max-width: 991px) {
  body#authentication.customer-auth-redesign-dev {
    min-width: 0;
  }

  body#authentication.customer-auth-redesign-dev .split-d {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body#authentication.customer-auth-redesign-dev .login-side-d {
    align-items: stretch;
    justify-content: flex-start;
    padding: 18px 24px 36px;
    order: 1;
  }

  body#authentication.customer-auth-redesign-dev .login-form-d {
    max-width: none;
  }

  body#authentication.customer-auth-redesign-dev .login-head-d {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .mode-toggle-d {
    margin-bottom: 26px;
    border-color: rgba(35, 35, 35, 0.12);
  }

  body#authentication.customer-auth-redesign-dev .mode-toggle-d button {
    padding: 12px;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  body#authentication.customer-auth-redesign-dev .social-row-d {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d {
    width: 100%;
    padding: 14px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    background: var(--white);
    border-color: rgba(35, 35, 35, 0.14);
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d:hover {
    background: var(--beige);
    border-color: rgba(35, 35, 35, 0.28);
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d.dark {
    background: var(--dark);
    color: var(--cream);
    border-color: var(--dark);
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .social-btn-d.dark:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
  }

  body#authentication.customer-auth-redesign-dev .divider-d {
    gap: 14px;
    margin: 0 0 22px;
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    opacity: 0.5;
  }

  body#authentication.customer-auth-redesign-dev .divider-d::before,
  body#authentication.customer-auth-redesign-dev .divider-d::after {
    background: rgba(35, 35, 35, 0.14);
  }

  body#authentication.customer-auth-redesign-dev .divider-d__long {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .divider-d__short {
    display: inline;
  }

  body#authentication.customer-auth-redesign-dev .field-d {
    margin-bottom: 20px;
  }

  body#authentication.customer-auth-redesign-dev .field-d label,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d label {
    font-size: 0.54rem !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 4px !important;
    margin-top: 8px !important;
  }

  body#authentication.customer-auth-redesign-dev .field-d input:not([type='checkbox']),
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .field-d input:not([type='checkbox']),
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='email'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='password'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form input[type='text'],
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .customer-auth-panel-form .form-control {
    font-size: 0.9rem !important;
    padding: 10px 28px 10px 0 !important;
    border-bottom-color: rgba(35, 35, 35, 0.15) !important;
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-names-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  body#authentication.customer-auth-redesign-dev .forgot-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign a.forgot-d {
    font-size: 0.72rem;
    margin: -6px 0 22px;
  }

  body#authentication.customer-auth-redesign-dev .btn-dark-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .btn-dark-d {
    padding: 16px 28px;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
  }

  body#authentication.customer-auth-redesign-dev .legal-fine-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign p.legal-fine-d {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .consent-d span,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .consent-d span {
    white-space: normal !important;
  }

  body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-register-form .consent-d a {
    white-space: normal !important;
  }

  body#authentication.customer-auth-redesign-dev .invite-side-d {
    order: 2;
    background: var(--cream);
    color: var(--dark);
    padding: 26px 22px 56px;
    justify-content: flex-start;
    overflow: visible;
  }

  body#authentication.customer-auth-redesign-dev .invite-side-d::before {
    display: none;
  }

  body#authentication.customer-auth-redesign-dev .invite-mono,
  body#authentication.customer-auth-redesign-dev .invite-addr,
  body#authentication.customer-auth-redesign-dev .invite-features-d {
    display: none !important;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d {
    max-width: none;
    text-align: center;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d .eyebrow,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d .eyebrow,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d h2,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign .invite-content-d .invite-body {
    text-align: center;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.28em;
    color: var(--dark);
    opacity: 0.5;
    margin-bottom: 10px;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d h2,
  body#authentication.customer-auth-redesign-dev .invite-title-d {
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 8px;
  }

  body#authentication.customer-auth-redesign-dev .invite-title-d em {
    font-style: italic;
  }

  body#authentication.customer-auth-redesign-dev .invite-content-d .invite-body {
    font-style: normal !important;
    font-size: 0.74rem;
    line-height: 1.6;
    color: rgba(35, 35, 35, 0.9);
    margin-bottom: 18px;
  }

  body#authentication.customer-auth-redesign-dev #customer-auth-invite-cta,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-invite-cta {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    padding: 16px 28px;
    background: var(--dark);
    color: var(--cream);
    border: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  body#authentication.customer-auth-redesign-dev #customer-auth-invite-cta:hover,
  body#authentication.customer-auth-redesign-dev .customer-auth-redesign #customer-auth-invite-cta:hover {
    background: #1a1a1a;
    color: var(--cream);
  }
}
