/* ===========================
   Static Pages Styles
   (About, Privacy, News)
   =========================== */

/* ===========================
   Breadcrumbs
   =========================== */
.breadcrumbs {
  padding: 16px 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-text-muted);
}

.breadcrumbs__list li a {
  color: var(--color-text-secondary);
  transition: color 0.2s;
}

.breadcrumbs__list li a:hover {
  color: var(--color-orange);
}

.breadcrumbs__list li:last-child {
  color: var(--color-text);
  font-weight: 600;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  font-size: 10px;
  color: var(--color-text-muted);
}

/* ===========================
   Page Header (Title Section)
   =========================== */
.page-header {
  background: var(--color-light-gray);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.page-header__title {
  font-size: 36px;
  margin-bottom: 0;
}

.page-header__subtitle {
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ===========================
   Static Page Content
   =========================== */
.static-page {
  padding: 60px 0 80px;
}

.static-page__content {
  max-width: 900px;
  margin: 0 auto;
}

.static-page__content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  color: var(--color-text);
}

.static-page__content h2:first-child {
  margin-top: 0;
}

.static-page__content h3 {
  font-size: 18px;
  margin: 28px 0 12px;
}

.static-page__content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.static-page__content ul,
.static-page__content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.static-page__content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.static-page__content a {
  color: var(--color-orange);
}

.static-page__content a:hover {
  text-decoration: underline;
}

.static-page__content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--color-orange-light);
  border-left: 4px solid var(--color-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.static-page__content blockquote p {
  margin: 0;
  color: var(--color-text);
  font-style: italic;
}

/* About Page Specific */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.about-feature {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.about-feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--color-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-orange);
}

.about-feature__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-feature__text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.about-team-member {
  text-align: center;
}

.about-team-member__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--color-orange);
}

.about-team-member__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-team-member__role {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===========================
   News Filter (category chips)
   =========================== */
.news-filter {
  padding: 24px 0 0;
}
.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-filter__item {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 24px;
  font-size: .95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .2s, background .2s, color .2s;
  text-decoration: none;
}
.news-filter__item:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  text-decoration: none;
}
.news-filter__item--active {
  border-color: var(--color-orange);
  background: var(--color-orange);
  color: #fff;
}
.news-filter__item--active:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: #fff;
}

/* ===========================
   News Page
   =========================== */
.news-section {
  padding: 48px 0 80px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-orange);
}

.news-card__image {
  display: block;
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--color-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.news-card__body {
  padding: 20px;
}

.news-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.news-card__meta i {
  margin-right: 4px;
  color: var(--color-orange);
}

.news-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__title a {
  color: var(--color-text);
  transition: color 0.2s;
}

.news-card__title a:hover {
  color: var(--color-orange);
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__link:hover {
  text-decoration: underline;
}

/* News Pagination */
.news-section .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.news-section .pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}

.news-section .pagination__btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.news-section .pagination__btn--active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}

.news-section .pagination__btn--active:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: #fff;
}

.news-section .pagination__btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.news-section .pagination__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Single News Page */
.news-single {
  padding: 48px 0 80px;
}

.news-single__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-single__main {
  min-width: 0;
}

.news-single__sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.news-single__header {
  margin-bottom: 24px;
}

.news-single__category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.news-single__title {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.news-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.news-single__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-single__meta i {
  color: var(--color-orange);
}

.news-single__cover {
  margin: 0 0 32px;
}

.news-single__cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.news-single__content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.news-single__content p {
  margin-bottom: 20px;
}

.news-single__content .news-single__lead {
  font-size: 18px;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 28px;
}

.news-single__content h2 {
  font-size: 24px;
  margin: 36px 0 16px;
  color: var(--color-text);
}

.news-single__content h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--color-text);
}

.news-single__content ul,
.news-single__content ol {
  margin: 16px 0 20px;
  padding-left: 24px;
}

.news-single__content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.news-single__content blockquote {
  margin: 28px 0;
  padding: 24px;
  background: var(--color-light-gray);
  border-left: 4px solid var(--color-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.news-single__content blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--color-text);
}

.news-single__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.news-single__gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s;
}

.news-single__gallery img:hover {
  transform: scale(1.03);
}

/* News Sidebar Widgets */
.news-sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.news-sidebar-widget__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.news-sidebar-widget__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-sidebar-item {
  display: flex;
  gap: 12px;
  transition: opacity 0.2s;
}

