.hotelier,
.hotelier-page,
.hotelier-listing,
.hotelier-booking {
  --htl-navy: #082f4f;
  --htl-ink: #152a3a;
  --htl-muted: #526b7b;
  --htl-teal: #0b806f;
  --htl-teal-dark: #076457;
  --htl-line: #d8e3e6;
  --htl-mist: #f4f8f7;
  color: var(--htl-ink);
  font-family: "DM Sans", system-ui, sans-serif;
}

.hotelier input,
.hotelier select,
.hotelier textarea,
.hotelier-page input,
.hotelier-page select,
.hotelier-page textarea {
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  color: var(--htl-ink);
  border: 1px solid #aebfc6;
  border-radius: 0;
  background: #fff;
}

.hotelier input[type="checkbox"],
.hotelier input[type="radio"],
.hotelier-page input[type="checkbox"],
.hotelier-page input[type="radio"] {
  width: 1.2rem !important;
  height: 1.2rem;
  min-height: 1.2rem;
  margin: 0 0.5rem 0 0;
  padding: 0;
  vertical-align: middle;
}

.hotelier label,
.hotelier-page label {
  color: var(--htl-navy);
  font-size: 0.78rem;
  font-weight: 780;
}

.hotelier button,
.hotelier .button,
.hotelier-page button,
.hotelier-page .button {
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  color: #fff;
  border: 2px solid var(--htl-teal);
  border-radius: 0;
  background: var(--htl-teal);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hotelier button:hover,
.hotelier .button:hover,
.hotelier-page button:hover,
.hotelier-page .button:hover {
  color: #fff;
  border-color: var(--htl-teal-dark);
  background: var(--htl-teal-dark);
}

.hotelier .room,
.hotelier .room-list-item,
.hotelier .reservation-table,
.hotelier .booking-form,
.hotelier-page .room,
.hotelier-page .reservation-table {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--htl-line);
  background: #fff;
}

.hotelier h2,
.hotelier h3,
.hotelier-page .hah-main h2,
.hotelier-page .hah-main h3 {
  color: var(--htl-navy);
}

.hotelier .amount,
.hotelier .price,
.hotelier-page .amount,
.hotelier-page .price {
  color: var(--htl-navy);
  font-weight: 780;
}

.hotelier .notice,
.hotelier .hotelier-notice,
.hotelier-page .notice {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--htl-teal);
  background: var(--htl-mist);
}

.hotelier .error,
.hotelier .hotelier-error,
.hotelier-page .error {
  border-left-color: #b3261e;
  background: #fff3f2;
}

.hotelier table,
.hotelier-page table {
  width: 100%;
  border-collapse: collapse;
}

.hotelier th,
.hotelier td,
.hotelier-page th,
.hotelier-page td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--htl-line);
  text-align: left;
}

.hotelier th,
.hotelier-page th {
  color: var(--htl-navy);
  background: var(--htl-mist);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .hotelier table,
  .hotelier-page table {
    display: block;
    overflow-x: auto;
  }
}

/* Hide-A-Way Harbor reservation product */

.hah-reservation-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hah-staging-notice {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  color: var(--htl-navy);
  border: 1px solid #e5c56f;
  border-left: 5px solid #d5a11e;
  background: #fff8e5;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hah-staging-notice strong {
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hah-reservation-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hah-reservation-heading__direct {
  margin: 0 0 0.5rem;
  color: var(--htl-teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hah-reservation-heading h1,
.hah-reservation-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--htl-navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.hah-booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 1.75rem 0 0;
  padding: 0;
  color: var(--htl-muted);
  list-style: none;
}

.hah-booking-progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding-right: 1rem;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hah-booking-progress li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  left: 3.25rem;
  height: 1px;
  background: var(--htl-line);
  content: "";
}

.hah-booking-progress span {
  z-index: 1;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--htl-line);
  border-radius: 50%;
  background: #fff;
}

.hah-booking-progress .is-current {
  color: var(--htl-navy);
}

.hah-booking-progress .is-current span {
  color: #fff;
  border-color: var(--htl-teal);
  background: var(--htl-teal);
}

.hah-booking-progress .is-complete span {
  color: var(--htl-teal);
  border-color: var(--htl-teal);
}

.hah-reservation-layout,
.hah-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.hah-reservation-main,
.hah-checkout-layout > form {
  min-width: 0;
}

