/* =============================================
   POMMECAN BIJOUX — Espace client
   BEM : .pom-account__*
   ============================================= */

/* ── Layout principal ── */
.pom-account {
  display: flex;
  min-height: 70vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  gap: 4rem;
}

/* ── Sidebar ── */
.pom-account__sidebar {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid #EFF6F7;
  padding-right: 3rem;
}

.pom-account__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #EFF6F7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pom-account__name {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #0D1B1E;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}

.pom-account__email {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #7A9499;
  text-align: center;
  margin: 0 0 2rem;
}

/* ── Navigation sidebar ── */
.pom-account__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #EFF6F7;
  padding-top: 2rem;
}

.pom-account__nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0D1B1E;
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid #FFFFFF;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.pom-account__nav-item:hover {
  color: #1B6B77;
  padding-left: 0.5rem;
}

.pom-account__nav-item--logout {
  margin-top: 1rem;
  color: #7A9499;
  font-size: 11px;
  border-bottom: none;
}

.pom-account__nav-item--logout:hover {
  color: #0D1B1E;
  padding-left: 0;
}

/* ── Contenu principal ── */
.pom-account__main {
  flex: 1;
  min-width: 0;
}

.pom-account__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0 0 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #EFF6F7;
}

/* ── Grille raccourcis ── */
.pom-account__shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #EFF6F7;
}

.pom-account__shortcut {
  background: #EFF6F7;
  padding: 2.5rem 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: background 0.2s ease;
}

.pom-account__shortcut:hover {
  background: #FFFFFF;
}

.pom-account__shortcut-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D1B1E;
  font-weight: 500;
}

.pom-account__shortcut-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #7A9499;
  line-height: 1.5;
}

/* ── Item actif sidebar ── */
.pom-account__nav-item--active {
  color: #1B6B77;
  font-weight: 500;
}

/* ── Tableau commandes ── */
.pom-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

.pom-orders-table thead th {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7A9499;
  padding: 0 1rem 1rem 0;
  border-bottom: 1px solid #EFF6F7;
  text-align: left;
  white-space: nowrap;
}

.pom-orders-table tbody tr {
  border-bottom: 1px solid #FFFFFF;
  transition: background 0.15s ease;
}

.pom-orders-table tbody tr:hover {
  background: #EFF6F7;
}

.pom-orders-table tbody td {
  padding: 1rem 1rem 1rem 0;
  color: #0D1B1E;
  vertical-align: middle;
}

.pom-orders-table__ref {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.pom-orders-table__status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: var(--status-color, #EFF6F7);
  color: #fff;
  border-radius: 2px;
  white-space: nowrap;
}

.pom-orders-table__pdf {
  color: #7A9499;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.pom-orders-table__pdf:hover {
  color: #1B6B77;
}

.pom-orders-table__detail {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0D1B1E;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.pom-orders-table__detail:hover {
  color: #1B6B77;
}

/* ── État vide ── */
.pom-account__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1rem;
  background: #EFF6F7;
  border: 1px solid #EFF6F7;
}

.pom-account__empty-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0.5rem 0 0;
}

.pom-account__empty-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}

.pom-account__empty-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D1B1E;
  border: 1px solid #0D1B1E;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.pom-account__empty-cta:hover {
  background: #0D1B1E;
  color: #fff;
}

/* ── Grille adresses ── */
.pom-address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #EFF6F7;
}

.pom-address-card {
  background: #EFF6F7;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pom-address-card__alias {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0;
}

.pom-address-card__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.7;
  font-style: normal;
  flex: 1;
}

.pom-address-card__footer {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #EFF6F7;
}

.pom-address-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0D1B1E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pom-address-card__action:hover {
  color: #1B6B77;
}

.pom-address-card__action--delete:hover {
  color: #c0392b;
}

.pom-address-card--add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 160px;
  border: 1px dashed #1B6B77;
  background: transparent;
  transition: background 0.2s ease;
}

.pom-address-card--add span {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1B6B77;
}

.pom-address-card--add:hover {
  background: #EFF6F7;
}

