/* Cookie consent — espelha sandwiche.me / nova-lp-2025 CookieBanner */
.cookie-banner__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10100;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 600px;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  z-index: 10101;
}

.cookie-banner__text {
  font-family: var(--sm-body, system-ui, sans-serif);
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.cookie-banner__text:last-of-type {
  margin-bottom: 1.5rem;
}

.cookie-banner__link {
  color: #000000;
  text-decoration: underline;
}

.cookie-banner__link:hover {
  color: #374151;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  width: 100%;
}

.cookie-banner__btn {
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-family: var(--sm-body, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.cookie-banner__btn:focus {
  outline: none;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid #9ca3af;
  outline-offset: 2px;
}

.cookie-banner__btn--reject {
  background: #e5e7eb;
  color: #000000;
}

.cookie-banner__btn--reject:hover {
  background: #d1d5db;
}

.cookie-banner__btn--accept {
  background: #000000;
  color: #ffffff;
}

.cookie-banner__btn--accept:hover {
  background: #1f2937;
}

@media (max-width: 767px) {
  .cookie-banner {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 600px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    min-height: 56px;
    padding: 1rem 1.5rem;
  }
}
