/* Style CSS dla ualwara.pl - Nowoczesny salon & komis aut */
:root {
  --bg-main: #0a0d14;
  --bg-card: #131926;
  --bg-card-hover: #1a2235;
  --bg-surface: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  /* Klimatyczna belgijska paleta: Czerń, Złoto/Żółty, Czerwień */
  --belgium-black: #05070b;
  --belgium-yellow: #f59e0b;
  --belgium-yellow-bright: #fddb00;
  --belgium-red: #ef4444;
  --belgium-red-dark: #b91c1c;
  
  --primary: var(--belgium-yellow);
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.15);
  
  --accent-red: var(--belgium-red);
  --accent-red-bg: rgba(239, 68, 68, 0.15);
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.15);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-olx: #002f34;
  --accent-olx-text: #23e5db;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Wektory SVG - 100% odporne na błędy fontów i offline */
.icon-svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: currentColor;
}
.icon-svg-lg {
  width: 24px;
  height: 24px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: #060911;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-phone {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Header & Nawigacja */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  position: relative;
}

/* Logo Avatar Wrap & AA Hallmark */
.logo-avatar-wrap {
  position: relative;
  display: inline-flex;
}
.logo-aa-badge {
  position: absolute;
  bottom: -3px;
  right: -5px;
  background: linear-gradient(135deg, #1e293b 0%, #030712 100%);
  border: 1.5px solid #f59e0b;
  color: #fbbf24;
  font-size: 0.65rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 6px rgba(245, 158, 11, 0.4);
}

/* Widescreen AA Side Wings in Header (wypełnienie pustych przestrzeni) */
.header-wing {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}
.header-wing-left {
  left: 24px;
}
.header-wing-right {
  right: 24px;
}

@media (min-width: 1400px) {
  .header-wing {
    display: block;
  }
}

.aa-wing-emblem {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 14px 5px 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.aa-monogram-brand {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #080d1a 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 0 10px rgba(245, 158, 11, 0.25);
}
.aa-wing-labels {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.aa-wing-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 1.2px;
}
.aa-wing-sub {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  object-fit: cover;
}
.logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-title span {
  color: var(--primary);
}
.logo-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}
.belgian-stripe {
  height: 5px;
  background: linear-gradient(90deg, #111111 0%, #111111 33.3%, #fddb00 33.3%, #fddb00 66.6%, #ef3340 66.6%, #ef3340 100%);
  width: 100%;
}
.belgian-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fbbf24;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.belgian-flag-mini {
  display: inline-flex;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.belgian-flag-mini span:nth-child(1) { width: 33.3%; background: #000; }
.belgian-flag-mini span:nth-child(2) { width: 33.3%; background: #fddb00; }
.belgian-flag-mini span:nth-child(3) { width: 33.3%; background: #ef3340; }

.belgian-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 35px;
  align-items: center;
  text-align: left;
}
.hero-mascot-card {
  background: linear-gradient(160deg, #131926 0%, #080b12 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}
.hero-mascot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  height: 4px;
  background: linear-gradient(90deg, #111 0%, #111 33.3%, #fddb00 33.3%, #fddb00 66.6%, #ef3340 66.6%, #ef3340 100%);
  border-radius: 4px;
}
.hero-mascot-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  margin: 4px auto 14px;
  display: block;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  border: 2px solid var(--border-color);
  object-fit: cover;
}
.hero-mascot-speech {
  background: rgba(10, 13, 20, 0.95);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.45;
  text-align: center;
  border-left: 3px solid var(--primary);
}
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-mascot-card {
    max-width: 390px;
    margin: 25px auto 0;
  }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-plac {
  background: var(--bg-surface);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}
.btn-nav-plac:hover {
  border-color: #fddb00;
  color: #fddb00;
}
.btn-nav-whatsapp {
  background: #25D366 !important;
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-nav-whatsapp:hover {
  background: linear-gradient(135deg, #2cf074 0%, #22bb5a 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}
.btn-nav-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #ffffff !important;
  flex-shrink: 0;
}
.btn-nav-call {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid rgba(253, 219, 0, 0.4);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.btn-nav-call:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

/* Hero Section */
.hero {
  padding: 50px 0 40px;
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
}
.hero-content {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-title span {
  background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}
.hero-feature-card {
  background: rgba(21, 29, 48, 0.85);
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.2s ease;
}
.hero-feature-card:hover {
  transform: translateY(-2px);
  background: rgba(25, 35, 58, 0.95);
}
/* Belgijskie akcenty: Czerwień i Złoto naprzemiennie */
.hero-feature-card:nth-child(1),
.hero-feature-card:nth-child(3) {
  border-left: 3.5px solid #ef4444;
}
.hero-feature-card:nth-child(1) .hero-feature-icon,
.hero-feature-card:nth-child(3) .hero-feature-icon {
  color: #ef4444;
}
.hero-feature-card:nth-child(2),
.hero-feature-card:nth-child(4) {
  border-left: 3.5px solid #f59e0b;
}
.hero-feature-card:nth-child(2) .hero-feature-icon,
.hero-feature-card:nth-child(4) .hero-feature-icon {
  color: #f59e0b;
}
.hero-feature-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.hero-feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Wizytówka Placu Banner z belgijskim obramowaniem */
.plac-banner {
  margin: 30px 0;
  background: linear-gradient(135deg, #18233b 0%, #151d30 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}
.plac-banner-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.plac-banner-icon {
  width: 54px;
  height: 54px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}
.plac-banner-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.plac-banner-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.plac-banner-actions {
  display: flex;
  gap: 12px;
}
.btn-plac-maps {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid rgba(253, 219, 0, 0.4);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.btn-plac-maps:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}
.btn-plac-phone {
  background: var(--bg-surface);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-plac-phone:hover {
  border-color: #fff;
}

/* Oferta / Samochody */
.catalog-section {
  padding: 30px 0 70px;
}
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 20px;
}
.catalog-title h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.catalog-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Filtry zakładek */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.filter-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}
.filter-btn[data-filter="w_drodze"].active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border-color: #ef4444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.filter-btn[data-filter="w_drodze"].active .filter-count {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}
.filter-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}
.filter-btn.active .filter-count {
  background: rgba(0, 0, 0, 0.25);
  color: #000;
}

/* Grid Samochodów */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 25px;
}

/* Karta Samochodu */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

/* Obrazek i badge */
.car-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background: #0f1523;
  overflow: hidden;
  cursor: pointer;
}
.car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.car-card:hover .car-img {
  transform: scale(1.04);
}
.car-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.1rem;
}
.badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.badge-na_placu {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
}
.badge-w_drodze {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.badge-rezerwacja {
  background: rgba(139, 92, 246, 0.95);
  color: #fff;
}
.badge-sprzedany {
  background: rgba(100, 116, 139, 0.9);
  color: #fff;
}
.badge-photos-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}

/* Informacja o ETA dla aut w drodze z Belgii */
.in-transit-eta-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Treść karty */
.car-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  cursor: pointer;
}
.car-title:hover {
  color: var(--primary);
}
.car-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin: 15px 0;
  padding: 12px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.spec-item strong {
  color: var(--text-main);
  font-weight: 600;
}
.spec-icon {
  color: var(--primary);
  font-size: 1rem;
}

/* Cena */
.car-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}
.car-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.car-price span {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  margin-left: 2px;
}
.car-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
}

/* Przyciski w karcie */
.car-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.btn-card-call {
  background: var(--bg-surface);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-card-call:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-card-details {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}
.btn-card-details:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.btn-card-olx {
  grid-column: span 2;
  background: var(--accent-olx);
  color: var(--accent-olx-text);
  border: 1px solid rgba(35, 229, 219, 0.3);
  padding: 9px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-card-olx:hover {
  background: #003c42;
  border-color: var(--accent-olx-text);
}

/* Pusty stan */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  grid-column: 1 / -1;
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.empty-state p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Sekcja O Nas */
.about-section {
  padding: 60px 0;
  background: #0d1322;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.about-list-icon {
  color: var(--accent-green);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sekcja Mapy */
.map-section {
  padding: 60px 0;
}
.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.map-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-details h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.map-info-block {
  margin-bottom: 20px;
}
.map-info-block h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 700;
}
.map-info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.map-frame-wrap {
  min-height: 380px;
  position: relative;
}
.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  margin-top: auto;
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding: 40px 0 25px;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  color: var(--text-muted);
}
.footer-admin-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}
.footer-admin-link:hover {
  color: var(--primary);
}

/* Modal Szczegółów Auta */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.active {
  display: flex;
}
.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: var(--primary);
  color: #000;
}
.modal-gallery-main {
  width: 100%;
  height: 440px;
  background: #000;
  position: relative;
  overflow: hidden;
}
.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-nav-btn:hover {
  background: var(--primary);
  color: #000;
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
  background: #0c121f;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
}
.modal-thumb {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s;
}
.modal-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-content-body {
  padding: 30px;
}

/* Modal mobile topbar & typography */
.modal-mobile-topbar {
  display: none;
}
.modal-car-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
}
.modal-car-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}
body.modal-open .floating-mobile-bar {
  display: none !important;
}
body.modal-open .floating-music-widget {
  display: none !important;
}


/* Floating Call Button on mobile */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent-green);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5);
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 99;
  text-decoration: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 2.1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .map-card { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
  .btn-nav-plac { display: none; }
  .floating-call-btn { display: flex; }
}

