/* HAFSOIT BEAUTY — Annonces luxe (oriental moderne, fluide, GPU) */

:root {
  --hb-luxe-gold: #a68b4b;
  --hb-luxe-gold-soft: #c4a86a;
  --hb-luxe-gold-mist: rgba(196, 168, 106, 0.22);
  --hb-luxe-ink: #141210;
  --hb-luxe-cream: #f7f2ea;
  --hb-luxe-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --hb-luxe-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hb-luxe-duration: 0.65s;
}

/* ——— Ticker glass premium ——— */
.hb-ticker {
  position: relative;
  z-index: 60;
  min-height: 40px;
  overflow: hidden;
  background: rgba(20, 18, 16, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(166, 139, 75, 0.18);
  box-shadow: 0 1px 0 rgba(255, 252, 246, 0.04) inset;
}

.hb-ticker::before,
.hb-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.hb-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.9), transparent);
}

.hb-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(20, 18, 16, 0.9), transparent);
}

.hb-ticker-viewport {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.hb-ticker-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  padding: 11px 0;
  gap: 0;
  will-change: transform;
  animation: hbTickerScroll var(--hb-ticker-speed, 32s) linear infinite;
  animation-play-state: running;
}

/* Pause au survol ou au toucher — reprise quand le curseur part */
.hb-ticker.is-paused .hb-ticker-track {
  animation-play-state: paused !important;
}

/* Droite → gauche : le texte entre par la droite et sort à gauche */
@keyframes hbTickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.hb-ticker-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0 3.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 212, 160, 0.92);
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(196, 168, 106, 0.2);
}

.hb-ticker-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 1.1rem;
  border-radius: 50%;
  background: var(--hb-luxe-gold-soft);
  opacity: 0.55;
  box-shadow: 0 0 8px var(--hb-luxe-gold-mist);
}

.hb-ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

/* ——— Bannière rotative ——— */
.hb-announce-banner {
  position: relative;
  z-index: 55;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(
    105deg,
    rgba(26, 24, 22, 0.94) 0%,
    rgba(45, 38, 32, 0.92) 42%,
    rgba(60, 48, 36, 0.88) 100%
  );
  border-bottom: 1px solid rgba(166, 139, 75, 0.12);
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  animation: hbBannerEnter var(--hb-luxe-duration) var(--hb-luxe-ease-out) 0.35s forwards;
}

.hb-announce-banner.hb-ann-carousel {
  padding: 0;
  min-height: 72px;
}

.hb-ann-carousel-inner {
  position: relative;
  min-height: 72px;
}

.hb-ann-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.85s var(--hb-luxe-ease-out),
    transform 0.85s var(--hb-luxe-ease-out),
    visibility 0.85s;
  pointer-events: none;
}

.hb-ann-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hb-ann-carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hb-ann-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(196, 168, 106, 0.35);
  cursor: pointer;
  transition: background 0.35s, transform 0.35s;
}

.hb-ann-dot.is-active {
  background: var(--hb-luxe-gold-soft);
  transform: scale(1.15);
}

.hb-announce-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 120% at 50% -20%, rgba(212, 188, 130, 0.12), transparent 55%);
  opacity: 0.85;
}

.hb-announce-banner a {
  position: relative;
  z-index: 1;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s var(--hb-luxe-ease);
}

.hb-announce-banner a:hover {
  opacity: 0.92;
}

@keyframes hbBannerEnter {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hb-announce-banner .hb-ann-eyebrow {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hb-luxe-gold-soft);
  opacity: 0.9;
}

.hb-announce-banner .hb-ann-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--hb-luxe-cream);
  letter-spacing: 0.02em;
}

.hb-announce-banner .hb-ann-msg {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245, 240, 235, 0.62);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Notifications live (discrètes) ——— */
.hb-live-stack {
  position: fixed;
  bottom: 96px;
  left: 20px;
  z-index: 9985;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(300px, calc(100vw - 40px));
  pointer-events: none;
}

.hb-live-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(26, 24, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(166, 139, 75, 0.16);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  color: rgba(245, 240, 235, 0.9);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  cursor: pointer;
  will-change: transform, opacity;
  transform: translate3d(0, 12px, 0);
  opacity: 0;
  animation: hbToastEnter 0.85s var(--hb-luxe-ease-out) forwards;
}

