/* Fournisseur de Pierres — account, login, registration
   Colors & type match hp-redesign.css */

body.page-customer-account,
body#password,
body#guest-login,
body#guest-tracking,
body#module-lpsproaccount-proauthentication {
  font-family: var(--fdp-sans);
  color: var(--fdp-ink);
  background: #f6f3f8;
}

body.page-customer-account #wrapper,
body#password #wrapper,
body#guest-login #wrapper,
body#guest-tracking #wrapper,
body#module-lpsproaccount-proauthentication #wrapper {
  background: #f6f3f8;
  padding: 0 0 72px !important;
}

body.page-customer-account #wrapper > .container,
body#password #wrapper > .container,
body#guest-login #wrapper > .container,
body#guest-tracking #wrapper > .container,
body#module-lpsproaccount-proauthentication #wrapper > .container {
  max-width: var(--fdp-wrap);
  width: 100%;
  padding: 0 24px;
}

body.page-customer-account #content-wrapper,
body#password #content-wrapper,
body#guest-login #content-wrapper,
body#guest-tracking #content-wrapper,
body#module-lpsproaccount-proauthentication #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.page-customer-account #main,
body#password #main,
body#guest-login #main,
body#guest-tracking #main {
  padding: 0;
}

/* Hide default theme titles — we render our own */
body.page-customer-account #main > .page-header,
body#password #main > .page-header,
body#guest-login #main > .page-header,
body#guest-tracking #main > .page-header {
  display: none;
}

body.page-customer-account #content.card,
body.page-customer-account #content.page-content,
body#password #content.card,
body#guest-login #content.card,
body#guest-tracking #content.card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

body.page-customer-account .js-customer-form,
body.page-customer-account .js-address-form,
body#password .js-customer-form {
  padding: 0;
}

/* ---- Breadcrumb: light, not the category purple bar ---- */
body.page-customer-account .breadcrumb-container,
body#password .breadcrumb-container,
body#guest-login .breadcrumb-container,
body#guest-tracking .breadcrumb-container,
body#module-lpsproaccount-proauthentication .breadcrumb-container {
  background: transparent !important;
  padding: 18px 0 8px;
  margin: 0;
}
body.page-customer-account .breadcrumb-container .breadcrumb,
body#password .breadcrumb-container .breadcrumb,
body#guest-login .breadcrumb-container .breadcrumb,
body#guest-tracking .breadcrumb-container .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 auto;
  max-width: var(--fdp-wrap);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.page-customer-account .breadcrumb li,
body#password .breadcrumb li {
  color: var(--fdp-muted);
}
body.page-customer-account .breadcrumb a,
body#password .breadcrumb a {
  color: var(--fdp-muted);
  text-decoration: none;
}
body.page-customer-account .breadcrumb a:hover,
body#password .breadcrumb a:hover {
  color: var(--fdp-purple);
}
body.page-customer-account .breadcrumb li::after,
body#password .breadcrumb li::after {
  color: #c9c0d2;
}

/* ===================== Shared chrome ===================== */
.fdp-acc-head {
  margin: 8px 0 28px;
}
.fdp-acc-head .fdp-kicker {
  margin-bottom: 10px;
}
.fdp-acc-head h1 {
  font-family: var(--fdp-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  color: var(--fdp-ink);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.fdp-acc-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fdp-muted);
  margin: 0;
  max-width: 560px;
}

.fdp-acc-panel {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: var(--fdp-shadow);
  padding: 36px 40px;
}