/* ── Formulaire identité ── */
.pom-account__identity-wrap {
  max-width: 520px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .pom-account {
    flex-direction: column;
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .pom-account__sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #EFF6F7;
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .pom-account__shortcuts {
    grid-template-columns: 1fr;
  }

  .pom-address-grid {
    grid-template-columns: 1fr;
  }
}

/* ══ Page RGPD ══ */
.pom-gdpr {
  background: #FFFFFF;
  min-height: 60vh;
}

.pom-gdpr__hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: #0D1B1E;
}

.pom-gdpr__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B6B77;
  display: block;
  margin-bottom: 12px;
}

.pom-gdpr__title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.pom-gdpr__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(250,245,240,0.7);
  margin: 0;
  font-style: italic;
}

.pom-gdpr__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pom-gdpr__section {
  background: #FFFFFF;
  border: 1px solid #EFF6F7;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pom-gdpr__section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0;
  font-weight: 500;
}

.pom-gdpr__section-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.7;
  margin: 0;
}

.pom-gdpr__section--info {
  background: #FFFFFF;
  border-color: #1B6B77;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.pom-gdpr__section--info svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pom-gdpr__section--info p {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #7A9499;
  line-height: 1.6;
  margin: 0;
}

.pom-gdpr__section--info a {
  color: #1B6B77;
  text-decoration: underline;
}

.pom-gdpr__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pom-gdpr__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.pom-gdpr__btn--outline {
  background: transparent;
  border: 1px solid #EFF6F7;
  color: #0D1B1E;
}

.pom-gdpr__btn--outline:hover {
  border-color: #1B6B77;
  color: #1B6B77;
}

.pom-gdpr__btn--primary {
  background: #C5DDE0;
  color: #FFFFFF;
}

.pom-gdpr__btn--primary:hover {
  background: #134F59;
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .pom-gdpr__hero {
    padding: 3rem 1.5rem 1.5rem;
  }
  .pom-gdpr__body {
    padding: 2rem 1rem 3rem;
  }
  .pom-gdpr__actions {
    flex-direction: column;
  }
  .pom-gdpr__btn {
    width: 100%;
    justify-content: center;
  }
}
/* ══ Fin RGPD ══ */

/* ══ Page Wishlist ══ */
.wishlist-list-container,
.wishlist-products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #FFFFFF;
  min-height: 60vh;
}

/* Liens retour */
.wishlist-list-container a[href*="mon-compte"],
.wishlist-list-container a[href*="my-account"],
.wishlist-products-container a[href*="mon-compte"],
.wishlist-products-container a[href*="lists"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7A9499;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.wishlist-list-container a[href*="mon-compte"]:hover,
.wishlist-products-container a[href*="lists"]:hover {
  color: #1B6B77;
}

/* Titre page */
.wishlist-list-header,
.wishlist-products-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #EFF6F7;
}

.wishlist-list-header h1,
.wishlist-products-header h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0D1B1E;
  margin: 0;
}

/* Carte liste wishlist */
.wishlist-list-item {
  background: #FFFFFF;
  border: 1px solid #EFF6F7;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s;
}

.wishlist-list-item:hover {
  border-color: #1B6B77;
}

.wishlist-list-item-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #0D1B1E;
  font-weight: 500;
}

.wishlist-list-item-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #7A9499;
}

/* Bouton créer liste */
.wishlist-add-to-wishlist,
[data-action="add-wishlist"],
.js-create-wishlist-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  background: transparent !important;
  border: 1px solid #EFF6F7 !important;
  padding: 12px 20px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin-top: 1rem;
}

.wishlist-add-to-wishlist:hover,
[data-action="add-wishlist"]:hover {
  border-color: #1B6B77 !important;
  color: #1B6B77 !important;
}

/* Bouton partager */
.wishlist-share-btn,
[data-action="share-wishlist"] {
  background: transparent !important;
  border: none !important;
  color: #7A9499 !important;
  cursor: pointer !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  transition: color 0.2s;
}

.wishlist-share-btn:hover {
  color: #1B6B77 !important;
}

/* Modales wishlist */
.wishlist-modal .modal-header,
.wishlist-modal-header {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0D1B1E;
  padding: 1.5rem;
  border-bottom: 1px solid #EFF6F7;
}

.wishlist-modal .modal-body,
.wishlist-modal-body {
  padding: 1.5rem;
}

