.pdd-me-page .entry-title,
.pdd-me-page .page-title,
.pdd-me-page h1.wp-block-post-title{display:none!important}

.pdd-me-fullwidth-main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;float:none!important;overflow:visible!important}
body.pdd-me-page #main-content,
body.pdd-me-page .container,
body.pdd-me-page #left-area{width:100%!important;max-width:none!important}
body.pdd-me-page #left-area{padding:0!important;float:none!important}
body.pdd-me-page #sidebar,
body.pdd-me-page #main-content .container:before{display:none!important}

/* Reprise directe des proportions de cov1122-3 */
.pdd-me-module{
  --pdd-green:#456943;
  --pdd-green-dark:#294c31;
  --pdd-green-soft:#c2d1b2;
  --pdd-green-pale:#eef3e8;
  --pdd-white:#fff;
  --pdd-border:#dce4d5;
  --pdd-text:#2d4733;
  --pdd-muted:#68776a;
  --pdd-danger:#a63f3f;
  --pdd-title:#4c6b49;
  --pdd-card-radius:26px;
  --pdd-shadow:0 16px 40px rgba(46,77,50,.08);
  width:calc(100% - 40px)!important;
  max-width:1360px!important;
  margin:36px auto 48px!important;
  padding:0 1.25rem 1.25rem;
  background:#f7f8f6;
  color:var(--pdd-text);
  font-family:inherit;
  font-size:15px;
  line-height:1.55;
}
.pdd-me-module *{box-sizing:border-box}