.fdp-acc-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--fdp-muted);
}
.fdp-acc-empty p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
}
.fdp-acc-empty strong {
  display: block;
  font-family: var(--fdp-serif);
  font-size: 22px;
  color: var(--fdp-ink);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===================== Auth split (login) ===================== */
.fdp-auth {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(61, 27, 98, 0.12);
  border: 1px solid var(--fdp-line);
  margin: 12px 0 8px;
  min-height: 560px;
}
.fdp-auth__brand {
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(700px 420px at 100% 100%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(165deg, #4a2274 0%, var(--fdp-purple) 42%, var(--fdp-purple-deep) 100%);
  color: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.fdp-auth__brand .fdp-kicker {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}
.fdp-auth__brand h1 {
  font-family: var(--fdp-serif);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.fdp-auth__brand > p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
  max-width: 36em;
}
.fdp-auth__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.fdp-auth__perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.fdp-auth__perks svg {
  flex: 0 0 auto;
  margin-top: 1px;
  opacity: 0.95;
}

.fdp-auth__panel {
  padding: 48px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fdp-auth__panel-title {
  font-family: var(--fdp-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--fdp-ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.fdp-auth__panel-lead {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fdp-muted);
  margin: 0 0 28px;
}

/* Register: header + card */
.fdp-reg {
  margin: 8px 0 16px;
}
.fdp-reg__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.fdp-reg__intro .fdp-kicker {
  margin-bottom: 10px;
}
.fdp-reg__intro h1 {
  font-family: var(--fdp-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  color: var(--fdp-ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.fdp-reg__intro p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fdp-muted);
  margin: 0;
}
.fdp-reg__card {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(61, 27, 98, 0.1);
  padding: 40px 48px 36px;
  max-width: 760px;
  margin: 0 auto;
}
.fdp-reg__switch {
  text-align: center;
  font-size: 14px;
  color: var(--fdp-muted);
  margin: 0 0 28px;
}
.fdp-reg__switch a {
  color: var(--fdp-purple);
  font-weight: 600;
  text-decoration: none;
}
.fdp-reg__switch a:hover {
  text-decoration: underline;
}
.fdp-reg__note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fdp-muted);
  text-align: center;
}

/* ===================== Forms ===================== */
body.page-customer-account .form-group.row,
body#password .form-group.row,
body#guest-login .form-group.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 18px;
  align-items: stretch;
}
body.page-customer-account .form-group.row > [class*="col-"],
body#password .form-group.row > [class*="col-"],
body#guest-login .form-group.row > [class*="col-"] {
  flex: 1 1 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  float: none;
}

body.page-customer-account .form-control-label,
body#password .form-control-label,
body#guest-login .form-control-label {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: left !important;
  float: none;
  padding: 0 0 8px;
  margin: 0;
  font-family: var(--fdp-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fdp-purple);
  line-height: 1.3;
}
body.page-customer-account .form-group.row > .form-control-comment,
body.page-customer-account .form-group .col-md-6 > .form-control-comment {
  display: none;
}
body.page-customer-account .form-group:has([name="birthday"]) .col-md-6 > .form-control-comment {
  display: block;
}
body.page-customer-account .form-group.row:has(.custom-checkbox) > .form-control-label {
  display: none;
}

body.page-customer-account .form-control,
body#password .form-control,
body#guest-login .form-control,
body.page-customer-account select.form-control-select,
body#password select.form-control-select {
  height: 48px;
  border: 1px solid var(--fdp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fdp-ink);
  font-family: var(--fdp-sans);
  font-size: 15px;
  padding: 10px 14px;
  box-shadow: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.page-customer-account .form-control:hover,
body#password .form-control:hover,
body.page-customer-account select.form-control-select:hover {
  border-color: #d6cde0;
}
body.page-customer-account .form-control:focus,
body#password .form-control:focus,
body.page-customer-account select.form-control-select:focus {
  border-color: var(--fdp-purple);
  box-shadow: 0 0 0 3px rgba(61, 27, 98, 0.12);
  outline: none;
}
body.page-customer-account textarea.form-control {
  height: auto;
  min-height: 110px;
}

body.page-customer-account .form-control-comment,
body#password .form-control-comment {
  display: block;
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 6px 2px 0;
  font-size: 12px;
  color: var(--fdp-muted);
  text-align: left;
  font-style: normal;
}

/* Hide empty optional columns */
body.page-customer-account .form-group.row > .form-control-comment:empty {
  display: none;
}

/* Password reveal — one unified field */
body.page-customer-account .input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
  align-items: stretch;
  border: 1px solid var(--fdp-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
body.page-customer-account .input-group:focus-within {
  border-color: var(--fdp-purple);
  box-shadow: 0 0 0 3px rgba(61, 27, 98, 0.12);
}
body.page-customer-account .input-group .form-control {
  width: 1% !important;
  flex: 1 1 auto !important;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  height: 46px !important;
  box-shadow: none !important;
}
body.page-customer-account .input-group-btn {
  display: flex !important;
  width: auto !important;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-customer-account .input-group-btn .btn {
  height: 46px !important;
  margin: 0 !important;
  border: 0 !important;
  border-left: 1px solid var(--fdp-line) !important;
  border-radius: 0 !important;
  background: #f4eef8 !important;
  color: var(--fdp-purple) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 16px !important;
  cursor: pointer;
  box-shadow: none !important;
  min-width: 92px;
  line-height: 46px !important;
}
body.page-customer-account .input-group-btn .btn:hover {
  background: var(--fdp-purple-soft) !important;
  color: var(--fdp-purple) !important;
}

/* Gender radios as pills */
body.page-customer-account .form-control-valign {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 48px;
}
body.page-customer-account .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--fdp-line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--fdp-ink);
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
body.page-customer-account .radio-inline:hover {
  border-color: var(--fdp-purple);
  background: var(--fdp-purple-soft);
}
body.page-customer-account .custom-radio {
  margin: 0;
}

/* Birthday selects in a row */
body.page-customer-account .js-parent-focus {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
}
body.page-customer-account .js-parent-focus br {
  display: none;
}

/* Checkbox */
body.page-customer-account .custom-checkbox {
  display: block;
  padding: 4px 0 8px;
}
body.page-customer-account .custom-checkbox label {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fdp-ink);
  cursor: pointer;
}
body.page-customer-account .custom-checkbox label em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--fdp-muted);
  font-size: 12px;
}

