/* MotoExpert 1.4.7 — karty sprzedanych samochodów */
.auto-card-sold .auto-card-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

.auto-card-sold .auto-card-image-wrap img,
.auto-card-sold > img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.auto-card-sold .auto-card-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 18, 28, 0.78) 0%, rgba(6, 18, 28, 0.45) 28%, rgba(6, 18, 28, 0.10) 52%, rgba(6, 18, 28, 0.00) 72%);
  pointer-events: none;
}

.auto-card-sold .auto-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.auto-card-sold-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(10, 18, 28, 0.55);
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  pointer-events: none;
}

.auto-card-sold .auto-card-image-wrap a,
.auto-card-sold .auto-card-image-wrap img {
  display: block;
  width: 100%;
}

@media (max-width: 767px) {
  .auto-card-sold-badge {
    min-width: 142px;
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: .12em;
  }
}

/* MotoExpert 1.5.1 — sprzedane: zdjęcie kolorowe + czerwony napis */
.auto-card-sold .auto-card-image-wrap img,
.auto-card-sold > img {
  filter: none !important;
  -webkit-filter: none !important;
}

.auto-card-sold .auto-card-image-wrap::before {
  background:
    linear-gradient(to top, rgba(6, 18, 28, 0.58) 0%, rgba(6, 18, 28, 0.28) 34%, rgba(6, 18, 28, 0.04) 70%) !important;
}

.auto-card-sold-badge {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  min-width: 170px !important;
  padding: 14px 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  background: #d71920 !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  box-shadow: 0 18px 42px rgba(215,25,32,.35) !important;
  backdrop-filter: none !important;
}


/* MotoExpert 1.5.9 — układ pojedynczego ogłoszenia */
.mx-car-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr) !important;
  gap: 28px !important;
  align-items: start !important;
  max-width: 1120px !important;
  margin: 34px auto 0 !important;
}

.mx-car-spec-card,
.mx-car-equipment-card,
.mx-car-map-card {
  border-radius: 18px !important;
}

.mx-car-equipment-card {
  align-self: start !important;
}

.mx-car-equipment-card ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  columns: 1 !important;
}

.mx-car-equipment-card li {
  margin: 8px 0 !important;
  line-height: 1.45 !important;
}

.mx-car-map-card {
  max-width: 1120px !important;
  margin: 28px auto 0 !important;
}

.mx-google-map {
  width: 100% !important;
  height: 360px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #eef3f6 !important;
}

.mx-google-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* Poprawka przycisku Formularz kontaktowy w boxie zapytania */
.mx-car-contact-card a,
.car-contact-card a,
.auto-contact-card a,
.motoexpert-contact-card a,
.single-samochod .sidebar a,
.single-samochod aside a {
  text-decoration: none !important;
}

.mx-car-contact-card .button,
.mx-car-contact-card a.button,
.car-contact-card .button,
.car-contact-card a.button,
.auto-contact-card .button,
.auto-contact-card a.button,
.motoexpert-contact-card .button,
.motoexpert-contact-card a.button,
.single-samochod .sidebar a[href*="kontakt"],
.single-samochod aside a[href*="kontakt"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 2px solid #0b3b4a !important;
  background: #fff !important;
  color: #0b3b4a !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

.mx-car-contact-card .button:hover,
.mx-car-contact-card a.button:hover,
.car-contact-card .button:hover,
.car-contact-card a.button:hover,
.auto-contact-card .button:hover,
.auto-contact-card a.button:hover,
.motoexpert-contact-card .button:hover,
.motoexpert-contact-card a.button:hover,
.single-samochod .sidebar a[href*="kontakt"]:hover,
.single-samochod aside a[href*="kontakt"]:hover {
  background: #0b3b4a !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .mx-car-details-grid {
    grid-template-columns: 1fr !important;
  }

  .mx-google-map {
    height: 300px !important;
  }
}


