/* Shared destinations; mobile navigation stays outside the scrolling header. */
.primary-nav{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1}
.primary-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;padding:6px 10px;border-radius:12px;color:var(--on-dark);font-weight:500;font-size:15px;line-height:1.2}
.primary-nav a:hover,.primary-nav a[aria-current]{background:var(--brand-hover-overlay);text-decoration:none}
.primary-nav a:active{background:var(--brand-line-overlay)}
.primary-nav svg,.mobile-bottom-nav svg{flex:none;stroke-width:1.7}
.primary-nav svg{width:28px;height:28px}
.mobile-bottom-nav{display:none}
.service-card{position:relative}
.service-intro{position:relative;padding-right:56px}
.service-intro .favorite-button{top:0;right:0}
.favorite-button{display:grid;place-items:center;position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--accent);box-shadow:var(--shadow-card);cursor:pointer}
.favorite-button:hover{background:var(--accent-soft);color:var(--accent)}
.favorite-button[aria-pressed="true"]{color:var(--on-accent);border-color:var(--accent);background:var(--accent)}
.favorite-button[aria-pressed="true"] svg{fill:currentColor}
.service-card .card-category{right:64px;max-width:calc(100% - 76px)}
.favorites-feedback{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:40;width:max-content;max-width:calc(100% - 32px);padding:12px 18px;border:1px solid var(--control);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-popover);font-size:14px}
[data-favorites-page]>.page-heading{margin-bottom:24px}
[data-favorites-page] .notice{margin-bottom:16px}
.favorites-empty{max-width:640px;margin:24px auto;text-align:center;padding:32px}
.favorites-empty h2{margin-bottom:12px}
.request-alternative{margin-bottom:20px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.form-column .request-alternative h2{font-size:20px;margin-bottom:8px}
.request-alternative p{color:var(--muted);font-size:15px}
@media(max-width:1023px){
 :root{--mobile-nav-height:calc(92px + env(safe-area-inset-bottom,0px))}
 body{padding-bottom:var(--mobile-nav-height)}
 html{scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px)}
 .primary-nav{display:none}
 .site-header .header-navigation{justify-content:flex-end}
 .site-header .header-navigation:has([data-theme-control][hidden]){display:none}
 .mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));z-index:35;min-height:68px;padding:6px;gap:6px;border-radius:20px;background:var(--brand);box-shadow:var(--shadow-popover);color:var(--on-dark)}
 .mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:56px;min-width:0;padding:6px 2px;border-radius:14px;font-size:12px;font-weight:500;line-height:1.2;color:var(--on-dark);text-decoration:none}
 .mobile-bottom-nav svg{width:24px;height:24px}
 .mobile-bottom-nav a:hover{background:var(--brand-hover-overlay)}
 .mobile-bottom-nav a[aria-current]{background:var(--brand-white);color:var(--brand)}
 .mobile-bottom-nav a:active{background:var(--brand-tint);color:var(--brand)}
 .mobile-bottom-nav a:focus-visible{outline-color:var(--on-dark);outline-offset:2px}
 .favorites-feedback{bottom:calc(var(--mobile-nav-height) + 12px)}
 .catalog-toolbar .sort-options{max-height:calc(100dvh - var(--visible-header-height) - var(--catalog-toolbar-height) - var(--mobile-nav-height) - 24px)}
}
@media(max-width:767px){
 .service-card .card-summary{display:none}
 .favorites-empty{padding:var(--mobile-panel-space)}
 .form-column .request-alternative{padding:var(--mobile-panel-space)}
 .request-alternative .button{width:100%}
}

/* A visual copy travels; the real card and its focus never leave the grid. */
.favorite-flight{position:fixed!important;z-index:60!important;pointer-events:none!important;margin:0!important;overflow:hidden;transform-origin:center;box-shadow:var(--shadow-popover);border-radius:16px;background:var(--surface);transition:none!important;translate:none!important;contain:layout style}
.favorite-flight .favorite-button{display:none!important}
@media(prefers-reduced-motion:no-preference){
 .favorite-button{transition:background-color .2s,color .2s,border-color .2s}
 .favorite-button svg{transition:transform .25s ease}
 .favorite-button[aria-pressed="true"] svg{transform:scale(1.08)}
}
@media(max-width:359px){
 .mobile-bottom-nav{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));padding:4px;gap:2px;grid-template-columns:1fr 1.25fr 1fr 1fr}
 .mobile-bottom-nav a,.mobile-bottom-nav [data-chat-open]{font-size:11px;letter-spacing:-.15px;padding-inline:0}
}