/* File input */
body.page-customer-account input[type="file"] {
  padding: 10px;
  height: auto;
  background: #faf8fc;
}

/* Errors */
body.page-customer-account .help-block {
  width: 100%;
  margin: 0;
  padding: 0;
}
body.page-customer-account .help-block ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
body.page-customer-account .alert,
body#password .alert {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}
body.page-customer-account .alert-danger,
body#password .alert-danger,
body.page-customer-account .help-block .alert-danger {
  background: #fdecee !important;
  color: #8a1f32 !important;
}
body.page-customer-account .alert-success,
body#password .alert-success {
  background: #eef7f0 !important;
  color: #1f6b38 !important;
}
body.page-customer-account #notifications {
  margin-bottom: 16px;
}
body.page-customer-account #notifications .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* Forgot password */
body.page-customer-account .forgot-password,
body.page-customer-account #content .forgot-password {
  text-align: right;
  margin: 4px 0 20px;
  padding: 0;
  font-size: 13px;
}
body.page-customer-account .forgot-password a {
  color: var(--fdp-purple);
  font-weight: 600;
  text-decoration: none;
}
body.page-customer-account .forgot-password a:hover {
  text-decoration: underline;
}

/* Buttons */
body.page-customer-account .form-footer,
body#password .form-footer,
body#guest-login .form-footer {
  text-align: left;
  margin-top: 8px;
  padding: 0;
  clear: both;
}
body.page-customer-account .form-footer .btn,
body.page-customer-account button.form-control-submit,
body.page-customer-account #submit-login,
body.page-customer-account .fdp-acc-panel .btn-primary,
body#password .form-footer .btn,
body#password .btn-primary,
body#guest-login .form-footer .btn,
body#guest-login .btn-primary,
body.page-customer-account .page-footer .btn-primary,
#lpsproaccount .btn-primary,
#button-form-professionnal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--fdp-purple) !important;
  color: #fff !important;
  font-family: var(--fdp-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  float: none !important;
  width: 100%;
  max-width: 100%;
  transition: background 0.2s, transform 0.2s;
}
body.page-customer-account .form-footer .btn:hover,
body.page-customer-account #submit-login:hover,
body.page-customer-account button.form-control-submit:hover,
#lpsproaccount .btn-primary:hover,
#button-form-professionnal:hover {
  background: var(--fdp-purple-deep) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

body.page-customer-account .fdp-btn {
  text-decoration: none;
}

/* Login PRO CTA */
#lpsproaccount {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--fdp-line);
  color: var(--fdp-ink);
  font-size: 14px;
}
#lpsproaccount .lpsproaccount-title {
  text-align: left;
  padding: 0;
  font-family: var(--fdp-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--fdp-ink);
  margin-bottom: 6px;
}
.fdp-auth-cta__text {
  color: var(--fdp-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}
#lpsproaccount .lpsproaccount-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
}
#lpsproaccount .lpsproaccount-button a {
  width: 100% !important;
  min-width: 0;
  text-decoration: none;
}