.hb-live-toast.is-out {
  animation: hbToastExit 0.55s var(--hb-luxe-ease) forwards;
}

@keyframes hbToastEnter {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hbToastExit {
  to { opacity: 0; transform: translate3d(0, 8px, 0); }
}

.hb-live-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(166, 139, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* ——— Popup luxe ——— */
header {
  z-index: 10060;
}

.hb-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 28px);
  background: rgba(12, 11, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--hb-luxe-ease), visibility 0.7s;
}

.hb-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hb-popup-overlay.is-closing {
  opacity: 0;
}

.hb-popup-card {
  position: relative;
  width: 100%;
  max-width: min(440px, 94vw);
  background: linear-gradient(168deg, #fffcf8 0%, #f3ebe0 48%, #ebe2d4 100%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(166, 139, 75, 0.22);
  box-shadow:
    0 4px 6px rgba(26, 21, 19, 0.04),
    0 24px 64px rgba(26, 21, 19, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: scale(0.94) translate3d(0, 20px, 0);
  opacity: 0;
  transition:
    transform 0.75s var(--hb-luxe-ease-out),
    opacity 0.75s var(--hb-luxe-ease-out);
  will-change: transform, opacity;
}

.hb-popup-overlay.is-open .hb-popup-card {
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
}

.hb-popup-overlay.is-closing .hb-popup-card {
  transform: scale(0.97) translate3d(0, 10px, 0);
  opacity: 0;
}

body.dark .hb-popup-card {
  background: linear-gradient(168deg, #2c2824 0%, #1e1b18 100%);
  border-color: rgba(166, 139, 75, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.hb-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(8px);
  color: #3d3832;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.35s var(--hb-luxe-ease), background 0.35s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hb-popup-close:hover {
  transform: scale(1.05);
  background: #fff;
}

body.dark .hb-popup-close {
  background: rgba(40, 36, 32, 0.9);
  color: var(--hb-luxe-cream);
}

.hb-popup-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: min(52vh, 380px);
  background: #ebe6dc;
  overflow: hidden;
}

.hb-popup-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.2s var(--hb-luxe-ease);
}

.hb-popup-overlay.is-open .hb-popup-img-wrap img {
  animation: hbPopupImgReveal 1.1s var(--hb-luxe-ease-out) 0.15s both;
}

@keyframes hbPopupImgReveal {
  from { transform: scale(1.04); opacity: 0.92; }
  to { transform: scale(1); opacity: 1; }
}

.hb-popup-body {
  padding: 28px 32px 32px;
  text-align: center;
}

.hb-popup-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hb-luxe-ink);
  background: rgba(196, 168, 106, 0.35);
  border: 1px solid rgba(166, 139, 75, 0.25);
  border-radius: 999px;
}

.hb-popup-body h3 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--or, var(--hb-luxe-gold));
  letter-spacing: 0.01em;
}

.hb-popup-price {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted, #6e6254);
}

.hb-popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hb-luxe-cream);
  background: linear-gradient(145deg, #1c1a17 0%, #2a2520 100%);
  border: 1px solid rgba(166, 139, 75, 0.28);
  border-radius: 999px;
  transition:
    transform 0.45s var(--hb-luxe-ease),
    box-shadow 0.45s var(--hb-luxe-ease),
    background 0.45s;
  box-shadow: 0 4px 20px rgba(26, 21, 19, 0.15);
}

.hb-popup-cta:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 10px 28px rgba(26, 21, 19, 0.2), 0 0 0 1px rgba(196, 168, 106, 0.15);
}

/* ——— Badges produit (minimalistes) ——— */
.product-image .badge.badge-new,
.product-image .badge.badge-trending,
.product-image .badge.badge-promo-live,
.product-image .badge.badge-stock-low {
  top: 10px;
  left: 10px;
  right: auto;
  padding: 4px 9px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: none;
}

.badge.badge-new {
  background: rgba(26, 24, 22, 0.72);
  color: rgba(232, 212, 160, 0.95);
  border: 1px solid rgba(166, 139, 75, 0.28);
}