/* ========================================================
   SEKCJA INTRO WIDEO: Wjazd Lawety Alwara (10s)
   ======================================================== */
.intro-video-section {
  padding: 24px 0 10px;
}
.intro-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  position: relative;
}
.intro-route-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #060911;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.intro-route-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.btn-video-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-video-replay:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.02);
}

.intro-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #000;
  overflow: hidden;
}
.intro-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nakładka powitalna Alwara na wideo */
.intro-speech-overlay {
  position: absolute;
  bottom: 22px;
  left: 22px;
  max-width: 480px;
  background: rgba(10, 13, 20, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  z-index: 10;
}
.speech-top-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tag-thumb {
  background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
  color: #0b0f19;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.tag-belgia {
  color: #fddb00;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.speech-text {
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
}
.speech-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-speech-cars {
  background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
  color: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}
.btn-speech-cars:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
}
.btn-speech-call {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-speech-call:hover {
  border-color: #fddb00;
  color: #fddb00;
}

@media (max-width: 768px) {
  .intro-speech-overlay {
    position: static;
    margin: 12px;
    max-width: none;
  }
}


/* ========================================================
   MODERN TOUCH GALLERY, WHATSAPP & MOBILE QUICK BAR
   ======================================================== */
.modal-gallery-main {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: #000;
  border-radius: var(--radius-md);
  min-height: 280px;
}

.gallery-counter-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-swipe-hint {
  display: none;
}
@media (max-width: 768px) {
  .gallery-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 8px 0;
    font-weight: 500;
  }
}

