.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cookie-consent-root,
.cookie-consent-root button,
.cookie-consent-root input {
  font-family: "Inter", sans-serif;
}

.cookie-banner[hidden],
.cookie-preferences-button[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid #e30613;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 21, 24, 0.985), rgba(5, 6, 8, 0.99));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  color: #ffffff;
}

.cookie-banner:focus {
  outline: none;
}

.cookie-banner-copy {
  min-width: 0;
}

.cookie-eyebrow {
  margin: 0 0 6px;
  color: #ef3340;
  font-family: "Oswald", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cookie-banner h2,
.cookie-settings-dialog h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.cookie-banner-copy > p:not(.cookie-eyebrow) {
  max-width: 760px;
  margin: 12px 0 10px;
  color: #c0c2c6;
  font-size: 0.93rem;
  line-height: 1.65;
}

.cookie-policy-link,
.cookie-settings-note a {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration-color: #e30613;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cookie-policy-link:hover,
.cookie-settings-note a:hover {
  color: #ff5964;
}

.cookie-banner-actions,
.cookie-settings-actions {
  display: grid;
  gap: 10px;
}

.cookie-button {
  min-height: 48px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.25;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.cookie-button:hover {
  transform: translateY(-1px);
}

.cookie-button:focus-visible,
.cookie-dialog-close:focus-visible,
.cookie-preferences-button:focus-visible,
.consent-placeholder button:focus-visible,
.cookie-switch input:focus-visible + span {
  outline: 3px solid rgba(255, 77, 89, 0.5);
  outline-offset: 3px;
}

.cookie-button-primary {
  border-color: #e30613;
  background: #e30613;
  color: #ffffff;
}

.cookie-button-primary:hover {
  border-color: #ff2634;
  background: #ff2634;
}

.cookie-button-decline {
  border-color: #f0f1f3;
  background: #f0f1f3;
  color: #101216;
}

.cookie-button-decline:hover {
  border-color: #ffffff;
  background: #ffffff;
}

.cookie-button-secondary {
  border-color: #50545a;
  background: #17191d;
  color: #ffffff;
}

.cookie-button-secondary:hover {
  border-color: #e30613;
  background: #24262b;
}

.cookie-settings-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(86vh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #0b0c0f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
  color: #ffffff;
}

.cookie-settings-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(4px);
}

.cookie-settings-panel {
  padding: clamp(22px, 4vw, 38px);
}

.cookie-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.cookie-dialog-close {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #3c3f44;
  border-radius: 50%;
  background: #15171b;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.cookie-settings-intro {
  margin: 16px 0 24px;
  color: #b7babf;
  font-size: 0.92rem;
  line-height: 1.65;
}

.cookie-category-list {
  display: grid;
  gap: 10px;
}

.cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid #292c31;
  border-radius: 12px;
  background: #121418;
}

.cookie-category h3 {
  margin: 0 0 5px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.cookie-category p {
  margin: 0;
  color: #999da3;
  font-size: 0.8rem;
  line-height: 1.55;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 50px;
  height: 28px;
  flex: 0 0 50px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-switch input + span {
  position: absolute;
  inset: 0;
  border: 1px solid #555960;
  border-radius: 999px;
  background: #24272c;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.cookie-switch input + span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease;
}

.cookie-switch input:checked + span {
  border-color: #e30613;
  background: #e30613;
}

.cookie-switch input:checked + span::after {
  transform: translateX(22px);
}

.cookie-switch-locked {
  cursor: default;
  opacity: 0.78;
}

.cookie-settings-note {
  margin: 18px 0 20px;
  color: #8e9298;
  font-size: 0.76rem;
  line-height: 1.55;
}

.cookie-settings-actions {
  grid-template-columns: 1fr 1fr;
}

.cookie-preferences-button {
  position: fixed;
  z-index: 9998;
  bottom: 16px;
  left: 16px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #474a50;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.cookie-preferences-button:hover {
  border-color: #e30613;
  background: #1b1d21;
}

body.cookie-settings-open {
  overflow: hidden;
}

[data-consent-service].is-consent-blocked {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 6, 19, 0.16), transparent 42%),
    #0d0f12 !important;
}

[data-consent-service].is-consent-blocked > :not(.consent-placeholder) {
  display: none !important;
}

.consent-placeholder {
  display: flex;
  width: min(420px, 100%);
  min-height: 210px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  padding: 28px 22px;
  color: #ffffff;
  text-align: center;
}

.consent-placeholder-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e30613;
  border-radius: 50%;
  color: #ff3542;
  font-size: 1.45rem;
  line-height: 1;
}