.badge.badge-trending {
  top: auto;
  bottom: 10px;
  background: rgba(26, 24, 22, 0.65);
  color: rgba(245, 240, 235, 0.9);
  border: 1px solid rgba(166, 139, 75, 0.2);
}

.badge.badge-promo-live {
  background: rgba(92, 61, 66, 0.75);
  color: rgba(255, 248, 245, 0.95);
  border: 1px solid rgba(184, 92, 92, 0.2);
}

.badge.badge-stock-low {
  background: rgba(61, 52, 42, 0.78);
  color: rgba(245, 240, 235, 0.88);
  border: 1px solid rgba(166, 139, 75, 0.15);
}

/* ——— Nouvelles collections — minimal (aligné grille produits) ——— */
#nouveautes.hb-nouveautes {
  --hb-gold: #b89b72;
  --hb-nv-fade: var(--bg, #f5f0e8);
  --hb-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --hb-ease-slow: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(72px, 11vw, 108px) 0 clamp(56px, 8vw, 80px);
  background: transparent;
  border: none;
  overflow: hidden;
}

#nouveautes.hb-nouveautes::before,
#nouveautes.hb-nouveautes::after {
  display: none;
}

.hb-nouveautes-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hb-nouveautes-inner {
  position: relative;
  z-index: 1;
}

/* En-tête */
.hb-nouveautes-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(40px, 6vw, 56px);
  padding: 0 24px;
}

.hb-nouveautes-kicker {
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hb-gold);
  opacity: 0.8;
}

.hb-nouveautes-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hb-nouveautes-rule::before,
.hb-nouveautes-rule::after {
  content: '';
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 155, 114, 0.5), transparent);
}

.hb-nouveautes-rule span {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border: 1px solid rgba(184, 155, 114, 0.45);
}

.hb-nouveautes-header h2 {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #6b5340 0%, #b89b72 45%, #8f7348 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hb-nouveautes-lead {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(42, 33, 27, 0.62);
}

#nouveautes.hb-nouveautes .hb-nouveautes-header {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

#nouveautes.hb-nouveautes.is-inview .hb-nouveautes-header {
  animation: hbNvReveal 1.1s var(--hb-ease-premium) forwards;
}

@keyframes hbNvReveal {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Carousel infini premium — GPU */
.hb-nouveautes-slider.hb-nouveautes-carousel {
  position: relative;
  margin: 0 auto;
  padding: 12px 0 20px;
}

.hb-nouveautes-slider-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(56px, 14vw, 160px);
  z-index: 5;
  pointer-events: none;
}

.hb-nouveautes-slider-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--hb-nv-fade) 22%, transparent 100%);
}

.hb-nouveautes-slider-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--hb-nv-fade) 22%, transparent 100%);
}

.hb-nouveautes-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 32px 0 40px;
  cursor: grab;
  touch-action: pan-y;
}

.hb-nouveautes-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.hb-nouveautes-carousel-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hb-nouveautes-carousel-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
  padding: 0 18px;
}


/* Cartes — intégrées au fond, sans bordure ni ombre au repos */
#nouveautes.hb-nouveautes .hb-nouveaute-card {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.85s var(--hb-ease-premium), transform 0.85s var(--hb-ease-premium);
  will-change: transform, opacity;
}

#nouveautes.hb-nouveautes .hb-nouveaute-card-inner {
  position: relative;
  border-radius: 18px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transform: translateY(0) scale(1);
  transition:
    box-shadow 0.52s var(--hb-ease-premium),
    transform 0.52s var(--hb-ease-premium),
    border-color 0.52s var(--hb-ease-premium);
}

#nouveautes.hb-nouveautes .hb-nouveaute-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.52s var(--hb-ease-premium);
}

#nouveautes.hb-nouveautes .hb-nouveaute-card-inner > * {
  position: relative;
  z-index: 1;
}

#nouveautes.hb-nouveautes.is-inview .hb-nouveaute-card {
  animation: hbNvCardFadeUp 1s var(--hb-ease-premium) forwards;
  animation-delay: calc(0.12s + var(--card-i, 0) * 0.08s);
}

@keyframes hbNvCardFadeUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

#nouveautes.hb-nouveautes.is-inview .hb-nouveaute-card.is-center {
  animation: none;
}

