@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/view/assets/css/font/0202SL_TJ_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/view/assets/css/font/0202SL_RU_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/view/assets/css/font/0202SL_EN_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --brand: #FF0202;
  --brand-hover: #cc0000;
  --brand-light: #ff3333;
  --brand-dark: #990000;
  --brand-rgb: 230, 0, 0;
  --bg: #ffffff;
  --bg-secondary: #fafafa;
  --text: #0f0f0f;
  --text-secondary: #444444;
  --muted: #666666;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --chip: #f3f4f6;
  --chip-hover: #e5e7eb;
  --card: #ffffff;
  --card-hover: #fcfcfc;
  --accent: #111827;
  --success: #10b981;
  --success-light: #34d399;
  --error: #ef4444;
  --error-light: #f87171;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.14);
  --shadow-brand: 0 10px 25px -5px rgba(var(--brand-rgb), 0.3);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 12px 32px rgba(0, 0, 0, 0.15);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --radius-chip: 8px;
  --radius-full: 9999px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 8px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;
  --container-max: 1200px;
  --container-padding: 16px;
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --gbtn-bg: rgba(0, 0, 0, 0.5);
  --gbtn-color: #fff;
  --gbtn-bg-hover: rgba(0, 0, 0, 0.65);
  --gbtn-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-height: 60px;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --car-green: #10b981;
  --car-green-dark: #059669;
  --car-btn-dark: rgba(0, 0, 0, 0.7);
  --car-model: #f2f2f2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0c;
    --bg-secondary: #111111;
    --text: #f9fafb;
    --text-secondary: #d1d5db;
    --muted: #9ca3af;
    --line: #27272a;
    --line-strong: #3f3f46;
    --chip: #18181b;
    --chip-hover: #27272a;
    --card: #111111;
    --card-hover: #18181b;
    --accent: #f9fafb;
    --brand: #ff3333;
    --brand-hover: #ff1a1a;
    --brand-light: #ff4d4d;
    --brand-dark: #cc0000;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 4px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 12px 28px rgba(0, 0, 0, 0.45);
    --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-brand: 0 10px 25px -5px rgba(255, 51, 51, 0.4);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    --gbtn-bg: rgba(255, 255, 255, 0.15);
    --gbtn-bg-hover: rgba(255, 255, 255, 0.25);
    --gbtn-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    --car-green: #22c55e;
    --car-green-dark: #16a34a;
    --car-model: #18181b;
  }
}
html.theme-light {
  color-scheme: light;
}
html.theme-light body {
  --bg: #ffffff;
  --bg-secondary: #fafafa;
  --text: #0f0f0f;
  --text-secondary: #444444;
  --muted: #666666;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --chip: #f3f4f6;
  --chip-hover: #e5e7eb;
  --card: #ffffff;
  --card-hover: #fcfcfc;
  --accent: #111827;
  --brand: #FF0202;
  --brand-hover: #cc0000;
  --brand-light: #ff3333;
  --brand-dark: #990000;
    --car-model: #f2f2f2;
}
html.theme-dark {
  color-scheme: dark;
}
html.theme-dark body {
  --bg: #0c0c0c;
  --bg-secondary: #111111;
  --text: #f9fafb;
  --text-secondary: #d1d5db;
  --muted: #9ca3af;
  --line: #27272a;
  --line-strong: #3f3f46;
  --chip: #18181b;
  --chip-hover: #27272a;
  --card: #111111;
  --card-hover: #18181b;
  --accent: #f9fafb;
  --brand: #ff3333;
  --brand-hover: #ff1a1a;
  --brand-light: #ff4d4d;
  --brand-dark: #cc0000;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}
h4 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 500;
}
p {
  margin: 0;
  line-height: 1.7;
}
small {
  font-size: 0.875rem;
  color: var(--muted);
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
input,
textarea,
select {
  font: inherit;
}
.form-group {
  margin-bottom: var(--spacing-xl);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}
.form-input,
.form-select,
.form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-input);
  transition: var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover,
