/* Consent modal: focused, accessible and visually consistent with the DuTa-Fa palette. */
.cookie-consent[hidden], .cookie-consent-settings[hidden], .cookie-consent-actions [hidden], .cookie-consent-minimized[hidden] { display: none; }
.cookie-consent { position: fixed; z-index: 99999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; pointer-events: none; }
.cookie-consent::before { content: ""; position: fixed; inset: 0; background: rgba(12, 8, 5, .56); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); pointer-events: auto; animation: cookieBackdropIn .22s ease both; }
.cookie-consent-card { position: relative; z-index: 1; width: min(100%, 780px); max-height: min(84vh, 720px); overflow: auto; padding: clamp(20px, 3vw, 28px); border: 1px solid rgba(190, 151, 88, .55); border-radius: 18px; background: #171715; color: #f7f4ed; box-shadow: 0 24px 90px rgba(0,0,0,.58); pointer-events: auto; transform-origin: center bottom; animation: cookieCardIn .26s cubic-bezier(.2,.75,.25,1) both; }
.cookie-consent-copy { max-width: 690px; }
.cookie-consent-kicker { margin: 0 0 5px; color: #d8b77b; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.cookie-consent-card h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.25; text-align: center; text-shadow: none; }
.cookie-consent-card p { margin: 0 0 12px; color: #dedbd4; line-height: 1.6; font-size: .93rem; text-shadow: none; }
.cookie-consent-card a { color: #e7c98f; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-settings { margin: 18px 0 12px; border-top: 1px solid rgba(255,255,255,.13); animation: cookieDetailsIn .22s ease both; }
.cookie-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); color: #f8f5ee; }
.cookie-setting-row strong, .cookie-setting-row small { display: block; }
.cookie-setting-row strong { font-size: .93rem; }
.cookie-setting-row small { margin-top: 4px; color: #c7c3ba; line-height: 1.4; font-size: .8rem; }
.cookie-required { flex: 0 0 auto; color: #e7c98f; font-size: .8rem; font-weight: 700; }
.cookie-setting-row input { flex: 0 0 auto; width: 22px; height: 22px; accent-color: #c9a15f; }
.cookie-consent-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.cookie-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: .88rem; font-weight: 750; cursor: pointer; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn-primary { background: #d4b16f; border-color: #d4b16f; color: #191815; }
.cookie-btn-primary:hover { background: #e3c88f; }
.cookie-btn-secondary { background: transparent; border-color: rgba(255,255,255,.28); color: #f5f2eb; }
.cookie-btn-secondary:hover { background: rgba(255,255,255,.08); border-color: #d4b16f; }
/* Permanens, könnyen elérhető süti-beállítás ikon a képernyő sarkában. */
.cookie-settings-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 58px;
  min-height: 58px;
  padding: 13px 17px;
  border: 1px solid rgba(236, 194, 112, .95);
  border-radius: 999px;
  background: linear-gradient(145deg, #302115, #17120d);
  color: #f4d18e;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255,255,255,.12);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cookie-settings-fab:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #493019, #21170e);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .48), 0 0 0 4px rgba(212, 177, 111, .12);
}
.cookie-settings-fab:focus-visible {
  outline: 3px solid #f4d18e;
  outline-offset: 4px;
}
.cookie-settings-fab svg {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cookie-settings-fab svg circle { fill: currentColor; stroke: none; }
.cookie-settings-fab .cookie-fab-spark { stroke-width: 1.8; }
.cookie-settings-fab-label { white-space: nowrap; font-size: .88rem; }
body.cookie-consent-open .cookie-settings-fab { opacity: .28; pointer-events: none; }
@media (max-width: 700px) {
  .cookie-settings-fab {
    right: 14px;
    bottom: 14px;
    min-width: 52px;
    min-height: 52px;
    width: 52px;
    height: 52px;
    padding: 11px;
    gap: 0;
  }
  .cookie-settings-fab svg { width: 27px; height: 27px; flex-basis: 27px; }
  .cookie-settings-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
}
.cookie-consent-minimized { position: fixed; z-index: 100000; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; max-width: calc(100vw - 24px); padding: 13px 18px; border: 1px solid rgba(190,151,88,.7); border-radius: 999px; background: #171715; color: #f7f4ed; box-shadow: 0 12px 42px rgba(0,0,0,.42); font: inherit; font-size: .88rem; font-weight: 750; cursor: pointer; animation: cookieMiniIn .25s ease both; }
.cookie-consent-minimized span { color: #e7c98f; font-size: 1.1rem; }
.cookie-consent.is-minimized { inset: auto 0 18px; padding: 0; align-items: flex-end; justify-content: center; pointer-events: none; }
.cookie-consent.is-minimized::before { display: none; }
.cookie-consent.is-minimized .cookie-consent-card { display: none; }
body.cookie-consent-open { overflow: hidden; }
.map-consent-placeholder { display: grid; place-items: center; gap: 12px; min-height: 240px; padding: 24px; text-align: center; border: 1px solid var(--szin-border, #d6d0c5); border-radius: 8px; background: rgba(120, 110, 90, .08); }
.map-consent-placeholder p { margin: 0; }
@keyframes cookieBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cookieCardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cookieCardCollapse { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(8px) scale(.94); } }
.cookie-consent-card.is-collapsing { animation: cookieCardCollapse .19s ease forwards; pointer-events: none; }
@keyframes cookieDetailsIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cookieMiniIn { from { opacity: 0; transform: translate(-50%, 8px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@media (max-width: 600px) {
  .cookie-consent { padding: 10px; }
  .cookie-consent-card { padding: 18px; border-radius: 14px; max-height: 88vh; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-actions .cookie-btn { width: 100%; padding-inline: 8px; }
  .cookie-consent-actions [data-cookie-accept], .cookie-consent-actions [data-cookie-save] { grid-column: 1 / -1; }
  .cookie-setting-row { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent::before, .cookie-consent-card, .cookie-consent-settings, .cookie-consent-minimized { animation: none; transition: none; } }
