/* ALCANCE Accommodations Premium Layout V24
 * Keeps the audited public-page scale and adds stable hover, premium guests and property navigation.
 */

.mp-ac {
  font-family: "Roboto Flex", Poppins, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.mp-ac-container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.mp-ac h1,
.mp-ac h2,
.mp-ac h3,
.mp-ac strong,
.mp-ac-btn,
.mp-ac-eyebrow,
.mp-ac-type-filters a,
.mp-ac-sort select {
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
}

.mp-ac p,
.mp-ac span,
.mp-ac label,
.mp-ac input,
.mp-ac select,
.mp-ac textarea,
.mp-ac button {
  font-family: "Roboto Flex", Poppins, Arial, sans-serif;
}

/* Hero — same vertical scale as Packages / About Us / Academy. */
.mp-ac-hero {
  z-index: 10;
  min-height: 300px;
  align-items: center;
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(32, 32, 33,.94) 0%, rgba(32, 32, 33,.82) 36%, rgba(32, 32, 33,.50) 67%, rgba(32, 32, 33,.20) 100%),
    var(--mp-ac-hero-image, none);
  background-size: cover;
  background-position: center;
}

.mp-ac-hero__overlay {
  background: linear-gradient(180deg, rgba(32, 32, 33,.01) 0%, rgba(32, 32, 33,.14) 100%);
}

.mp-ac-hero__inner {
  padding-block: 34px 24px;
}

.mp-ac-hero__copy {
  max-width: 560px;
  margin-bottom: 18px;
}

.mp-ac-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
}

.mp-ac-hero__copy h1 {
  max-width: 540px;
  margin: 5px 0 7px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.mp-ac-hero__copy p {
  max-width: 530px;
  margin: 0;
  font-family: "Roboto Flex", Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

/* Search */
.mp-ac-search {
  position: relative;
  grid-template-columns: minmax(235px, 1.35fr) repeat(2, minmax(155px, .82fr)) minmax(145px, .72fr) 150px;
  overflow: visible;
  border: 1px solid rgba(219,228,238,.95);
  border-radius: 5px;
  background: #fff;
}

.mp-ac-search__field,
.mp-ac-search__button {
  min-height: 60px;
}

.mp-ac-search__field {
  position: relative;
  gap: 9px;
  padding: 8px 13px;
}

.mp-ac-search__field:first-child {
  border-radius: 5px 0 0 5px;
}

.mp-ac-search__field small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
}

.mp-ac-search input,
.mp-ac-search select,
.mp-ac-sort select,
.mp-ac-request-form input,
.mp-ac-request-form select,
.mp-ac-request-form textarea {
  font-family: "Roboto Flex", Poppins, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.mp-ac-search__field > .mp-ac-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.mp-ac-search__button {
  border-radius: 0 5px 5px 0;
  padding-inline: 14px;
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* The theme has a global pink button hover; Accommodations owns this button state. */
body .mp-ac .mp-ac-search__button,
body .mp-ac .mp-ac-search__button:visited {
  color: #fff !important;
  border-color: var(--mp-ac-navy) !important;
  background: var(--mp-ac-navy) !important;
}

body .mp-ac .mp-ac-search__button:hover,
body .mp-ac .mp-ac-search__button:focus,
body .mp-ac .mp-ac-search__button:focus-visible,
body .mp-ac .mp-ac-search__button:active {
  color: #fff !important;
  border-color: var(--mp-ac-navy-2) !important;
  background: var(--mp-ac-navy-2) !important;
  box-shadow: none !important;
}

/* Premium guest selector. */
.mp-ac-search__guests {
  z-index: 40;
}

.mp-ac-guests__field {
  position: static;
}

.mp-ac-guests__trigger {
  width: 100%;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--mp-ac-text);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.mp-ac-guests__trigger:hover,
.mp-ac-guests__trigger:focus,
.mp-ac-guests__trigger:focus-visible {
  color: var(--mp-ac-text);
  background: transparent;
  outline: 0;
  box-shadow: none;
}

.mp-ac-guests__trigger > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-ac-guests__trigger .mp-ac-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  transition: transform .18s ease;
}

.mp-ac-guests__trigger[aria-expanded="true"] .mp-ac-icon {
  transform: rotate(180deg);
}

.mp-ac-guests__panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  padding: 12px;
  border: 1px solid var(--mp-ac-border);
  border-radius: 5px;
  color: var(--mp-ac-text);
  background: #fff;
  box-shadow: none;
}

.mp-ac-guests__panel[hidden] {
  display: none !important;
}

.mp-ac-guests__row {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px;
  border-bottom: 1px solid #edf2f7;
}

.mp-ac-guests__row > div:first-child {
  display: grid;
  gap: 1px;
}

.mp-ac-guests__row strong {
  font-size: 11px;
  font-weight: 700;
}

.mp-ac-guests__row small {
  color: var(--mp-ac-muted);
  font-size: 9.5px;
}

.mp-ac-counter {
  display: grid;
  grid-template-columns: 30px 28px 30px;
  align-items: center;
  gap: 4px;
}

.mp-ac-counter button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd8e6;
  border-radius: 100%;
  color: var(--mp-ac-navy);
  background: #fff;
  cursor: pointer;
  font: 700 16px/1 Poppins, Arial, sans-serif;
}

