/**
 * Theme Name:     euverbery-online-store
 * Author:         Mark-André
 * Template:       hello-elementor
 * Text Domain:	   euverbery-online-store
 * Description:    Ceci est le thème enfant de EUVERBERY OFFICIAL WEBSITE &amp; STORE (php,css,java...) c\&#039;est ici.
 * Author URI:     http://markandremacao.com
 * Version:        0.0.2
 * Tags:           Custom
 */

/* 🌟 Galerie d'images */
.custom-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-width: 800px;
    margin: 0 auto;
}

/* 📏 Organisation des rangées */
.gallery-row {
    display: flex;
    width: 100%;
    gap: 10px;
}

/* 🌟 Style des images */
.gallery-item {
    overflow: hidden;
    border-radius: 0px;
}

/* 📐 Les petites images (2 par ligne) */
.gallery-item.small {
    flex: 1;
    max-width: calc(50% - 5px);
}

/* 📏 La grande image (pleine largeur) */
.gallery-item.large {
    flex: 2;
    width: 100%;
}

/* 📸 Assurer que les images remplissent leur conteneur */
.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 📱 Adaptation pour mobile */
@media screen and (max-width: 768px) {
    .custom-gallery {
        gap: 5px;
    }

    .gallery-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .gallery-item.small {
        width: calc(50% - 2.5px);
    }

    .gallery-item.large {
        width: 100%;
    }
}

/* 🌟 Style de l'image dans le visionneur */
#lightbox-image {
    position: relative;
    z-index: 1 !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: grab;
}

#lightbox-image:active {
    cursor: grabbing;
}

/* 📸 Appliquer le curseur sur toute la galerie */
.custom-gallery img {
    cursor: crosshair !important;
}

/* 🖼️ Appliquer le curseur aussi sur la lightbox */
#lightbox-image {
    cursor: crosshair !important;
}


/* 🌟 Visionneur */
.custom-lightbox {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    padding: 20px;
}

/* ❌ Bouton Close */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: normal; /* Texte normal par défaut */
    text-transform: uppercase;
    color: #000;
    background: none !important;
    border: none;
    cursor: pointer;
    z-index: 999999 !important;
}

/* ✅ Effet au survol : texte devient bold */
.lightbox-close:hover {
    font-weight: bold !important;
    color: rgba(0, 0, 0, 0.6) !important;
    background: none !important;
}

/* 📱 Ajustement pour mobile */
@media screen and (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        font-size: 10px;
    }
}


/* ✅ Conteneur aligné pour la navigation */
.lightbox-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Espace entre les boutons */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
}

/* ✅ Boutons précédent/suivant sans arrière-plan */
.lightbox-prev,
.lightbox-next {
    width: 60px;
    height: 60px;
    background: none !important; /* Suppression du fond */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* ✅ Icônes des boutons */
.lightbox-prev img,
.lightbox-next img {
    width: 100%;
    height: auto;
    max-width: 40px;
}

/* ✅ Pagination au centre */
.lightbox-pagination {
    background: rgba(190, 190, 190, 0.5); /* Léger fond gris */
    color: black;
    font-weight: normal;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
}

/* 📱 Ajustement Mobile (plus grand) */
@media screen and (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 60px;
        height: 60px;
    }
    .lightbox-prev img,
    .lightbox-next img {
        max-width: 45px;
    }
    .lightbox-pagination {
        font-size: 15px;
        padding: 6px 12px;
    }
}

/* 🔍 Curseur de zoom (placé sous le bouton "Fermer", juste au-dessus de l'image) */
.zoom-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: #BEBEBE80;
    padding: 8px 30px;
    border-radius: 12px;
    z-index: 99999;
}


/* ➖ & ➕ Boutons de zoom */
.zoom-btn {
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: normal !important;
    cursor: pointer;
    padding: 5px 10px;
    color: black !important;
    transition: none !important;
}

/* ✅ Suppression effet rose */
.zoom-btn:hover {
    color: black !important;
    background: none !important;
}

/* 🎚️ Curseur */
#zoom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 150px;
    height: 6px;
    background: #888;
    border-radius: 3px;
    outline: none;
    margin: 0 10px;
}

/* ⚡ Style du curseur (Chrome / Safari) */
#zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border: 1px solid black;
    border-radius: 50%;
    cursor: pointer;
}

/* ⚡ Style du curseur (Firefox) */
#zoom-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border: 1px solid black;
    border-radius: 50%;
    cursor: pointer;
}

/* 🚫 Bloquer tout défilement horizontal */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Retirer l'arrière-plan et le contour des champs */
.custom-register-form input[type="text"],
.custom-register-form input[type="email"],
.custom-register-form input[type="password"],
.custom-register-form select {
    background-color: transparent; /* Enlever l'arrière-plan */
    border: none; /* Enlever le contour */
    box-shadow: none; /* Enlever les ombres éventuelles */
    outline: none; /* Enlever le focus outline */
}

/* Libellés en majuscules */
.custom-register-form label.form-label {
    color: black;
    text-transform: uppercase; /* Mettre en majuscule */
}

/* Textes indicatifs (placeholders) */
.custom-register-form input::placeholder {
	text-transform: uppercase;
    color: #E7E7E7; /* Texte indicatif en gris clair */
}

/* Style des champs de saisie */
.custom-register-form input[type="text"],
.custom-register-form input[type="email"],
.custom-register-form input[type="password"],
.custom-register-form select {
    width: 100%;
    padding: 5px;
    border: 0px	
    border-radius: 0px;
    font-size: 16px;
    background-color: #CCCCCC;
    color: #000;
    box-sizing: border-box;
    transition: border-color 0.3s ease; /* Transition pour la couleur de la bordure */
    margin-bottom: 15px; /* Espacement de 40px sous chaque champ */
}

/* Enlever le halo vert au clic (focus) */
.custom-register-form input[type="text"]:focus,
.custom-register-form input[type="email"]:focus,
.custom-register-form input[type="password"]:focus,
.custom-register-form select:focus {
    box-shadow: none; /* Enlever le halo */
    outline: none; /* Enlever le halo au focus */
}


/* Lien des conditions générales */
.custom-register-form a {
    color: #A0A0A0; /* Couleur des liens */
}

.custom-register-form a:hover {
    color: #A0A0A0; /* Couleur des liens au survol */
}

/* Forcer le texte du bouton en majuscule */
.custom-register-form button[type="submit"] {
    text-transform: uppercase;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #000000; /* Arrière-plan noir */
    color: white; /* Texte blanc */
    cursor: pointer;
    border: none;
}

/* Bouton hover */
.custom-register-form button[type="submit"]:hover {
    background-color: #707070;
}

/* Style pour les cases à cocher */
.custom-register-form input[type="checkbox"] {
	  font-size: 12px;
    margin-right: 10px;
}

/* Réduire l'écart entre les libellés et les champs */
.custom-register-form label {
    margin-bottom: 10px !important;