/** Shopify CDN: Minification failed

Line 557:0 Unexpected "}"

**/
@media (min-width: 1024px) {
    /* 1️⃣ Header transparent par défaut */
    .theme__header {
        background-color: transparent !important;
        color: white !important;
        transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    /* 2️⃣ Header devient blanc au scroll */
    body.header-sticky .theme__header {
        background-color: white !important;
        color: black !important;
    }

    /* 3️⃣ Header devient blanc au survol (sauf si le panier est ouvert) */
    body:not(.cart-open) .theme__header:hover {
        background-color: white !important;
        color: black !important;
    }

    /* 4️⃣ Texte et icônes deviennent noirs lorsque le header est blanc */
    body.header-sticky .theme__header .navlink,
    body.header-sticky .theme__header .icon,
    body.header-sticky .theme__header .header__logo img,
    body:not(.cart-open) .theme__header:hover .navlink,
    body:not(.cart-open) .theme__header:hover .icon,
    body:not(.cart-open) .theme__header:hover .header__logo img {
        color: black !important;
        filter: none !important;
    }

    /* 5️⃣ Changer le logo en version noire au scroll ou au survol */
    body.header-sticky .theme__header .header__logo img,
    body:not(.cart-open) .theme__header:hover .header__logo img {
        content: url('/cdn/shop/files/CC6BA8E2-7F77-42F5-BD0D-A14583DF226E.png?v=1738571659') !important;
    }

    /* 6️⃣ Assurer que les liens du menu déroulant restent bien noirs */
    .theme__header .header__dropdown .navlink {
        color: black !important;
    }

    /* 7️⃣ Si hover ou sticky, les liens du menu restent noirs */
    body.header-sticky .theme__header .header__dropdown .navlink,
    body:not(.cart-open) .theme__header:hover .header__dropdown .navlink {
        color: black !important;
    }

    /* 8️⃣ Forcer le texte du header à être noir */
    body.header-sticky .theme__header *,
    body:not(.cart-open) .theme__header:hover * {
        color: black !important;
    }



@media (min-width: 1024px) {
    /* 🎯 Ajustement final du chiffre dans l'icône panier */
    .header__cart__status {
        position: absolute !important;
        top: 61% !important;  /* Descendu encore légèrement */
        left: 50% !important;  /* Centre parfaitement */
        transform: translate(-50%, -50%) !important; /* Ajustement parfait */
        font-size: 9px !important; /* Petite taille */
        font-weight: normal !important; /* Pas de gras */
        color: black !important; /* Chiffre en noir */
        background: none !important; /* Pas de fond */
        border-radius: 0 !important; /* Pas de cercle */
        padding: 0 !important; /* Pas d’espace inutile */
        line-height: 1 !important; /* Ajustement précis */
        width: auto !important;
        height: auto !important;
    }
}


    /* 🌫️ Bloquer toutes interactions avec le site quand le panier est ouvert */
    body.cart-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Arrière-plan assombri */
        z-index: 999998; /* Juste sous le panier */
        transition: opacity 0.3s ease-in-out;
    }

    /* ❌ Désactiver toutes les interactions avec le site SAUF avec le panier */
    body.cart-open *:not(.cart-drawer, .cart-drawer *, .cart-close-btn) {
        pointer-events: none !important;
    }

    /* 🚫 Assurer que le header est BLOQUÉ et passe SOUS le panier */
    body.cart-open .theme__header {
        pointer-events: none !important;
        z-index: 1000 !important; /* Toujours sous le panier */
        position: relative !important;
    }

    /* ❌ Empêcher les menus de s'ouvrir quand le panier est actif */
    body.cart-open .header__dropdown {
        display: none !important;
    }

    /* 🎯 Empêcher les icônes du header de gêner le panier */
    body.cart-open .theme__header .icon {
        pointer-events: none !important;
        opacity: 0.4 !important;
    }

    /* ✅ Permettre la fermeture du panier en cliquant à l'extérieur */
    body.cart-open::before {
        pointer-events: auto !important;
    }

    /* 🔹 Assurer que RIEN ne dépasse du panier */
    body.cart-open .cart-drawer {
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.4);
    }

    /* 🛠 FORCER le panier à passer en ABSOLU au-dessus du header */
    .cart-drawer {
        position: absolute !important;
        z-index: 9999999 !important;
    }

    /* 🛠 Assurer que le header n'a plus la priorité */
    .theme__header {
        z-index: 1000 !important; /* Plus bas que le panier */
    }
}

  /* Style du bouton explore around the memories */
