/* Module client SeducZone — page Mon compte */
:root {
    --sz-charcoal: #2d2f32;
    --sz-charcoal-soft: #3a3539;
    --sz-pink: #cf2866;
    --sz-pink-dark: #aa174e;
    --sz-pink-soft: #fff1f6;
    --sz-border: #ead4dd;
    --sz-page: #f7f4f6;
    --sz-text: #25262a;
    --sz-muted: #64656a;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 0;
    background: var(--sz-page);
}

body.accountMenuPage {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--sz-text);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--sz-page);
}

.accountMenuPage #container {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0 0 42px;
    overflow: hidden;
}

.accountMenuPage #header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: var(--sz-charcoal);
}

.accountMenuPage #header img,
.accountMenuPage #header .imageHeader,
.accountMenuPage #header .headerPicture {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.accountMenuPage #navigation {
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--sz-charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.accountMenuPage #navigation ul {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 18px;
    list-style: none;
}

.accountMenuPage #navigation li {
    display: inline-flex;
    margin: 0;
    background: transparent;
}

.accountMenuPage #navigation li a,
.accountMenuPage #navigation li a:visited {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 8px 5px;
    color: #fff;
    font: 700 1rem/1.2 "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.accountMenuPage #navigation li a:hover,
.accountMenuPage #navigation li a:focus-visible {
    color: #ff8fba;
    border-bottom-color: var(--sz-pink);
    outline: none;
}

.accountMenuPage #sousHeader.accountHero {
    width: min(1120px, calc(100% - 36px));
    height: auto;
    margin: 28px auto 0;
    padding: 25px 24px 27px;
    text-align: center;
    color: var(--sz-text);
    border: 1px solid #dfe1e5;
    border-top: 4px solid var(--sz-pink);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(45, 47, 50, 0.08);
}

.accountMenuPage .accountEyebrow {
    margin: 0 0 3px;
    color: var(--sz-pink-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.accountMenuPage #sousHeader h1 {
    margin: 0;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    line-height: 1.2;
}

.accountMenuPage #sousHeader p:last-child {
    max-width: 680px;
    margin: 9px auto 0;
    color: #3f4045;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

.accountMenuPage #content {
    width: min(900px, calc(100% - 36px));
    margin: 24px auto 0;
    padding: 0;
    overflow: visible;
}

.accountMenuPage .accountMessages:empty {
    display: none;
}

.accountMenuPage .accountMessages {
    margin: 0 0 16px;
    padding: 12px 16px;
    color: #8b173f;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

.accountMenuPage .accountMessages .erreur {
    margin: 4px 0;
    font-size: 1rem;
}

.accountMenuPage #menuMonCompte {
    width: 100%;
    margin: 0;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.accountMenuPage #menuMonCompte h2 {
    margin: 0;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.accountMenuPage .accountIntro {
    margin: 8px auto 24px;
    color: #3f4045;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.5;
}

.accountMenuPage #menuMonCompte .accountActions {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    border: 0;
}

.accountMenuPage #menuMonCompte .accountActionsGuest {
    max-width: 660px;
}

.accountMenuPage #menuMonCompte .accountAction {
    width: 100%;
    max-width: none;
    min-height: 118px;
    margin: 0;
    padding: 0;
    text-align: left;
    border: 1px solid #dddfe3;
    border-left: 5px solid var(--sz-pink);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(45, 47, 50, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.accountMenuPage #menuMonCompte .accountAction:hover {
    transform: translateY(-2px);
    border-color: #df91ae;
    box-shadow: 0 8px 18px rgba(45, 47, 50, 0.1);
}

.accountMenuPage #menuMonCompte .accountAction a,
.accountMenuPage #menuMonCompte .accountAction a:visited {
    width: 100%;
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 22px;
    color: var(--sz-text);
    text-decoration: none;
}

.accountMenuPage #menuMonCompte .accountAction a:focus-visible {
    border-radius: 8px;
    outline: 3px solid rgba(207, 40, 102, 0.28);
    outline-offset: -4px;
}

.accountMenuPage .accountActionTitle {
    display: block;
    color: var(--sz-pink-dark);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
}

.accountMenuPage .accountActionText {
    display: block;
    margin-top: 5px;
    color: var(--sz-muted);
    font-size: 0.94rem;
    line-height: 1.4;
}

.accountMenuPage #menuMonCompte .accountActionPrimary {
    border-color: var(--sz-charcoal-soft);
    border-left-color: var(--sz-pink);
    background: linear-gradient(135deg, var(--sz-charcoal) 0%, var(--sz-charcoal-soft) 100%);
}

.accountMenuPage #menuMonCompte .accountActionPrimary .accountActionTitle,
.accountMenuPage #menuMonCompte .accountActionPrimary .accountActionText {
    color: #fff;
}

.accountMenuPage #menuMonCompte .accountActionLogout {
    border-left-color: #777a80;
    background: #f5f5f6;
}

.accountMenuPage #menuMonCompte .accountActionLogout .accountActionTitle {
    color: #4b4d52;
}

.accountMenuPage .retour {
    margin: 22px auto 0;
    text-align: center;
}

.accountMenuPage .retour a,
.accountMenuPage .retour a:visited {
    display: inline-flex;
    min-width: 260px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    border: 1px solid var(--sz-charcoal);
    border-radius: 9px;
    background: var(--sz-charcoal);
    box-shadow: 0 5px 12px rgba(45, 47, 50, 0.16);
    transition: background-color 160ms ease, transform 160ms ease;
}

