#necc-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100000; /* au-dessus de #necc-rfe-bar (z-index:99999, barre promo RFE preexistante) — sinon son bouton "Tout accepter" est masque/inclickable (trouve en revue Task 8, 2026-07-07) */
  background: #FAF8F6;
  border: 1px solid #EAE3E0;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(39, 35, 34, 0.12);
  font-family: 'Outfit', sans-serif;
  color: #272322;
  max-width: 920px;
  margin: 0 auto;
}

#necc-cookie-banner .necc-cookie-banner__inner {
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

#necc-cookie-banner .necc-cookie-banner__text {
  flex: 1 1 320px;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

#necc-cookie-banner .necc-cookie-banner__text a {
  color: #DA673B;
  text-decoration: underline;
}

.necc-cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.necc-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.necc-btn--ghost {
  background: transparent;
  border-color: #DA673B;
  color: #DA673B;
}

.necc-btn--ghost:hover {
  background: rgba(218, 103, 59, 0.08);
}

.necc-btn--primary {
  background: #DA673B;
  border-color: #DA673B;
  color: #fff;
}

.necc-btn--primary:hover {
  background: #c85a30;
}

#necc-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(39, 35, 34, 0.45);
  z-index: 100001; /* au-dessus de #necc-cookie-banner (100000) et de #necc-rfe-bar (99999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#necc-cookie-modal-overlay[hidden] {
  display: none;
}

#necc-cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  font-family: 'Outfit', sans-serif;
  color: #272322;
}

#necc-cookie-modal h2 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
}

.necc-cookie-modal__row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #EAE3E0;
}

.necc-cookie-modal__row p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6b6560;
}

.necc-cookie-modal__row--locked {
  grid-template-columns: 1fr;
}

.necc-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
}

.necc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.necc-toggle span {
  position: absolute;
  inset: 0;
  background: #EAE3E0;
  border-radius: 100px;
  transition: background .2s;
}

.necc-toggle span::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.necc-toggle input:checked + span {
  background: #DA673B;
}

.necc-toggle input:checked + span::before {
  transform: translateX(18px);
}

.necc-cookie-modal__actions {
  margin-top: 24px;
  text-align: right;
}

.necc-booking-consent-prompt {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
  font-family: 'Outfit', sans-serif;
  color: #272322;
}
