.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #151515;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  line-height: 20px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__text {
  flex: 1 1 260px;
}

.cookie-consent__text a {
  color: #ffd9ad;
  text-decoration: underline;
}

.cookie-consent__accept {
  flex: 0 0 auto;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: #ffd9ad;
  color: #151515;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__accept:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent__text {
    /* flex-basis applies to height in column direction - without
       resetting it, the 260px meant as a width (row layout) becomes
       a minimum height, leaving a huge empty gap under the text. */
    flex: 1 1 auto;
  }

  .cookie-consent__accept {
    width: 100%;
  }
}

/* Map cookie overlay */
.map-cookie-overlay {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  background: rgba(21, 21, 21, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.2s;
}

.map-cookie-overlay__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.map-cookie-overlay__text {
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.map-cookie-overlay__btn {
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  background: #ffd9ad;
  color: #151515;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.map-cookie-overlay__btn:hover {
  opacity: 0.85;
}
