/* Cookie Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color1);
  color: #333;
  padding: 1.25rem 1.5rem;
  z-index: 10000;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.consent-banner.hidden {
  display: none;
}

.consent-banner__text {
  flex: 1 1 400px;
  line-height: 1.5;
}

.consent-banner__text a {
  color: var(--color2);
  text-decoration: underline;
}

.consent-banner__buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  justify-content: center;
}

.consent-banner__btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: var(--border-radius2);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.consent-banner__btn:hover {
  opacity: 0.85;
}

.consent-banner__btn--accept {
  background: var(--color2);
  color: #fff;
  font-weight: bold;
}

.consent-banner__btn--decline {
  background: transparent;
  color: #333;
  border: 1px solid #999;
}

/* Google Maps placeholder when consent not given */
.maps-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0ece7;
  border: 2px dashed #ccc;
  border-radius: var(--border-radius2);
  padding: 2rem;
  text-align: center;
  min-height: 300px;
  width: 100%;
  gap: 1rem;
  color: #555;
  font-family: var(--font-secondary);
}

.maps-placeholder p {
  margin: 0;
  font-size: 1rem;
  max-width: 500px;
}

.maps-placeholder__btn {
  padding: 0.6rem 1.4rem;
  background: var(--color5);
  color: #fff;
  border: none;
  border-radius: var(--border-radius2);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity var(--transition-speed);
}

.maps-placeholder__btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .consent-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .consent-banner__buttons {
    width: 100%;
    justify-content: center;
  }
}