.accountMenuPage .retour a:hover,
.accountMenuPage .retour a:focus-visible {
    background: var(--sz-pink-dark);
    border-color: var(--sz-pink-dark);
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 700px) {
    .accountMenuPage #navigation {
        min-height: 0;
        padding: 8px 10px;
    }

    .accountMenuPage #navigation ul {
        gap: 2px 10px;
    }

    .accountMenuPage #navigation li a,
    .accountMenuPage #navigation li a:visited {
        min-height: 36px;
        padding: 6px 3px;
        font-size: 0.88rem;
    }

    .accountMenuPage #sousHeader.accountHero {
        width: calc(100% - 24px);
        margin-top: 16px;
        padding: 20px 16px 21px;
    }

    .accountMenuPage #content {
        width: calc(100% - 24px);
        margin-top: 16px;
    }

    .accountMenuPage #menuMonCompte {
        padding: 23px 16px;
    }

    .accountMenuPage #menuMonCompte .accountActions {
        grid-template-columns: 1fr;
    }

    .accountMenuPage #menuMonCompte .accountAction,
    .accountMenuPage #menuMonCompte .accountAction a,
    .accountMenuPage #menuMonCompte .accountAction a:visited {
        min-height: 96px;
    }

    .accountMenuPage .retour a,
    .accountMenuPage .retour a:visited {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .accountMenuPage #navigation ul {
        gap: 0 8px;
    }

    .accountMenuPage #navigation li a,
    .accountMenuPage #navigation li a:visited {
        font-size: 0.8rem;
    }

    .accountMenuPage #sousHeader p:last-child {
        font-size: 1rem;
    }

    .accountMenuPage #menuMonCompte .accountAction a,
    .accountMenuPage #menuMonCompte .accountAction a:visited {
        padding: 17px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .accountMenuPage * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Module client — confirmation d'inscription */
.confirmationPage #content {
    width: min(700px, calc(100% - 36px));
}

.confirmationPage .confirmationCard {
    padding: 34px 38px;
    text-align: center;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.confirmationPage .confirmationIcon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    background: var(--sz-pink);
}

.confirmationPage .confirmationCard h2 {
    margin: 0 0 12px;
    color: var(--sz-text);
    font: 700 clamp(1.45rem, 4vw, 2rem)/1.25 Georgia, "Times New Roman", serif;
}

.confirmationPage .confirmationCard > p {
    margin: 0 auto 20px;
    color: #3f4045;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.6;
}

.confirmationPage .confirmationNotice {
    margin: 0 0 22px;
    padding: 14px 16px;
    color: #7b173a;
    text-align: left;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

.confirmationPage .confirmationButton,
.confirmationPage .confirmationButton:visited {
    width: min(100%, 340px);
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 9px;
    background: var(--sz-pink);
    box-shadow: 0 5px 12px rgba(207, 40, 102, 0.22);
}

.confirmationPage .confirmationButton:hover,
.confirmationPage .confirmationButton:focus-visible {
    background: var(--sz-pink-dark);
    outline: 3px solid rgba(207, 40, 102, 0.25);
    outline-offset: 3px;
}

.activationPage .confirmationIconError {
    background: #a92945;
}

.activationPage .confirmationButtonDark,
.activationPage .confirmationButtonDark:visited {
    background: var(--sz-charcoal);
}

.activationPage .confirmationButtonDark:hover,
.activationPage .confirmationButtonDark:focus-visible {
    background: var(--sz-pink-dark);
}

@media (max-width: 520px) {
    .confirmationPage .confirmationCard {
        padding: 27px 18px;
    }
}

/* Module client — changement du mot de passe */
.passwordPage #content {
    width: min(620px, calc(100% - 36px));
}

.passwordPage .accountSuccess {
    margin: 0 0 16px;
    padding: 13px 16px;
    color: #216337;
    font-weight: 700;
    border: 1px solid #abd8b8;
    border-left: 5px solid #2f8a4a;
    border-radius: 9px;
    background: #effaf2;
}

.passwordPage .accountSuccess p { margin: 0; }

.passwordPage .passwordCard {
    width: 100%;
    padding: 30px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.passwordPage .passwordCard h2 {
    margin: 0;
    text-align: center;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.passwordPage .passwordIntro {
    margin: 8px auto 24px;
    text-align: center;
    color: #3f4045;
    font-size: 1rem;
    font-weight: 600;
}

.passwordPage #mdpForm { margin: 0; }
.passwordPage .passwordField { margin-bottom: 18px; }

.passwordPage .passwordField label {
    display: block;
    margin: 0 0 7px;
    color: var(--sz-text);
    font-weight: 750;
}

.passwordPage .passwordField input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--sz-text);
    font: inherit;
    border: 1px solid #c9cdd3;
    border-radius: 8px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.passwordPage .passwordField input:focus {
    border-color: var(--sz-pink);
    box-shadow: 0 0 0 3px rgba(207, 40, 102, 0.16);
    outline: none;
}

.passwordPage #mdpForm button {
    width: 100%;
    min-height: 50px;
    margin: 2px 0 0;
    padding: 11px 20px;
    color: #fff;
    font: 750 1rem/1.3 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink);
    box-shadow: 0 5px 12px rgba(170, 23, 78, 0.2);
    transition: background-color 160ms ease, transform 160ms ease;
}