/* WhatsApp Buttons */
.btn-whatsapp, .btn-modal-whatsapp {
  background: #25D366 !important;
  background: linear-gradient(135deg, #25D366 0%, #1ea952 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  border-radius: var(--radius-sm);
  padding: 10px 18px !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
}
.btn-whatsapp:hover, .btn-modal-whatsapp:hover {
  background: linear-gradient(135deg, #2cf074 0%, #22bb5a 100%) !important;
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}
.btn-whatsapp svg, .btn-modal-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #ffffff !important;
  flex-shrink: 0;
}

.btn-card-whatsapp {
  background: rgba(37, 211, 102, 0.12) !important;
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.5) !important;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.btn-card-whatsapp:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.btn-card-whatsapp svg {
  width: 14px;
  height: 14px;
  fill: currentColor !important;
}

.top-bar-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25D366 !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.top-bar-whatsapp:hover {
  background: #25D366 !important;
  color: #ffffff !important;
}
.top-bar-whatsapp svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Modal CTA row */
.modal-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sold Car Card */
.car-card.is-sold {
  border-color: rgba(148, 163, 184, 0.25);
}
.car-card.is-sold .car-img {
  filter: grayscale(40%) contrast(90%);
  opacity: 0.85;
}
.car-card.is-sold .badge-status {
  background: #334155;
  color: #f1f5f9;
  border: 1px solid #64748b;
}

/* Mobile Quick Floating Dock */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
  .floating-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
  }
  body {
    padding-bottom: 75px;
  }
  .floating-call-btn {
    display: none !important;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.15s ease;
}
.mobile-bar-call {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.mobile-bar-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}
.mobile-bar-map {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}


