/* Lily Neige — Récemment vus (in-house, localStorage ln_recent) */
.ln-recent {
  background: #faf8f3;
  border-top: 1px solid #e6e1d6;
  border-bottom: 1px solid #e6e1d6;
  padding: 22px 0 18px;
  margin: 0;
}
.ln-recent[hidden] {
  display: none !important;
}
.ln-recent .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.ln-recent__title {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.85rem;
  color: #141414;
  font-family: "Cormorant Garamond", Georgia, serif;
}
.ln-recent__scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 10px;
  margin: 0;
  list-style: none;
  scrollbar-color: #b8e000 #efe9dc;
}
.ln-recent__scroller::-webkit-scrollbar {
  height: 6px;
}
.ln-recent__scroller::-webkit-scrollbar-thumb {
  background: #b8e000;
  border-radius: 3px;
}
.ln-recent__card {
  flex: 0 0 160px;
  width: 160px;
  max-width: 160px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #1a1a1a;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e6e1d6;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ln-recent__card:hover,
.ln-recent__card:focus-visible {
  border-color: #b8e000;
  box-shadow: 0 0 0 1px #b8e000;
  color: #1a1a1a;
  outline: none;
}
.ln-recent__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.ln-recent__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ln-recent__thumb--empty {
  background: repeating-linear-gradient(
    45deg,
    #faf8f3,
    #faf8f3 8px,
    #f0eadc 8px,
    #f0eadc 16px
  );
}
.ln-recent__name {
  display: block;
  padding: 8px 10px 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: #141414;
}
.ln-recent__price {
  display: block;
  padding: 0 10px 10px;
  margin-top: -4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3d3d3d;
}
@media (min-width: 768px) {
  .ln-recent__card {
    flex-basis: calc((100% - 64px) / 5);
    width: calc((100% - 64px) / 5);
    max-width: calc((100% - 64px) / 5);
  }
}
@media (min-width: 1100px) {
  .ln-recent__card {
    flex-basis: calc((100% - 80px) / 6);
    width: calc((100% - 80px) / 6);
    max-width: calc((100% - 80px) / 6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ln-recent__card { transition: none; }
}