.wishlist-modal input[type="text"] {
  width: 100%;
  height: 46px;
  border: none;
  border-bottom: 1px solid #EFF6F7;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #0D1B1E;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.wishlist-modal input[type="text"]:focus {
  border-bottom-color: #1B6B77;
}

.wishlist-modal .modal-footer,
.wishlist-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #EFF6F7;
  justify-content: flex-end;
}

/* Boutons modale (footer) — exclut le bouton fermer × du header */
.wishlist-modal .btn-secondary,
.wishlist-modal [data-dismiss]:not(.close) {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 1px solid #EFF6F7 !important;
  color: #7A9499 !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
}

.wishlist-modal .btn-primary,
.wishlist-modal [data-action="create-wishlist"],
.wishlist-modal [data-action="rename-wishlist"] {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  background: #C5DDE0 !important;
  border: none !important;
  color: #FFFFFF !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  transition: background 0.25s !important;
}

.wishlist-modal .btn-primary:hover {
  background: #134F59 !important;
}

/* Grille produits wishlist */
.wishlist-products-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .wishlist-list-container,
  .wishlist-products-container {
    padding: 1.5rem 1rem;
  }

  .wishlist-products-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
/* ══ Fin Wishlist ══ */

/* ── Material Icons (icônes Vue de blockwishlist non overridables par template) ──
   @font-face inline (pas @import : invalide en milieu de fichier combiné CCC).
   La police n'est téléchargée que sur les pages qui utilisent .material-icons. */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v145/flUhRq6tzZclQEJ-Vdg-IuiaDsNZ.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px !important;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  color: #7A9499;
  vertical-align: middle;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   ÉCLAT DE VIVIE — Pages auth simples (mot de passe, invité, confirmation)
   Hero #EFF6F7 + carte centrée 480px. Réutilise pom-reg__ pour les champs.
   ============================================================ */
.edv-auth__hero {
  background: #EFF6F7;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
}
.edv-auth__eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1B6B77;
  margin-bottom: 0.85rem;
}
.edv-auth__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: #0D1B1E;
  letter-spacing: 0.02em;
  margin: 0;
}
.edv-auth__body {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 5rem;
}
.edv-auth__card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.edv-auth__intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #7A9499;
  margin: 0 0 2rem;
}
.edv-auth__form {
  text-align: left;
  margin-bottom: 1.75rem;
}
.edv-auth__form .pom-reg__field { margin-bottom: 1.35rem; }
.edv-auth__form .pom-reg__hint { margin-top: 0.45rem; }
.edv-auth__submit {
  width: 100%;
  margin-top: 0.75rem;
  justify-content: center;
}
.edv-auth__back {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #1B6B77;
  text-decoration: none;
  transition: color 0.2s ease;
}
.edv-auth__back:hover { color: #134F59; }
.edv-auth__errors {
  background: #FDECEA;
  border: 1px solid #C0392B;
  border-radius: 2px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.edv-auth__error-msg {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #C0392B;
  margin: 0.15rem 0;
}
/* Carte "confirmation" (email envoyé) — priorité 5 */
.edv-auth__confirm-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: #EFF6F7;
  padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  border-radius: 4px;
}
.edv-auth__confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B6B77;
}
.edv-auth__confirm-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: #7A9499;
  margin: 0 0 2rem;
}

/* ============================================================
   ÉCLAT DE VIVIE — Détail commande / bons / suivi invité
   (priorités 2, 3, 4) — tableaux propres, badges statuts colorés
   ============================================================ */
