/* =================================================================
   LIVE SHOPPING - Lecteur video "Dan" (partial commun)
   TPL : themes/bobochic/live-shopping-video-dan.tpl
   La hauteur du player est surchargee par la section qui l'inclut.

   Valeurs issues du design system Bobochic (variables non declarees
   dans le theme, valeurs en dur) :
     titre vignette 18px = --font-size-lg
     sous-titre 12px     = --font-size-sm
     #1A1A1A = neutral-900   voile : rgba(11,11,12,...) = neutral-950
   ================================================================= */

#liveshopping .ls-video-dan {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 380px;
}

#liveshopping .ls-video-dan__player {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #1A1A1A;
    width: 100%;
    height: 520px;
}

#liveshopping .ls-video-dan__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #1A1A1A;
}

#liveshopping .ls-video-dan__poster {
    position: absolute;
    inset: 0;
    background: url('../img/new-website/live-shopping/dan-live-shopping.jpg') center center / cover no-repeat;
}

#liveshopping .ls-video-dan__player.is-playing .ls-video-dan__poster {
    display: none;
}

#liveshopping .ls-video-dan__overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.25s;
}

#liveshopping .ls-video-dan__player.is-playing {
    cursor: default;
}

#liveshopping .ls-video-dan__player.is-playing .ls-video-dan__overlay {
    opacity: 0;
    pointer-events: none;
}

#liveshopping .ls-video-dan__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 11, 12, 0.45) 0%, rgba(11, 11, 12, 0.05) 35%, rgba(11, 11, 12, 0.25) 62%, rgba(11, 11, 12, 0.82) 100%);
}

#liveshopping .ls-video-dan__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

#liveshopping .ls-video-dan__play:hover {
    background: rgba(255, 255, 255, 0.3);
}

#liveshopping .ls-video-dan__play svg {
    width: 30px;
    height: 30px;
    pointer-events: none;
}

#liveshopping .ls-video-dan__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 64px 20px 18px;
    pointer-events: none;
}

#liveshopping .ls-video-dan__caption-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

#liveshopping .ls-video-dan__caption-meta {
    margin: 4px 0 0;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Responsive --- */
@media (max-width: 1400px) {
    #liveshopping .ls-video-dan { width: 340px; }
    #liveshopping .ls-video-dan__player { height: 460px; }
}

@media (max-width: 1100px) {
    #liveshopping .ls-video-dan { width: 300px; }
    #liveshopping .ls-video-dan__player { height: 420px; }
}

@media (max-width: 950px) {
    #liveshopping .ls-video-dan {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    #liveshopping .ls-video-dan__player {
        height: auto;
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 767px) {
    #liveshopping .ls-video-dan__play { width: 64px; height: 64px; }
}