.mp-ac-counter button:hover,
.mp-ac-counter button:focus-visible {
  color: #fff;
  border-color: var(--mp-ac-navy);
  background: var(--mp-ac-navy);
  outline: 0;
}

.mp-ac-counter output {
  color: var(--mp-ac-text);
  font: 700 11px/1 Poppins, Arial, sans-serif;
  text-align: center;
}

.mp-ac-guests__note {
  padding: 9px 1px 7px;
  color: var(--mp-ac-muted);
  font-size: 9px;
  line-height: 1.4;
}

.mp-ac-guests__done {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--mp-ac-navy);
  cursor: pointer;
  font: 700 10px/1 Poppins, Arial, sans-serif;
  text-transform: uppercase;
}

.mp-ac-guests__done:hover,
.mp-ac-guests__done:focus-visible {
  background: var(--mp-ac-navy-2);
  outline: 0;
}

/* Main composition */
.mp-ac-main {
  padding-block: 22px 44px;
}

.mp-ac-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
}

.mp-ac-section-head {
  min-height: 46px;
  gap: 14px;
  margin-bottom: 9px;
}

.mp-ac-section-head h2 {
  margin-top: 3px;
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.mp-ac-sort {
  gap: 5px;
  font-size: 11px;
}

.mp-ac-sort select {
  min-width: 126px;
  height: 34px;
  font-size: 11px;
}

.mp-ac-type-filters {
  gap: 6px;
  margin-bottom: 12px;
}

.mp-ac-type-filters a {
  min-width: 70px;
  height: 34px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 600;
}

/* Cards + previous/next navigator. */
.mp-ac-grid-shell {
  position: relative;
}

.mp-ac-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mp-ac-card[hidden] {
  display: none !important;
}

.mp-ac-carousel__control {
  position: absolute;
  z-index: 5;
  top: 112px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid #d6e0ea;
  border-radius: 100%;
  color: var(--mp-ac-navy);
  background: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}

.mp-ac-carousel__control--prev { left: -19px; }
.mp-ac-carousel__control--next { right: -19px; }

.mp-ac-carousel__control .mp-ac-icon {
  width: 18px;
  height: 18px;
}

.mp-ac-carousel__control:hover:not(:disabled),
.mp-ac-carousel__control:focus-visible:not(:disabled) {
  color: #fff;
  border-color: var(--mp-ac-navy);
  background: var(--mp-ac-navy);
  outline: 0;
}

.mp-ac-carousel__control:disabled {
  opacity: .28;
  cursor: default;
  box-shadow: none;
}

.mp-ac-carousel__status {
  min-height: 15px;
  display: block;
  margin-top: 7px;
  color: var(--mp-ac-muted);
  font-size: 9px;
  text-align: right;
}

.mp-ac-card {
  border-radius: 5px;
  box-shadow: none;
}

.mp-ac-card__image {
  min-height: 0;
  height: 150px;
  aspect-ratio: auto;
}

.mp-ac-card__featured {
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  font-size: 9px;
}

.mp-ac-card__body {
  gap: 6px;
  min-height: 232px;
  padding: 11px;
}

.mp-ac-card h3 {
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.mp-ac-card__location,
.mp-ac-card__rating {
  font-size: 10.5px;
}

.mp-ac-card__amenities {
  min-height: 28px;
  gap: 4px 8px;
  padding-top: 2px;
  font-size: 9.5px;
}

.mp-ac-card__amenities .mp-ac-icon {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

.mp-ac-card__footer {
  gap: 7px;
  padding-top: 8px;
}

.mp-ac-card__price small,
.mp-ac-card__price span {
  font-size: 9px;
}

.mp-ac-card__price strong {
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 14px;
}

.mp-ac-card__footer .mp-ac-btn {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 9.5px;
}

/* Aside */
.mp-ac-aside {
  gap: 10px;
}

.mp-ac-panel {
  padding: 14px;
  border-radius: 5px;
  box-shadow: none;
}

.mp-ac-panel h3 {
  margin-bottom: 10px;
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.mp-ac-trust-list {
  gap: 9px;
}

.mp-ac-trust-list li {
  gap: 8px;
  font-size: 10.5px;
  line-height: 1.45;
}

.mp-ac-trust-list .mp-ac-icon {
  width: 16px;
  height: 16px;
}

.mp-ac-provider-card {
  grid-template-columns: 36px 1fr;
  gap: 9px;
}

.mp-ac-provider-card__icon {
  width: 36px;
  height: 36px;
}

.mp-ac-provider-card p {
  margin-bottom: 9px;
  font-size: 10.5px;
}

.mp-ac-provider-card .mp-ac-btn {
  min-height: 32px;
  padding: 7px 9px;
  font-size: 9px;
}

/* Benefits */
.mp-ac-benefits {
  margin-top: 16px;
}

.mp-ac-benefit {
  min-height: 68px;
  gap: 8px;
  padding: 10px;
}

.mp-ac-benefit > .mp-ac-icon {
  width: 23px;
  height: 23px;
  flex-basis: 23px;
}

.mp-ac-benefit strong {
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 10.5px;
}

.mp-ac-benefit span {
  font-size: 9.5px;
  line-height: 1.4;
}

/* Reservation process — compact journey with visible progression. */
.mp-ac-process {
  margin-top: 22px;
  padding: 22px 18px 18px;
  border: 1px solid var(--mp-ac-border);
  border-radius: 5px;
  background: #fff;
}

.mp-ac-process .mp-ac-section-head {
  min-height: 0;
  margin-bottom: 18px;
}

.mp-ac-process .mp-ac-section-head h2 {
  font-size: 20px;
}

.mp-ac-process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.mp-ac-process__steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 25px;
  left: 8.33%;
  right: 8.33%;
  height: 1px;
  background: #dbe4ee;
}

.mp-ac-process__step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-inline: 6px;
  text-align: center;
}

.mp-ac-process__step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 16px;
  right: -8px;
  width: 16px;
  color: var(--mp-ac-orange);
  background: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 18px;
}

.mp-ac-process__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border: 1px solid #cbd8e6;
  border-radius: 100%;
  color: var(--mp-ac-navy);
  background: #fff;
}

