#video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

#video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Voile sombre pour lisibilité du contenu */
#video-bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

/* Bouton son */
#video-sound-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#video-sound-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

#video-sound-btn {
    pointer-events: auto !important;
}

/* Rendre toute la page transparente pour laisser apparaître la vidéo */
body,
#wrapper,
#main,
.page-home,
#content-wrapper,
.container,
#header,
#header .header-nav,
#header .header-top,
.page-wrapper,
section.featured-products,
section.products-selection,
.block-category,
.featured-products,
#js-product-list-top,
.ps-shown-by-js,
.banner,
.custom-text,
#custom-text,
.homeslider,
#index #wrapper,
main#main {
    background: transparent !important;
    background-color: transparent !important;
}

/* Texte lisible sur fond vidéo */
body {
    color: #fff !important;
}

/* Garder le footer avec un fond sombre */
#footer {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Garder le header lisible */
#header {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Produits avec fond semi-transparent */
.product-miniature,
.card,
.card-block {
    background: rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
}

.product-miniature .product-title a,
.product-miniature .price {
    color: #fff !important;
}