.news-sidebar-item:hover {
  opacity: 0.8;
}

.news-sidebar-item img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.news-sidebar-item__content {
  min-width: 0;
}

.news-sidebar-item__content h5 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sidebar-item__content span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.news-sidebar-widget--cta {
  background: var(--color-dark);
  color: #fff;
  border: none;
}

.news-sidebar-widget--cta .news-sidebar-widget__title {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.news-sidebar-widget--cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  line-height: 1.5;
}

.news-single__share {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-single__share-label {
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 14px;
}

.news-single__share-links {
  display: flex;
  gap: 8px;
}

.news-single__share-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 16px;
  transition: all 0.2s;
}

.news-single__share-link:hover {
  transform: translateY(-2px);
}

.news-single__share-link--tg:hover {
  background: #0088cc;
  color: #fff;
}

.news-single__share-link--vk:hover {
  background: #4a76a8;
  color: #fff;
}

.news-single__share-link--wa:hover {
  background: #25d366;
  color: #fff;
}

.news-single__share-link--viber:hover {
  background: #665cac;
  color: #fff;
}

.news-single__share-link--ok:hover {
  background: #ee8208;
  color: #fff;
}

.news-single__share-link--x:hover {
  background: #000;
  color: #fff;
}

.news-single__share-link--copy:hover {
  background: var(--color-orange);
  color: #fff;
}

.news-single__nav {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

.news-single__nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--color-light-gray);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
  white-space: nowrap;
}

.news-single__nav-link:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.news-single__nav-link--prev {
  margin-right: auto;
}

.news-single__nav-link--all {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
}

.news-single__nav-link--all:hover {
  background: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  color: #fff;
}

.news-single__nav-link--next {
  margin-left: auto;
}

.news-single__nav-link i {
  font-size: 12px;
}

/* ===========================
   Callback Button (Floating)
   =========================== */
.callback-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(16, 167, 240, 0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  animation: pulse-glow 2s infinite;
}

.callback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(16, 167, 240, 0.5);
}

.callback-btn i {
  font-size: 18px;
  animation: ring 1.5s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(16, 167, 240, 0.4);
  }
  50% {
    box-shadow: 0 8px 48px rgba(16, 167, 240, 0.6);
  }
}

@keyframes ring {
  0%, 100% {
    transform: rotate(0);
  }
  10%, 30% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0);
  }
}

/* ===========================
   Modal
   =========================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay--visible {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal__header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: 22px;
  font-weight: 800;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-light-gray);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.modal__close:hover {
  background: var(--color-orange);
  color: #fff;
}

.modal__body {
  padding: 24px;
}

.modal__form-group {
  margin-bottom: 20px;
}

.modal__form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.modal__form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.modal__form-input:focus {
  outline: none;
  border-color: var(--color-orange);
}

.modal__form-input::placeholder {
  color: var(--color-text-muted);
}

.modal__form-textarea {
  resize: vertical;
  min-height: 100px;
}

.modal__form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.modal__form-checkbox input {
  margin-top: 3px;
  accent-color: var(--color-orange);
}

.modal__form-checkbox a {
  color: var(--color-orange);
}

.modal__success {
  text-align: center;
  padding: 40px 24px;
}

.modal__success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--color-green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-green);
}

.modal__success-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal__success-text {
  color: var(--color-text-muted);
}

/* ===========================
   Dark Theme
   =========================== */
body.dark-theme {
  --color-white: #1c1c1e;
  --color-light-gray: #2c2c2e;
  --color-gray-bg: #3a3a3c;
  --color-border: #3a3a3c;
  --color-text: #f5f5f7;
  --color-text-light: #f5f5f7;
  --color-text-muted: #8e8e93;
  --color-text-secondary: #aeaeb2;
  --color-shadow: rgba(0, 0, 0, 0.3);
}

body.dark-theme .header {
  background: #1c1c1e;
  border-color: #3a3a3c;
}

body.dark-theme .header-top {
  border-color: #3a3a3c;
}

body.dark-theme .header__logo-badge {
  background: #f5f5f7;
  color: #1c1c1e;
}

body.dark-theme .header__logo-badge svg {
  fill: #1c1c1e;
}

body.dark-theme .car-card {
  background: #2c2c2e;
  border-color: #3a3a3c;
}

body.dark-theme .car-card:hover {
  border-color: var(--color-orange);
}

body.dark-theme .car-card__specs {
  background: #1c1c1e;
}

