/* Cookie consent – follows the site's light / dark mode through the theme tokens */
.mc-consent { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(460px, calc(100vw - 32px)); }
.mc-consent[hidden] { display: none; }
.mc-consent__card {
  position: relative; padding: 26px 26px 20px; border-radius: 22px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--stroke); box-shadow: 0 30px 60px -28px rgba(58, 44, 32, .45), 0 8px 20px -10px rgba(58, 44, 32, .25);
  animation: mcConsentIn .5s var(--ease) both;
}
html[data-mc-dark] .mc-consent__card { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 8px 20px -10px rgba(0, 0, 0, .6); border-color: rgba(236, 230, 222, .22); }
@keyframes mcConsentIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mc-consent__card { animation: none; } }
.mc-consent__eyebrow { margin: 0 0 8px; font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-strong); }
.mc-consent__title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ink); }
.mc-consent__text { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--ink-body); }
.mc-consent__text a, .mc-consent__link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mc-consent__text a:hover, .mc-consent__link:hover { color: var(--accent-strong); }
.mc-consent__prefs { margin: 0 0 16px; border-top: 1px solid var(--stroke); }
.mc-consent__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--stroke); cursor: pointer; }
.mc-consent__row strong { display: block; font-weight: 600; font-size: 14px; color: var(--ink); }
.mc-consent__row span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--ink-body); }
.mc-consent__always { flex: 0 0 auto; font-family: var(--ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-body); }
.mc-consent__switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 46px; height: 28px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(var(--ink-rgb), .12); position: relative; cursor: pointer; transition: background .2s ease, border-color .2s ease; margin: 0; }
.mc-consent__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .2s var(--ease); }
.mc-consent__switch:checked { background: var(--accent-strong); border-color: var(--accent-strong); }
.mc-consent__switch:checked::after { transform: translateX(18px); }
.mc-consent__switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mc-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mc-consent__actions .mc-btn { width: 100%; }
.mc-consent__more { margin: 14px 0 0; text-align: center; }
.mc-consent__link { appearance: none; background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 13px; cursor: pointer; }
.mc-consent__link[hidden] { display: none; }
@media (max-width: 559px) {
  .mc-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .mc-consent__card { padding: 20px 18px 14px; border-radius: 18px; }
  .mc-consent__title { font-size: 21px; }
  .mc-consent__actions { gap: 10px; }
}
/* Footer link that re-opens the banner */
.mc-cookie-link { appearance: none; background: none; border: 0; padding: 0; font-family: var(--ui); font-size: 12px; color: inherit; cursor: pointer; border-bottom: 1px solid rgba(var(--ink-rgb), .75); }
.mc-cookie-link:hover { color: #AA8A53; border-bottom-color: #AA8A53; }

/* lábléc: sütiikon a gomb előtt (az aláhúzás csak a szövegen) */
.mc-cookie-link--icon { display: inline-flex; align-items: center; gap: 7px; border-bottom: 0; }
.mc-cookie-link--icon span { border-bottom: 1px solid rgba(var(--ink-rgb), .75); transition: border-color .2s ease; }
.mc-cookie-link--icon:hover span { border-bottom-color: #AA8A53; }
.mc-cookie-link__ico { flex: none; }