.custom-button {
    display: inline-block;
    padding: 10px 20px; /* 10px en haut/bas, 20px sur les côtés */
    font-size: 14px;
    font-weight: 500;
    color: black;
    background: white;
    border: 1px solid black;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content; /* Ajuste la largeur au texte */
    min-width: max-content; /* Empêche le bouton de s'étirer */
    white-space: nowrap; /* Empêche le retour à la ligne */
    text-align: center;
}

.custom-button:hover {
    background: black;
    color: white;
}

.custom-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Lettre ramadan */

/* 🌍 IMAGE DE FOND UNIQUE SUR 3 ÉCRANS (300vh) */
.souvenirs-ramadan-page {
    width: 100%;
    min-height: 300vh; /* Couvre 3 écrans de hauteur */
    background: url("/cdn/shop/files/6529.jpg?v=1742955983") no-repeat center top;
    background-size: cover;
    background-attachment: fixed; /* Effet fixe élégant */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 📱 RESPONSIVE : Désactive l’effet fixe sur mobile pour éviter les bugs */
@media (max-width: 768px) {
    .souvenirs-ramadan-page {
        background-attachment: scroll;
    }
}

/* ✅ GARANTIR QUE LE FOOTER RESTE BIEN EN DESSOUS */
footer {
    position: relative;
    z-index: 10;
    background: white;
    padding: 20px 0;
}

/* ✅ CONTRAINTE MAXIMALE DE L'IMAGE */
.souvenirs-ramadan-page .custom-logo-container {
    display: block !important;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    height: auto;
}

/* ✅ FORCE UNE PETITE IMAGE */
.souvenirs-ramadan-page .custom-logo-container img {
    width: 120px !important;
    height: auto !important;
    max-width: 120px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ✉️ LETTRE CENTRÉE SUR LA 2EME SECTION */
.lettre-container {
    width: 990px;
    max-width: 90%;
    box-sizing: border-box;
    min-height: 1100px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 76px; /* 76px ≈ 2 cm de padding à gauche et droite */
    border: 2px solid #5a4634;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* centre horizontalement */
    margin-bottom: 6rem; /* espace en bas pour le texte suivant */
    text-align: left;
    position: relative; /* utile pour les enfants en absolute */
    z-index: 5; /* reste au-dessus du fond */
}

/* 📜 DATE BIEN POSITIONNÉE */
.lettre-header {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 18px;
    color: #5a4634;
}

/* ✍️ "CHÈRE MOI," EN HAUT À GAUCHE */
.chere-moi {

    font-family: 'Dancing Script', cursive;
    position: absolute;
    top: 80px;
    left: 40px;
    font-size: 22px;
    font-weight: bold;
    color: #5a4634;
}

/* 📝 CHAMP DE TEXTE AJUSTÉ */
textarea {
    width: 100%;
    height: 75%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 20px;
    font-family: 'Dancing Script', cursive;
    line-height: 1.8;
    resize: none;
    overflow: auto;
    color: #3e2d1e;
    padding: 0; /* ❌ plus besoin de padding ici */
    position: relative; /* ✅ plus de absolute ! */
    top: 125px;
    left: 40px;
    box-sizing: border-box; /* important pour respecter les dimensions */
    word-wrap: break-word; /* obliger le retour à la ligne */
    white-space: pre-wrap;  /* conserver les retours à la ligne */
  
}

/* 🖼 ICON REPOSITIONNÉ */
.lettre-icon {
    font-family: 'Dancing Script', cursive;
    font-size: 30px;
    position: absolute;
    bottom: 190px;
    right: 40px;
    text-align: right;
}

.lettre-icon img {
    width: 200px;
    height: auto;
    margin-bottom: 5px;
}

/* ✍️ SIGNATURE JUSTE SOUS L'IMAGE */
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 20px;
    font-style: italic;
    color: #5a4634;
    text-align: right;
}

/* 📩 FOOTER DESCENDU PLUS BAS */
.lettre-footer {
    text-align: center;
    position: relative;
    margin-top: 32cm;
}

/* 📩 CASE À COCHER CENTRÉE PAR RAPPORT AU BOUTON */
.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: Arial, sans-serif;
    margin-bottom: 0.5cm;
}

.checkbox-label input {
    margin-right: 10px;
}

/* 📩 BOUTON AJUSTÉ À LA LARGEUR DU TEXTE */
#envoyer-lettre {
   background: #5a4634;
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Arial, sans-serif;
    width: auto;
    display: inline-block;
    min-width: fit-content;
}

