body.hotel-view-map-modal-open {
  overflow: hidden;
}

#hotelviewmap-root {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.hotel-view-map-page {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #e9e9e9;
  padding: 0;
  display: block;
  box-sizing: border-box;
}

.hotel-view-map-page__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: #2f2f2f;
  text-decoration: none;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hotel-view-map-page__close::before {
  content: "\00d7";
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.hotel-view-map-page__sidebar {
  display: flex;
}

.hotel-view-map-page__image {
  width: 100%;
  height: 140px;
  background: #e6e6e6;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.hotel-view-map-page__cta {
  width: 100%;
  border: none;
  background: #4ea7a0;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  margin-top: 8px;
}

.hotel-view-map-page__cta:hover,
.hotel-view-map-page__cta:focus,
.hotel-view-map-page__cta:active,
.hotel-view-map-page__cta:visited {
  background: #4ea7a0;
  color: #fff;
  text-decoration: none;
}

.hotel-view-map-page__map {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hotel-view-map-page__map a[href*="google.com/maps"],
.hotel-view-map-page__map a[href*="maps.google.com"] {
  display: none !important;
}

.hotel-view-map-page__map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Card styling - moved from inline styles */
.hotel-view-map-page__card {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 280px;
  height: auto;
  z-index: 2;
  overflow: hidden;
}

.hotel-view-map-page__card-image {
  position: relative;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.hotel-view-map-page__card-image-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
}

.hotel-view-map-page__card-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.hotel-view-map-page__card-name {
  font-weight: 700;
  color: black;
  align-items: center;
  margin: 0 0 9px;
}

.hotel-view-map-page__card-room {
  margin: 0 0 10px;
  color: #4b5563;
}

.hotel-view-map-page__card-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  color: black;
}

.hotel-view-map-page__card-price-group,
.hotel-view-map-page__card-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: 9px;
}

.hotel-view-map-page__card-price {
  font-weight: 700;
  color: #111;
 
}

.hotel-view-map-page__card-original-price {
  text-decoration: line-through;
  color: #9aa0a6;
}

.hotel-view-map-page__card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f0b323;
  font-weight: 700;
  font-size: 12px;
}

.hotel-view-map-page__card-rating-count {
  color: #6b7280;
  font-weight: 400;
  font-size: 11px;
}

@media (max-width: 900px) {
  .hotel-view-map-page {
    grid-template-columns: 1fr;
  }

  .hotel-view-map-page__map {
    min-height: 360px;
  }
}

.hotel-view-map-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.5);
  z-index: 10000;
  padding: 24px;
}

.hotel-view-map-modal.is-open {
  display: flex;
}

.hotel-view-map-modal__panel {
  width: min(1100px, 96vw);
  background: #f6f6f6;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  padding: 18px;
  position: relative;
}

.hotel-view-map-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hotel-view-map-modal__body {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
}

.hotel-view-map-modal__card {
  background: #fff;
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hotel-view-map-modal__image {
  width: 100%;
  height: 140px;
  background: #e6e6e6;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

.hotel-view-map-modal__name {
  font-size: 16px;
  font-weight: 700;
  color: #1f2d3d;
}

.hotel-view-map-modal__location {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 8px;
}

.hotel-view-map-modal__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.hotel-view-map-modal__star {
  color: #f0b323;
}

.hotel-view-map-modal__cta {
  width: 100%;
  border: none;
  background: #4ea7a0;
  color: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.hotel-view-map-modal__cta:hover,
.hotel-view-map-modal__cta:focus,
.hotel-view-map-modal__cta:active {
  background: #4ea7a0;
  color: #fff;
}

.hotel-view-map-modal__map {
  position: relative;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  min-height: 480px;
}

.hotel-view-map-modal__map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.hotel-view-map-modal__close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .hotel-view-map-modal__body {
    grid-template-columns: 1fr;
  }

  .hotel-view-map-modal__map {
    min-height: 360px;
  }
}
