/**
 * FlyRent extras: floating WhatsApp button + favourites / compare dock and panels.
 * Self-contained (loads on any page). Scope: .fly-wa-float, .fly-fx-*.
 */
.fly-wa-float, .fly-fx-dock, .fly-fx-panel, .fly-fx-btn { --fx-blue: #0A4193; --fx-red: #E2000C; --fx-ink: #0E1B33; --fx-muted: #4A5872; --fx-line: #DCE3EE; --fx-soft: #F2F5FA; --fx-wa: #0B7F43; --fx-font: 'Montserrat', 'Figtree', system-ui, sans-serif; }
.fly-wa-float, .fly-wa-float * , .fly-fx-dock, .fly-fx-dock *, .fly-fx-panel, .fly-fx-panel *, .fly-fx-btn { box-sizing: border-box; }

.fly-wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 999px; background: var(--fx-wa); color: #fff !important; text-decoration: none !important; font: 700 15px/1 var(--fx-font); box-shadow: 0 16px 30px -12px rgba(11, 127, 67, .8); transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease; }
.fly-wa-float:hover { transform: translateY(-3px); background: #086535; }
.fly-wa-float .fly-icon { width: 26px; height: 26px; }
.fly-wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--fx-wa); }
@media (max-width: 640px) { .fly-wa-float { width: 56px; padding: 0; justify-content: center; } .fly-wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body.fly-ft-seen .fly-wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; }
.fly-wa-float { transition: opacity .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease; }
/* The listing page has its own quote bar below 1081px. */
@media (max-width: 1080px) { body:has(.fly-ls) .fly-wa-float { display: none; } }
@media print { .fly-wa-float, .fly-fx-dock { display: none; } }

/* ── Card buttons ───────────────────────────────────────────────── */
.fly-fx-btns { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; gap: 8px; }
.fly-fx-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--fx-ink); cursor: pointer; box-shadow: 0 8px 18px -8px rgba(14, 27, 51, .55); transition: transform .25s cubic-bezier(.16, 1, .3, 1), background-color .2s ease, color .2s ease; }
.fly-fx-btn:hover { transform: scale(1.1); }
.fly-fx-btn svg { width: 20px; height: 20px; }
.fly-fx-btn[aria-pressed="true"] { background: var(--fx-red); color: #fff; }
.fly-fx-btn[data-fx="fav"][aria-pressed="true"] svg path { fill: currentColor; }
.fly-fx-btn:focus-visible { outline: 3px solid var(--fx-blue); outline-offset: 2px; }
.fly-fx-btn[data-fx="cmp"][aria-pressed="true"] { background: var(--fx-blue); }

/* ── Dock ───────────────────────────────────────────────────────── */
.fly-fx-dock { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 91; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--fx-ink); box-shadow: 0 18px 36px -14px rgba(14, 27, 51, .7); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, visibility 0s linear .45s; }
/* Empty dock must be invisible (it used to show as a small dark dot at the bottom centre). */
.fly-fx-dock.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.fly-fx-dock button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; font: 700 14px/1 var(--fx-font); }
.fly-fx-dock button:hover { background: rgba(255, 255, 255, .14); }
.fly-fx-dock button:focus-visible { outline: 3px solid #fff; outline-offset: 1px; }
.fly-fx-dock svg { width: 18px; height: 18px; }
.fly-fx-dock b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--fx-red); font-size: 12px; }
.fly-fx-dock button[hidden] { display: none; }
@media (max-width: 640px) { .fly-fx-dock { bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px)); } }

/* ── Panels ─────────────────────────────────────────────────────── */
.fly-fx-panel { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 16px; background: rgba(6, 18, 40, .6); backdrop-filter: blur(3px); animation: fly-fx-fade .25s ease; }
.fly-fx-panel[hidden] { display: none; }
.fly-fx-sheet { min-width: 0; width: min(980px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; border-radius: 24px; background: #fff; color: var(--fx-ink); font-family: 'Figtree', system-ui, sans-serif; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: fly-fx-rise .4s cubic-bezier(.16, 1, .3, 1); }
.fly-fx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--fx-line); }
.fly-fx-head h2 { margin: 0; font: 800 1.3rem/1.2 var(--fx-font); color: var(--fx-ink); }
.fly-fx-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--fx-soft); cursor: pointer; font-size: 22px; line-height: 1; color: var(--fx-ink); }
.fly-fx-close:hover { background: var(--fx-line); }
.fly-fx-body { min-width: 0; padding: 18px 22px 22px; overflow: auto; }
.fly-fx-empty { color: var(--fx-muted); }
.fly-fx-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fly-fx-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--fx-soft); }
.fly-fx-item img { width: 96px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 10px; background: #EEF1F6; }
.fly-fx-item a { color: var(--fx-ink); text-decoration: none; font: 800 1rem/1.3 var(--fx-font); }
.fly-fx-item a:hover { color: var(--fx-blue); }
.fly-fx-item small { display: block; margin-top: 2px; color: var(--fx-muted); font-size: 14px; }
.fly-fx-remove { border: 0; background: transparent; color: var(--fx-muted); cursor: pointer; font: 700 13px/1 var(--fx-font); text-decoration: underline; padding: 10px; }
.fly-fx-remove:hover { color: var(--fx-red); }
.fly-fx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fly-fx-table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.fly-fx-table th, .fly-fx-table td { padding: 12px 10px; border-bottom: 1px solid var(--fx-line); text-align: left; vertical-align: middle; font-size: 15px; }
.fly-fx-table th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 112px; background: #fff; color: var(--fx-muted); font: 700 12.5px/1.3 var(--fx-font); text-transform: uppercase; letter-spacing: .04em; }
.fly-fx-table thead th { vertical-align: top; }
.fly-fx-table img { width: 100%; max-width: 180px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 10px; background: #EEF1F6; }
.fly-fx-table .fly-fx-name { display: block; margin: 8px 0 4px; font: 800 1rem/1.25 var(--fx-font); color: var(--fx-ink); text-decoration: none; }
.fly-fx-table .fly-fx-best { color: #0B7F43; font-weight: 800; }
.fly-fx-table .fly-fx-best::after { content: " ✓"; }
.fly-fx-table td.fly-fx-price { font: 800 1.15rem/1.2 var(--fx-font); }
.fly-fx-cta { display: inline-flex; margin-top: 6px; padding: 9px 14px; border-radius: 10px; background: var(--fx-red); color: #fff !important; text-decoration: none !important; font: 700 13.5px/1 var(--fx-font); }
@media (max-width: 640px) { .fly-fx-item { grid-template-columns: 72px minmax(0, 1fr); } .fly-fx-item img { width: 72px; } .fly-fx-remove { grid-column: 2; justify-self: start; padding: 0 0 4px; } .fly-fx-head, .fly-fx-body { padding-inline: 16px; } .fly-fx-table th[scope="row"] { width: 92px; } }
@keyframes fly-fx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fly-fx-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fly-wa-float, .fly-fx-dock, .fly-fx-btn, .fly-fx-panel, .fly-fx-sheet { animation: none !important; transition: none !important; } }
