:root {
  --ff-bg: #071b3f;
  --ff-surface: rgba(255, 255, 255, 0.08);
  --ff-card: #0f234c;
  --ff-blue: #0ea4ff;
  --ff-blue-strong: #0c8df2;
  --ff-text: #0f172a;
  --ff-muted: #7c879d;
  --ff-border: rgba(255, 255, 255, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--ff-text);
  background: #f4f6fb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  min-height: 100vh;
  background: #f4f6fb;
}

.ff-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.ff-site-header {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.ff-site-header-transparent {
  position: absolute;
  top: 0;
  left: 0;
}

.ff-site-header-solid {
  background: #0b4a9f;
  border-bottom: none;
  box-shadow: none;
}

.ff-site-header-solid .ff-logo {
  color: #ffffff;
}

.ff-site-header-solid .ff-logo-accent {
  background: rgba(255, 255, 255, 0.12);
  color: #b7dcff;
}

.ff-site-header-solid .ff-nav a {
  color: #e7f0ff;
}

.ff-site-header-solid .ff-nav a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ff-site-header-solid .ff-nav .current-menu-item > a,
.ff-site-header-solid .ff-nav a.is-active {
  background: #0ea4ff;
  border-color: #0ea4ff;
  color: #ffffff;
}

.ff-site-header-solid .ff-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f7ff;
}

.ff-site-header-solid .ff-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.ff-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.ff-header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.ff-header-burger {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

.ff-header-burger-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.ff-header-mobile-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
}

.ff-header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-header-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

.ff-header-icon svg {
  width: 18px;
  height: 18px;
}

.ff-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.ff-logo-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.ff-logo-name {
  font-size: 20px;
}

.ff-logo-accent {
  font-size: 15px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #b7dcff;
}

.ff-nav-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.ff-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #e7f0ff;
  font-weight: 500;
  transition: 200ms ease;
  border: 1px solid transparent;
}

.ff-nav a:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ff-nav .current-menu-item > a,
.ff-nav a.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ff-border);
  color: #fff;
}

.ff-nav li {
  position: relative;
}

.ff-nav li.has-dropdown {
  position: static;
}

.ff-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-chip {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--ff-border);
  color: #000000;
  /* font-weight: 600; */
  cursor: pointer;
  transition: 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  border: none;
}

.ff-chip-icon {
  width: 16px;
  height: 16px;
}

.ff-caret {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.ff-flag {
  display: inline-block;
  width: 16px;
  height: 12px;
  background: linear-gradient(to bottom, #ff0000 0%, #ff0000 33%, #ffffff 33%, #ffffff 66%, #000000 66%);
  border: 1px solid #000;
  border-radius: 2px;
}

.ff-chip:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ff-hero {
  position: relative;
  padding: 120px 0 160px;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ff-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 30% 20%, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.ff-hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  z-index: 1;
}

.ff-hero-copy {
  width: 100%;
  max-width: 720px;
}

.ff-hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 14px 0 10px;
  letter-spacing: -0.02em;
}

.ff-hero-sub {
  margin: 0 0 24px;
  font-size: 18px;
  color: #d9e6ff;
}

.ff-hero-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ff-border);
  font-weight: 600;
  color: #cfe4ff;
}

.ff-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17d979;
  display: block;
}

.ff-search-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr) 130px;
  gap: 12px;
  align-items: center;
  box-shadow: 0 18px 70px rgba(4, 20, 52, 0.55);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.ff-hero-search {
  position: relative;
  max-width: 760px;
}

.ff-hero-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(4, 20, 52, 0.6);
  padding: 16px 18px 18px;
  display: none;
  z-index: 40;
}

.ff-hero-search.is-open .ff-hero-search-panel {
  display: block;
}

.ff-hero-search-section + .ff-hero-search-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7f0;
}

.ff-hero-search-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.ff-hero-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ff-hero-search-chip {
  border-radius: 999px;
  border: 1px solid #e3e7f0;
  background: #f9fbff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #1b2c46;
  cursor: pointer;
}

.ff-hero-search-chip:hover {
  border-color: #0ea4ff;
  background: #eff6ff;
}

.ff-hero-search-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.ff-hero-search-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7f0;
  background: #f9fbff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ff-hero-search-brand:hover {
  background: #eff6ff;
  border-color: #0ea4ff;
  transform: translateY(-1px);
}