/* ==========================================================================
   ULTRA-LUXURY WOW EFFECT UPGRADES & BESPOKE AUTOMOTIVE POLISH
   ========================================================================== */

/* --- Fixes for Red Colors: Now Belgian Amber/Gold & Highway Blue --- */
.btn-plac-maps {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.btn-plac-maps:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}
.filter-btn[data-filter="w_drodze"].active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #fff !important;
  border-color: #0284c7 !important;
}
.badge-w_drodze {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #fff !important;
}
.mobile-bar-call {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000 !important;
  font-weight: 800 !important;
}

/* --- Top Bar Live Pulse --- */
.top-bar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
}
.live-dot-green {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- Luksusowy Pasek Wskaźników Zaufania (Trust Stats Strip) --- */
.trust-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0 20px;
}
@media (max-width: 992px) {
  .trust-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .trust-stats-strip {
    grid-template-columns: 1fr;
  }
}
.trust-stat-card {
  background: rgba(19, 25, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.trust-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.trust-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.trust-stat-card:hover::before {
  opacity: 1;
}
.trust-stat-card .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.trust-stat-card .stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.trust-stat-card .stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- Konsola Wyszukiwania i Narzędzi Katalogu --- */
.catalog-subtitle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.catalog-toolbar {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}
#car-search-input {
  width: 100%;
  background: rgba(19, 25, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 40px 12px 42px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}
#car-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
  background: #171f30;
}
#car-search-input::placeholder {
  color: #64748b;
}
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #334155;
  border: none;
  color: #cbd5e1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-clear-btn:hover {
  background: var(--primary);
  color: #000;
}
.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(19, 25, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 14px;
}
.sort-select-wrap label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
#car-sort-select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  padding: 12px 6px;
  outline: none;
  cursor: pointer;
}
#car-sort-select option {
  background: #0f172a;
  color: #fff;
}
.catalog-active-info {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Karty Samochodów (Nowe Elementy) --- */
.card-pills-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.card-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.pill-carpass {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
}
.pill-gear {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #7dd3fc;
}
.pill-fuel {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}
.pill-highlight {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}

.car-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 12px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}
.car-price-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.car-price-currency {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
}
.car-price-tax {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* --- Modal Nowe Funkcje (Car-Pass & Share) --- */
.modal-badge-carpass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.btn-modal-share {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-modal-share:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* --- Pełnoekranowy Lightbox Zdjęć Samochodu (Fullscreen Photo Viewer + Zoom & Pan) --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 20000;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  animation: fadeInFast 0.2s ease-out;
}
@keyframes fadeInFast {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px calc(14px + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: 20015;
  pointer-events: none;
}
.lightbox-topbar > * {
  pointer-events: auto;
}
.btn-lightbox-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.18);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  backdrop-filter: blur(8px);
}
.btn-lightbox-back:hover {
  background: #f59e0b;
  color: #000;
}
.lightbox-counter {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}
.lightbox-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.btn-lightbox-zoom-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 41, 59, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.btn-lightbox-zoom-toggle:hover,
.btn-lightbox-zoom-toggle.is-zoomed {
  background: #f59e0b;
  color: #000;
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}
.btn-lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  border: 2px solid #ef4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}
.btn-lightbox-close svg {
  width: 22px;
  height: 22px;
}
.btn-lightbox-close:hover {
  background: #ef4444;
  transform: scale(1.08);
}
.lightbox-viewport {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  padding: 0;
  z-index: 20005;
}
.lightbox-img {
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20020;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}
.lightbox-arrow:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-arrow-prev { left: 16px; }
.lightbox-arrow-next { right: 16px; }

.lightbox-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: 20015;
  pointer-events: none;
}