input[type]:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
input[type]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
.form-select,
select {
  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='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea,
textarea {
  min-height: 120px;
  resize: vertical;
}
.form-checkbox,
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"],
.form-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
}
.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--error);
  margin-top: var(--spacing-xs);
}
.form-input.success,
.form-select.success,
.form-textarea.success {
  border-color: var(--success);
}
.form-input.success:focus,
.form-select.success:focus,
.form-textarea.success:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled,
input[type]:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--chip);
}
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline { display: inline !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.gap-xs { gap: var(--spacing-xs) !important; }
.gap-sm { gap: var(--spacing-sm) !important; }
.gap-md { gap: var(--spacing-md) !important; }
.gap-lg { gap: var(--spacing-lg) !important; }
.gap-xl { gap: var(--spacing-xl) !important; }
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-xs { margin-top: var(--spacing-xs) !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mt-xl { margin-top: var(--spacing-xl) !important; }
.mb-xs { margin-bottom: var(--spacing-xs) !important; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }
.p-0 { padding: 0 !important; }
.p-xs { padding: var(--spacing-xs) !important; }
.p-sm { padding: var(--spacing-sm) !important; }
.p-md { padding: var(--spacing-md) !important; }
.p-lg { padding: var(--spacing-lg) !important; }
.p-xl { padding: var(--spacing-xl) !important; }
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.text-muted { color: var(--muted) !important; }
.text-brand { color: var(--brand) !important; }
.text-success { color: var(--success) !important; }
.text-error { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.bg-transparent { background: transparent !important; }
.bg-white { background: white !important; }
.bg-chip { background: var(--chip) !important; }
.bg-brand { background: var(--brand) !important; }
.border-0 { border: 0 !important; }
.border { border: 1px solid var(--line) !important; }
.border-2 { border: 2px solid var(--line) !important; }
.rounded-none { border-radius: 0 !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded { border-radius: var(--radius) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
@media (max-width: 639px) {
  .sm\:hidden { display: none !important; }
  .sm\:block { display: block !important; }
  .sm\:flex { display: flex !important; }
}
@media (min-width: 640px) {
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:grid { display: grid !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:gap-lg { gap: var(--spacing-lg) !important; }
  .md\:mt-0 { margin-top: 0 !important; }
  .md\:mb-0 { margin-bottom: 0 !important; }
}
@media (min-width: 980px) {
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
  .lg\:grid { display: grid !important; }
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:gap-xl { gap: var(--spacing-xl) !important; }
}
:focus-visible {
  outline: 3px solid #8ab4ff;
  outline-offset: 2px;
  border-radius: var(--radius-btn);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}
.animate-fade-in {
  animation: fadeIn 0.3s ease forwards;
}
.animate-fade-in-up {
  animation: fadeInUp 0.4s ease forwards;
}
.animate-scale-in {
  animation: scaleIn 0.3s ease forwards;
}
.animate-slide-in-right {
  animation: slideInRight 0.3s ease forwards;
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--chip);
  border-radius: var(--radius);
}
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 2s infinite;
}
html.theme-dark .skeleton::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
}
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.ripple:active::before {
  width: 300px;
  height: 300px;
}
.loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-lg {
  width: 40px;
  height: 40px;
  border-width: 3px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  animation: fadeIn 0.2s ease;
}
.skeleton-text {
  height: 1em;
  margin-bottom: var(--spacing-sm);
  background: var(--chip);
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
}
.skeleton-text::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}
.skeleton-card {
  background: var(--chip);
  border-radius: var(--radius-card);
  padding: var(--spacing-lg);
  animation: pulse 1.5s ease-in-out infinite;
}
.wrap,
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--container-padding);
  overflow: visible;
  width: 100%;
}
@media (max-width: 979px) {
  .wrap {
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
}
@media (min-width: 640px) {
  .wrap,
  .container {
    padding: 16px;
  }
}
@media (min-width: 980px) {
  .wrap,
  .container {
    padding: 16px;
  }
}
@media (min-width: 1440px) {
  .wrap,
  .container {
    padding: 16px;
  }
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding-block: 6px;
}
@media (min-width: 980px) {
  header {
    padding-block: var(--spacing-md);
    gap: var(--spacing-lg);
  }
}
.profile {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 0;
}
.logo-link {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}
.logo-link:hover {
  opacity: 0.85;
}
.hello {
  font-size: 14px;
  color: var(--muted);
}
.brand-name {
  font-weight: 800;
  color: var(--brand);
  font-size: 24px;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}
@media (min-width: 640px) {
  .brand-name {
    font-size: 26px;
  }
}
@media (min-width: 980px) {
  .brand-name {
    font-size: 28px;
  }
}
.icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
@media (max-width: 699px) {
  .icons {
    display: none !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--chip);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  background: var(--chip-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn-primary,
.cta-sell {
  background: var(--brand);
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-brand);
  padding: 10px 15px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}
.btn-primary,
.cta-sell {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover,
.cta-sell:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}
.btn-primary:active,
.cta-sell:active {
  transform: translateY(0);
}
@media (min-width: 640px) {
  .btn,
  .cta-sell {
    padding: 10px 15px;
    font-size: 13px;
  }
}
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 500;
}
.btn-secondary:hover {
  background: var(--chip);
  border-color: var(--text);
}
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--chip);
  transform: scale(1.05);
  border-color: var(--brand);
}
.icon-btn:active {
  transform: scale(0.98);
}
.sort-dropdown {
  position: relative;
  display: inline-block;
}
.sort-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}
.sort-btn:hover {
  background: var(--chip);
  border-color: var(--brand);
}
.sort-btn:active {
  transform: scale(0.98);
}
.sort-btn svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.sort-dropdown.active .sort-btn svg {
  transform: rotate(180deg);
}
.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .sort-menu {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  }
}
.sort-dropdown.active .sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.sort-option:hover {
  background: var(--chip);
}
.sort-option.active {
  color: var(--brand);
  background: var(--chip);
}
.sort-option.active::after {
  content: '✓';
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .sort-btn {
    font-size: 13px;
    padding: 8px 12px;
    gap: 6px;
  }
  .sort-menu {
    min-width: 200px;
  }
  .sort-option {
    padding: 10px 14px;
    font-size: 13px;
  }
}
.input,
.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 15px var(--spacing-lg);
  background: var(--chip);
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
  font-size: 15px;
}
.input:focus,
.search input:focus {
  border-color: var(--brand);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}