.ff-hero-search-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ff-hero-search-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ff-hero-search-brand-mark {
  font-size: 16px;
  font-weight: 700;
  color: #4b5b79;
}

.ff-hero-search-brand-name {
  font-size: 13px;
  font-weight: 500;
  color: #1b2c46;
}

.ff-search-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e3e7f0;
  background: #f9fbff;
}

.ff-search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
}

.ff-search-icon {
  width: 18px;
  height: 18px;
  color: #7181a6;
}

.ff-search-icon svg {
  width: 100%;
  height: 100%;
}

.ff-search-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fbff;
  border: 1px solid #e3e7f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: #1b2c46;
}

.ff-chip-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5edff;
  color: #0b61d8;
  font-size: 11px;
  font-weight: 500;
}

/* Search overlay */
.ff-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.ff-search-overlay.is-open {
  display: block;
}

.ff-search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.ff-search-overlay-panel {
  position: relative;
  max-width: 960px;
  margin: 80px auto 0;
  padding: 0 16px;
}

.ff-search-card-overlay {
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.55);
  padding: 16px 18px;
  gap: 16px;
}

.ff-search-close {
  position: absolute;
  top: -16px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  z-index: 2;
}

.ff-search-close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .ff-search-overlay-panel {
    margin-top: 40px;
  }

  .ff-search-card-overlay {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }

  .ff-search-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ff-hero-search-panel {
    left: 0;
    right: 0;
  }
}

.ff-flag {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, #ff0000 0 30%, transparent 30% 100%),
    linear-gradient(180deg, #009739 0 33%, #ffffff 33% 66%, #000000 66% 100%);
  border: 1px solid #d2d2d2;
  display: inline-block;
}

.ff-caret {
  width: 16px;
  height: 16px;
  color: #4b5b79;
}

.ff-btn {
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: 160ms ease;
}

.ff-btn-primary {
  width: 100%;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, #0ea4ff, #2dd4ff);
  box-shadow: 0 15px 35px rgba(0, 173, 255, 0.35);
}

.ff-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 173, 255, 0.45);
}

.ff-pill-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px auto 0;
  max-width: 760px;
}

.ff-pill {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ff-border);
  color: #e3edff;
  cursor: pointer;
  transition: 150ms ease;
  text-align: left;
}

.ff-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.ff-pill.is-active {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.ff-pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--ff-border);
}

.ff-pill-icon svg {
  width: 22px;
  height: 22px;
  color: #d7e8ff;
}

.ff-pill-text {
  display: grid;
  gap: 4px;
  font-weight: 600;
}

.ff-pill-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 10px;
  background: #0ebf6d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #052612;
  font-weight: 800;
  width: fit-content;
}

.ff-hero-card {
  background: rgba(10, 26, 62, 0.65);
  border: 1px solid var(--ff-border);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(3, 14, 34, 0.5);
  backdrop-filter: blur(10px);
}

.ff-hero-kpi {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-kpi-label {
  margin: 0;
  color: #c1d5ff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ff-kpi-value {
  margin: 4px 0 4px;
  font-size: 30px;
  font-weight: 800;
}

.ff-kpi-sub {
  margin: 0;
  color: #a8b9d8;
  font-size: 13px;
}

.ff-categories {
  margin-top: -70px;
  padding: 0 0 40px;
}

.ff-category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding: 0 2px 12px;
}

.ff-category-card {
  position: relative;
  min-height: 90px;
  padding: 14px;
  border-radius: 14px;
  color: #fff;
  background: #0b61d8;
  box-shadow: 0 18px 40px rgba(12, 75, 214, 0.35);
  scroll-snap-align: start;
  display: grid;
  align-content: center;
  gap: 12px;
}

.ff-category-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ff-category-icon {
  width: 32px;
  height: 32px;
}

.ff-category-icon svg {
  width: 100%;
  height: 100%;
  color: #fefefe;
}

.ff-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ff-category-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.ff-link {
  color: #0c72ec;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-link::after {
  content: '›';
  font-size: 16px;
  transition: transform 150ms ease;
}

.ff-link:hover::after {
  transform: translateX(4px);
}

.ff-link-muted {
  color: #4b5563;
  font-weight: 600;
}

.ff-link-muted::after {
  content: '⌄';
}