.passwordPage #mdpForm button:hover,
.passwordPage #mdpForm button:focus-visible {
    background: var(--sz-pink-dark);
    border-color: var(--sz-pink-dark);
    transform: translateY(-1px);
    outline: none;
}

@media (max-width: 700px) {
    .passwordPage #content { width: calc(100% - 24px); }
    .passwordPage .passwordCard { padding: 23px 16px; }
}

/* Module client — mot de passe oublié */
.forgotPasswordPage .localPasswordTest {
    position: fixed;
    z-index: 9999;
    top: 12px;
    right: 12px;
    width: min(280px, calc(100% - 24px));
    padding: 13px 15px;
    color: #25262a;
    border: 2px solid #cf2866;
    border-radius: 10px;
    background: #fff7bf;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.forgotPasswordPage .localPasswordTest strong,
.forgotPasswordPage .localPasswordTest span,
.forgotPasswordPage .localPasswordTest code,
.forgotPasswordPage .localPasswordTest small {
    display: block;
}

.forgotPasswordPage .localPasswordTest strong {
    color: #aa174e;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.forgotPasswordPage .localPasswordTest code {
    margin: 5px 0;
    padding: 5px 8px;
    color: #000;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    border-radius: 5px;
    background: #fff;
}

.forgotPasswordPage .localPasswordTest small {
    color: #555;
}

.forgotPasswordPage #content {
    width: min(700px, calc(100% - 36px));
}

.forgotPasswordPage .forgotPasswordCard {
    width: 100%;
    padding: 30px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.forgotPasswordPage .forgotPasswordCard h2 {
    margin: 0;
    text-align: center;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.forgotPasswordPage .forgotPasswordIntro {
    max-width: 570px;
    margin: 8px auto 22px;
    text-align: center;
    color: #3f4045;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
}

.forgotPasswordPage .forgotPasswordNotice {
    margin: 0 0 23px;
    padding: 15px 17px;
    color: #5d263b;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

.forgotPasswordPage .forgotPasswordNotice strong {
    display: block;
    margin-bottom: 3px;
    color: var(--sz-pink-dark);
    font-size: 1.03rem;
}

.forgotPasswordPage .forgotPasswordNotice p {
    margin: 0;
    line-height: 1.5;
}

.forgotPasswordPage #forgotPasswordForm label {
    display: block;
    margin: 0 0 7px;
    color: var(--sz-text);
    font-weight: 750;
}

.forgotPasswordPage #forgotPasswordForm input[type="email"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--sz-text);
    font: inherit;
    border: 1px solid #c9cdd3;
    border-radius: 8px;
    background: #fff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.forgotPasswordPage #forgotPasswordForm input[type="email"]:focus {
    border-color: var(--sz-pink);
    box-shadow: 0 0 0 3px rgba(207, 40, 102, 0.16);
    outline: none;
}

.forgotPasswordPage #forgotPasswordForm button {
    width: 100%;
    min-height: 50px;
    margin: 18px 0 0;
    padding: 11px 20px;
    color: #fff;
    font: 750 1rem/1.3 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink);
    box-shadow: 0 5px 12px rgba(170, 23, 78, 0.2);
    transition: background-color 160ms ease, transform 160ms ease;
}

.forgotPasswordPage #forgotPasswordForm button:hover,
.forgotPasswordPage #forgotPasswordForm button:focus-visible {
    background: var(--sz-pink-dark);
    border-color: var(--sz-pink-dark);
    transform: translateY(-1px);
    outline: none;
}

.forgotPasswordPage #forgotPasswordForm button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.forgotPasswordPage .sendingMessage {
    margin: 10px 0 0;
    text-align: center;
    color: var(--sz-muted);
    font-weight: 700;
}

@media (max-width: 700px) {
    .forgotPasswordPage #content { width: calc(100% - 24px); }
    .forgotPasswordPage .forgotPasswordCard { padding: 23px 16px; }
}

/* Module client — inscription */
.registrationPage #content {
    width: min(920px, calc(100% - 36px));
}

.registrationPage #inscriptionForm {
    display: grid;
    gap: 18px;
}

.registrationPage .registrationCanadaNotice {
    margin: 0;
    padding: 13px 16px;
    text-align: center;
    color: #5d263b;
    font-weight: 750;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

.registrationPage .registrationCard {
    padding: 26px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 9px 22px rgba(45, 47, 50, 0.08);
}

.registrationPage .registrationCard h2 {
    margin: 0;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.registrationPage .sectionHint {
    margin: 4px 0 17px;
    color: #3f4045;
    font-weight: 600;
}

.registrationPage .registrationTitleRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.registrationPage .registrationTitleRow .sectionHint { margin-bottom: 0; }

.registrationPage .registrationGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
}

.registrationPage .formFieldWide { grid-column: 1 / -1; }

.registrationPage .formField label {
    display: block;
    margin-bottom: 6px;
    color: var(--sz-text);
    font-weight: 750;
}

.registrationPage .formField label span { color: var(--sz-pink-dark); }

.registrationPage .formField input,
.registrationPage .formField select {
    width: 100%;
    min-height: 46px;
    padding: 9px 11px;
    color: var(--sz-text);
    font: inherit;
    border: 1px solid #c9cdd3;
    border-radius: 8px;
    background: #fff;
}

.registrationPage .formField input:focus,
.registrationPage .formField select:focus {
    border-color: var(--sz-pink);
    box-shadow: 0 0 0 3px rgba(207, 40, 102, 0.16);
    outline: none;
}

.registrationPage .formField small {
    display: block;
    margin-top: 5px;
    color: #4b4d52;
    font-weight: 600;
}

.registrationPage .secondaryButton {
    min-height: 42px;
    padding: 9px 14px;
    color: var(--sz-pink-dark);
    font-weight: 750;
    cursor: pointer;
    border: 1px solid #df91ae;
    border-radius: 8px;
    background: #fff;
}

.registrationPage .secondaryButton:hover,
.registrationPage .secondaryButton:focus-visible {
    color: #fff;
    background: var(--sz-pink-dark);
    outline: none;
}

.registrationPage .registrationSubmit {
    width: min(430px, 100%);
    min-height: 52px;
    margin: 2px auto 0;
    padding: 12px 22px;
    color: #fff;
    font: 750 1.05rem/1.3 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink);
    box-shadow: 0 5px 12px rgba(170, 23, 78, 0.2);
}