.mp-ac-process__icon .mp-ac-icon {
  width: 22px;
  height: 22px;
}

.mp-ac-process__number {
  top: -4px;
  left: calc(50% + 12px);
  width: 18px;
  height: 18px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.mp-ac-process__step strong {
  display: block;
  font-family: Poppins, "Roboto Flex", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.mp-ac-process__step p {
  max-width: 145px;
  margin: 4px auto 0;
  font-family: "Roboto Flex", Poppins, Arial, sans-serif;
  font-size: 10px;
  line-height: 1.45;
}

.mp-ac-process__notice {
  max-width: 800px;
  margin: 17px auto 0;
  padding: 9px 12px;
  border: 1px solid #f0d9aa;
  border-left: 3px solid var(--mp-ac-orange);
  border-radius: 5px;
  color: #70561d;
  background: #fff8e8;
  font-size: 10.5px;
  line-height: 1.45;
  text-align: center;
}

.mp-ac-form-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* AJAX progressive-enhancement state. */
.mp-ac.is-ajax-loading {
  cursor: progress;
}

.mp-ac.is-ajax-loading .mp-ac-results,
.mp-ac.is-ajax-loading .mp-ac-detail-grid,
.mp-ac.is-ajax-loading .mp-ac-search {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}

.mp-ac.is-ajax-loading::before {
  content: "";
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 32%;
  height: 3px;
  background: var(--mp-ac-orange);
  animation: mp-ac-ajax-progress 1s ease-in-out infinite alternate;
}

@keyframes mp-ac-ajax-progress {
  from { transform: translateX(-15%); }
  to { transform: translateX(240%); }
}

@media (max-width: 1180px) {
  .mp-ac-container { width: calc(100% - 32px); }
  .mp-ac-layout { grid-template-columns: minmax(0, 1fr) 245px; }
  .mp-ac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .mp-ac-hero { min-height: 300px; }
  .mp-ac-hero__copy h1 { font-size: 36px; }
  .mp-ac-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-ac-search__field,
  .mp-ac-search__button { min-height: 58px; }
  .mp-ac-search__button { grid-column: 1 / -1; border-radius: 0 0 5px 5px; }
  .mp-ac-layout { grid-template-columns: 1fr; }
  .mp-ac-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-ac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mp-ac-process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .mp-ac-process__steps::before,
  .mp-ac-process__step::after { display: none; }
  .mp-ac-process__step { padding: 10px 8px; border: 1px solid #edf1f5; border-radius: 5px; }
}

@media (max-width: 760px) {
  .mp-ac-container { width: calc(100% - 24px); }
  .mp-ac-hero { min-height: auto; align-items: stretch; }
  .mp-ac-hero__inner { padding-block: 28px 20px; }
  .mp-ac-hero__copy { max-width: 100%; margin-bottom: 16px; }
  .mp-ac-hero__copy h1 { max-width: 480px; font-size: 34px; }
  .mp-ac-hero__copy p { font-size: 13px; }
  .mp-ac-search { grid-template-columns: 1fr 1fr; }
  .mp-ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-ac-aside { grid-template-columns: 1fr; }
  .mp-ac-section-head { align-items: flex-start; }
  .mp-ac-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-ac-carousel__control--prev { left: -12px; }
  .mp-ac-carousel__control--next { right: -12px; }
}

@media (max-width: 560px) {
  .mp-ac-container { width: calc(100% - 20px); }
  .mp-ac-hero__inner { padding-block: 24px 18px; }
  .mp-ac-hero__copy h1 { font-size: 30px; line-height: 1.12; }
  .mp-ac-search { grid-template-columns: 1fr; }
  .mp-ac-search__field,
  .mp-ac-search__button { min-height: 54px; }
  .mp-ac-search__button { grid-column: auto; }
  .mp-ac-guests__panel { left: -44px; right: auto; width: min(310px, calc(100vw - 28px)); }
  .mp-ac-main { padding-block: 18px 34px; }
  .mp-ac-section-head { min-height: 0; flex-direction: column; gap: 9px; }
  .mp-ac-section-head h2 { font-size: 19px; }
  .mp-ac-grid { grid-template-columns: 1fr; }
  .mp-ac-card__image { height: 205px; }
  .mp-ac-card__body { min-height: 0; }
  .mp-ac-carousel__control { top: 126px; width: 34px; height: 34px; }
  .mp-ac-carousel__control--prev { left: -8px; }
  .mp-ac-carousel__control--next { right: -8px; }
  .mp-ac-process { padding: 18px 12px 14px; }
  .mp-ac-process__steps { grid-template-columns: 1fr; gap: 8px; }
  .mp-ac-process__step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    padding: 9px;
    text-align: left;
  }
  .mp-ac-process__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .mp-ac-process__number { top: 5px; left: 34px; }
  .mp-ac-process__step strong { grid-column: 2; align-self: end; }
  .mp-ac-process__step p { grid-column: 2; max-width: none; margin: 2px 0 0; }
  .mp-ac-form-row--three { grid-template-columns: 1fr; }
}