/* Przycisk powiększenia w galerii modalu */
.btn-gallery-zoom {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 6;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.btn-gallery-zoom:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

body.lightbox-open .floating-mobile-bar,
body.lightbox-open .floating-music-widget {
  display: none !important;
}

/* --- Sekcja Porównania (Infografika Belgia vs Rynek) --- */
.belgium-diff-section {
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0) 0%, rgba(19, 25, 38, 0.7) 50%, rgba(10, 13, 20, 0) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-badge-center {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin: 0 auto 14px;
  display: table;
}
.section-title-center {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-subtitle-center {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
@media (max-width: 850px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}
.diff-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.diff-alwar {
  background: rgba(19, 25, 38, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
}
.diff-market {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.85;
}
.diff-card-header {
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}
.diff-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.diff-tag-warning {
  color: #f87171;
}
.diff-card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}
.diff-icon-check {
  color: var(--accent-green);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-icon-cross {
  color: #ef4444;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-list strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}
.diff-list span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* --- Sekcja Opinii (Social Proof) --- */
.reviews-section {
  padding: 60px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-lg);
}
.review-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0;
}
.review-story-tag {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.review-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.review-author strong {
  display: block;
  font-size: 0.92rem;
  color: #fff;
}
.review-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Kontener Powiadomień Toast --- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-message {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}
.toast-message.show {
  transform: translateX(0);
  opacity: 1;
}


/* ==========================================================================
   CAR-PASS CERTIFICATE SHOWCASE & INTERACTIVE ORDER FORM STYLES
   ========================================================================== */

/* --- Interaktywny Mini-Formularz Zlecenia Sprowadzenia z Belgii --- */
.custom-order-card {
  background: rgba(19, 25, 38, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  position: relative;
}
.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.order-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.order-title span {
  color: var(--primary);
}
.order-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 4px;
}
.form-group input {
  width: 100%;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
  background: #111827;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
.order-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-order-submit {
  flex: 1;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-order-submit:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}
.btn-order-wa {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-order-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.order-success-banner {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

/* --- Sekcja: Wizualny Wzór Certyfikatu Car-Pass --- */
.carpass-showcase-section {
  padding: 60px 0 80px;
  background: rgba(10, 13, 20, 0.9);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.carpass-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 992px) {
  .carpass-showcase-grid {
    grid-template-columns: 1fr;
  }
}
.section-badge-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}
.carpass-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.carpass-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.carpass-security-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.security-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.security-point-icon {
  width: 36px;
  height: 36px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.security-point h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.security-point p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- Makieta Dokumentu Car-Pass (Authentic Style) --- */
.carpass-doc-card {
  background: #fdfbf7;
  color: #1e293b;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.doc-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.05);
  pointer-events: none;
  letter-spacing: 10px;
  white-space: nowrap;
}
.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #059669;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.doc-logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-flag-badge {
  display: flex;
  width: 24px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.doc-flag-badge span:nth-child(1) { width: 33.3%; background: #000; }
.doc-flag-badge span:nth-child(2) { width: 33.3%; background: #ffd100; }
.doc-flag-badge span:nth-child(3) { width: 33.3%; background: #ef3340; }
.doc-title-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: #065f46;
  letter-spacing: -0.3px;
}
.doc-title-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}
.doc-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
}
.qr-svg-mock {
  width: 28px;
  height: 28px;
  color: #0f172a;
}
.qr-text {
  font-size: 0.62rem;
  font-weight: 700;
  color: #475569;
}
.doc-body-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.doc-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.doc-info-row:last-child {
  margin-bottom: 0;
}
.doc-info-row small {
  color: #64748b;
}
.doc-info-row strong {
  color: #0f172a;
}
.doc-status-valid {
  background: #d1fae5;
  color: #065f46;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.doc-table-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.doc-timeline-table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.timeline-row {
  display: grid;
  grid-template-columns: 85px 95px 1fr;
  padding: 7px 12px;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
  background: #fff;
}
.timeline-row:last-child {
  border-bottom: none;
}
.timeline-row:nth-child(even) {
  background: #f8fafc;
}
.timeline-row.timeline-current {
  background: #ecfdf5;
  font-weight: 700;
  border-left: 3px solid #10b981;
}
.timeline-date {
  color: #64748b;
  font-family: monospace;
}
.timeline-km {
  font-weight: 800;
  color: #065f46;
}
.timeline-source {
  color: #334155;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-stamp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}
.doc-stamp-seal {
  width: 75px;
  height: 75px;
  border: 2px dashed #059669;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #059669;
  font-size: 0.55rem;
  line-height: 1.1;
  font-weight: 800;
  transform: rotate(-10deg);
  flex-shrink: 0;
}
.doc-stamp-seal strong {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.doc-security-notice {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   ROCK MUSIC HYMN PLAYER & MOBILE CAR BROWSING EXPERIENCE (AUTO U ALWARA)
   ========================================================================== */

/* --- Hero Mascot Author Subtitle (Rafał Alwaro) --- */
.hero-mascot-author {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  line-height: 1.3;
}
.hero-mascot-author .author-name {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.hero-mascot-author .author-slogan {
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* --- Hero Mascot Hymn Button --- */
.btn-hero-hymn {
  margin-top: 10px;
  width: 100%;
  max-width: 250px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}
.btn-hero-hymn span {
  white-space: nowrap;
}
.btn-hero-hymn:hover {
  background: #f59e0b;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}
.btn-hero-hymn.is-playing {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.7);
  animation: pulse-gold 2s infinite;
}
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- Floating Music Widget --- */
.floating-music-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 998;
}
.btn-music-toggle {
  background: rgba(15, 23, 42, 0.94);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #fff;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.btn-music-toggle:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}
.btn-music-toggle.is-playing {
  border-color: #f59e0b;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5), 0 8px 24px rgba(0, 0, 0, 0.8);
}
.music-disc-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.btn-music-toggle.is-playing .music-disc-wrap {
  background: #f59e0b;
  border-color: #fbbf24;
}
.music-guitar-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.btn-music-toggle.is-playing .music-guitar-icon {
  display: none;
}
.music-eq-bars {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}
.btn-music-toggle.is-playing .music-eq-bars {
  display: flex;
}
.music-eq-bars span {
  width: 3px;
  background: #000;
  border-radius: 2px;
  animation: eqJump 0.8s ease-in-out infinite alternate;
}
.music-eq-bars span:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.music-eq-bars span:nth-child(2) { height: 100%; animation-delay: 0.35s; }
.music-eq-bars span:nth-child(3) { height: 45%; animation-delay: 0.15s; }
.music-eq-bars span:nth-child(4) { height: 85%; animation-delay: 0.45s; }
@keyframes eqJump {
  0% { transform: scaleY(0.25); }
  100% { transform: scaleY(1); }
}

.music-info-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.music-pill-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.music-pill-status {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
}
.btn-music-toggle.is-playing .music-pill-status {
  color: #10b981;
}

/* --- Card Photo Navigation Arrows (Tap to change photo on card) --- */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all 0.15s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0.85;
}
.card-arrow:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.card-arrow-prev { left: 8px; }
.card-arrow-next { right: 8px; }

/* --- Mobile Device Optimizations (< 768px) --- */
@media (max-width: 768px) {
  /* 1. Sleek Single-Line Top Bar on Phone */
  .top-bar {
    padding: 6px 0 !important;
  }
  .top-bar-inner {
    justify-content: center !important;
  }
  .top-bar-inner > div:last-child {
    display: none !important; /* Duplicate WhatsApp & Call hidden on mobile */
  }
  .top-bar-info {
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    font-size: 0.72rem !important;
  }
  .top-bar-info::-webkit-scrollbar {
    display: none !important;
  }
  .top-bar-info span:nth-child(4) {
    display: none !important; /* Hide opening hours on small phone screen to fit single line */
  }
  .top-bar-info span {
    white-space: nowrap !important;
    gap: 4px !important;
  }

  /* 2. Uncluttered Header & Single-Line Logo */
  .header {
    height: auto !important;
    padding: 8px 0 !important;
  }
  .header-inner {
    height: 56px !important;
    justify-content: center !important;
  }
  .header .nav-actions {
    display: none !important; /* Hide header desktop buttons; mobile bottom dock handles this */
  }
  .header-wing {
    display: none !important;
  }
  .logo {
    width: 100% !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .logo-avatar {
    width: 44px !important;
    height: 44px !important;
  }
  .logo-title {
    font-size: 1.3rem !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    letter-spacing: -0.3px !important;
  }
  .logo-subtitle {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
  }

  /* 3. Compact Floating Rock Hymn Circle */
  .floating-music-widget {
    bottom: 74px !important;
    right: 14px !important;
    z-index: 998 !important;
  }
  .btn-music-toggle {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75) !important;
  }
  .music-info-pill {
    display: none !important; /* Hidden on phone to prevent covering content */
  }
  .music-disc-wrap {
    width: 42px !important;
    height: 42px !important;
    border: none !important;
    background: transparent !important;
  }
  .music-guitar-icon {
    font-size: 1.25rem !important;
  }
  .btn-music-toggle.is-playing {
    background: #f59e0b !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.8), 0 4px 16px rgba(0, 0, 0, 0.8) !important;
  }

  /* 4. Native Horizontal Swipe for Category Filter Tabs */
  .filter-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    margin: 0 -12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }

  /* 5. Responsive Car Card Grid on Phone */
  .cars-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .car-card {
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .car-img-wrap {
    height: 260px !important;
  }
  .card-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.5rem !important;
    opacity: 0.95 !important;
  }
  
  /* Touch-friendly Car Card Actions */
  .car-card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .btn-card-details {
    grid-column: 1 / -1 !important;
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 44px !important;
  }
  .btn-card-whatsapp, .btn-card-call {
    min-height: 42px !important;
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
    justify-content: center !important;
  }
  .btn-card-olx {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    min-height: 38px !important;
  }

  /* 6. Native Fullscreen Car Details Modal Experience */
  .modal-close-btn {
    display: none !important; /* Replaced by sticky mobile topbar */
  }
  .modal-overlay {
    padding: 0 !important;
    background: rgba(0, 0, 0, 0.96) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    z-index: 10000 !important;
  }
  .modal-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  #modal-car-content {
    flex: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 50px !important;
  }
  .modal-mobile-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(11, 15, 25, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 10px 14px !important;
    z-index: 100 !important;
  }
  .btn-modal-back-action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    color: #fbbf24 !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .modal-mobile-topbar-title {
    font-weight: 800 !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
  }
  .btn-modal-close-action {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(239, 68, 68, 0.18) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    color: #fca5a5 !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .modal-gallery-main {
    height: 330px !important;
    min-height: 330px !important;
    border-radius: 0 !important;
    position: relative !important;
  }
  .modal-gallery-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .lightbox-topbar {
    padding: 10px 12px calc(10px + env(safe-area-inset-top, 0px)) !important;
  }
  .btn-lightbox-back {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
  .lightbox-counter {
    padding: 5px 12px !important;
    font-size: 0.82rem !important;
  }
  .btn-lightbox-zoom-toggle {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
  .lightbox-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.8rem !important;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
  .lightbox-arrow-prev { left: 8px !important; }
  .lightbox-arrow-next { right: 8px !important; }
  .lightbox-bottom-bar {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    font-size: 0.76rem !important;
  }
  .modal-thumbs {
    padding: 10px 14px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .modal-thumbs::-webkit-scrollbar {
    display: none !important;
  }
  .modal-thumb {
    width: 64px !important;
    height: 46px !important;
  }
  .modal-content-body {
    padding: 18px 16px 40px !important;
  }
  .modal-car-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  .modal-car-price {
    font-size: 1.6rem !important;
  }
  .modal-specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .modal-specs-grid .spec-item {
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .modal-cta-row {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 15px !important;
  }
  .modal-cta-row .btn-nav-call,
  .modal-cta-row .btn-modal-whatsapp,
  .modal-cta-row .btn-card-olx {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.92rem !important;
    justify-content: center !important;
  }

  /* 7. Bottom Floating Mobile Bar Safe Spacing */
  .floating-mobile-bar {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 8. Enlarged, High-Impact Mascot Card on Mobile */
  .hero-mascot-card {
    width: calc(100% - 10px) !important;
    max-width: 400px !important;
    margin: 28px auto 12px !important;
    padding: 24px 18px !important;
    border-radius: 20px !important;
    background: linear-gradient(165deg, #151c2c 0%, #090d16 100%) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15) !important;
  }
  .hero-mascot-img {
    width: 100% !important;
    max-width: 310px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    border: 2.5px solid rgba(245, 158, 11, 0.6) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.25) !important;
    margin: 0 auto 16px !important;
  }
  .hero-mascot-speech {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    background: rgba(8, 12, 20, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 4px solid var(--primary) !important;
    text-align: center !important;
  }
  .hero-mascot-speech > div:first-child {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
  }
  .hero-mascot-author {
    margin-top: 12px !important;
    gap: 4px !important;
  }
  .hero-mascot-author .author-name {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #fbbf24 !important;
  }
  .hero-mascot-author .author-slogan {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
  }
  .btn-hero-hymn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    margin-top: 14px !important;
    border-radius: 999px !important;
    min-height: 48px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25) !important;
  }
}