.hah-reservation-help {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.hah-reservation-help h3,
.hah-trip-summary h3 {
  margin: 0 0 1rem;
  color: var(--htl-navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hah-trip-summary,
.hah-booking-confidence {
  padding: 1.35rem;
  border: 1px solid var(--htl-line);
  background: #fff;
}

.hah-trip-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.hah-trip-summary dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.3rem 0;
}

.hah-trip-summary dt,
.hah-trip-summary dd {
  margin: 0;
}

.hah-trip-summary dt {
  color: var(--htl-muted);
  font-size: 0.82rem;
}

.hah-trip-summary dd {
  color: var(--htl-navy);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
}

.hah-trip-summary__selection {
  margin-top: 0.6rem;
  padding-top: 0.9rem !important;
  border-top: 1px solid var(--htl-line);
}

.hah-trip-summary__total {
  margin-top: 0.3rem;
  padding-top: 0.8rem !important;
  border-top: 1px solid var(--htl-line);
}

.hah-trip-summary__total dt,
.hah-trip-summary__total dd {
  color: var(--htl-navy);
  font-size: 1rem;
  font-weight: 800;
}

.hah-trip-summary > p {
  margin: 0.9rem 0 0;
  color: var(--htl-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hah-reservation-help ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hah-reservation-help li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--htl-line);
}

.hah-reservation-help li:first-child {
  border-top: 0;
}

.hah-reservation-help strong {
  color: var(--htl-navy);
}

.hah-reservation-help span {
  color: var(--htl-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hah-reservation-help__call {
  display: block;
  min-height: 44px;
  margin-top: 0.75rem;
  padding: 0.75rem 0;
  color: var(--htl-teal-dark);
  font-weight: 760;
}

.hah-reservation-shell .datepicker,
.hah-reservation-shell .datepicker-form,
.hah-reservation-shell .selected-nights {
  margin: 0 0 1rem;
  border: 1px solid var(--htl-line);
  background: #fff;
}

.hah-reservation-shell .datepicker-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1rem;
}

.hah-reservation-shell .datepicker-input-select-wrapper {
  display: block;
  width: 100%;
}

.hah-reservation-shell .datepicker-input-select {
  width: 100%;
}

.hah-reservation-shell .selected-nights {
  padding: 0.65rem 0.85rem;
  color: var(--htl-navy);
  background: var(--htl-mist);
  font-weight: 700;
}

.hah-reservation-shell .listing__rooms,
.hah-reservation-shell .listing__list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.hah-reservation-shell .listing__room {
  margin: 0;
  padding: 0;
  border: 1px solid var(--htl-line);
  background: #fff;
}

.hah-reservation-shell .room-card-wrapper,
.hah-reservation-shell .room__content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 24%);
  min-height: 220px;
}

.hah-reservation-shell .room-card__gallery,
.hah-reservation-shell .room-card__image,
.hah-reservation-shell .room__gallery,
.hah-reservation-shell .room__image {
  height: 100%;
  min-height: 220px;
}

.hah-reservation-shell .room-card__gallery img,
.hah-reservation-shell .room-card__image img,
.hah-reservation-shell .room__gallery img,
.hah-reservation-shell .room__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hah-reservation-shell .room-card__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 30%);
  min-width: 0;
}

.hah-reservation-shell .room__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  grid-template-rows: auto repeat(6, min-content) 1fr;
  gap: 0.65rem clamp(1rem, 2.4vw, 1.65rem);
  min-width: 0;
  width: auto;
  padding: clamp(1rem, 2.4vw, 1.65rem);
}

.hah-reservation-shell .room__name {
  grid-column: 1 / -1;
  margin: 0;
}

.hah-reservation-shell .room__gallery {
  grid-column: 1;
  grid-row: 2 / span 7;
}

.hah-reservation-shell .room__description,
.hah-reservation-shell .room__more,
.hah-reservation-shell .room__details,
.hah-reservation-shell .room__max-guests,
.hah-reservation-shell .room__min-max-stay,
.hah-reservation-shell .hahbb-site-facts {
  grid-column: 2;
  margin-block: 0;
}

.hah-reservation-shell .room__only-x-left {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  padding: 0.45rem 0.7rem;
  color: #fff;
  background: var(--htl-navy);
  font-size: 0.74rem;
}

.hah-reservation-shell .room-card__details {
  padding: clamp(1rem, 2.4vw, 1.65rem);
}

.hah-reservation-shell .room-card__actions,
.hah-reservation-shell .room__actions {
  display: grid;
  align-content: center;
  gap: 1rem;
  width: auto;
  margin: 0;
  padding: clamp(1rem, 2.4vw, 1.65rem);
  border-left: 1px solid var(--htl-line);
  background: var(--htl-mist);
  text-align: right;
}

.hah-reservation-shell .room__price-wrapper {
  display: grid;
  gap: 0.45rem;
}

