/**
 * FlyRent — Catalog [flyrent_catalogo]
 * Same tokens as the homepage (DESIGN.md). Every rule is prefixed with the
 * doubled class .fly-catalog.fly-catalog so Astra/Elementor/Motors element
 * styles (button:hover, input[type=search], hidden <select>) cannot win.
 */

/* The site's Customizer CSS sets html, body { overflow-x: hidden } (breaks the
   sticky filter column) and html { zoom: 0.9 } on desktop (breaks 100vw
   full-bleed). So: clip instead of hidden, and let the catalog fill its
   Elementor container by removing only that container's padding. */
html:has(.fly-catalog), html:has(.fly-catalog) body { overflow-x: clip; overflow-y: visible; }
.e-con:has(> .elementor-widget-shortcode .fly-catalog),
.elementor-widget-shortcode:has(.fly-catalog) {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	padding: 0 !important;
}
html.fly-cat-lock, html.fly-cat-lock body { overflow: hidden; }

.fly-catalog.fly-catalog {
	--fly-blue: #0A4193;
	--fly-blue-700: #08326F;
	--fly-blue-50: #EAF0F9;
	--fly-navy: #061A3A;
	--fly-red: #E2000C;
	--fly-red-700: #B5000A;
	--fly-ink: #0E1B33;
	--fly-muted: #4A5872;
	--fly-line: #DCE3EE;
	--fly-soft: #F2F5FA;
	--fly-plate: #EEF1F6;
	--fly-white: #FFFFFF;
	--fly-wa: #0B7F43;
	--fly-wa-700: #086535;
	--fly-font-display: 'Montserrat', 'Figtree', system-ui, sans-serif;
	--fly-font-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fly-ease: cubic-bezier(.16, 1, .3, 1);
	--fly-gutter: clamp(16px, 3vw, 56px);
	position: relative;
	width: 100%; max-width: none; margin: 0;
	background: var(--fly-soft);
	color: var(--fly-ink);
	font-family: var(--fly-font-text);
	font-size: 16px; line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.fly-catalog.fly-catalog, .fly-catalog.fly-catalog *, .fly-catalog.fly-catalog *::before, .fly-catalog.fly-catalog *::after { box-sizing: border-box; }
.fly-catalog.fly-catalog :where(h1, h2, h3, p, ul, fieldset, legend) { margin: 0; padding: 0; border: 0; }
.fly-catalog.fly-catalog :where(h1, h2, h3) { font-family: var(--fly-font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--fly-ink); text-transform: none; text-wrap: balance; }
.fly-catalog.fly-catalog :where(ul)[role="list"] { list-style: none; }
.fly-catalog.fly-catalog :where(img) { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.fly-catalog.fly-catalog :where(a) { color: inherit; text-decoration: none; }
.fly-catalog.fly-catalog :where(button) { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; border-radius: 0; line-height: inherit; }
.fly-catalog.fly-catalog :where(a, button, input, select, [tabindex]):focus-visible { outline: 3px solid var(--fly-blue); outline-offset: 2px; }
.fly-catalog.fly-catalog ::selection { background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-icon { width: 20px; height: 20px; flex: none; }
.fly-catalog.fly-catalog [hidden] { display: none !important; }
/* Full width: the catalog uses the whole page width, only a side gutter. */
.fly-catalog.fly-catalog .fly-cat-container { width: 100%; max-width: none; margin-inline: 0; padding-inline: var(--fly-gutter); }

/* ── Hero band ──────────────────────────────────────────────────── */
.fly-catalog.fly-catalog .fly-cat-hero { position: relative; overflow: hidden; background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-swoosh { position: absolute; right: -8%; top: -20%; width: min(62%, 860px); height: 150%; pointer-events: none; }
.fly-catalog.fly-catalog .fly-cat-hero-inner { position: relative; padding-block: clamp(36px, 5vw, 64px) 0; }
.fly-catalog.fly-catalog .fly-cat-title { color: var(--fly-white); font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); max-width: 20ch; }
.fly-catalog.fly-catalog .fly-cat-lead { margin-top: 12px; max-width: 62ch; font-size: 1.06rem; color: #D8E3F5; }
.fly-catalog.fly-catalog .fly-cat-types { display: flex; gap: 4px; margin-top: clamp(24px, 3vw, 36px); overflow-x: auto; scrollbar-width: none; }
.fly-catalog.fly-catalog .fly-cat-type {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	min-height: 52px; padding: 12px 22px; border-radius: 14px 14px 0 0;
	font-family: var(--fly-font-display); font-size: 15px; font-weight: 700; color: #D8E3F5;
	transition: background-color .2s ease, color .2s ease;
}
.fly-catalog.fly-catalog .fly-cat-type:hover { color: var(--fly-white); background: rgba(255, 255, 255, .1); }
.fly-catalog.fly-catalog .fly-cat-type[aria-current="page"] { background: var(--fly-soft); color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-type .fly-cat-num { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: inherit; }
.fly-catalog.fly-catalog .fly-cat-type[aria-current="page"] .fly-cat-num { background: var(--fly-blue-50); }
.fly-catalog.fly-catalog .fly-cat-type-short { display: none; }
.fly-catalog.fly-catalog .fly-cat-types + * { margin: 0; }

/* ── Layout & filters ───────────────────────────────────────────── */
.fly-catalog.fly-catalog .fly-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fly-catalog.fly-catalog .fly-cat-layout { display: grid; grid-template-columns: clamp(310px, 22vw, 360px) minmax(0, 1fr); gap: clamp(24px, 2.8vw, 44px); align-items: start; padding-block: 28px 64px; }
.fly-catalog.fly-catalog .fly-cat-form { display: contents; }
/* Generous sticky panel with dedicated scroll */
.fly-catalog.fly-catalog .fly-cat-filters {
	position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: #C5D0E2 transparent;
	padding: 0 22px 18px; border-radius: 18px; background: var(--fly-white);
	border: 1px solid var(--fly-line);
	box-shadow: 0 2px 6px rgba(14, 27, 51, .04), 0 12px 30px -10px rgba(10, 65, 147, .16);
	font-size: 15px;
}
.fly-catalog.fly-catalog .fly-cat-filters::-webkit-scrollbar { width: 6px; }
.fly-catalog.fly-catalog .fly-cat-filters::-webkit-scrollbar-thumb { background: #C5D0E2; border-radius: 6px; }
.fly-catalog.fly-catalog .fly-cat-filters-head {
	position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
	margin-inline: -22px; padding: 16px 22px; background: var(--fly-soft);
	border-bottom: 1px solid var(--fly-line); border-radius: 18px 18px 0 0;
}
.fly-catalog.fly-catalog .fly-cat-filters-title {
	display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: var(--fly-ink);
}
.fly-catalog.fly-catalog .fly-cat-filters-title .fly-icon { width: 20px; height: 20px; color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-close { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; color: var(--fly-ink); }
.fly-catalog.fly-catalog .fly-cat-close:hover { background: var(--fly-white); color: var(--fly-ink); }
.fly-catalog.fly-catalog .fly-cat-group { display: block; min-width: 0; padding-block: 15px; border-bottom: 1px solid var(--fly-line); }
.fly-catalog.fly-catalog .fly-cat-group-title {
	display: flex; align-items: center; gap: 8px; margin-bottom: 11px;
	font-family: var(--fly-font-display); font-size: 14.5px; font-weight: 700; color: var(--fly-ink);
}
.fly-catalog.fly-catalog .fly-cat-group-title .fly-icon { width: 17px; height: 17px; color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-acc > summary { list-style: none; cursor: pointer; margin-bottom: 0; min-height: 32px; }
.fly-catalog.fly-catalog .fly-cat-acc > summary::-webkit-details-marker { display: none; }
.fly-catalog.fly-catalog .fly-cat-acc > summary span { flex: 1; }
.fly-catalog.fly-catalog .fly-cat-acc[open] > summary { margin-bottom: 8px; }
.fly-catalog.fly-catalog .fly-cat-acc-icon.fly-icon { width: 18px; height: 18px; color: var(--fly-muted); transition: transform .25s var(--fly-ease); }
.fly-catalog.fly-catalog .fly-cat-acc:not([open]) .fly-cat-acc-icon { transform: rotate(-90deg); }
.fly-catalog.fly-catalog .fly-cat-acc > summary:hover { color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-input.fly-cat-input {
	display: block; position: relative; opacity: 1; visibility: visible; pointer-events: auto; height: auto;
	width: 100%; min-height: 44px; margin: 0; padding: 10px 14px;
	font: 500 15px/1.3 var(--fly-font-text); color: var(--fly-ink);
	background: var(--fly-white); border: 1px solid var(--fly-line); border-radius: 11px; box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.fly-catalog.fly-catalog select.fly-cat-input.fly-cat-input {
	appearance: none; -webkit-appearance: none; padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A4193' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.fly-catalog.fly-catalog .fly-cat-input.fly-cat-input:hover { border-color: #B9C6DC; }
.fly-catalog.fly-catalog .fly-cat-input.fly-cat-input:focus { outline: none; border-color: var(--fly-blue); box-shadow: 0 0 0 3px rgba(10, 65, 147, .18); }

/* Checkbox facets */
.fly-catalog.fly-catalog .fly-cat-checks { display: grid; gap: 2px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fly-catalog.fly-catalog .fly-cat-checks.is-scroll {
	-webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
	mask-image: linear-gradient(180deg, #000 82%, transparent);
	padding-bottom: 20px; max-height: 220px; overflow-y: auto; padding-right: 6px;
	scrollbar-width: thin; scrollbar-color: #C5D0E2 transparent;
}
.fly-catalog.fly-catalog .fly-cat-check {
	position: relative; display: flex; align-items: center; gap: 11px; min-height: 35px;
	padding: 4px 8px; margin-inline: -8px; border-radius: 8px; cursor: pointer;
	font-size: 14.5px; font-weight: 500; color: var(--fly-ink);
}
.fly-catalog.fly-catalog .fly-cat-check:hover { background: var(--fly-soft); }
.fly-catalog.fly-catalog .fly-cat-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fly-catalog.fly-catalog .fly-cat-box {
	flex: none; position: relative; width: 19px; height: 19px; border-radius: 6px;
	border: 2px solid #B9C6DC; background: var(--fly-white);
	transition: background-color .15s ease, border-color .15s ease;
}
.fly-catalog.fly-catalog .fly-cat-box::after {
	content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
	border: solid var(--fly-white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
	transition: transform .2s var(--fly-ease);
}
.fly-catalog.fly-catalog .fly-cat-check input:checked + .fly-cat-box { background: var(--fly-blue); border-color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-check input:checked + .fly-cat-box::after { transform: rotate(45deg) scale(1); }
.fly-catalog.fly-catalog .fly-cat-check input:focus-visible + .fly-cat-box { outline: 3px solid var(--fly-blue); outline-offset: 2px; }
.fly-catalog.fly-catalog .fly-cat-check-label { flex: 1; min-width: 0; }
.fly-catalog.fly-catalog .fly-cat-check-count { font-size: 12.5px; font-weight: 600; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-check--strong { font-weight: 700; font-size: 15px; }

/* Dual range */
.fly-catalog.fly-catalog .fly-cat-range-values {
	display: flex; justify-content: space-between; font-family: var(--fly-font-display);
	font-weight: 800; font-size: 14.5px; color: var(--fly-blue); margin-bottom: 4px;
}
.fly-catalog.fly-catalog .fly-cat-range { position: relative; height: 32px; }
.fly-catalog.fly-catalog .fly-cat-range::before {
	content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px;
	border-radius: 6px; background: var(--fly-line);
}
.fly-catalog.fly-catalog .fly-cat-range-fill {
	position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px;
	background: var(--fly-blue); left: 0; right: 0;
}
.fly-catalog.fly-catalog .fly-cat-range input[type="range"] {
	position: absolute; inset: 0; width: 100%; height: 32px; margin: 0; padding: 0;
	appearance: none; -webkit-appearance: none; background: none; border: 0; box-shadow: none;
	pointer-events: none; opacity: 1; visibility: visible;
}
.fly-catalog.fly-catalog .fly-cat-range input[type="range"]::-webkit-slider-runnable-track { height: 32px; background: none; border: 0; }
.fly-catalog.fly-catalog .fly-cat-range input[type="range"]::-moz-range-track { height: 32px; background: none; border: 0; }
.fly-catalog.fly-catalog .fly-cat-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; pointer-events: auto; cursor: grab;
	width: 22px; height: 22px; margin-top: 5px; border-radius: 50%;
	background: var(--fly-white); border: 3px solid var(--fly-blue); box-shadow: 0 2px 6px rgba(14, 27, 51, .25);
}
.fly-catalog.fly-catalog .fly-cat-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto; cursor: grab; width: 20px; height: 20px; border-radius: 50%;
	background: var(--fly-white); border: 3px solid var(--fly-blue); box-shadow: 0 2px 6px rgba(14, 27, 51, .25);
}
.fly-catalog.fly-catalog .fly-cat-range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--fly-blue); outline-offset: 2px; }

.fly-catalog.fly-catalog .fly-cat-filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.fly-catalog.fly-catalog .fly-cat-reset { font-weight: 700; font-size: 14px; color: var(--fly-blue); text-decoration: underline; text-underline-offset: 4px; }
.fly-catalog.fly-catalog .fly-cat-reset:hover { color: var(--fly-blue-700); background: none; }
.fly-catalog.fly-catalog .fly-cat-btn.fly-cat-apply { display: inline-flex; flex: 1; }

/* ── Buttons ────────────────────────────────────────────────────── */
.fly-catalog.fly-catalog .fly-cat-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 18px; border-radius: 10px; border: 2px solid transparent;
	font-family: var(--fly-font-display); font-size: 14.5px; font-weight: 700; line-height: 1.2; white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.fly-catalog.fly-catalog .fly-cat-btn .fly-icon { width: 18px; height: 18px; }
.fly-catalog.fly-catalog .fly-cat-btn--primary { background: var(--fly-red); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-btn--primary:hover { background: var(--fly-red-700); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-btn--outline { background: var(--fly-white); color: var(--fly-blue); border-color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-btn--outline:hover { background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-btn--wa { background: var(--fly-wa); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-btn--wa:hover { background: var(--fly-wa-700); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-btn--light { background: var(--fly-white); color: var(--fly-blue); border-color: var(--fly-line); }
.fly-catalog.fly-catalog .fly-cat-btn--light:hover { border-color: var(--fly-blue); color: var(--fly-blue); background: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--fly-red); color: var(--fly-white); font-size: 12.5px; font-weight: 700; }

/* ── Toolbar ────────────────────────────────────────────────────── */
.fly-catalog.fly-catalog .fly-cat-open { display: none; }
.fly-catalog.fly-catalog .fly-cat-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 14px; scroll-margin-top: 110px; }
.fly-catalog.fly-catalog .fly-cat-count { display: grid; gap: 2px; }
.fly-catalog.fly-catalog .fly-cat-count strong { font-family: var(--fly-font-display); font-size: 1.2rem; font-weight: 800; color: var(--fly-ink); }
.fly-catalog.fly-catalog .fly-cat-pageinfo { font-size: 13.5px; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-controls { display: flex; gap: 14px; }
.fly-catalog.fly-catalog .fly-cat-control { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fly-muted); white-space: nowrap; }
.fly-catalog.fly-catalog .fly-cat-control .fly-cat-input.fly-cat-input { width: auto; min-width: 88px; }
.fly-catalog.fly-catalog .fly-cat-control:last-child .fly-cat-input.fly-cat-input { min-width: 190px; }
.fly-catalog.fly-catalog .fly-cat-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.fly-catalog.fly-catalog .fly-cat-chip-active { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px 6px 14px; border-radius: 999px; background: var(--fly-blue-50); color: var(--fly-blue); font-size: 14px; font-weight: 700; }
.fly-catalog.fly-catalog .fly-cat-chip-active:hover { background: var(--fly-blue); color: var(--fly-white); }

/* ── Cards ──────────────────────────────────────────────────────── */
/* Columns follow the grid's own width (container queries), so cards stay large. */
.fly-catalog.fly-catalog .fly-cat-main { container-type: inline-size; min-width: 0; }
.fly-catalog.fly-catalog .fly-cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 1.6vw, 28px); }
@container (min-width: 620px) { .fly-catalog.fly-catalog .fly-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 980px) { .fly-catalog.fly-catalog .fly-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Max 3 per row; the card is its own container so text scales with its width (cqi). */
.fly-catalog.fly-catalog .fly-cat-card {
	container-type: inline-size;
	position: relative; display: flex; flex-direction: column;
	background: var(--fly-white); border-radius: 18px; overflow: hidden;
	box-shadow: 0 8px 16px rgba(10, 65, 147, .10);
	transition: transform .4s var(--fly-ease), box-shadow .4s var(--fly-ease);
}
.fly-catalog.fly-catalog .fly-cat-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -6px rgba(10, 65, 147, .22); }
.fly-catalog.fly-catalog .fly-cat-card:has(.fly-cat-link:focus-visible) { outline: 3px solid var(--fly-blue); outline-offset: 3px; }
/* 3:2 = the normalized canvas (1200x800, car centred at 86%): every car gets
   the same zoom and position. Other photos are zoomed/centred by catalog.js
   (bounding-box detection) through the frame's transform. */
.fly-catalog.fly-catalog .fly-cat-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--fly-plate); perspective: 1100px; }
.fly-catalog.fly-catalog .fly-cat-frame { position: absolute; inset: 0; z-index: 1; display: block; transform-origin: 50% 50%; transition: transform .5s var(--fly-ease); }
.fly-catalog.fly-catalog .fly-cat-car { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 74%; transition: transform .9s var(--fly-ease); }
.fly-catalog.fly-catalog .fly-cat-media.is-flat .fly-cat-car { object-fit: cover; }

/* Turntable: a platform disc under the wheels that starts turning on hover
   while the car pivots slowly left and right in perspective. The photo is a
   single view, so this is a turntable effect, not a real 360° spin. */
.fly-catalog.fly-catalog .fly-cat-turntable {
	position: absolute; z-index: 2; left: 8%; right: 8%; top: 62%; height: 34%;
	pointer-events: none; opacity: 0; transition: opacity .6s var(--fly-ease);
	perspective: 700px;
	clip-path: inset(50% -10% -10% -10%); /* only the front half, in front of the tyres */
	mix-blend-mode: multiply;
}
.fly-catalog.fly-catalog .fly-cat-turntable::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; translate: -50% -50%;
	border-radius: 50%;
	background:
		radial-gradient(closest-side, transparent 0 88%, rgba(10, 65, 147, .45) 89% 92%, transparent 93%),
		repeating-conic-gradient(rgba(10, 65, 147, .16) 0 1.5deg, transparent 1.5deg 12deg),
		radial-gradient(closest-side, rgba(10, 65, 147, .12), rgba(10, 65, 147, .04) 86%, transparent 93%);
	transform: rotateX(76deg);
}
.fly-catalog.fly-catalog .fly-cat-tags { position: absolute; z-index: 3; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.fly-catalog.fly-catalog .fly-cat-tag { padding: 7px 13px; border-radius: 999px; background: var(--fly-white); color: var(--fly-ink); font-family: var(--fly-font-display); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fly-catalog.fly-catalog .fly-cat-tag--blue { background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-tag--red { background: var(--fly-red); color: var(--fly-white); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.fly-catalog.fly-catalog .fly-cat-card:hover .fly-cat-turntable { opacity: 1; }
	.fly-catalog.fly-catalog .fly-cat-card:hover .fly-cat-turntable::before { animation: fly-cat-platform 9s linear infinite; }
	.fly-catalog.fly-catalog .fly-cat-card:hover .fly-cat-car { animation: fly-cat-turn 9s ease-in-out infinite; }
}
@keyframes fly-cat-platform {
	from { transform: rotateX(76deg) rotateZ(0deg); }
	to { transform: rotateX(76deg) rotateZ(360deg); }
}
@keyframes fly-cat-turn {
	0%, 100% { transform: rotateY(0deg) scale(1.02); }
	25% { transform: rotateY(-17deg) translateX(-2%) scale(1.04); }
	75% { transform: rotateY(17deg) translateX(2%) scale(1.04); }
}

.fly-catalog.fly-catalog .fly-cat-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 6cqi, 32px) clamp(22px, 6.5cqi, 34px) clamp(18px, 5cqi, 26px); }
/* Same structure in every card: 2-line title slot, 1-line version slot, price, 3 spec rows. */
.fly-catalog.fly-catalog .fly-cat-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5em; font-size: clamp(1.1rem, 4.8cqi, 1.45rem); font-weight: 700; letter-spacing: -0.012em; line-height: 1.25; text-transform: none; }
.fly-catalog.fly-catalog .fly-cat-link, .fly-catalog.fly-catalog .fly-cat-link:hover { text-decoration: none; color: inherit; }
.fly-catalog.fly-catalog .fly-cat-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fly-catalog.fly-catalog .fly-cat-link:focus-visible { outline: none; }
.fly-catalog.fly-catalog .fly-cat-version { margin-top: 2px; min-height: 1.5em; font-size: clamp(13.5px, 3.5cqi, 15.5px); letter-spacing: .01em; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-price { display: flex; align-items: center; gap: 12px; min-height: 3.2rem; margin-top: clamp(12px, 3.6cqi, 18px); color: var(--fly-red); font-family: var(--fly-font-display); }
.fly-catalog.fly-catalog .fly-cat-amount { display: inline-flex; align-items: flex-start; gap: 3px; font-size: clamp(1.9rem, 8.2cqi, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fly-catalog.fly-catalog .fly-cat-cur { margin-top: .12em; font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .85; }
.fly-catalog.fly-catalog .fly-cat-per { display: grid; gap: 1px; font-family: var(--fly-font-text); font-size: clamp(12px, 3.1cqi, 14px); font-weight: 500; line-height: 1.3; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-per span:first-child { font-weight: 700; color: var(--fly-ink); }
.fly-catalog.fly-catalog .fly-cat-price--ask { font-size: 1.15rem; font-weight: 600; }
.fly-catalog.fly-catalog .fly-cat-specs { display: grid; gap: 7px; margin-top: clamp(12px, 3.6cqi, 18px); padding-top: clamp(12px, 3.6cqi, 16px); border-top: 1px solid var(--fly-line); }
.fly-catalog.fly-catalog .fly-cat-specs li { display: flex; align-items: center; gap: 9px; font-size: clamp(13.5px, 3.6cqi, 15.5px); line-height: 1.3; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-specs .fly-icon { width: 17px; height: 17px; color: var(--fly-blue); opacity: .85; }
.fly-catalog.fly-catalog .fly-cat-specs .is-zero { color: var(--fly-blue); font-weight: 700; }
.fly-catalog.fly-catalog .fly-cat-incl { display: flex; flex-wrap: wrap; gap: 7px; margin-top: clamp(14px, 4cqi, 20px); }
.fly-catalog.fly-catalog .fly-cat-incl li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--fly-blue-50); font-size: clamp(12px, 3.1cqi, 14px); font-weight: 700; color: var(--fly-blue); }
.fly-catalog.fly-catalog .fly-cat-incl .fly-icon { width: 12px; height: 12px; }
.fly-catalog.fly-catalog .fly-cat-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: clamp(14px, 4.5cqi, 22px) clamp(22px, 6.5cqi, 36px); background: var(--fly-soft); border-top: 1px solid var(--fly-line); }
.fly-catalog.fly-catalog .fly-cat-actions .fly-cat-btn { min-height: clamp(46px, 12cqi, 54px); font-size: clamp(14px, 3.6cqi, 16px); font-weight: 700; }
.fly-catalog.fly-catalog .fly-cat-btn, .fly-catalog.fly-catalog .fly-cat-btn * { text-decoration: none; }
.fly-catalog.fly-catalog .fly-cat-card:hover .fly-cat-actions .fly-cat-btn--outline { background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-quote { position: relative; z-index: 4; }

.fly-catalog.fly-catalog .fly-cat-empty, .fly-catalog.fly-catalog .fly-cat-none { padding: 40px; border-radius: 20px; background: var(--fly-white); border: 1px dashed #B9C6DC; text-align: center; }
.fly-catalog.fly-catalog .fly-cat-none { margin-block: 32px 64px; }
.fly-catalog.fly-catalog .fly-cat-empty h2, .fly-catalog.fly-catalog .fly-cat-none h2 { font-size: 1.4rem; }
.fly-catalog.fly-catalog .fly-cat-empty p, .fly-catalog.fly-catalog .fly-cat-none p { margin: 10px auto 20px; max-width: 48ch; color: var(--fly-muted); }
.fly-catalog.fly-catalog .fly-cat-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.fly-catalog.fly-catalog .fly-cat-pages { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.fly-catalog.fly-catalog .fly-cat-page { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--fly-white); border: 1px solid var(--fly-line); font-family: var(--fly-font-display); font-weight: 700; font-size: 16px; color: var(--fly-ink); }
.fly-catalog.fly-catalog .fly-cat-page:hover:not(:disabled) { border-color: var(--fly-blue); color: var(--fly-blue); background: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-page.is-current { background: var(--fly-blue); border-color: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-page:disabled { opacity: .4; cursor: default; }
.fly-catalog.fly-catalog .fly-cat-page-ellipsis { display: inline-flex; align-items: center; padding-inline: 4px; color: var(--fly-muted); }

/* ── Help band ──────────────────────────────────────────────────── */
.fly-catalog.fly-catalog .fly-cat-help { background: var(--fly-white); border-top: 1px solid var(--fly-line); padding-block: clamp(32px, 4vw, 48px); }
.fly-catalog.fly-catalog .fly-cat-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.fly-catalog.fly-catalog .fly-cat-help-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.fly-catalog.fly-catalog .fly-cat-help p { margin-top: 6px; color: var(--fly-muted); max-width: 56ch; }
.fly-catalog.fly-catalog .fly-cat-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
	.fly-catalog.fly-catalog .fly-cat-layout { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
	.fly-catalog.fly-catalog .fly-cat-filters { position: static; max-height: none; }
	.fly-catalog.fly-catalog.is-js .fly-cat-open {
		display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 16px; padding: 14px 16px;
		border-radius: 16px; background: var(--fly-white); border: 1px solid var(--fly-line); text-align: left;
	}
	.fly-catalog.fly-catalog.is-js .fly-cat-open:hover { background: var(--fly-white); border-color: var(--fly-blue); }
	.fly-catalog.fly-catalog .fly-cat-open-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--fly-blue-50); color: var(--fly-blue); }
	.fly-catalog.fly-catalog .fly-cat-open-text { flex: 1; display: grid; font-size: 13.5px; color: var(--fly-muted); }
	.fly-catalog.fly-catalog .fly-cat-open-text strong { font-family: var(--fly-font-display); font-size: 16px; color: var(--fly-ink); }
	.fly-catalog.fly-catalog.is-js .fly-cat-filters {
		position: fixed; inset: 0; z-index: 100000; max-height: none; box-shadow: none;
		overflow-y: auto; border-radius: 0; border: 0; padding: 6px var(--fly-gutter) 110px;
		transform: translateY(100%); visibility: hidden;
		transition: transform .35s var(--fly-ease), visibility 0s linear .35s;
	}
	.fly-catalog.fly-catalog.is-js .fly-cat-filters.is-open { transform: none; visibility: visible; transition: transform .35s var(--fly-ease); }
	.fly-catalog.fly-catalog.is-js .fly-cat-close { display: inline-flex; }
	.fly-catalog.fly-catalog.is-js .fly-cat-filters-head { margin-inline: calc(-1 * var(--fly-gutter)); padding-inline: var(--fly-gutter); border-radius: 0; }
	.fly-catalog.fly-catalog.is-js .fly-cat-filters-foot {
		position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--fly-gutter) calc(14px + env(safe-area-inset-bottom));
		background: var(--fly-white); border-top: 1px solid var(--fly-line);
	}
	.fly-catalog.fly-catalog .fly-cat-btn.fly-cat-apply { display: inline-flex; flex: 1; }
	.fly-catalog.fly-catalog .fly-cat-toolbar { align-items: flex-end; }
	.fly-catalog.fly-catalog .fly-cat-control span { display: none; }
	.fly-catalog.fly-catalog .fly-cat-control:last-child .fly-cat-input.fly-cat-input { min-width: 0; }
}
@media (max-width: 820px) {
	.fly-catalog.fly-catalog .fly-cat-type-long { display: none; }
	.fly-catalog.fly-catalog .fly-cat-type-short { display: inline; }
}
@media (max-width: 560px) {
	.fly-catalog.fly-catalog .fly-cat-type { padding-inline: 11px; gap: 6px; font-size: 14px; }
	.fly-catalog.fly-catalog .fly-cat-types { gap: 2px; }
	.fly-catalog.fly-catalog .fly-cat-swoosh { width: 110%; right: -45%; opacity: .7; }
	.fly-catalog.fly-catalog .fly-cat-toolbar { flex-direction: column; align-items: stretch; }
	.fly-catalog.fly-catalog .fly-cat-controls > * { flex: 1; }
	.fly-catalog.fly-catalog .fly-cat-control .fly-cat-input.fly-cat-input { width: 100%; }
	.fly-catalog.fly-catalog .fly-cat-help-actions .fly-cat-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.fly-catalog.fly-catalog *, .fly-catalog.fly-catalog *::before, .fly-catalog.fly-catalog *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ── Embedded grid (homepage "Le offerte del mese") ─────────────── */
.fly-catalog.fly-catalog.fly-cat-embed { background: transparent; padding: 0; container-type: inline-size; }


/* ── Live filtering: loading state, entrance, active chips ──────── */
.fly-catalog.fly-catalog [data-fly-grid], .fly-catalog.fly-catalog .fly-cat-count { transition: opacity .25s ease; }
.fly-catalog.fly-catalog.is-loading [data-fly-grid] { opacity: .45; pointer-events: none; }
.fly-catalog.fly-catalog [data-fly-grid].is-fresh .fly-cat-card { animation: fly-cat-in .55s var(--fly-ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
@keyframes fly-cat-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fly-catalog.fly-catalog .fly-cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 8px 6px 14px; border: 0; border-radius: 999px; background: var(--fly-blue-50); color: var(--fly-blue); cursor: pointer; font-family: var(--fly-font-display); font-size: 13.5px; font-weight: 700; transition: background-color .2s ease, color .2s ease; }
.fly-catalog.fly-catalog .fly-cat-chip:hover { background: var(--fly-blue); color: var(--fly-white); }
.fly-catalog.fly-catalog .fly-cat-chip-x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(10, 65, 147, .14); font-size: 14px; line-height: 1; }
.fly-catalog.fly-catalog .fly-cat-chip:hover .fly-cat-chip-x { background: rgba(255, 255, 255, .25); }
.fly-catalog.fly-catalog .fly-cat-chips-clear { padding: 6px 4px; border: 0; background: none; color: var(--fly-muted); cursor: pointer; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* With live filtering the "Mostra N offerte" button only closes the mobile drawer. */
@media (min-width: 961px) { .fly-catalog.fly-catalog.is-js .fly-cat-btn.fly-cat-apply { display: none; } }
@media (prefers-reduced-motion: reduce) { .fly-catalog.fly-catalog [data-fly-grid].is-fresh .fly-cat-card { animation: none; } }