body.dark-theme .car-card__spec i {
  background: #3a3a3c;
}

body.dark-theme .car-card__badge--stock {
  background: rgba(52, 199, 89, 0.12);
  border-color: rgba(52, 199, 89, 0.25);
}

body.dark-theme .car-card__badge--order {
  background: rgba(230, 184, 0, 0.12);
  border-color: rgba(230, 184, 0, 0.25);
}

body.dark-theme .car-card__action-icon {
  border-color: #3a3a3c;
}

body.dark-theme .cars-section__nav-btn {
  background: #2c2c2e;
  border-color: #3a3a3c;
  color: rgba(255,255,255,0.7);
}

body.dark-theme .brand-card {
  background: #2c2c2e;
}

body.dark-theme .brand-card__logo {
  filter: invert(1);
}

body.dark-theme .credit-card {
  background: #2c2c2e;
}

body.dark-theme .news-card {
  background: #2c2c2e;
}

body.dark-theme .modal {
  background: #2c2c2e;
}

body.dark-theme .sidebar-filters {
  background: #2c2c2e;
}

body.dark-theme .brands-sidebar {
  background: #1c1c1e;
  border-color: #3a3a3c;
}

body.dark-theme .brands-sidebar__item img {
  filter: invert(1);
}

body.dark-theme .footer {
  background: #121214;
}

body.dark-theme .contacts-map__placeholder {
  background: #3a3a3c;
}

/* Dark theme header-bottom override */
body.dark-theme .header-bottom {
  background: #1c1c1e;
}

body.dark-theme .mobile-menu {
  background: #1c1c1e;
}

body.dark-theme .mobile-menu__socials a {
  background: #2c2c2e;
}

body.dark-theme .mobile-menu__action {
  background: #2c2c2e;
}

body.dark-theme .header__burger {
  background: #2c2c2e;
}

body.dark-theme .mobile-menu__close {
  background: #3a3a3c;
}

/* ===========================
   Car Detail Page
   =========================== */
.car-detail {
  padding: 40px 0 80px;
}

.car-detail__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.car-detail__main {
  min-width: 0;
}

/* Gallery */
.car-detail__gallery {
  margin-bottom: 32px;
  max-width: 100%;
}

.car-detail__gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-light-gray);
  aspect-ratio: 16 / 10;
}

.car-detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.car-detail__gallery-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.car-detail__gallery-fullscreen {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-detail__gallery-fullscreen:hover {
  background: var(--color-orange);
}

.car-detail__gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.car-detail__thumb {
  flex: 0 0 auto;
  width: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  background: none;
  aspect-ratio: 16 / 10;
}

.car-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-detail__thumb:hover {
  border-color: var(--color-orange);
  opacity: 0.85;
}

.car-detail__thumb.active {
  border-color: var(--color-orange);
}

/* Quick Specs */
.car-detail__quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.car-detail__quick-spec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-light-gray);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.car-detail__quick-spec i {
  font-size: 24px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.car-detail__quick-spec-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.2;
}

.car-detail__quick-spec-label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Description */
.car-detail__description {
  margin-bottom: 40px;
}

.car-detail__description h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.car-detail__description p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Specs Block */
.car-detail__specs-block h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.car-detail__specs-group {
  margin-bottom: 28px;
}