#envoyer-lettre:hover {
    background: #3e2d1e;
}

/* ✅ SUPPRIMER LA SCROLLBAR INTERNE DE LA LETTRE */
textarea::-webkit-scrollbar {
    display: none;
}

textarea {
    scrollbar-width: none;
}

/* 🌸 Décoration au-dessus de la lettre */
.lettre-top-decor {
  position: relative;
  display: block;
  margin: 0 auto;
  top: -20cm; /* ajuste la position verticale */
  width: 700px; /* adapte à ta mise en page */
  height: auto;
  z-index: 1;
}

/* 🌙 Texte d’introduction en haut de page */
.intro-musique-container {
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 3rem;
  font-family: 'Arial', serif;
  color: #5a4634;
  padding: 0 20px;
}

.intro-texte {
  font-size: 18px;
  line-height: 1.6;
}

.photo-decorative {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 5; /* assure qu'elle est visible au-dessus du fond */
}

.photo-decorative img {
  max-width: 650px;
  height: auto;
  display: block;
}

/* Musique */

.custom-audio-player {
  text-align: center;
  padding: 2rem 1rem;
  font-family: Arial, sans-serif;
}

/* 🎧 Barre de progression fine et grise */
#audio-progress {
  width: 80%;
  appearance: none;
  height: 3px;
  background: #ccc;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  outline: none;
}

#audio-progress::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* 🎧 Les boutons autour */
.audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* Icônes fines à gauche/droite */
.icon-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.1);
}

/* 🎯 Bouton PLAY/Pause style rond noir */
.play-btn {
  width: 60px;
  height: 60px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .lettre-container {
    width: 100%;
    max-width: 95%;
    padding: 30px 20px;
    min-height: auto;
    margin: 0 auto;
  }

  .lettre-header,
  .chere-moi,
  .lettre-icon,
  .lettre-footer {
    position: static;
    text-align: left;
    margin-top: 1rem;
  }

  .lettre-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
  }

  #envoyer-lettre {
    margin: 0 auto;
    font-size: 16px;
    padding: 12px 20px;
    width: fit-content;
  }

  textarea {
    position: static;
    width: 100%;
    height: auto;
    min-height: 300px;
    padding: 20px;
    font-size: 16px;
    resize: none;
  }

  .photo-decorative {
    margin-bottom: 0rem !important;
    margin-top: 1rem !important;
  }

  .photo-decorative img {
    max-width: 85%;
    height: auto;
  }

  .intro-musique-container {
    margin-top: 0rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 1rem;
  }

  .intro-texte {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 1rem;
  }

  .chere-moi {
    font-size: 18px;
  }

  .lettre-header {
    font-size: 16px;
  }

  .signature {
    font-size: 14px;
  }

  .checkbox-label {
    font-size: 14px;
  }
}

  #envoyer-lettre {
    margin: 0 auto; 
    font-size: 16px;
    padding: 12px 18px;
  }
}

.bouton-musique-wrapper {
  text-align: center;
  margin-top: 2rem;
}

#bouton-musique-play {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

#bouton-musique-play:hover {
  background-color: #333;
}
.bouton-musique-wrapper {
  text-align: center;
  margin-top: 2rem;
}

#bouton-musique-play {
  background-color: black;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

#bouton-musique-play:hover {
  background-color: #333;
}


.infos-visiteuse-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem; /* Espace vertical entre les champs */
}

#email-lettre,
#prenom-lettre {
  background: transparent;
  border: none;
  border-bottom: 2px solid #5a4634;
  font-size: 16px;
  padding: 8px 12px;
  width: 280px;
  max-width: 90%;
  font-family: 'Arial', sans-serif;
  color: #3e2d1e;
  text-align: center;
}

#email-lettre::placeholder,
#prenom-lettre::placeholder {
  color: #aaa;
  font-style: italic;
}

#email-lettre:focus,
#prenom-lettre:focus {
  outline: none;
  border-bottom: 2px solid #3e2d1e;
}

.decor-stylo-wrapper {
  text-align: center;
  margin-top: -1.5rem; /* Ajuste si trop collé */
  margin-bottom: 1.5rem; /* Ajuste si besoin */
}

.stylo-deco {
  max-width: 70px;
  height: auto;
  opacity: 0.9;
  display: inline-block;
  transform: rotate(-5deg);
  filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.1));
}
