@font-face {
  font-family: "GDA Inter";
  src: url("../../homepage-builder/assets/fonts/Inter-Regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GDA Inter";
  src: url("../../homepage-builder/assets/fonts/Inter-Medium-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GDA Inter";
  src: url("../../homepage-builder/assets/fonts/Inter-SemiBold-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GDA Inter";
  src: url("../../homepage-builder/assets/fonts/Inter-Bold-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* The small early head bootstrap adds this class before Choice can paint its
   native layout. JS removes it after one complete normalization pass. */
#qc-cmp2-ui.gda-cmp-preparing {
  opacity: 0 !important;
  pointer-events: none !important;
}

#qc-cmp2-ui {
  --gda-cmp-green: #5CAA7F;
  --gda-cmp-green-hover: #4E9A72;
  --gda-cmp-green-soft: #F3F9F6;
  --gda-cmp-text: #20262D;
  --gda-cmp-muted: #69727D;
  --gda-cmp-line: #E2E7E4;
  --gda-cmp-radius: 4px;
  font-family: "GDA Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  color: var(--gda-cmp-text) !important;
  border-radius: 7px !important;
  box-shadow: 0 18px 48px rgba(22, 34, 28, .16) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#qc-cmp2-ui p,
#qc-cmp2-ui a,
#qc-cmp2-ui button,
#qc-cmp2-ui label,
#qc-cmp2-ui li,
#qc-cmp2-ui .span-heading,
#qc-cmp2-ui .qc-cmp2-list-item-title,
#qc-cmp2-ui .qc-cmp2-list-item-status,
#qc-cmp2-ui .qc-cmp2-expandable-list,
#qc-cmp2-ui .qc-cmp2-expandable-list p {
  font-family: "GDA Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

#qc-cmp2-ui p,
#qc-cmp2-ui li,
#qc-cmp2-ui .qc-cmp2-expandable-list {
  letter-spacing: 0 !important;
}

#qc-cmp2-ui .span-heading,
#qc-cmp2-ui h1,
#qc-cmp2-ui h2,
#qc-cmp2-ui h3,
#qc-cmp2-ui [role="heading"] {
  font-weight: 700 !important;
  letter-spacing: -.015em !important;
  color: var(--gda-cmp-text) !important;
}

/* Buttons */
#qc-cmp2-ui button {
  border-radius: var(--gda-cmp-radius) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  text-shadow: none !important;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease !important;
}
#qc-cmp2-ui button > span {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
}
#qc-cmp2-ui button[mode="primary"] {
  background: var(--gda-cmp-green) !important;
  border: 1px solid var(--gda-cmp-green) !important;
  color: #fff !important;
}
#qc-cmp2-ui button[mode="primary"]:hover {
  background: var(--gda-cmp-green-hover) !important;
  border-color: var(--gda-cmp-green-hover) !important;
}
#qc-cmp2-ui button[mode="secondary"] {
  background: #fff !important;
  border: 1px solid var(--gda-cmp-green) !important;
  color: var(--gda-cmp-green) !important;
}
#qc-cmp2-ui button[mode="secondary"]:hover {
  background: var(--gda-cmp-green-soft) !important;
  border-color: var(--gda-cmp-green-hover) !important;
  color: var(--gda-cmp-green-hover) !important;
}
#qc-cmp2-ui button[mode="link"],
#qc-cmp2-ui .qc-cmp2-link-inline {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--gda-cmp-green) !important;
}

/* First-screen Choice buttons contain decorative spans. Keep Choice's native
   click targets and paint only the label from our data attribute. */
#qc-cmp2-ui .qc-cmp2-summary-buttons button[data-gda-cmp-label] {
  font-size: 0 !important;
}
#qc-cmp2-ui .qc-cmp2-summary-buttons button[data-gda-cmp-label] > * {
  visibility: hidden !important;
}
#qc-cmp2-ui .qc-cmp2-summary-buttons button[data-gda-cmp-label]::after {
  content: attr(data-gda-cmp-label) !important;
  display: inline-block !important;
  visibility: visible !important;
  font-family: "GDA Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  background: transparent !important;
  white-space: nowrap !important;
}