.consent-placeholder strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.consent-placeholder p {
  margin: 0;
  color: #a9adb3;
  font-size: 0.82rem;
  line-height: 1.5;
}

.consent-placeholder button {
  min-height: 42px;
  margin-top: 5px;
  padding: 8px 15px;
  border: 1px solid #e30613;
  border-radius: 7px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.consent-placeholder button:hover {
  background: #e30613;
}

.map-container.is-consent-blocked {
  min-height: 420px;
}

/* Süti tájékoztató oldal */
.cookie-policy-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 0%, rgba(227, 6, 19, 0.09), transparent 26rem),
    linear-gradient(180deg, #eef0f3 0%, #f8f8f9 34rem, #eef0f3 100%);
  color: #17191d;
}

.cookie-policy-header {
  position: relative;
  min-height: auto;
  overflow: visible;
  border-bottom: 3px solid #e30613;
  background: #111317;
  background-image: none;
  box-shadow: 0 12px 30px rgba(12, 14, 18, 0.16);
}

.cookie-policy-header::after {
  display: none;
}

.cookie-policy-nav {
  display: flex;
  width: min(1120px, calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.cookie-policy-nav img {
  display: block;
  width: 64px;
  height: auto;
}

.cookie-policy-nav > a:last-child,
.cookie-policy-nav-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 15px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.cookie-policy-nav > a:last-child:hover,
.cookie-policy-nav-actions a:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-policy-nav > a:last-child:focus-visible,
.cookie-policy-nav-actions a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.42);
  outline-offset: 3px;
}

.cookie-policy-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-policy-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 0 96px;
  gap: 18px;
}

.cookie-policy-main > header {
  position: relative;
  min-width: 0;
  min-height: auto;
  margin: 0 0 18px;
  padding: clamp(30px, 5vw, 58px);
  overflow: visible;
  border: 1px solid #262a31;
  border-radius: 18px;
  background:
    linear-gradient(125deg, rgba(227, 6, 19, 0.12), transparent 38%),
    #15181d;
  background-image:
    linear-gradient(125deg, rgba(227, 6, 19, 0.12), transparent 38%);
  box-shadow: 0 24px 54px rgba(17, 20, 25, 0.16);
}

.cookie-policy-main > header::after {
  display: none;
}

.cookie-policy-main .cookie-eyebrow {
  margin: 0;
  color: #ff5360;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
}

.cookie-policy-main h1 {
  max-width: 800px;
  margin: 10px 0 18px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.35rem, 5.7vw, 4.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cookie-policy-lead {
  max-width: 780px;
  margin: 0;
  color: #d7dae0;
  font-size: 1.05rem;
  line-height: 1.72;
}

.cookie-policy-date {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #aeb3bc;
  font-size: 0.79rem;
}

.cookie-policy-section {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(25px, 4vw, 40px);
  border: 1px solid #dfe2e7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(25, 29, 36, 0.055);
}

.cookie-policy-section h2 {
  margin: 0 0 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e9ebee;
  color: #17191d;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.38rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
}

.cookie-policy-section h3 {
  margin: 25px 0 8px;
  color: #24272d;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.cookie-policy-section p,
.cookie-policy-section li {
  color: #525862;
  font-size: 1rem;
  line-height: 1.74;
}

.cookie-policy-section p {
  margin: 11px 0;
}

.cookie-policy-section strong {
  color: #22252a;
}

.cookie-policy-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.cookie-policy-section li + li {
  margin-top: 8px;
}

.cookie-policy-section li::marker {
  color: #e30613;
}

.cookie-policy-section a {
  color: #b8000b;
  font-weight: 650;
  text-decoration-color: rgba(227, 6, 19, 0.42);
  text-underline-offset: 3px;
}

.cookie-policy-section a:hover {
  color: #e30613;
  text-decoration-color: currentColor;
}

.cookie-policy-section a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.24);
  outline-offset: 3px;
  border-radius: 2px;
}

