/** Shopify CDN: Minification failed

Line 234:0 Unexpected "}"
Line 269:0 Unexpected "}"

**/
/* Styles de base pour le composant légal */
#legal-component {
  background-color: #FFFFFF;
  color: #000000;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Styles pour le logo - positionné absolument et ajusté */
#logo-light {
  position: absolute;
  top: calc(15% - 15px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
  z-index: 1;
}

#logo-light img {
  max-width: 100%;
  height: auto;
}

/* Section des boutons avec position fixe au centre */
.legal-buttons-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 2;
}

/* Styles pour les boutons légaux */
.legal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.legal-btn {
  background: #000;
  color: #FFF;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.3s;
}

.legal-btn:hover {
  opacity: 0.8;
}

.legal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Desktop: Logo et boutons plus grands */
@media (min-width: 768px) {
  #logo-light {
    top: calc(15% - 60px);
    max-width: 400px;
  }
  
  .legal-btn {
    padding: 20px 40px;
    font-size: 18px;
  }
}

/* Overlay semi-transparent */
.legal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  z-index: 1000;
}

#legal-component.open .legal-overlay {
  opacity: 1;
  visibility: visible;
}

/* Panneau coulissant */
.legal-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background-color: #FFFFFF;
  color: #000000;
  transform: translateX(100%);
  transition: transform 0.8s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* État ouvert du panneau */
#legal-component.open .legal-panel {
  transform: translateX(0);
}

/* En-tête du panneau */
.panel-header {
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Style pour le titre - MODIFIÉ POUR CENTRER */
.panel-title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  background: #000;
  color: #FFF;
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-align: center;      /* Centre le texte à l'intérieur */
  margin-left: auto;       /* Centre le bloc dans son conteneur */
  margin-right: auto;
  min-width: 200px;        /* Définit une largeur minimale */
  display: inline-block;   /* Permet au bloc de s'adapter à son contenu */
}

.panel-close {
  background: #000;
  color: #FFF;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
  cursor: pointer;
  position: absolute;      /* Positionné absolument */
  right: 16px;             /* Aligné à droite */
  top: 16px;               /* Aligné en haut */
}

/* Corps du panneau */
.panel-body {
  flex: 1 1 auto;
  padding: 24px;
  font-size: 15px;
  line-height: 1.8;
  overflow-y: auto;
}

/* Responsive design pour mobile */
@media (max-width: 767px) {
  #legal-component {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .legal-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 1;
  }

  #logo-light {
    max-width: 250px;
    width: 80%;
    height: auto;
    margin-bottom: 20px; /* ✅ Ajouté pour espacement logo/boutons */
  }

  .legal-buttons-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .legal-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 300px;
  }

  .legal-btn {
    width: 100%;
    max-width: 100%;
  }
}

}
  
  .legal-panel {
    width: 100%;
    bottom: 0;
    left: 0;
    top: auto;
    transform: translateY(100%);
    border-radius: 30px 30px 0 0;
  }
  
  #legal-component.open .legal-panel {
    transform: translateY(0);
  }
  
  /* Ajustement de l'en-tête sur mobile */
  .panel-header {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;  /* Empile les éléments verticalement */
    align-items: center;     /* Centre les éléments horizontalement */
  }
  
  .panel-title {
    margin: 0 auto 15px;     /* Marge bas et centrage horizontal */
    min-width: 80%;          /* Largeur plus importante sur mobile */
    text-align: center;
  }
  
  .panel-close {
    position: relative;      /* Position normale dans le flux */
    right: auto;             /* Annule le positionnement absolu */
    top: auto;
    margin-top: 5px;         /* Espace au-dessus du bouton */
  }
}