/* Focus: remove Choice/browser click rectangles without altering geometry. */
#qc-cmp2-ui .qc-cmp2-list-item,
#qc-cmp2-ui .qc-cmp2-expandable-list {
  border-radius: 0 !important;
  box-shadow: none !important;
}
#qc-cmp2-ui .qc-cmp2-list-item:focus,
#qc-cmp2-ui .qc-cmp2-list-item:focus-visible,
#qc-cmp2-ui .qc-cmp2-list-item:active,
#qc-cmp2-ui .qc-cmp2-expandable-list:focus,
#qc-cmp2-ui .qc-cmp2-expandable-list:focus-visible,
#qc-cmp2-ui .qc-cmp2-expandable-list:active,
#qc-cmp2-ui .qc-cmp2-list-item :focus,
#qc-cmp2-ui .qc-cmp2-list-item :focus-visible,
#qc-cmp2-ui .qc-cmp2-list-item :active,
#qc-cmp2-ui .qc-cmp2-expandable-list :focus,
#qc-cmp2-ui .qc-cmp2-expandable-list :focus-visible,
#qc-cmp2-ui .qc-cmp2-expandable-list :active {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}

/* Detailed-list typography */
#qc-cmp2-ui .qc-cmp2-list-item {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  gap: 14px !important;
}
#qc-cmp2-ui .qc-cmp2-list-item-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.34 !important;
  letter-spacing: -.01em !important;
  color: var(--gda-cmp-text) !important;
}
#qc-cmp2-ui .qc-cmp2-expandable-list,
#qc-cmp2-ui .qc-cmp2-expandable-list li,
#qc-cmp2-ui .qc-cmp2-expandable-list p {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--gda-cmp-text) !important;
}
#qc-cmp2-ui .qc-cmp2-list-item-status {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--gda-cmp-muted) !important;
}

/* Russian "Show partners" control: same casing everywhere, native arrow kept. */
#qc-cmp2-ui .gda-cmp-partners-toggle,
#qc-cmp2-ui .gda-cmp-partners-toggle * {
  text-transform: none !important;
}
#qc-cmp2-ui .gda-cmp-partners-toggle {
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--gda-cmp-green) !important;
}

/* Inline links in the legal summary should not visually outgrow the copy. */
#qc-cmp2-ui .qc-cmp2-summary-info a,
#qc-cmp2-ui .qc-cmp2-summary-info button[mode="link"],
#qc-cmp2-ui .qc-cmp2-summary-info .qc-cmp2-link-inline {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
  letter-spacing: inherit !important;
}

/* Switches: keep Choice's native geometry/animation. We only tint the outer
   track and suppress Choice's redundant textual ON/OFF label. */
#qc-cmp2-ui .gda-cmp-has-toggle .gda-cmp-toggle-status {
  display: none !important;
}
#qc-cmp2-ui .gda-cmp-has-toggle {
  align-items: center !important;
}
#qc-cmp2-ui .gda-cmp-has-toggle .qc-cmp2-toggle {
  transform: none !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background-color: #AEB4BA !important;
  border-color: #AEB4BA !important;
  box-shadow: none !important;
}
#qc-cmp2-ui .gda-cmp-has-toggle .qc-cmp2-toggle[aria-checked="true"] {
  background-color: var(--gda-cmp-green) !important;
  border-color: var(--gda-cmp-green) !important;
}
#qc-cmp2-ui .gda-cmp-has-toggle .qc-cmp2-toggle:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(92, 170, 127, .18) !important;
}
#qc-cmp2-ui .gda-cmp-has-toggle > :last-child {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

.qc-cmp2-container .qc-cmp2-persistent-link {
  display: none !important;
}
html.gda-cmp-open,
body.gda-cmp-open {
  overflow: hidden !important;
}