/* Referral / extra module fields (prestasalesmanager) */
body.page-customer-account #customer-form > section > .clearfix,
body.page-customer-account .js-customer-form .clearfix {
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
  width: 100%;
}
body.page-customer-account #customer-form .clearfix .control-label,
body.page-customer-account #customer-form .clearfix .col-lg-3,
body.page-customer-account #customer-form .clearfix .col-lg-5 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
  text-align: left;
}
body.page-customer-account #customer-form .clearfix .control-label {
  font-family: var(--fdp-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fdp-purple);
  padding-bottom: 8px !important;
}
body.page-customer-account #customer-form .clearfix .control-label strong {
  font-weight: 700;
}
body.page-customer-account #customer-form .clearfix .help-block {
  font-size: 12px;
  color: var(--fdp-muted);
  margin: 6px 0 0;
}
body.page-customer-account #customer-form .clearfix .fixed-width-lg {
  display: block;
  width: 100%;
  max-width: 100%;
}
#lpsproaccount #login-form-particular a {
  background: #fff !important;
  color: var(--fdp-purple) !important;
  border: 1.5px solid var(--fdp-purple);
}
#lpsproaccount #login-form-particular a:hover {
  background: var(--fdp-purple-soft) !important;
  color: var(--fdp-purple) !important;
}
.lpsproaccount-customer-validation {
  color: var(--fdp-purple);
  font-weight: 500;
  text-align: left;
  margin: 12px 0 20px;
  font-size: 13px;
  line-height: 1.55;
  background: var(--fdp-purple-soft);
  border-radius: 12px;
  padding: 14px 16px;
}

hr {
  border: 0;
  border-top: 1px solid var(--fdp-line);
  margin: 24px 0;
}
body.page-authentication hr {
  display: none;
}

/* ===================== My account dashboard ===================== */
.fdp-dash {
  margin: 4px 0 8px;
}
.fdp-dash__grid,
body#my-account .links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  width: 100%;
}
body#my-account .row.links,
body#my-account .links.row,
body#my-account .row {
  margin-left: 0;
  margin-right: 0;
}
body#my-account .links > a,
.fdp-dash__grid > a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 18px;
  padding: 22px 20px;
  text-decoration: none;
  color: var(--fdp-ink);
  box-shadow: 0 8px 24px rgba(61, 27, 98, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  flex: none !important;
  cursor: pointer;
}
body#my-account .links > a:hover,
.fdp-dash__grid > a:hover {
  border-color: var(--fdp-purple);
  box-shadow: 0 12px 32px rgba(61, 27, 98, 0.12);
  transform: translateY(-2px);
  color: var(--fdp-ink);
  text-decoration: none;
}
body#my-account .links .link-item,
.fdp-dash__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
body#my-account .links .material-icons,
.fdp-dash__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--fdp-purple-soft);
  color: var(--fdp-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
}
.fdp-dash__icon svg {
  display: block;
}
.fdp-dash__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fdp-dash__title,
body#my-account .links .link-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--fdp-ink);
  line-height: 1.3;
}
body#my-account .links .link-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fdp-dash__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--fdp-muted);
  font-weight: 400;
}

body#my-account .page-footer,
body.page-customer-account .page-footer {
  margin-top: 28px;
  padding: 0;
  text-align: left;
}
body#my-account .page-footer .btn-primary {
  width: auto;
  max-width: 280px;
  background: #fff !important;
  color: var(--fdp-purple) !important;
  border: 1.5px solid var(--fdp-purple) !important;
}
body#my-account .page-footer .btn-primary:hover {
  background: var(--fdp-purple-soft) !important;
}

.fdp-acc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fdp-purple);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 18px;
}
.fdp-acc-back:hover {
  text-decoration: underline;
  color: var(--fdp-purple);
}
.fdp-acc-back .material-icons {
  font-size: 18px;
}