.hah-reservation-shell .room__price-description {
  color: var(--htl-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.hah-reservation-shell .room-quantity {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

.hah-reservation-shell .room-quantity__input {
  width: 100%;
}

.hah-reservation-shell .button--add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.hah-reservation-shell .room-card__name,
.hah-reservation-shell .room__name {
  margin: 0 0 0.7rem;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.hah-reservation-shell .room-card__name a,
.hah-reservation-shell .room__name a {
  color: var(--htl-navy);
  text-decoration: none;
}

.hahbb-site-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  color: var(--htl-muted);
  font-size: 0.88rem;
  list-style: none;
}

.hahbb-site-facts li::before {
  color: var(--htl-teal);
  content: "•";
  margin-right: 0.4rem;
}

.hah-reservation-shell--availability .hahbb-site-facts li:nth-child(n + 4) {
  display: none;
}

.hah-reserve-action {
  display: grid;
  justify-items: end;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 1.25rem;
  border-top: 4px solid var(--htl-teal);
  background: var(--htl-mist);
}

.hah-reserve-action p {
  margin: 0;
  color: var(--htl-muted);
  font-size: 0.82rem;
}

.hah-checkout-layout .booking__section,
.hah-checkout-layout .reservation-table,
.hah-checkout-layout .booking__payment {
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--htl-line);
  background: #fff;
}

.hah-checkout-layout .guest-details-fields,
.hah-checkout-layout .guest-additional-information-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.hah-checkout-layout .form-row {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.hah-checkout-layout .form-row label {
  display: block;
}

.hah-checkout-layout .form-row input,
.hah-checkout-layout .form-row select,
.hah-checkout-layout .form-row textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.hah-checkout-layout .form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.hah-checkout-layout .form-row--wide,
.hah-checkout-layout .form-row--arrival-time {
  grid-column: 1 / -1;
}

.hah-reservation-shell :focus-visible {
  outline: 3px solid #e5b335;
  outline-offset: 3px;
}

.hah-reservation-shell--confirmation .reservation-received {
  max-width: 850px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--htl-line);
  border-top: 5px solid var(--htl-teal);
  background: #fff;
}

@media (max-width: 960px) {
  .hah-reservation-layout,
  .hah-checkout-layout {
    grid-template-columns: 1fr;
  }

  .hah-reservation-help {
    position: static;
    order: 2;
  }

  .hah-reservation-shell .room-card-wrapper,
  .hah-reservation-shell .room__content-wrapper {
    grid-template-columns: 1fr;
  }

  .hah-reservation-shell .room-card__actions,
  .hah-reservation-shell .room__actions {
    border-top: 1px solid var(--htl-line);
    border-left: 0;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .hah-staging-notice {
    display: block;
  }

  .hah-staging-notice strong {
    display: block;
    margin-bottom: 0.2rem;
  }

  .hah-reservation-shell {
    width: 100%;
    margin-block: 0 3rem;
  }

  .hah-booking-progress {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .hah-booking-progress li {
    padding-right: 0;
  }

  .hah-booking-progress li::after {
    display: none;
  }

  .hah-reservation-shell .room-card-wrapper,
  .hah-reservation-shell .room__content-wrapper {
    grid-template-columns: 1fr;
  }

  .hah-reservation-shell .datepicker-form {
    grid-template-columns: 1fr;
  }

  .hah-reservation-shell .datepicker-form .button--datepicker {
    width: 100%;
  }

  .hah-reservation-shell .room__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hah-reservation-shell .room__content > * {
    min-width: 0;
  }

  .hah-reservation-shell .room__name,
  .hah-reservation-shell .room__gallery,
  .hah-reservation-shell .room__description,
  .hah-reservation-shell .room__more,
  .hah-reservation-shell .room__details,
  .hah-reservation-shell .room__max-guests,
  .hah-reservation-shell .room__min-max-stay,
  .hah-reservation-shell .hahbb-site-facts {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
  }

  .hah-reservation-shell .room__name {
    overflow-wrap: anywhere;
  }

  .hah-reservation-shell .room-card__gallery,
  .hah-reservation-shell .room-card__image,
  .hah-reservation-shell .room__gallery,
  .hah-reservation-shell .room__image {
    min-height: 210px;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .hah-reservation-shell .room__gallery-thumbnail,
  .hah-reservation-shell .room__gallery img,
  .hah-reservation-shell .room__image img {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  .hah-checkout-layout .guest-details-fields,
  .hah-checkout-layout .guest-additional-information-fields {
    grid-template-columns: 1fr;
  }

  .hah-checkout-layout .form-row {
    grid-column: 1;
  }

  .hah-reserve-action {
    justify-items: stretch;
  }

  .hah-reserve-action .button {
    width: 100%;
  }
}
