.cookie-notice {
  position: fixed;
  inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 14px 16px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(238, 247, 251, 0.856);
  color: #595a5a;
  font: 13px/1.55 Poppins, "Noto Sans Thai", sans-serif;
}

.cookie-notice p {
  margin: 0;
}

.cookie-notice a {
  color: #095878;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.cookie-actions button {
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid #8ea6b5;
  border-radius: 8px;
  background: transparent;
  color: #20374a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions [data-choice="accepted"] {
  border-color: #173349;
  background: #173349;
  color: #fff;
}

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

@media (max-width: 580px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}