/* ===================== Tables (orders, slips, vouchers) ===================== */
body.page-customer-account table.table {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(61, 27, 98, 0.06);
  margin-bottom: 0;
}
body.page-customer-account table.table thead th {
  background: #faf8fc;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fdp-purple);
  padding: 14px 16px;
}
body.page-customer-account table.table td,
body.page-customer-account table.table th {
  border-color: var(--fdp-line);
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--fdp-ink);
}
body.page-customer-account table.table-striped tbody tr:nth-of-type(odd) {
  background: #fcfbfd;
}
body.page-customer-account table.table a {
  color: var(--fdp-purple);
  font-weight: 600;
}
body.page-customer-account .order-actions a {
  margin-left: 8px;
}
body.page-customer-account h6 {
  font-family: var(--fdp-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--fdp-muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

body.page-customer-account .orders .order,
body.page-customer-account .credit-slip,
body.page-customer-account .cart-rule,
body.page-customer-account .order-return {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

/* ===================== Addresses ===================== */
body#addresses .page-content,
body#address .page-content {
  display: block;
}
body#addresses .address,
body.page-order-detail .box,
body#identity .fdp-acc-panel {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(61, 27, 98, 0.06);
}
body#addresses .address {
  margin-bottom: 16px;
  overflow: hidden;
}
body#addresses .address-body {
  padding: 20px 22px 12px;
}
body#addresses .address-body h4 {
  font-family: var(--fdp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--fdp-ink);
  margin: 0 0 8px;
}
body#addresses .address-body address {
  font-style: normal;
  color: var(--fdp-muted);
  line-height: 1.6;
  min-height: 0;
  font-size: 14px;
}
body#addresses .address-footer {
  border-top: 1px solid var(--fdp-line);
  padding: 12px 22px;
  display: flex;
  gap: 16px;
}
body#addresses .address-footer a {
  color: var(--fdp-purple);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body#addresses .address-footer a:hover {
  text-decoration: underline;
  color: var(--fdp-purple);
}
body#addresses .addresses-footer {
  margin: 8px 0 0;
}
body#addresses .addresses-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--fdp-purple);
  color: var(--fdp-purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
body#addresses .addresses-footer a:hover {
  background: var(--fdp-purple-soft);
  color: var(--fdp-purple);
}

/* Address form sits in a card */
body#address .address-form,
body#identity #content > *,
body#password .forgotten-password,
body#password .renew-password {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
  padding: 36px 40px;
  max-width: 720px;
}

/* Identity form already inside content */
body#identity #customer-form {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
  padding: 36px 40px;
  max-width: 720px;
}

body.page-order-detail .box {
  padding: 20px 22px;
  margin-bottom: 16px;
  color: var(--fdp-ink);
}
body.page-order-detail h3,
body.page-order-detail h4 {
  font-family: var(--fdp-serif);
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fdp-ink);
}
body.page-order-detail {
  color: var(--fdp-ink);
  font-size: 14px;
}

/* Password page extras */
body#password .ps-alert-error,
body#password .ps-alert-success {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
body#password .center-email-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
body#password .center-email-fields .email {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
body#password .forgotten-password .form-fields label.required,
body#password .center-email-fields .form-control-label {
  width: 100%;
}
body#password .send-renew-password-link {
  padding: 0;
  margin: 0 0 20px;
  color: var(--fdp-muted);
  font-size: 15px;
  line-height: 1.6;
}
body#password .renew-password .email {
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--fdp-muted);
}
body#password .renew-password [type="submit"] {
  margin-left: 0;
}
body#password .form-group.row .offset-md-2,
body#password .form-group.row .offset-md-5,
body#password .renew-password .col-md-3,
body#password .renew-password .col-md-4 {
  margin: 0;
  max-width: 100%;
  flex: 1 1 100%;
  padding: 0;
}

/* PRO CMS intro */
body#module-lpsproaccount-proauthentication #content,
.page-cms #login-form-professionnal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  border: 1px solid var(--fdp-line);
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
  max-width: 760px;
  margin: 0 auto;
}

/* Focus visible */
body.page-customer-account a:focus-visible,
body.page-customer-account button:focus-visible,
body.page-customer-account input:focus-visible,
body.page-customer-account select:focus-visible {
  outline: 2px solid var(--fdp-purple);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.page-customer-account *,
  body.page-customer-account *::before,
  body.page-customer-account *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
  .fdp-auth {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .fdp-auth__brand {
    padding: 32px 28px 28px;
  }
  .fdp-auth__brand h1 {
    font-size: 28px;
  }
  .fdp-auth__panel {
    padding: 32px 28px 28px;
  }
  .fdp-reg__card,
  body#identity #customer-form,
  body#address .address-form,
  body#password .forgotten-password,
  body#password .renew-password {
    padding: 28px 22px;
  }
  body#my-account .links,
  .fdp-dash__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.page-customer-account #wrapper > .container,
  body#password #wrapper > .container {
    padding: 0 16px;
  }
  .fdp-auth__perks {
    display: none;
  }
  .fdp-auth__brand {
    padding: 24px 22px 20px;
  }
  body#my-account .links,
  .fdp-dash__grid {
    grid-template-columns: 1fr;
  }
  body.page-customer-account .js-parent-focus {
    grid-template-columns: 1fr;
  }
  body#my-account .page-footer .btn-primary {
    width: 100%;
    max-width: 100%;
  }
  .fdp-acc-head h1 {
    font-size: 26px;
  }
}

