/* TourismOS marketing consent banner (storefront F0). */

.tourismos-marketing-consent {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.tourismos-marketing-consent[hidden] {
  display: none !important;
}

.tourismos-marketing-consent__panel {
  pointer-events: auto;
  width: min(40rem, 100%);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tourismos-marketing-consent__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.tourismos-marketing-consent__text {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.tourismos-marketing-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.tourismos-marketing-consent__btn {
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tourismos-marketing-consent__btn--ghost {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

.tourismos-marketing-consent__btn--ghost:hover {
  background: #f1f5f9;
}

.tourismos-marketing-consent__btn--primary {
  background: var(--prestige-accent, var(--oasis-accent, var(--ritz-accent, var(--aegean-accent, #0ea5e9))));
  color: #fff;
}

.tourismos-marketing-consent__btn--primary:hover {
  filter: brightness(0.96);
}

.tourismos-marketing-consent__prefs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.tourismos-marketing-consent__prefs[hidden] {
  display: none !important;
}

.tourismos-marketing-consent__pref {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: #475569;
}

@media (max-width: 640px) {
  .tourismos-marketing-consent {
    inset-inline: 0.75rem;
    bottom: 4.75rem;
  }

  .tourismos-marketing-consent__actions {
    justify-content: stretch;
  }

  .tourismos-marketing-consent__btn {
    flex: 1 1 auto;
  }
}
