/* LT Mes favoris – L'Intemporel Déco */

/* ---------- Cœur sur les vignettes produit (en haut à droite de la photo) ---------- */
#wrapper .product-miniature .thumbnail-top { position: relative; }
.lt-fav-coeur {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent; /* cœur seul, sans rond blanc */
  color: #1f2a36;
  box-shadow: none;
  cursor: pointer;
  transition: transform .15s ease, color .15s ease;
}
.lt-fav-coeur .lt-fav-svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.4; /* trait fin */
  stroke-linejoin: round;
  overflow: visible;
  transition: fill .15s ease;
  /* léger halo blanc : le cœur reste lisible sur une photo sombre */
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .9)) drop-shadow(0 0 3px rgba(255, 255, 255, .7));
}
.lt-fav-coeur.est-favori .lt-fav-svg { fill: currentColor; }
.lt-fav-coeur:hover { color: #1f2a36; transform: scale(1.08); }
.lt-fav-coeur.est-favori { color: #1f2a36; } /* rempli en bleu marine */
.lt-fav-coeur:focus-visible { outline: 2px solid #b18735; outline-offset: 0; }

/* ---------- Fiche produit : cœur sur la grande photo (en haut à droite) ---------- */
.product-cover { position: relative; }
.lt-fav-coeur--fiche {
  top: .75rem;
  right: .75rem;
  z-index: 6; /* au-dessus de la loupe d'agrandissement */
  width: 2.3rem;
  height: 2.3rem;
}
.lt-fav-coeur--fiche .lt-fav-svg { width: 1.7rem; height: 1.7rem; stroke-width: 1.3; }

/* Petit battement de cœur au clic */
.lt-fav-pouls .material-icons,
.lt-fav-pouls .lt-fav-svg { animation: lt-fav-pouls .35s ease; }
@keyframes lt-fav-pouls {
  0% { transform: scale(1); }
  45% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ---------- Cœur dans l'en-tête ---------- */
#header .lt-fav-nav__lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  text-decoration: none;
}
#header .lt-fav-nav__lien:hover,
#header .lt-fav-nav__lien:focus { color: #c9a24a; text-decoration: none; }
#header .lt-fav-nav__lien .material-icons { font-size: 25px; color: inherit; }
#header .right-nav .lt-fav-nav { display: flex; align-items: center; }
.lt-fav-nav__nb {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c9a24a;
  color: #1f2a36;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.lt-fav-nav__nb[hidden] { display: none; }
/* Mobile : dans la ligne du logo, case de 40 × 50 px comme le compte et le panier */
#header .lt-fav-nav--mobile .lt-fav-nav__lien { width: 40px; height: 50px; padding: 0; }
#header .lt-fav-nav--mobile .lt-fav-nav__lien .material-icons { font-size: 26px; }
#header .lt-fav-nav--mobile .lt-fav-nav__nb { top: 6px; right: 0; min-width: 17px; height: 17px; font-size: 10.5px; line-height: 17px; }
@media (max-width: 345px) {
  #header .lt-fav-nav--mobile .lt-fav-nav__lien { width: 36px; }
}

/* ---------- Message en bas de l'écran ---------- */
.lt-fav-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 10px;
  background: #1f2a36;
  box-shadow: 0 12px 30px -10px rgba(11, 29, 58, .6);
  color: #fff;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .2s ease, transform .2s ease;
}
.lt-fav-toast.est-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.lt-fav-toast a { color: #c9a24a; font-weight: 700; text-decoration: underline; white-space: nowrap; }

/* ---------- Page « Mes favoris » ---------- */
.lt-favoris-page #content-wrapper { width: 100%; max-width: 100%; flex: 0 0 100%; }
.lt-favoris-page #content.page-content { padding: 0; border: 0; background: transparent; box-shadow: none; }
.lt-favoris-page #left-column,
.lt-favoris-page #right-column { display: none; }

.lt-fav-page { margin: 10px 0 40px; }
.lt-fav-hero {
  padding: 40px 28px;
  border-radius: 18px;
  background: #1f2a36;
  box-shadow: 0 12px 28px rgba(11, 29, 58, .12);
  color: #fff;
  text-align: center;
}
.lt-fav-hero__kicker {
  margin-bottom: 10px;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .85;
}
.lt-fav-hero__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.lt-fav-hero__subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #e9e4da;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}
.lt-fav-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.lt-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #c9a24a;
  border-radius: 999px;
  background: #c9a24a;
  color: #1f2a36;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
}
.lt-fav-btn:hover,
.lt-fav-btn:focus { background: #b18735; border-color: #b18735; color: #1f2a36; text-decoration: none; }
.lt-fav-btn--ligne { background: transparent; color: #c9a24a; }
.lt-fav-btn--ligne:hover { color: #1f2a36; }
.lt-fav-btn:disabled { opacity: .7; cursor: default; }
.lt-fav-btn .material-icons { font-size: 1.2rem; }

.lt-fav-compte {
  margin: 22px 0 6px;
  color: #4b5563;
  font-size: .95rem;
  text-align: left;
}
.lt-fav-compte .js-lt-fav-nb { color: #1f2a36; font-weight: 800; }
.lt-fav-produits .products { margin-top: 4px; }
.lt-fav-produits .js-product { transition: opacity .25s ease, transform .25s ease; }
.lt-fav-produits .js-product.lt-fav-sortie { opacity: 0; transform: scale(.96); }

.lt-fav-vide {
  max-width: 520px;
  margin: 36px auto 0;
  padding: 32px 24px;
  border: 1px solid rgba(11, 29, 58, .12);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.lt-fav-vide[hidden] { display: none; }
.lt-fav-vide > .material-icons { color: #c9a24a; font-size: 44px; }
.lt-fav-vide h2 { margin: 8px 0; color: #0b1d3a; font-size: 1.2rem; }
.lt-fav-vide p { margin: 0 0 18px; color: #4b5563; text-align: center; }
.lt-fav-vide .lt-fav-btn { background: #1f2a36; border-color: #1f2a36; color: #fff; }
.lt-fav-vide .lt-fav-btn:hover { background: #7a5a22; border-color: #7a5a22; color: #fff; }

@media (max-width: 767px) {
  .lt-fav-page { margin: 6px 0 28px; }
  .lt-fav-hero { padding: 26px 16px; border-radius: 14px; }
  .lt-fav-hero__title { font-size: 1.55rem; }
  .lt-fav-coeur { top: .4rem; right: .4rem; width: 1.85rem; height: 1.85rem; }
  .lt-fav-coeur .lt-fav-svg { width: 1.3rem; height: 1.3rem; }
  .lt-fav-coeur--fiche { top: .6rem; right: .6rem; width: 2.1rem; height: 2.1rem; }
  .lt-fav-coeur--fiche .lt-fav-svg { width: 1.55rem; height: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lt-fav-pouls .material-icons,
  .lt-fav-pouls .lt-fav-svg { animation: none; }
  .lt-fav-toast,
  .lt-fav-produits .js-product,
  .lt-fav-coeur { transition: none; }
}

/* L'alignement du compte, du panier et de la loupe est réglé dans custom.css
   (bloc « EN-TÊTE – PICTOS ALIGNÉS »). */