html.theme-dark .input:focus,
html.theme-dark .search input:focus {
  box-shadow: 0 0 0 3px rgba(255, 42, 42, 0.15);
}
.search {
  position: relative;
  margin-top: var(--spacing-sm);
  display: flex;
  align-items: center;
}
.search input {
  padding-right: 44px;
  flex: 1;
}
.search .filters {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.search .filters .icon-btn {
  width: 32px;
  height: 32px;
}
.section {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  overflow-x: visible !important;
  overflow-y: visible !important;
}
.section:first-child {
  margin-top: 0;
}
.section:last-child {
  padding-bottom: 40px;
}
@media (min-width: 640px) {
  .section {
    margin-top: 36px;
    margin-bottom: 36px;
  }
}
@media (min-width: 980px) {
  .section {
    margin-top: 44px;
    margin-bottom: 44px;
  }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
}
@media (min-width: 980px) {
  .section-head {
    margin-bottom: 20px;
  }
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}
@media (min-width: 640px) {
  .section-head h2 {
    font-size: 20px;
  }
}
@media (min-width: 980px) {
  .section-head h2 {
    font-size: 22px;
    letter-spacing: 0.3px;
  }
}
.link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 6px 0px;
  border-radius: var(--spacing-sm);
}
.link:hover {
  color: var(--brand);
  background: var(--chip);
}
@media (min-width: 980px) {
  .link {
    font-size: 15px;
    padding: var(--spacing-sm) 5px;
    border-radius: 10px;
  }
}
.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--spacing-lg);
  overflow: visible;
}
@media (max-width: 479px) {
  .grid {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 480px) and (max-width: 639px) {
  .grid {
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media (min-width: 980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }
}
.grid--search {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px;
}
@media (min-width: 480px) {
  .grid--search {
    gap: 14px;
  }
}
@media (min-width: 768px) {
  .grid--search {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .grid--search {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px;
  }
}
.grid--rail {
  grid-template-columns: none !important;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100vw - 46px) / 2.2);
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-left: 16px;
  scroll-padding-right: 2px;
  padding-bottom: 28px;
  margin-bottom: -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding-left: 16px;
  padding-right: 4px;
}
.grid--rail::-webkit-scrollbar {
  display: none;
}
.grid--rail > .card,
.grid--rail > .car-card {
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 374px) {
  .grid--rail {
    grid-auto-columns: calc((100vw - 36px) / 1.4);
    gap: 12px;
    padding-right: 4px;
    scroll-padding-right: 2px;
  }
}
@media (min-width: 375px) and (max-width: 479px) {
  .grid--rail {
    grid-auto-columns: calc((100vw - 46px) / 2.2);
    gap: 14px;
    padding-right: 4px;
    scroll-padding-right: 2px;
  }
}
@media (min-width: 480px) and (max-width: 639px) {
  .grid--rail {
    grid-auto-columns: calc((100vw - 50px) / 2.3);
    gap: 16px;
    padding-right: 6px;
    scroll-padding-right: 3px;
  }
}
@media (min-width: 640px) and (max-width: 979px) {
  .grid--rail {
    grid-auto-columns: calc((100vw - 56px) / 2.5);
    gap: 18px;
    padding-left: 20px;
    padding-right: 8px;
    scroll-padding-right: 4px;
    padding-bottom: 32px;
    margin-bottom: -24px;
  }
}
@media (min-width: 980px) {
  .grid--rail {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, 1fr) !important;
    overflow: visible;
    scroll-snap-type: none;
    position: static;
    left: auto;
    right: auto;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-inline: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    gap: var(--spacing-xl);
  }
}
@media (min-width: 1280px) {
  .grid--rail {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--spacing-xl);
  }
}
@media (min-width: 1600px) {
  .grid--rail {
    gap: 28px;
  }
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card:active {
  transform: translateY(-2px);
}
@media (min-width: 640px) {
  .card {
    border-radius: 20px;
  }
}
@media (min-width: 980px) {
  .card {
    border-radius: 22px;
  }
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
  }
}
.card > .clip {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.card > .clip > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  flex: 1;
}
@media (min-width: 640px) {
  .content {
    padding: var(--spacing-lg);
    gap: 10px;
  }
}
@media (min-width: 980px) {
  .content {
    padding: 18px;
    gap: var(--spacing-md);
  }
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-md);
}
.title {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
@media (min-width: 640px) {
  .title {
    font-size: 15px;
    line-height: 1.45;
  }
}
@media (min-width: 980px) {
  .title {
    font-size: 16px;
  }
}
.price {
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}
@media (min-width: 640px) {
  .price {
    font-size: 19px;
  }
}
@media (min-width: 980px) {
  .price {
    font-size: 20px;
    letter-spacing: 0.3px;
  }
}
.like {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
html.theme-dark .like {
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.like:hover {
  background: #fff;
  border-color: var(--brand);
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}
html.theme-dark .like:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(255, 42, 42, 0.4);
}
.like:active {
  transform: scale(1.05);
}
@media (min-width: 980px) {
  .like {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}
.specs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  align-items: center;
}
@media (min-width: 640px) {
  .specs-wrap {
    gap: 6px;
    margin-top: var(--spacing-md);
  }
}
.spec-chip {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  background: #f7f7fb;
  border: 1px solid #e8e8ec;
  border-radius: var(--spacing-sm);
  white-space: nowrap;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
html.theme-dark .spec-chip {
  color: #b3b3b3;
  background: #1f1f1f;
  border-color: #333;
}
@media (min-width: 640px) {
  .spec-chip {
    font-size: 12px;
    padding: 6px var(--spacing-md);
    border-radius: 9px;
  }
}
@media (min-width: 980px) {
  .spec-chip {
    border-radius: 10px;
  }
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--chip);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: auto;
}
@media (min-width: 640px) {
  .card-footer {
    padding: 11px var(--spacing-lg);
    font-size: 11.5px;
  }
}
@media (min-width: 980px) {
  .card-footer {
    padding: var(--spacing-md) 18px;
    font-size: 12px;
  }
}
.card-city {
  font-weight: 600;
  color: var(--text);
  opacity: 0.85;
}
.card-date {
  opacity: 0.7;
  font-weight: 400;
}
.gallery {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f5f5f7;
  touch-action: pan-y;
  overflow: hidden;
}
html.theme-dark .gallery {
  background: #161616;
}
.track {
  display: flex;
  height: 100%;
  width: 100%;
  translate: 0 0;
  transition: translate 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .track {
    transition: none;
  }
}
.track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.g-ctrl {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.g-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  border: none;
  color: var(--gbtn-color);
  background: var(--gbtn-bg);
  height: 72px;
  width: 46px;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease;
  box-shadow: var(--gbtn-shadow);
  backdrop-filter: saturate(1.2) blur(2px);
  cursor: pointer;
}
.g-btn[data-prev] {
  left: 0;
  border-radius: 0 22px 22px 0;
}
.g-btn[data-next] {
  right: 0;
  border-radius: 22px 0 0 22px;
}
.g-btn:hover {
  background: var(--gbtn-bg-hover);
}
.g-btn:active {
  transform: translateY(-50%) scale(0.98);
}
.card:hover .g-btn {
  opacity: 1;
}
body.kb .gallery:focus-within .g-btn {
  opacity: 1;
}
@media (max-width: 979px) {
  .g-ctrl {
    display: none;
  }
}
.g-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  translate: -50% 0;
  display: flex;
  gap: 6px;
  background: rgb(255 255 255 / 40%);
  padding: 6px 10px;
  border-radius: 20px;
  z-index: 1;
}
html.theme-dark .g-dots {
  background: rgb(0 0 0 / 30%);
}
.g-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
  transition: background 0.2s ease;
}
html.theme-dark .g-dot {
  background: #3b3b3b;
}
.g-dot.active {
  background: #111;
}
html.theme-dark .g-dot.active {
  background: #fff;
}
.brands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}
@media (min-width: 640px) {
  .brands {
    gap: 14px;
  }
}
@media (min-width: 980px) {
  .brands {
    gap: var(--spacing-lg);
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1280px) {
  .brands {
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
  }
}
.brand {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--spacing-md) var(--spacing-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--card);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: var(--brand);
}
html.theme-dark .brand:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.brand:active {
  transform: translateY(-1px);
}
.brand .logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--car-model);
  transition: background 0.2s ease;
}
html.theme-dark .brand .logo {
  background: #2a2a2a;
}
.brand .logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.brand span {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .brand {
    padding: 14px 10px;
  }
  .brand .logo {
    width: 48px;
    height: 48px;
  }
  .brand .logo img {
    width: 28px;
    height: 28px;
  }
  .brand span {
    font-size: 14px;
  }
}
@media (min-width: 980px) {
  .brand {
    padding: var(--spacing-lg) var(--spacing-md);
    gap: 10px;
  }
  .brand .logo {
    width: 52px;
    height: 52px;
  }
  .brand .logo img {
    width: 30px;
    height: 30px;
  }
  .brand span {
    font-size: 15px;
  }
  .brand:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  html.theme-dark .brand:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}