.ff-brands {
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 48px 0 64px;
  margin-top: 6px;
  box-shadow: 0 -10px 30px rgba(9, 25, 64, 0.06);
}

.ff-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ff-eyebrow {
  margin: 0 0 6px;
  color: #63708c;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.ff-section-head h2 {
  margin: 0;
  font-size: 24px;
}

.ff-brand-card {
  display: grid;
  gap: 10px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #e3e9f3;
  background: #f8fbff;
  min-width: 140px;
  text-align: center;
}

.ff-brand-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.ff-brand-row::-webkit-scrollbar {
  height: 6px;
}

.ff-brand-row::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.ff-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea4ff, #2dd4ff);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #042744;
}

.ff-brand-logo img {
  max-width: 80px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.ff-brand-name {
  font-weight: 700;
  color: #0f1c35;
}

.ff-rail {
  background: #fff;
  padding: 32px 0 48px;
}

.ff-rail + .ff-rail {
  padding-top: 0;
}

.ff-vehicle-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.ff-vehicle-row::-webkit-scrollbar {
  height: 6px;
}

.ff-vehicle-row::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.ff-vehicle-card {
  min-width: 260px;
  max-width: 260px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ff-vehicle-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.ff-vehicle-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.ff-vehicle-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.92);
  color: #fef9c3;
}

.ff-vehicle-body {
  padding: 12px 14px 14px;
}

.ff-vehicle-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.ff-vehicle-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.ff-vehicle-price {
  font-weight: 800;
  color: #111827;
}

.ff-vehicle-old {
  font-size: 12px;
  text-decoration: line-through;
  color: #9ca3af;
}

.ff-vehicle-discount {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
}