.pdd-me-appbar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:26px;
  min-height:82px;
  margin:0 -1.25rem 1rem;
  padding:14px 22px;
  background:#c2d1b2;
  border:1px solid rgba(47,78,48,.14);
  border-radius:24px 24px 0 0;
  box-shadow:none;
}
.pdd-me-brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.pdd-me-logo{display:grid;place-items:center;width:50px;height:50px;min-width:50px;border:2px solid rgba(255,255,255,.95);border-radius:50%;background:#fff;color:#4c6b49;box-shadow:none}
.pdd-me-svg-icon{width:27px;height:27px;display:block;color:#4c6b49}
.pdd-me-brand-title{display:flex;flex-direction:column;line-height:1.03;color:#294c31}
.pdd-me-brand-title strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;line-height:1.05;font-weight:700;color:#4c6b49;letter-spacing:-.02em}
.pdd-me-brand-title small{margin-top:5px;color:#294c31;font-size:12px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}
.pdd-me-main-nav{display:flex;justify-content:center;align-items:center;gap:.35rem;min-width:0}
.pdd-me-main-tab{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border:1px solid #6f9869;border-radius:999px;background:#6f9869;color:#fff;font:inherit;font-family:Georgia,"Times New Roman",serif;font-weight:800;line-height:1.2;white-space:nowrap}
.pdd-me-profile{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:max-content;color:#294c31;font-weight:800;font-size:15px}
.pdd-me-profile img,.pdd-me-avatar-placeholder{width:46px;height:46px;min-width:46px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.95);display:grid;place-items:center;background:#fff;box-shadow:none}
.pdd-me-avatar-placeholder .pdd-me-svg-icon{width:24px;height:24px}

.pdd-me-notice{margin:.75rem 0 1rem;padding:.75rem 1rem;border-radius:14px;box-shadow:0 8px 20px rgba(46,77,50,.07);font-weight:700}
.pdd-me-notice-success{background:#eaf6ea;color:#315b36;border:1px solid #9bbf8e}
.pdd-me-notice-error{background:#fff0ef;color:#83322e;border:1px solid #d89a95}

/* Même grand panneau blanc que Covoiturage */
.pdd-me-panel{
  padding:clamp(1rem,2.5vw,2rem);
  background:#fff;
  border:1px solid var(--pdd-border);
  border-radius:24px;
  box-shadow:var(--pdd-shadow);
}
.pdd-me-subtabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0;padding:10px;background:var(--pdd-green-pale);border-radius:18px}
.pdd-me-subtab{appearance:none;display:inline-flex;align-items:center;min-height:46px;padding:11px 18px;border:0;border-radius:999px;background:#6f9869;color:#fff;font:inherit;font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:700;box-shadow:0 2px 8px rgba(35,55,35,.06)}
.pdd-me-tab-icon{width:22px;height:22px;margin-right:8px;color:#fff}

/* Même carte Mon compte que la section résident du covoiturage */
.pdd-me-account,.pdd-me-card{background:#fff;border:1px solid rgba(69,105,67,.14);border-radius:var(--pdd-card-radius);padding:24px;box-shadow:0 10px 28px rgba(35,55,35,.06)}
.pdd-me-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px}
.pdd-me-section-heading>span{display:grid;place-items:center;flex:0 0 38px;color:#4c6b49}
.pdd-me-section-icon{width:30px;height:30px;color:#4c6b49}
.pdd-me-section-heading h2,.pdd-me-edit-form h3{margin:0;color:#4c6b49;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.02em}
.pdd-me-section-heading h2{font-size:clamp(1.55rem,2.5vw,2.15rem);line-height:1.12}
.pdd-me-section-heading p{margin:0;font-size:15px;color:var(--pdd-text)}
.pdd-me-section-heading>span + div{flex:1}

.pdd-me-account-overview{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:22px;align-items:stretch;margin-top:22px}
.pdd-me-profile-card{min-height:210px;padding:24px;border:1px solid rgba(69,105,67,.12);border-radius:22px;background:linear-gradient(135deg,var(--pdd-green-pale),#fff);display:flex;align-items:center;gap:20px}
.pdd-me-avatar{width:88px;height:88px;flex:0 0 88px;border-radius:50%;object-fit:cover;border:3px solid var(--pdd-green-pale);background:#fff}
.pdd-me-account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem 1.4rem;margin:1rem 0 1.5rem;padding:1.25rem;background:var(--pdd-green-pale);border-radius:22px;flex:1;min-width:0}
.pdd-me-account-details div{min-width:0;margin:.35rem 0}
.pdd-me-account-details strong{display:inline;color:var(--pdd-text);font-size:15px;font-weight:800}
.pdd-me-account-details span{display:inline;margin-left:4px;color:var(--pdd-text);font-size:15px;overflow-wrap:anywhere}

.pdd-me-account-actions{display:grid;gap:9px;align-content:center}
.pdd-me-account-actions form,.pdd-me-account-action-form{margin:0!important;padding:0!important;border:0!important;background:transparent!important;display:block!important}
.pdd-me-account-action{width:100%;min-height:58px;display:grid;grid-template-columns:30px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:11px 15px;border:1px solid var(--pdd-border);border-radius:16px;background:#fff;color:#1f2d1f;text-align:left;text-decoration:none;font:inherit;cursor:pointer;box-shadow:none}
.pdd-me-account-action:hover,.pdd-me-account-action:focus-visible{border-color:#9eb792;background:#f7faf5;color:#1f2d1f;outline:none}
.pdd-me-account-action strong{font-family:Georgia,"Times New Roman",serif;font-size:15px;font-weight:800}
.pdd-me-action-icon{width:23px;height:23px;color:#4c6b49}
.pdd-me-chevron{width:20px;height:20px;color:#294c31}
.pdd-me-account-action>span:last-child{text-align:right}
.pdd-me-logout,.pdd-me-logout strong,.pdd-me-logout .pdd-me-action-icon,.pdd-me-logout .pdd-me-chevron,.pdd-me-delete,.pdd-me-delete strong,.pdd-me-delete .pdd-me-chevron{color:#9b3a31}

.pdd-me-edit-form{margin-top:22px;padding:18px;background:var(--pdd-green-pale);border-radius:18px}
.pdd-me-edit-form h3{font-size:1.2rem;margin-bottom:16px}
.pdd-me-form p{margin:0 0 1rem}
.pdd-me-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.pdd-me-form label{display:block;margin-bottom:.38rem;color:var(--pdd-green-dark);font-size:14px;font-weight:800}
.pdd-me-form input,.pdd-me-form select,.pdd-me-form textarea{width:100%;min-height:46px;padding:.75rem .85rem;border:1px solid var(--pdd-border);border-radius:14px;background:#fff;color:var(--pdd-text);font:inherit;font-size:14px}
.pdd-me-form textarea{min-height:105px;resize:vertical}
.pdd-me-form small{display:block;margin-top:.35rem;color:var(--pdd-muted);font-size:12px}
.pdd-me-check{display:flex!important;align-items:center;gap:8px;margin:0 0 18px!important}.pdd-me-check input{width:auto!important;min-height:0!important}
.pdd-me-button{min-height:46px;padding:.7rem 1.15rem;border:0;border-radius:999px;background:var(--pdd-green);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.pdd-me-button-secondary{background:#fff;color:var(--pdd-green);border:1px solid var(--pdd-green)}
.pdd-me-inline-actions{display:flex;gap:10px;flex-wrap:wrap}
.pdd-me-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}

@media(max-width:900px){
  .pdd-me-account-overview,.pdd-me-auth-grid{grid-template-columns:1fr}
  .pdd-me-profile-card{min-height:0}
}
@media(max-width:700px){
  .pdd-me-module{width:calc(100% - 20px)!important;margin:18px auto 32px!important;padding:0 .75rem .75rem}
  .pdd-me-appbar{margin-left:-.75rem;margin-right:-.75rem;min-height:66px;padding:12px;gap:12px;border-radius:18px 18px 0 0}
  .pdd-me-main-nav{justify-content:center}
  .pdd-me-brand-title strong{font-size:17px}.pdd-me-brand-title small,.pdd-me-profile>span:first-child{display:none}
  .pdd-me-logo,.pdd-me-profile img,.pdd-me-avatar-placeholder{width:42px;height:42px;min-width:42px}
  .pdd-me-main-tab{min-height:44px;padding:0 16px}
  .pdd-me-panel{padding:1rem}
  .pdd-me-subtabs{display:grid;grid-template-columns:1fr;margin:16px 0}
  .pdd-me-subtab{width:100%;justify-content:center}
  .pdd-me-section-heading{align-items:flex-start}
  .pdd-me-profile-card{flex-direction:column;align-items:flex-start}
  .pdd-me-avatar{margin:auto}
  .pdd-me-account-details{width:100%;grid-template-columns:1fr}
  .pdd-me-form-grid{grid-template-columns:1fr}
}

/* 0.1.6 — bloc informations validé */
.pdd-me-account-details{column-gap:44px;row-gap:30px}
.pdd-me-account-details div{display:flex;align-items:baseline;gap:6px;white-space:nowrap;margin:0}
.pdd-me-account-details strong,.pdd-me-account-details span{display:inline;margin:0}
.pdd-me-account-details strong{flex:0 0 auto}
.pdd-me-account-details span{min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.pdd-me-account-details div{white-space:normal;flex-wrap:wrap}}


/* 0.1.7 — visuel validé ensemble */
.pdd-me-account-heading .pdd-me-section-icon{
  color:#4f84a7;
}
.pdd-me-account-actions .pdd-me-account-action:first-child .pdd-me-action-icon{
  color:#4f84a7;
}
.pdd-me-account-actions form:not(.pdd-me-account-action-form) .pdd-me-action-icon{
  color:#b79a35;
}
.pdd-me-logo .pdd-me-svg-icon{
  color:#4c6b49;
}

/* Bloc résident : libellé et valeur sur la même ligne, avec les espacements validés. */
.pdd-me-profile-card{
  padding:28px 30px;
  gap:28px;
}
.pdd-me-account-details{
  margin:0;
  padding:30px 32px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:48px;
  row-gap:30px;
  align-content:center;
}
.pdd-me-account-details div{
  display:flex;
  align-items:baseline;
  gap:5px;
  min-height:24px;
  margin:0;
  white-space:nowrap;
}
.pdd-me-account-details strong,
.pdd-me-account-details span{
  display:inline;
  margin:0;
  line-height:1.35;
}
.pdd-me-account-details strong{
  flex:0 0 auto;
}
.pdd-me-account-details span{
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Actions : même lecture visuelle que la maquette retenue. */
.pdd-me-account-action{
  min-height:70px;
}
.pdd-me-account-action .pdd-me-action-icon{
  width:24px;
  height:24px;
}
.pdd-me-delete .pdd-me-action-icon,
.pdd-me-delete .pdd-me-chevron{
  color:#9b3a31;
}

@media(max-width:700px){
  .pdd-me-account-details{
    padding:22px;
    grid-template-columns:1fr;
    row-gap:18px;
  }
  .pdd-me-account-details div{
    white-space:normal;
    flex-wrap:wrap;
  }
}


/* 0.1.8 — recentrage du bloc résident selon la capture de référence */
.pdd-me-profile-card{
  padding-left:42px;
  padding-right:42px;
  gap:22px;
  justify-content:center;
}

.pdd-me-account-details{
  width:min(680px, calc(100% - 155px));
  max-width:680px;
  padding:30px 34px;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:30px;
  row-gap:30px;
  margin-left:0;
  margin-right:0;
}

.pdd-me-account-details div{
  gap:5px;
  overflow:visible;
}

.pdd-me-account-details span{
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
}

@media(max-width:900px){
  .pdd-me-profile-card{
    padding-left:28px;
    padding-right:28px;
    gap:18px;
  }
  .pdd-me-account-details{
    width:calc(100% - 130px);
    padding:26px;
    column-gap:22px;
  }
}

@media(max-width:700px){
  .pdd-me-profile-card{
    justify-content:flex-start;
  }
  .pdd-me-account-details{
    width:100%;
    max-width:none;
  }
  .pdd-me-account-details span{
    white-space:normal;
  }
}


/* 0.2.3 — intégration native Mon compte dans les autres plugins PDD */
.pdd-me-module.pdd-me-embedded{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-panel{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-account{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-account-overview{
  width:100%!important;
  grid-template-columns:minmax(0,1.6fr) minmax(300px,.62fr)!important;
  gap:22px!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-profile-card{
  width:100%!important;
  min-width:0!important;
  padding:28px 34px!important;
  gap:24px!important;
  justify-content:flex-start!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-account-details{
  width:auto!important;
  max-width:none!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:28px 30px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:30px!important;
  row-gap:28px!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-account-details div{
  min-width:0!important;
  overflow:visible!important;
  white-space:normal!important;
  flex-wrap:wrap!important;
}

.pdd-me-module.pdd-me-embedded .pdd-me-account-details span{
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

@media(max-width:1100px){
  .pdd-me-module.pdd-me-embedded .pdd-me-account-overview{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:760px){
  .pdd-me-module.pdd-me-embedded .pdd-me-profile-card{
    padding:22px!important;
  }

  .pdd-me-module.pdd-me-embedded .pdd-me-account-details{
    width:100%!important;
    grid-template-columns:1fr!important;
    padding:22px!important;
    row-gap:18px!important;
  }
}