/* ===================== Inner pages: cart, checkout, contact, CMS, 404, listings ===================== */
body#cart,
body#checkout,
body#cms,
body#pagenotfound,
body#sitemap,
body#stores,
body#contact,
body#manufacturer,
body#search,
body#best-sales,
body#new-products,
body#prices-drop,
body#module-blockwishlist-mywishlist,
body#order-confirmation {
  font-family: var(--fdp-sans);
  color: var(--fdp-ink);
  background: #f6f3f8;
}
body#cart #wrapper,
body#checkout #wrapper,
body#cms #wrapper,
body#pagenotfound #wrapper,
body#sitemap #wrapper,
body#stores #wrapper,
body#contact #wrapper,
body#search #wrapper,
body#order-confirmation #wrapper {
  background: #f6f3f8;
  padding-bottom: 64px;
}
body#cart .breadcrumb-container,
body#cms .breadcrumb-container,
body#pagenotfound .breadcrumb-container,
body#sitemap .breadcrumb-container,
body#stores .breadcrumb-container,
body#contact .breadcrumb-container,
body#search .breadcrumb-container,
body#category .breadcrumb-container,
body#manufacturer .breadcrumb-container {
  background: transparent !important;
  padding: 18px 0 8px;
}
body#cart .breadcrumb,
body#cms .breadcrumb,
body#contact .breadcrumb,
body#category .breadcrumb,
body#search .breadcrumb {
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
}
body#cart .breadcrumb a,
body#cms .breadcrumb a,
body#contact .breadcrumb a,
body#category .breadcrumb a {
  color: var(--fdp-muted);
}

/* Category header */
body#category .block-category,
body#category .block-category.card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 20px !important;
  margin: 0 0 12px;
  text-align: center;
}
body#category .block-category .fdp-kicker {
  display: block;
}
body#category .block-category h1,
body#category .block-category .h1,
body#category .text-xs-center.h1,
body#category h1.h1 {
  font-family: var(--fdp-serif) !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
  color: var(--fdp-ink) !important;
  text-transform: none !important;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
body#category #category-description,
body#category .block-category .text-muted {
  color: var(--fdp-muted) !important;
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}

/* Cart */
body#cart #main .h1,
body#cart .cart-container .h1 {
  font-family: var(--fdp-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--fdp-ink);
  text-transform: none;
  letter-spacing: -0.02em;
}
body#cart .card,
body#cart .cart-container,
body#cart .cart-summary {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
  overflow: hidden;
}
body#cart .cart-container .card-block,
body#cart .cart-summary .card-block {
  padding: 24px 28px;
}
body#cart .separator {
  border-color: var(--fdp-line);
  margin: 0;
}
body#cart .no-items {
  display: block;
  padding: 28px 8px 8px;
  color: var(--fdp-muted);
  font-size: 15px;
  line-height: 1.6;
}
body#cart .btn-primary,
body#checkout .btn-primary,
body#contact .btn-primary,
body#order-confirmation .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--fdp-purple) !important;
  color: #fff !important;
  font-family: var(--fdp-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
}
body#cart .btn-primary:hover,
body#checkout .btn-primary:hover,
body#contact .btn-primary:hover {
  background: var(--fdp-purple-deep) !important;
  color: #fff !important;
}
body#cart .btn-primary.disabled,
body#cart .btn-primary:disabled {
  opacity: 0.45;
  background: var(--fdp-purple) !important;
}
body#cart a.label,
body#cart .cart-grid-body > a.btn {
  background: transparent !important;
  color: var(--fdp-purple) !important;
  border: 0;
  height: auto;
  padding: 12px 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
}

/* Checkout */
body#checkout {
  background: #f6f3f8;
}
body#checkout .checkout-step {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(61, 27, 98, 0.06);
  padding: 8px 24px 20px;
  margin-bottom: 16px;
}
body#checkout .checkout-step .step-title {
  font-family: var(--fdp-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--fdp-ink);
  text-transform: none;
  letter-spacing: -0.01em;
}
body#checkout .cart-summary {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(61, 27, 98, 0.06);
}
body#checkout .form-control,
body#contact .form-control,
body#cms .form-control {
  height: 48px;
  border: 1px solid var(--fdp-line);
  border-radius: 12px;
  font-family: var(--fdp-sans);
}
body#checkout .form-control-label,
body#contact .form-control-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fdp-purple);
}