/* MotoExpert 1.6.0 — profesjonalny widok pojedynczego ogłoszenia */
.single-samochod .mx-car-info-section {
  width: min(1120px, calc(100% - 40px));
  margin: 38px auto 0;
}

.single-samochod .mx-car-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr) !important;
  gap: 30px !important;
  align-items: start !important;
  max-width: none !important;
  margin: 0 !important;
}

.single-samochod .mx-car-spec-card,
.single-samochod .mx-car-equipment-card,
.single-samochod .mx-car-map-card {
  background: #fff !important;
  border: 1px solid rgba(16,42,58,.08) !important;
  border-radius: 22px !important;
  box-shadow: 0 22px 60px rgba(16,42,58,.08) !important;
  padding: 28px !important;
  box-sizing: border-box !important;
}

.single-samochod .mx-card-head {
  margin-bottom: 18px !important;
}

.single-samochod .mx-card-head span {
  display: inline-block !important;
  margin-bottom: 7px !important;
  color: #f58214 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.single-samochod .mx-card-head h2,
.single-samochod .mx-car-spec-card h2,
.single-samochod .mx-car-equipment-card h2,
.single-samochod .mx-car-map-card h2 {
  margin: 0 !important;
  color: #102a3a !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.single-samochod .mx-car-spec-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  margin: 0 !important;
}

.single-samochod .mx-car-spec-table tr {
  border-bottom: 1px solid #edf1f4 !important;
}

.single-samochod .mx-car-spec-table tr:last-child {
  border-bottom: 0 !important;
}

.single-samochod .mx-car-spec-table th,
.single-samochod .mx-car-spec-table td {
  padding: 12px 0 !important;
  border: 0 !important;
  vertical-align: top !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.single-samochod .mx-car-spec-table th {
  width: 42% !important;
  padding-right: 20px !important;
  color: #102a3a !important;
  font-weight: 900 !important;
  text-align: left !important;
}

.single-samochod .mx-car-spec-table td {
  color: #314d5f !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.single-samochod .mx-car-equipment-card {
  position: sticky !important;
  top: 96px !important;
}

.single-samochod .mx-car-equipment-card ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  columns: auto !important;
}

.single-samochod .mx-car-equipment-card li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  background: #f6f9fb !important;
  color: #102a3a !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.single-samochod .mx-car-equipment-card li span {
  color: #f58214 !important;
  font-weight: 900 !important;
}

.single-samochod .mx-car-map-card {
  margin: 30px 0 0 !important;
  padding: 28px !important;
  max-width: none !important;
}

.single-samochod .mx-google-map {
  position: relative !important;
  width: 100% !important;
  height: 360px !important;
  margin-top: 16px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid #dfe7ec !important;
  background: #eef3f6 !important;
}

.single-samochod .mx-google-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}

/* Nagłówkowa cena z motywu — wymuszenie czytelnego stylu, gdy motyw pobiera meta */
.single-samochod .entry-header .price,
.single-samochod .single-car-price,
.single-samochod .car-price,
.single-samochod [class*="price"] {
  letter-spacing: .01em;
}

/* Box Zapytaj o samochód */
.single-samochod .mx-car-contact-card,
.single-samochod .car-contact-card,
.single-samochod .auto-contact-card,
.single-samochod .motoexpert-contact-card,
.single-samochod aside .auto-specyfikacja,
.single-samochod aside [class*="contact"] {
  border-radius: 20px !important;
}

.single-samochod .mx-car-contact-card a,
.single-samochod .car-contact-card a,
.single-samochod .auto-contact-card a,
.single-samochod .motoexpert-contact-card a,
.single-samochod aside a[href*="kontakt"] {
  text-decoration: none !important;
}

