:root { --search-ease: cubic-bezier(.2, 0, 0, 1); --search-travel: 452ms; }
@supports (transition-timing-function: linear(0, 1)) {
 :root { --search-ease: linear(0, .185572, .465306, .682334, .822325, .904974, .951289, .976364, .989612, .996485, 1); }
}
/* Activation is immediate. Only the shared focus surface moves between fields. */
.search-field-highlight { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 32px; background: #fff; box-shadow: 0 3px 12px rgb(0 0 0 / .1), 0 1px 2px rgb(0 0 0 / .08); opacity: 0; transform-origin: center; transition: opacity 75ms linear; }
.search-field-highlight[data-active="true"] { opacity: 1; transition: opacity 100ms linear 50ms; }

.search-bar.sf-search-panel .sf-search-menu, .search-bar .header-shopping-search__menu { animation: search-menu-arrive 150ms var(--search-ease) both; transform-origin: top center; }
@keyframes search-menu-arrive { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
.search-bar__submit { transition: background-color 120ms ease, transform 120ms ease; }
.search-bar__submit:hover { background: #ef5b00; }
.search-bar__submit:active { transform: scale(.96); }
.product-navigation { position: relative; isolation: isolate; }
.product-navigation .search-field-highlight { border-radius: 0; height: 3px !important; top: auto; bottom: 0; box-shadow: none; background: #413e3e; }
.product-navigation a { position: relative; z-index: 1; }
.site-header .product-navigation a::after, .site-header .product-navigation a.is-active::after, .site-header .product-navigation a.is-open::after { opacity: 0; }
.product-navigation .travel-artwork { transform-origin: 50% 75%; transition: transform 380ms var(--search-ease); }
.product-navigation a:is(:hover, :focus-visible) .travel-artwork { transform: translateY(-2px) rotate(-3deg) scale(1.05); }
.product-navigation a.is-active .travel-artwork { animation: product-artwork-settle 420ms var(--search-ease) both; }
@keyframes product-artwork-settle { 0% { transform: translateY(2px) rotate(5deg) scale(.95); } 60% { transform: translateY(-3px) rotate(-3deg) scale(1.05); } 100% { transform: translateY(0) rotate(0) scale(1); } }
@media(max-width: 759px) { .search-bar.sf-search-panel .search-bar__fields[data-field-active="true"] { background: transparent; } }
@media(prefers-reduced-motion: reduce) {
 .search-field-highlight, .search-field-highlight[data-active], .product-navigation .travel-artwork, .search-bar__submit { transition: none; animation: none; }
 .product-navigation a.is-active .travel-artwork, .search-bar.sf-search-panel .sf-search-menu, .search-bar .header-shopping-search__menu { animation: none; }
}
/* All product searches use SearchBar and SearchField. Product layouts only choose columns. */
.search-bar.sf-search-panel { margin: 0; min-width: 0; width: 100%; }
.search-bar.sf-search-panel .sf-search-card { position: relative; isolation: isolate; padding: 0; border: 1px solid #dedede; border-radius: 999px; background: #fff; box-shadow: 0 5px 18px rgb(0 0 0 / .07); transition: box-shadow 150ms ease; }
.search-bar.sf-search-panel .search-bar__fields { position: relative; isolation: isolate; display: grid; align-items: stretch; gap: 0; min-height: 66px; border-radius: 999px; }
.search-bar.sf-search-panel[data-search-layout="flights"] .search-bar__fields { grid-template-columns: minmax(0,.9fr) 32px minmax(0,.9fr) minmax(0,1.2fr) minmax(0,.95fr) minmax(0,1fr) 104px; grid-template-areas: "origin swap destination when passengers programs submit"; }
.search-bar.sf-search-panel[data-search-layout="hotels"] .search-bar__fields { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) 104px; grid-template-areas: none; }
.search-bar.sf-search-panel[data-search-layout="shopping"] .search-bar__fields { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) 104px; grid-template-areas: none; }
.search-bar.sf-search-panel[data-search-layout="route"] .search-bar__fields { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr) minmax(0,1fr) 104px; grid-template-areas: "origin swap destination programs submit"; }
.search-bar.sf-search-panel[data-search-layout="hotels"] .search-field, .search-bar.sf-search-panel[data-search-layout="shopping"] .search-field { grid-area: auto; }
.search-bar.sf-search-panel .search-field { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; align-content: center; gap: 4px; min-width: 0; min-height: 66px; padding: 10px 20px; border: 0; border-radius: 32px; background: transparent; box-shadow: none; transition: none; }
.search-bar.sf-search-panel .search-field::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 32px; transform: translateY(-50%); background: #ddd; pointer-events: none; }
.search-bar.sf-search-panel .search-field:has(+ .sf-search-submit)::after, .search-bar.sf-search-panel .search-field:has(+ .sf-swap-button)::after, .search-bar.sf-search-panel .search-field.is-open::after, .search-bar.sf-search-panel .search-field:has(+ .search-field.is-open)::after { opacity: 0; }
.search-field .search-field__surface { appearance: none; display: block; position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; color: inherit; z-index: 1; }
.search-field .search-field__surface::before { content: ""; position: absolute; inset: 0; border-radius: 32px; pointer-events: none; transition: background-color 140ms ease; }
.search-field:hover > .search-field__surface::before { background: #ebebeb; }
.search-field.is-open > .search-field__surface::before { background: transparent; }
.search-field .search-field__surface:focus-visible { outline: 0; box-shadow: none; }
.search-field .search-field__surface:focus-visible::before { outline: 2px solid #ff6400; outline-offset: -2px; }
.search-bar.sf-search-panel .search-field__label, .search-bar.sf-search-panel .search-field__value { position: relative; z-index: 2; pointer-events: none; }
.search-bar.sf-search-panel .search-field__label { margin: 0; font-size: 11px; line-height: 1.2; font-weight: 600; color: #686868; letter-spacing: 0; text-transform: none; }
.search-bar.sf-search-panel .search-field__value { display: flex; align-items: center; gap: 5px; padding: 0; margin: 0; width: 100%; min-width: 0; min-height: 26px; border: 0; border-radius: 0; background: transparent; color: #222; font-size: 13px; font-weight: 600; line-height: 1.3; }
.search-field__value :is(button,a,input,select) { pointer-events: auto; }
.search-field__value > :is(span,strong) { min-width: 0; }
.search-bar.sf-search-panel .sf-airport-chip { border-radius: 8px; }
.search-bar.sf-search-panel .sf-airport-chip-list { min-width: 0; gap: 4px; }
.search-bar.sf-search-panel .sf-airport-chip__body { min-height: 26px; padding: 0 3px 0 6px; }
.search-bar.sf-search-panel .sf-airport-chip__remove { min-height: 26px; width: 22px; flex-basis: 22px; }
.search-bar.sf-search-panel .sf-airport-placeholder { padding: 0; min-height: 26px; font: inherit; }
.search-bar.sf-search-panel .sf-search-menu { z-index: 20; pointer-events: auto; }
.search-bar.sf-search-panel .search-bar__submit { grid-area: submit; display: flex; flex-direction: row; align-items: center; justify-content: center; align-self: center; justify-self: center; flex: 0 0 auto; gap: 0; padding: 0; margin: 0; width: 54px; height: 54px; min-height: 54px; border: 0; border-radius: 999px; background: var(--signal, #ff6400); color: #fff; line-height: 1; position: relative; z-index: 2; cursor: pointer; }
.search-bar.sf-search-panel:is([data-search-layout="hotels"],[data-search-layout="shopping"]) .search-bar__submit { grid-area: auto; }
.search-bar.sf-search-panel .search-bar__submit > svg { display: block; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; padding: 0; transform: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-bar.sf-search-panel .search-submit-label { display: none; }
.search-bar.sf-search-panel .sf-swap-button { position: relative; z-index: 2; width: 28px; height: 28px; min-height: 28px; margin: 0; padding: 0; align-self: center; justify-self: center; }
.header-hotel-search, .header-shopping-search.search-bar { width: 100%; min-width: 0; }
.header-shopping-search.search-bar { display: block; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.search-bar .shopping-store-picker__value { display: flex; align-items: center; gap: 8px; font: inherit; color: inherit; }
.search-bar .shopping-store-picker__value strong { font: inherit; color: inherit; }
.search-bar .shopping-store-picker__value img { width: 24px; height: 24px; object-fit: contain; }
.search-bar .header-shopping-search__category { padding: 10px 20px; border: 0; }
.search-bar .header-shopping-search__menu { top: calc(100% + 12px); z-index: 20; }
.home-search-modal--unified .home-search-modal__content, .home-search-modal--unified .header-hotel-search { display: block; min-height: 0; padding: 0; }
@media (min-width: 760px) and (max-width: 1100px) {
 .search-bar.sf-search-panel .search-field { padding-left: 12px; padding-right: 12px; }
 .search-bar.sf-search-panel .search-field__value { font-size: 11px; }
}
@media (max-width: 759px) {
 .search-bar.sf-search-panel .sf-search-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
 .search-bar.sf-search-panel .search-bar__fields { display: flex; flex-direction: column; gap: 8px; border-radius: 0; background: transparent; }
 .search-bar.sf-search-panel .search-field { display: grid; grid-template-columns: minmax(72px,.65fr) minmax(0,1.4fr); grid-template-rows: auto; align-items: center; align-content: center; min-height: 56px; padding: 6px 14px; border: 1px solid #e2e2e2; border-radius: 18px; box-shadow: 0 2px 7px rgb(0 0 0 / .035); background: #fff; }
 .search-bar.sf-search-panel .search-field::after { display: none; }
 .search-field .search-field__surface::before { border-radius: 18px; }
 .search-bar.sf-search-panel .search-field__label { font-size: 13px; }
 .search-bar.sf-search-panel .search-field__value { justify-content: flex-end; text-align: right; font-size: 14px; }
 .search-bar.sf-search-panel .sf-airport-chip-list { justify-content: flex-end; }
 .search-bar.sf-search-panel .search-bar__submit { width: 100%; height: 52px; min-height: 52px; gap: 10px; border-radius: 16px; }
 .search-bar.sf-search-panel .search-submit-label { display: block; font: inherit; font-weight: 600; }
 .search-bar.sf-search-panel .sf-swap-button { align-self: flex-end; height: 24px; min-height: 24px; margin: -6px 18px; }
 .search-bar.sf-search-panel .search-field > .sf-search-menu--inline { grid-column: 1 / -1; }
 .search-bar.sf-search-panel .search-bar__fields > .search-field-highlight { display: none; }
 .home-search-modal--unified .header-hotel-search { width: 100%; }
}
@media(prefers-reduced-motion: reduce) { .search-bar * { scroll-behavior: auto; } }
.search-field > .search-field__label, .search-field > .search-field__value { position: relative; z-index: 2; pointer-events: none; }
.search-input.search-input { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 12px; padding: 0 14px; border: 1px solid #c8c8c8; border-radius: 12px; background: #fff; color: #222; box-sizing: border-box; }
.search-input.search-input:focus-within { border-color: #ff6400; box-shadow: 0 0 0 1px #ff6400; }
.search-input.search-input > svg { display: block; width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-input.search-input > input { width: 100%; min-width: 0; min-height: 46px; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; font: inherit; font-size: 16px; color: #222; }
@media (hover: none) and (pointer: coarse) {
 .search-bar.sf-search-panel .sf-airport-chip__body, .search-bar.sf-search-panel .sf-airport-chip__remove, .search-bar.sf-search-panel .sf-airport-chip--more { min-height: 44px; }
 .search-bar.sf-search-panel .sf-airport-chip__remove { width: 44px; flex-basis: 44px; }
}
.shopping-search-panel.shopping-search-panel--mobile { grid-template-columns: minmax(0,1fr); padding: 0; border: 0; box-shadow: none; background: transparent; }
@media(max-width: 759px) {
 .home-search-modal .search-bar.sf-search-panel .search-field:focus-within { border-color: #e2e2e2; box-shadow: 0 2px 7px rgb(0 0 0 / .035); }
}
.search-popover.search-popover { position: fixed; z-index: 500; width: min(440px, calc(100vw - 32px)); margin: 0; padding: 20px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e4e4e4; border-radius: 20px; background: #fff; box-shadow: 0 12px 36px rgb(0 0 0 / .14); animation: search-menu-arrive 150ms var(--search-ease) both; }
.search-popover .hotel-destination-sheet, .search-popover .shopping-store-sheet__body { padding: 0; }
.search-popover .shopping-store-sheet__options { max-height: 450px; overflow: auto; }
@media(prefers-reduced-motion: reduce) { .search-popover.search-popover { animation: none; } }
.search-popover .header-shopping-search__menu { position: static; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

/* Search grows inside the final field. Field geometry never moves on activation. */
@media(min-width: 760px) {
 .search-bar.sf-search-panel .search-bar__fields { transition: none; }
 .search-bar.sf-search-panel .search-field:has(+ .search-bar__submit) { width: calc(100% + 104px); padding-right: 124px; }
 .search-bar.sf-search-panel .search-bar__fields[data-field-active="true"] .search-bar__submit { width: 96px; }
 .search-bar.sf-search-panel .search-bar__submit { position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 54px; transition: width var(--search-travel) var(--search-ease), background-color 140ms ease, transform 140ms ease; }
 .search-bar.sf-search-panel .search-submit-label { display: block; width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-size: 12px; font-weight: 600; transition: width var(--search-travel) var(--search-ease), opacity 75ms linear, margin-left var(--search-travel) var(--search-ease); }
 .search-bar.sf-search-panel [data-field-active="true"] .search-submit-label { width: 40px; opacity: 1; margin-left: 6px; transition-delay: 0ms, 175ms, 0ms; }
}
@media(prefers-reduced-motion: reduce) {
 .search-bar.sf-search-panel .search-bar__fields, .search-bar.sf-search-panel .search-bar__submit, .search-bar.sf-search-panel .search-submit-label, .search-field .search-field__surface::before { transition: none; }
}

@media(min-width: 760px) {
 .search-bar.sf-search-panel .sf-search-card::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: #ebebeb; opacity: 0; pointer-events: none; transition: opacity 150ms ease; }
 .search-bar.sf-search-panel .sf-search-card:has([data-field-active="true"]) { box-shadow: none; }
 .search-bar.sf-search-panel .sf-search-card:has([data-field-active="true"])::before { opacity: 1; }

}

@media(prefers-reduced-motion: reduce) { .search-bar.sf-search-panel .sf-search-card, .search-bar.sf-search-panel .sf-search-card::before { transition: none; } }

/* Paint hover beneath the moving selected surface. Adjacent hover backgrounds
   extend underneath it, so their seam follows the selected pill's curve. */
.search-field__hover { display: none; }
@media(min-width: 760px) {
 .search-bar.sf-search-panel .search-field,
 .search-bar.sf-search-panel .search-field:is(:hover, .is-open) { z-index: auto; background: transparent; }
 .search-bar.sf-search-panel .search-field__hover { display: block; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
 .search-bar.sf-search-panel .search-field__hover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: transparent; }
 .search-bar.sf-search-panel .search-field:not(.is-open):hover > .search-field__hover::after { background: #ebebeb; }
 .search-bar.sf-search-panel .search-bar__fields[data-field-active="true"] .search-field:not(.is-open):hover > .search-field__hover::after { background: #ddd; }
 .search-bar.sf-search-panel .search-field:has(+ .search-field.is-open) > .search-field__hover::after,
 .search-bar.sf-search-panel .search-field:has(+ .sf-swap-button + .search-field.is-open) > .search-field__hover::after { right: -70px; }
 .search-bar.sf-search-panel .search-field.is-open + .search-field > .search-field__hover::after,
 .search-bar.sf-search-panel .search-field.is-open + .sf-swap-button + .search-field > .search-field__hover::after { left: -70px; }
 .search-bar.sf-search-panel .search-field:hover > .search-field__surface::before { background: transparent; }
 .search-bar.sf-search-panel .search-field:hover::after,
 .search-bar.sf-search-panel .search-field:has(+ .search-field:hover)::after { opacity: 0; }
}
/* One surface survives desktop field handoffs; only its contents crossfade. */
.search-popover-surface { position: fixed; z-index: 500; overflow: hidden; border: 1px solid #e4e4e4; border-radius: 24px; background: #fff; box-shadow: 0 12px 36px rgb(0 0 0 / .14); transform-origin: top center; opacity: 1; transition: opacity 150ms linear; }
.search-popover-surface:not([data-ready]), .search-popover-surface[data-open="false"] { pointer-events: none; opacity: 0; transition-duration: 75ms; }
.search-popover-surface > .search-popover-panel.search-popover-panel { position: absolute; inset: 0 auto auto 0; box-sizing: border-box; margin: 0; padding: 20px; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 0; background: transparent; box-shadow: none; animation: search-popover-content-arrive 150ms linear both; }
.search-popover-surface > .search-popover-panel.search-popover-panel--outgoing { pointer-events: none; animation: search-popover-content-depart 75ms linear both; }
.search-popover-panel .hotel-destination-sheet, .search-popover-panel .shopping-store-sheet__body { padding: 0; }
.search-popover-panel .shopping-store-sheet__options { max-height: 450px; overflow: auto; }
.search-popover-panel .header-shopping-search__menu { position: static; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
@keyframes search-popover-content-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes search-popover-content-depart { from { opacity: 1; } to { opacity: 0; } }
@media(prefers-reduced-motion: reduce) {
 .search-popover-surface, .search-popover-surface[data-open], .search-popover-surface > .search-popover-panel.search-popover-panel { animation: none; transition: none; }
 .search-popover-surface > .search-popover-panel.search-popover-panel--outgoing { visibility: hidden; }
}