/* Contact */
body#contact #content.card,
body#contact .page-content.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
body#contact .contact-form,
body#contact .elementor-widget-form,
body#contact .elementor-section .elementor-form {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
}
body#contact h1,
body#contact .elementor-heading-title {
  font-family: var(--fdp-serif);
  color: var(--fdp-ink);
}
body#contact .elementor-button,
body#contact input[type="submit"] {
  background: var(--fdp-purple) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px !important;
}

/* CMS / 404 / sitemap / stores */
body#cms #content.page-cms,
body#pagenotfound .page-not-found,
body#sitemap .sitemap,
body#stores .page-stores {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
  padding: 36px 40px;
}
body#sitemap #main .page-header,
body#stores #main .page-header,
body#pagenotfound #main .page-header {
  display: block;
}
body#cms .page-header h1,
body#pagenotfound .page-header h1,
body#pagenotfound #main .page-header h1,
body#sitemap .page-header h1,
body#sitemap #main .page-header h1,
body#stores .page-header h1,
body#stores #main .page-header h1,
body#manufacturer h1,
body#search #js-product-list-header,
body#best-sales #js-product-list-header,
body#new-products #js-product-list-header,
body#prices-drop #js-product-list-header {
  font-family: var(--fdp-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--fdp-ink);
  letter-spacing: -0.02em;
}
body#pagenotfound .page-not-found h4 {
  font-family: var(--fdp-serif);
  font-size: 28px;
  color: var(--fdp-ink);
  font-weight: 700;
}
body#pagenotfound .page-not-found p {
  color: var(--fdp-muted);
  font-size: 15px;
  line-height: 1.6;
}

body#order-confirmation .card {
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(61, 27, 98, 0.08);
}
body#order-confirmation .card-title {
  font-family: var(--fdp-serif);
  font-weight: 700;
  color: var(--fdp-ink);
}

@media (max-width: 767px) {
  body#cms #content.page-cms,
  body#pagenotfound .page-not-found,
  body#contact .contact-form {
    padding: 24px 20px;
  }
}


/* ===================== Mon compte : grille homogène (v3) =====================
   Le thème (theme.css) impose « .page-my-account #content .links a … » : on reprend la main avec la même spécificité. */
html body.page-my-account .fdp-acc-head,
html body.page-my-account .fdp-acc-head h1,
html body.page-my-account .fdp-acc-lead { text-align: left; }
html body.page-my-account .fdp-acc-lead { max-width: 640px; }

html body.page-my-account #content .links.fdp-dash__grid,
html body.page-my-account #content .links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  align-items: stretch;
  justify-content: stretch;
  flex-wrap: nowrap;
  margin: 0;
}
html body.page-my-account #content .links > a {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: 92px;
  margin: 0 !important;
  padding: 18px 22px;
  text-align: left;
  text-transform: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--fdp-ink);
  background: #fff;
  border: 1px solid var(--fdp-line);
  border-radius: 18px;
}
html body.page-my-account #content .links > a:hover { color: var(--fdp-ink); }
html body.page-my-account #content .links .fdp-dash__title { text-transform: none; letter-spacing: 0; }

/* cartes ajoutées par des modules (hook displayCustomerAccount) : même rendu que les cartes natives */
html body.page-my-account #content .links > a span.link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  position: static;
  text-transform: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fdp-ink);
}
html body.page-my-account #content .links > a span.link-item::before { content: none !important; display: none !important; }
html body.page-my-account #content .links > a span.link-item > i {
  display: inline-flex !important;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  background: var(--fdp-purple-soft);
  color: var(--fdp-purple);
  font-size: 22px;
  line-height: 1;
  font-style: normal;
}
/* icône Font Awesome « cœur » des favoris -> équivalent Material Icons (FA n'est pas chargé sur cette page) */
html body.page-my-account #content .links > a span.link-item > i.fa {
  font-family: "Material Icons";
  font-weight: 400;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}
html body.page-my-account #content .links > a span.link-item > i.fa::before { content: none !important; }
html body.page-my-account #content .links > a span.link-item > i.fa-heart::after { content: "favorite"; }

html body.page-my-account .page-footer .text-xs-center { text-align: left; }
html body.page-my-account .page-footer .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
}
