.ewr-modal,
.ewr-modal * {
  box-sizing: border-box !important;
}

.ewr-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  font-family: Montserrat, Arial, sans-serif !important;
}

.ewr-modal.is-open {
  display: flex !important;
}

.ewr-modal__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(16, 14, 12, 0.76) !important;
  backdrop-filter: blur(10px) saturate(75%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(75%) !important;
  cursor: pointer !important;
}

.ewr-modal__dialog {
  position: relative !important;
  width: min(100%, 560px) !important;
  max-height: calc(100vh - 48px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 45px 46px 34px !important;
  border: 1px solid rgba(185, 149, 98, 0.65) !important;
  border-radius: 6px !important;
  background: #fcfbf8 !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38) !important;
  color: #171513 !important;
  outline: none !important;
  animation: ewr-modal-reveal 0.38s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.ewr-modal__dialog::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 46px !important;
  width: 72px !important;
  height: 3px !important;
  background: #b99562 !important;
}

.ewr-modal__eyebrow {
  display: block !important;
  margin: 0 58px 15px 0 !important;
  color: #a47f4d !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase !important;
}

.ewr-modal__close {
  position: absolute !important;
  top: 22px !important;
  right: 24px !important;
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 1px solid rgba(23, 21, 19, 0.24) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #171513 !important;
  font-family: Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease, transform 0.22s ease !important;
}

.ewr-modal__close:hover,
.ewr-modal__close:focus-visible {
  border-color: #171513 !important;
  background: #171513 !important;
  color: #ffffff !important;
  outline: none !important;
  transform: rotate(90deg) !important;
}

.ewr-modal__title {
  margin: 0 58px 8px 0 !important;
  color: #171513 !important;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif !important;
  font-size: 43px !important;
  font-weight: 500 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.ewr-modal__intro {
  margin: 0 0 28px !important;
  color: #726c65 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

.ewr-modal__selection {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 15px 18px !important;
  border-left: 2px solid #b99562 !important;
  background: #f3efe9 !important;
}

.ewr-modal__selection-label {
  display: block !important;
  margin: 0 0 5px !important;
  color: #a47f4d !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 1.7px !important;
  text-transform: uppercase !important;
}

.ewr-modal__service {
  margin: 0 !important;
  color: #282522 !important;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif !important;
  font-size: 21px !important;
  font-style: italic !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.ewr-modal__locations {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

.ewr-location-button {
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  min-height: 84px !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  overflow: hidden !important;
  border: 1px solid #d8d0c5 !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: #171513 !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: translateZ(0) !important;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease !important;
}

.ewr-location-button::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: #b99562 !important;
  transform: scaleY(0) !important;
  transform-origin: bottom !important;
  transition: transform 0.25s ease !important;
}

.ewr-location-button:hover,
.ewr-location-button:focus-visible {
  border-color: #171513 !important;
  background: #171513 !important;
  color: #ffffff !important;
  outline: none !important;
  transform: translateX(3px) !important;
}

.ewr-location-button:hover::before,
.ewr-location-button:focus-visible::before {
  transform: scaleY(1) !important;
}

.ewr-location-button__index {
  display: block !important;
  color: #b99562 !important;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.ewr-location-button__content {
  display: grid !important;
  min-width: 0 !important;
  gap: 4px !important;
}

.ewr-location-button__eyebrow {
  display: block !important;
  color: #9b8d7c !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  transition: color 0.25s ease !important;
}

.ewr-location-button__name {
  display: block !important;
  overflow: hidden !important;
  color: inherit !important;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.ewr-location-button__action {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 10px !important;
  color: #876a43 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 1.1px !important;
  text-transform: uppercase !important;
  transition: color 0.25s ease !important;
}

.ewr-location-button__arrow {
  display: inline-flex !important;
  width: 32px !important;
  height: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #b99562 !important;
  border-radius: 50% !important;
  color: #876a43 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

.ewr-location-button:hover .ewr-location-button__eyebrow,
.ewr-location-button:focus-visible .ewr-location-button__eyebrow {
  color: #c8ae89 !important;
}

.ewr-location-button:hover .ewr-location-button__action,
.ewr-location-button:focus-visible .ewr-location-button__action {
  color: #ffffff !important;
}

.ewr-location-button:hover .ewr-location-button__arrow,
.ewr-location-button:focus-visible .ewr-location-button__arrow {
  border-color: #b99562 !important;
  background: #b99562 !important;
  color: #171513 !important;
}

.ewr-modal__footer {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 22px 0 0 !important;
  color: #8a837a !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.7px !important;
  text-transform: uppercase !important;
}

.ewr-modal__footer::before {
  content: "" !important;
  display: block !important;
  width: 24px !important;
  height: 1px !important;
  flex: 0 0 24px !important;
  background: #b99562 !important;
}

html.ewr-modal-open,
html.ewr-modal-open body {
  overflow: hidden !important;
}

@keyframes ewr-modal-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .ewr-modal {
    align-items: flex-end !important;
    padding: 10px !important;
  }

  .ewr-modal__overlay {
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }

  .ewr-modal__dialog {
    width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    padding: 34px 20px 24px !important;
    border-radius: 6px 6px 3px 3px !important;
  }

  .ewr-modal__dialog::before {
    left: 20px !important;
    width: 58px !important;
  }

  .ewr-modal__close {
    top: 17px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
  }

  .ewr-modal__eyebrow {
    margin: 0 52px 12px 0 !important;
    font-size: 9px !important;
  }

  .ewr-modal__title {
    margin-right: 50px !important;
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .ewr-modal__intro {
    margin-bottom: 20px !important;
    font-size: 13px !important;
  }

  .ewr-modal__selection {
    margin-bottom: 18px !important;
    padding: 12px 14px !important;
  }

  .ewr-modal__service {
    font-size: 18px !important;
  }

  .ewr-location-button {
    min-height: 72px !important;
    grid-template-columns: 25px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 13px 12px !important;
  }

  .ewr-location-button__index {
    font-size: 14px !important;
  }

  .ewr-location-button__name {
    font-size: 21px !important;
  }

  .ewr-location-button__action {
    font-size: 0 !important;
    gap: 0 !important;
  }

  .ewr-location-button__arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }

  .ewr-modal__footer {
    margin-top: 18px !important;
    font-size: 9px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ewr-modal__dialog,
  .ewr-modal__close,
  .ewr-location-button,
  .ewr-location-button::before,
  .ewr-location-button__eyebrow,
  .ewr-location-button__action,
  .ewr-location-button__arrow {
    animation: none !important;
    transition: none !important;
  }
}
