.melvo-cookie-consent {
  position: relative;
  box-sizing: border-box;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin: 20px auto;
  padding: 20px 22px;
  color: #17212b;
  background: #fffdf8;
  border: 1px solid rgba(20, 55, 75, .16);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(20, 55, 75, .18);
}

dialog.melvo-cookie-consent {
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog.melvo-cookie-consent::backdrop { background: rgb(23 30 26 / 64%); }
.melvo-cookie-preferences { position: relative; padding: 16px 20px calc(100px + env(safe-area-inset-bottom)); text-align: center; }
.melvo-cookie-preferences button[data-melvo-cookie-preferences] { min-height: 44px; padding: 10px 16px; color: #16435a; background: #fffdf8; border: 1px solid #657b85; border-radius: 999px; font: inherit; cursor: pointer; }
.melvo-cookie-preferences button:focus-visible { outline: 3px solid #17617e; outline-offset: 3px; }

.melvo-cookie-consent-copy { min-width: 0; max-width: 620px; }
.melvo-cookie-consent h2 { margin: 4px 0 6px; font-size: 1.05rem; }
.melvo-cookie-consent p { margin: 0; line-height: 1.5; }
.melvo-cookie-consent .eyebrow { color: #17617e; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.melvo-cookie-consent-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: 10px; }
.melvo-cookie-consent .melvo-cookie-consent-actions button { transition: none; }
.melvo-cookie-consent .melvo-cookie-consent-actions button:not(.primary-button) { min-height: 44px; padding: 10px 16px; color: #16435a; background: #fffdf8; border: 1px solid rgba(20, 55, 75, .45); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.melvo-cookie-consent-actions button:focus-visible { outline: 3px solid #8bc6df; outline-offset: 3px; }
.melvo-cookie-consent .melvo-cookie-consent-actions .primary-button { color: #fff; background: #0b4665; border-color: #0b4665; }

@media (max-width: 640px) {
  .melvo-cookie-consent { width: calc(100% - 24px); align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .melvo-cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
