/* 2026 redesign: header pills (all pages) and the home hero, option 2A of Claude Design's
   "Homepage Redesign v2 - Search First". The account menu itself is in ch-account.css. */

/* ---------- Header (every page) ---------- */
.ch-header nav .ch-navigation { flex: 1; justify-content: flex-end; gap: 8px; }
.ch-header nav .ch-navigation > ul { margin-right: auto; margin-left: 40px; }
.ch-header nav .ch-account { flex: none; }
@media (min-width: 64.0625rem) { .ch-header nav { gap: 12px; } }

/* Currency: the real <select>, dressed as the design's pill */
.ch26-currency { font-family: Inter, Arial, Helvetica, sans-serif; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 30px 0 12px; margin: 0;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ch26-currency:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .36); }
.ch26-currency:focus-within { outline: 2px solid #F08A00; outline-offset: 2px; }
.ch26-currency__flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; flex: none; }
.ch26-currency select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: 15px;
  padding: 0; margin: 0; cursor: pointer; outline: none; }
/* Older stylesheets style #add_currency directly (the results page's hotel/css/style.css makes it black,
   13px and 58px tall), so the pill's own rules are pinned to the id */
.ch26-currency #add_currency { color: inherit; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; height: auto; min-height: 0; padding: 0; background: transparent; }
.ch26-currency select option { color: #1A1F36; }
.ch26-currency__chev { position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; margin-top: -8px; opacity: .8; pointer-events: none; }

/* Saved hotels: a heart pill when signed out; signed in it lives in the account menu */
#ch-header nav .wishlist > a.ch26-saved { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; color: #fff; transition: background-color .15s, border-color .15s; }
#ch-header nav .wishlist > a.ch26-saved:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .36); }
#ch-header nav .wishlist > a.ch26-saved > svg { width: 18px; height: 18px; border: 0; padding: 0; border-radius: 0; }
#ch-header nav .wishlist.ch26-saved--menu > a.ch26-saved { display: none; }

/* Phones and small tablets: the links, heart and currency sit in the white burger panel */
@media (max-width: 64rem) {
  .ch-header nav .ch-navigation > ul { margin: 0; }
  .ch-header nav .ch-account { margin-left: auto; }
  .ch26-currency { color: #1A1F36; border-color: #E3E6EF; }
  .ch26-currency:hover { background: #F4F6FB; border-color: #C9CEDB; }
  #ch-header nav .wishlist > a.ch26-saved { color: #1A1F36; border-color: #E3E6EF; }
}

/* ---------- Home hero (2A: search first, the counter as proof) ---------- */
.ch26-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v5-main .ch26-hero { background: linear-gradient(180deg, #2b3043 0%, #383d50 100%); color: #F7F8FA;
  font-family: 'Archivo', Inter, Helvetica, Arial, sans-serif; padding: 64px 24px 64px; margin-top: -1px; }
.v5-main .ch26-hero__inner.ch-get-search-main { max-width: 1140px; margin: 0 auto; padding: 0; background: none; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; }
.v5-main .ch26-hero h1.ch26-hero__title { margin: 0; font-family: inherit; font-size: 56px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; color: #F7F8FA; text-transform: none; }
.v5-main .ch26-hero h1.ch26-hero__title span { color: #F28C13; }
.ch26-hero__sub { margin: 14px 0 0; font-size: 20px; line-height: 1.45; color: #b9bdcf; }

/* The counter card under the search */
.ch26-proof { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 52px; padding: 14px 28px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.ch26-proof__lead { font-size: 20px; font-weight: 600; color: #b9bdcf; }
.ch26-proof__count { display: inline-flex; align-items: baseline; gap: 10px; }
.ch26-hero__num { display: inline-block; font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.03em; color: #F28C13; font-variant-numeric: tabular-nums; min-width: 1.2ch; text-align: center; }
.ch26-hero__num.is-rolling { animation: ch26-rollin .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes ch26-rollin { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.ch26-proof__min { font-size: 28px; font-weight: 900; color: #fff; }
.ch26-hero__label { font-size: 20px; font-weight: 600; color: #F7F8FA; min-width: 300px; text-align: left; }

/* The search bar: one white pill */
.v5-main .ch26-hero .ch26-search { width: 100%; max-width: 1140px; margin-top: 36px; }
.v5-main .ch26-hero .ch-search-form { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin: 0; padding: 8px 8px 8px 28px;
  background: #fff; border-radius: 999px; box-shadow: 0 16px 48px rgba(0, 0, 0, .35); }
.v5-main .ch26-hero .ch-search-form .input-field { flex: 1; width: auto; max-width: none; min-width: 0; padding: 0 18px; border-right: 1px solid #e5e6ea; text-align: left; }
.v5-main .ch26-hero .ch-search-form .input-field:first-child { flex: 1.8; padding-left: 0; }
.v5-main .ch26-hero .ch-search-form .input-field:last-child { flex: 0 0 auto; width: auto; padding: 0 0 0 10px; border-right: 0; }
.v5-main .ch26-hero .ch-search-form .trigger_find_closests { display: none; }
.v5-main .ch26-hero .ch-search-form .input-field.ch26-sort { flex: 1.1; border-right: 0; }
@media (min-width: 1101px) { .v5-main .ch26-hero .ch-search-form .input-field:nth-child(2) { flex: 1.35; } .v5-main .ch26-hero .ch-search-form .input-field.ch26-sort { flex: 1; } }
.v5-main .ch26-hero .ch-search-form .input-group { height: auto; margin: 0; padding: 0; background: none; border: 0; }
.v5-main .ch26-hero .ch-search-form .input-group > label { display: block; margin: 0 0 2px; font-family: inherit; font-size: 11px; font-weight: 800;
  letter-spacing: .1em; line-height: 14px; text-transform: uppercase; color: #C46F00; }
.v5-main .ch26-hero .ch-search-form .input-group #hintTextInputField,
.v5-main .ch26-hero .ch-search-form .input-group > .demo__input .checkinout_inp,
.v5-main .ch26-hero .ch-search-form .input-group > .input-text-div,
.v5-main .ch26-hero .ch-search-form .input-group > select { display: block; width: 100%; height: auto; padding: 0; margin: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 22px; letter-spacing: 0; color: #23273a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; outline: none; }
.v5-main .ch26-hero .ch-search-form .input-group #hintTextInputField { font-weight: 500; cursor: text; }
.v5-main .ch26-hero .ch-search-form .input-group #hintTextInputField::placeholder { color: #8b90a0; opacity: 1; }
.v5-main .ch26-hero .ch-search-form .input-group > select { appearance: none; -webkit-appearance: none; padding-right: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323273a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 14px no-repeat; }
.v5-main .ch26-hero .ch-search-form .input-field:focus-within label { color: #B85F00; }
.v5-main .ch26-hero .ch-search-form .submit-button { width: auto; min-width: 150px; height: 62px; padding: 0 32px; border: 0; border-radius: 999px;
  background: #F28C13; color: #23273a; font-family: inherit; font-size: 20px; font-weight: 800; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.v5-main .ch26-hero .ch-search-form .submit-button:hover { background: #ff9a24; border: 0; }
.v5-main .ch26-hero .ch-search-form .submit-button .icon { display: none; }
.ch26-hero__foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 24px; font-size: 15px; color: #c8ccdb; }
.ch26-hero__also { color: #8b90a5; }
.v5-main .ch26-hero .my-location-toggle { margin: 0; color: #e7e9f2; font-family: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.v5-main .ch26-hero .my-location-toggle:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Tablet: two rows inside a rounded card */
@media (max-width: 1100px) {
  .v5-main .ch26-hero h1.ch26-hero__title { font-size: 46px; }
  .v5-main .ch26-hero .ch-search-form { flex-wrap: wrap; border-radius: 24px; padding: 16px 20px; row-gap: 14px; }
  .v5-main .ch26-hero .ch-search-form .input-field:first-child { flex: 1 1 100%; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #e5e6ea; }
  .v5-main .ch26-hero .ch-search-form .input-field:nth-child(2) { padding-left: 0; }
  .v5-main .ch26-hero .ch-search-form .input-field:last-child { flex: 1 1 100%; padding: 0; }
  .v5-main .ch26-hero .ch-search-form .submit-button { width: 100%; height: 54px; }
}
/* Phone: the 2A mobile card */
@media (max-width: 767px) {
  .v5-main .ch26-hero { padding: 28px 20px 36px; }
  .v5-main .ch26-hero__inner.ch-get-search-main { align-items: stretch; text-align: left; }
  .v5-main .ch26-hero h1.ch26-hero__title { font-size: 34px; line-height: 1.08; }
  .ch26-hero__sub { font-size: 18px; margin-top: 10px; }
  .ch26-hero__sub-lead { display: none; }
  .ch26-hero__foot { justify-content: center; }
  .ch26-proof { flex-direction: column; gap: 2px; margin-top: 28px; padding: 16px 20px 18px; text-align: center; }
  .ch26-proof__lead { font-size: 16px; }
  .ch26-hero__num { font-size: 72px; }
  .ch26-proof__min { font-size: 30px; }
  .ch26-hero__label { min-width: 0; text-align: center; font-size: 17px; }
  .v5-main .ch26-hero .ch26-search { margin-top: 24px; }
  .v5-main .ch26-hero .ch-search-form { padding: 0; border-radius: 16px; row-gap: 0; overflow: visible; }
  .v5-main .ch26-hero .ch-search-form .input-field { flex: 1 1 50%; padding: 12px 16px; border-right: 1px solid #e5e6ea; border-bottom: 1px solid #e5e6ea; }
  .v5-main .ch26-hero .ch-search-form .input-field:first-child { flex: 1 1 100%; padding: 14px 16px; }
  .v5-main .ch26-hero .ch-search-form .input-field:nth-child(2) { padding: 12px 16px; }
  .v5-main .ch26-hero .ch-search-form .input-field:nth-child(3) { border-right: 0; }
  .v5-main .ch26-hero .ch-search-form .input-field.ch26-sort { flex: 1 1 100%; border-right: 0; }
  .v5-main .ch26-hero .ch-search-form .input-field:last-child { padding: 14px 16px 16px; border: 0; }
  .v5-main .ch26-hero .ch-search-form .submit-button { color: #23273a; font-size: 20px; border-radius: 12px; }
  .ch26-hero__also { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ch26-hero__num.is-rolling { animation: none; } }

/* Phones, signed out: Sign in + the burger; "Create account" lives in the sign-in pop-up */
@media (max-width: 479px) {
  .ch-header nav .ch-account .ch-account__create { display: none; }
}

/* ---------- Results page filter bar: keep "Sort by" on the same row ---------- */
/* The bar is at most 1368px wide; its ten controls needed ~1500px. The three widest are narrowed and
   Sort by sits at the row's right end. */
.filters-top-bar .ch-filters-search { flex: 0 1 150px; width: 150px; min-width: 120px; }
.filters-top-bar .ch-filters-search input { width: 100%; min-width: 0; }
.filters-top-bar .filter-toggle.maximum-driving-time-toggle { flex: 0 0 auto; width: 130px; min-width: 0; }
.filters-top-bar .filter-toggle.maximum-driving-time-toggle select { width: 100%; min-width: 0; }
.filters-top-bar .filter-toggle.sort-by-driving-time-toggle { margin-left: auto; flex: 0 0 auto; width: 180px; min-width: 0; }
.filters-top-bar .filter-toggle.sort-by-driving-time-toggle select { width: 100%; min-width: 0; }

/* ---------- Results page: tighter search band (quick win before the redesign) ---------- */
/* "Use my location" and "24/7 support" become one slim line of small links under the search;
   less empty space above and below. Desktop only: the phone layout is already compact. */
@media (min-width: 64.0625rem) {
  /* The band slides 56px under the fixed header (margin-top: -56px) and was a fixed 262px tall */
  .ch26-results-banner .ch-inner { min-height: 0; padding-top: 80px; padding-bottom: 16px; }
  .ch26-results-banner .ch-search-form { margin-top: 0; }
  .ch26-results-banner .my-location-toggle.my_location { height: auto; min-height: 0; margin-top: 8px; padding: 2px 0; gap: 6px;
    background: none; border: 0; box-shadow: none; font-size: 13px; font-weight: 500; line-height: 18px; color: #d7dae6; cursor: pointer; }
  .ch26-results-banner .my-location-toggle.my_location:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .ch26-results-banner .my-location-toggle.my_location svg { width: 11px; height: 11px; }
  .ch26-results-banner .needhelprmt { margin-top: 8px; padding: 2px 0; background: none; border: 0; box-shadow: none; }
  main.newbg section.ch-results > .wrapper > .ch-inner { padding-top: 16px; }
  .ch26-results-banner .needhelprmt p { margin: 0; padding: 0; font-size: 13px; line-height: 18px; background: none; }
}

/* ---------- The address overlay (#overlay, opened by the site's address script when the field is clicked) ----------
   It was a square 32px-text box laid over the pill. Here it becomes the bar's active segment: a raised white pill
   exactly as tall as the bar, keeping the "Where do you need to be?" label, with normal-size text. */
.v5-main .ch26-hero .ch-search-form div#overlay { top: -12px; bottom: -12px; left: -20px; right: -18px; width: auto; height: auto; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px #e3e6ef, 0 8px 24px rgba(26, 31, 54, .18); overflow: visible; }   /* the suggestion list (#hintBox) lives inside it */
.v5-main .ch26-hero .ch-search-form div#overlay::before { content: "Where do you need to be?"; position: absolute; top: 13px; left: 20px; z-index: 1; pointer-events: none;
  font-family: 'Archivo', Inter, Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 800; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; color: #B85F00; }
.v5-main .ch26-hero .ch-search-form #overlayTextInputField { inset: 0; width: 100%; height: 100%; padding: 27px 20px 11px; border: 0 !important; border-radius: 999px;
  background: transparent; font-family: 'Archivo', Inter, Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 600; line-height: 22px; color: #23273a; outline: none; transition: none; }
.v5-main .ch26-hero .ch-search-form #overlayTextInputField::placeholder { color: #8b90a0; font-weight: 500; opacity: 1; }
@media (max-width: 1100px) {
  .v5-main .ch26-hero .ch-search-form div#overlay { top: -8px; bottom: 2px; left: -10px; right: -10px; border-radius: 16px; }
  .v5-main .ch26-hero .ch-search-form div#overlay::before { left: 14px; top: 9px; }
  .v5-main .ch26-hero .ch-search-form #overlayTextInputField { padding: 23px 14px 7px; border-radius: 16px; }
}
@media (max-width: 767px) {
  .v5-main .ch26-hero .ch-search-form div#overlay { top: -8px; bottom: -8px; left: -8px; right: -8px; border-radius: 12px; }
  .v5-main .ch26-hero .ch-search-form div#overlay::before { left: 12px; top: 9px; }
  .v5-main .ch26-hero .ch-search-form #overlayTextInputField { padding: 23px 12px 7px; border-radius: 12px; font-size: 16px; }   /* 16px: iOS doesn't zoom in */
}
/* Suggestions under it: a rounded card in the same style */
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox { top: calc(100% + 10px) !important; left: 0; width: max(100%, 440px) !important; max-width: calc(100vw - 32px) !important; max-height: min(60vh, 420px); padding: 6px;
  border: 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e3e6ef, 0 18px 44px rgba(26, 31, 54, .24); overflow-y: auto; text-align: left; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .hint-item { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 12px; border: 0; border-radius: 12px; cursor: pointer; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .hint-item + .hint-item { margin-top: 2px; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .hint-item:hover,
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .hint-item.active { background: #F4F6FB; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .marker-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 50%;
  background: #FFF1DE; color: #E07B00; font-size: 15px; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .text-container { min-width: 0; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .main-text { margin: 0; font-family: Inter, Arial, sans-serif; font-size: 15px; font-weight: 600; line-height: 20px; color: #23273a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v5-main .ch26-hero .ch-search-form div#overlay #hintBox .secondary-text { margin: 1px 0 0; font-family: Inter, Arial, sans-serif; font-size: 13px; line-height: 17px; color: #6b7085;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .v5-main .ch26-hero .ch-search-form div#overlay #hintBox { width: 100% !important; border-radius: 14px; } }
