/*
 * Creek Rentals iOS app presentation
 * Applied only when mobile-app.js detects an embedded iOS WKWebView.
 */
html.creek-ios-app {
  --app-orange: #f77a1a;
  --app-orange-dark: #d95f08;
  background: #fff;
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
html.creek-ios-app body {
  background: #fff;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
html.creek-ios-app .site-header {
  display: none !important;
}
html.creek-ios-app main {
  padding-top: 0 !important;
}
html.creek-ios-app .full-hero-carousel,
html.creek-ios-app .full-hero-slide {
  min-height: auto !important;
}
html.creek-ios-app .restored-hero .restored-copy {
  padding-top: 28px !important;
  padding-bottom: 26px !important;
}
html.creek-ios-app .restored-location {
  margin-bottom: 24px !important;
}
html.creek-ios-app .restored-hero h1 {
  font-size: clamp(3.45rem, 15vw, 4.75rem) !important;
  line-height: .91 !important;
  letter-spacing: -.065em !important;
}
html.creek-ios-app .restored-hero .restored-copy > p {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  margin: 30px 0 34px !important;
}
html.creek-ios-app .restored-actions {
  gap: 22px !important;
}
html.creek-ios-app .restored-actions .btn-primary,
html.creek-ios-app .auth-form-pane .btn-primary {
  background: var(--app-orange) !important;
  border-color: var(--app-orange) !important;
  box-shadow: none !important;
}
html.creek-ios-app .restored-actions .btn-primary:active,
html.creek-ios-app .auth-form-pane .btn-primary:active {
  background: var(--app-orange-dark) !important;
}
html.creek-ios-app .restored-stats {
  margin-top: 38px !important;
}
html.creek-ios-app .restored-visual {
  min-height: 330px !important;
  max-height: 390px !important;
}
html.creek-ios-app .restored-visual img {
  min-height: 330px !important;
  max-height: 390px !important;
  object-fit: cover !important;
  object-position: center !important;
}
html.creek-ios-app .grand-highlander-controls {
  bottom: 22px !important;
}
html.creek-ios-app .grand-highlander-dots button.is-active {
  background: var(--app-orange) !important;
}
html.creek-ios-app .airport-label {
  background: var(--app-orange) !important;
}
html.creek-ios-app .restored-search {
  padding-top: 52px !important;
}
html.creek-ios-app .search-intro,
html.creek-ios-app .search-card {
  width: calc(100% - 32px) !important;
}
html.creek-ios-app .search-intro h2 {
  font-size: clamp(2.3rem, 10vw, 3.5rem) !important;
  line-height: 1 !important;
}
html.creek-ios-app .restored-fleet {
  padding-top: 56px !important;
}
html.creek-ios-app .restored-fleet-grid {
  display: block !important;
}
html.creek-ios-app .restored-vehicle-card {
  min-height: 0 !important;
  padding: 34px 28px 38px !important;
  border-bottom: 1px solid #e6e7e9 !important;
}
html.creek-ios-app .restored-card-top {
  margin-bottom: 8px !important;
}
html.creek-ios-app .restored-card-top b {
  display: none !important;
}
html.creek-ios-app .restored-card-image {
  height: clamp(250px, 75vw, 360px) !important;
  min-height: 0 !important;
  margin: 4px 0 14px !important;
  background: #fff !important;
}
html.creek-ios-app .restored-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
}
html.creek-ios-app .restored-card-body h3 {
  font-size: clamp(2rem, 8.6vw, 2.75rem) !important;
  line-height: 1.05 !important;
  margin: 10px 0 10px !important;
}
html.creek-ios-app .restored-card-body > p {
  margin-bottom: 22px !important;
}
html.creek-ios-app .restored-price {
  margin-top: 26px !important;
  gap: 14px !important;
}
html.creek-ios-app .restored-price button {
  color: var(--app-orange) !important;
}
html.creek-ios-app .restored-price button:active {
  color: var(--app-orange-dark) !important;
}
html.creek-ios-app .modal {
  z-index: 10000 !important;
}
html.creek-ios-app .modal-panel.auth-premium {
  width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
html.creek-ios-app .auth-showcase,
html.creek-ios-app .auth-mobile-brand {
  display: none !important;
}
html.creek-ios-app .auth-form-pane {
  width: 100% !important;
  padding: 34px 24px calc(118px + env(safe-area-inset-bottom)) !important;
}
html.creek-ios-app .auth-panel .modal-close {
  top: 18px !important;
  right: 18px !important;
}
html.creek-ios-app .auth-kicker {
  padding-right: 58px !important;
}
html.creek-ios-app .auth-form-pane h2 {
  font-size: clamp(2.7rem, 11vw, 4rem) !important;
  line-height: 1 !important;
}
html.creek-ios-app .auth-tabs {
  margin-top: 30px !important;
}
html.creek-ios-app .auth-tabs button.active {
  border-color: var(--app-orange) !important;
}
html.creek-ios-app .auth-form-pane input {
  font-size: 1rem !important;
}
html.creek-ios-app .auth-remember input:checked + span::before,
html.creek-ios-app .auth-remember input:checked {
  accent-color: var(--app-orange) !important;
}
html.creek-ios-app .auth-form-pane.is-signup .auth-form-meta {
  display: none !important;
}
html.creek-ios-app .auth-form-pane.is-signup #authPassword {
  margin-bottom: 20px !important;
}
html.creek-ios-app .form-message {
  margin-top: 14px !important;
}
html.creek-ios-app .restored-footer {
  padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
}
html.creek-ios-app a:focus-visible,
html.creek-ios-app button:focus-visible,
html.creek-ios-app input:focus-visible,
html.creek-ios-app select:focus-visible {
  outline: 3px solid rgba(247, 122, 26, .35) !important;
  outline-offset: 2px !important;
}
@media (max-width: 430px) {
  html.creek-ios-app .restored-actions {
    align-items: flex-start !important;
  }
  html.creek-ios-app .restored-actions .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }
  html.creek-ios-app .restored-price {
    align-items: flex-end !important;
  }
  html.creek-ios-app .restored-price > span {
    white-space: nowrap !important;
  }
}