#nouveautes.hb-nouveautes.is-carousel-live .hb-nouveaute-card:not(.is-center) {
  opacity: 0.78;
}

#nouveautes.hb-nouveautes.is-carousel-live .hb-nouveaute-card.is-center {
  opacity: 1;
  z-index: 2;
}

#nouveautes.hb-nouveautes.is-carousel-live .hb-nouveaute-card.is-center .hb-nouveaute-card-inner {
  transform: translateY(-4px) scale(1.02);
}

#nouveautes.hb-nouveautes .hb-nouveautes-carousel.is-focus .hb-nouveaute-card:not(.is-active) {
  opacity: 0.55;
}

#nouveautes.hb-nouveautes .hb-nouveautes-carousel.is-focus .hb-nouveaute-card.is-active {
  opacity: 1;
  z-index: 3;
}

#nouveautes.hb-nouveautes .hb-nouveaute-card:focus-visible {
  outline: 2px solid var(--accent-soft, #c9a962);
  outline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  #nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-card-inner::before,
  #nouveautes.hb-nouveautes .hb-nouveaute-card.is-active .hb-nouveaute-card-inner::before {
    opacity: 1;
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-card-inner,
  #nouveautes.hb-nouveautes .hb-nouveaute-card.is-active .hb-nouveaute-card-inner {
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow:
      0 28px 56px rgba(26, 20, 14, 0.11),
      0 10px 28px rgba(26, 20, 14, 0.06);
    transform: translateY(-7px) scale(1.008);
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-media,
  #nouveautes.hb-nouveautes .hb-nouveaute-card.is-active .hb-nouveaute-media {
    background: #ffffff;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-img-stage,
  #nouveautes.hb-nouveautes .hb-nouveaute-card.is-active .hb-nouveaute-img-stage {
    transform: scale(1.045);
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-media img,
  #nouveautes.hb-nouveautes .hb-nouveaute-card.is-active .hb-nouveaute-media img {
    filter:
      drop-shadow(0 24px 38px rgba(26, 20, 14, 0.11))
      drop-shadow(0 10px 20px rgba(26, 20, 14, 0.06));
  }
}

/* Zone image — PNG transparent, fond du site */
#nouveautes.hb-nouveautes .hb-nouveaute-media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: background 0.52s var(--hb-ease-premium), border-radius 0.52s var(--hb-ease-premium);
}

#nouveautes.hb-nouveautes .hb-nouveaute-img-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.52s var(--hb-ease-premium);
  will-change: transform;
}

#nouveautes.hb-nouveautes .hb-nouveaute-img-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  width: 62%;
  height: 16px;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(26, 20, 14, 0.11) 0%,
    rgba(26, 20, 14, 0.04) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

#nouveautes.hb-nouveautes .hb-nouveaute-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 82%;
  padding: 2% 6% 4%;
  box-sizing: border-box;
  background: transparent;
  filter:
    drop-shadow(0 18px 28px rgba(26, 20, 14, 0.09))
    drop-shadow(0 6px 14px rgba(26, 20, 14, 0.05));
  transition: filter 0.52s var(--hb-ease-premium), transform 0.38s var(--hb-ease-premium);
}

#nouveautes.hb-nouveautes .hb-nouveaute-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 5px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text, #1a1612);
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(26, 20, 14, 0.08);
  border-radius: 4px;
  box-shadow: none;
}

/* Typographie — comme la grille produits */
#nouveautes.hb-nouveautes .hb-nouveaute-info {
  padding: 12px 4px 2px;
  background: transparent;
  border: none;
}

#nouveautes.hb-nouveautes .hb-nouveaute-cat {
  margin: 0 0 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted, #6e6254);
}

#nouveautes.hb-nouveautes .hb-nouveaute-info h3 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text, #1a1612);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#nouveautes.hb-nouveautes .hb-nouveaute-price-wrap {
  padding: 0;
  border: none;
}

#nouveautes.hb-nouveautes .hb-nouveaute-price-wrap .price-from {
  display: block;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted, #6e6254);
}

#nouveautes.hb-nouveautes .hb-nouveaute-price-wrap .price {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text, #1a1612);
}

