/* APD 228 — Experiences search must render the same mobile date UI
   regardless of whether the traveler entered from Alojamientos or opened
   Experiencias directly. */
@media (max-width: 767px) {
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd15-date-mode,
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd15-date-flexibility,
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd15-date-view[data-apd-date-view="flexible"] {
    display: none !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts {
    display: grid !important;
    grid-template-columns: .82fr 1.04fr 1.82fr !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts button {
    width: 100% !important;
    min-width: 0 !important;
    height: 78px !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 1.25px solid #d6d6d6 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts button.is-selected,
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts button[aria-pressed="true"] {
    border-color: #222 !important;
    box-shadow: inset 0 0 0 1px #222 !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts strong {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif !important;
    font-size: 15.5px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
    letter-spacing: -0.1px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd141-date-shortcuts small {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    color: #6a6a6a !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd5-calendar-nav {
    display: none !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view > .apd5-calendar-months {
    position: relative !important;
    width: calc(100% + 40px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 -20px !important;
    padding: 17px 20px 0 !important;
    border-top: 1px solid #ededed !important;
    box-sizing: border-box !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-month h3 {
    margin: 0 0 12px !important;
    padding: 0 1px !important;
    color: #222 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    letter-spacing: -0.25px !important;
    text-transform: none !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-weekdays {
    margin-bottom: 8px !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-weekdays > * {
    color: #717171 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days {
    row-gap: 7px !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days button {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 40px !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days button.is-start,
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days button.is-end,
  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days button.is-selected {
    background: #222 !important;
    color: #fff !important;
  }

  html body.apd227-mobile-experience-search.apd186-search-modal-open
  .apd186-search-portal #apd5-search[data-context="experiences"] .apd228-experience-exact-view .apd5-calendar-days button.is-in-range {
    border-radius: 0 !important;
    background: #f2f2f2 !important;
    color: #222 !important;
  }
}