.edv-order-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .edv-order-detail { grid-template-columns: 1fr 1fr; }
  .edv-order-detail .edv-order-section--full { grid-column: 1 / -1; }
}
.edv-order-section {
  background: #FFFFFF;
  border: 1px solid #EFF6F7;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.edv-order-section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #0D1B1E;
  margin: 0 0 1.25rem;
}
.edv-order-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}
.edv-order-table th {
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A9499;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #EFF6F7;
}
.edv-order-table td {
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #EFF6F7;
  color: #0D1B1E;
  vertical-align: middle;
}
.edv-order-table tr:last-child td { border-bottom: none; }
.edv-order-table__product-name {
  font-weight: 500;
  color: #0D1B1E;
  text-decoration: none;
}
.edv-order-table__product-name:hover { color: #1B6B77; }
.edv-order-table__ref { color: #7A9499; font-size: 12px; }
.edv-order-table--totals td { padding: 0.5rem; border: none; }
.edv-order-table--totals .edv-order-total-row td {
  font-weight: 700;
  font-size: 15px;
  border-top: 1px solid #0D1B1E;
  padding-top: 1rem;
}
.edv-order-status {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  line-height: 1;
}
.edv-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
}
.edv-order-meta__item { display: flex; flex-direction: column; gap: 0.25rem; }
.edv-order-meta__label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #7A9499;
}
.edv-order-meta__value { font-size: 14px; color: #0D1B1E; }

/* Formulaire invité (suivi commande) — priorité 3 */
.edv-guest-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.edv-guest-form .edv-auth__form { text-align: left; }

/* ── Détail commande : entête, adresses, notes ── */
.pom-account--no-sidebar { grid-template-columns: 1fr; display: block; }
.pom-account--no-sidebar .pom-account__main { max-width: 1100px; margin: 0 auto; }

.edv-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.edv-order-head__ref {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: #0D1B1E;
  margin: 0 0 0.25rem;
}
.edv-order-head__date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  margin: 0;
}
.edv-order-actions { margin-top: 1.5rem; }
.edv-order-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #7A9499;
  margin: 1rem 0 0;
}
.edv-order-link {
  color: #1B6B77;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}
.edv-order-link:hover { color: #134F59; }

.edv-order-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .edv-order-addresses { grid-template-columns: 1fr 1fr; }
}
.edv-order-address address {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #0D1B1E;
  font-style: normal;
  margin: 0;
}
.edv-order-address__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A9499;
  margin: 0 0 0.6rem;
}
.edv-order-address__alias {
  text-transform: none;
  letter-spacing: 0;
  color: #1B6B77;
  margin-left: 0.35rem;
}

/* Table responsive : scroll horizontal si trop étroit */
.edv-order-table-wrap { overflow-x: auto; }
.edv-order-table .edv-num { text-align: right; white-space: nowrap; }

