/* Cookie preferences: optional analytics only; essential session/cart cookies stay available. */
.cookie-consent[hidden],
.cookie-consent-settings[hidden],
.cookie-consent-backdrop[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1000020;
  width: min(650px, calc(100vw - 40px));
  padding: 22px;
  color: #172033;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
}

.cookie-consent__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cookie-consent__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  border-radius: 12px;
}

.cookie-consent__title,
.cookie-consent-settings__title {
  margin: 0;
  color: #172033;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
}

.cookie-consent__body,
.cookie-consent-settings__intro {
  margin: 13px 0 0;
  color: #4b5565;
  font-size: 1.42rem;
  line-height: 1.62;
}

.cookie-consent__body a,
.cookie-consent-settings__intro a {
  color: #155bd5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions,
.cookie-consent-settings__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.cookie-consent__button {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.cookie-consent__button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1.34rem;
  font-weight: 750;
  line-height: 1.25;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

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

.cookie-consent__button--primary {
  color: #ffffff;
  background: #e11d1d;
  border-color: #e11d1d;
}

.cookie-consent__button--primary:hover {
  background: #c91616;
  border-color: #c91616;
}

.cookie-consent__button--secondary {
  color: #25324a;
  background: #eef1f5;
  border-color: #eef1f5;
}

.cookie-consent__button--secondary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.cookie-consent__button--ghost {
  color: #155bd5;
  background: transparent;
  border-color: rgba(21, 91, 213, 0.35);
}

.cookie-consent__button--ghost:hover {
  background: #eff6ff;
  border-color: #155bd5;
}

.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000030;
  background: rgba(15, 23, 42, 0.48);
}

.cookie-consent-settings {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000040;
  width: min(570px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 26px;
  color: #172033;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.32);
  transform: translate(-50%, -50%);
}

.cookie-consent-settings__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cookie-consent-settings__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #475569;
  font-size: 2.2rem;
  line-height: 1;
  background: #f1f5f9;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.cookie-consent-settings__close:hover {
  color: #172033;
  background: #e2e8f0;
}

.cookie-consent-settings__options {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.cookie-consent-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  color: #172033;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  cursor: pointer;
}

.cookie-consent-choice--required {
  cursor: default;
}

.cookie-consent-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #155bd5;
}

.cookie-consent-choice input:disabled {
  opacity: 1;
}

.cookie-consent-choice__title {
  display: block;
  color: #172033;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.35;
}

.cookie-consent-choice__description {
  display: block;
  margin-top: 4px;
  color: #5b677a;
  font-size: 1.28rem;
  line-height: 1.55;
}

.cookie-consent-settings__status {
  min-height: 1.2em;
  margin: 14px 0 0;
  color: #166534;
  font-size: 1.28rem;
  font-weight: 650;
}

.map-privacy-placeholder {
  display: flex;
  min-height: 420px;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.map-privacy-placeholder__eyebrow {
  color: #155bd5;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-privacy-placeholder p {
  max-width: 470px;
  margin: 10px 0 18px;
  color: #475569;
  font-size: 1.4rem;
  line-height: 1.6;
}

.map-privacy-placeholder__button {
  min-height: 42px;
  padding: 9px 17px;
  color: #ffffff;
  font: inherit;
  font-size: 1.34rem;
  font-weight: 750;
  background: #155bd5;
  border: 1px solid #155bd5;
  border-radius: 999px;
  cursor: pointer;
}

.map-privacy-placeholder__button:hover {
  background: #124aa9;
  border-color: #124aa9;
}

.map-wrapper-v2 iframe[hidden] {
  display: none !important;
}

.cookie-consent__button:focus-visible,
.cookie-consent-settings__close:focus-visible,
.cookie-consent-choice:has(input:focus-visible),
.cookie-consent a:focus-visible,
.cookie-consent-settings a:focus-visible {
  outline: 3px solid rgba(21, 91, 213, 0.45);
  outline-offset: 3px;
}

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

@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-consent__actions,
  .cookie-consent-settings__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .cookie-consent-settings {
    width: calc(100vw - 24px);
    padding: 22px 18px;
  }

  .map-privacy-placeholder {
    min-height: 360px;
    padding: 24px;
  }
}