.car-detail__specs-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.car-detail__specs-group h3 i {
  color: var(--color-orange);
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.car-detail__specs-table {
  width: 100%;
  border-collapse: collapse;
}

.car-detail__specs-table tr {
  border-bottom: 1px solid var(--color-border);
}

.car-detail__specs-table tr:last-child {
  border-bottom: none;
}

.car-detail__specs-table td {
  padding: 10px 0;
  font-size: 14px;
  vertical-align: top;
}

.car-detail__specs-table td:first-child {
  color: var(--color-text-muted);
  width: 45%;
  padding-right: 16px;
}

.car-detail__specs-table td:last-child {
  color: var(--color-text);
  font-weight: 600;
}

/* Sidebar */
.car-detail__sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.car-detail__mobile-header {
  display: none;
  margin-bottom: 20px;
}

.car-detail__sidebar-header {
  margin-bottom: 20px;
}

.car-detail__sidebar-category {
  font-size: 13px;
  color: var(--color-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.car-detail__sidebar-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.car-detail__sidebar-year {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Prices */
.car-detail__prices {
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}

.car-detail__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.car-detail__price-row + .car-detail__price-row {
  border-top: 1px solid var(--color-border);
}

.car-detail__price-label {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.car-detail__price-label i {
  color: var(--color-orange);
  width: 18px;
  text-align: center;
}

.car-detail__price-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.car-detail__price-value--accent {
  color: var(--color-orange);
  font-size: 22px;
}


/* Actions */
.car-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.car-detail__btn-main {
  font-size: 16px;
  padding: 16px;
}

.car-detail__extra-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.car-detail__extra-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.car-detail__extra-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.car-detail__extra-btn i {
  font-size: 14px;
}

/* Trade-in */
.car-detail__tradein {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--color-orange-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.car-detail__tradein-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.car-detail__tradein strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.car-detail__tradein p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.4;
}


/* Lightbox / Photo Viewer */
.car-detail__lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  user-select: none;
}

.car-detail__lightbox.active {
  opacity: 1;
}

.car-detail__lightbox-img {
  max-width: calc(100vw - 140px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: opacity 0.2s;
}

.car-detail__lightbox-img.fading {
  opacity: 0.3;
}

.car-detail__lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.car-detail__lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.car-detail__lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  z-index: 10;
}

.car-detail__lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.car-detail__lightbox-nav--prev {
  left: 20px;
}

.car-detail__lightbox-nav--next {
  right: 20px;
}

.car-detail__lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
  z-index: 10;
}

/* Main image clickable for lightbox */
.car-detail__gallery-main {
  cursor: pointer;
}

@media (max-width: 768px) {
  .car-detail__lightbox-img {
    max-width: calc(100vw - 20px);
    max-height: 80vh;
    border-radius: var(--radius);
  }

  .car-detail__lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .car-detail__lightbox-nav--prev {
    left: 8px;
  }

  .car-detail__lightbox-nav--next {
    right: 8px;
  }

  .car-detail__lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .car-detail__lightbox-counter {
    bottom: 16px;
    font-size: 13px;
  }
}

/* Dark theme - Car Detail */
body.dark-theme .car-detail__gallery-main {
  background: var(--color-dark-lighter);
}

body.dark-theme .car-detail__quick-spec {
  background: var(--color-dark-lighter);
  border-color: #3a3a3c;
}

body.dark-theme .car-detail__prices {
  background: var(--color-dark-lighter);
  border-color: #3a3a3c;
}

body.dark-theme .car-detail__extra-btn {
  background: var(--color-dark-lighter);
  border-color: #3a3a3c;
  color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .car-detail__tradein {
  background: rgba(16, 167, 240, 0.1);
}


body.dark-theme .car-detail__specs-table tr {
  border-color: #3a3a3c;
}

body.dark-theme .car-detail__price-row + .car-detail__price-row {
  border-color: #3a3a3c;
}


/* ===========================
   Reviews Page
   =========================== */
.reviews-page {
  padding: 48px 0 80px;
}

.reviews-page__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.reviews-page__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.reviews-page__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.6;
}

.reviews-page__stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.reviews-page__stat {
  text-align: center;
}

.reviews-page__stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.reviews-page__stat-stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 6px;
}

.reviews-page__stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Review Card */
.reviews-page__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all 0.3s;
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(16, 167, 240, 0.2);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-card__author {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.review-card__date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.review-card__date i {
  margin-right: 4px;
}

.review-card__author-info {
  flex: 1;
}

.review-card__rating {
  color: #f5a623;
  font-size: 15px;
  display: flex;
  gap: 2px;
}

.review-card__rating .far {
  color: var(--color-border);
}

.review-card__car {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-light-gray);
  border-radius: 50px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.review-card__car i {
  color: var(--color-orange);
  font-size: 13px;
}

.review-card__car a {
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.2s;
}

.review-card__car a:hover {
  color: var(--color-orange);
}

.review-card__car-badge {
  font-size: 11px;
  padding: 2px 8px;
}

.review-card__text {
  margin-bottom: 16px;
}

.review-card__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.review-card__photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.review-card__photo {
  width: 120px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  transition: all 0.3s;
}

.review-card__photo:hover {
  border-color: var(--color-orange);
  transform: scale(1.05);
}

.review-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pagination */
.reviews-page__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.reviews-page__pagination-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 14px;
  transition: all 0.2s;
}

.reviews-page__pagination-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.reviews-page__pagination-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.reviews-page__pagination-num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}

.reviews-page__pagination-num:hover {
  background: var(--color-light-gray);
  color: var(--color-orange);
}

.reviews-page__pagination-num--active {
  background: var(--color-orange);
  color: #fff;
}

.reviews-page__pagination-num--active:hover {
  background: var(--color-orange-hover);
  color: #fff;
}

.reviews-page__pagination-dots {
  width: 40px;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Dark theme - Reviews */
body.dark-theme .review-card {
  background: var(--color-dark-lighter);
  border-color: #3a3a3c;
}

body.dark-theme .review-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(16, 167, 240, 0.3);
}

body.dark-theme .review-card__car {
  background: #3a3a3c;
}

body.dark-theme .review-card__rating .far {
  color: #3a3a3c;
}

body.dark-theme .reviews-page__pagination-btn {
  background: var(--color-dark-lighter);
  border-color: #3a3a3c;
  color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .reviews-page__pagination-num:hover {
  background: #3a3a3c;
}

body.dark-theme .reviews-page__header {
  border-color: #3a3a3c;
}

/* ===========================
   Responsive - Pages
   =========================== */
@media (max-width: 1199px) {
  .news-single__layout {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }

  .car-detail__layout {
    grid-template-columns: 1fr 340px;
    gap: 32px;
  }

  .car-detail__quick-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-team {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-single__layout {
    grid-template-columns: 1fr;
  }

  .news-single__sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-sidebar-widget {
    margin-bottom: 0;
  }

  .page-header__title {
    font-size: 28px;
  }

  .news-single__title {
    font-size: 28px;
  }

  .news-single__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .car-detail__layout {
    grid-template-columns: 1fr;
  }

  .car-detail__sidebar-sticky {
    position: static;
  }

  .car-detail__sidebar-header {
    display: none;
  }

  .car-detail__mobile-header {
    display: block;
  }

  .car-detail__quick-specs {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-page__header {
    flex-direction: column;
    gap: 24px;
  }

  .reviews-page__stats {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .about-team {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-single__sidebar {
    grid-template-columns: 1fr;
  }

  .news-single__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .car-detail__quick-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .car-detail {
    padding: 24px 0 60px;
  }

  .car-detail__gallery-thumbs {
    gap: 6px;
  }

  .car-detail__thumb {
    width: 90px;
  }

  .car-detail__extra-actions {
    flex-wrap: wrap;
  }

  .callback-btn span {
    display: none;
  }

  .callback-btn {
    padding: 16px;
    border-radius: 50%;
  }

  .callback-btn i {
    font-size: 22px;
  }

  .news-single__nav {
    flex-wrap: wrap;
  }

  .news-single__nav-link {
    font-size: 13px;
    padding: 12px 16px;
  }

  .news-single__nav-link span {
    display: none;
  }

  .news-single__nav-link--all span {
    display: inline;
  }

  .news-single__share {
    flex-wrap: wrap;
  }

  .static-page,
  .news-section,
  .news-single {
    padding: 32px 0 60px;
  }

  .page-header {
    padding: 24px 0;
  }

  .page-header__title {
    font-size: 24px;
  }

  .news-section .pagination__btn {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .news-section .pagination__dots {
    min-width: 32px;
  }

  .reviews-page {
    padding: 32px 0 60px;
  }

  .reviews-page__title {
    font-size: 24px;
  }

  .reviews-page__stats {
    gap: 20px;
  }

  .reviews-page__stat-value {
    font-size: 24px;
  }

  .review-card {
    padding: 20px;
  }

  .review-card__header {
    flex-wrap: wrap;
  }

  .review-card__photo {
    width: 100px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .about-team {
    grid-template-columns: 1fr;
  }

  .about-team-member__photo {
    width: 100px;
    height: 100px;
  }

  .news-single__title {
    font-size: 22px;
  }

  .news-single__meta {
    gap: 12px;
    font-size: 13px;
  }

  .news-single__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .news-single__gallery img {
    height: 100px;
  }

  .news-section .pagination {
    gap: 4px;
  }

  .news-section .pagination__btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }

  .breadcrumbs {
    padding: 12px 0;
  }

  .breadcrumbs__list li {
    font-size: 13px;
  }

  .breadcrumbs__list li:last-child {
    max-width: 180px;
  }

  .breadcrumbs__sep {
    width: 20px;
  }

  .car-detail__sidebar-title {
    font-size: 22px;
  }

  .car-detail__price-value--accent {
    font-size: 18px;
  }

  .car-detail__specs-table td:first-child {
    width: 50%;
  }

  .reviews-page__stats {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .reviews-page__stat {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .reviews-page__stat-value {
    font-size: 20px;
    margin-bottom: 0;
  }

  .reviews-page__stat-stars {
    margin-bottom: 0;
  }

  .review-card {
    padding: 16px;
  }

  .review-card__rating {
    font-size: 13px;
  }

  .review-card__photo {
    width: 80px;
    height: 60px;
  }

  .review-card__text p {
    font-size: 14px;
  }
}

/* ===========================
   Search Modal
   =========================== */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2100;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px 24px;
}

.search-overlay--visible {
  display: flex;
}

.search-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  animation: modalIn 0.25s ease;
  overflow: hidden;
}

.search-modal__header {
  padding: 20px 20px 0;
  position: relative;
}

.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0 16px;
  transition: border-color 0.2s;
}

.search-modal__input-wrap:focus-within {
  border-color: var(--color-orange);
}

.search-modal__input-wrap i {
  color: var(--color-text-muted);
  font-size: 18px;
  flex-shrink: 0;
}

.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: transparent;
}

.search-modal__input::placeholder {
  color: var(--color-text-muted);
}

.search-modal__kbd {
  flex-shrink: 0;
  font-size: 11px;
  padding: 3px 7px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-muted);
  background: var(--color-light-gray);
  font-family: monospace;
}

.search-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px 20px;
}

.search-section {
  margin-bottom: 16px;
}

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

.search-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 6px;
}

.search-section__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-section__title i {
  font-size: 14px;
  color: var(--color-orange);
}

.search-section__count {
  font-size: 12px;
  color: var(--color-text-muted);
}

.search-section__link {
  font-size: 12px;
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 600;
}

.search-section__link:hover {
  text-decoration: underline;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.15s;
}

.search-item:hover {
  background: var(--color-light-gray);
}

.search-item__img {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-light-gray);
  flex-shrink: 0;
}

.search-item__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-text-muted);
}

