/* ============================================================
   STICKY PLAYER
   ============================================================ */
.moh-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111111;
  border-top: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  height: 72px;
  transition: transform 0.3s ease;
}
.moh-player-hidden {
  transform: translateY(100%);
}

/* Pochette */
.moh-player-cover {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.moh-player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Infos */
.moh-player-info {
  flex-shrink: 0;
  min-width: 140px;
  max-width: 200px;
}
.moh-player-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.moh-player-meta {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Bouton play */
.moh-player-controls {
  flex-shrink: 0;
}
#moh-player-play {
  background: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  transition: transform 0.15s, background 0.15s;
}
#moh-player-play:hover {
  transform: scale(1.08);
  background: #e0001b;
  color: #fff;
}

/* Progression + waveform */
.moh-player-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
#moh-player-time,
#moh-player-duration {
  font-size: 11px;
  color: #666;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
#moh-player-waveform {
  flex: 1;
  height: 40px;
  min-width: 0;
  cursor: pointer;
}

/* Bouton fermer */
#moh-player-close {
  background: none;
  border: none;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 8px;
  transition: color 0.15s;
}
#moh-player-close:hover {
  color: #ffffff;
}

/* Caché sur checkout */
.woocommerce-checkout .moh-player,
.woocommerce-cart .moh-player {
  display: none !important;
}

/* Responsive */
@media (max-width: 640px) {
  .moh-player-info { display: none; }
  .moh-player { padding: 10px 16px; gap: 10px; }
}