/* Native-feeling iOS WebView scrolling. */
html.creek-ios-app {
  scroll-behavior: auto !important;
  overscroll-behavior-y: auto;
  -webkit-text-size-adjust: 100%;
}
html.creek-ios-app body {
  overflow-x: clip !important;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
html.creek-ios-app .restored-vehicle-card,
html.creek-ios-app .restored-card-image img,
html.creek-ios-app .full-hero-track {
  will-change: auto !important;
}
html.creek-ios-app .restored-vehicle-card,
html.creek-ios-app .restored-card-image img {
  transition: none !important;
}
html.creek-ios-app .restored-vehicle-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
html.creek-ios-app.is-scrolling .full-hero-track {
  transition: none !important;
}


/* Allow the TestFlight hero to size from its content instead of clipping it. */
html.creek-ios-app .restored-hero.full-hero-carousel {
  height: auto !important;
  min-height: 0 !important;
}
html.creek-ios-app .full-hero-track {
  height: auto !important;
  align-items: stretch;
}
html.creek-ios-app .full-hero-slide {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: auto 390px !important;
}
html.creek-ios-app .full-hero-slide .restored-copy {
  min-height: 0 !important;
  overflow: visible !important;
  padding: 38px 28px 42px !important;
}
html.creek-ios-app .restored-stats {
  width: 100% !important;
  margin-top: 38px !important;
  padding-bottom: 0 !important;
}
html.creek-ios-app .full-hero-slide .restored-visual {
  height: 390px !important;
  min-height: 390px !important;
  max-height: 390px !important;
}
