/* Nearry consent bar + preferences modal (from d964921 design). Do not alter other CSS files. */
#nearry-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.2s ease-out;
}
#nearry-consent.is-in {
  transform: none;
}
.nearry-consent__bar {
  pointer-events: auto;
  background: #fff;
  border-top: 1px solid rgba(26, 26, 46, 0.1);
  box-shadow: 0 -12px 36px rgba(26, 26, 46, 0.1);
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #1a1a2e;
}
.nearry-consent__inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.nearry-consent__copy {
  flex: 1;
  min-width: 0;
}
.nearry-consent__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.nearry-consent__body {
  margin: 0;
  color: #5c5563;
  font-size: 0.92rem;
  line-height: 1.45;
}
.nearry-consent__body a {
  color: #ff2d55;
  font-weight: 700;
  text-decoration: underline;
}
.nearry-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-shrink: 0;
}
.nearry-consent__actions button {
  appearance: none;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nearry-consent__primary {
  background: #ff2d55;
  border: 1px solid #ff2d55;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 45, 85, 0.28);
}
.nearry-consent__secondary {
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.18);
  color: #1a1a2e;
}
.nearry-consent__tertiary {
  background: transparent;
  border: 0;
  color: #1a1a2e;
  text-decoration: underline;
  min-height: 48px;
  padding: 0 0.4rem;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
#nearry-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 46, 0.42);
}
#nearry-consent-modal.is-open {
  display: flex;
}
.nearry-consent__dialog {
  width: min(100%, 560px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 24px 60px rgba(26, 26, 46, 0.28);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #1a1a2e;
}
.nearry-consent__dialog h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}
.nearry-consent__intro {
  margin: 0 0 1rem;
  color: #5c5563;
  font-size: 0.92rem;
  line-height: 1.45;
}
.nearry-consent__row {
  border: 1px solid rgba(26, 26, 46, 0.1);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.65rem;
}
.nearry-consent__row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.nearry-consent__row h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}
.nearry-consent__row p {
  margin: 0;
  color: #5c5563;
  font-size: 0.86rem;
  line-height: 1.4;
}
.nearry-consent__lock {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b6b80;
  white-space: nowrap;
}
.nearry-consent__switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}
.nearry-consent__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.nearry-consent__switch span {
  position: absolute;
  inset: 0;
  background: #d8d8e0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nearry-consent__switch span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.nearry-consent__switch input:checked + span {
  background: #ff2d55;
}
.nearry-consent__switch input:checked + span::after {
  transform: translateX(20px);
}
.nearry-consent__switch input:disabled + span {
  opacity: 0.7;
  cursor: not-allowed;
}
.nearry-consent__details {
  margin-top: 0.55rem;
}
.nearry-consent__details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  color: #1a1a2e;
}
.nearry-consent__details ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: #5c5563;
  font-size: 0.8rem;
  line-height: 1.45;
}
.nearry-consent__modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.nearry-consent__modal-actions button {
  appearance: none;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nearry-consent__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
/* Lift scroll-to-top while the bar is open */
body.nearry-consent-open .to-top,
body.nearry-consent-open .scroll-top,
body.nearry-consent-open [data-scroll-top],
body.nearry-consent-open .vslides__to-top {
  bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 899px) {
  .nearry-consent__bar {
    border-radius: 20px 20px 0 0;
    padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: 25vh;
    overflow: auto;
  }
  .nearry-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .nearry-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .nearry-consent__actions .nearry-consent__primary,
  .nearry-consent__actions .nearry-consent__secondary {
    width: 100%;
    min-height: 44px;
  }
  .nearry-consent__actions .nearry-consent__tertiary {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    min-height: 40px;
  }
  .nearry-consent__title {
    font-size: 0.95rem;
  }
  .nearry-consent__body {
    font-size: 0.82rem;
  }
  .nearry-consent__dialog {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }
  #nearry-consent-modal {
    align-items: flex-end;
    padding: 0;
  }
}

/* Visually hidden text for screen readers / SEO h1 enrichment only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