.brand-more {
  border-style: dashed;
  border-width: 2px;
  background: var(--chip);
  color: var(--brand);
  font-weight: 600;
}
.brand-more .logo {
  background: rgba(230, 0, 0, 0.08);
  color: var(--brand);
}
.brand-more svg {
  width: 24px;
  height: 24px;
}
.brand-hidden-mobile {
  display: none !important;
}
@media (min-width: 640px) {
  .brand-hidden-mobile {
    display: flex !important;
  }
}
.brand-hidden-tablet {
  display: none !important;
}
@media (min-width: 980px) {
  .brand-hidden-tablet {
    display: flex !important;
  }
}
.car-page-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-md) 160px var(--spacing-md);
  width: 100%;
}
@media (min-width: 640px) {
  .car-page-wrap {
    padding: var(--spacing-lg);
  }
}
@media (min-width: 980px) {
  .car-page-wrap {
    padding: var(--spacing-xl);
  }
}
@media (min-width: 1280px) {
  .car-page-wrap {
    padding: var(--spacing-2xl);
  }
}
.car-topbar {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}
@media (min-width: 640px) {
  .car-topbar {
    gap: var(--spacing-md);
    margin-bottom: 20px;
  }
}
@media (min-width: 980px) {
  .car-topbar {
    margin-bottom: var(--spacing-xl);
  }
}
.car-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
}
@media (min-width: 640px) {
  .car-icon {
    width: 44px;
    height: 44px;
  }
}
.car-icon:hover {
  background: var(--chip);
  transform: scale(1.05);
}
.car-grid {
  display: grid;
  gap: var(--spacing-md);
  margin-top: 6px;
  width: 100%;
}
@media (min-width: 640px) {
  .car-grid {
    gap: 18px;
    margin-top: 10px;
  }
}
@media (min-width: 980px) {
  .car-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    margin-top: 10px;
  }
}
.car-gallery {
  background: transparent;
  overflow: hidden;
  border-radius: var(--radius);
}
html.theme-dark .car-gallery {
  background: transparent;
}
.car-stage {
  aspect-ratio: 4 / 3;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
  width: 100%;
}
@media (min-width: 640px) {
  .car-stage {
    aspect-ratio: 16 / 9;
  }
}
.car-stage.dragging {
  cursor: grabbing;
}
.car-track {
  display: flex;
  max-height: 570px;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.35s ease;
}
.car-slide {
  flex: 0 0 100%;
}
.car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
.car-g-ctrl {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.car-g-btn {
  pointer-events: auto;
  border: none;
  background: var(--car-btn-dark);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 10px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
@media (max-width: 979px) {
  .car-g-btn {
    display: none;
  }
}
.car-gallery:hover .car-g-btn {
  opacity: 1;
}
.car-g-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: var(--radius-full);
}
html.theme-dark .car-g-dots {
  background: rgba(0, 0, 0, 0.3);
}
.car-g-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.2s ease;
}
html.theme-dark .car-g-dot {
  background: #3b3b3b;
}
.car-g-dot.active {
  background: #111;
}
html.theme-dark .car-g-dot.active {
  background: #fff;
}
.car-thumbs {
  display: flex;
  gap: var(--spacing-sm);
  overflow: auto;
  padding: var(--spacing-sm);
  background: var(--card);
  border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car-thumbs::-webkit-scrollbar {
  display: none;
}
@media (min-width: 640px) {
  .car-thumbs {
    gap: 10px;
    padding: 10px;
  }
}
.car-thumbs img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--spacing-sm);
  border: 2px solid transparent;
  opacity: 0.8;
  flex: 0 0 auto;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .car-thumbs img {
    width: 90px;
    height: 60px;
    border-radius: 10px;
  }
}
.car-thumbs img.active {
  border-color: #111;
  opacity: 1;
}
html.theme-dark .car-thumbs img.active {
  border-color: #fff;
}
.car-title {
  font-weight: 800;
  font-size: clamp(18px, 4.5vw, 25px);
  margin: 0 0 4px;
  line-height: 1.2;
  color: var(--text);
}
@media (min-width: 640px) {
  .car-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 5vw, 25px);
  }
}
@media (min-width: 980px) {
  .car-title {
    margin: 0 0 var(--spacing-sm);
  }
}
.car-price {
  font-size: clamp(18px, 4.5vw, 25px);
  font-weight: 700;
  color: var(--brand);
}
.car-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 var(--spacing-sm);
}
.car-price-row .car-views-inline {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.car-price-row .car-views-inline svg {
  opacity: 0.7;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .car-price {
    font-size: clamp(20px, 5vw, 25px);
  }
  .car-price-row {
    margin: 0 0 var(--spacing-md);
  }
}
@media (min-width: 980px) {
  .car-price-row {
    margin: 0 0 var(--spacing-lg);
  }
  .car-price-row .car-views-inline {
    font-size: 15px;
  }
}
.car-h2 {
  margin: 0 0 var(--spacing-sm);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
@media (min-width: 640px) {
  .car-h2 {
    font-size: 17px;
    margin: 0 0 10px;
  }
}
@media (min-width: 980px) {
  .car-h2 {
    font-size: 17px;
    margin: 0 0 var(--spacing-md);
  }
}
.car-spec-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .car-spec-grid {
    gap: var(--spacing-sm);
  }
}
@media (min-width: 980px) {
  .car-spec-grid {
    gap: var(--spacing-md);
  }
}
.car-spec-item {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 16px;
  border-radius: 10px;
  background: var(--chip);
  min-width: 0;
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .car-spec-item {
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-btn);
  }
}
@media (min-width: 980px) {
  .car-spec-item {
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: var(--radius-card);
  }
}
.car-spec-item:hover {
  background: var(--card);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.car-spec-ico {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--card);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .car-spec-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: var(--spacing-sm);
  }
}
@media (min-width: 980px) {
  .car-spec-ico {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
}
.car-spec-ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 640px) {
  .car-spec-ico svg {
    width: 18px;
    height: 18px;
  }
}
@media (min-width: 980px) {
  .car-spec-ico svg {
    width: 20px;
    height: 20px;
  }
}
.car-spec-key {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
  margin-bottom: 2px;
}
@media (min-width: 640px) {
  .car-spec-key {
    font-size: 11px;
  }
}
@media (min-width: 980px) {
  .car-spec-key {
    font-size: 12px;
  }
}
.car-spec-val {
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  line-height: 1.2;
}
@media (min-width: 640px) {
  .car-spec-val {
    font-size: 13px;
  }
}
@media (min-width: 980px) {
  .car-spec-val {
    font-size: 14px;
  }
}
.car-spec-item > div {
  flex: 1;
  min-width: 0;
}
.car-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.car-doc-list li {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 6px;
  padding: 10px var(--spacing-sm);
  border-top: 1px dashed var(--line);
  align-items: center;
}
@media (min-width: 640px) {
  .car-doc-list li {
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 10px;
  }
}
@media (min-width: 980px) {
  .car-doc-list li {
    gap: 10px;
    padding: var(--spacing-md);
  }
}
.car-doc-list li:first-child {
  border-top: none;
}
.car-doc-ico {
  width: 28px;
  height: 28px;
  border-radius: var(--spacing-sm);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--card);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .car-doc-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
}
.car-doc-ico svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 640px) {
  .car-doc-ico svg {
    width: 18px;
    height: 18px;
  }
}
.car-doc-ico.yes svg {
  stroke: var(--car-green);
}
.car-doc-ico.no svg {
  stroke: #d93025;
}
.car-doc-ico.neutral svg {
  stroke: var(--text);
}
.car-doc-val {
  font-weight: 700;
  white-space: nowrap;
  font-size: 12px;
}
@media (min-width: 640px) {
  .car-doc-val {
    font-size: 13px;
  }
}
@media (min-width: 980px) {
  .car-doc-val {
    font-size: 14px;
  }
}
.car-doc-val.yes {
  color: var(--car-green);
}
.car-doc-val.no {
  color: #d93025;
}
.car-doc-list li span:not(.car-doc-ico):not(.car-doc-val):not(.car-dots) {
  font-size: 12px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .car-doc-list li span:not(.car-doc-ico):not(.car-doc-val):not(.car-dots) {
    font-size: 13px;
  }
}
@media (min-width: 980px) {
  .car-doc-list li span:not(.car-doc-ico):not(.car-doc-val):not(.car-dots) {
    font-size: 14px;
  }
}
.car-dots {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
  align-self: stretch;
  margin: 0 6px;
  opacity: 0.7;
}
.car-description {
  color: var(--muted);
  margin: var(--spacing-sm) 0 14px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .car-description {
    font-size: 15px;
  }
}
.car-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--spacing-md) 0;
  padding: var(--spacing-md);
  background: var(--chip);
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .car-seller {
    gap: var(--spacing-md);
    padding: 14px;
    border-radius: var(--radius-card);
  }
}
.car-seller:hover {
  background: var(--card);
}
.car-seller .logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .car-seller .logo {
    width: 52px;
    height: 52px;
  }
}
.car-seller .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-seller-info {
  flex: 1;
  min-width: 0;
}
.car-seller-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
}
@media (min-width: 640px) {
  .car-seller-name {
    font-size: 15px;
  }
}
.car-seller-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.3;
}
@media (min-width: 640px) {
  .car-seller-meta {
    font-size: 13px;
  }
}
.car-seller-arrow {
  color: var(--muted);
  font-size: 20px;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .car-seller-arrow {
    font-size: 24px;
  }
}
.car-cta {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
}
.car-btn {
  flex: 1;
  background: var(--brand);
  text-align: center;
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px var(--spacing-lg);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .car-btn {
    padding: 10px;
    font-size: 15px;
  }
}
.car-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}
.car-btn.secondary {
  flex: 0 0 auto;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 500;
}
.car-btn.secondary:hover {
  background: var(--chip);
  border-color: var(--text);
}
.car-cta-inline {
  display: none;
  margin: -10px 0 0;
}
@media (min-width: 980px) {
  .car-cta-inline {
    display: flex;
  }
}
.car-full {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
.car-cta-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--bottom-height);
  padding: 10px var(--spacing-md);
  background: var(--card);
  border-top: 1px solid var(--line);
  z-index: 50;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .car-cta-fixed {
    padding: 10px var(--spacing-lg);
  }
}
@media (min-width: 980px) {
  .car-cta-fixed {
    display: none;
  }
}
.car-cta-fixed .car-btn {
  padding: var(--spacing-md) 14px;
  font-size: 15px;
}
@media (min-width: 640px) {
  .car-cta-fixed .car-btn {
    padding: 14px var(--spacing-lg);
    font-size: 16px;
  }
}
body.car-page {
  padding-bottom: 0;
}
.car-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.car-lightbox.open {
  display: flex;
}
.car-lightbox-inner {
  position: relative;
  width: min(95vw, 1200px);
  height: min(90vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: grab;
}
.car-lightbox-inner.dragging {
  cursor: grabbing;
}
.car-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  transition: transform 0.2s ease;
}
.car-lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--car-btn-dark);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.car-lb-prev {
  left: 14px;
}
.car-lb-next {
  right: 14px;
}
.car-lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--car-btn-dark);
  color: #fff;
  cursor: pointer;
}
.bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  z-index: 60;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html.theme-dark .bottom {
  background: #0f0f0f;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 0 var(--spacing-sm);
}
.tab {
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tab .i {
  display: block;
  margin-inline: auto;
  margin-bottom: 4px;
  width: 25px;
  height: 25px;
  border-radius: 7px;
}
.tab .i svg {
  color: inherit;
}
.tab .i svg path {
  stroke: currentColor;
  fill: none;
}
.tab.active {
  color: var(--brand);
  background: var(--chip);
}
.tab:hover {
  background: var(--chip);
  transform: translateY(-2px);
}
.tab:active {
  transform: translateY(0);
}
@media (min-width: 375px) {
  .tab {
    font-size: 12px;
    padding: var(--spacing-sm) 14px;
  }
  .tab .i {
    width: 28px;
    height: 28px;
  }
}
@media (min-width: 980px) {
  .bottom {
    display: none;
  }
}
@media (max-width: 979px) {
  body {
    padding-bottom: calc(var(--bottom-height) + var(--safe-area-inset-bottom));
  }
  .bottom {
    height: calc(var(--bottom-height) + var(--safe-area-inset-bottom));
    padding-bottom: var(--safe-area-inset-bottom);
  }
  .section .grid--rail {
    padding-bottom: 120px !important;
    margin-bottom: -80px !important;
  }
  .wrap {
    overflow: visible !important;
  }
  .section {
    overflow: visible !important;
  }
}
@keyframes skeleton-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes skeleton-shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
.skeleton {
  background: var(--chip);
  border-radius: var(--radius-chip);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    var(--chip) 0%,
    var(--line) 50%,
    var(--chip) 100%
  );
  background-size: 468px 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-text {
  height: 16px;
  margin-bottom: var(--spacing-sm);
  border-radius: 4px;
}
.skeleton-title {
  height: 24px;
  margin-bottom: var(--spacing-md);
  width: 70%;
  border-radius: 6px;
}
.skeleton-card {
  height: 280px;
  border-radius: var(--radius-card);
}
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.dlg {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 70;
}
.dlg[open] {
  display: block;
}
.dlg .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: saturate(1.2) blur(1px);
}
.dlg .panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  color: var(--text);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
  padding: var(--spacing-lg);
  padding-bottom: calc(var(--spacing-lg) + 80px);
  max-height: 75vh;
  overflow: auto;
  transform: translateY(6%);
  opacity: 0.98;
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform, opacity;
}
.dlg[open] .panel {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 640px) {
  .dlg .panel {
    padding-bottom: var(--spacing-lg);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fade-in 0.3s ease-out;
}
@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.slide-up {
  animation: slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}
@media (min-width: 640px) and (max-width: 979px) {
  .hide-tablet {
    display: none !important;
  }
}
@media (min-width: 980px) {
  .hide-desktop {
    display: none !important;
  }
}
@media print {
  .bottom,
  .car-cta-fixed,
  .icon-btn,
  .cta-sell,
  .g-btn,
  .car-g-btn {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card {
    break-inside: avoid;
  }
}
.car-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transform-origin: center;
  will-change: transform, box-shadow;
}
.car-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.08);
}
html.theme-dark .car-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.car-card:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}
@media (min-width: 640px) {
  .car-card {
    border-radius: var(--radius-lg);
  }
}
@media (min-width: 980px) {
  .car-card {
    border-radius: 18px;
  }
}
.car-card:hover {
  transform: translateY(-4px);
}
@media (min-width: 980px) {
  .car-card:hover {
    transform: translateY(-6px);
  }
}
.car-card:active {
  transform: translateY(-2px);
}
.car-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.car-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}
.car-card-gallery {
  position: relative;
  aspect-ratio: 16 / 12;
  background: var(--chip);
  overflow: hidden;
  touch-action: pan-y;
}
.car-card-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.car-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.car-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.car-card-placeholder svg {
  opacity: 0.3;
}
.car-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-transform: uppercase;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.car-card-badge .badge-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}
.car-card-badge span {
  display: inline-block;
  line-height: 1;
}
@media (min-width: 640px) {
  .car-card-badge {
    top: 12px;
    left: 12px;
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 9px;
  }
  .car-card-badge .badge-icon {
    width: 15px;
    height: 15px;
  }
}
.car-card:hover .car-card-badge {
  transform: scale(1.05) translateY(-1px);
}
.card-badge-vip {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: none;
}
.card-badge-vip .badge-icon {
  color: #ffffff;
}
.card-badge-vip:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.card-badge-top {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: none;
}
.card-badge-top:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.car-card-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  display: none;
}
@media (min-width: 980px) {
  .car-card:hover .car-card-controls {
    display: block;
  }
}
.car-card-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 36px;
  height: 60px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  backdrop-filter: blur(4px);
}
.car-card:hover .car-card-btn {
  opacity: 1;
}
.car-card-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.car-card-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.car-card-btn-prev {
  left: 0;
  border-radius: 0 18px 18px 0;
}
.car-card-btn-next {
  right: 0;
  border-radius: 18px 0 0 18px;
}
.car-card-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  background: rgb(255 255 255 / 9%);
  padding: 5px 8px;
  border-radius: 12px;
  z-index: 1;
  backdrop-filter: blur(8px);
}
html.theme-dark .car-card-dots {
  background: rgba(0, 0, 0, 0.5);
}
.car-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  transition: all 0.2s ease;
  cursor: pointer;
}
html.theme-dark .car-card-dot {
  background: #555;
}
.car-card-dot.active {
  background: #1a1a1a;
  width: 16px;
  border-radius: 3px;
}
html.theme-dark .car-card-dot.active {
  background: #fff;
}
.car-card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
@media (min-width: 640px) {
  .car-card-content {
    padding: 16px;
    gap: 10px;
  }
}
@media (min-width: 980px) {
  .car-card-content {
    padding: 18px;
    gap: 12px;
  }
}
.car-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.car-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .car-card-title {
    font-size: 15px;
    line-height: 1.4;
  }
}
@media (min-width: 980px) {
  .car-card-title {
    font-size: 16px;
    line-height: 1.45;
  }
}
.car-card-like {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  padding: 0;
}
.car-card-like:hover {
  background: var(--card-hover);
  border-color: var(--brand);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.2);
}
.car-card-like:active {
  transform: scale(1.05);
}
.car-card-like svg {
  transition: var(--transition-fast);
  width: 18px;
  height: 18px;
  display: block;
}
.car-card-like .heart-outline {
  stroke: var(--muted);
  fill: none;
  display: block;
}
.car-card-like .heart-filled {
  color: #ff4757;
  fill: #ff4757;
  stroke: #ff4757;
  display: none !important;
}
.car-card-like:hover .heart-outline {
  stroke: var(--brand);
  transform: scale(1.1);
}
.car-card-like .heart-filled {
  display: none;
}
.car-card-like .heart-outline {
  display: block;
}
.car-card-like.is-favorite .heart-outline {
  display: none !important;
}
.car-card-like.is-favorite .heart-filled {
  display: block !important;
  animation: heartPulse 0.3s ease;
}
.car-card-like.is-favorite {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}
.car-card-like.is-favorite:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: #ff3838;
}
@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.car-card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: 0.2px;
}
@media (min-width: 640px) {
  .car-card-price {
    font-size: 19px;
  }
}
@media (min-width: 980px) {
  .car-card-price {
    font-size: 20px;
    letter-spacing: 0.3px;
  }
}
.car-card-currency {
  font-weight: 600;
  font-size: 0.85em;
  opacity: 0.9;
}
.car-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.car-card-views-inline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.car-card-views-inline svg {
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  opacity: 0.7;
}
.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 2px;
}
@media (min-width: 640px) {
  .car-card-specs {
    gap: 6px;
  }
}
.car-card-chip {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.3;
  transition: var(--transition-fast);
}
@media (min-width: 640px) {
  .car-card-chip {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 9px;
  }
}
@media (min-width: 980px) {
  .car-card-chip {
    border-radius: 10px;
  }
}
.car-card:hover .car-card-chip {
  background: var(--card-hover);
  border-color: var(--line-strong);
}
.car-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.02);
  font-size: 11px;
  color: var(--muted);
  gap: 10px;
  margin-top: auto;
}
html.theme-dark .car-card-footer {
  background: rgba(255, 255, 255, 0.03);
}
@media (min-width: 640px) {
  .car-card-footer {
    padding: 12px 16px;
    font-size: 11px;
  }
}
@media (min-width: 980px) {
  .car-card-footer {
    padding: 13px 18px;
    font-size: 11px;
  }
}
.car-card-location,
.car-card-date,
.car-card-views {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.car-card-location {
  color: var(--text);
  opacity: 0.9;
}
.car-card-views {
  color: var(--muted);
  font-size: 11px;
}
.car-card-location svg,
.car-card-date svg,
.car-card-views svg {
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  opacity: 0.75;
}
.car-card.skeleton {
  pointer-events: none;
}
.car-card.skeleton .car-card-gallery,
.car-card.skeleton .car-card-title,
.car-card.skeleton .car-card-price,
.car-card.skeleton .car-card-chip {
  background: linear-gradient(
    90deg,
    var(--chip) 0%,
    var(--line) 50%,
    var(--chip) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  color: transparent;
  border-color: transparent;
}
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .car-card,
  .car-card-track,
  .car-card-btn,
  .car-card-like,
  .car-card-chip {
    transition: none;
    animation: none;
  }
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}
.search input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}
.search input[type="search"]::-ms-clear {
  display: none;
}
.search-clear {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 2;
}
.search-clear:hover {
  background: var(--chip);
  color: var(--text);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}
