/* Explain: Styles for UI components, hero effects, scrollbar hiding, image protection, and mobile menu. */
.hero-title-shadow {
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.85), 0 8px 18px rgba(0, 0, 0, 0.7), 0 18px 42px rgba(45, 58, 58, 0.6);
}

.hero-subtitle-shadow {
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.85), 0 7px 16px rgba(0, 0, 0, 0.68), 0 14px 32px rgba(45, 58, 58, 0.5);
}

.hero-cta-3d {
    box-shadow: 0 12px 28px rgba(45, 58, 58, 0.32);
    transform: none;
}

.hero-cta-3d:hover {
    box-shadow: 0 14px 32px rgba(45, 58, 58, 0.38);
    transform: none;
}

.hero-cta-3d:active {
    box-shadow: 0 8px 20px rgba(45, 58, 58, 0.28);
    transform: none;
}

/* Masquer la barre de défilement pour les éléments scrollables sur mobile (ex: filtres) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Protection des visuels produits */
img {
    -webkit-user-drag: none;
}

.wm-frame {
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

.wm-mark {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 6;
    pointer-events: none;
    font-family: var(--font-body, sans-serif);
    font-size: 8px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(15, 23, 42, 0.42);
    padding: 3px 6px;
    border-radius: 4px;
    max-width: calc(100% - 12px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .wm-mark {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* Visionneuse plein écran des photos produit (agrandissement) */
#gallery-lightbox {
    display: none;
}

#gallery-lightbox.is-open {
    display: flex;
}

/* Menú móvil: panel lateral */
.mobile-nav {
    display: none;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 60;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20rem;
    max-width: 85vw;
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.25);
    z-index: 70;
}

.mobile-nav.is-open .mobile-nav-backdrop {
    animation: mobile-nav-fade 0.3s ease;
}

.mobile-nav.is-open .mobile-nav-panel {
    animation: mobile-nav-slide 0.3s ease;
}

@keyframes mobile-nav-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mobile-nav-slide {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
