/* ═══════════════════════════════════════════════════════════════════════
   MON COMPTE — LES JEANNINE
   Dashboard sobre : fond clair, cartes blanches, accents rose/noir
   ═══════════════════════════════════════════════════════════════════════
   STRUCTURE DU FICHIER
   1. Base commune à toutes les pages compte (fond, layout, breadcrumb, h1, footer)
   2. Dashboard my-account (grille de cartes)
   3. Empty state (.alert.alert-info)
   4. Formulaires (nouvelle adresse, identité, etc.)
   5. Page Wishlist
   6. Page GDPR
   7. Sous-titres h6
   8. Responsive
   ═══════════════════════════════════════════════════════════════════════ */


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 1. BASE COMMUNE — toutes les sous-pages compte                       ║
   ║ Sélecteur magique : .account-link[data-role="back-to-your-account"]  ║
   ║ N'existe que dans les sous-pages compte (PAS sur my-account dashboard║
   ║ ni sur la wishlist), donc on combine plusieurs sélecteurs.           ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

body:has(#identity-link),
body:has(.account-link[data-role="back-to-your-account"]),
body:has(.wishlist-container),
body:has(.psgdprinfo17) {
  background: linear-gradient(180deg, #fafafa 0%, #f5f7f9 100%) !important;
  background-attachment: fixed;
  min-height: 100vh;
}

body:has(#identity-link) #wrapper,
body:has(.account-link[data-role="back-to-your-account"]) #wrapper,
body:has(.wishlist-container) #wrapper,
body:has(.psgdprinfo17) #wrapper {
  background: transparent !important;
  padding: 50px 20px 80px;
}

body:has(#identity-link) .container,
body:has(.account-link[data-role="back-to-your-account"]) .container,
body:has(.wishlist-container) .container,
body:has(.psgdprinfo17) .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* === BREADCRUMB === */
body:has(#identity-link) .breadcrumb,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb,
body:has(.wishlist-container) .breadcrumb,
body:has(.psgdprinfo17) .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 24px;
}
body:has(#identity-link) .breadcrumb ol,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb ol,
body:has(.wishlist-container) .breadcrumb ol,
body:has(.psgdprinfo17) .breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 500;
}
body:has(#identity-link) .breadcrumb li,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb li,
body:has(.wishlist-container) .breadcrumb li,
body:has(.psgdprinfo17) .breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(5, 10, 15, .5);
}
body:has(#identity-link) .breadcrumb li + li::before,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb li + li::before,
body:has(.wishlist-container) .breadcrumb li + li::before,
body:has(.psgdprinfo17) .breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: rgba(5, 10, 15, .25);
}
body:has(#identity-link) .breadcrumb li a,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb li a,
body:has(.wishlist-container) .breadcrumb li a,
body:has(.psgdprinfo17) .breadcrumb li a {
  color: rgba(5, 10, 15, .65);
  text-decoration: none;
  transition: color .2s ease;
}
body:has(#identity-link) .breadcrumb li a:hover,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb li a:hover,
body:has(.wishlist-container) .breadcrumb li a:hover,
body:has(.psgdprinfo17) .breadcrumb li a:hover {
  color: #d41e8b;
}
body:has(#identity-link) .breadcrumb li:last-child,
body:has(.account-link[data-role="back-to-your-account"]) .breadcrumb li:last-child,
body:has(.wishlist-container) .breadcrumb li:last-child,
body:has(.psgdprinfo17) .breadcrumb li:last-child {
  color: #050A0F;
  font-weight: 600;
}

/* === LAYOUT === */
body:has(#identity-link) .row,
body:has(.account-link[data-role="back-to-your-account"]) .row,
body:has(.wishlist-container) .row,
body:has(.psgdprinfo17) .row {
  margin: 0 !important;
  display: block !important;
}
body:has(#identity-link) #content-wrapper,
body:has(.account-link[data-role="back-to-your-account"]) #content-wrapper,
body:has(.wishlist-container) #content-wrapper,
body:has(.psgdprinfo17) #content-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  flex: none !important;
}
body:has(#identity-link) #main,
body:has(.account-link[data-role="back-to-your-account"]) #main,
body:has(.wishlist-container) #main,
body:has(.psgdprinfo17) #main {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* === TITRE H1 commun === */
body:has(#identity-link) .page-header,
body:has(.account-link[data-role="back-to-your-account"]) .page-header,
body:has(.wishlist-container) .page-header,
body:has(.psgdprinfo17) .page-header {
  border: none;
  padding: 0;
  margin: 0 0 36px;
}
body:has(#identity-link) .page-header h1,
body:has(.account-link[data-role="back-to-your-account"]) .page-header h1,
body:has(.psgdprinfo17) .page-header h1,
body:has(.wishlist-container) .wishlist-container-header h1 {
  font-family: 'Permanent Marker', cursive;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #050A0F;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}
body:has(#identity-link) .page-header h1::after,
body:has(.account-link[data-role="back-to-your-account"]) .page-header h1::after,
body:has(.psgdprinfo17) .page-header h1::after,
body:has(.wishlist-container) .wishlist-container-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #d41e8b;
  margin-top: 10px;
  border-radius: 2px;
}

/* === NOTIFICATIONS === */
body:has(#identity-link) #notifications .notifications-container,
body:has(.account-link[data-role="back-to-your-account"]) #notifications .notifications-container,
body:has(.wishlist-container) #notifications .notifications-container,
body:has(.psgdprinfo17) #notifications .notifications-container {
  padding: 0;
  max-width: none;
}
body:has(#identity-link) #notifications .notifications-container:empty,
body:has(.account-link[data-role="back-to-your-account"]) #notifications .notifications-container:empty,
body:has(.wishlist-container) #notifications .notifications-container:empty,
body:has(.psgdprinfo17) #notifications .notifications-container:empty {
  display: none;
}

/* === CONTENT === */
body:has(#identity-link) #content,
body:has(.account-link[data-role="back-to-your-account"]) #content,
body:has(.wishlist-container) #content,
body:has(.psgdprinfo17) #content {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* === FOOTER PAGE (liens retour compte / accueil) === */
body:has(.account-link[data-role="back-to-your-account"]) .page-footer,
body:has(.psgdprinfo17) .page-footer {
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px dashed rgba(5, 10, 15, .12);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  background: transparent;
}
.account-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #050A0F !important;
  background: #ffffff;
  border: 2px solid #050A0F;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all .25s ease;
  box-shadow: 3px 3px 0 #d41e8b;
}
.account-link i.material-icons { display: none; }
.account-link[data-role="back-to-your-account"]::before {
  content: '←';
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.account-link[data-role="home"]::before {
  content: '⌂';
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.account-link:hover {
  background: #050A0F;
  color: #ffffff !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #d41e8b;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 2. DASHBOARD MY-ACCOUNT (grille de cartes)                          ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* === SUPPRESSION DU BLOC "MY BLOG COMMENTS" === */
body:has(#identity-link) .links > li:has(#author-blog-comment-link),
body:has(#identity-link) #author-blog-comment-link {
  display: none !important;
  visibility: hidden !important;
}

/* === GRILLE — toutes les cartes auto-alignées sur la plus haute === */
body:has(#identity-link) .links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;  /* ← chaque rangée = hauteur de la plus haute card */
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 992px) {
  body:has(#identity-link) .links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  body:has(#identity-link) .links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

body:has(#identity-link) .links > a,
body:has(#identity-link) .links > li {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

/* === CARTE === */
body:has(#identity-link) .links > a,
body:has(#identity-link) .links > li > a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 28px 22px;
  min-height: 140px;
  height: 100%;
  text-decoration: none !important;
  color: #050A0F;
  box-shadow: 0 1px 3px rgba(5, 10, 15, .04);
  transition: all .3s cubic-bezier(.34, 1.2, .64, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

body:has(#identity-link) .links > a::before,
body:has(#identity-link) .links > li > a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d41e8b;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.34, 1.2, .64, 1);
}

body:has(#identity-link) .links > a:hover,
body:has(#identity-link) .links > li > a:hover {
  border-color: rgba(212, 30, 139, .3);
  box-shadow: 0 12px 32px rgba(212, 30, 139, .14);
  transform: translateY(-4px);
}
body:has(#identity-link) .links > a:hover::before,
body:has(#identity-link) .links > li > a:hover::before {
  transform: scaleX(1);
}
body:has(#identity-link) .links > a:active,
body:has(#identity-link) .links > li > a:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 30, 139, .12);
}

body:has(#identity-link) .link-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(5, 10, 15, .75);
  transition: color .25s ease;
  line-height: 1.4;
}
body:has(#identity-link) .links > a:hover .link-item,
body:has(#identity-link) .links > li > a:hover .link-item {
  color: #050A0F;
}

body:has(#identity-link) .link-item i,
body:has(#identity-link) .link-item .ss_icon_group {
  display: none !important;
}

body:has(#identity-link) .link-item::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s cubic-bezier(.34, 1.4, .64, 1);
}
body:has(#identity-link) .links > a:hover .link-item::before,
body:has(#identity-link) .links > li > a:hover .link-item::before {
  transform: scale(1.08) translateY(-2px);
}

/* ICÔNES par carte */
body:has(#identity-link) #identity-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4.2'/><path d='M3.5 21c.8-4.5 4.5-7.2 8.5-7.2s7.7 2.7 8.5 7.2'/></svg>");
}
body:has(#identity-link) #address-link .link-item::before,
body:has(#identity-link) #addresses-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.5c4.2 0 7.5 3.3 7.5 7.4 0 5.3-7.5 11.6-7.5 11.6S4.5 15.2 4.5 9.9C4.5 5.8 7.8 2.5 12 2.5z'/><circle cx='12' cy='10' r='2.8'/></svg>");
}
body:has(#identity-link) #history-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 3h6a1 1 0 0 1 1 1v2H8V4a1 1 0 0 1 1-1z'/><line x1='8.5' y1='11' x2='15.5' y2='11'/><line x1='8.5' y1='14.5' x2='15.5' y2='14.5'/><line x1='8.5' y1='18' x2='13' y2='18'/></svg>");
}
body:has(#identity-link) #order-slips-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3v18l2-1.5 2 1.5 2-1.5 2 1.5 2-1.5 2 1.5V3l-2 1.5L14 3l-2 1.5L10 3 8 4.5 6 3z'/><line x1='9' y1='9' x2='15' y2='9'/><line x1='9' y1='13' x2='15' y2='13'/></svg>");
}
body:has(#identity-link) #wishlist-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20.5s-7.5-4.6-7.5-10.2c0-2.6 2.1-4.8 4.8-4.8 1.6 0 3 .8 3.7 2 .7-1.2 2.1-2 3.7-2 2.7 0 4.8 2.2 4.8 4.8 0 5.6-7.5 10.2-7.5 10.2z'/></svg>");
}
body:has(#identity-link) #psgdpr-link .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='9' cy='12' r='2.5'/><path d='M6.5 17c.4-1.4 1.5-2.3 2.5-2.3s2.1.9 2.5 2.3'/><line x1='14' y1='10' x2='18' y2='10'/><line x1='14' y1='13' x2='18' y2='13'/></svg>");
}
body:has(#identity-link) #emailsalerts .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M18 16V11c0-3.3-2.7-6-6-6s-6 2.7-6 6v5l-2 2v1h16v-1l-2-2z'/><path d='M10 21a2 2 0 0 0 4 0'/></svg>");
}

/* HOVER icônes en rose */
body:has(#identity-link) #identity-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4.2'/><path d='M3.5 21c.8-4.5 4.5-7.2 8.5-7.2s7.7 2.7 8.5 7.2'/></svg>");
}
body:has(#identity-link) #address-link:hover .link-item::before,
body:has(#identity-link) #addresses-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.5c4.2 0 7.5 3.3 7.5 7.4 0 5.3-7.5 11.6-7.5 11.6S4.5 15.2 4.5 9.9C4.5 5.8 7.8 2.5 12 2.5z'/><circle cx='12' cy='10' r='2.8'/></svg>");
}
body:has(#identity-link) #history-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='4' width='14' height='17' rx='2'/><path d='M9 3h6a1 1 0 0 1 1 1v2H8V4a1 1 0 0 1 1-1z'/><line x1='8.5' y1='11' x2='15.5' y2='11'/><line x1='8.5' y1='14.5' x2='15.5' y2='14.5'/><line x1='8.5' y1='18' x2='13' y2='18'/></svg>");
}
body:has(#identity-link) #order-slips-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 3v18l2-1.5 2 1.5 2-1.5 2 1.5 2-1.5 2 1.5V3l-2 1.5L14 3l-2 1.5L10 3 8 4.5 6 3z'/><line x1='9' y1='9' x2='15' y2='9'/><line x1='9' y1='13' x2='15' y2='13'/></svg>");
}
body:has(#identity-link) #wishlist-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d41e8b' stroke='%23d41e8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20.5s-7.5-4.6-7.5-10.2c0-2.6 2.1-4.8 4.8-4.8 1.6 0 3 .8 3.7 2 .7-1.2 2.1-2 3.7-2 2.7 0 4.8 2.2 4.8 4.8 0 5.6-7.5 10.2-7.5 10.2z'/></svg>");
}
body:has(#identity-link) #psgdpr-link:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='9' cy='12' r='2.5'/><path d='M6.5 17c.4-1.4 1.5-2.3 2.5-2.3s2.1.9 2.5 2.3'/><line x1='14' y1='10' x2='18' y2='10'/><line x1='14' y1='13' x2='18' y2='13'/></svg>");
}
body:has(#identity-link) #emailsalerts:hover .link-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M18 16V11c0-3.3-2.7-6-6-6s-6 2.7-6 6v5l-2 2v1h16v-1l-2-2z'/><path d='M10 21a2 2 0 0 0 4 0'/></svg>");
}

/* === Footer dashboard (lien Déconnexion) === */
body:has(#identity-link) .page-footer {
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px dashed rgba(5, 10, 15, .12);
}
body:has(#identity-link) .page-footer .text-sm-center {
  text-align: center;
}
body:has(#identity-link) .page-footer > div > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #050A0F;
  background: #ffffff;
  border: 2px solid #050A0F;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 3px 3px 0 #d41e8b;
}
body:has(#identity-link) .page-footer > div > a::before {
  content: '⏻';
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
body:has(#identity-link) .page-footer > div > a:hover {
  background: #050A0F;
  color: #ffffff;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #d41e8b;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 3. EMPTY STATE (.alert.alert-info)                                  ║
   ║ Pour pages : Adresses vide / Historique vide / Avoirs / Alertes     ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

body:has(.account-link[data-role="back-to-your-account"]) .alert.alert-info {
  background: #ffffff;
  border: 1px dashed rgba(5, 10, 15, .15);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  color: rgba(5, 10, 15, .7);
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 16px;
  font-style: italic;
  margin: 0 0 24px;
  position: relative;
}
body:has(.account-link[data-role="back-to-your-account"]) .alert.alert-info::before {
  content: '';
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d41e8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><line x1='12' y1='8' x2='12' y2='13'/><circle cx='12' cy='16.5' r='.5' fill='%23d41e8b'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .8;
}
body:has(.account-link[data-role="back-to-your-account"]) .alert.alert-info a {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: #050A0F;
  color: #ffffff !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 50px;
  border: 2px solid #050A0F;
  font-style: normal;
  transition: all .2s ease;
  box-shadow: 3px 3px 0 #d41e8b;
}
body:has(.account-link[data-role="back-to-your-account"]) .alert.alert-info a:hover {
  background: #d41e8b;
  border-color: #d41e8b;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F;
}

/* === h6 sous-titre (Historique, Avoirs) === */
body:has(.account-link[data-role="back-to-your-account"]) #content h6 {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: rgba(5, 10, 15, .65);
  margin: 0 0 18px;
  text-align: center;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 4. PAGE NOUVELLE ADRESSE (formulaire)                               ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

body:has(.address-form):not(:has(.checkout-step)) #content {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
}

.js-address-form form { margin: 0; }

.js-address-form .form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

/* Champs pleine largeur */
.js-address-form .form-group:has(#field-alias),
.js-address-form .form-group:has(#field-company),
.js-address-form .form-group:has(#field-vat_number),
.js-address-form .form-group:has(#field-address1),
.js-address-form .form-group:has(#field-address2),
.js-address-form .form-group:has(#field-id_country) {
  grid-column: 1 / -1;
}

.js-address-form .form-group {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

.js-address-form .col-md-3,
.js-address-form .col-md-6,
.js-address-form .js-input-column {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.js-address-form .form-control-comment { display: none !important; }

/* Label = petite étiquette au-dessus de l'input (style sobre, pas placeholder) */
.js-address-form .form-control-label {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(5, 10, 15, .7) !important;
  transform: none !important;
  pointer-events: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: nowrap !important;
  opacity: 1 !important;
}
.js-address-form .form-control-label.required::after {
  content: ' *';
  color: #d41e8b;
  font-weight: 700;
  display: inline !important;
}

.js-address-form .form-control,
.js-address-form select.form-control {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  background: #fafafa !important;
  border: 1px solid rgba(5, 10, 15, .12) !important;
  border-radius: 10px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 14px !important;
  color: #050A0F !important;
  outline: none !important;
  transition: all .2s ease !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.js-address-form .form-control:hover {
  border-color: rgba(5, 10, 15, .25) !important;
  background: #ffffff !important;
}
.js-address-form .form-control:focus {
  border-color: #d41e8b !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(212, 30, 139, .1) !important;
}

/* Select arrow custom */
.js-address-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

/* Footer form (bouton Enregistrer) */
.js-address-form .form-footer {
  margin: 28px 0 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid rgba(5, 10, 15, .08);
  display: flex;
  justify-content: flex-end;
  clear: both;
}
.js-address-form .form-footer [type="submit"],
.js-address-form .form-footer button {
  height: 52px !important;
  padding: 0 36px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: 4px 4px 0 #d41e8b !important;
  float: none !important;
}
.js-address-form .form-footer [type="submit"]:hover,
.js-address-form .form-footer button:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #050A0F !important;
}

/* === Page liste adresses : footer "Créer une nouvelle adresse" === */
.addresses-footer {
  margin-top: 24px;
  text-align: center;
}
.addresses-footer a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F;
  border-radius: 50px;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all .25s ease;
  box-shadow: 4px 4px 0 #d41e8b;
}
.addresses-footer a i.material-icons { display: none; }
.addresses-footer a::before {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.addresses-footer a:hover {
  background: #d41e8b !important;
  border-color: #d41e8b;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #050A0F;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 5. PAGE GDPR (Données personnelles)                                 ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

body:has(.psgdprinfo17) #content > .container,
body:has(.psgdprinfo17) #content .page_content {
  padding: 0 !important;
  max-width: none !important;
}

.psgdprinfo17 {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 0 0 20px;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}
.psgdprinfo17 h2 {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #050A0F;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d41e8b;
  display: inline-block;
}
.psgdprinfo17 p {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(5, 10, 15, .75);
  margin: 0 0 18px;
}
.psgdprinfo17 p a {
  color: #d41e8b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.psgdprinfo17 p a:hover {
  color: #b01872;
}

/* Boutons d'export GDPR */
.psgdprgetdatabtn17 {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 6px 10px 6px 0 !important;
  padding: 13px 24px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all .25s ease !important;
  box-shadow: 3px 3px 0 #d41e8b !important;
}
.psgdprgetdatabtn17::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.psgdprgetdatabtn17:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F !important;
}
/* Second bouton en variante outline */
#exportDataToPdf.psgdprgetdatabtn17 {
  background: #ffffff !important;
  color: #050A0F !important;
}
#exportDataToPdf.psgdprgetdatabtn17::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
}
#exportDataToPdf.psgdprgetdatabtn17:hover {
  background: #050A0F !important;
  color: #ffffff !important;
}
#exportDataToPdf.psgdprgetdatabtn17:hover::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 6. PAGE WISHLIST (Mes listes)                                       ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

body:has(.wishlist-container) .wishlist-container {
  background: transparent;
  padding: 0;
}

.wishlist-container-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 36px;
}

.wishlist-container-header h1 {
  margin: 0 !important;
}

/* Bouton "Créer une nouvelle liste" */
.wishlist-add-to-new {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F;
  border-radius: 50px;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 3px 3px 0 #d41e8b;
}
.wishlist-add-to-new i.material-icons {
  font-size: 18px !important;
  color: #ffffff !important;
}
.wishlist-add-to-new:hover {
  background: #d41e8b !important;
  border-color: #d41e8b;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F;
  color: #ffffff !important;
}

/* Container des listes */
body:has(.wishlist-container) #content.card,
body:has(.wishlist-container) #content.card-block {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.wishlist-list-container {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
}

.wishlist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishlist-list-item {
  padding: 0;
  margin: 0;
  border-radius: 12px;
  transition: background .2s ease;
}
.wishlist-list-item:hover {
  background: #fafafa;
}

.wishlist-list-item-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  text-decoration: none !important;
  color: #050A0F !important;
  cursor: pointer;
  border-radius: 12px;
}

.wishlist-list-item-title {
  margin: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #050A0F;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wishlist-list-item-title::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d41e8b' stroke='%23d41e8b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20.5s-7.5-4.6-7.5-10.2c0-2.6 2.1-4.8 4.8-4.8 1.6 0 3 .8 3.7 2 .7-1.2 2.1-2 3.7-2 2.7 0 4.8 2.2 4.8 4.8 0 5.6-7.5 10.2-7.5 10.2z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.wishlist-list-item-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  background: rgba(212, 30, 139, .12);
  color: #d41e8b;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.wishlist-list-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wishlist-list-item-right button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(5, 10, 15, .12);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(5, 10, 15, .55);
  transition: all .2s ease;
  padding: 0;
}
.wishlist-list-item-right button:hover {
  background: #d41e8b;
  border-color: #d41e8b;
  color: #ffffff;
  transform: scale(1.05);
}
.wishlist-list-item-right button i.material-icons {
  font-size: 18px;
  color: inherit;
}

/* Footer wishlist (liens retour) */
.wishlist-footer-links {
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px dashed rgba(5, 10, 15, .12);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.wishlist-footer-links a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #050A0F !important;
  background: #ffffff;
  border: 2px solid #050A0F;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all .25s ease;
  box-shadow: 3px 3px 0 #d41e8b;
}
.wishlist-footer-links a i.material-icons {
  font-size: 18px !important;
  color: inherit;
}
.wishlist-footer-links a:hover {
  background: #050A0F;
  color: #ffffff !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #d41e8b;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 7. RESPONSIVE                                                       ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

@media (max-width: 768px) {
  body:has(#identity-link) #wrapper,
  body:has(.account-link[data-role="back-to-your-account"]) #wrapper,
  body:has(.wishlist-container) #wrapper,
  body:has(.psgdprinfo17) #wrapper {
    padding: 30px 16px 60px;
  }
  body:has(#identity-link) .page-header h1,
  body:has(.account-link[data-role="back-to-your-account"]) .page-header h1,
  body:has(.psgdprinfo17) .page-header h1,
  body:has(.wishlist-container) .wishlist-container-header h1 {
    font-size: 32px;
  }
  body:has(#identity-link) .link-item { font-size: 12px; }
  body:has(#identity-link) .links > a,
  body:has(#identity-link) .links > li > a {
    padding: 22px 16px;
    min-height: 130px;
  }
  .js-address-form .form-fields {
    grid-template-columns: 1fr;
  }
  .js-address-form .form-group:has(#field-postcode),
  .js-address-form .form-group:has(#field-city) {
    grid-column: 1 / -1;
  }
  body:has(.js-address-form) #content,
  .psgdprinfo17 {
    padding: 24px 20px;
  }
  body:has(.account-link[data-role="back-to-your-account"]) .alert.alert-info {
    padding: 40px 24px;
    font-size: 14px;
  }
  .wishlist-container-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .psgdprgetdatabtn17 {
    width: 100%;
    justify-content: center;
    margin: 6px 0 !important;
  }
}

@media (max-width: 420px) {
  body:has(#identity-link) .page-header h1,
  body:has(.account-link[data-role="back-to-your-account"]) .page-header h1,
  body:has(.psgdprinfo17) .page-header h1,
  body:has(.wishlist-container) .wishlist-container-header h1 {
    font-size: 26px;
  }
  body:has(#identity-link) .link-item::before { width: 36px; height: 36px; }
  .wishlist-list-item-link {
    flex-wrap: wrap;
    gap: 12px;
  }
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 8. MODALS WISHLIST (Créer / Renommer / Partager / Supprimer / etc.) ║
   ║ Cible toutes les `.wishlist-modal` pour un design unifié.           ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* === BACKDROP (overlay sombre derrière le modal) === */
.wishlist-create .modal-backdrop,
.wishlist-rename .modal-backdrop,
.wishlist-share .modal-backdrop,
.wishlist-delete .modal-backdrop,
.wishlist-add-to .modal-backdrop,
.wishlist-login .modal-backdrop {
  background: rgba(5, 10, 15, .65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.wishlist-create .modal-backdrop.fade,
.wishlist-rename .modal-backdrop.fade,
.wishlist-share .modal-backdrop.fade,
.wishlist-delete .modal-backdrop.fade,
.wishlist-add-to .modal-backdrop.fade,
.wishlist-login .modal-backdrop.fade {
  opacity: 0;
  transition: opacity .3s ease;
}
.wishlist-create .modal-backdrop.in,
.wishlist-rename .modal-backdrop.in,
.wishlist-share .modal-backdrop.in,
.wishlist-delete .modal-backdrop.in,
.wishlist-add-to .modal-backdrop.in,
.wishlist-login .modal-backdrop.in,
.wishlist-create .modal-backdrop.show,
.wishlist-rename .modal-backdrop.show,
.wishlist-share .modal-backdrop.show,
.wishlist-delete .modal-backdrop.show,
.wishlist-add-to .modal-backdrop.show,
.wishlist-login .modal-backdrop.show {
  opacity: 1;
}

/* === MODAL DIALOG (wrapper centré) === */
.wishlist-modal .modal-dialog {
  max-width: 480px;
  width: calc(100% - 32px);
  margin: 0 auto;
}
.wishlist-modal.fade .modal-dialog {
  transform: translateY(-20px) scale(.96);
  transition: transform .35s cubic-bezier(.34, 1.2, .64, 1), opacity .25s ease;
  opacity: 0;
}
.wishlist-modal.show .modal-dialog,
.wishlist-modal.in .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* === MODAL CONTENT (la carte blanche) === */
.wishlist-modal .modal-content {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(5, 10, 15, .25), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  overflow: hidden;
  position: relative;
}

/* Petite barre rose en haut du modal */
.wishlist-modal .modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d41e8b 0%, #ff4ba8 100%);
}

/* === MODAL HEADER === */
.wishlist-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(5, 10, 15, .06);
  background: transparent;
}
.wishlist-modal .modal-title {
  margin: 0;
  font-family: 'Permanent Marker', cursive;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #050A0F;
  line-height: 1.2;
}

/* === BOUTON CLOSE (×) === */
.wishlist-modal .modal-header .close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(5, 10, 15, .04) !important;
  border: 1px solid rgba(5, 10, 15, .08) !important;
  border-radius: 50%;
  font-size: 0 !important;
  color: transparent;
  cursor: pointer;
  opacity: 1 !important;
  transition: all .25s ease;
  text-shadow: none !important;
  position: relative;
  flex-shrink: 0;
}
.wishlist-modal .modal-header .close span {
  font-size: 22px;
  font-weight: 300;
  color: #050A0F;
  line-height: 1;
  display: inline-block;
  transition: color .2s ease, transform .3s ease;
  font-family: Arial, sans-serif;
}
.wishlist-modal .modal-header .close:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: rotate(90deg);
}
.wishlist-modal .modal-header .close:hover span {
  color: #ffffff;
}

/* === MODAL BODY === */
.wishlist-modal .modal-body {
  padding: 26px 28px;
  background: transparent;
}

/* Texte simple dans le body (cas Supprimer / Login) */
.wishlist-modal .modal-text {
  margin: 0;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(5, 10, 15, .8);
}

/* Form group dans le body (cas Créer / Renommer / Partager) */
.wishlist-modal .modal-body .form-group,
.wishlist-modal .modal-body .form-group-lg {
  display: block;
  margin: 0;
  padding: 0;
}
.wishlist-modal .modal-body .form-control-label {
  display: block !important;
  position: static !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(5, 10, 15, .7) !important;
  transform: none !important;
  pointer-events: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  max-width: none !important;
}
.wishlist-modal .modal-body .form-control,
.wishlist-modal .modal-body .form-control-lg {
  width: 100% !important;
  height: 52px !important;
  padding: 0 18px !important;
  background: #fafafa !important;
  border: 1px solid rgba(5, 10, 15, .12) !important;
  border-radius: 12px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 15px !important;
  color: #050A0F !important;
  outline: none !important;
  transition: all .2s ease !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.wishlist-modal .modal-body .form-control::placeholder,
.wishlist-modal .modal-body .form-control-lg::placeholder {
  color: rgba(5, 10, 15, .4);
  font-style: italic;
}
.wishlist-modal .modal-body .form-control:hover,
.wishlist-modal .modal-body .form-control-lg:hover {
  border-color: rgba(5, 10, 15, .25) !important;
  background: #ffffff !important;
}
.wishlist-modal .modal-body .form-control:focus,
.wishlist-modal .modal-body .form-control-lg:focus {
  border-color: #d41e8b !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(212, 30, 139, .1) !important;
}

/* Liste des wishlists dans le modal "Ajouter à une liste" */
.wishlist-modal .wishlist-chooselist {
  margin: 0;
}
.wishlist-modal .wishlist-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
}
.wishlist-modal .wishlist-list::-webkit-scrollbar { width: 6px; }
.wishlist-modal .wishlist-list::-webkit-scrollbar-thumb { background: #d41e8b; border-radius: 3px; }

/* === MODAL FOOTER === */
.wishlist-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 18px 28px 24px;
  background: transparent;
  border-top: 1px solid rgba(5, 10, 15, .06);
}

/* Bouton "Annuler" (secondaire = outline) */
.wishlist-modal .modal-footer .btn-secondary,
.wishlist-modal .modal-footer .modal-cancel {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  padding: 0 22px !important;
  background: #ffffff !important;
  color: #050A0F !important;
  border: 2px solid rgba(5, 10, 15, .15) !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.wishlist-modal .modal-footer .btn-secondary:hover,
.wishlist-modal .modal-footer .modal-cancel:hover {
  background: #fafafa !important;
  border-color: #050A0F !important;
  color: #050A0F !important;
}

/* Bouton principal (Créer / Renommer / Copier / Supprimer / Connexion) */
.wishlist-modal .modal-footer .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  padding: 0 24px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: 3px 3px 0 #d41e8b !important;
  text-decoration: none !important;
}
.wishlist-modal .modal-footer .btn-primary:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F !important;
}

/* Cas spécifique du modal Supprimer : bouton "Retirer" en rouge alerte */
.wishlist-delete .modal-footer .btn-primary {
  background: #c0392b !important;
  border-color: #c0392b !important;
  box-shadow: 3px 3px 0 rgba(192, 57, 43, .3) !important;
}
.wishlist-delete .modal-footer .btn-primary:hover {
  background: #a93226 !important;
  border-color: #a93226 !important;
  box-shadow: 1px 1px 0 #050A0F !important;
}

/* === LOCK body scroll quand un modal est ouvert === */
body:has(.wishlist-modal.show),
body:has(.wishlist-modal.in) {
  overflow: hidden;
}

/* === Responsive modals === */
@media (max-width: 540px) {
  .wishlist-modal .modal-header {
    padding: 20px 22px 14px;
  }
  .wishlist-modal .modal-title {
    font-size: 18px;
  }
  .wishlist-modal .modal-body {
    padding: 22px;
  }
  .wishlist-modal .modal-footer {
    padding: 14px 22px 20px;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .wishlist-modal .modal-footer .btn-primary,
  .wishlist-modal .modal-footer .btn-secondary,
  .wishlist-modal .modal-footer .modal-cancel {
    width: 100%;
  }
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 9. PAGE WISHLIST PRODUITS (vue d'une liste d'envies) — V2           ║
   ║ Grille de cartes-produit verticales façon showroom                  ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* === BASE — fond/layout/breadcrumb sur cette page === */
body:has(.wishlist-products-container) {
  background: linear-gradient(180deg, #fafafa 0%, #f5f7f9 100%) !important;
  background-attachment: fixed;
  min-height: 100vh;
}
body:has(.wishlist-products-container) #wrapper {
  background: transparent !important;
  padding: 50px 20px 80px;
}
body:has(.wishlist-products-container) .container {
  max-width: 1300px;
  margin: 0 auto;
}
body:has(.wishlist-products-container) .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 24px;
}
body:has(.wishlist-products-container) .breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px; font-weight: 500;
}
body:has(.wishlist-products-container) .breadcrumb li {
  display: inline-flex; align-items: center;
  color: rgba(5, 10, 15, .5);
}
body:has(.wishlist-products-container) .breadcrumb li + li::before {
  content: '/'; margin-right: 8px; color: rgba(5, 10, 15, .25);
}
body:has(.wishlist-products-container) .breadcrumb li a {
  color: rgba(5, 10, 15, .65); text-decoration: none;
  transition: color .2s ease;
}
body:has(.wishlist-products-container) .breadcrumb li a:hover { color: #d41e8b; }
body:has(.wishlist-products-container) .breadcrumb li:last-child {
  color: #050A0F; font-weight: 600;
}
body:has(.wishlist-products-container) .row {
  margin: 0 !important; display: block !important;
}
body:has(.wishlist-products-container) #content-wrapper {
  width: 100% !important; max-width: none !important;
  padding: 0 !important; flex: none !important;
}
body:has(.wishlist-products-container) #main {
  background: transparent; border: none; box-shadow: none; padding: 0;
}
body:has(.wishlist-products-container) #content.card,
body:has(.wishlist-products-container) #content.card-block {
  background: transparent !important; border: none !important;
  padding: 0 !important; box-shadow: none !important;
}

/* === HEADER : titre + compteur + tri === */
.wishlist-products-container-header {
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 36px;
}
.wishlist-products-container-header h1 {
  font-family: 'Permanent Marker', cursive;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #050A0F;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wishlist-products-container-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #d41e8b;
  border-radius: 2px;
  order: 99;
  flex-basis: 100%;
  margin-top: 10px;
}
.wishlist-products-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 12px;
  background: rgba(212, 30, 139, .12);
  color: #d41e8b;
  border-radius: 50px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* === SORT-BY DROPDOWN === */
.sort-by-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
}
.sort-by-row .sort-by {
  width: auto !important; max-width: none !important;
  flex: none !important; padding: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(5, 10, 15, .55);
}
.sort-by-row .products-sort-order {
  width: auto !important; max-width: none !important;
  flex: none !important; padding: 0 !important;
  position: relative;
}
.products-sort-order .select-title,
.products-sort-order .btn-unstyle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ffffff !important;
  border: 1px solid rgba(5, 10, 15, .12) !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #050A0F !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
  white-space: nowrap;
  box-shadow: none !important;
  min-width: 200px;
  justify-content: space-between;
}
.products-sort-order .select-title:hover,
.products-sort-order .btn-unstyle:hover {
  border-color: #d41e8b !important;
  color: #d41e8b !important;
}
.products-sort-order .select-title i.material-icons,
.products-sort-order .btn-unstyle i.material-icons {
  float: none !important;
  font-size: 20px !important;
  color: inherit !important;
  transition: transform .25s ease;
}
.products-sort-order .dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0; padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .08);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(5, 10, 15, .12);
  min-width: 220px;
  list-style: none;
  z-index: 10;
}
.products-sort-order .dropdown-menu .select-list {
  display: block;
  padding: 10px 14px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px; font-weight: 500;
  color: #050A0F; text-decoration: none;
  border-radius: 10px; cursor: pointer;
  transition: all .15s ease;
}
.products-sort-order .dropdown-menu .select-list:hover {
  background: rgba(212, 30, 139, .08);
  color: #d41e8b;
  padding-left: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════
   GRILLE DES PRODUITS — cartes verticales façon showroom
   ═══════════════════════════════════════════════════════════════════════ */
.wishlist-products-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .wishlist-products-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wishlist-products-list { grid-template-columns: 1fr; gap: 18px; }
}

.wishlist-products-item {
  margin: 0; padding: 0;
  list-style: none;
}

/* === CARTE PRODUIT === */
.wishlist-product {
  display: flex !important;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
  transition: all .35s cubic-bezier(.34, 1.2, .64, 1);
  position: relative;
  height: 100%;
}
.wishlist-product:hover {
  border-color: rgba(212, 30, 139, .3);
  box-shadow: 0 18px 40px rgba(212, 30, 139, .15);
  transform: translateY(-6px);
}

/* === BADGE PROMO (top-left si prix barré présent) === */
.wishlist-product:has(.wishlist-product-price-promo)::before {
  content: 'PROMO';
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  background: #d41e8b;
  color: #ffffff;
  border-radius: 50px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(212, 30, 139, .35);
}

/* === BOUTON SUPPRIMER (top-right, sorti du flow) === */
.wishlist-product .wishlist-button-add {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .95) !important;
  border: 1px solid rgba(5, 10, 15, .08) !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  color: rgba(5, 10, 15, .65) !important;
  transition: all .25s ease !important;
  padding: 0 !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.85);
}
.wishlist-product:hover .wishlist-button-add {
  opacity: 1;
  transform: scale(1);
}
.wishlist-product .wishlist-button-add i.material-icons {
  font-size: 18px !important;
  color: inherit !important;
}
.wishlist-product .wishlist-button-add:hover {
  background: #c0392b !important;
  border-color: #c0392b !important;
  color: #ffffff !important;
  transform: scale(1.1);
}

/* Sur tactile, toujours visible (pas de hover) */
@media (hover: none) {
  .wishlist-product .wishlist-button-add {
    opacity: 1;
    transform: scale(1);
  }
}

/* === LINK CLIQUABLE === */
.wishlist-product-link {
  display: flex !important;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  flex: 1;
}

/* === IMAGE HERO === */
.wishlist-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fafafa;
  position: relative;
  border-radius: 0;
}
.wishlist-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Disponibilité (overlay bas image) */
.wishlist-product-availability {
  margin: 0;
}
.wishlist-product-image .wishlist-product-availability:empty {
  display: none;
}
.wishlist-product-image .wishlist-product-availability {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  z-index: 2;
}
.wishlist-product-availability-responsive { display: none; }

/* === ZONE INFOS === */
.wishlist-product-right {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px 0;
  gap: 10px;
  min-width: 0;
}

.wishlist-product-title {
  margin: 0;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #050A0F;
  line-height: 1.3;
  transition: color .2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}
.wishlist-product:hover .wishlist-product-title {
  color: #d41e8b;
}

/* === PRIX === */
.wishlist-product-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #d41e8b;
  line-height: 1;
}
.wishlist-product-price-promo {
  font-size: 14px;
  font-weight: 500;
  color: rgba(5, 10, 15, .4);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  order: 2;
}

/* === COMBINAISONS === */
.wishlist-product-combinations {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(5, 10, 15, .1);
}
.wishlist-product-combinations-text {
  margin: 0;
  flex: 1;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px;
  color: rgba(5, 10, 15, .65);
  font-style: italic;
  line-height: 1.5;
  min-width: 0;
}
.wishlist-product-combinations-text > span {
  display: inline;
  margin: 0 2px;
  color: rgba(5, 10, 15, .35);
}
.wishlist-product-combinations > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(5, 10, 15, .04);
  border: 1px solid rgba(5, 10, 15, .08);
  border-radius: 50%;
  color: rgba(5, 10, 15, .55) !important;
  text-decoration: none !important;
  transition: all .2s ease;
  flex-shrink: 0;
}
.wishlist-product-combinations > a i.material-icons {
  font-size: 15px !important;
  color: inherit !important;
}
.wishlist-product-combinations > a:hover {
  background: #d41e8b;
  border-color: #d41e8b;
  color: #ffffff !important;
  transform: rotate(15deg);
}

/* === FOOTER BOUTON (Add to cart) === */
.wishlist-product-bottom {
  display: block !important;
  padding: 16px 20px 20px;
  margin-top: auto;
}

.wishlist-product-addtocart {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: 3px 3px 0 #d41e8b !important;
}
.wishlist-product-addtocart::before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8h14l-1.5 12.5a2 2 0 0 1-2 1.5h-7a2 2 0 0 1-2-1.5z'/><path d='M9 11V6a3 3 0 0 1 6 0v5'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.wishlist-product-addtocart:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════ */
.wishlist-pagination {
  margin: 32px 0 0;
  display: flex;
  justify-content: center;
}
.wishlist-pagination:empty { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body:has(.wishlist-products-container) #wrapper {
    padding: 30px 16px 60px;
  }
  .wishlist-products-container-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wishlist-products-container-header h1 {
    font-size: 30px;
  }
  .wishlist-product-title {
    font-size: 15px;
  }
  .wishlist-product-price {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .wishlist-products-container-header h1 {
    font-size: 26px;
  }
  .sort-by-row {
    width: 100%;
    flex-wrap: wrap;
  }
  .products-sort-order .select-title {
    width: 100%;
    min-width: 0;
  }
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 10. FIX — surcharge .text-primary du thème classic                  ║
   ║ La règle du thème : a.text-primary:hover { color: #1d93ab!important }║
   ║ On bat sa spécificité (0,2,1) en préfixant par "body" (+1 type)     ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* Bouton "Créer une nouvelle liste" (fond noir → texte blanc tout le temps) */
body a.wishlist-add-to-new.text-primary,
body a.wishlist-add-to-new.text-primary:hover,
body a.wishlist-add-to-new.text-primary:focus,
body a.wishlist-add-to-new.text-primary:active {
  color: #ffffff !important;
}
body a.wishlist-add-to-new.text-primary i.material-icons,
body a.wishlist-add-to-new.text-primary:hover i.material-icons {
  color: #ffffff !important;
}

/* Liens du footer wishlist (Revenir aux listes / Accueil) */
body .wishlist-footer-links a.text-primary,
body .wishlist-footer-links a.text-primary:focus,
body .wishlist-footer-links a.text-primary:active {
  color: #050A0F !important;
}
body .wishlist-footer-links a.text-primary:hover {
  color: #ffffff !important;
}
body .wishlist-footer-links a.text-primary i.material-icons {
  color: inherit !important;
}

/* Fallback générique pour tout .text-primary restant dans la zone compte */
body:has(#identity-link) a.text-primary:not(.wishlist-add-to-new):not(.wishlist-footer-links a),
body:has(.account-link[data-role="back-to-your-account"]) a.text-primary,
body:has(.wishlist-container) a.text-primary:not(.wishlist-add-to-new),
body:has(.wishlist-products-container) a.text-primary,
body:has(.psgdprinfo17) a.text-primary,
.wishlist-modal a.text-primary {
  color: #d41e8b !important;
}
body:has(#identity-link) a.text-primary:hover,
body:has(.account-link[data-role="back-to-your-account"]) a.text-primary:hover,
body:has(.wishlist-container) a.text-primary:hover:not(.wishlist-add-to-new),
body:has(.wishlist-products-container) a.text-primary:hover,
body:has(.psgdprinfo17) a.text-primary:hover,
.wishlist-modal a.text-primary:hover {
  color: #b01872 !important;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 11. FIXES SUPPLÉMENTAIRES                                           ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* === Fix titre wishlist-list-item au hover (était bleu cyan du thème) === */
body .wishlist-list-item:hover .wishlist-list-item-title,
body .wishlist-list-item:hover .wishlist-list-item-title span {
  color: #ffffff !important;
}

/* === Cache le 2e bouton "Créer une nouvelle adresse" quand la page est vide ===
   Le .alert.alert-info propose déjà le lien "Ajouter une nouvelle adresse"
   donc le .addresses-footer fait doublon. On le cache uniquement quand
   .alert.alert-info est présent (page vide) — il reste visible sur la
   page "Adresses" remplie pour permettre d'en ajouter d'autres. */
#content:has(.alert.alert-info) .addresses-footer {
  display: none !important;
}


/* ╔═════════════════════════════════════════════════════════════════════╗
   ║ 12. PAGE CHECKOUT / COMMANDE                                        ║
   ║ Sélecteur : body:has(.checkout-step)                                ║
   ║ Layout 2 colonnes : étapes à gauche, résumé+réassurance à droite    ║
   ╚═════════════════════════════════════════════════════════════════════╝ */

/* === BACKGROUND === */
body:has(.checkout-step) {
  background: linear-gradient(180deg, #fafafa 0%, #f5f7f9 100%) !important;
  background-attachment: fixed;
  min-height: 100vh;
}

/* === WRAPPER === */
body:has(.checkout-step) #wrapper {
  background: transparent !important;
  padding: 40px 20px 80px;
}
body:has(.checkout-step) .container {
  max-width: 1300px;
  margin: 0 auto;
}

/* === BREADCRUMB === */
body:has(.checkout-step) .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 24px;
}
body:has(.checkout-step) .breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px; font-weight: 500;
}
body:has(.checkout-step) .breadcrumb li {
  display: inline-flex; align-items: center;
  color: rgba(5, 10, 15, .5);
}
body:has(.checkout-step) .breadcrumb li + li::before {
  content: '/'; margin-right: 8px; color: rgba(5, 10, 15, .25);
}
body:has(.checkout-step) .breadcrumb li a {
  color: rgba(5, 10, 15, .65); text-decoration: none;
  transition: color .2s ease;
}
body:has(.checkout-step) .breadcrumb li a:hover { color: #d41e8b; }
body:has(.checkout-step) .breadcrumb li:last-child {
  color: #050A0F; font-weight: 600;
}

/* === LAYOUT GLOBAL === */
body:has(.checkout-step) .row {
  margin: 0 !important;
  display: block !important;
}
body:has(.checkout-step) #content-wrapper {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  flex: none !important;
}
body:has(.checkout-step) #content {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* === GRILLE 2 COLONNES (étapes / résumé) === */
body:has(.checkout-step) #content > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  margin: 0 !important;
}
body:has(.checkout-step) .cart-grid-body,
body:has(.checkout-step) .cart-grid-right {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

@media (max-width: 992px) {
  body:has(.checkout-step) #content > .row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   STEPS — chaque étape du checkout
   ═══════════════════════════════════════════════════════════════════════ */

.checkout-step {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 0;
  margin: 0 0 16px;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
  overflow: hidden;
  transition: all .25s ease;
}
.checkout-step:last-child { margin-bottom: 0; }

/* État unreachable (étape future verrouillée) */
.checkout-step.-unreachable {
  opacity: .55;
  background: #fafafa;
}

/* État current (étape en cours) — légère mise en avant */
.checkout-step.-current {
  border-color: rgba(212, 30, 139, .25);
  box-shadow: 0 6px 20px rgba(212, 30, 139, .08);
}

/* === STEP TITLE (header de l'étape) === */
.checkout-step .step-title {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  margin: 0;
  font-family: 'Permanent Marker', cursive;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #050A0F;
  cursor: default;
  position: relative;
}
.checkout-step.-clickable .step-title {
  cursor: pointer;
}
.checkout-step.-current .step-title {
  border-bottom: 1px solid rgba(5, 10, 15, .06);
}
/* Header SEUL quand l'étape n'est pas current (pas de bordure sous le titre) */
.checkout-step:not(.-current) .step-title {
  padding-bottom: 22px;
}
/* Header de l'étape unreachable : titre en gris */
.checkout-step.-unreachable .step-title {
  color: rgba(5, 10, 15, .55);
}

/* === NUMÉRO DE STEP (cercle) === */
.checkout-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(5, 10, 15, .06);
  color: #050A0F;
  border-radius: 50%;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  transition: all .25s ease;
  text-transform: none;
}
.checkout-step.-current .step-number {
  background: #050A0F;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 30, 139, .12);
}
.checkout-step.-complete .step-number {
  background: #d41e8b;
  color: #ffffff;
}
/* Sur les étapes -complete, on masque le numéro et on affiche le checkmark */
.checkout-step.-complete .step-number {
  font-size: 0;
  position: relative;
}
.checkout-step.-complete .step-number::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* Icône "done" PrestaShop par défaut : on la cache (on a notre checkmark) */
.checkout-step .step-title .done {
  display: none !important;
}

/* === BOUTON "MODIFIER" (à droite du titre) === */
.checkout-step .step-edit {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(5, 10, 15, .5) !important;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(5, 10, 15, .04);
  transition: all .2s ease;
}
.checkout-step .step-edit:hover {
  background: #d41e8b;
  color: #ffffff !important;
}
.checkout-step .step-edit i.material-icons {
  font-size: 14px !important;
  color: inherit !important;
}
/* "Modifier" visible UNIQUEMENT sur les étapes complete */
.checkout-step:not(.-complete) .step-edit {
  display: none !important;
}

/* === CONTENU DE L'ÉTAPE === */
.checkout-step .content {
  padding: 24px 28px 26px;
}

/* === ÉTAPE 1 : Informations personnelles === */
.checkout-step .identity {
  margin: 0 0 8px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 15px;
  color: #050A0F;
}
.checkout-step .identity a,
.checkout-step .content p a {
  color: #d41e8b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.checkout-step .identity a:hover,
.checkout-step .content p a:hover {
  color: #b01872;
}
.checkout-step .content p small {
  display: block;
  margin-top: 8px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px;
  color: rgba(5, 10, 15, .55);
  font-style: italic;
}
.checkout-step .content > p:not(.identity) {
  margin: 0 0 6px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .7);
}

/* === BOUTON "Continuer" === */
.checkout-step .continue.btn-primary,
.checkout-step button.continue {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 50px !important;
  padding: 0 32px !important;
  background: #050A0F !important;
  color: #ffffff !important;
  border: 2px solid #050A0F !important;
  border-radius: 50px !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: 3px 3px 0 #d41e8b !important;
  float: none !important;
  margin-top: 14px;
}
.checkout-step .continue.btn-primary:hover,
.checkout-step button.continue:hover {
  background: #d41e8b !important;
  border-color: #d41e8b !important;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #050A0F !important;
}

/* Wrapper du bouton (form interne ou clearfix) */
.checkout-step .clearfix {
  display: flex;
  justify-content: flex-end;
}
.checkout-step .clearfix form {
  margin: 0;
}

/* === ÉTAPE 2 : Adresses === */
.checkout-step #delivery-address {
  margin-top: 16px;
}

/* Checkbox "Utiliser aussi cette adresse pour la facturation" */
.checkout-step .form-group:has(#use_same_address) {
  grid-column: 1 / -1;
  background: #fafafa;
  border: 1px dashed rgba(5, 10, 15, .12);
  border-radius: 12px;
  padding: 14px 18px !important;
  margin: 6px 0 !important;
}
.checkout-step .form-group:has(#use_same_address) > div {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.checkout-step input#use_same_address {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(5, 10, 15, .35);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
  margin: 0;
}
.checkout-step input#use_same_address:hover { border-color: #d41e8b; }
.checkout-step input#use_same_address:checked {
  background: #d41e8b;
  border-color: #d41e8b;
}
.checkout-step input#use_same_address:checked::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}
.checkout-step label[for="use_same_address"] {
  margin: 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: #050A0F;
  cursor: pointer;
  width: auto !important;
  max-width: none !important;
  position: static !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   COLONNE DROITE : RÉSUMÉ DU PANIER + RÉASSURANCE
   ═══════════════════════════════════════════════════════════════════════ */

/* Conteneur global colonne droite avec scroll sticky */
body:has(.checkout-step) .cart-grid-right {
  position: sticky;
  top: 20px;
  align-self: start;
}

/* === CARTE RÉSUMÉ PANIER === */
#js-checkout-summary.card {
  background: #ffffff !important;
  border: 1px solid rgba(5, 10, 15, .06) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04) !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  overflow: hidden;
  position: relative;
}
#js-checkout-summary.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d41e8b 0%, #ff4ba8 100%);
}
#js-checkout-summary .card-block {
  padding: 24px 22px !important;
}
#js-checkout-summary .card-block + .card-block {
  border-top: 1px solid rgba(5, 10, 15, .06);
}

/* Titre du résumé */
#js-checkout-summary::after {
  content: '';
  display: none;
}

#js-checkout-summary .cart-summary-products {
  margin: 0;
}
#js-checkout-summary .cart-summary-products > p:first-child {
  margin: 0 0 10px;
  font-family: 'Permanent Marker', cursive;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #050A0F;
}

/* Lien "afficher les détails" */
#js-checkout-summary .js-show-details {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  color: #d41e8b !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .2s ease;
}
#js-checkout-summary .js-show-details:hover {
  color: #b01872 !important;
}
#js-checkout-summary .js-show-details i.material-icons {
  font-size: 18px !important;
  color: inherit !important;
  transition: transform .25s ease;
}
#js-checkout-summary .js-show-details[aria-expanded="true"] i.material-icons {
  transform: rotate(180deg);
}

/* Liste des produits dans le résumé */
#js-checkout-summary .media-list {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  border-top: 1px dashed rgba(5, 10, 15, .12);
  margin-top: 12px;
}
#js-checkout-summary .media {
  display: flex !important;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(5, 10, 15, .08);
}
#js-checkout-summary .media:last-child { border-bottom: none; }
#js-checkout-summary .media-left {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}
#js-checkout-summary .media-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#js-checkout-summary .media-body {
  flex: 1;
  min-width: 0;
}
#js-checkout-summary .product-name a {
  display: block;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  color: #050A0F !important;
  text-decoration: none !important;
  margin-bottom: 4px;
  line-height: 1.3;
}
#js-checkout-summary .product-name a:hover {
  color: #d41e8b !important;
}
#js-checkout-summary .product-quantity {
  display: inline-block;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px;
  color: rgba(5, 10, 15, .6);
  margin-right: 8px;
}
#js-checkout-summary .product-price {
  display: inline-block;
  float: right;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: #d41e8b;
}
#js-checkout-summary .product-line-info {
  margin: 4px 0 0;
  font-size: 11px;
  font-style: italic;
  color: rgba(5, 10, 15, .55);
}
#js-checkout-summary .product-line-info .label {
  font-weight: 600;
  margin-right: 4px;
}

/* === LIGNES TOTAUX === */
#js-checkout-summary .cart-summary-line {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 14px;
  color: rgba(5, 10, 15, .8);
}
#js-checkout-summary .cart-summary-line .label {
  font-weight: 500;
}
#js-checkout-summary .cart-summary-line .value {
  font-weight: 600;
  color: #050A0F;
}
/* Livraison gratuite mise en valeur */
#js-checkout-summary #cart-subtotal-shipping .value {
  color: #2c9c5c;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

/* === TOTAL TTC (grand) === */
#js-checkout-summary .cart-summary-totals {
  background: linear-gradient(135deg, #fafafa 0%, #fef0f7 100%);
  border-top: 2px dashed rgba(212, 30, 139, .25);
}
#js-checkout-summary .cart-total {
  padding: 14px 0 !important;
  margin: 0 !important;
}
#js-checkout-summary .cart-total .label {
  font-family: 'Playfair9pt', 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(5, 10, 15, .65);
}
#js-checkout-summary .cart-total .value {
  font-family: 'Permanent Marker', cursive;
  font-size: 26px;
  color: #d41e8b !important;
  font-weight: 400;
  letter-spacing: 1px;
}