/* Desktop/tablet */
@media (min-width: 641px) {
  #qc-cmp2-ui {
    width: min(960px, calc(100vw - 24px)) !important;
    max-width: 960px !important;
  }

  /* Summary: content-height card, no Choice flex spacer. */
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 24px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) > .qc-cmp2-summary-section,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-consent-info,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-footer,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-footer-overlay,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-buttons {
    position: static !important;
    inset: auto !important;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) > .qc-cmp2-summary-section {
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 20px 2px !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info p {
    font-size: 15px !important;
    line-height: 1.56 !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .span-heading,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) [role="heading"] {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info > :last-child,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-info p:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-footer,
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-footer-overlay {
    flex: 0 0 auto !important;
    padding-top: 0 !important;
    background: #fff !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-buttons {
    padding: 10px 20px 14px !important;
    gap: 12px !important;
  }
  #qc-cmp2-ui:has(> .qc-cmp2-summary-section) .qc-cmp2-summary-buttons button {
    min-height: 46px !important;
  }

  /* Detailed preferences: keep the same captured height as the summary and
     make the modal root the sole vertical scroller. */
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) {
    height: min(var(--gda-cmp-summary-height, 760px), calc(100vh - 24px)) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 24px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-consent-info {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 16px 20px 8px !important;
    overflow: visible !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-consent-info,
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-consent-info p {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .span-heading,
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) [role="heading"] {
    font-size: 23px !important;
    line-height: 1.2 !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-summary-info {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-list-item,
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-expandable-list {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-list-item {
    align-items: center !important;
  }

  /* Keep Choice's original accept/reject buttons as the event source. They are
     hidden only after our footer proxy actions exist. */
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)):not(.gda-cmp-actions-ready) .qc-cmp2-header-links {
    display: flex !important;
  }
  #qc-cmp2-ui.gda-cmp-actions-ready:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-header-links {
    display: none !important;
  }

  /* Sticky detailed footer: tabs left, actions right. */
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-footer,
  #qc-cmp2-ui:not(:has(> .qc-cmp2-summary-section)) .qc-cmp2-footer-overlay {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 4 !important;
    display: block !important;
    flex: 0 0 auto !important;
    padding: 12px 16px 14px !important;
    background: #fff !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-layout {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) max-content !important;
    align-items: center !important;
    column-gap: 22px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-left .gda-cmp-footer-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-left .gda-cmp-footer-tabs,
  #qc-cmp2-ui .gda-cmp-footer-left .gda-cmp-footer-tabs * {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-right {
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: center !important;
    justify-content: end !important;
    column-gap: 12px !important;
    min-width: 0 !important;
    width: auto !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-actions {
    display: grid !important;
    grid-template-columns: 144px 132px !important;
    gap: 12px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-actions .gda-cmp-proxy-action {
    min-height: 44px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-actions .gda-cmp-proxy-action:first-child {
    width: 144px !important;
    min-width: 144px !important;
    max-width: 144px !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-actions .gda-cmp-proxy-action:nth-child(2) {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-right > button[mode="primary"] {
    width: 238px !important;
    min-width: 238px !important;
    max-width: 238px !important;
    min-height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

/* Narrow desktop/tablet: stack tabs above actions instead of allowing overlap. */
@media (max-width: 860px) and (min-width: 641px) {
  #qc-cmp2-ui .gda-cmp-footer-layout {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-left {
    overflow: visible !important;
  }
  #qc-cmp2-ui .gda-cmp-footer-right {
    justify-content: end !important;
  }
}

/* Mobile: preserve Choice's native geometry. */
@media (max-width: 640px) {
  #qc-cmp2-ui {
    border-radius: 6px !important;
  }
  #qc-cmp2-ui button {
    border-radius: 4px !important;
  }
  #qc-cmp2-ui .qc-cmp2-list-item-title {
    font-size: 16px !important;
  }
  #qc-cmp2-ui .qc-cmp2-expandable-list,
  #qc-cmp2-ui .qc-cmp2-expandable-list li,
  #qc-cmp2-ui .qc-cmp2-expandable-list p {
    font-size: 14px !important;
    line-height: 1.46 !important;
  }
}

/* Normal footer privacy link */
#gda-cookie-settings-wrap {
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 8px 15px 14px;
  font-size: 14px;
  line-height: 1.4;
}
#gda-cookie-settings-link {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px 4px;
  margin: 0;
  font: inherit;
  color: #5CAA7F;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
#gda-cookie-settings-link:hover,
#gda-cookie-settings-link:focus {
  color: #0D5D3B;
  background: transparent;
  outline: none;
}