.search-item__info {
  flex: 1;
  min-width: 0;
}

.search-item__name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item__price {
  font-size: 13px;
  color: var(--color-orange);
  font-weight: 600;
}

.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
}

.search-empty i {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

.search-empty p {
  font-size: 15px;
  margin: 0;
}

.search-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
}

.search-loading i {
  font-size: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-hint {
  text-align: center;
  padding: 30px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.search-hint i {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  opacity: 0.3;
}

/* Dark theme */
[data-theme="dark"] .search-modal {
  background: var(--color-dark-card);
}

[data-theme="dark"] .search-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 576px) {
  .search-overlay {
    padding: 20px 12px;
  }

  .search-modal__kbd {
    display: none;
  }
}

/* ===========================
   Price Note (cards & detail)
   =========================== */
.car-card__price-note,
.car-detail__price-note {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* ===========================
   Customs Breakdown Block
   =========================== */
.customs-breakdown {
  background: #f8f9fa;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.customs-breakdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.customs-breakdown__title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.customs-breakdown__title i {
  color: var(--color-orange, #f37021);
  margin-right: 4px;
}

.customs-breakdown__toggle {
  display: flex;
  gap: 0;
  background: #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.customs-breakdown__tab {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.customs-breakdown__tab--active {
  background: var(--color-orange, #f37021);
  color: #fff;
  border-radius: 5px;
}

.customs-breakdown__tab:hover:not(.customs-breakdown__tab--active) {
  color: #333;
}

.customs-breakdown__section {
  margin-bottom: 4px;
}

.customs-breakdown__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 3px 0;
  font-size: 13px;
  color: #555;
}

.customs-breakdown__row--label {
  font-weight: 600;
  color: #333;
  font-size: 13px;
  margin-bottom: 2px;
}

.customs-breakdown__row--currency {
  padding-left: 8px;
  font-size: 12px;
  color: #777;
}

.customs-breakdown__row--rub {
  font-weight: 600;
  color: #333;
}

.customs-breakdown__row--subtotal {
  font-weight: 600;
  color: #333;
  padding: 4px 0;
}

.customs-breakdown__row--total {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-orange, #f37021);
  padding: 6px 0;
}

.customs-breakdown__divider {
  height: 1px;
  background: #dee2e6;
  margin: 6px 0;
}

.customs-breakdown__footer {
  margin-top: 8px;
  text-align: center;
}

.customs-breakdown__footer small {
  font-size: 11px;
  color: #aaa;
}