.ff-vehicle-suffix {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.ff-footer {
  background: #f9fafb;
  color: #0f172a;
  padding: 40px 0 32px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
}

.ff-footer-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 24px 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ff-footer-banners {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ff-footer-banner {
  border-radius: 20px;
  padding: 18px 18px 18px;
  background: #f3f4ff;
  display: flex;
  gap: 16px;
  align-items: center;
}

.ff-footer-banner-app {
  background: radial-gradient(circle at 0 0, #eff6ff, #eef2ff);
}

.ff-footer-banner-rating {
  background: #f9fafb;
  justify-content: space-between;
}

.ff-footer-banner-media {
  width: 68px;
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0ea4ff, #3b82f6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.55);
}

.ff-footer-banner-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.ff-footer-banner-kicker {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: #6b7280;
  font-weight: 700;
}

.ff-footer-banner-text {
  margin: 0 0 10px;
  font-size: 13px;
  color: #4b5563;
}

.ff-footer-banner-cta {
  padding-inline: 18px;
  font-size: 13px;
}

.ff-footer-rating-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ff-footer-rating-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: conic-gradient(from 45deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.ff-footer-rating-label {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

.ff-footer-rating-body {
  text-align: right;
}

.ff-footer-rating-score {
  font-size: 24px;
  font-weight: 800;
}

.ff-footer-rating-stars span {
  color: #facc15;
  font-size: 14px;
}

.ff-footer-rating-count {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.ff-footer-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.1fr 1.3fr;
  gap: 20px;
}

.ff-footer-heading {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.ff-footer-nav,
.ff-footer-list {
  display: grid;
  gap: 6px;
}

.ff-footer-nav a,
.ff-footer-list a {
  color: #111827;
}

.ff-footer-nav a:hover,
.ff-footer-list a:hover {
  color: #2563eb;
}

.ff-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 11px;
  margin-right: 6px;
}

.ff-footer-icon-wa {
  background: #22c55e;
  color: #022c22;
}

.ff-footer-icon-tg {
  background: #0ea4ff;
  color: #022c22;
}

.ff-footer-address {
  margin: 0 0 10px;
  font-size: 13px;
  color: #4b5563;
}

.ff-footer-map {
  width: 100%;
  min-height: 120px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.08)),
    repeating-linear-gradient(90deg, #e5e7eb 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, #e5e7eb 0 1px, transparent 1px 12px);
  position: relative;
  overflow: hidden;
}

.ff-footer-map::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 3px solid #ef4444;
  background: #f97316;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.26);
  left: 55%;
  top: 40%;
}

.ff-footer-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 24px auto 20px;
  max-width: 1200px;
}

.ff-footer-divider-soft {
  opacity: 0.7;
}

.ff-footer-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ff-footer-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ff-footer-label {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.ff-footer-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ff-store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  background: #020617;
  color: #f9fafb;
  min-width: 150px;
}

.ff-store-badge-top {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ff-store-badge-bottom {
  font-size: 16px;
  font-weight: 700;
}

.ff-store-badge-google {
  background: #0f172a;
}

.ff-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ff-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0f172a;
  color: #f9fafb;
  font-size: 12px;
  font-weight: 700;
}

.ff-footer-block-partner {
  margin-left: auto;
}

.ff-footer-partner-pill {
  padding: 10px 14px;
  border-radius: 14px;
  background: #0f172a;
  color: #e5e7eb;
  display: inline-flex;
  flex-direction: column;
  min-width: 160px;
}

.ff-footer-partner-name {
  font-weight: 700;
}

.ff-footer-partner-sub {
  font-size: 11px;
  color: #9ca3af;
}

.ff-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
}

.ff-footer-bottom-left {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ff-footer-bottom-left a {
  color: inherit;
}

.ff-footer-bottom-left a:hover {
  color: #111827;
}

.ff-footer-payments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ff-pay-pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.ff-footer-brand-copy {
  white-space: nowrap;
}

.ff-generic {
  padding: 120px 0 80px;
}

.ff-generic .ff-container {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(9, 25, 64, 0.07);
}

/* Car detail page */
.ff-car-detail {
  padding: 40px 0 20px;
  background: #f9fafb;
}

.ff-car-detail-header {
  margin-bottom: 24px;
}

.ff-car-detail-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ff-car-detail-brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.ff-car-detail-brand-logo img {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

.ff-car-detail-title {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

.ff-car-detail-sub {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.ff-car-detail-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  grid-template-areas:
    "gallery sidebar"
    "specs sidebar";
  gap: 24px;
}

.ff-car-detail-gallery {
  grid-area: gallery;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  min-height: 0;
  height: fit-content;
}

.ff-car-gallery-main {
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
}

.ff-car-gallery-main img {
  width: 100%;
  height: auto;
  display: block;
}

.ff-car-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.ff-car-gallery-arrow:hover {
  background: rgba(15, 23, 42, 0.92);
}

.ff-car-gallery-prev {
  left: 12px;
}

.ff-car-gallery-next {
  right: 12px;
}

.ff-car-gallery-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.ff-car-gallery-thumb {
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
}

.ff-car-gallery-thumb img {
  display: block;
  width: 72px;
  height: 60px;
  object-fit: cover;
}

.ff-car-gallery-thumb.is-active {
  border-color: #0ea4ff;
}

.ff-car-colors {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ff-car-colors-label {
  font-size: 13px;
  color: #6b7280;
}

.ff-car-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ff-car-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ff-car-color-chip.is-active {
  border-color: #0ea4ff;
  background: #eff6ff;
  color: #0b61d8;
}

.ff-car-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
}

.ff-car-color-name {
  white-space: nowrap;
}

.ff-car-detail-sidebar {
  grid-area: sidebar;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-car-specs-inline {
  grid-area: specs;
  margin-top: 24px;
}

.ff-car-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ff-car-sidebar-badge {
  border-radius: 14px;
  background: #0b61d8;
  color: #ffffff;
  padding: 12px 14px;
}

.ff-car-sidebar-badge-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ff-car-sidebar-badge-text {
  margin: 4px 0 0;
  font-size: 13px;
  color: #e5edff;
}

.ff-car-sidebar-section {
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px 14px;
}

.ff-car-sidebar-label {
  margin: 0 0 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.ff-car-sidebar-price {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
}

.ff-car-sidebar-old-price {
  margin: 6px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.ff-car-sidebar-old-price span {
  text-decoration: line-through;
}

.ff-car-sidebar-suffix {
  margin: 4px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.ff-car-sidebar-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ff-car-sidebar-meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #4b5563;
}

.ff-car-sidebar-meta strong {
  font-weight: 600;
  color: #111827;
}

.ff-car-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.ff-car-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ff-car-sidebar-btn-primary {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.ff-car-sidebar-btn-primary:hover {
  background: #15803d;
  border-color: #15803d;
}

.ff-car-sidebar-btn-ghost {
  background: #ffffff;
  color: #111827;
  border-color: #e5e7eb;
}

.ff-car-sidebar-btn-ghost:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

/* Booking Form */
.ff-car-booking-form {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ff-car-booking-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.ff-car-booking-form-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-car-booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ff-car-booking-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.ff-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
}

.ff-car-booking-field input[type="date"],
.ff-car-booking-field input[type="tel"],
.ff-car-booking-field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ff-car-booking-field input:focus {
  outline: none;
  border-color: #0ea4ff;
  box-shadow: 0 0 0 3px rgba(14, 164, 255, 0.1);
}

.ff-car-booking-field input::placeholder {
  color: #9ca3af;
}

.ff-car-booking-submit {
  margin-top: 4px;
  position: relative;
}

.ff-booking-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ff-spinner {
  width: 16px;
  height: 16px;
  animation: ff-spin 1s linear infinite;
}

@keyframes ff-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ff-car-booking-message {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ff-booking-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.ff-booking-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.ff-car-detail-body {
  padding: 0 0 60px;
  background: #f9fafb;
}

.ff-section-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.ff-car-specs {
  margin-bottom: 32px;
}

.ff-car-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.ff-car-spec-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f3f4ff;
  border: 1px solid #e5e7f0;
}

.ff-car-spec-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 4px;
}

.ff-car-spec-value {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.ff-car-detail-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.ff-car-detail-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ff-car-detail-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 16px 18px;
  font-size: 14px;
  color: #374151;
}

.ff-car-detail-card table {
  width: 100%;
  border-collapse: collapse;
}

.ff-car-detail-card table th,
.ff-car-detail-card table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.ff-car-detail-card table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.ff-car-detail-card table tr:last-child th,
.ff-car-detail-card table tr:last-child td {
  border-bottom: none;
}

.ff-car-detail-section {
  margin-bottom: 32px;
}

.ff-car-detail-card p:last-child {
  margin-bottom: 0;
}

.ff-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ff-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.ff-mobile-menu-panel {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.ff-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #0b4a9f;
  color: #ffffff;
}

.ff-mobile-menu-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.ff-mobile-menu-spacer {
  width: 36px;
  height: 36px;
}

.ff-mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

.ff-mobile-menu-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.ff-mobile-menu-chips {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ff-mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
}

.ff-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.ff-mobile-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  color: #111827;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}

.ff-mobile-nav li a:hover {
  background: #f3f4ff;
}

/* Brands Dropdown */
.ff-brands-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  border-top: 1px solid #e5e7eb;
  pointer-events: none;
}

.ff-brands-dropdown[aria-hidden="false"] {
  pointer-events: auto;
}

.ff-brands-dropdown-content {
  padding: 24px 0;
}

.ff-brands-search {
  margin-bottom: 20px;
  padding: 0 24px;
}

.ff-brands-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ff-brands-search-input:focus {
  outline: none;
  border-color: #0ea4ff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 164, 255, 0.1);
}

.ff-brands-search-input::placeholder {
  color: #9ca3af;
}

.ff-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 0 24px;
  max-height: 480px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ff-brands-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.ff-brands-item:hover {
  border-color: #0ea4ff;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 164, 255, 0.15);
}

.ff-brands-item.hidden {
  display: none;
}

.ff-brands-item-logo {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ff-brands-item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ff-brands-item-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #6b7280;
}

.ff-brands-item-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.ff-brands-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-align: center;
  line-height: 1.3;
}

.ff-brands-item-count {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}

@media (max-width: 1080px) {
  .ff-brands-dropdown {
    display: none;
  }
}

@media (max-width: 1080px) {
  .ff-header-bar {
    gap: 16px;
    flex-wrap: wrap;
  }

  .ff-nav-wrap {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .ff-nav {
    flex-wrap: nowrap;
  }

  .ff-car-detail-main {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-template-areas:
      "gallery sidebar"
      "specs sidebar";
  }

  .ff-search-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    row-gap: 10px;
  }

  .ff-categories {
    margin-top: -40px;
  }

  .ff-site-header-solid {
    position: relative;
  }
}

@media (max-width: 720px) {
  .ff-container {
    width: min(100%, calc(100% - 32px));
  }

  .ff-header-mobile {
    display: flex;
  }

  .ff-header-bar {
    display: none;
  }

  .ff-car-detail {
    padding-top: 24px;
  }

  .ff-car-detail-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "sidebar"
      "gallery"
      "specs";
  }

  .ff-car-detail-sidebar {
    order: -1;
  }

  .ff-car-detail-gallery {
    margin-top: 8px;
  }

  .ff-car-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ff-car-detail-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .ff-category-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .ff-category-card {
    min-width: 180px;
    max-width: 220px;
  }

  .ff-site-header-transparent {
    position: static;
    background: linear-gradient(120deg, #071b3f, #0c2f70);
  }

  .ff-hero {
    padding: 40px 0 80px;
  }

  .ff-header-bar {
    flex-wrap: nowrap;
  }

  .ff-search-card {
    box-shadow: 0 10px 30px rgba(4, 20, 52, 0.35);
  }

  .ff-pill-row {
    grid-template-columns: 1fr;
  }

  .ff-category-meta {
    justify-content: center;
  }

  .ff-footer-panel {
    padding: 20px 16px 22px;
  }

  .ff-footer-banners {
    grid-template-columns: 1fr;
  }

  .ff-footer-columns {
    grid-template-columns: 1fr 1fr;
  }

  .ff-footer-block-partner {
    margin-left: 0;
  }

  .ff-footer-bottom {
    align-items: flex-start;
  }
}

/* Offset header when admin bar is visible */
body.admin-bar .ff-site-header-transparent {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .ff-site-header-transparent {
    top: 46px;
  }
}

/* Filter Sidebar */
.ff-filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ff-filter-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ff-filter-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.ff-filter-sidebar.is-open {
  transform: translateX(0);
}

.ff-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.ff-filter-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.ff-filter-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ff-filter-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.ff-filter-close svg {
  width: 20px;
  height: 20px;
}

.ff-filter-form {
  padding: 24px;
}

.ff-filter-section {
  margin-bottom: 32px;
}

.ff-filter-section:last-child {
  margin-bottom: 0;
}

.ff-filter-section-title {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ff-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ff-filter-buttons .ff-filter-btn {
  flex: 0 1 auto;
  min-width: 80px;
}

.ff-filter-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ff-filter-buttons-grid .ff-filter-btn {
  flex: none;
  width: 100%;
  flex-direction: column;
  padding: 12px 8px;
  min-height: 70px;
}

.ff-filter-btn {
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  line-height: 1.4;
  min-width: fit-content;
}

.ff-filter-btn:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

.ff-filter-btn.is-active {
  background: #0ea4ff;
  border-color: #0ea4ff;
  color: #ffffff;
}

.ff-filter-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ff-filter-selects {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-filter-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

.ff-filter-select:focus {
  outline: none;
  border-color: #0ea4ff;
  box-shadow: 0 0 0 3px rgba(14, 164, 255, 0.1);
}

.ff-filter-range {
  margin-bottom: 16px;
}

.ff-filter-range-display {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
}

.ff-filter-range-slider {
  position: relative;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  margin-bottom: 16px;
}

.ff-filter-range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
}

.ff-filter-range-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0ea4ff;
  border: 2px solid #ffffff;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ff-filter-range-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0ea4ff;
  border: 2px solid #ffffff;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ff-filter-deposit {
  display: flex;
  gap: 8px;
}

.ff-filter-deposit-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.ff-filter-deposit-btn:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

.ff-filter-deposit-btn.is-active {
  background: #0ea4ff;
  border-color: #0ea4ff;
  color: #ffffff;
}

.ff-filter-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  display: none;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ff-filter-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111827;
}

.ff-filter-tooltip-close {
  margin-left: 8px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ff-filter-dates {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-filter-date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ff-filter-date-field label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.ff-filter-date-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  cursor: pointer;
}

.ff-filter-date-input:focus {
  outline: none;
  border-color: #0ea4ff;
  box-shadow: 0 0 0 3px rgba(14, 164, 255, 0.1);
}

.ff-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.ff-filter-submit {
  width: 100%;
  padding: 14px 24px;
  background: #0ea4ff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ff-filter-submit:hover {
  background: #0c8df2;
}

.ff-filter-clear {
  width: 100%;
  padding: 14px 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-filter-clear:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

@media (max-width: 720px) {
  .ff-filter-sidebar {
    width: 100vw;
    max-width: 100vw;
  }

  .ff-filter-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Catalog Page */
.ff-catalog-hero {
  padding: 40px 0;
  background: #0b4a9f;
}

.ff-catalog-search {
  max-width: 800px;
  margin: 0 auto;
}

.ff-catalog-filters {
  padding: 24px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.ff-catalog-filter-row {
  margin-bottom: 16px;
}

.ff-catalog-filter-row:last-child {
  margin-bottom: 0;
}

.ff-catalog-filter-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.ff-catalog-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ff-catalog-filter-btn:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

.ff-catalog-filter-btn.is-active {
  background: #0ea4ff;
  border-color: #0ea4ff;
  color: #ffffff;
}

.ff-catalog-filter-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.ff-catalog-brand-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.ff-catalog-brand-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 180px;
  flex-shrink: 0;
}

.ff-catalog-brand-btn:hover {
  border-color: #0ea4ff;
  box-shadow: 0 2px 8px rgba(14, 164, 255, 0.15);
}

.ff-catalog-brand-btn.is-active {
  border-color: #0ea4ff;
  background: #f0f9ff;
}

.ff-catalog-brand-logo {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ff-catalog-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ff-catalog-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #6b7280;
}

.ff-catalog-brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ff-catalog-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.ff-catalog-brand-price {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.ff-catalog-content {
  padding: 40px 0 80px;
  background: #f9fafb;
}

.ff-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6b7280;
}

.ff-breadcrumbs a {
  color: #6b7280;
  font-weight: 500;
}

.ff-breadcrumbs a:hover {
  color: #111827;
}

.ff-breadcrumbs-separator {
  opacity: 0.6;
}

.ff-breadcrumbs-current {
  color: #111827;
  font-weight: 600;
}

.ff-catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.ff-catalog-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}

.ff-catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ff-catalog-sort {
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #ffffff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}

.ff-catalog-filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ff-catalog-filter-toggle:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

.ff-catalog-filter-toggle svg {
  width: 18px;
  height: 18px;
}

.ff-catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.ff-catalog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ff-catalog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.ff-catalog-card-media {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f3f4f6;
}

.ff-catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-catalog-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ff-catalog-card-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-catalog-card-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ff-catalog-card-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.ff-catalog-card-title a {
  color: inherit;
  text-decoration: none;
}

.ff-catalog-card-title a:hover {
  color: #0ea4ff;
}

.ff-catalog-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.ff-catalog-feature {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #f9fafb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.ff-catalog-info-icon {
  width: 14px;
  height: 14px;
  cursor: help;
}

.ff-catalog-card-pricing {
  margin-bottom: 4px;
}

.ff-catalog-price-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.ff-catalog-price-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ff-catalog-price-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.ff-catalog-price-discount {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.ff-catalog-card-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background: #0ea4ff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ff-catalog-card-btn:hover {
  background: #0c8df2;
}

.ff-catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.ff-catalog-pagination a,
.ff-catalog-pagination span {
  padding: 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  background: #ffffff;
  transition: all 0.2s ease;
}

.ff-catalog-pagination a:hover {
  border-color: #0ea4ff;
  color: #0ea4ff;
}

.ff-catalog-pagination .current {
  background: #0ea4ff;
  border-color: #0ea4ff;
  color: #ffffff;
}

.ff-catalog-empty {
  padding: 80px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 16px;
}

@media (min-width: 900px) {
  .ff-catalog-card {
    flex-direction: row;
  }

  .ff-catalog-card-media {
    flex: 0 0 260px;
    height: 180px;
  }

  .ff-catalog-card-body {
    flex: 1;
    padding: 20px 24px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }

  .ff-catalog-card-main {
    flex: 1.8;
  }

  .ff-catalog-card-aside {
    flex: 1;
    align-items: flex-end;
    text-align: right;
  }

  .ff-catalog-card-pricing {
    margin-bottom: 12px;
  }

  .ff-catalog-card-btn {
    width: auto;
    min-width: 150px;
  }
}

@media (max-width: 1080px) {
  .ff-catalog-grid {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .ff-catalog-hero {
    padding: 24px 0;
  }

  .ff-catalog-filters {
    padding: 16px 0;
  }

  .ff-catalog-filter-buttons,
  .ff-catalog-brand-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .ff-catalog-filter-btn,
  .ff-catalog-brand-btn {
    flex-shrink: 0;
  }

  .ff-catalog-title {
    font-size: 24px;
  }

  .ff-catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ff-catalog-controls {
    width: 100%;
    justify-content: space-between;
  }
}