.single-samochod .mx-car-contact-card a.button,
.single-samochod .car-contact-card a.button,
.single-samochod .auto-contact-card a.button,
.single-samochod .motoexpert-contact-card a.button,
.single-samochod aside a[href*="kontakt"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  border: 2px solid #0b3b4a !important;
  background: #fff !important;
  color: #0b3b4a !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

.single-samochod .mx-car-contact-card a.button:hover,
.single-samochod .car-contact-card a.button:hover,
.single-samochod .auto-contact-card a.button:hover,
.single-samochod .motoexpert-contact-card a.button:hover,
.single-samochod aside a[href*="kontakt"]:hover {
  background: #0b3b4a !important;
  color: #fff !important;
}

@media (max-width: 980px) {
  .single-samochod .mx-car-info-section {
    width: min(100% - 24px, 720px);
  }

  .single-samochod .mx-car-details-grid {
    grid-template-columns: 1fr !important;
  }

  .single-samochod .mx-car-equipment-card {
    position: static !important;
  }

  .single-samochod .mx-google-map {
    height: 320px !important;
  }
}

@media (max-width: 560px) {
  .single-samochod .mx-car-spec-card,
  .single-samochod .mx-car-equipment-card,
  .single-samochod .mx-car-map-card {
    padding: 20px !important;
    border-radius: 18px !important;
  }

  .single-samochod .mx-car-spec-table th,
  .single-samochod .mx-car-spec-table td {
    display: block !important;
    width: 100% !important;
    padding: 7px 0 !important;
  }

  .single-samochod .mx-car-spec-table th {
    padding-bottom: 0 !important;
  }

  .single-samochod .mx-google-map {
    height: 280px !important;
  }
}


/* MotoExpert 1.6.1 — pojedyncze ogłoszenie: bez mapy, czystsze nagłówki, hero */
.single-samochod .mx-card-head span {
  display: none !important;
}

.single-samochod .mx-car-map-card,
.single-samochod .mx-google-map {
  display: none !important;
}

.single-samochod .entry-header,
.single-samochod .mx-single-hero,
.single-samochod .car-hero,
.single-samochod .single-car-hero,
.single-samochod .page-hero,
.single-samochod .motoexpert-hero {
  min-height: 210px !important;
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.single-samochod .entry-header h1,
.single-samochod .mx-single-hero h1,
.single-samochod .car-hero h1,
.single-samochod .single-car-hero h1,
.single-samochod .page-hero h1,
.single-samochod .motoexpert-hero h1 {
  text-shadow: 0 8px 26px rgba(0,0,0,.28) !important;
}

.single-samochod .mx-car-info-section {
  margin-top: 42px !important;
}

.single-samochod .mx-card-head {
  padding-bottom: 16px !important;
  border-bottom: 1px solid #edf1f4 !important;
}

.single-samochod .mx-card-head h2 {
  font-size: 26px !important;
  letter-spacing: -.02em !important;
}


/* MotoExpert 1.6.2 — dekoracja w belce tytułowej ogłoszenia */
.single-samochod .entry-header,
.single-samochod .mx-single-hero,
.single-samochod .car-hero,
.single-samochod .single-car-hero,
.single-samochod .page-hero,
.single-samochod .motoexpert-hero {
  min-height: 240px !important;
}

.single-samochod .entry-header .price,
.single-samochod .mx-single-hero .price,
.single-samochod .car-hero .price,
.single-samochod .single-car-hero .price,
.single-samochod .page-hero .price,
.single-samochod .motoexpert-hero .price {
  display: inline-block !important;
  margin-top: 10px !important;
}


/* MotoExpert 1.6.4 — belka premium, grafika półprzezroczysta, meta ogłoszenia */
.single-samochod .mx-hero-enhanced {
  display: flex !important;
  align-items: center !important;
}

.single-samochod .mx-hero-copy {
  width: min(1120px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 3 !important;
}

.single-samochod .mx-hero-title,
.single-samochod .entry-header h1,
.single-samochod .mx-single-hero h1,
.single-samochod .car-hero h1,
.single-samochod .single-car-hero h1,
.single-samochod .page-hero h1,
.single-samochod .motoexpert-hero h1 {
  max-width: 560px !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
  text-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}

.single-samochod .mx-hero-price,
.single-samochod .entry-header .price,
.single-samochod .single-car-price,
.single-samochod .car-price {
  display: block !important;
  margin: 0 0 10px !important;
  color: #ff8a14 !important;
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 12px 30px rgba(0,0,0,.28) !important;
}

.single-samochod .mx-hero-subline {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 620px !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: clamp(13px, 1.2vw, 15px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  backdrop-filter: blur(8px) !important;
}

@media (max-width: 760px) {
  .single-samochod .mx-hero-copy {
    width: calc(100% - 28px) !important;
  }

  .single-samochod .mx-hero-subline {
    border-radius: 16px !important;
  }
}

/* MotoExpert 1.6.4 — panel ustawień grafiki */
.motoexpert-appearance-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  max-width: 760px;
  padding: 18px;
  border: 1px solid #dcdcde;
  border-radius: 14px;
  background: linear-gradient(90deg, #052c3a, #123f4d);
  overflow: hidden;
  margin: 14px 0;
}

.motoexpert-appearance-preview img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  opacity: .68;
}

.motoexpert-appearance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* MotoExpert 1.10.14 — realne działanie ustawień Wygląd ogłoszenia */
.single-samochod .mx-car-details-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-samochod .mx-car-spec-card,
.single-samochod .mx-car-equipment-card {
  width: 100% !important;
  max-width: 100% !important;
}

.single-samochod .mx-car-spec-table {
  display: none !important;
}

.single-samochod .mx-car-spec-grid {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-data-columns, 3), minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.single-samochod .mx-data-cols-1 .mx-car-spec-grid { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.single-samochod .mx-data-cols-2 .mx-car-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.single-samochod .mx-data-cols-3 .mx-car-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.single-samochod .mx-data-cols-4 .mx-car-spec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.single-samochod .mx-spec-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-height: 74px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  border-radius: 14px !important;
  background: #f6f9fb !important;
  box-sizing: border-box !important;
}

.single-samochod .mx-spec-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  color: #708493 !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.single-samochod .mx-spec-value {
  font-size: 14px !important;
  color: #062638 !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

.single-samochod .mx-spec-item.mx-spec-highlight {
  background: #fff4ea !important;
  border-color: rgba(245,130,20,.35) !important;
  box-shadow: 0 8px 18px rgba(245,130,20,.08) !important;
}

.single-samochod .mx-spec-item.mx-spec-highlight .mx-spec-value {
  color: var(--mx-accent, #f58214) !important;
}

.single-samochod .mx-car-equipment-card ul,
.single-samochod .mx-car-equipment-card .mx-equipment-list {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-equipment-columns, 3), minmax(0, 1fr)) !important;
  gap: 10px !important;
  columns: auto !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-samochod .mx-equipment-cols-1 .mx-car-equipment-card ul { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.single-samochod .mx-equipment-cols-2 .mx-car-equipment-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.single-samochod .mx-equipment-cols-3 .mx-car-equipment-card ul { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.single-samochod .mx-equipment-cols-4 .mx-car-equipment-card ul { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.single-samochod .mx-car-equipment-card li {
  display: flex !important;
  gap: 8px !important;
  align-items: flex-start !important;
  min-height: 42px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  border-radius: 14px !important;
  background: #f6f9fb !important;
  color: #062638 !important;
  font-weight: 750 !important;
  break-inside: auto !important;
  box-sizing: border-box !important;
}

.single-samochod .mx-car-equipment-card li span {
  color: var(--mx-accent, #f58214) !important;
  font-weight: 900 !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-list ul,
.single-samochod .mx-car-details-grid.mx-equipment-style-list .mx-car-equipment-card ul {
  display: block !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-list li,
.single-samochod .mx-car-details-grid.mx-equipment-style-list .mx-car-equipment-card li {
  min-height: 0 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-compact li,
.single-samochod .mx-car-details-grid.mx-equipment-style-compact .mx-car-equipment-card li {
  min-height: 0 !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  border-radius: 12px !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-icon-none li span,
.single-samochod .mx-car-details-grid.mx-equipment-icon-none .mx-car-equipment-card li span {
  display: none !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-icon-dot li span,
.single-samochod .mx-car-details-grid.mx-equipment-icon-dot .mx-car-equipment-card li span {
  font-size: 20px !important;
  line-height: .9 !important;
}

.single-samochod .mx-single-car-layout.mx-single-layout-sidebar_right {
  grid-template-columns: minmax(0, 1fr) 300px !important;
}

.single-samochod .mx-single-car-layout.mx-single-layout-wide {
  grid-template-columns: minmax(0, 1fr) 340px !important;
}

.single-samochod .mx-single-car-layout.mx-single-layout-no_sidebar,
.single-samochod .mx-single-car-layout.mx-single-no-sidebar {
  grid-template-columns: minmax(0, 1fr) !important;
}

.single-samochod .mx-single-car-layout.mx-single-layout-no_sidebar .mx-single-car-side,
.single-samochod .mx-single-car-layout.mx-single-no-sidebar .mx-single-car-side {
  display: none !important;
}

.single-samochod .mx-contact-buttons-hidden .mx-single-contact-card {
  display: none !important;
}

@media (max-width: 1024px) {
  .single-samochod .mx-single-car-layout.mx-single-layout-sidebar_right,
  .single-samochod .mx-single-car-layout.mx-single-layout-wide {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .single-samochod .mx-car-spec-grid,
  .single-samochod .mx-car-equipment-card ul,
  .single-samochod .mx-car-equipment-card .mx-equipment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-car-spec-grid,
  .single-samochod .mx-car-equipment-card ul,
  .single-samochod .mx-car-equipment-card .mx-equipment-list {
    grid-template-columns: 1fr !important;
  }
}


/* MotoExpert 1.10.15 / 2.5.76 — twarda poprawka wyposażenia: kolumny i styl prezentacji */
.single-samochod .mx-car-equipment-card .mx-equipment-list,
.single-samochod .mx-car-details-grid .mx-car-equipment-card .mx-equipment-list,
.single-samochod .auto-specyfikacja.mx-car-equipment-card ul.mx-equipment-list {
  columns: auto !important;
  column-count: auto !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-cols-1 .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-cols-1 .mx-car-equipment-card .mx-equipment-list {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-cols-2 .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-cols-2 .mx-car-equipment-card .mx-equipment-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-cols-3 .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-cols-3 .mx-car-equipment-card .mx-equipment-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-cols-4 .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-cols-4 .mx-car-equipment-card .mx-equipment-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-equipment-card .mx-equipment-item,
.single-samochod .mx-car-equipment-card li.mx-equipment-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  border-radius: 14px !important;
  background: #f6f9fb !important;
  color: #062638 !important;
  font-weight: 750 !important;
  break-inside: avoid !important;
  box-sizing: border-box !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-list .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-style-list .mx-car-equipment-card .mx-equipment-list,
.single-samochod .mx-car-equipment-card[data-equipment-style="list"] .mx-equipment-list {
  display: block !important;
  grid-template-columns: none !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-list .mx-equipment-item,
.single-samochod .mx-car-details-grid.mx-equipment-style-list .mx-car-equipment-card .mx-equipment-item,
.single-samochod .mx-car-equipment-card[data-equipment-style="list"] .mx-equipment-item {
  min-height: 0 !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 10px 0 !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-compact .mx-equipment-list,
.single-samochod .mx-car-details-grid.mx-equipment-style-compact .mx-car-equipment-card .mx-equipment-list,
.single-samochod .mx-car-equipment-card[data-equipment-style="compact"] .mx-equipment-list {
  display: grid !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-style-compact .mx-equipment-item,
.single-samochod .mx-car-details-grid.mx-equipment-style-compact .mx-car-equipment-card .mx-equipment-item,
.single-samochod .mx-car-equipment-card[data-equipment-style="compact"] .mx-equipment-item {
  min-height: 0 !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  border-radius: 12px !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-icon-none .mx-equipment-item span,
.single-samochod .mx-car-details-grid.mx-equipment-icon-none .mx-car-equipment-card .mx-equipment-item span {
  display: none !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-icon-dot .mx-equipment-item span,
.single-samochod .mx-car-details-grid.mx-equipment-icon-dot .mx-car-equipment-card .mx-equipment-item span {
  font-size: 20px !important;
  line-height: .9 !important;
}

@media (max-width: 900px) {
  .single-samochod .mx-car-equipment-card.mx-equipment-cols-3 .mx-equipment-list,
  .single-samochod .mx-car-equipment-card.mx-equipment-cols-4 .mx-equipment-list,
  .single-samochod .mx-car-details-grid.mx-equipment-cols-3 .mx-car-equipment-card .mx-equipment-list,
  .single-samochod .mx-car-details-grid.mx-equipment-cols-4 .mx-car-equipment-card .mx-equipment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-car-equipment-card .mx-equipment-list,
  .single-samochod .mx-car-details-grid .mx-car-equipment-card .mx-equipment-list {
    grid-template-columns: 1fr !important;
  }
}


/* MotoExpert 1.10.16 / 2.5.77 — twarda poprawka: Kolory i styl */
.single-samochod .mx-single-car-layout,
.single-samochod .mx-single-listing-hero {
  --mx-accent: var(--mx-accent, #f58214);
  --mx-card-radius: var(--mx-card-radius, 24px);
}

.single-samochod .mx-single-car-layout .mx-btn,
.single-samochod .mx-single-car-layout .button,
.single-samochod .mx-single-contact-card .mx-btn {
  background: var(--mx-accent) !important;
  border-color: var(--mx-accent) !important;
  color: #fff !important;
}

.single-samochod .mx-single-car-layout .mx-btn-outline,
.single-samochod .mx-single-contact-card .mx-btn-outline {
  background: transparent !important;
  color: var(--mx-accent) !important;
  border-color: var(--mx-accent) !important;
}

.single-samochod .mx-single-hero-price,
.single-samochod .mx-spec-item.mx-spec-highlight .mx-spec-value,
.single-samochod .mx-car-equipment-card li span,
.single-samochod .motoexpert-media-card a,
.single-samochod .motoexpert-sidebar-media a {
  color: var(--mx-accent) !important;
}

.single-samochod .mx-spec-item.mx-spec-highlight {
  background: color-mix(in srgb, var(--mx-accent) 10%, #fff) !important;
  border-color: color-mix(in srgb, var(--mx-accent) 34%, transparent) !important;
}

.single-samochod .mx-single-description-card,
.single-samochod .auto-specyfikacja,
.single-samochod .mx-single-contact-card,
.single-samochod .motoexpert-media-card,
.single-samochod .motoexpert-sidebar-media,
.single-samochod .mx-car-gallery-main,
.single-samochod .mx-car-gallery-thumb,
.single-samochod .mx-spec-item,
.single-samochod .mx-car-equipment-card li {
  border-radius: var(--mx-card-radius) !important;
}

.single-samochod .mx-car-gallery-main {
  overflow: hidden !important;
}

.single-samochod .mx-single-shadow-none .mx-single-description-card,
.single-samochod .mx-single-shadow-none .auto-specyfikacja,
.single-samochod .mx-single-shadow-none .mx-single-contact-card,
.single-samochod .mx-single-shadow-none .motoexpert-media-card,
.single-samochod .mx-single-shadow-none .motoexpert-sidebar-media,
.single-samochod .mx-single-shadow-none .mx-car-gallery-main {
  box-shadow: none !important;
}

.single-samochod .mx-single-shadow-small .mx-single-description-card,
.single-samochod .mx-single-shadow-small .auto-specyfikacja,
.single-samochod .mx-single-shadow-small .mx-single-contact-card,
.single-samochod .mx-single-shadow-small .motoexpert-media-card,
.single-samochod .mx-single-shadow-small .motoexpert-sidebar-media,
.single-samochod .mx-single-shadow-small .mx-car-gallery-main {
  box-shadow: 0 8px 20px rgba(6,29,42,.06) !important;
}

.single-samochod .mx-single-shadow-medium .mx-single-description-card,
.single-samochod .mx-single-shadow-medium .auto-specyfikacja,
.single-samochod .mx-single-shadow-medium .mx-single-contact-card,
.single-samochod .mx-single-shadow-medium .motoexpert-media-card,
.single-samochod .mx-single-shadow-medium .motoexpert-sidebar-media,
.single-samochod .mx-single-shadow-medium .mx-car-gallery-main {
  box-shadow: 0 20px 45px rgba(6,29,42,.075) !important;
}

.single-samochod .mx-single-shadow-large .mx-single-description-card,
.single-samochod .mx-single-shadow-large .auto-specyfikacja,
.single-samochod .mx-single-shadow-large .mx-single-contact-card,
.single-samochod .mx-single-shadow-large .motoexpert-media-card,
.single-samochod .mx-single-shadow-large .motoexpert-sidebar-media,
.single-samochod .mx-single-shadow-large .mx-car-gallery-main {
  box-shadow: 0 30px 80px rgba(6,29,42,.16) !important;
}

.single-samochod .mx-single-style-light .mx-single-description-card,
.single-samochod .mx-single-style-light .auto-specyfikacja,
.single-samochod .mx-single-style-light .mx-single-contact-card,
.single-samochod .mx-single-style-light .motoexpert-media-card,
.single-samochod .mx-single-style-light .motoexpert-sidebar-media {
  background: #fff !important;
  border: 1px solid rgba(11,42,59,.07) !important;
}

.single-samochod .mx-single-style-minimal .mx-single-description-card,
.single-samochod .mx-single-style-minimal .auto-specyfikacja,
.single-samochod .mx-single-style-minimal .mx-single-contact-card,
.single-samochod .mx-single-style-minimal .motoexpert-media-card,
.single-samochod .mx-single-style-minimal .motoexpert-sidebar-media {
  background: #fff !important;
  border: 1px solid rgba(11,42,59,.04) !important;
  box-shadow: none !important;
}

.single-samochod .mx-single-style-minimal .mx-spec-item,
.single-samochod .mx-single-style-minimal .mx-car-equipment-card li {
  background: #fff !important;
  border-color: rgba(11,42,59,.07) !important;
}

.single-samochod .mx-single-style-contrast .mx-single-description-card,
.single-samochod .mx-single-style-contrast .auto-specyfikacja,
.single-samochod .mx-single-style-contrast .mx-single-contact-card,
.single-samochod .mx-single-style-contrast .motoexpert-media-card,
.single-samochod .mx-single-style-contrast .motoexpert-sidebar-media {
  background: #f1f6f9 !important;
  border: 1px solid rgba(11,42,59,.14) !important;
}

.single-samochod .mx-single-style-contrast .mx-spec-item,
.single-samochod .mx-single-style-contrast .mx-car-equipment-card li {
  background: #fff !important;
  border-color: rgba(11,42,59,.12) !important;
}

.single-samochod .mx-single-style-contrast .mx-card-head h2,
.single-samochod .mx-single-style-contrast .mx-single-contact-card h2,
.single-samochod .mx-single-style-contrast .mx-single-description-card h1,
.single-samochod .mx-single-style-contrast .mx-single-description-card h2,
.single-samochod .mx-single-style-contrast .mx-single-description-card h3 {
  color: #061d2a !important;
}

.single-samochod .mx-single-listing-hero {
  border-bottom: 4px solid var(--mx-accent) !important;
}

.single-samochod .mx-single-listing-hero::after {
  background:
    radial-gradient(circle at 80% 24%, color-mix(in srgb, var(--mx-accent) 18%, transparent), transparent 24%),
    linear-gradient(90deg, rgba(0,48,64,0) 42%, rgba(0,48,64,.12) 100%) !important;
}