/* === RÉASSURANCE === */
.blockreassurance_product {
  background: #ffffff;
  border: 1px solid rgba(5, 10, 15, .06);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(5, 10, 15, .04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blockreassurance_product > div:not(.clearfix) {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(5, 10, 15, .08);
}
.blockreassurance_product > div:not(.clearfix):last-of-type {
  border-bottom: none;
}
.blockreassurance_product .item-product {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.blockreassurance_product .item-product svg {
  width: 44px !important;
  height: 44px !important;
  display: block;
}
.blockreassurance_product .block-title {
  display: block;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #050A0F !important;
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.3;
}
.blockreassurance_product p {
  margin: 2px 0 0 !important;
  font-family: 'Playfair9pt', 'Playfair Display', serif !important;
  font-size: 11px !important;
  color: rgba(5, 10, 15, .55) !important;
  font-style: italic;
  line-height: 1.4;
}
.blockreassurance_product > div:not(.clearfix) > div,
.blockreassurance_product > div > span ~ span,
.blockreassurance_product > div > div {
  flex: 1;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE CHECKOUT
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
  body:has(.checkout-step) .cart-grid-right {
    position: static;
  }
}

@media (max-width: 768px) {
  body:has(.checkout-step) #wrapper {
    padding: 24px 14px 60px;
  }
  body:has(.checkout-step) #content > .row {
    gap: 16px;
  }
  .checkout-step .step-title {
    padding: 18px 20px;
    font-size: 16px;
    gap: 10px;
  }
  .checkout-step .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .checkout-step .content {
    padding: 20px 20px 22px;
  }
  .checkout-step .step-edit {
    font-size: 0 !important;
    padding: 8px !important;
  }
  .checkout-step .step-edit i.material-icons {
    font-size: 18px !important;
  }
  .checkout-step .step-edit::after { display: none; }
}

@media (max-width: 480px) {
  #js-checkout-summary .card-block {
    padding: 18px 16px !important;
  }
  #js-checkout-summary .cart-total .value {
    font-size: 22px;
  }
  .blockreassurance_product {
    padding: 14px 16px;
  }
  .blockreassurance_product .item-product svg {
    width: 36px !important;
    height: 36px !important;
  }
}