/* Badges statuts spécifiques (bons de réduction) */
.edv-order-status--active {
  background: rgba(27, 107, 119, 0.12);
  color: #1B6B77;
  border: 1px solid #1B6B77;
}
.edv-order-status--expired {
  background: rgba(122, 148, 153, 0.12);
  color: #7A9499;
  border: 1px solid #7A9499;
}
.edv-voucher-code {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: #EFF6F7;
  color: #0D1B1E;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}

/* Formulaire de retour */
.edv-order-textarea {
  min-height: 110px;
  resize: vertical;
  padding: 0.75rem 0;
}
.edv-order-qty-select { margin-top: 0.4rem; }
.edv-order-table .head-checkbox { width: 36px; }

/* Carte de confirmation : espacement CTA */
.edv-auth__confirm-card .pom-btn { margin-bottom: 1.25rem; }

/* Messages de commande */
.edv-order-msg-form { max-width: 560px; }
.edv-order-msg-form .pom-btn { margin-top: 0.5rem; }
.edv-order-message {
  padding: 1rem 0;
  border-bottom: 1px solid #EFF6F7;
}
.edv-order-message:last-child { border-bottom: none; }
.edv-order-message__meta {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.edv-order-message__author {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0D1B1E;
}
.edv-order-message__date {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #7A9499;
}
.edv-order-message__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: #7A9499;
}

/* ═══════════════════════════════════════════
   OVERRIDE GLOBAL COMPTE CLIENT (branding teal)
   ═══════════════════════════════════════════ */

/* Liens */
.page-customer-account a,
.page-my-account a,
.page-order-detail a,
.page-history a,
.page-identity a,
.page-addresses a {
  color: #1B6B77 !important;
}

.page-customer-account a:hover,
.page-my-account a:hover {
  color: #134F59 !important;
}

/* Boutons primaires */
.page-customer-account .btn-primary,
.page-customer-account button[type="submit"],
.page-my-account .btn-primary,
.page-my-account button[type="submit"],
.page-order-detail .btn-primary,
.page-history .btn-primary,
.page-identity .btn-primary,
.page-identity button[type="submit"],
.page-addresses .btn-primary,
.page-addresses button[type="submit"] {
  background: #1B6B77 !important;
  border-color: #1B6B77 !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 12px 28px !important;
  transition: opacity 0.25s !important;
}

.page-customer-account .btn-primary:hover,
.page-my-account .btn-primary:hover,
.page-identity .btn-primary:hover,
.page-addresses .btn-primary:hover {
  background: #134F59 !important;
  border-color: #134F59 !important;
  opacity: 1 !important;
}

/* Boutons secondaires/outline */
.page-customer-account .btn-secondary,
.page-customer-account .btn-default,
.page-my-account .btn-secondary,
.page-history .btn-secondary,
.page-order-detail .btn-secondary {
  background: transparent !important;
  border: 0.5px solid #1B6B77 !important;
  color: #1B6B77 !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 11px 28px !important;
}

/* Inputs et formulaires */
.page-customer-account input,
.page-customer-account select,
.page-customer-account textarea,
.page-identity input,
.page-identity select,
.page-addresses input,
.page-addresses select {
  border: 0.5px solid #C5DDE0 !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #0D1B1E !important;
  outline: none !important;
  transition: border-color 0.25s !important;
}

.page-customer-account input:focus,
.page-identity input:focus,
.page-addresses input:focus {
  border-color: #1B6B77 !important;
  box-shadow: none !important;
}

/* Tableaux commandes */
.page-history table,
.page-order-detail table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.page-history table th,
.page-order-detail table th {
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  font-weight: 500 !important;
  padding: 12px 16px !important;
  border-bottom: 0.5px solid #EFF6F7 !important;
  font-family: 'DM Sans', sans-serif !important;
  background: #FFFFFF !important;
}

.page-history table td,
.page-order-detail table td {
  padding: 14px 16px !important;
  font-size: 13px !important;
  color: #0D1B1E !important;
  border-bottom: 0.5px solid #F5F5F5 !important;
  vertical-align: middle !important;
}

/* Sidebar navigation compte */
.pom-account__sidebar a,
.account-list a {
  color: #7A9499 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: color 0.25s !important;
}

.pom-account__sidebar a:hover,
.pom-account__sidebar a.active,
.account-list a:hover {
  color: #1B6B77 !important;
}

/* Cards mon-compte */
.page-my-account .links a {
  border: 0.5px solid #EFF6F7 !important;
  border-radius: 0 !important;
  transition: border-color 0.25s, color 0.25s !important;
}

.page-my-account .links a:hover {
  border-color: #1B6B77 !important;
  color: #1B6B77 !important;
}

.page-my-account .links a i,
.page-my-account .links a svg {
  color: #1B6B77 !important;
  stroke: #1B6B77 !important;
}

/* Alertes et messages */
.alert-info {
  background: #EFF6F7 !important;
  border-color: #1B6B77 !important;
  color: #0D1B1E !important;
  border-radius: 0 !important;
}

.alert-success {
  border-color: #1B6B77 !important;
  border-radius: 0 !important;
}

/* Labels form */
.page-customer-account label,
.page-identity label,
.page-addresses label {
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  font-family: 'DM Sans', sans-serif !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Checkbox custom */
.page-customer-account input[type="checkbox"] {
  accent-color: #1B6B77 !important;
}

/* Masque le lien « Mes alertes » (module ps_emailalerts) injecté dans le compte.
   NB : le lien vient de ps_emailalerts, pas de blockwishlist → cibler ps_emailalerts.
   (On ne masque PAS a[href*="wishlist"] : ça cacherait aussi la carte « Mes favoris ».) */
.page-my-account a[href*="ps_emailalerts"],
.page-my-account a[href*="emailalerts"],
.page-my-account .wishlist-link {
  display: none !important;
}

/* SVG raccourcis compte → teal (remplace l'ancien or pommecan) */
.pom-account__shortcut svg {
  stroke: #1B6B77 !important;
}

.pom-account__shortcut-icon svg {
  stroke: #1B6B77 !important;
}

/* Masque « Mes alertes » (ps_emailalerts, rendu en <li> par le hook) */
.pom-account__shortcuts li {
  display: none !important;
}