.registrationPage .registrationSubmit:hover,
.registrationPage .registrationSubmit:focus-visible {
    background: var(--sz-pink-dark);
    border-color: var(--sz-pink-dark);
    outline: none;
}

.registrationPage .registrationSubmit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.registrationPage .registrationLinks {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.registrationPage .registrationLinks a {
    min-width: 235px;
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    border-radius: 9px;
    background: var(--sz-charcoal);
}

.registrationPage .accountMessages ul {
    margin: 7px 0 0;
    padding-left: 22px;
}

@media (max-width: 700px) {
    .registrationPage #content { width: calc(100% - 24px); }
    .registrationPage .registrationCard { padding: 21px 15px; }
    .registrationPage .registrationGrid { grid-template-columns: 1fr; }
    .registrationPage .formFieldWide { grid-column: auto; }
    .registrationPage .registrationTitleRow { flex-direction: column; }
    .registrationPage .secondaryButton,
    .registrationPage .registrationLinks a { width: 100%; }
}

/* Module client — détail d'une commande */
.orderDetailsPage #content {
    width: min(1160px, calc(100% - 36px));
}

.orderDetailsPage .orderDetailsCard {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.orderDetailsPage .invoiceTitle {
    margin: 0 0 22px;
    color: var(--sz-text);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.orderDetailsPage .sellerInvoiceInfo {
    display: none;
}

.orderDetailsPage .printControls {
    margin: -8px 0 22px;
    text-align: center;
}

.orderDetailsPage .printInvoiceButton {
    min-height: 45px;
    padding: 10px 22px;
    color: #fff;
    font: 750 0.96rem/1.2 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 8px;
    background: var(--sz-pink);
    box-shadow: 0 4px 10px rgba(207, 40, 102, 0.18);
}

.orderDetailsPage .printInvoiceButton:hover,
.orderDetailsPage .printInvoiceButton:focus-visible {
    border-color: var(--sz-pink-dark);
    background: var(--sz-pink-dark);
    outline: none;
}

.orderDetailsPage .invoiceMeta,
.orderDetailsPage .invoiceAddresses,
.orderDetailsPage .invoiceItems,
.orderDetailsPage .invoiceTotals {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.orderDetailsPage .invoiceMeta {
    margin-bottom: 22px;
    border: 1px solid #dddfe3;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.orderDetailsPage .invoiceMeta td {
    padding: 13px 15px;
    border-right: 1px solid #e1e3e6;
    border-bottom: 1px solid #e1e3e6;
}

.orderDetailsPage .invoiceMeta tr:last-child td {
    border-bottom: 0;
}

.orderDetailsPage .invoiceAddresses {
    margin-bottom: 24px;
    border-spacing: 14px 0;
}

.orderDetailsPage .invoiceAddresses th {
    padding: 0 12px 8px;
    color: var(--sz-pink-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
}

.orderDetailsPage .invoiceAddresses td {
    width: 50%;
    padding: 0;
    vertical-align: top;
}

.orderDetailsPage .addressText {
    min-height: 120px;
    padding: 17px;
    line-height: 1.55;
    border: 1px solid #d8dbe0;
    border-left: 5px solid var(--sz-pink);
    border-radius: 10px;
    background: #fff;
}

.orderDetailsPage .invoiceItemsWrap {
    width: 100%;
    overflow-x: auto;
}

.orderDetailsPage .invoiceItems {
    border: 1px solid #d8dbe0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.orderDetailsPage .invoiceItems th {
    padding: 12px 9px;
    color: var(--sz-text);
    font-size: 0.86rem;
    text-align: center;
    background: #f1f2f4;
    border-bottom: 1px solid #d8dbe0;
}

.orderDetailsPage .invoiceItems td {
    padding: 13px 9px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e5e6e9;
}

.orderDetailsPage .orderProductImage {
    display: block;
    width: 100px;
    max-width: 100%;
    height: 110px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 7px;
    background: #fff;
}

.orderDetailsPage .photoUnavailable {
    display: inline-block;
    max-width: 100px;
    color: #64666b;
    font-size: 0.78rem;
    line-height: 1.25;
}

.orderDetailsPage .availability {
    display: block;
    margin-top: 4px;
    color: #55575c;
    font-size: 0.78rem;
}

.orderDetailsPage .renewButton {
    min-height: 42px;
    padding: 9px 13px;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 8px;
    background: var(--sz-pink);
}

.orderDetailsPage .invoiceTotals {
    width: min(430px, 100%);
    margin: 24px 0 0 auto;
    border: 1px solid #d8dbe0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.orderDetailsPage .invoiceTotals td {
    padding: 9px 14px;
    border-bottom: 1px solid #ececef;
}

.orderDetailsPage .invoiceTotals tr:last-child td {
    color: var(--sz-text);
    font-size: 1.08rem;
    background: var(--sz-pink-soft);
    border-bottom: 0;
}

.orderDetailsPage .returnToOrders {
    margin: 24px auto 0;
    text-align: center;
}

.orderDetailsPage .returnToOrders a,
.orderDetailsPage .returnToOrders a:visited {
    display: inline-flex;
    min-width: 290px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    border-radius: 9px;
    background: var(--sz-charcoal);
}

@media (max-width: 760px) {
    .orderDetailsPage .orderDetailsCard {
        padding: 20px 12px;
    }

    .orderDetailsPage .invoiceMeta,
    .orderDetailsPage .invoiceMeta tbody,
    .orderDetailsPage .invoiceMeta tr,
    .orderDetailsPage .invoiceMeta td {
        display: block;
        width: 100%;
    }

    .orderDetailsPage .invoiceMeta td {
        border-right: 0;
    }

    .orderDetailsPage .invoiceAddresses,
    .orderDetailsPage .invoiceAddresses tbody,
    .orderDetailsPage .invoiceAddresses tr,
    .orderDetailsPage .invoiceAddresses th,
    .orderDetailsPage .invoiceAddresses td {
        display: block;
        width: 100%;
    }

    .orderDetailsPage .invoiceAddresses th {
        padding: 10px 0 7px;
        text-align: left;
    }

    .orderDetailsPage .invoiceAddresses td {
        margin-bottom: 10px;
    }

    .orderDetailsPage .invoiceItems,
    .orderDetailsPage .invoiceItems tbody,
    .orderDetailsPage .invoiceItems tr,
    .orderDetailsPage .invoiceItems td {
        display: block;
        width: 100%;
    }

    .orderDetailsPage .invoiceItems tr:first-child {
        display: none;
    }

    .orderDetailsPage .invoiceItems tr:not(:first-child) {
        margin-bottom: 14px;
        padding: 12px 14px;
        border-left: 5px solid var(--sz-pink);
        background: #fff;
    }

    .orderDetailsPage .invoiceItems td {
        display: grid;
        grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1.25fr);
        gap: 12px;
        align-items: center;
        padding: 8px 0;
        text-align: left;
        border: 0;
    }

    .orderDetailsPage .invoiceItems td::before {
        color: var(--sz-pink-dark);
        font-size: 0.76rem;
        font-weight: 800;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .orderDetailsPage .orderProductImage {
        margin: 0;
    }

    .orderDetailsPage .renewButton,
    .orderDetailsPage .returnToOrders a {
        width: 100%;
        min-width: 0;
    }
}

/* Facture compacte pour impression sur papier */
@media print {
    @page {
        size: portrait;
        margin: 8mm;
    }

    .orderDetailsPage {
        color: #000;
        font-size: 9pt;
        background: #fff !important;
    }

    .orderDetailsPage #container,
    .orderDetailsPage #content,
    .orderDetailsPage .orderDetailsCard {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .orderDetailsPage #header,
    .orderDetailsPage #navigation,
    .orderDetailsPage #sousHeader,
    .orderDetailsPage #footer,
    .orderDetailsPage #fin,
    .orderDetailsPage .printControls,
    .orderDetailsPage .returnToOrders,
    .orderDetailsPage .renewButton {
        display: none !important;
    }

    .orderDetailsPage .invoiceTitle {
        margin: 0 0 4mm;
        font-size: 18pt;
    }

    .orderDetailsPage .sellerInvoiceInfo {
        display: block;
        margin: 0 0 3mm;
        color: #000;
        text-align: center;
        font-size: 9pt;
        line-height: 1.3;
    }

    .orderDetailsPage .sellerInvoiceInfo strong {
        font-size: 11pt;
    }

    .orderDetailsPage .invoiceMeta {
        display: table !important;
        margin-bottom: 3mm;
        font-size: 8.5pt;
    }

    .orderDetailsPage .invoiceMeta tbody,
    .orderDetailsPage .invoiceAddresses tbody {
        display: table-row-group !important;
    }

    .orderDetailsPage .invoiceMeta tr,
    .orderDetailsPage .invoiceAddresses tr {
        display: table-row !important;
    }

    .orderDetailsPage .invoiceMeta td {
        display: table-cell !important;
        width: auto !important;
        padding: 2mm 2.5mm;
    }

    .orderDetailsPage .invoiceAddresses {
        display: table !important;
        margin-bottom: 3mm;
        border-spacing: 3mm 0;
    }

    .orderDetailsPage .invoiceAddresses th {
        display: table-cell !important;
        width: 50% !important;
        padding: 0 2mm 1.5mm;
        color: #000;
        font-size: 9pt;
    }

    .orderDetailsPage .invoiceAddresses td {
        display: table-cell !important;
        width: 50% !important;
        margin: 0 !important;
    }

    .orderDetailsPage .addressText {
        min-height: 0;
        padding: 2.5mm;
        line-height: 1.25;
        border: 1px solid #999;
        border-left: 3px solid #555;
        border-radius: 0;
    }

    .orderDetailsPage .invoiceItemsWrap {
        overflow: visible;
    }

    .orderDetailsPage .invoiceItems {
        display: table !important;
        font-size: 7.5pt;
        border-color: #999;
    }

    .orderDetailsPage .invoiceItems tbody {
        display: table-row-group !important;
    }

    .orderDetailsPage .invoiceItems tr,
    .orderDetailsPage .invoiceItems tr:first-child,
    .orderDetailsPage .invoiceItems tr:not(:first-child) {
        display: table-row !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .orderDetailsPage .invoiceItems th,
    .orderDetailsPage .invoiceItems td {
        display: table-cell !important;
        width: auto !important;
        padding: 1.5mm !important;
        color: #000;
        text-align: left;
        border-bottom: 1px solid #bbb !important;
    }

    .orderDetailsPage .invoiceItems td::before {
        display: none !important;
    }

    .orderDetailsPage .invoiceItems th:last-child,
    .orderDetailsPage .invoiceItems td:last-child {
        display: none !important;
    }

    .orderDetailsPage .orderProductImage {
        width: 13mm;
        height: 15mm;
        margin: 0;
        object-fit: contain;
    }

    .orderDetailsPage .availability {
        margin-top: 1mm;
        color: #222;
        font-size: 6.5pt;
    }

    .orderDetailsPage .invoiceTotals {
        width: 72mm;
        margin-top: 3mm;
        font-size: 8pt;
        break-inside: avoid;
        page-break-inside: avoid;
        border-color: #999;
        border-radius: 0;
    }

    .orderDetailsPage .invoiceTotals td {
        padding: 1.3mm 2mm;
    }

    .orderDetailsPage .invoiceTotals td:last-child {
        text-align: right;
    }

    .orderDetailsPage .merci {
        margin: 3mm 0 0;
        font-size: 9pt;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Module client — historique des commandes */
.ordersPage #content {
    width: min(1120px, calc(100% - 36px));
}

.ordersPage .ordersCard {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.ordersPage .ordersTableWrap {
    width: 100%;
    overflow-x: auto;
}

.ordersPage .ordersPagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 24px auto 4px;
}

.ordersPage .ordersPagination a,
.ordersPage .ordersPagination span {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: var(--sz-text);
    font-weight: 750;
    text-decoration: none;
    border: 1px solid #cfd2d7;
    border-radius: 8px;
    background: #fff;
}

.ordersPage .ordersPagination a:hover,
.ordersPage .ordersPagination a:focus-visible,
.ordersPage .ordersPagination .active {
    color: #fff;
    border-color: var(--sz-pink);
    background: var(--sz-pink);
    outline: none;
}

.ordersPage .ordersPagination .paginationDirection {
    min-width: 116px;
}

.ordersPage .ordersTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dddfe3;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
}

.ordersPage .ordersTable th {
    padding: 14px 12px;
    color: var(--sz-text);
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.3;
    background: #f1f2f4;
    border-bottom: 1px solid #d9dce1;
}

.ordersPage .ordersTable td {
    padding: 14px 12px;
    color: var(--sz-text);
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e5e6e9;
}

.ordersPage .ordersTable tr:last-child td {
    border-bottom: 0;
}

.ordersPage .ordersTable tr:hover td {
    background: #fff8fb;
}

.ordersPage .orderStatus {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    color: #7c1739;
    font-size: 0.86rem;
    font-weight: 800;
    border: 1px solid #efb5c9;
    border-radius: 999px;
    background: var(--sz-pink-soft);
}

.ordersPage .orderTotal {
    white-space: nowrap;
    font-weight: 800;
}

.ordersPage .orderDetails,
.ordersPage .orderDetails:visited {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    color: #fff;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 8px;
    background: var(--sz-pink);
}

.ordersPage .orderDetails:hover,
.ordersPage .orderDetails:focus-visible {
    background: var(--sz-pink-dark);
    outline: none;
}

.ordersPage .merci {
    margin: 22px 0 0;
    color: var(--sz-pink-dark);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.14rem;
    font-weight: 700;
}

.ordersPage .emptyOrders {
    padding: 32px 20px;
    color: #3f4045;
    text-align: center;
    border: 1px solid #dddfe3;
    border-radius: 11px;
    background: #fff;
}

.ordersPage .emptyOrders strong {
    display: block;
    color: var(--sz-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.ordersPage .emptyOrders p {
    margin: 7px 0 0;
}

@media (max-width: 760px) {
    .ordersPage .ordersCard {
        padding: 18px 12px;
    }

    .ordersPage .ordersTable,
    .ordersPage .ordersTable tbody,
    .ordersPage .ordersTable tr,
    .ordersPage .ordersTable td {
        display: block;
        width: 100%;
    }

    .ordersPage .ordersTable tr:first-child {
        display: none;
    }

    .ordersPage .ordersTable tr:not(:first-child) {
        margin-bottom: 14px;
        padding: 10px 14px 14px;
        border: 1px solid #dddfe3;
        border-left: 5px solid var(--sz-pink);
        border-radius: 10px;
        background: #fff;
    }

    .ordersPage .ordersTable tr:not(:first-child):last-child {
        margin-bottom: 0;
    }

    .ordersPage .ordersTable td {
        display: grid;
        grid-template-columns: minmax(105px, 0.75fr) minmax(0, 1.25fr);
        gap: 12px;
        align-items: center;
        padding: 8px 0;
        text-align: left;
        border: 0;
    }

    .ordersPage .ordersTable td::before {
        color: var(--sz-pink-dark);
        font-size: 0.76rem;
        font-weight: 800;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .ordersPage .orderDetails {
        width: 100%;
        white-space: normal;
    }
}

/* Module client — gestion des adresses de livraison */
.shippingAddressPage #content {
    width: min(1180px, calc(100% - 36px));
}

.shippingAddressPage .shippingCard {
    width: 100%;
    padding: 28px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.shippingAddressPage .shippingFieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.shippingAddressPage .sectionTitle {
    margin: 0 0 22px;
    color: var(--sz-text);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.shippingAddressPage .requiredHelp {
    max-width: 820px;
    margin: 0 auto 18px;
    color: #55575c;
    font-weight: 600;
}

.shippingAddressPage .shippingFieldset > p:not(.shippingFormActions):not(.requiredHelp) {
    display: grid;
    grid-template-columns: minmax(210px, 0.85fr) minmax(0, 1.4fr);
    gap: 12px 18px;
    align-items: center;
    max-width: 820px;
    margin: 14px auto;
}

.shippingAddressPage .shippingFieldset label {
    color: var(--sz-text);
    font-weight: 700;
}

.shippingAddressPage .shippingFieldset input[type="text"],
.shippingAddressPage .shippingFieldset select {
    width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    color: var(--sz-text);
    font: 400 1rem/1.3 "Segoe UI", Arial, sans-serif;
    border: 1px solid #cdd1d7;
    border-radius: 8px;
    background: #fff;
}

.shippingAddressPage .shippingFieldset input:focus,
.shippingAddressPage .shippingFieldset select:focus {
    border-color: var(--sz-pink);
    outline: 3px solid rgba(207, 40, 102, 0.15);
}

.shippingAddressPage .shippingFormActions {
    margin: 20px auto 0;
    text-align: center;
}

.shippingAddressPage button,
.shippingAddressPage input[type="submit"],
.shippingAddressPage .tableActionLink {
    min-height: 42px;
    padding: 9px 16px;
    color: #fff;
    font: 750 0.92rem/1.2 "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 8px;
    background: var(--sz-pink);
}

.shippingAddressPage .secondaryButton {
    min-width: 280px;
    border-color: var(--sz-charcoal);
    background: var(--sz-charcoal);
}

.shippingAddressPage .shippingTableWrap {
    width: 100%;
    overflow-x: auto;
}

.shippingAddressPage .shippingTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dddfe3;
    border-radius: 11px;
    background: #fff;
    overflow: hidden;
}

.shippingAddressPage .shippingTable th {
    padding: 13px 10px;
    color: var(--sz-text);
    font-size: 0.9rem;
    text-align: center;
    background: #f2f2f4;
    border-bottom: 1px solid #dddfe3;
}

.shippingAddressPage .shippingTable td {
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e7e7e9;
}

.shippingAddressPage .shippingTable tr:last-child td {
    border-bottom: 0;
}

.shippingAddressPage .shippingTable .shippingAddressCell {
    min-width: 270px;
    text-align: left;
    line-height: 1.5;
}

.shippingAddressPage .shippingTable input[type="radio"],
.shippingAddressPage .shippingTable input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--sz-pink);
}

.shippingAddressPage .deleteAddress,
.shippingAddressPage #EF {
    min-width: 42px;
    padding: 7px;
    color: #fff;
    border-color: #a52635;
    background: #a52635;
}

.shippingAddressPage h4 {
    margin: 22px auto 0;
    padding: 16px;
    text-align: center;
    font-size: 1rem;
    border: 1px solid #efb5c9;
    border-radius: 10px;
    background: var(--sz-pink-soft);
}

.shippingAddressPage h4 #ajouter_ad {
    min-width: 46px;
    margin-left: 12px;
    font-size: 1.2rem;
}

@media (max-width: 760px) {
    .shippingAddressPage .shippingCard {
        padding: 22px 14px;
    }

    .shippingAddressPage .shippingFieldset > p:not(.shippingFormActions):not(.requiredHelp) {
        display: block;
        margin: 15px 0;
    }

    .shippingAddressPage .shippingFieldset label {
        display: block;
        margin-bottom: 6px;
    }

    .shippingAddressPage .shippingTable,
    .shippingAddressPage .shippingTable tbody,
    .shippingAddressPage .shippingTable tr,
    .shippingAddressPage .shippingTable td {
        display: block;
        width: 100%;
    }

    .shippingAddressPage .shippingTable tr:first-child {
        display: none;
    }

    .shippingAddressPage .shippingTable tr:not(:first-child) {
        padding: 12px 14px;
        border-bottom: 1px solid #dddfe3;
    }

    .shippingAddressPage .shippingTable td,
    .shippingAddressPage .shippingTable .shippingAddressCell {
        min-width: 0;
        padding: 9px 0;
        text-align: left;
        border: 0;
    }

    .shippingAddressPage .shippingTable td::before {
        display: block;
        margin-bottom: 5px;
        color: var(--sz-pink-dark);
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .shippingAddressPage .shippingTable button,
    .shippingAddressPage .shippingTable .tableActionLink,
    .shippingAddressPage .secondaryButton {
        width: 100%;
        min-width: 0;
        justify-content: center;
        display: inline-flex;
        align-items: center;
    }
}

/* Module client — carnet d'adresses */
.addressBookPage #content {
    width: min(1040px, calc(100% - 36px));
}

.addressBookPage #clientForm {
    width: 100%;
    margin: 0;
}

.addressBookPage .addressSummaryCard,
.addressBookPage .profileFormCard {
    width: 100%;
    margin: 0;
    padding: 30px;
    border: 1px solid var(--sz-border);
    border-top: 4px solid var(--sz-pink);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 12px 30px rgba(45, 47, 50, 0.1);
}

.addressBookPage .sectionTitle {
    margin: 0 0 8px;
    color: var(--sz-text);
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.addressBookPage .addressIntro {
    margin: 0 0 24px;
    color: #3f4045;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
}

.addressBookPage .profileNotice {
    max-width: 820px;
    margin: 0 auto 22px;
    padding: 14px 17px;
    color: #7f173b;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

.addressBookPage #sommaire {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 14px 0;
}

.addressBookPage #sommaire th {
    padding: 17px 20px 10px;
    color: var(--sz-pink-dark);
    text-align: left;
    font-size: 1.08rem;
}

.addressBookPage #sommaire td {
    height: 100%;
    padding: 8px 20px 20px;
    vertical-align: top;
    line-height: 1.55;
    border: 1px solid #dddfe3;
    border-left: 5px solid var(--sz-pink);
    border-radius: 11px;
    background: #fff;
}

.addressBookPage input[type="submit"],
.addressBookPage .fondBlanc {
    min-height: 45px;
    padding: 10px 20px;
    color: #fff;
    font: 750 0.96rem/1.2 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    border: 1px solid var(--sz-pink);
    border-radius: 8px;
    background: var(--sz-pink);
    box-shadow: 0 4px 10px rgba(207, 40, 102, 0.18);
}

.addressBookPage input[type="submit"]:hover,
.addressBookPage input[type="submit"]:focus-visible {
    border-color: var(--sz-pink-dark);
    background: var(--sz-pink-dark);
    outline: none;
}

.addressBookPage .profileFormCard {
    min-width: 0;
}

.addressBookPage .profileFormCard > p {
    display: grid;
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.45fr);
    gap: 10px 18px;
    align-items: center;
    max-width: 820px;
    margin: 14px auto;
}

.addressBookPage .profileFormCard label {
    color: var(--sz-text);
    font-weight: 700;
}

.addressBookPage .requiredMark {
    color: var(--sz-pink-dark);
    font-weight: 800;
}

.addressBookPage .profileFormCard > .formSubmitRow {
    display: block;
    max-width: 820px;
    margin: 28px auto 4px;
    text-align: center;
}

.addressBookPage .formSubmitRow input[type="submit"] {
    width: auto;
    min-width: 290px;
}

.addressBookPage .profileFormCard input[type="text"],
.addressBookPage .profileFormCard input[type="email"],
.addressBookPage .profileFormCard select {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 9px 12px;
    color: var(--sz-text);
    font: 400 1rem/1.3 "Segoe UI", Arial, sans-serif;
    border: 1px solid #cdd1d7;
    border-radius: 8px;
    background: #fff;
}

.addressBookPage .profileFormCard input[readonly] {
    color: #55575c;
    background: #f1f2f4;
}

.addressBookPage .profileFormCard input:focus,
.addressBookPage .profileFormCard select:focus {
    border-color: var(--sz-pink);
    outline: 3px solid rgba(207, 40, 102, 0.15);
}

.addressBookPage .formSectionTitle {
    display: block !important;
    max-width: 820px !important;
    margin: 28px auto 16px !important;
    padding: 12px 16px;
    color: var(--sz-pink-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-left: 5px solid var(--sz-pink);
    background: var(--sz-pink-soft);
}

.addressBookPage .marginGauche,
.addressBookPage .marginGauche2 {
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.addressBookPage .marginGauche2 {
    display: block;
    padding: 7px 0;
}

.addressBookPage .erreur {
    margin: 0 0 10px;
    padding: 12px 16px;
    color: #8b173f;
    font-size: 1rem;
    border: 1px solid #efb5c9;
    border-left: 5px solid var(--sz-pink);
    border-radius: 9px;
    background: var(--sz-pink-soft);
}

@media (max-width: 700px) {
    .addressBookPage .addressSummaryCard,
    .addressBookPage .profileFormCard {
        padding: 22px 15px;
    }

    .addressBookPage #sommaire,
    .addressBookPage #sommaire tbody,
    .addressBookPage #sommaire tr {
        display: block;
        width: 100%;
    }

    .addressBookPage #sommaire tr:first-child {
        display: none;
    }

    .addressBookPage #sommaire td {
        display: block;
        width: 100%;
        margin: 0 0 14px;
        padding: 54px 17px 17px;
        position: relative;
    }

    .addressBookPage #sommaire td::before {
        position: absolute;
        top: 15px;
        left: 17px;
        color: var(--sz-pink-dark);
        font-size: 1.04rem;
        font-weight: 800;
    }

    .addressBookPage #sommaire td:first-child::before {
        content: "Compte client";
    }

    .addressBookPage #sommaire td:nth-child(2)::before {
        content: "Adresse de livraison active";
    }

    .addressBookPage #sommaire input[type="submit"] {
        width: 100%;
        white-space: normal;
    }

    .addressBookPage .profileFormCard > p {
        display: block;
        margin: 15px 0;
    }

    .addressBookPage .profileFormCard label {
        display: block;
        margin-bottom: 6px;
    }

    .addressBookPage .profileFormCard input[type="submit"] {
        width: 100%;
        white-space: normal;
    }

    .addressBookPage .formSubmitRow input[type="submit"] {
        min-width: 0;
    }
}
