/* Cookie information notice — fixed overlay (not in-flow after footer) */

#cookie-notice.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  box-sizing: border-box;
  margin: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  pointer-events: none;
  /* Do not grow document height */
}

#cookie-notice.cookie-notice[hidden] {
  display: none !important;
}

#cookie-notice .cookie-notice__panel {
  pointer-events: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 0.95rem 1.15rem;
  background-color: #152d4a;
  background-image: linear-gradient(180deg, #1e3d63 0%, #152d4a 100%);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(184, 149, 74, 0.4);
  border-top: 3px solid #b8954a;
  border-radius: 10px;
  box-shadow:
    0 -4px 24px rgba(21, 45, 74, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

#cookie-notice .cookie-notice__copy {
  flex: 1 1 auto;
  min-width: 0;
}

#cookie-notice .cookie-notice__title {
  margin: 0 0 0.3rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.01em;
}

#cookie-notice .cookie-notice__text {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(248, 249, 251, 0.88);
}

#cookie-notice .cookie-notice__text a {
  color: #d4b06a;
  text-decoration: underline;
  text-decoration-color: rgba(212, 176, 106, 0.45);
  text-underline-offset: 0.15em;
}

#cookie-notice .cookie-notice__text a:hover,
#cookie-notice .cookie-notice__text a:focus-visible {
  color: #e8d09a;
  text-decoration-color: #e8d09a;
}

#cookie-notice .cookie-notice__action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

#cookie-notice .cookie-notice__btn {
  min-height: 2.5rem;
  min-width: 5.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  background: #b8954a;
  color: #152d4a;
  border: 1px solid #b8954a;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#cookie-notice .cookie-notice__btn:hover {
  background: #d4b06a;
  border-color: #d4b06a;
  color: #152d4a;
}

#cookie-notice .cookie-notice__btn:focus-visible {
  outline: 2px solid #d4b06a;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #cookie-notice.cookie-notice {
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  #cookie-notice .cookie-notice__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
  }

  #cookie-notice .cookie-notice__title {
    font-size: 1.1rem;
  }

  #cookie-notice .cookie-notice__text {
    font-size: 0.84rem;
  }

  #cookie-notice .cookie-notice__btn {
    width: 100%;
    justify-content: center;
  }
}
