/* ============================================================
   Bannière cookies — Le Cagibi
   Étiquette sobre, coin bas-gauche. Override tarteaucitron.
   DOM réel : #tarteaucitronAlertBig > [span message, btn accept,
   btn deny, btn gérer, btn privacy]
   ============================================================ */

#tarteaucitronBack {
  display: none !important;
}

/* --- La carte --- */
#tarteaucitronRoot #tarteaucitronAlertBig {
  box-sizing: border-box !important;
  position: fixed !important;
  left: 1.25rem !important;
  right: auto !important;
  top: auto !important;
  bottom: 1.25rem !important;
  transform: none !important;
  width: 300px !important;
  max-width: calc(100vw - 2.5rem) !important;
  margin: 0 !important;
  padding: 1.35rem 1.35rem 1.2rem !important;
  background: #fff7f0 !important;
  color: #171c2e !important;
  border-radius: 16px !important;
  box-shadow:
    0 12px 40px rgba(23,28,46,0.16),
    0 0 0 1px rgba(23,28,46,0.05) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  text-align: left !important;
  border: none !important;
}

.tarteaucitronAlertBigBottom,
.tarteaucitronAlertBigTop {
  border: none !important;
  box-shadow: none !important;
}

/* Tous les enfants en border-box, marges latérales remises à zéro */
#tarteaucitronAlertBig > * {
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* --- Petit titre orange façon { } de la nav --- */
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert::before {
  content: "{ cookies }";
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffa959;
  margin-bottom: 0.5rem;
}

/* --- Message --- */
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 0 1.1rem !important;
  padding: 0 !important;
  color: rgba(23,28,46,0.70) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

/* Icônes décoratives check/croix : on les retire pour un rendu propre */
#tarteaucitronAlertBig .tarteaucitronCheck,
#tarteaucitronAlertBig .tarteaucitronCross {
  display: none !important;
}

/* --- Boutons Accepter / Refuser : pills pleine largeur empilées --- */
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 0.5rem !important;
  padding: 0.6rem 1rem !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  cursor: pointer !important;
  border: none !important;
  transition: background 0.15s, border-color 0.15s !important;
}

/* Accepter : navy plein */
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
  background: #171c2e !important;
  color: #fff7f0 !important;
}
#tarteaucitronAlertBig #tarteaucitronPersonalize2:hover {
  background: #2a3350 !important;
}

/* Refuser : contour discret */
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  background: transparent !important;
  color: #171c2e !important;
  border: 1px solid rgba(23,28,46,0.18) !important;
}
#tarteaucitronAlertBig #tarteaucitronAllDenied2:hover {
  border-color: rgba(23,28,46,0.42) !important;
}

/* --- Liens secondaires : Gérer · En savoir plus --- */
#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0.6rem 0 0 !important;
  padding: 0 0.5rem 0 0 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert {
  color: rgba(23,28,46,0.40) !important;
}
#tarteaucitronAlertBig #tarteaucitronCloseAlert:hover {
  color: rgba(23,28,46,0.7) !important;
}

#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  color: #ffa959 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl:hover {
  opacity: 0.8 !important;
}

/* --- Icône de réouverture, discrète en bas à gauche --- */
#tarteaucitronIcon {
  left: 1rem !important;
  right: auto !important;
  bottom: 1rem !important;
  top: auto !important;
  transform: none !important;
  background: #fff7f0 !important;
  border-radius: 10px !important;
  opacity: 0.8 !important;
  padding: 5px 10px !important;
  box-shadow: 0 2px 12px rgba(23,28,46,0.12), 0 0 0 1px rgba(23,28,46,0.06) !important;
}
#tarteaucitronIcon:hover { opacity: 1 !important; }
#tarteaucitronIcon #tarteaucitronManager {
  color: rgba(23,28,46,0.5) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11px !important;
}

/* --- Mobile : bande pleine largeur en bas --- */
@media (max-width: 600px) {
  #tarteaucitronRoot #tarteaucitronAlertBig {
    left: 0.5rem !important;
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    width: auto !important;
    max-width: none !important;
  }
}