#nouveautes.hb-nouveautes .hb-nouveaute-discover {
  display: inline-block;
  position: relative;
  z-index: 4;
  margin-top: 10px;
  padding: 0;
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted, #6e6254);
  opacity: 1;
  transform: none;
  cursor: pointer;
  transition: color 0.35s ease;
}

#nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-nouveaute-discover {
  color: var(--accent, #b8941f);
}

#nouveautes.hb-nouveautes .hb-arrow {
  display: inline-block;
  transition: transform 0.5s var(--hb-ease-premium);
}

#nouveautes.hb-nouveautes .hb-nouveaute-card:hover .hb-arrow {
  transform: translate3d(5px, 0, 0);
}

/* Hint + CTA */
.hb-nouveautes-hint {
  margin: 12px auto 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(42, 33, 27, 0.42);
  transition: opacity 0.5s ease;
}

.hb-nouveautes-hint.is-hidden { opacity: 0; }

.hb-nouveautes-footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 44px);
  padding: 0 24px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

#nouveautes.hb-nouveautes.is-inview .hb-nouveautes-footer {
  animation: hbNvReveal 1.1s var(--hb-ease-premium) 0.4s forwards;
}

.hb-nouveautes-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text, #1a1612);
  background: transparent;
  border: 0.5px solid rgba(184, 155, 114, 0.45);
  border-radius: 6px;
  transition: all 0.65s var(--hb-ease-premium);
}

.hb-nouveautes-cta:hover {
  color: #fffef8;
  background: linear-gradient(135deg, #6b5340 0%, #b89b72 55%, #a68b5a 100%);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(107, 83, 64, 0.25);
}

/* Mode sombre */
body.dark #nouveautes.hb-nouveautes {
  --hb-nv-fade: var(--bg, #141210);
  background: transparent;
  border: none;
}

body.dark .hb-nouveautes-header h2 {
  background: linear-gradient(135deg, #d4bc82 0%, #b89b72 50%, #e8d4a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body.dark .hb-nouveautes-lead {
  color: rgba(247, 241, 232, 0.5);
}

body.dark .hb-nouveautes-hint {
  color: rgba(247, 241, 232, 0.35);
}

body.dark .hb-nouveautes-cta {
  color: var(--hb-gold);
}

body.dark .hb-nouveautes-cta:hover {
  color: #141210;
}


/* ——— Mobile ——— */
@media (max-width: 768px) {
  .hb-ticker {
    min-height: 36px;
  }

  .hb-ticker-item {
    padding: 0 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .hb-ticker-track {
    animation-duration: 42s;
  }

  .hb-announce-banner {
    padding: 12px 16px;
  }

  .hb-live-stack {
    bottom: 80px;
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .hb-popup-body {
    padding: 22px 22px 28px;
  }

  .hb-popup-img-wrap {
    max-height: 42vh;
  }

  .hb-popup-cta {
    min-width: 0;
    width: 100%;
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card {
    flex: 0 0 min(220px, 78vw);
    width: min(220px, 78vw);
  }

  .hb-nouveautes-carousel-viewport {
    padding: 24px 0 32px;
  }

  .hb-nouveautes-carousel-set {
    gap: 18px;
    padding: 0 12px;
  }

  .hb-nouveautes-cta {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-ticker-track {
    animation-duration: 60s !important;
    animation-play-state: running !important;
  }

  .hb-ann-slide {
    transition-duration: 0.2s;
  }

  .hb-announce-banner,
  .hb-live-toast,
  .hb-popup-card,
  .hb-popup-img-wrap img,
  #nouveautes.hb-nouveautes.is-inview .hb-nouveaute-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  #nouveautes.hb-nouveautes .hb-nouveautes-slider.is-focus .hb-nouveaute-card:not(.is-active) {
    opacity: 0.7;
  }

  #nouveautes.hb-nouveautes .hb-nouveautes-header,
  #nouveautes.hb-nouveautes .hb-nouveautes-footer {
    opacity: 1;
    transform: none;
    animation: none;
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-discover {
    opacity: 1;
    transform: none;
  }

  #nouveautes.hb-nouveautes .hb-nouveaute-card,
  #nouveautes.hb-nouveautes .hb-nouveaute-media img {
    transition: none !important;
  }
}
