/* LH Product Media Slider — mini slideshow des cartes produits */
.lhms-card.lhms-card { z-index: auto !important; overflow: visible; }
.lhms-card__track { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: pointer; -webkit-overflow-scrolling: touch; }
.lhms-card__track::-webkit-scrollbar { display: none; }
.lhms-card__s { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
.lhms-card__s img, .lhms-card__s video { width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.lhms-card__nav { pointer-events: auto !important; position: absolute; top: 50%; z-index: 21; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); cursor: pointer; transition: background .2s, transform .15s ease, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.lhms-card__nav svg { width: 14px; height: 14px; fill: none; stroke: #111; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .lhms-card__nav:hover { background: #f5c518; } }
.lhms-card__nav.is-pressed { transform: translateY(-50%) scale(.82); background: #f5c518; box-shadow: 0 0 0 6px rgba(245, 197, 24, .3); }
.lhms-card__nav--p.is-pressed svg { animation: lhms-nudge-l .3s ease; }
.lhms-card__nav--n.is-pressed svg { animation: lhms-nudge-r .3s ease; }
@keyframes lhms-nudge-l { 50% { transform: translateX(-3px); } }
@keyframes lhms-nudge-r { 50% { transform: translateX(3px); } }
.lhms-card__nav--p { left: 4px; }
.lhms-card__nav--n { right: 4px; }
@media (max-width: 767px) {
	.lhms-card__nav { width: 24px; height: 24px; }
	.lhms-card__nav--p { left: 10px; }
	.lhms-card__nav--n { right: 10px; }
	.lhms-card__nav svg { width: 12px; height: 12px; }
}
video[data-lhms-muted]::-webkit-media-controls-mute-button, video[data-lhms-muted]::-webkit-media-controls-volume-slider { display: none !important; }
.lhms-card__s .lhms-crop { position: relative; overflow: hidden; flex: none; }

/* Sticker « Le produit en vidéo » sur les cartes des produits qui ont une vidéo */
.lhms-card__badge { position: absolute; top: 22px; right: 2px; z-index: 21; pointer-events: none; display: flex; align-items: center; gap: 5px; max-width: 70%; padding: 5px 9px 5px 7px; border-radius: 8px; background: #f5c518; color: #111; font: 800 10px/1.05 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); transform: rotate(-4deg); transform-origin: top right; transition: opacity .25s, transform .25s; }
.lhms-card__badge svg { flex: none; width: 14px; height: 14px; padding: 3px; border-radius: 50%; background: #111; fill: #f5c518; box-sizing: content-box; }
.lhms-card.is-playing .lhms-card__badge { opacity: 0; transform: rotate(-4deg) scale(.85); }
@media (max-width: 767px) { .lhms-card__badge { font-size: 8.5px; padding: 4px 7px 4px 5px; gap: 4px; } .lhms-card__badge svg { width: 11px; height: 11px; padding: 2px; } }