.chip {
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  max-height: 35px;
}
.chip button {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.chip svg {
  width: 14px;
  height: 14px;
}
.specs {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
@media (min-width: 640px) {
  .specs {
    gap: 6px;
  }
}
.spec {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  background: #f7f7fb;
  border: 1px solid #e8e8ec;
  border-radius: var(--spacing-sm);
  white-space: nowrap;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
html.theme-dark .spec {
  color: #b3b3b3;
  background: #1f1f1f;
  border-color: #333;
}
@media (min-width: 640px) {
  .spec {
    font-size: 12px;
    padding: 6px var(--spacing-md);
    border-radius: 9px;
  }
}
.fab-filters {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(80px + 6px);
  z-index: 40;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(227, 25, 25, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fab-filters svg {
  width: 18px;
  height: 18px;
}
.filters-inline-wrap {
  display: none;
  margin: 10px 0 14px;
}
.filters-inline {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
}
@media (prefers-color-scheme: dark) {
  .filters-inline {
    background: #121212;
  }
}
html.theme-light .filters-inline {
  background: #ffffff;
}
html.theme-dark .filters-inline {
  background: #121212;
}
.inline-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
}
.inline-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.btn.ghost {
  background: var(--bg);
  border: 1px solid var(--line);
  max-width: none;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  padding: 0 16px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 2px 0;
}
.f-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 8px 10px;
  cursor: pointer;
}
.f-item .filter-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.f-item .value {
  font-size: 14px;
  transition: color 0.2s ease;
}
.f-item.has-value .value {
  color: var(--brand);
  font-weight: 500;
}
.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: min(92vw, 300px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 30;
  display: none;
  max-height: 280px;
  overflow: auto;
}
@media (max-width: 640px) {
  #filters-dialog .dropdown {
    left: 0;
    right: 0;
    min-width: 100%;
    max-height: 240px;
  }
}
.dropdown.open {
  display: block;
}
.drop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drop-item {
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.15s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.drop-item:hover,
.drop-item:active,
[aria-selected="true"] {
  background: var(--chip);
}
@media (hover: none) {
  .drop-item:active {
    background: var(--chip);
    opacity: 0.8;
  }
}
.grid-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 360px) {
  .grid-sheet {
    grid-template-columns: 1fr;
  }
}
.sheet-footer {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.sheet-footer button {
  flex: 1;
  max-width: none;
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
  padding: 0 16px;
  border: 1px solid var(--line);
  cursor: pointer;
}
.btn-clear {
  background: var(--bg);
  color: var(--text);
}
.btn-apply {
  background: #FF0202;
  color: #fff;
  border-color: #FF0202;
  border-radius: 12px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.2s ease;
}
.btn-apply:hover {
  background: #d40000;
  border-color: #d40000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}
@media (min-width: 1024px) {
  .dlg,
  #open-filters,
  .fab-filters {
    display: none !important;
  }
  .filters-inline-wrap {
    display: block;
  }
}
.car-card-skeleton {
  pointer-events: none;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.car-card-gallery-skeleton {
  aspect-ratio: 16/9;
  background: var(--chip);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.car-card-gallery-skeleton::after {
  content: '''';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 1.5s infinite;
}
html.theme-dark .car-card-gallery-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.skeleton-line {
  height: 16px;
  background: var(--chip);
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-title {
  height: 20px;
  width: 70%;
  margin-bottom: 12px;
}
.skeleton-price {
  height: 24px;
  width: 40%;
  margin-bottom: 12px;
}
.skeleton-chip {
  height: 28px;
  width: 80px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 8px;
}
.skeleton-footer-item {
  height: 14px;
  width: 80px;
}