.cookie-policy-section code {
  padding: 2px 6px;
  border: 1px solid #e3e5e9;
  border-radius: 5px;
  background: #f4f5f7;
  color: #a5000a;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.cookie-policy-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  background: #ffffff;
}

.cookie-policy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.cookie-policy-table th,
.cookie-policy-table td {
  padding: 14px 15px;
  border: 0;
  border-right: 1px solid #e3e5e8;
  border-bottom: 1px solid #e3e5e8;
  color: #4f5660;
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.cookie-policy-table th:last-child,
.cookie-policy-table td:last-child {
  border-right: 0;
}

.cookie-policy-table tbody tr:last-child td {
  border-bottom: 0;
}

.cookie-policy-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}

.cookie-policy-table th {
  background: #202329;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.privacy-policy-table {
  min-width: 680px;
}

.privacy-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin-bottom: 8px;
}

.privacy-contact-grid p {
  margin: 4px 0;
}

.privacy-policy-note,
.privacy-policy-warning {
  margin-top: 22px !important;
  padding: 17px 18px;
  border-radius: 7px;
  background: #f4f5f7;
}

.privacy-policy-warning {
  background: #fff5f5;
}

.consent-field a {
  color: inherit;
  font-weight: 800;
  text-decoration-color: #e30613;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.consent-field a:hover {
  color: #e30613;
}

.legal-site-footer {
  position: relative;
  z-index: 2;
  padding: 30px clamp(18px, 5vw, 72px) 84px;
  border-top: 3px solid #e30613;
  background: #111317;
  color: #a7abb2;
}

.legal-site-footer-inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
}

.legal-site-footer p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.legal-site-footer nav,
.legal-document-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
}

.legal-site-footer a,
.legal-document-footer a {
  color: #f1f2f4;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration-color: #e30613;
  text-underline-offset: 4px;
}

.legal-site-footer a:hover,
.legal-document-footer a:hover {
  color: #ff5964;
}

.cookie-policy-footer {
  padding: 32px 18px 90px;
  border-top: 3px solid #e30613;
  background: #111317;
  color: #9ba0a8;
  font-size: 0.8rem;
  text-align: center;
}

.legal-document-footer p {
  margin: 0 0 14px;
}

@media (max-width: 820px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-banner-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner-actions .cookie-button-primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    padding: 20px 16px;
    overflow-y: auto;
    border-radius: 12px;
  }

  .cookie-banner-copy > p:not(.cookie-eyebrow) {
    font-size: 0.84rem;
  }

  .cookie-banner-actions,
  .cookie-settings-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions .cookie-button-primary {
    grid-column: auto;
  }

  .cookie-category {
    gap: 15px;
    padding: 15px;
  }

  .cookie-settings-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 12px;
  }

  .cookie-preferences-button {
    bottom: 10px;
    left: 10px;
  }

  .map-container.is-consent-blocked {
    min-height: 300px;
  }

  .cookie-policy-nav,
  .cookie-policy-main {
    width: calc(100% - 28px);
  }

  .cookie-policy-main {
    padding-top: 30px;
    padding-bottom: 70px;
  }

  .cookie-policy-main > header {
    margin-bottom: 8px;
    padding: 28px 22px 30px;
    border-radius: 12px;
  }

  .cookie-policy-main h1 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }

  .cookie-policy-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .cookie-policy-date {
    display: block;
    line-height: 1.5;
  }

  .cookie-policy-section {
    padding: 24px 20px;
    border-radius: 11px;
  }

  .cookie-policy-section p,
  .cookie-policy-section li {
    font-size: 0.96rem;
  }

  .cookie-policy-nav img {
    width: 57px;
  }

  .cookie-policy-nav > a:last-child,
  .cookie-policy-nav-actions a {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .cookie-policy-nav-actions {
    gap: 6px;
  }

  .cookie-policy-nav-actions a:first-child {
    display: none;
  }

  .privacy-contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-root *,
  .cookie-consent-root *::before,
  .cookie-consent-root *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
