/*
Theme Name: MotoExpert
Theme URI: https://moto-expert.net
Author: MickelK
Description: Dedykowany motyw WordPress dla MotoExpert: strona główna, widoki ofert, podstrony informacyjne, kontakt, slider hero i responsywny układ.
Version: 1.0.5
Text Domain: motoexpert
*/

:root {
  --mx-navy: #0b2a3b;
  --mx-navy-dark: #061d2a;
  --mx-navy-soft: #12384b;
  --mx-orange: #f58214;
  --mx-orange-dark: #d96d08;
  --mx-white: #ffffff;
  --mx-light: #f4f7f9;
  --mx-muted: #8fa4b1;
  --mx-border: rgba(255,255,255,.12);
  --mx-shadow: 0 20px 60px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--mx-light);
  color: #132936;
  line-height: 1.6;
}

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

img { max-width: 100%; height: auto; }

.mx-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mx-topbar {
  background: var(--mx-navy-dark);
  color: var(--mx-white);
  font-size: 14px;
  padding: 8px 0;
}

.mx-topbar .mx-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.mx-header {
  background: rgba(11,42,59,.96);
  color: var(--mx-white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

.mx-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.mx-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mx-logo img {
  max-height: 62px;
  width: auto;
}

.mx-brand-text {
  display: none;
}

.mx-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mx-menu a,
.mx-menu .menu-item a {
  display: inline-block;
  color: var(--mx-white);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.mx-menu a:hover,
.mx-menu .current-menu-item a {
  background: var(--mx-orange);
  color: var(--mx-white);
}

.mx-menu ul {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mx-orange);
  color: var(--mx-white);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 0;
  transition: .2s ease;
}

.mx-btn:hover {
  background: var(--mx-orange-dark);
  transform: translateY(-1px);
}

.mx-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.8);
}

.mx-btn-outline:hover {
  border-color: var(--mx-orange);
  background: var(--mx-orange);
}

.mx-hero {
  min-height: 620px;
  color: var(--mx-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(6,29,42,.72) 0%, rgba(11,42,59,.68) 45%, rgba(11,42,59,.58) 100%);
}

.mx-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mx-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.02);
}

.mx-hero-slide.is-active {
  opacity: 1;
}

.mx-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6,29,42,.82) 0%, rgba(11,42,59,.74) 44%, rgba(11,42,59,.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22));
}


.mx-hero::after { display: none !important; }

.mx-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px 0;
}

.mx-kicker {
  color: var(--mx-orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}

.mx-hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  line-height: .98;
  margin: 0 0 22px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.mx-hero p {
  font-size: clamp(18px, 2vw, 25px);
  color: rgba(255,255,255,.88);
  max-width: 660px;
  margin-bottom: 32px;
}

.mx-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mx-hero-note {
  margin-top: 20px;
  font-size: 15px;
  color: rgba(255,255,255,.76);
}

.mx-hero-note strong {
  color: var(--mx-orange);
}

.mx-section {
  padding: 76px 0;
}

.mx-section-dark {
  background: var(--mx-navy);
  color: var(--mx-white);
}

.mx-section-title {
  margin: 0 0 30px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.mx-section-title span {
  color: var(--mx-orange);
}

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

.mx-card,
.auto-card {
  background: var(--mx-white) !important;
  border: 0 !important;
  border-radius: 22px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(8,35,50,.12);
  margin: 0 0 22px !important;
}

.auto-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.auto-card h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 18px 18px 8px;
}

.auto-card p {
  margin: 8px 18px 16px;
}

.auto-card p:last-child a {
  display: inline-flex;
  background: var(--mx-orange);
  color: var(--mx-white);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.auto-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.liczniki-firmy {
  color: var(--mx-white);
}

.liczniki-firmy > div {
  background: var(--mx-navy-soft);
  border: 1px solid var(--mx-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--mx-shadow);
}

.liczniki-firmy strong {
  color: var(--mx-orange);
}

.mx-about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.mx-about-box {
  background: var(--mx-white);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--mx-shadow);
}

.mx-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.mx-feature-list li {
  padding-left: 28px;
  margin: 12px 0;
  position: relative;
}

.mx-feature-list li::before {
  content: "/";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--mx-orange);
  font-weight: 950;
  font-size: 26px;
}

.mx-page-hero {
  background: linear-gradient(135deg, var(--mx-navy-dark), var(--mx-navy));
  color: var(--mx-white);
  padding: 70px 0;
}

.mx-page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.mx-content {
  padding: 60px 0;
}

.auto-specyfikacja {
  background: var(--mx-white);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--mx-shadow);
  margin-top: 32px;
}

.auto-specyfikacja h2 {
  margin-top: 0;
}

.auto-specyfikacja table {
  width: 100%;
  border-collapse: collapse;
}

.auto-specyfikacja th {
  color: var(--mx-navy);
  width: 34%;
}

.mx-footer {
  background: var(--mx-navy-dark);
  color: rgba(255,255,255,.84);
  padding: 44px 0;
}

.mx-footer strong,
.mx-footer a {
  color: var(--mx-white);
}

.mx-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
}

.mx-footer-logo {
  max-height: 58px;
  margin-bottom: 18px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #d6e0e6;
  border-radius: 14px;
  padding: 13px 15px;
  font: inherit;
}

button,
input[type="submit"] {
  background: var(--mx-orange);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
}



.mx-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,130,20,.18);
  color: #ffd0a3;
  border: 1px solid rgba(245,130,20,.35);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.mx-promo-slogan {
  display: inline-block;
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  font-weight: 700;
  max-width: 650px;
}

.mx-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(6,29,42,.45);
  color: var(--mx-white);
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.mx-hero-arrow:hover {
  background: var(--mx-orange);
}

.mx-hero-arrow-prev { left: 26px; }
.mx-hero-arrow-next { right: 26px; }

.mx-hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.mx-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.35);
}

.mx-hero-dot.is-active {
  width: 32px;
  border-radius: 999px;
  background: var(--mx-orange);
}

.mx-section-light-premium {
  background: linear-gradient(180deg, #f5f7f9 0%, #eef3f6 100%);
}

.mx-section-head-premium {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.mx-section-eyebrow {
  color: var(--mx-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
  font-size: 13px;
}

.mx-section-lead {
  max-width: 760px;
  color: #4e6676;
  font-size: 18px;
  margin-top: 0;
}

.home .auto-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
}

.home .auto-card {
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  grid-template-areas:
    'image title'
    'image meta'
    'image price'
    'image cta';
  align-items: start;
  min-height: 330px;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(8,35,50,.12);
}

.home .auto-card > a:first-child {
  grid-area: image;
  height: 100%;
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.home .auto-card h3 {
  grid-area: title;
  margin: 28px 24px 10px;
  font-size: 30px;
}

.home .auto-card p:nth-of-type(1) {
  grid-area: meta;
  color: #536d7b;
  font-size: 17px;
  margin: 0 24px 10px;
}

.home .auto-card p:nth-of-type(2) {
  grid-area: price;
  font-size: 28px;
  font-weight: 900;
  color: var(--mx-navy);
  margin: 4px 24px 18px;
}

.home .auto-card p:last-child {
  grid-area: cta;
  margin: 0 24px 28px;
}

.home .auto-card p:last-child a {
  padding: 13px 18px;
  font-size: 15px;
}

.home .auto-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mx-orange), transparent);
}

@media (max-width: 900px) {
  .mx-header-inner,
  .mx-topbar .mx-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .mx-menu,
  .mx-menu ul {
    justify-content: flex-start;
  }

  .mx-hero {
    min-height: 520px;
  }

  .auto-list,
  .mx-grid,
  .mx-about,
  .mx-footer-grid,
  .home .auto-list {
    grid-template-columns: 1fr;
  }

  .home .auto-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      'image'
      'title'
      'meta'
      'price'
      'cta';
    min-height: 0;
  }

  .home .auto-card > a:first-child {
    height: auto;
  }

  .home .auto-card > a:first-child img,
  .home .auto-card .motoexpert-car-img,
  .home .auto-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .mx-section-head-premium {
    flex-direction: column;
    align-items: flex-start;
  }

  .mx-hero-arrow {
    width: 42px;
    height: 42px;
  }

  .mx-hero-arrow-prev { left: 14px; }
  .mx-hero-arrow-next { right: 14px; }
}



.motoexpert-car-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--mx-navy);
}

/* MotoExpert 1.3.0 — poprawki strony głównej */
.home .mx-hero-note {
  display: none !important;
}

.home .auto-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.home .auto-card {
  grid-template-columns: minmax(320px, 48%) 1fr;
  min-height: 340px;
}

.home .auto-card > a:first-child {
  background: #eef3f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #eef3f6;
  aspect-ratio: auto;
}

.home .auto-card::after {
  display: none !important;
}

.mx-hero::after {
  display: none !important;
}

.mx-promo-slogan {
  border-left: 0 !important;
  padding-left: 0 !important;
}

.mx-footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.mx-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.9);
}

.mx-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mx-orange);
  color: var(--mx-white);
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

.mx-footer-contact p {
  margin: 8px 0;
}

@media (max-width: 900px) {
  .home .auto-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home .auto-card > a:first-child img,
  .home .auto-card .motoexpert-car-img,
  .home .auto-card img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: contain !important;
  }
}

/* MotoExpert 1.4.0 — premium cards, stats and footer */

/* Karty aut jako pełne zdjęcie z przezroczystą warstwą */
.home .auto-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.home .auto-card {
  position: relative;
  display: flex !important;
  min-height: 390px;
  border-radius: 28px !important;
  overflow: hidden;
  background: var(--mx-navy) !important;
  box-shadow: 0 22px 62px rgba(8,35,50,.18);
  isolation: isolate;
}

.home .auto-card > a:first-child {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0 !important;
  background: var(--mx-navy);
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: auto !important;
  background: var(--mx-navy);
  transition: transform .35s ease;
}

.home .auto-card:hover > a:first-child img,
.home .auto-card:hover .motoexpert-car-img {
  transform: scale(1.04);
}

.home .auto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,29,42,.08) 0%, rgba(6,29,42,.12) 35%, rgba(6,29,42,.86) 100%),
    linear-gradient(90deg, rgba(6,29,42,.62), rgba(6,29,42,.1));
  pointer-events: none;
}

.home .auto-card h3,
.home .auto-card p {
  position: relative;
  z-index: 2;
}

.home .auto-card h3 {
  align-self: flex-end;
  margin: auto 26px 6px !important;
  color: var(--mx-white);
  font-size: clamp(24px, 2.4vw, 34px);
  max-width: 78%;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.home .auto-card h3 a {
  color: var(--mx-white);
}

.home .auto-card p:nth-of-type(1) {
  color: rgba(255,255,255,.84);
  margin: 0 26px 8px !important;
  font-weight: 700;
}

.home .auto-card p:nth-of-type(2) {
  color: var(--mx-white);
  margin: 0 26px 18px !important;
  font-size: 26px;
  font-weight: 950;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}

.home .auto-card p:last-child {
  margin: 0 26px 28px !important;
}

.home .auto-card p:last-child a {
  background: rgba(245,130,20,.95);
  color: var(--mx-white);
  backdrop-filter: blur(8px);
}

.home .auto-card::after {
  display: none !important;
}

/* Sekcja statystyk */
.mx-about-stat-section {
  background:
    radial-gradient(circle at 78% 15%, rgba(245,130,20,.14), transparent 36%),
    linear-gradient(135deg, var(--mx-navy-dark), var(--mx-navy));
}

.mx-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 42px;
  align-items: center;
}

.mx-about-copy {
  max-width: 720px;
}

.mx-about-copy p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
}

.mx-about-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.mx-about-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,.9);
}

.mx-about-features li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mx-orange);
  box-shadow: 0 0 0 6px rgba(245,130,20,.12);
}

.mx-about-stat-section .liczniki-firmy {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
}

.mx-about-stat-section .liczniki-firmy > div {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 58px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.mx-about-stat-section .liczniki-firmy > div::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(245,130,20,.16);
}

.mx-about-stat-section .liczniki-firmy strong {
  font-size: 46px !important;
  line-height: 1;
}

/* Social media — bez pomarańczowego tła */
.mx-social-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent !important;
  color: var(--mx-orange);
  font-size: 0;
}

.mx-social-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.mx-footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.mx-footer-bottom a {
  color: var(--mx-orange);
  font-weight: 800;
}

@media (max-width: 900px) {
  .home .auto-list {
    grid-template-columns: 1fr;
  }

  .home .auto-card {
    min-height: 430px;
  }

  .mx-about-panel {
    grid-template-columns: 1fr;
  }

  .mx-about-stat-section .liczniki-firmy {
    grid-template-columns: 1fr !important;
  }
}

/* MotoExpert 1.5.0 — czytelne karty, animacje, poprawki tekstu */

/* Ukrycie opisu pod nagłówkiem Aktualnie w sprzedaży */
.mx-section-lead {
  display: none !important;
}

/* Karta auta: zdjęcie na całości, czytelny overlay, tekst bez nachodzenia */
.home .auto-card {
  position: relative !important;
  display: block !important;
  min-height: 420px;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: var(--mx-navy) !important;
}

.home .auto-card > a:first-child {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100%;
  height: 100%;
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: var(--mx-navy);
}

.home .auto-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,29,42,.10) 0%, rgba(6,29,42,.20) 38%, rgba(6,29,42,.94) 100%),
    linear-gradient(90deg, rgba(6,29,42,.55), rgba(6,29,42,.08) 56%, rgba(6,29,42,.42));
  pointer-events: none;
}

.home .auto-card h3,
.home .auto-card p {
  position: absolute !important;
  z-index: 2 !important;
  margin: 0 !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.65);
}

.home .auto-card h3 {
  left: 24px;
  right: 24px;
  bottom: 108px;
  color: #fff;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.04;
  max-width: 82%;
}

.home .auto-card h3 a {
  color: #fff;
}

.home .auto-card p:nth-of-type(1) {
  left: 24px;
  right: 24px;
  bottom: 78px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}

.home .auto-card p:nth-of-type(2) {
  left: 24px;
  bottom: 30px;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.home .auto-card p:last-child {
  right: 24px;
  bottom: 26px;
}

.home .auto-card p:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  background: rgba(245,130,20,.96);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  text-shadow: none;
  box-shadow: 0 12px 30px rgba(245,130,20,.28);
}

.home .auto-card:hover > a:first-child img,
.home .auto-card:hover .motoexpert-car-img {
  transform: scale(1.045);
}

/* Jeżeli karta ma grafikę zastępczą / ciemne tło, tekst nadal ma miejsce */
.home .auto-card h3,
.home .auto-card p:nth-of-type(1),
.home .auto-card p:nth-of-type(2) {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Poprawiona lista w sekcji statystyk */
.mx-about-features {
  display: grid !important;
  gap: 14px !important;
}

.mx-about-features li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  line-height: 1.45 !important;
}

.mx-about-features li::before {
  content: "" !important;
  display: block !important;
  width: 9px !important;
  height: 9px !important;
  min-width: 9px !important;
  margin-top: 8px !important;
  border-radius: 50% !important;
  background: var(--mx-orange) !important;
  box-shadow: 0 0 0 6px rgba(245,130,20,.13) !important;
}

/* Animacje pojawiania */
.mx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.mx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home .auto-card.mx-reveal {
  transform: translateY(32px) scale(.985);
}

.home .auto-card.mx-reveal.is-visible {
  transform: translateY(0) scale(1);
}

.liczniki-firmy strong {
  display: inline-block;
  min-width: 1.6em;
}

/* Lepsze statystyki po animacji */
.mx-about-stat-section .liczniki-firmy > div {
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.mx-about-stat-section .liczniki-firmy > div:hover {
  transform: translateY(-4px);
  border-color: rgba(245,130,20,.32);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
}

@media (max-width: 900px) {
  .home .auto-card {
    min-height: 440px;
  }

  .home .auto-card h3 {
    bottom: 116px;
    max-width: calc(100% - 48px);
  }

  .home .auto-card p:nth-of-type(1) {
    bottom: 84px;
  }

  .home .auto-card p:nth-of-type(2) {
    bottom: 34px;
    font-size: 23px;
  }

  .home .auto-card p:last-child {
    right: 20px;
    bottom: 28px;
  }
}

/* MotoExpert 1.6.0 — czytelna dolna belka kart aut */

.home .auto-card {
  min-height: 420px !important;
}

/* mocny dół pod tekstem */
.home .auto-card::before {
  background:
    linear-gradient(180deg, rgba(6,29,42,.06) 0%, rgba(6,29,42,.12) 42%, rgba(6,29,42,.66) 64%, rgba(6,29,42,.96) 100%),
    linear-gradient(90deg, rgba(6,29,42,.34), rgba(6,29,42,.04) 55%, rgba(6,29,42,.36)) !important;
}

/* dodatkowa belka-gradient tylko pod danymi auta */
.home .auto-card::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,29,42,0) 0%, rgba(6,29,42,.88) 38%, rgba(6,29,42,.98) 100%);
  pointer-events: none;
}

/* tytuł auta */
.home .auto-card h3 {
  left: 24px !important;
  right: 24px !important;
  bottom: 102px !important;
  max-width: calc(100% - 48px) !important;
  font-size: clamp(23px, 2.2vw, 32px) !important;
  line-height: 1.08 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* parametry auta */
.home .auto-card p:nth-of-type(1) {
  left: 24px !important;
  right: 24px !important;
  bottom: 72px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,.88) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* cena */
.home .auto-card p:nth-of-type(2) {
  left: 24px !important;
  right: 170px !important;
  bottom: 27px !important;
  font-size: 25px !important;
  line-height: 1.05 !important;
  color: #fff !important;
}

/* przycisk */
.home .auto-card p:last-child {
  right: 24px !important;
  bottom: 22px !important;
}

.home .auto-card p:last-child a {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--mx-orange), #ff9d2e) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .02em;
  box-shadow: 0 10px 28px rgba(245,130,20,.36) !important;
}

.home .auto-card p:last-child a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(245,130,20,.46) !important;
}

@media (max-width: 900px) {
  .home .auto-card {
    min-height: 420px !important;
  }

  .home .auto-card h3 {
    bottom: 112px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    bottom: 82px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    bottom: 34px !important;
    right: 24px !important;
    font-size: 23px !important;
  }

  .home .auto-card p:last-child {
    left: 24px !important;
    right: auto !important;
    bottom: -64px !important;
  }

  .home .auto-card {
    padding-bottom: 76px;
  }
}

/* MotoExpert 1.7.0 — bardziej symetryczne karty aut */

/* większe zdjęcie, mniej zasłaniania */
.home .auto-card {
  min-height: 430px !important;
  border-radius: 30px !important;
}

/* delikatniejszy overlay na zdjęciu, mocniejszy tylko na samym dole */
.home .auto-card::before {
  background:
    linear-gradient(180deg, rgba(6,29,42,.03) 0%, rgba(6,29,42,.08) 43%, rgba(6,29,42,.50) 72%, rgba(6,29,42,.94) 100%),
    linear-gradient(90deg, rgba(6,29,42,.18), rgba(6,29,42,0) 58%, rgba(6,29,42,.18)) !important;
}

/* niższa belka, żeby zdjęcie było bardziej widoczne */
.home .auto-card::after {
  height: 145px !important;
  background:
    linear-gradient(180deg, rgba(6,29,42,0) 0%, rgba(6,29,42,.74) 34%, rgba(6,29,42,.98) 100%) !important;
}

/* tytuł i parametry bliżej dołu, ale z równą hierarchią */
.home .auto-card h3 {
  left: 26px !important;
  right: 26px !important;
  bottom: 112px !important;
  max-width: calc(100% - 52px) !important;
  font-size: clamp(24px, 2.15vw, 31px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.02em;
  -webkit-line-clamp: 2;
}

/* rok/silnik/przebieg bezpośrednio pod modelem */
.home .auto-card p:nth-of-type(1) {
  left: 26px !important;
  right: 26px !important;
  bottom: 85px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  color: rgba(255,255,255,.82) !important;
}

/* cena nad przyciskiem, wyrównana z resztą tekstu */
.home .auto-card p:nth-of-type(2) {
  left: 26px !important;
  right: auto !important;
  bottom: 52px !important;
  font-size: 23px !important;
  line-height: 1 !important;
  letter-spacing: -.01em;
  color: #fff !important;
}

/* przycisk na dole, wyrównany do lewej, nie pływa po prawej */
.home .auto-card p:last-child {
  left: 26px !important;
  right: auto !important;
  bottom: 22px !important;
}

.home .auto-card p:last-child a {
  min-height: 36px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  box-shadow: 0 9px 24px rgba(245,130,20,.32) !important;
}

/* większa spójność kart w siatce */
.home .auto-list {
  align-items: stretch;
}

.home .auto-card h3,
.home .auto-card p:nth-of-type(1),
.home .auto-card p:nth-of-type(2),
.home .auto-card p:last-child {
  width: auto !important;
}

/* przy długich tytułach cena i przycisk nie uciekają */
.home .auto-card h3 a {
  display: inline;
}

@media (max-width: 900px) {
  .home .auto-card {
    min-height: 420px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 114px !important;
    font-size: 26px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 86px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 22px !important;
    bottom: 52px !important;
    font-size: 22px !important;
  }

  .home .auto-card p:last-child {
    left: 22px !important;
    bottom: 20px !important;
  }
}

/* MotoExpert 1.8.0 — układ kafelka: lewa nazwa, prawa cena i CTA */

.home .auto-card {
  min-height: 420px !important;
}

/* dolny gradient jako pasek informacyjny */
.home .auto-card::before {
  background:
    linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.08) 45%, rgba(6,29,42,.58) 70%, rgba(6,29,42,.96) 100%) !important;
}

.home .auto-card::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 145px !important;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,29,42,0) 0%, rgba(6,29,42,.72) 36%, rgba(6,29,42,.98) 100%) !important;
  pointer-events: none;
}

/* Lewa strona: tytuł */
.home .auto-card h3 {
  left: 28px !important;
  right: 220px !important;
  bottom: 68px !important;
  max-width: none !important;
  font-size: clamp(25px, 2vw, 34px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.03em;
  -webkit-line-clamp: 2;
}

/* Lewa strona: rocznik / przebieg / paliwo */
.home .auto-card p:nth-of-type(1) {
  left: 28px !important;
  right: 220px !important;
  bottom: 36px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: rgba(255,255,255,.84) !important;
  font-weight: 800 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Prawa strona: cena */
.home .auto-card p:nth-of-type(2) {
  left: auto !important;
  right: 28px !important;
  bottom: 76px !important;
  width: 170px !important;
  text-align: right !important;
  font-size: 25px !important;
  line-height: 1.05 !important;
  color: #fff !important;
}

/* Prawa strona: przycisk pod ceną */
.home .auto-card p:last-child {
  left: auto !important;
  right: 28px !important;
  bottom: 30px !important;
  width: 170px !important;
  text-align: right !important;
}

.home .auto-card p:last-child a {
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(245,130,20,.34) !important;
}

/* większe zdjęcie, tekst mniej nachodzi na środek */
.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  object-position: center center !important;
}

/* Na mniejszych ekranach układ zostaje czytelny: cena i przycisk pod lewą stroną */
@media (max-width: 900px) {
  .home .auto-card {
    min-height: 430px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 112px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 82px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 22px !important;
    right: auto !important;
    bottom: 46px !important;
    width: auto !important;
    text-align: left !important;
    font-size: 23px !important;
  }

  .home .auto-card p:last-child {
    left: 22px !important;
    right: auto !important;
    bottom: 14px !important;
    width: auto !important;
    text-align: left !important;
  }
}

/* MotoExpert 1.9.0 — finalna poprawka układu kafelków aut */

/*
  Układ:
  - zdjęcie wypełnia cały kafelek,
  - na dole jest czytelna belka-gradient,
  - lewa strona: model + rok/przebieg/paliwo,
  - prawa strona: cena + przycisk przy samym dole.
*/

.home .auto-card {
  position: relative !important;
  display: block !important;
  min-height: 420px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: var(--mx-navy) !important;
  padding: 0 !important;
}

/* zdjęcie */
.home .auto-card > a:first-child {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--mx-navy) !important;
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  transform: none;
}

/* ogólny cień na zdjęciu */
.home .auto-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.06) 42%, rgba(6,29,42,.36) 67%, rgba(6,29,42,.90) 100%) !important;
  pointer-events: none !important;
}

/* właściwa dolna belka */
.home .auto-card::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  height: 150px !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(4,22,33,0) 0%, rgba(4,22,33,.82) 30%, rgba(4,22,33,.98) 100%) !important;
  pointer-events: none !important;
}

/* reset wszystkich tekstów w kafelku */
.home .auto-card h3,
.home .auto-card p {
  position: absolute !important;
  top: auto !important;
  z-index: 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.72) !important;
}

/* LEWA STRONA — model */
.home .auto-card h3 {
  left: 28px !important;
  right: 235px !important;
  bottom: 62px !important;
  max-width: none !important;
  color: #fff !important;
  font-size: clamp(25px, 2.05vw, 34px) !important;
  line-height: 1.06 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.home .auto-card h3 a {
  color: #fff !important;
  display: inline !important;
}

/* LEWA STRONA — parametry */
.home .auto-card p:nth-of-type(1) {
  left: 28px !important;
  right: 235px !important;
  bottom: 32px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* PRAWA STRONA — cena nad przyciskiem */
.home .auto-card p:nth-of-type(2) {
  left: auto !important;
  right: 28px !important;
  bottom: 69px !important;
  width: 190px !important;
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* PRAWA STRONA — przycisk na samym dole */
.home .auto-card p:last-child {
  left: auto !important;
  right: 28px !important;
  bottom: 26px !important;
  width: 190px !important;
  text-align: right !important;
}

.home .auto-card p:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--mx-orange), #ff9d2e) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: none !important;
  box-shadow: 0 10px 26px rgba(245,130,20,.36) !important;
  white-space: nowrap !important;
}

/* efekt hover tylko na zdjęciu */
.home .auto-card:hover > a:first-child img,
.home .auto-card:hover .motoexpert-car-img {
  transform: scale(1.035) !important;
  transition: transform .35s ease !important;
}

@media (max-width: 900px) {
  .home .auto-card {
    min-height: 430px !important;
  }

  .home .auto-card::after {
    height: 185px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 115px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 88px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 22px !important;
    right: auto !important;
    bottom: 52px !important;
    width: auto !important;
    text-align: left !important;
    font-size: 23px !important;
  }

  .home .auto-card p:last-child {
    left: 22px !important;
    right: auto !important;
    bottom: 16px !important;
    width: auto !important;
    text-align: left !important;
  }
}

/* MotoExpert 2.0.0 — precyzyjne ustawienie danych na kafelku auta */

/*
  Wymuszenie układu:
  LEWA DOLNA CZĘŚĆ:
  - nazwa auta
  - pod nią rocznik / przebieg / paliwo

  PRAWA DOLNA CZĘŚĆ:
  - cena
  - pod nią przycisk przy samym dole
*/

.home .auto-card {
  min-height: 430px !important;
}

/* czytelna dolna strefa, niżej i ciemniej */
.home .auto-card::before {
  background:
    linear-gradient(180deg, rgba(6,29,42,.00) 0%, rgba(6,29,42,.05) 42%, rgba(6,29,42,.42) 68%, rgba(6,29,42,.94) 100%) !important;
}

.home .auto-card::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  height: 165px !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(3,18,28,0) 0%, rgba(3,18,28,.76) 26%, rgba(3,18,28,.98) 100%) !important;
  pointer-events: none !important;
}

/* Karty ofert na stronie głównej */
.home .auto-card h3,
.home .auto-card p,
.home .auto-card p strong,
.home .auto-card p a {
  transform: none !important;
}

/* Nazwa modelu */
.home .auto-card h3 {
  position: absolute !important;
  top: auto !important;
  left: 28px !important;
  right: 255px !important;
  bottom: 58px !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(25px, 2vw, 33px) !important;
  line-height: 1.06 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
  max-width: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* parametry — najniżej po lewej */
.home .auto-card p:nth-of-type(1) {
  position: absolute !important;
  top: auto !important;
  left: 28px !important;
  right: 255px !important;
  bottom: 26px !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* cena — po prawej, WYRAŹNIE nad przyciskiem */
.home .auto-card p:nth-of-type(2) {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 28px !important;
  bottom: 80px !important;
  z-index: 6 !important;
  width: 210px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 27px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.home .auto-card p:nth-of-type(2) strong {
  display: block !important;
  color: #fff !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

/* przycisk — sam dół po prawej */
.home .auto-card p:last-child {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 28px !important;
  bottom: 24px !important;
  z-index: 6 !important;
  width: 210px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.home .auto-card p:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--mx-orange), #ff9d2e) !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: none !important;
  box-shadow: 0 12px 30px rgba(245,130,20,.38) !important;
  white-space: nowrap !important;
}

/* zabezpieczenie: pierwszy link ze zdjęciem nie wpływa na układ */
.home .auto-card > a:first-child {
  line-height: 0 !important;
}

/* na mniejszych ekranach: układ pionowy, ale dalej bez zlewania */
@media (max-width: 900px) {
  .home .auto-card {
    min-height: 440px !important;
  }

  .home .auto-card::after {
    height: 190px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 118px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 90px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 22px !important;
    right: auto !important;
    bottom: 52px !important;
    width: auto !important;
    text-align: left !important;
    font-size: 23px !important;
  }

  .home .auto-card p:last-child {
    left: 22px !important;
    right: auto !important;
    bottom: 16px !important;
    width: auto !important;
    text-align: left !important;
  }
}

/* MotoExpert 2.1.0 — responsywność */

/* Stabilizacja szerokości strony */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.mx-container {
  width: min(1180px, calc(100% - 40px));
}

/* Duże ekrany */
@media (min-width: 1400px) {
  .mx-container {
    width: min(1320px, calc(100% - 80px));
  }

  .mx-hero {
    min-height: 720px;
  }

  .home .auto-card {
    min-height: 460px !important;
  }
}

/* Laptopy */
@media (max-width: 1200px) {
  .mx-container {
    width: min(1080px, calc(100% - 36px));
  }

  .mx-header-inner {
    gap: 18px;
  }

  .mx-logo img {
    max-height: 56px;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    font-size: 13px;
    padding: 9px 10px;
  }

  .mx-hero h1 {
    font-size: clamp(38px, 5.4vw, 64px);
  }

  .home .auto-card {
    min-height: 390px !important;
  }

  .home .auto-card h3 {
    right: 220px !important;
    font-size: clamp(23px, 2vw, 30px) !important;
  }

  .home .auto-card p:nth-of-type(1) {
    right: 220px !important;
  }

  .home .auto-card p:nth-of-type(2),
  .home .auto-card p:last-child {
    width: 180px !important;
  }
}

/* Tablety poziome */
@media (max-width: 1024px) {
  .mx-topbar .mx-container {
    flex-direction: row;
    align-items: center;
    font-size: 12px;
  }

  .mx-header {
    position: relative;
  }

  .mx-header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: center;
  }

  .mx-logo img {
    max-height: 64px;
  }

  .mx-menu,
  .mx-menu ul {
    justify-content: center;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .mx-hero {
    min-height: 600px;
  }

  .mx-hero-content {
    max-width: 680px;
    padding: 70px 0;
  }

  .mx-hero-arrow {
    width: 44px;
    height: 44px;
  }

  .mx-section {
    padding: 62px 0;
  }

  .home .auto-list {
    gap: 26px;
  }

  .home .auto-card {
    min-height: 360px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 190px !important;
    bottom: 58px !important;
    font-size: 25px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 190px !important;
    bottom: 29px !important;
    font-size: 13px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    right: 22px !important;
    bottom: 78px !important;
    width: 160px !important;
    font-size: 22px !important;
  }

  .home .auto-card p:last-child {
    right: 22px !important;
    bottom: 25px !important;
    width: 160px !important;
  }

  .home .auto-card p:last-child a {
    min-width: 135px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 11px !important;
  }

  .mx-about-panel {
    grid-template-columns: 1fr;
  }

  .mx-about-stat-section .liczniki-firmy {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

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

  .mx-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Tablety pionowe */
@media (max-width: 820px) {
  .mx-container {
    width: min(100% - 28px, 720px);
  }

  .mx-topbar .mx-container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .mx-logo img {
    max-width: 320px;
    max-height: 58px;
  }

  .mx-menu ul,
  .mx-menu {
    gap: 6px;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    font-size: 11px;
    padding: 8px 9px;
  }

  .mx-hero {
    min-height: 560px;
  }

  .mx-hero-content {
    max-width: 620px;
    padding: 62px 0;
  }

  .mx-hero h1 {
    font-size: clamp(36px, 8vw, 56px);
  }

  .mx-hero p {
    font-size: 18px;
  }

  .mx-promo-slogan {
    font-size: 15px;
  }

  .mx-section-head-premium {
    flex-direction: column;
    align-items: flex-start;
  }

  .home .auto-list {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .home .auto-card {
    min-height: 440px !important;
  }

  .home .auto-card h3 {
    left: 24px !important;
    right: 230px !important;
    bottom: 62px !important;
    font-size: 30px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 24px !important;
    right: 230px !important;
    bottom: 30px !important;
    font-size: 14px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    right: 24px !important;
    bottom: 78px !important;
    width: 190px !important;
    font-size: 26px !important;
  }

  .home .auto-card p:last-child {
    right: 24px !important;
    bottom: 24px !important;
    width: 190px !important;
  }

  .mx-grid,
  .auto-list,
  .mx-about,
  .mx-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Telefony */
@media (max-width: 640px) {
  .mx-container {
    width: calc(100% - 24px);
  }

  .mx-topbar {
    font-size: 11px;
  }

  .mx-header-inner {
    padding: 12px 0;
  }

  .mx-logo img {
    max-width: 260px;
    max-height: 52px;
  }

  .mx-menu,
  .mx-menu ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 11px;
    text-align: center;
    background: rgba(255,255,255,.06);
  }

  .mx-hero {
    min-height: 620px;
    align-items: flex-end;
  }

  .mx-hero-content {
    padding: 90px 0 56px;
    max-width: 100%;
  }

  .mx-kicker,
  .mx-promo-badge {
    font-size: 11px;
  }

  .mx-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.03;
  }

  .mx-hero p {
    font-size: 16px;
  }

  .mx-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mx-btn,
  .mx-btn-outline {
    width: 100%;
  }

  .mx-hero-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 40px;
    height: 40px;
    z-index: 6;
  }

  .mx-hero-arrow-prev {
    left: 14px;
  }

  .mx-hero-arrow-next {
    right: 14px;
  }

  .mx-hero-dots {
    margin-top: 20px;
  }

  .mx-section {
    padding: 50px 0;
  }

  .mx-section-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .mx-section-head-premium .mx-btn {
    width: auto;
  }

  .home .auto-card {
    min-height: 430px !important;
  }

  .home .auto-card::after {
    height: 205px !important;
  }

  .home .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 132px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 103px !important;
    font-size: 13px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 22px !important;
    right: auto !important;
    bottom: 58px !important;
    width: auto !important;
    text-align: left !important;
    font-size: 24px !important;
  }

  .home .auto-card p:last-child {
    left: 22px !important;
    right: auto !important;
    bottom: 18px !important;
    width: auto !important;
    text-align: left !important;
  }

  .home .auto-card p:last-child a {
    min-width: 150px !important;
  }

  .mx-about-stat-section .liczniki-firmy {
    grid-template-columns: 1fr !important;
  }

  .mx-about-stat-section .liczniki-firmy > div {
    min-height: 125px;
  }

  .mx-footer {
    padding: 38px 0 28px;
  }

  .mx-footer-grid {
    gap: 24px;
  }

  .mx-footer-logo {
    max-width: 250px;
  }

  .mx-footer-bottom {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* MotoExpert 2.5.2 - stabilizacja formularzy i widokow mobilnych */
.mx-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mx-contact-form input,
.mx-contact-form textarea,
.mx-contact-form select {
  max-width: 100%;
  min-width: 0;
}

.mx-menu,
.mx-menu ul {
  min-width: 0;
}

.mx-menu a,
.mx-menu .menu-item a,
.mx-btn {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.single-samochod .mx-single-contact-card .mx-btn {
  width: 100%;
  white-space: normal;
}

.single-samochod .mx-car-details-grid {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .85fr) !important;
}

.single-samochod .mx-car-spec-table th,
.single-samochod .mx-car-spec-table td {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {
  .mx-topbar .mx-container,
  .mx-topbar-right {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .mx-hero {
    min-height: auto;
    padding: 88px 0 52px;
  }

  .mx-hero-content {
    padding: 0;
  }

  .mx-hero h1 {
    letter-spacing: 0;
  }

  .mx-hero-arrow {
    display: none;
  }

  .mx-contact-page-layout,
  .mx-order-page-layout,
  .mx-contact-form .mx-form-row {
    grid-template-columns: 1fr !important;
  }

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

  .single-samochod .auto-specyfikacja table,
  .single-samochod .auto-specyfikacja tbody,
  .single-samochod .auto-specyfikacja tr,
  .single-samochod .auto-specyfikacja th,
  .single-samochod .auto-specyfikacja td {
    display: block;
    width: 100% !important;
  }

  .single-samochod .auto-specyfikacja th {
    padding-bottom: 2px !important;
  }

  .single-samochod .auto-specyfikacja td {
    padding-top: 0 !important;
  }
}

@media (max-width: 420px) {
  .mx-container {
    width: calc(100% - 20px);
  }

  .mx-logo img {
    max-width: min(230px, 100%);
  }

  .mx-btn {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Małe telefony */
@media (max-width: 420px) {
  .mx-logo img {
    max-width: 230px;
  }

  .mx-menu,
  .mx-menu ul {
    grid-template-columns: 1fr;
  }

  .mx-hero {
    min-height: 650px;
  }

  .mx-hero h1 {
    font-size: 36px;
  }

  .mx-promo-badge {
    white-space: normal;
  }

  .home .auto-card {
    min-height: 400px !important;
    border-radius: 22px !important;
  }

  .home .auto-card h3 {
    font-size: 24px !important;
    bottom: 128px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    bottom: 100px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    bottom: 57px !important;
    font-size: 22px !important;
  }

  .home .auto-card p:last-child {
    bottom: 18px !important;
  }

  .home .auto-card p:last-child a {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

/* MotoExpert 2.1.2 — poprawki mobile */

/* Menu mobilne wyśrodkowane */
@media (max-width: 640px) {
  .mx-header-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .mx-logo {
    width: 100% !important;
    justify-content: center !important;
  }

  .mx-logo img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mx-menu {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mx-menu ul {
    width: auto !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(145px, 1fr)) !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 10px !important;
  }

  .mx-menu li {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 999px !important;
  }
}

/* Bardzo małe telefony — menu w jednej kolumnie, ale nadal na środku */
@media (max-width: 380px) {
  .mx-menu ul {
    grid-template-columns: minmax(180px, 250px) !important;
  }
}

/* Mobilne kafelki samochodów — czytelny układ pionowy */
@media (max-width: 640px) {
  .home .auto-card {
    min-height: 500px !important;
    border-radius: 28px !important;
  }

  .home .auto-card::before {
    background:
      linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.06) 38%, rgba(6,29,42,.44) 62%, rgba(6,29,42,.96) 100%) !important;
  }

  .home .auto-card::after {
    height: 255px !important;
    background:
      linear-gradient(180deg, rgba(3,18,28,0) 0%, rgba(3,18,28,.70) 22%, rgba(3,18,28,.98) 100%) !important;
  }

  .home .auto-card h3,
  .home .auto-card p {
    left: 24px !important;
    right: 24px !important;
    width: auto !important;
    text-align: left !important;
    top: auto !important;
  }

  .home .auto-card h3 {
    bottom: 162px !important;
    font-size: 31px !important;
    line-height: 1.05 !important;
    max-width: calc(100% - 48px) !important;
    -webkit-line-clamp: 2 !important;
  }

  .home .auto-card p:nth-of-type(1) {
    bottom: 126px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,.88) !important;
    white-space: normal !important;
  }

  .home .auto-card p:nth-of-type(2) {
    bottom: 76px !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: #fff !important;
    font-weight: 950 !important;
  }

  .home .auto-card p:last-child {
    bottom: 26px !important;
  }

  .home .auto-card p:last-child a {
    min-width: 190px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
  }
}

/* Małe telefony — trochę ciaśniejszy układ, ale bez zlewania */
@media (max-width: 420px) {
  .home .auto-card {
    min-height: 470px !important;
  }

  .home .auto-card::after {
    height: 245px !important;
  }

  .home .auto-card h3 {
    left: 20px !important;
    right: 20px !important;
    bottom: 154px !important;
    font-size: 27px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 20px !important;
    right: 20px !important;
    bottom: 120px !important;
    font-size: 14px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    left: 20px !important;
    right: 20px !important;
    bottom: 73px !important;
    font-size: 25px !important;
  }

  .home .auto-card p:last-child {
    left: 20px !important;
    right: 20px !important;
    bottom: 24px !important;
  }

  .home .auto-card p:last-child a {
    min-width: 175px !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }
}

/* MotoExpert 2.1.3 — mobile kafelki jak desktop */

/*
  Poprawka: na telefonie kafelki mają mieć układ jak na desktopie:
  - lewa strona: model + rocznik/przebieg/paliwo,
  - prawa strona: cena + przycisk.
  Nadpisujemy wcześniejszy układ pionowy z wersji 2.1.2.
*/

@media (max-width: 640px) {
  .home .auto-card {
    min-height: 430px !important;
    border-radius: 28px !important;
  }

  .home .auto-card::after {
    height: 160px !important;
    background:
      linear-gradient(180deg, rgba(3,18,28,0) 0%, rgba(3,18,28,.78) 28%, rgba(3,18,28,.98) 100%) !important;
  }

  .home .auto-card h3,
  .home .auto-card p {
    position: absolute !important;
    top: auto !important;
    z-index: 6 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* LEWA STRONA — nazwa auta */
  .home .auto-card h3 {
    left: 22px !important;
    right: 178px !important;
    bottom: 62px !important;
    width: auto !important;
    max-width: none !important;
    font-size: 25px !important;
    line-height: 1.06 !important;
    letter-spacing: -.03em !important;
    -webkit-line-clamp: 2 !important;
  }

  /* LEWA STRONA — rok / przebieg / paliwo */
  .home .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 178px !important;
    bottom: 33px !important;
    width: auto !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: rgba(255,255,255,.86) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* PRAWA STRONA — cena */
  .home .auto-card p:nth-of-type(2) {
    left: auto !important;
    right: 22px !important;
    bottom: 78px !important;
    width: 142px !important;
    text-align: right !important;
    font-size: 22px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    color: #fff !important;
    white-space: nowrap !important;
  }

  .home .auto-card p:nth-of-type(2) strong {
    display: block !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  /* PRAWA STRONA — przycisk */
  .home .auto-card p:last-child {
    left: auto !important;
    right: 22px !important;
    bottom: 28px !important;
    width: 142px !important;
    text-align: right !important;
  }

  .home .auto-card p:last-child a {
    display: inline-flex !important;
    min-width: 132px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .home .auto-card {
    min-height: 410px !important;
    border-radius: 24px !important;
  }

  .home .auto-card::after {
    height: 155px !important;
  }

  .home .auto-card h3 {
    left: 18px !important;
    right: 158px !important;
    bottom: 61px !important;
    font-size: 22px !important;
    line-height: 1.06 !important;
  }

  .home .auto-card p:nth-of-type(1) {
    left: 18px !important;
    right: 158px !important;
    bottom: 34px !important;
    font-size: 12px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    right: 18px !important;
    bottom: 77px !important;
    width: 130px !important;
    font-size: 20px !important;
  }

  .home .auto-card p:last-child {
    right: 18px !important;
    bottom: 28px !important;
    width: 130px !important;
  }

  .home .auto-card p:last-child a {
    min-width: 122px !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 10px !important;
  }
}

/* Bardzo wąskie telefony — zachowujemy czytelność, ale nadal cena/przycisk po prawej */
@media (max-width: 360px) {
  .home .auto-card h3 {
    right: 146px !important;
    font-size: 20px !important;
  }

  .home .auto-card p:nth-of-type(1) {
    right: 146px !important;
    font-size: 11px !important;
  }

  .home .auto-card p:nth-of-type(2),
  .home .auto-card p:last-child {
    right: 14px !important;
    width: 122px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    font-size: 18px !important;
  }

  .home .auto-card p:last-child a {
    min-width: 112px !important;
    font-size: 9px !important;
  }
}

/* MotoExpert 2.2.0 — profesjonalna strona pojedynczego ogłoszenia */

.single-samochod .mx-page-hero {
  padding: 62px 0 54px;
  background:
    radial-gradient(circle at 78% 12%, rgba(245,130,20,.13), transparent 34%),
    linear-gradient(135deg, #061d2a, #0b2a3b);
}

.single-samochod .mx-page-hero h1 {
  max-width: 960px;
  font-size: clamp(34px, 5vw, 62px);
}

.single-samochod .mx-page-hero p {
  margin: 18px 0 0;
}

.mx-single-car-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.mx-single-car-main {
  min-width: 0;
}

.mx-single-car-side {
  position: sticky;
  top: 110px;
}

.mx-single-contact-card {
  background: #fff;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 22px 60px rgba(8,35,50,.12);
}

.mx-single-contact-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  color: var(--mx-navy);
}

.mx-single-contact-card p {
  margin: 10px 0;
  color: #536d7b;
}

.mx-single-contact-card .mx-btn {
  width: 100%;
  margin-top: 12px;
}

.mx-single-contact-card .mx-btn-outline {
  color: var(--mx-navy);
  border-color: var(--mx-navy);
}

.single-samochod .auto-specyfikacja {
  background: #fff;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 22px 60px rgba(8,35,50,.10);
  margin: 0 0 28px !important;
}

.single-samochod .auto-specyfikacja h2 {
  margin: 0 0 18px;
  color: var(--mx-navy);
  font-size: 24px;
}

.single-samochod .auto-specyfikacja table {
  width: 100%;
  border-collapse: collapse;
}

.single-samochod .auto-specyfikacja th {
  width: 38%;
  color: #173448;
  font-weight: 900;
}

.single-samochod .auto-specyfikacja td {
  color: #385467;
}

.single-samochod .auto-specyfikacja th,
.single-samochod .auto-specyfikacja td {
  padding: 11px 8px !important;
  border-bottom: 1px solid #edf2f5 !important;
  text-align: left;
}

.single-samochod .auto-specyfikacja ul {
  columns: 2;
  column-gap: 34px;
  list-style: none;
  padding-left: 0 !important;
  margin-bottom: 0;
}

.single-samochod .auto-specyfikacja li {
  break-inside: avoid;
  padding: 7px 0;
  color: #25475a;
  font-weight: 700;
}

.single-samochod .entry-content,
.single-samochod .mx-single-car-main > p:first-child {
  font-size: 17px;
  color: #385467;
}

@media (max-width: 1024px) {
  .mx-single-car-layout {
    grid-template-columns: 1fr;
  }

  .mx-single-car-side {
    position: static;
  }

  .mx-single-contact-card {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-page-hero {
    padding: 44px 0 38px;
  }

  .mx-single-car-layout {
    gap: 24px;
  }

  .single-samochod .auto-specyfikacja {
    padding: 20px;
    border-radius: 20px;
  }

  .single-samochod .auto-specyfikacja table,
  .single-samochod .auto-specyfikacja tbody,
  .single-samochod .auto-specyfikacja tr,
  .single-samochod .auto-specyfikacja th,
  .single-samochod .auto-specyfikacja td {
    display: block;
    width: 100%;
  }

  .single-samochod .auto-specyfikacja th {
    padding-bottom: 2px !important;
    border-bottom: 0 !important;
  }

  .single-samochod .auto-specyfikacja td {
    padding-top: 2px !important;
  }

  .single-samochod .auto-specyfikacja ul {
    columns: 1;
  }

  .mx-single-contact-card {
    padding: 22px;
    border-radius: 20px;
  }
}

/* MotoExpert 2.2.1 — szersze dane samochodu i wyposażenie na stronie ogłoszenia */

/*
  Problem:
  Dane samochodu i wyposażenie były wewnątrz lewej kolumny,
  więc po prawej stronie zostawało dużo pustego miejsca.

  Poprawka:
  Sekcja danych pod galerią rozszerza się na szerokość galerii + prawej kolumny.
  Dane samochodu są szersze, wyposażenie węższe.
*/

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

.single-samochod .mx-car-details-grid {
  width: calc(100% + 374px) !important;
  max-width: calc(100vw - 40px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .85fr) !important;
  gap: 28px !important;
  align-items: start !important;
  margin-top: 34px !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja {
  width: 100% !important;
}

.single-samochod .mx-car-spec-card {
  min-width: 0 !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) {
  min-width: 280px !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
  columns: 1 !important;
}

.single-samochod .auto-specyfikacja table {
  table-layout: fixed !important;
}

.single-samochod .auto-specyfikacja th {
  width: 34% !important;
}

.single-samochod .auto-specyfikacja td {
  width: 66% !important;
}

/* Na laptopach trochę mniej agresywnie, żeby nie wychodziło poza ekran */
@media (max-width: 1200px) {
  .single-samochod .mx-car-details-grid {
    width: calc(100% + 340px) !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr) !important;
  }
}

/* Na tabletach prawa kolumna kontaktu spada niżej, więc dane też idą na jedną szerokość */
@media (max-width: 1024px) {
  .single-samochod .mx-car-details-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .85fr) !important;
  }
}

/* Na telefonie układ jedna kolumna */
@media (max-width: 760px) {
  .single-samochod .mx-car-details-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) {
    min-width: 0 !important;
  }
}

/* MotoExpert 2.2.3 — nowe logo SVG */
.mx-logo img,
.mx-footer-logo {
  object-fit: contain;
}

/* MotoExpert 2.3.0 — topbar, back to top, footer, customizer */

.mx-topbar-left {
  display: none !important;
}

.mx-topbar .mx-container {
  justify-content: flex-end !important;
}

.mx-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mx-orange), #ff9d2e);
  color: #fff;
  box-shadow: 0 14px 36px rgba(245,130,20,.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.mx-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mx-back-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mx-footer-bottom {
  text-align: center !important;
}

@media (max-width: 640px) {
  .mx-topbar .mx-container {
    justify-content: center !important;
  }

  .mx-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}


/* MotoExpert 2.4.0 — szablon belki pojedynczego ogłoszenia */
.single-samochod .mx-single-listing-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 260px !important;
  display: flex !important;
  align-items: center !important;
  padding: 58px 0 !important;
  background-image:
    linear-gradient(90deg, rgba(0, 39, 54, .99) 0%, rgba(0, 45, 62, .96) 38%, rgba(0, 55, 72, .84) 66%, rgba(0, 48, 64, .80) 100%),
    var(--mx-single-hero-bg) !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.single-samochod .mx-single-listing-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 0 40% !important;
  background:
    radial-gradient(circle at 74% 28%, rgba(245,130,20,.18), transparent 26%),
    linear-gradient(90deg, rgba(0,48,64,0) 0%, rgba(0,48,64,.10) 40%, rgba(0,48,64,.0) 100%),
    var(--mx-single-hero-graphic) right 22px center / auto 95% no-repeat !important;
  opacity: .50 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.single-samochod .mx-single-listing-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 80% 24%, rgba(245,130,20,.16), transparent 24%),
    linear-gradient(90deg, rgba(0,48,64,0) 42%, rgba(0,48,64,.20) 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.single-samochod .mx-single-listing-hero .mx-container,
.single-samochod .mx-single-hero-copy {
  position: relative !important;
  z-index: 2 !important;
}

.single-samochod .mx-single-hero-copy {
  max-width: 610px !important;
}

.single-samochod .mx-single-listing-hero h1 {
  max-width: 610px !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(36px, 4.4vw, 62px) !important;
  line-height: 1.04 !important;
  font-weight: 950 !important;
  letter-spacing: -.035em !important;
  text-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}

.single-samochod .mx-single-hero-price {
  margin: 0 0 12px !important;
  color: #ff8a14 !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 12px 30px rgba(0,0,0,.28) !important;
}

.single-samochod .mx-single-hero-meta {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 9px 14px !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,.90) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  backdrop-filter: blur(8px) !important;
}

@media (max-width: 900px) {
  .single-samochod .mx-single-listing-hero {
    min-height: 250px !important;
    padding: 44px 0 !important;
  }
  .single-samochod .mx-single-listing-hero::before {
    inset: auto 0 0 38% !important;
    height: 72% !important;
    background-size: auto 92% !important;
    opacity: .32 !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-single-listing-hero {
    min-height: 300px !important;
    align-items: flex-start !important;
  }
  .single-samochod .mx-single-listing-hero::before {
    inset: auto -15% 0 26% !important;
    height: 54% !important;
    opacity: .28 !important;
  }
  .single-samochod .mx-single-hero-meta {
    border-radius: 16px !important;
    font-size: 13px !important;
  }
}


/* MotoExpert 2.4.3 — stabilny widok ogłoszenia jak w wersji 2.4.0 */
body.single-samochod {
  background: #f3f7f9 !important;
}

.single-samochod .mx-single-listing-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  min-height: 260px !important;
  display: flex !important;
  align-items: center !important;
  padding: 58px 0 !important;
  background-image:
    linear-gradient(90deg, rgba(0, 39, 54, .99) 0%, rgba(0, 45, 62, .96) 38%, rgba(0, 55, 72, .84) 66%, rgba(0, 48, 64, .80) 100%),
    var(--mx-single-hero-bg) !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}

.single-samochod .mx-single-listing-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 0 40% !important;
  background:
    radial-gradient(circle at 74% 28%, rgba(245,130,20,.18), transparent 26%),
    linear-gradient(90deg, rgba(0,48,64,0) 0%, rgba(0,48,64,.10) 40%, rgba(0,48,64,.0) 100%),
    var(--mx-single-hero-graphic) right 22px center / auto 95% no-repeat !important;
  opacity: .50 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.single-samochod .mx-single-listing-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 80% 24%, rgba(245,130,20,.16), transparent 24%),
    linear-gradient(90deg, rgba(0,48,64,0) 42%, rgba(0,48,64,.20) 100%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.single-samochod .mx-single-listing-hero .mx-container,
.single-samochod .mx-single-hero-copy {
  position: relative !important;
  z-index: 2 !important;
}

.single-samochod .mx-single-hero-copy {
  max-width: 610px !important;
}

.single-samochod .mx-single-listing-hero h1 {
  max-width: 610px !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(36px, 4.4vw, 62px) !important;
  line-height: 1.04 !important;
  font-weight: 950 !important;
  letter-spacing: -.035em !important;
  text-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}

.single-samochod .mx-single-hero-price {
  margin: 0 0 12px !important;
  color: #ff8a14 !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 12px 30px rgba(0,0,0,.28) !important;
}

.single-samochod .mx-single-hero-meta {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 9px 14px !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,.90) !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  backdrop-filter: blur(8px) !important;
}

.single-samochod .mx-content {
  background: #f3f7f9 !important;
  padding: 54px 0 90px !important;
}

.single-samochod .mx-single-car-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 34px !important;
  align-items: start !important;
}

.single-samochod .mx-single-car-main {
  min-width: 0 !important;
}

.single-samochod .mx-single-car-side {
  display: grid !important;
  gap: 20px !important;
}

.single-samochod .mx-single-contact-card,
.single-samochod .motoexpert-media-card {
  background: #fff !important;
  border-radius: 22px !important;
  padding: 28px !important;
  box-shadow: 0 22px 60px rgba(16,42,58,.08) !important;
}

.single-samochod .mx-car-gallery-main img {
  max-width: 100% !important;
}

.single-samochod .mx-car-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr) !important;
  gap: 28px !important;
  align-items: start !important;
  margin-top: 28px !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja {
  margin: 0 !important;
}

.single-samochod .site-footer,
.single-samochod footer {
  background-image: none !important;
}

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

  .single-samochod .mx-single-car-side {
    max-width: 420px !important;
  }
}

@media (max-width: 900px) {
  .single-samochod .mx-single-listing-hero {
    min-height: 250px !important;
    padding: 44px 0 !important;
  }

  .single-samochod .mx-single-listing-hero::before {
    inset: auto 0 0 38% !important;
    height: 72% !important;
    background-size: auto 92% !important;
    opacity: .32 !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-content {
    padding-top: 34px !important;
  }

  .single-samochod .mx-single-listing-hero {
    min-height: 300px !important;
    align-items: flex-start !important;
  }

  .single-samochod .mx-single-listing-hero::before {
    inset: auto -15% 0 26% !important;
    height: 54% !important;
    opacity: .28 !important;
  }

  .single-samochod .mx-single-hero-meta {
    border-radius: 16px !important;
    font-size: 13px !important;
  }
}


/* MotoExpert 2.4.4 — aktywne W sprzedaży na stronie głównej */
body.home .main-navigation a[href*="w-sprzedazy"],
body.home .main-navigation a[href*="w-sprzedaży"],
body.home .primary-menu a[href*="w-sprzedazy"],
body.home .primary-menu a[href*="w-sprzedaży"],
body.home .site-navigation a[href*="w-sprzedazy"],
body.home .site-navigation a[href*="w-sprzedaży"],
body.home nav a[href*="w-sprzedazy"],
body.home nav a[href*="w-sprzedaży"] {
  background: #ff850f !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(255,133,15,.28) !important;
}

body.home .main-navigation a[href="/"],
body.home .primary-menu a[href="/"],
body.home .site-navigation a[href="/"],
body.home nav a[href="/"],
body.home .current-menu-item > a,
body.home .current_page_item > a {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.home nav a[href*="w-sprzedazy"]:hover,
body.home nav a[href*="w-sprzedaży"]:hover {
  background: #ff850f !important;
  color: #fff !important;
}

.mx-view-all-count {
  font-weight: 900;
}


/* MotoExpert 2.4.5 — formularze kontaktowe */
.mx-contact-forms {
  margin-top: 48px;
}

.mx-contact-forms-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.mx-contact-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(8,35,50,.10);
  border: 1px solid rgba(12,42,58,.06);
}

.mx-contact-form-card-featured {
  background:
    radial-gradient(circle at 92% 8%, rgba(245,130,20,.12), transparent 28%),
    linear-gradient(180deg, #fff, #f8fbfd);
}

.mx-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--mx-orange);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-contact-form-card h2 {
  margin: 0 0 10px;
  color: #102a3a;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.mx-contact-form-card p {
  color: #526a78;
  margin: 0 0 24px;
  font-weight: 600;
}

.mx-contact-form {
  display: grid;
  gap: 15px;
}

.mx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mx-contact-form label {
  display: grid;
  gap: 7px;
  color: #102a3a;
  font-weight: 900;
  font-size: 14px;
}

.mx-contact-form label strong {
  color: var(--mx-orange);
}

.mx-contact-form input,
.mx-contact-form textarea {
  width: 100%;
  border: 1px solid #d9e2e8;
  border-radius: 14px;
  background: #f8fbfd;
  color: #102a3a;
  padding: 13px 14px;
  font: inherit;
  font-weight: 650;
  outline: none;
  transition: .18s ease;
}

.mx-contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.mx-contact-form input:focus,
.mx-contact-form textarea:focus {
  border-color: var(--mx-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,130,20,.12);
}

.mx-contact-form .mx-btn {
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
}

.mx-form-notice {
  margin: 0 0 24px;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 850;
}

.mx-form-notice-ok {
  color: #0a5032;
  background: #e9f8f1;
  border: 1px solid #bfe9d2;
}

.mx-form-notice-error {
  color: #7a1f1f;
  background: #fff0f0;
  border: 1px solid #f0c2c2;
}

@media (max-width: 980px) {
  .mx-contact-forms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mx-contact-form-card {
    padding: 24px;
    border-radius: 20px;
  }

  .mx-form-row {
    grid-template-columns: 1fr;
  }

  .mx-contact-form .mx-btn {
    width: 100%;
  }
}


/* MotoExpert 2.4.6 — osobne strony formularzy Kontakt i Szukaj */
.mx-contact-forms-single {
  margin-top: 42px;
}

.mx-contact-page-layout,
.mx-order-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.mx-contact-intro,
.mx-order-hero-card,
.mx-contact-form-card {
  background: #fff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 24px 70px rgba(8,35,50,.10);
  border: 1px solid rgba(12,42,58,.06);
}

.mx-contact-intro,
.mx-order-hero-card {
  position: sticky;
  top: 112px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245,130,20,.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.mx-order-hero-card {
  background:
    linear-gradient(135deg, rgba(6,29,42,.96), rgba(11,42,59,.92)),
    radial-gradient(circle at 90% 10%, rgba(245,130,20,.26), transparent 30%);
  color: #fff;
}

.mx-order-hero-card p,
.mx-order-hero-card li {
  color: rgba(255,255,255,.84);
}

.mx-order-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  font-weight: 800;
}

.mx-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--mx-orange);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-contact-intro h2,
.mx-order-hero-card h2,
.mx-contact-form-card h2 {
  margin: 0 0 12px;
  color: #102a3a;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.mx-order-hero-card h2 {
  color: #fff;
}

.mx-contact-intro p,
.mx-contact-form-card p {
  color: #526a78;
  margin: 0 0 24px;
  font-weight: 650;
}

.mx-contact-mini-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f4f7f9;
  border: 1px solid #e4ebef;
}

.mx-contact-mini-card strong {
  display: block;
  color: #102a3a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.mx-contact-mini-card a {
  color: var(--mx-orange);
  font-weight: 900;
}

.mx-contact-form {
  display: grid;
  gap: 16px;
}

.mx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mx-contact-form label {
  display: grid;
  gap: 7px;
  color: #102a3a;
  font-weight: 900;
  font-size: 14px;
}

.mx-contact-form label strong {
  color: var(--mx-orange);
}

.mx-contact-form input,
.mx-contact-form textarea {
  width: 100%;
  border: 1px solid #d9e2e8;
  border-radius: 14px;
  background: #f8fbfd;
  color: #102a3a;
  padding: 14px 15px;
  font: inherit;
  font-weight: 650;
  outline: none;
  transition: .18s ease;
}

.mx-contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.mx-contact-form input:focus,
.mx-contact-form textarea:focus {
  border-color: var(--mx-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,130,20,.12);
}

.mx-contact-form .mx-btn {
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
  border: 0;
}

.mx-form-notice {
  margin: 0 0 24px;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 850;
}

.mx-form-notice-ok {
  color: #0a5032;
  background: #e9f8f1;
  border: 1px solid #bfe9d2;
}

.mx-form-notice-error {
  color: #7a1f1f;
  background: #fff0f0;
  border: 1px solid #f0c2c2;
}

@media (max-width: 980px) {
  .mx-contact-page-layout,
  .mx-order-page-layout {
    grid-template-columns: 1fr;
  }

  .mx-contact-intro,
  .mx-order-hero-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .mx-contact-intro,
  .mx-order-hero-card,
  .mx-contact-form-card {
    padding: 24px;
    border-radius: 20px;
  }

  .mx-form-row {
    grid-template-columns: 1fr;
  }

  .mx-contact-form .mx-btn {
    width: 100%;
  }
}


/* MotoExpert 2.4.7 — formularze jako osobne szablony i shortcode */
.mx-contact-forms-single {
  margin-top: 42px;
}

.mx-contact-page-layout,
.mx-order-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.mx-contact-intro,
.mx-order-hero-card,
.mx-contact-form-card {
  background: #fff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 24px 70px rgba(8,35,50,.10);
  border: 1px solid rgba(12,42,58,.06);
}

.mx-contact-intro,
.mx-order-hero-card {
  position: sticky;
  top: 112px;
  background:
    radial-gradient(circle at 90% 10%, rgba(245,130,20,.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbfd);
}

.mx-order-hero-card {
  background:
    linear-gradient(135deg, rgba(6,29,42,.96), rgba(11,42,59,.92)),
    radial-gradient(circle at 90% 10%, rgba(245,130,20,.26), transparent 30%);
  color: #fff;
}

.mx-order-hero-card p,
.mx-order-hero-card li {
  color: rgba(255,255,255,.84);
}

.mx-order-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
  font-weight: 800;
}

.mx-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--mx-orange);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-contact-intro h2,
.mx-order-hero-card h2,
.mx-contact-form-card h2 {
  margin: 0 0 12px;
  color: #102a3a;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.mx-order-hero-card h2 {
  color: #fff;
}

.mx-contact-intro p,
.mx-contact-form-card p {
  color: #526a78;
  margin: 0 0 24px;
  font-weight: 650;
}

.mx-contact-mini-card {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f4f7f9;
  border: 1px solid #e4ebef;
}

.mx-contact-mini-card strong {
  display: block;
  color: #102a3a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.mx-contact-mini-card a {
  color: var(--mx-orange);
  font-weight: 900;
}

.mx-contact-form {
  display: grid;
  gap: 16px;
}

.mx-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mx-contact-form label {
  display: grid;
  gap: 7px;
  color: #102a3a;
  font-weight: 900;
  font-size: 14px;
}

.mx-contact-form label strong {
  color: var(--mx-orange);
}

.mx-contact-form input,
.mx-contact-form textarea {
  width: 100%;
  border: 1px solid #d9e2e8;
  border-radius: 14px;
  background: #f8fbfd;
  color: #102a3a;
  padding: 14px 15px;
  font: inherit;
  font-weight: 650;
  outline: none;
  transition: .18s ease;
}

.mx-contact-form textarea {
  resize: vertical;
  min-height: 118px;
}

.mx-contact-form input:focus,
.mx-contact-form textarea:focus {
  border-color: var(--mx-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,130,20,.12);
}

.mx-contact-form .mx-btn {
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
  border: 0;
}

.mx-form-notice {
  margin: 0 0 24px;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 850;
}

.mx-form-notice-ok {
  color: #0a5032;
  background: #e9f8f1;
  border: 1px solid #bfe9d2;
}

.mx-form-notice-error {
  color: #7a1f1f;
  background: #fff0f0;
  border: 1px solid #f0c2c2;
}

@media (max-width: 980px) {
  .mx-contact-page-layout,
  .mx-order-page-layout {
    grid-template-columns: 1fr;
  }

  .mx-contact-intro,
  .mx-order-hero-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .mx-contact-intro,
  .mx-order-hero-card,
  .mx-contact-form-card {
    padding: 24px;
    border-radius: 20px;
  }

  .mx-form-row {
    grid-template-columns: 1fr;
  }

  .mx-contact-form .mx-btn {
    width: 100%;
  }
}


/* MotoExpert 2.4.8 — obsługa formularzy także jako Wpis */
.single-post .mx-standard-entry {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(8,35,50,.08);
}

.single-post .mx-contact-forms-single {
  margin-top: 0;
}


/* MotoExpert 2.5.1 — sekcja opinii klientów */
.mx-reviews-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(245,130,20,.10), transparent 26%),
    linear-gradient(180deg, #f4f7f9 0%, #ffffff 100%);
}

.mx-reviews-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.mx-reviews-head p {
  margin: -12px 0 0;
  color: #526a78;
  font-size: 18px;
  font-weight: 650;
}

.mx-reviews-box {
  background: #fff;
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 24px 70px rgba(8,35,50,.10);
  border: 1px solid rgba(12,42,58,.06);
  overflow: hidden;
}

.mx-reviews-empty {
  padding: 28px;
  border: 1px dashed #d9e2e8;
  border-radius: 18px;
  background: #f8fbfd;
  color: #526a78;
  text-align: center;
}

.mx-reviews-empty strong {
  display: block;
  color: #102a3a;
  font-size: 20px;
  margin-bottom: 8px;
}

.mx-reviews-empty p {
  margin: 0;
  font-weight: 650;
}

.mx-reviews-box iframe,
.mx-reviews-box .trustindex-widget,
.mx-reviews-box [class*="trustindex"],
.mx-reviews-box [id*="trustindex"] {
  max-width: 100% !important;
}

@media (max-width: 640px) {
  .mx-reviews-box {
    border-radius: 20px;
    padding: 16px;
  }

  .mx-reviews-empty {
    padding: 20px;
  }
}

/* MotoExpert 2.5.2 - finalne nadpisania responsywne */
.mx-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mx-contact-form input,
.mx-contact-form textarea,
.mx-contact-form select,
.single-samochod .mx-car-spec-table th,
.single-samochod .mx-car-spec-table td {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.single-samochod .mx-car-details-grid {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 760px) {
  .mx-contact-page-layout,
  .mx-order-page-layout,
  .mx-contact-form .mx-form-row {
    grid-template-columns: 1fr !important;
  }

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

  .single-samochod .auto-specyfikacja table,
  .single-samochod .auto-specyfikacja tbody,
  .single-samochod .auto-specyfikacja tr,
  .single-samochod .auto-specyfikacja th,
  .single-samochod .auto-specyfikacja td {
    display: block;
    width: 100% !important;
  }
}


/* MotoExpert 2.5.4 — dodatkowe zabezpieczenia responsywności */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

.mx-menu,
.mx-menu ul {
  min-width: 0;
}

.mx-section,
.mx-hero,
.mx-container,
.mx-card,
.mx-car-card,
.mx-reviews-box,
.single-samochod .mx-car-details-grid {
  max-width: 100%;
}

iframe,
video,
embed,
object {
  max-width: 100%;
}

@media (max-width: 820px) {
  .mx-topbar .mx-container,
  .mx-header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mx-header-inner {
    min-height: 0;
    padding: 14px 0;
  }

  .mx-logo {
    justify-content: center;
  }

  .mx-menu,
  .mx-menu ul {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 11px;
  }
}

@media (max-width: 640px) {
  .mx-container {
    width: min(100% - 22px, 1180px);
  }

  .mx-hero-content,
  .mx-section-head-premium,
  .mx-about-panel,
  .mx-reviews-head {
    max-width: 100%;
  }

  .mx-actions,
  .mx-section-head-premium {
    flex-direction: column;
    align-items: stretch;
  }

  .mx-actions .mx-btn,
  .mx-section-head-premium .mx-btn {
    width: 100%;
    text-align: center;
  }

  .mx-hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .mx-hero-arrow-prev { left: 8px; }
  .mx-hero-arrow-next { right: 8px; }

  .single-samochod table,
  .mx-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* MotoExpert 2.5.4 — dane firmy w stopce */
.mx-footer-company {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.mx-footer-company p {
  margin: 6px 0;
}

/* MotoExpert 2.5.6 — rozdzielenie sekcji strony głównej i porządek w stopce */
.mx-upcoming-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 12%, rgba(245,130,20,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  border-top: 1px solid rgba(11,42,59,.06);
  border-bottom: 1px solid rgba(11,42,59,.08);
}

.mx-upcoming-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(11,42,59,.08);
  box-shadow: 0 24px 70px rgba(8,35,50,.08);
  overflow: hidden;
}

.mx-upcoming-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--mx-orange), rgba(245,130,20,.18));
}

.mx-upcoming-panel .mx-section-title {
  margin-bottom: 24px;
}

.mx-upcoming-panel .mx-grid,
.mx-upcoming-panel .samochody-grid,
.mx-upcoming-panel [class*="grid"] {
  position: relative;
  z-index: 1;
}

.mx-reviews-section {
  position: relative;
  background:
    radial-gradient(circle at 80% 18%, rgba(245,130,20,.16), transparent 30%),
    linear-gradient(180deg, #eef4f7 0%, #ffffff 72%);
  border-top: 1px solid rgba(11,42,59,.08);
}

.mx-reviews-head {
  padding: 0 0 4px;
}

.mx-reviews-box {
  border: 1px solid rgba(11,42,59,.10);
  box-shadow: 0 26px 80px rgba(8,35,50,.13);
}

.mx-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(245,130,20,.09), transparent 26%),
    linear-gradient(180deg, #082433 0%, #061d2a 100%);
  padding: 58px 0 34px;
}

.mx-footer-grid {
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 1fr) minmax(220px, .72fr);
  align-items: start;
  gap: 34px;
}

.mx-footer-brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255,255,255,.72);
}

.mx-footer-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.mx-footer-card > strong,
.mx-footer-contact > strong,
.mx-footer-social-card > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 17px;
  color: #fff;
}

.mx-footer-contact-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mx-footer-contact-list p,
.mx-footer-company p {
  margin: 0;
}

.mx-footer-contact-list p {
  display: grid;
  gap: 2px;
}

.mx-footer-contact-list span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mx-footer-contact-list a {
  color: #fff;
  font-weight: 750;
}

.mx-footer-company {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.76);
}

.mx-footer-company p + p {
  margin-top: 6px;
}

.mx-footer-company strong {
  color: #fff;
}

.mx-footer-social {
  gap: 10px;
}

.mx-social-link {
  padding: 8px 0;
}

.mx-footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  color: rgba(255,255,255,.58);
}

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

  .mx-footer-grid > div:first-child {
    grid-column: auto;
  }

  .mx-footer-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .mx-upcoming-section {
    padding: 54px 0;
  }

  .mx-upcoming-panel {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .mx-footer {
    padding: 44px 0 28px;
  }

  .mx-footer-logo {
    max-width: 220px;
  }
}


/* MotoExpert 2.5.7 — równa stopka i dwie kolumny danych kontaktowych */
.mx-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.mx-footer-grid > div {
  min-width: 0;
}

.mx-footer-brand,
.mx-footer-contact,
.mx-footer-social-card {
  height: 100%;
}

.mx-footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mx-footer-brand p {
  line-height: 1.75;
}

.mx-footer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mx-footer-contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  height: 100%;
}

.mx-footer-contact-col {
  min-width: 0;
}

.mx-footer-company-col {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.10);
}

.mx-footer-col-title {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-footer-contact-list {
  margin-bottom: 0;
}

.mx-footer-contact-list p,
.mx-footer-company p {
  min-height: 42px;
}

.mx-footer-company {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.mx-footer-social-card .mx-footer-social {
  margin-top: 2px;
}

.mx-footer-social-card .mx-social-link:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .mx-footer-grid {
    grid-template-columns: 1fr;
  }

  .mx-footer-contact-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .mx-footer-contact-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mx-footer-company-col {
    padding-left: 0;
    border-left: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.10);
  }
}


/* MotoExpert 2.5.8 — proporcje stopki po uwagach */
.mx-footer-grid {
  grid-template-columns: minmax(300px, 1.05fr) minmax(460px, 1.38fr) minmax(210px, .72fr);
  gap: 28px;
}

.mx-footer-brand {
  justify-content: flex-start;
  gap: 28px;
}

.mx-footer-brand .mx-footer-logo {
  margin-bottom: 0;
}

.mx-footer-brand p {
  margin-top: 0;
  max-width: 390px;
}

.mx-footer-contact {
  padding-left: 30px;
  padding-right: 30px;
}

.mx-footer-contact-columns {
  grid-template-columns: minmax(180px, .9fr) minmax(230px, 1.1fr);
  gap: 26px;
}

.mx-footer-social-card {
  padding: 22px 24px;
  max-width: 280px;
  justify-self: start;
  width: 100%;
}

.mx-footer-social-card .mx-footer-social {
  gap: 8px;
}

.mx-footer-social-card .mx-social-link {
  padding: 7px 0;
}

@media (max-width: 1100px) {
  .mx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mx-footer-contact {
    grid-column: 1 / -1;
    order: 3;
  }

  .mx-footer-social-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .mx-footer-grid {
    grid-template-columns: 1fr;
  }

  .mx-footer-contact {
    grid-column: auto;
    order: initial;
    padding-left: 20px;
    padding-right: 20px;
  }

  .mx-footer-social-card {
    max-width: none;
  }

  .mx-footer-brand {
    gap: 20px;
  }
}


/* MotoExpert 2.5.9 — węższe social, szerszy kontakt i kompaktowe dane firmy */
.mx-footer-grid {
  grid-template-columns: minmax(300px, 1fr) minmax(500px, 1.5fr) minmax(170px, .5fr);
  gap: 24px;
}

.mx-footer-brand {
  gap: 16px;
}

.mx-footer-brand .mx-footer-logo {
  max-width: 320px;
}

.mx-footer-brand p {
  max-width: 400px;
}

.mx-footer-contact {
  padding-left: 32px;
  padding-right: 32px;
}

.mx-footer-contact-columns {
  grid-template-columns: minmax(180px, .78fr) minmax(250px, 1.12fr);
  gap: 22px;
}

.mx-footer-contact-list p {
  min-height: 0;
  margin-bottom: 14px;
}

.mx-footer-contact-list p:last-child {
  margin-bottom: 0;
}

.mx-footer-company-col {
  padding-left: 20px;
}

.mx-footer-company p {
  min-height: 0;
  margin: 0;
  line-height: 1.5;
}

.mx-footer-company p + p {
  margin-top: 8px;
}

.mx-footer-social-card {
  max-width: 220px;
  padding-left: 22px;
  padding-right: 22px;
}

.mx-footer-social-card .mx-social-link {
  gap: 10px;
}

@media (max-width: 1100px) {
  .mx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mx-footer-social-card {
    max-width: 240px;
  }
}

@media (max-width: 760px) {
  .mx-footer-grid {
    grid-template-columns: 1fr;
  }

  .mx-footer-social-card {
    max-width: none;
  }

  .mx-footer-brand {
    gap: 14px;
  }
}


/* MotoExpert 2.5.10 — kontakt w stopce bez nagłówka, treść wyżej */
.mx-footer-contact-compact {
  justify-content: flex-start;
}

.mx-footer-contact-compact .mx-footer-contact-columns {
  margin-top: 0;
  height: auto;
}

.mx-footer-contact-compact .mx-footer-contact-list,
.mx-footer-contact-compact .mx-footer-company {
  padding-top: 0;
}


/* MotoExpert 2.5.14 — pomarańczowe oddzielenie stopki od sekcji zamówienia */
.mx-footer {
  border-top: 2px solid var(--mx-orange);
}

.mx-order-section + .mx-footer,
.mx-section-dark + .mx-footer {
  border-top-color: var(--mx-orange);
}


/* MotoExpert 2.5.15 — usunięcie jasnej przerwy nad stopką */
.mx-section-dark:last-of-type {
  margin-bottom: 0;
  padding-bottom: 76px;
  background: var(--mx-navy);
}

.mx-section-dark:last-of-type + .mx-footer,
.mx-footer {
  margin-top: 0;
  border-top: 2px solid var(--mx-orange);
  background:
    radial-gradient(circle at 18% 0%, rgba(245,130,20,.09), transparent 26%),
    linear-gradient(180deg, #082433 0%, #061d2a 100%);
}

.mx-section-dark:last-of-type::after {
  display: none;
}

@media (max-width: 640px) {
  .mx-section-dark:last-of-type {
    padding-bottom: 54px;
  }
}


/* MotoExpert 2.5.16 — paginacja list ogłoszeń i pusty stan */
.motoexpert-empty-list {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11,42,59,.10);
  color: #435765;
}
.motoexpert-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 34px 0 0;
}
.motoexpert-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11,42,59,.15);
  color: var(--mx-navy);
  font-weight: 800;
  text-decoration: none;
}
.motoexpert-pagination a.is-active,
.motoexpert-pagination a:hover {
  background: var(--mx-orange);
  border-color: var(--mx-orange);
  color: #fff;
}


/* MotoExpert 2.5.17 — sekcja wkrótce 2 auta i usunięcie jasnej linii nad stopką */
.mx-upcoming-head {
  margin-bottom: 24px;
}

.mx-upcoming-head .mx-section-title {
  margin-bottom: 0;
}

.mx-order-section {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  box-shadow: inset 0 -3px 0 var(--mx-orange);
  background: var(--mx-navy) !important;
}

.mx-order-section + .mx-footer,
.mx-footer {
  margin-top: -1px !important;
  border-top: 0 !important;
}

.mx-order-section + .mx-footer::before {
  content: none !important;
}

body {
  background: var(--mx-navy-dark);
}


/* MotoExpert 2.5.18 — jaśniejsze podstrony list ogłoszeń */
body.page-template-default,
body.page {
  background: #f4f7f9;
}

.mx-content {
  background:
    radial-gradient(circle at 82% 8%, rgba(245,130,20,.10), transparent 28%),
    linear-gradient(180deg, #f4f7f9 0%, #eef4f7 100%);
  color: #132936;
}

.mx-page-hero {
  background:
    radial-gradient(circle at 78% 0%, rgba(245,130,20,.12), transparent 32%),
    linear-gradient(135deg, #082433 0%, #0b2a3b 100%);
  border-bottom: 3px solid var(--mx-orange);
}

.mx-listing-page-section {
  padding: 42px;
  margin: 0 auto;
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,42,59,.08);
  box-shadow: 0 24px 70px rgba(8,35,50,.10);
}

.mx-listing-page-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.mx-listing-page-intro span {
  color: var(--mx-orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-listing-page-intro h2 {
  margin: 0;
  color: var(--mx-navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.mx-listing-page-intro p {
  margin: 0;
  color: #536774;
  max-width: 720px;
  font-size: 16px;
}

.mx-listing-page-section .auto-list {
  margin-top: 0;
}

.mx-listing-page-section .auto-card {
  box-shadow: 0 18px 48px rgba(8,35,50,.13);
  border: 1px solid rgba(11,42,59,.08);
}

.mx-listing-page-section .motoexpert-pagination {
  margin-top: 38px;
}

.mx-listing-archive-content {
  background:
    radial-gradient(circle at 82% 8%, rgba(245,130,20,.10), transparent 28%),
    linear-gradient(180deg, #f4f7f9 0%, #eef4f7 100%);
}

@media (max-width: 760px) {
  .mx-listing-page-section {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .mx-content {
    padding-top: 34px;
    padding-bottom: 42px;
  }
}


/* MotoExpert 2.5.19 — jasne listy ogłoszeń i poprawiona stopka na pojedynczym ogłoszeniu */
.mx-listing-page-content,
.tax-status_ogloszenia .mx-content,
.post-type-archive-samochod .mx-content,
body.page .mx-listing-page-content {
  background:
    radial-gradient(circle at 82% 7%, rgba(245,130,20,.11), transparent 30%),
    linear-gradient(180deg, #f6f8fa 0%, #eef4f7 100%) !important;
  color: #132936 !important;
}

.mx-listing-page-hero {
  background:
    radial-gradient(circle at 82% 0%, rgba(245,130,20,.18), transparent 34%),
    linear-gradient(135deg, #082433 0%, #0b2a3b 100%) !important;
  border-bottom: 3px solid var(--mx-orange) !important;
}

.mx-listing-page-content .mx-container {
  max-width: 1180px;
}

.mx-listing-page-content .mx-listing-page-section,
.tax-status_ogloszenia .mx-listing-page-section,
.post-type-archive-samochod .mx-listing-page-section {
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  box-shadow: 0 28px 80px rgba(8,35,50,.12) !important;
}

.mx-listing-page-content .auto-list,
.tax-status_ogloszenia .auto-list,
.post-type-archive-samochod .auto-list {
  background: transparent !important;
}

.mx-listing-page-content .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  background: #fff !important;
  color: #132936 !important;
}

.single-samochod .mx-footer,
.single-samochod footer.mx-footer,
.single-samochod footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(245,130,20,.09), transparent 26%),
    linear-gradient(180deg, #082433 0%, #061d2a 100%) !important;
  background-color: #061d2a !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(245,130,20,.09), transparent 26%),
    linear-gradient(180deg, #082433 0%, #061d2a 100%) !important;
  color: rgba(255,255,255,.84) !important;
}

.single-samochod .mx-footer-card {
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.10) !important;
}

.single-samochod .mx-footer *,
.single-samochod footer.mx-footer * {
  opacity: 1 !important;
}

.single-samochod .mx-single-hero-copy h1 {
  max-width: 820px;
}

.single-samochod .mx-single-hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0;
}

.single-samochod .mx-single-hero-price {
  margin-top: 12px;
}


/* MotoExpert 2.5.20 — poprawiony nagłówek pojedynczego ogłoszenia na mobile */
.single-samochod .mx-single-listing-hero {
  overflow: hidden;
}

.single-samochod .mx-single-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.single-samochod .mx-single-hero-copy h1 {
  word-break: normal;
  overflow-wrap: anywhere;
}

.single-samochod .mx-single-hero-meta {
  max-width: 100%;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .single-samochod .mx-header-inner {
    min-height: auto;
    padding: 18px 0 22px;
    flex-direction: column;
    gap: 16px;
  }

  .single-samochod .mx-logo img {
    max-height: 70px;
  }

  .single-samochod .mx-menu,
  .single-samochod .mx-menu ul {
    justify-content: center;
    width: 100%;
    gap: 10px 12px;
  }

  .single-samochod .mx-menu a,
  .single-samochod .mx-menu .menu-item a {
    font-size: 14px;
    padding: 13px 18px;
    min-width: 132px;
    text-align: center;
    background: rgba(255,255,255,.08);
  }

  .single-samochod .mx-single-listing-hero {
    min-height: 360px !important;
    padding: 58px 0 66px !important;
    display: flex !important;
    align-items: center !important;
    background-position: center center !important;
  }

  .single-samochod .mx-single-listing-hero::before {
    inset: 0 !important;
    height: auto !important;
    width: 100% !important;
    background-position: right bottom !important;
    background-size: 54% auto !important;
    opacity: .18 !important;
  }

  .single-samochod .mx-single-listing-hero::after {
    background:
      linear-gradient(90deg, rgba(6,29,42,.92) 0%, rgba(6,29,42,.86) 52%, rgba(6,29,42,.66) 100%),
      linear-gradient(180deg, rgba(6,29,42,.08) 0%, rgba(6,29,42,.92) 100%) !important;
  }

  .single-samochod .mx-single-hero-copy {
    width: min(100%, 520px);
    padding-right: 24px;
  }

  .single-samochod .mx-single-hero-copy h1 {
    font-size: clamp(40px, 11vw, 58px) !important;
    line-height: .98 !important;
    margin-bottom: 12px !important;
    max-width: 92vw !important;
  }

  .single-samochod .mx-single-hero-meta {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    padding: 10px 14px !important;
    font-size: clamp(15px, 4.4vw, 20px) !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    border-radius: 999px !important;
  }

  .single-samochod .mx-single-hero-price {
    display: block !important;
    margin-top: 12px !important;
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1 !important;
  }

  .single-samochod .mx-content {
    padding-top: 42px !important;
  }
}

@media (max-width: 430px) {
  .single-samochod .mx-menu a,
  .single-samochod .mx-menu .menu-item a {
    min-width: 128px;
    font-size: 13px;
    padding: 12px 14px;
  }

  .single-samochod .mx-single-listing-hero {
    min-height: 330px !important;
    padding: 46px 0 58px !important;
  }

  .single-samochod .mx-single-hero-copy h1 {
    font-size: clamp(36px, 10.5vw, 48px) !important;
  }

  .single-samochod .mx-single-hero-meta {
    font-size: 14px !important;
    border-radius: 18px !important;
  }
}


/* MotoExpert 2.5.21 — poprawne zawijanie tekstu w stopce na mobile */
.mx-footer,
.mx-footer * {
  box-sizing: border-box;
}

.mx-footer-grid,
.mx-footer-card,
.mx-footer-contact,
.mx-footer-social-card,
.mx-footer-contact-columns,
.mx-footer-contact-col,
.mx-footer-company,
.mx-footer-social,
.mx-social-link {
  min-width: 0;
}

.mx-footer-contact-list a,
.mx-footer-company p,
.mx-footer-company strong,
.mx-footer-social-card,
.mx-footer-social-card a,
.mx-social-link span,
.mx-footer-bottom {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.mx-footer-contact-columns {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.mx-footer-company-col {
  min-width: 0;
}

@media (max-width: 760px) {
  .mx-footer-grid {
    width: min(100%, calc(100vw - 32px));
  }

  .mx-footer-card {
    width: 100%;
    max-width: 100%;
  }

  .mx-footer-contact-columns {
    grid-template-columns: 1fr !important;
  }

  .mx-footer-company-col {
    padding-left: 0 !important;
    border-left: 0 !important;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.10);
  }

  .mx-footer-company p,
  .mx-footer-company strong,
  .mx-footer-contact-list a {
    white-space: normal !important;
  }
}

@media (max-width: 430px) {
  .mx-footer {
    overflow: hidden;
  }

  .mx-footer-grid {
    width: min(100%, calc(100vw - 24px));
  }

  .mx-footer-card {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mx-footer-logo {
    max-width: 100%;
    height: auto;
  }
}


/* MotoExpert 2.5.22 — ładniejsze i symetryczne menu mobilne */
@media (max-width: 760px) {
  .mx-header {
    position: relative;
  }

  .mx-header-inner {
    min-height: auto;
    padding: 20px 0 24px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .mx-logo {
    width: 100%;
    justify-content: center;
  }

  .mx-logo img {
    max-height: 72px;
    max-width: min(360px, 86vw);
    object-fit: contain;
  }

  .mx-menu {
    width: 100%;
    display: block;
  }

  .mx-menu ul {
    width: min(100%, 620px);
    margin: 0 auto;
    padding: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .mx-menu li,
  .mx-menu .menu-item {
    width: 100%;
    margin: 0;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    width: 100%;
    min-height: 58px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 16px !important;
    border-radius: 999px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.045);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  }

  .mx-menu a:hover,
  .mx-menu .current-menu-item > a,
  .mx-menu .current_page_item > a {
    background: var(--mx-orange);
    border-color: var(--mx-orange);
    color: #fff;
    box-shadow: 0 10px 26px rgba(245,130,20,.18);
  }
}

@media (max-width: 430px) {
  .mx-topbar {
    font-size: 13px;
  }

  .mx-header-inner {
    padding: 18px 0 22px;
    gap: 16px;
  }

  .mx-logo img {
    max-height: 66px;
    max-width: 88vw;
  }

  .mx-menu ul {
    gap: 10px;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    min-height: 54px;
    padding: 12px 10px !important;
    font-size: 13px;
    letter-spacing: .035em;
  }

  .mx-menu li:last-child:nth-child(odd),
  .mx-menu .menu-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .mx-menu a,
  .mx-menu .menu-item a {
    font-size: 12px;
    min-height: 50px;
  }
}


/* MotoExpert 2.5.23 — profesjonalny mobile: menu i hero ogłoszenia */
@media (max-width: 760px) {
  .mx-topbar {
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.25;
    background: #061d2a;
  }

  .mx-topbar .mx-container {
    justify-content: center;
  }

  .mx-topbar-right {
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 7px;
  }

  .mx-header {
    background:
      radial-gradient(circle at 50% 0%, rgba(255,255,255,.05), transparent 34%),
      linear-gradient(180deg, #12384b 0%, #0b2a3b 100%);
    box-shadow: none;
  }

  .mx-header-inner {
    padding: 18px 0 24px !important;
    gap: 16px !important;
  }

  .mx-logo img {
    max-width: min(315px, 78vw) !important;
    max-height: 62px !important;
    object-fit: contain;
  }

  .mx-menu ul {
    width: min(100%, 560px);
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    min-height: 52px !important;
    padding: 12px 12px !important;
    border-radius: 22px !important;
    font-size: 13px !important;
    letter-spacing: .045em !important;
    background: rgba(255,255,255,.075) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.05),
      0 10px 24px rgba(0,0,0,.10);
  }

  .mx-menu a:hover,
  .mx-menu .current-menu-item > a,
  .mx-menu .current_page_item > a {
    background: var(--mx-orange) !important;
    border-color: var(--mx-orange) !important;
  }

  .mx-menu li:last-child:nth-child(odd),
  .mx-menu .menu-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: start;
  }

  .single-samochod .mx-single-listing-hero {
    min-height: auto !important;
    padding: 44px 0 50px !important;
    display: block !important;
    background-position: center center !important;
    border-bottom: 4px solid var(--mx-orange);
  }

  .single-samochod .mx-single-listing-hero::before {
    background-size: 46% auto !important;
    background-position: right bottom !important;
    opacity: .12 !important;
  }

  .single-samochod .mx-single-listing-hero::after {
    background:
      linear-gradient(90deg, rgba(6,29,42,.94) 0%, rgba(6,29,42,.88) 58%, rgba(6,29,42,.76) 100%),
      linear-gradient(180deg, rgba(6,29,42,.18) 0%, rgba(6,29,42,.94) 100%) !important;
  }

  .single-samochod .mx-single-hero-copy {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .single-samochod .mx-single-hero-copy h1 {
    width: fit-content;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: clamp(36px, 9.5vw, 54px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
  }

  .single-samochod .mx-single-hero-meta {
    display: flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 11px 15px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: rgba(255,255,255,.92) !important;
    font-size: clamp(14px, 3.6vw, 17px) !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }

  .single-samochod .mx-single-hero-price {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mx-orange) !important;
    font-size: clamp(34px, 9vw, 48px) !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
    font-weight: 950 !important;
  }

  .single-samochod .mx-content {
    padding-top: 42px !important;
  }
}

@media (max-width: 430px) {
  .mx-header-inner {
    padding: 16px 0 22px !important;
  }

  .mx-logo img {
    max-width: 82vw !important;
    max-height: 56px !important;
  }

  .mx-menu ul {
    gap: 9px !important;
  }

  .mx-menu a,
  .mx-menu .menu-item a {
    min-height: 48px !important;
    padding: 11px 9px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
  }

  .single-samochod .mx-single-listing-hero {
    padding: 38px 0 46px !important;
  }

  .single-samochod .mx-single-hero-copy h1 {
    margin-bottom: 12px !important;
    font-size: clamp(34px, 10vw, 46px) !important;
  }

  .single-samochod .mx-single-hero-meta {
    margin-bottom: 16px !important;
    padding: 10px 13px !important;
    font-size: 14px !important;
  }

  .single-samochod .mx-single-hero-price {
    font-size: clamp(32px, 10vw, 44px) !important;
  }
}


/* MotoExpert 2.5.24 — logo bez prostokątnego tła */
.mx-logo img,
.mx-footer-logo {
  background: transparent !important;
}

.mx-logo {
  background: transparent !important;
}

@media (max-width: 760px) {
  .mx-logo img {
    display: block;
    max-width: min(315px, 78vw) !important;
    height: auto !important;
  }
}


/* MotoExpert 2.5.25 — profesjonalniejsze karty ogłoszeń na stronie głównej */
.home .auto-card {
  position: relative !important;
  min-height: 420px !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  background: #061d2a !important;
  box-shadow: 0 28px 70px rgba(8,35,50,.18) !important;
}

.home .auto-card > a:first-child,
.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  grid-area: unset !important;
}

.home .auto-card > a:first-child {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  height: 100% !important;
  display: block !important;
}

.home .auto-card > a:first-child img,
.home .auto-card .motoexpert-car-img,
.home .auto-card img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  transform: scale(1.01);
}

.home .auto-card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(6,29,42,.06) 0%, rgba(6,29,42,.32) 48%, rgba(6,29,42,.94) 100%),
    linear-gradient(90deg, rgba(6,29,42,.72) 0%, rgba(6,29,42,.34) 50%, rgba(6,29,42,.80) 100%) !important;
  pointer-events: none !important;
}

.home .auto-card::after {
  content: '' !important;
  position: absolute !important;
  inset: auto 0 0 0 !important;
  z-index: 2 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--mx-orange), rgba(245,130,20,.18), transparent) !important;
}

.home .auto-card h3,
.home .auto-card p {
  position: relative !important;
  z-index: 3 !important;
  color: #fff !important;
}

.home .auto-card h3 {
  margin: auto 28px 8px !important;
  align-self: end !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}

.home .auto-card h3 a {
  color: #fff !important;
}

.home .auto-card p:nth-of-type(1) {
  margin: 0 28px 18px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

.home .auto-card p:nth-of-type(2) {
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  right: 28px !important;
  bottom: 34px !important;
  z-index: 4 !important;
  color: #fff !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: right !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.home .auto-card p:nth-of-type(2) strong {
  color: #fff !important;
}

.home .auto-card p:last-child {
  margin: 0 28px 28px !important;
  position: relative !important;
  z-index: 5 !important;
  align-self: end !important;
  max-width: calc(100% - 220px) !important;
}

.home .auto-card p:last-child a {
  padding: 13px 22px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 34px rgba(245,130,20,.30) !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .home .auto-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 520px !important;
    padding-top: 0 !important;
  }

  .home .auto-card h3 {
    margin: 0 24px 8px !important;
    font-size: clamp(28px, 7vw, 42px) !important;
  }

  .home .auto-card p:nth-of-type(1) {
    margin: 0 24px 18px !important;
    font-size: clamp(15px, 4vw, 20px) !important;
  }

  .home .auto-card p:nth-of-type(2) {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    order: 4 !important;
    width: calc(100% - 48px) !important;
    margin: 0 24px 14px !important;
    padding: 12px 16px !important;
    text-align: left !important;
    color: var(--mx-orange) !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 18px !important;
    font-size: clamp(26px, 7.5vw, 38px) !important;
    text-shadow: none !important;
    backdrop-filter: blur(8px);
  }

  .home .auto-card p:last-child {
    order: 5 !important;
    max-width: none !important;
    width: calc(100% - 48px) !important;
    margin: 0 24px 24px !important;
  }

  .home .auto-card p:last-child a {
    width: 100% !important;
    justify-content: center !important;
    font-size: 16px !important;
    padding: 15px 20px !important;
  }
}

@media (max-width: 430px) {
  .home .auto-card {
    min-height: 500px !important;
    border-radius: 26px !important;
  }

  .home .auto-card h3 {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .home .auto-card p:nth-of-type(1),
  .home .auto-card p:nth-of-type(2),
  .home .auto-card p:last-child {
    width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .home .auto-card p:nth-of-type(2) {
    font-size: 31px !important;
  }
}


/* MotoExpert 2.5.26 — uporządkowane karty ogłoszeń na desktopie i mobile */
.auto-list .auto-card,
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card {
  position: relative !important;
  display: block !important;
  min-height: 390px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: #061d2a !important;
  box-shadow: 0 24px 64px rgba(8,35,50,.16) !important;
  isolation: isolate !important;
}

.auto-list .auto-card > a:first-child,
.home .auto-list .auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.auto-list .auto-card > a:first-child img,
.auto-list .auto-card .motoexpert-car-img,
.auto-list .auto-card img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
}

.auto-list .auto-card::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(6,29,42,.14) 0%, rgba(6,29,42,.20) 42%, rgba(6,29,42,.88) 100%),
    linear-gradient(90deg, rgba(6,29,42,.46) 0%, rgba(6,29,42,.12) 45%, rgba(6,29,42,.60) 100%) !important;
  pointer-events: none !important;
}

.auto-list .auto-card::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 2 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--mx-orange), rgba(245,130,20,.15), transparent) !important;
}

.auto-list .auto-card h3,
.auto-list .auto-card p {
  position: absolute !important;
  z-index: 3 !important;
  margin: 0 !important;
}

.auto-list .auto-card h3 {
  left: 28px !important;
  right: 170px !important;
  bottom: 74px !important;
  font-size: clamp(28px, 2.4vw, 42px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
}

.auto-list .auto-card h3 a {
  color: #fff !important;
  text-decoration: none !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.28) !important;
}

.auto-list .auto-card p:nth-of-type(1) {
  left: 28px !important;
  right: 190px !important;
  bottom: 30px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
  right: 28px !important;
  bottom: 28px !important;
  left: auto !important;
  color: #fff !important;
  font-size: clamp(26px, 2.2vw, 40px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: right !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.35) !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) strong {
  color: #fff !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:last-child {
  left: 22px !important;
  top: 22px !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:last-child a,
.auto-list .auto-card.auto-card-sold p:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(245,130,20,.26) !important;
  white-space: nowrap !important;
}

.auto-list .auto-card.auto-card-sold h3 {
  right: 28px !important;
}

.auto-list .auto-card.auto-card-sold p:nth-of-type(1) {
  right: 28px !important;
}

.auto-list .auto-card.auto-card-sold p:last-child {
  left: 22px !important;
  top: 22px !important;
}

@media (max-width: 900px) {
  .auto-list .auto-card,
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card {
    min-height: 500px !important;
    border-radius: 28px !important;
  }

  .auto-list .auto-card h3 {
    left: 22px !important;
    right: 22px !important;
    bottom: 148px !important;
    font-size: clamp(26px, 7vw, 40px) !important;
  }

  .auto-list .auto-card p:nth-of-type(1) {
    left: 22px !important;
    right: 22px !important;
    bottom: 112px !important;
    font-size: 15px !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
    left: 22px !important;
    right: 22px !important;
    bottom: 66px !important;
    padding: 12px 16px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: var(--mx-orange) !important;
    text-align: left !important;
    text-shadow: none !important;
    backdrop-filter: blur(8px) !important;
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) strong {
    color: var(--mx-orange) !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:last-child,
  .auto-list .auto-card.auto-card-sold p:last-child {
    left: 22px !important;
    right: 22px !important;
    top: auto !important;
    bottom: 20px !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:last-child a,
  .auto-list .auto-card.auto-card-sold p:last-child a {
    display: flex !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 430px) {
  .auto-list .auto-card,
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card {
    min-height: 470px !important;
    border-radius: 24px !important;
  }

  .auto-list .auto-card h3 {
    left: 20px !important;
    right: 20px !important;
    bottom: 146px !important;
    font-size: clamp(24px, 6.6vw, 34px) !important;
  }

  .auto-list .auto-card p:nth-of-type(1) {
    left: 20px !important;
    right: 20px !important;
    bottom: 110px !important;
    font-size: 14px !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
    left: 20px !important;
    right: 20px !important;
    bottom: 66px !important;
    font-size: clamp(24px, 8vw, 34px) !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:last-child,
  .auto-list .auto-card.auto-card-sold p:last-child {
    left: 20px !important;
    right: 20px !important;
    bottom: 18px !important;
  }
}


/* MotoExpert 2.5.27 — stabilne karty: zdjęcie + belka danych pod zdjęciem */
.auto-list .auto-card,
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.14) !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  position: relative !important;
  isolation: isolate !important;
}

.auto-list .auto-card::before,
.auto-list .auto-card::after {
  display: none !important;
  content: none !important;
}

.auto-list .auto-card > a:first-child,
.home .auto-list .auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #061d2a !important;
}

.auto-list .auto-card > a:first-child::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background:
    linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.18) 55%, rgba(6,29,42,.58) 100%) !important;
  pointer-events: none !important;
}

.auto-list .auto-card > a:first-child img,
.auto-list .auto-card .motoexpert-car-img,
.auto-list .auto-card img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  background: #061d2a !important;
}

.auto-list .auto-card h3,
.auto-list .auto-card p {
  position: static !important;
  inset: auto !important;
  z-index: 3 !important;
  width: auto !important;
  max-width: none !important;
  color: #0b2a3b !important;
  text-shadow: none !important;
}

.auto-list .auto-card h3 {
  order: 2 !important;
  margin: 18px 22px 6px !important;
  padding: 0 !important;
  font-size: clamp(22px, 2.1vw, 30px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em !important;
  font-weight: 950 !important;
}

.auto-list .auto-card h3 a {
  color: #0b2a3b !important;
  text-decoration: none !important;
}

.auto-list .auto-card p:nth-of-type(1) {
  order: 3 !important;
  margin: 0 22px 14px !important;
  padding: 0 !important;
  color: #526b79 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
  order: 4 !important;
  position: static !important;
  margin: 0 22px 22px !important;
  padding: 13px 16px !important;
  width: auto !important;
  background: #f3f7f9 !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  border-radius: 18px !important;
  color: var(--mx-orange) !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: left !important;
  box-shadow: none !important;
}

.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) strong {
  color: var(--mx-orange) !important;
}

.auto-list .auto-card p:last-child {
  position: absolute !important;
  left: 18px !important;
  top: 18px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  order: initial !important;
  width: auto !important;
  max-width: calc(100% - 36px) !important;
}

.auto-list .auto-card p:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(245,130,20,.34) !important;
  white-space: nowrap !important;
}

.auto-list .auto-card.auto-card-sold p:last-child {
  position: absolute !important;
  left: 18px !important;
  top: 18px !important;
  bottom: auto !important;
}

.auto-list .auto-card.auto-card-sold .auto-card-sold-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 5;
}

@media (max-width: 900px) {
  .auto-list .auto-card,
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card {
    border-radius: 26px !important;
  }

  .auto-list .auto-card h3 {
    margin: 17px 20px 6px !important;
    font-size: clamp(23px, 6.2vw, 34px) !important;
  }

  .auto-list .auto-card p:nth-of-type(1) {
    margin: 0 20px 14px !important;
    font-size: 15px !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
    margin: 0 20px 20px !important;
    padding: 13px 15px !important;
    font-size: clamp(27px, 8vw, 38px) !important;
  }

  .auto-list .auto-card p:last-child {
    left: 16px !important;
    top: 16px !important;
  }

  .auto-list .auto-card p:last-child a {
    min-height: 40px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 430px) {
  .auto-list .auto-card,
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card {
    border-radius: 24px !important;
  }

  .auto-list .auto-card h3 {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 25px !important;
  }

  .auto-list .auto-card p:nth-of-type(1) {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 14px !important;
  }

  .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 30px !important;
  }

  .auto-list .auto-card p:last-child {
    left: 14px !important;
    top: 14px !important;
  }
}


/* MotoExpert 2.5.28 — spójne karty ogłoszeń na stronie głównej i listach */
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.auto-list .auto-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 22px 60px rgba(8,35,50,.12) !important;
  isolation: isolate !important;
}

.home .auto-list .auto-card::before,
.home .auto-list .auto-card::after,
.mx-listing-page-section .auto-card::before,
.mx-listing-page-section .auto-card::after,
.tax-status_ogloszenia .auto-card::before,
.tax-status_ogloszenia .auto-card::after,
.auto-list .auto-card::before,
.auto-list .auto-card::after {
  display: none !important;
  content: none !important;
}

.home .auto-list .auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.auto-list .auto-card > a:first-child {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #081f2c !important;
  border-radius: 0 !important;
  order: 1 !important;
}

.home .auto-list .auto-card > a:first-child::after,
.mx-listing-page-section .auto-card > a:first-child::after,
.tax-status_ogloszenia .auto-card > a:first-child::after,
.auto-list .auto-card > a:first-child::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.12) 55%, rgba(6,29,42,.32) 100%) !important;
  pointer-events: none !important;
}

.home .auto-list .auto-card > a:first-child img,
.home .auto-list .auto-card .motoexpert-car-img,
.home .auto-list .auto-card img,
.mx-listing-page-section .auto-card > a:first-child img,
.mx-listing-page-section .auto-card .motoexpert-car-img,
.mx-listing-page-section .auto-card img,
.tax-status_ogloszenia .auto-card > a:first-child img,
.tax-status_ogloszenia .auto-card .motoexpert-car-img,
.tax-status_ogloszenia .auto-card img,
.auto-list .auto-card > a:first-child img,
.auto-list .auto-card .motoexpert-car-img,
.auto-list .auto-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.home .auto-list .auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.auto-list .auto-card h3,
.home .auto-list .auto-card p,
.mx-listing-page-section .auto-card p,
.tax-status_ogloszenia .auto-card p,
.auto-list .auto-card p {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-shadow: none !important;
}

.home .auto-list .auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.auto-list .auto-card h3 {
  order: 2 !important;
  margin: 18px 22px 8px !important;
  color: #0b2a3b !important;
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
}

.home .auto-list .auto-card h3 a,
.mx-listing-page-section .auto-card h3 a,
.tax-status_ogloszenia .auto-card h3 a,
.auto-list .auto-card h3 a {
  color: #0b2a3b !important;
  text-decoration: none !important;
}

.home .auto-list .auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.auto-list .auto-card p:nth-of-type(1) {
  order: 3 !important;
  margin: 0 22px 14px !important;
  color: #5a6e7c !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
}

.home .auto-list .auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.auto-list .auto-card p:nth-of-type(2) {
  order: 4 !important;
  margin: 0 22px 18px !important;
  padding: 12px 16px !important;
  border-radius: 18px !important;
  background: #f4f7f9 !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  color: var(--mx-orange) !important;
  font-size: clamp(24px, 2.3vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: left !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.home .auto-list .auto-card p:nth-of-type(2) strong,
.mx-listing-page-section .auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia .auto-card p:nth-of-type(2) strong,
.auto-list .auto-card p:nth-of-type(2) strong {
  color: var(--mx-orange) !important;
}

.home .auto-list .auto-card p:last-child,
.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.auto-list .auto-card p:last-child {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
  order: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: calc(100% - 32px) !important;
}

.home .auto-list .auto-card p:last-child a,
.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.auto-list .auto-card p:last-child a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 14px 34px rgba(245,130,20,.32) !important;
}

.home .auto-list .auto-card.auto-card-sold .auto-card-sold-badge,
.mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
.auto-list .auto-card.auto-card-sold .auto-card-sold-badge {
  position: absolute !important;
  right: 16px !important;
  top: 16px !important;
  z-index: 6 !important;
}

.home .auto-list .auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(2),
.auto-list .auto-card.auto-card-sold p:nth-of-type(2) {
  display: none !important;
}

@media (min-width: 901px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    border-radius: 30px !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    min-height: 1.8em;
  }
}

@media (max-width: 900px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    border-radius: 26px !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    margin: 16px 20px 8px !important;
    font-size: clamp(24px, 6vw, 34px) !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    margin: 0 20px 12px !important;
    font-size: 14px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    margin: 0 20px 18px !important;
    padding: 12px 15px !important;
    font-size: clamp(26px, 8vw, 36px) !important;
  }

  .home .auto-list .auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .auto-list .auto-card p:last-child {
    top: 14px !important;
    left: 14px !important;
    max-width: calc(100% - 28px) !important;
  }
}

@media (max-width: 430px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    border-radius: 24px !important;
  }

  .home .auto-list .auto-card > a:first-child img,
  .home .auto-list .auto-card .motoexpert-car-img,
  .home .auto-list .auto-card img,
  .mx-listing-page-section .auto-card > a:first-child img,
  .mx-listing-page-section .auto-card .motoexpert-car-img,
  .mx-listing-page-section .auto-card img,
  .tax-status_ogloszenia .auto-card > a:first-child img,
  .tax-status_ogloszenia .auto-card .motoexpert-car-img,
  .tax-status_ogloszenia .auto-card img,
  .auto-list .auto-card > a:first-child img,
  .auto-list .auto-card .motoexpert-car-img,
  .auto-list .auto-card img {
    aspect-ratio: 16 / 10 !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 23px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    margin-left: 18px !important;
    margin-right: 18px !important;
    font-size: 29px !important;
  }

  .home .auto-list .auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .auto-list .auto-card p:last-child {
    top: 12px !important;
    left: 12px !important;
  }

  .home .auto-list .auto-card p:last-child a,
  .mx-listing-page-section .auto-card p:last-child a,
  .tax-status_ogloszenia .auto-card p:last-child a,
  .auto-list .auto-card p:last-child a {
    min-height: 38px !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
  }
}


/* MotoExpert 2.5.29 — dane ogłoszenia po prawej pod zdjęciem */
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.auto-list .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%) !important;
  grid-template-rows: auto auto auto auto !important;
  align-items: start !important;
}

.home .auto-list .auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.auto-list .auto-card > a:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

.home .auto-list .auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.auto-list .auto-card h3 {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: stretch !important;
  align-self: start !important;
  margin: 18px 22px 8px 0 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}

.home .auto-list .auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.auto-list .auto-card p:nth-of-type(1) {
  grid-column: 2 !important;
  grid-row: 3 !important;
  justify-self: stretch !important;
  margin: 0 22px 12px 0 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.home .auto-list .auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.auto-list .auto-card p:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 4 !important;
  justify-self: end !important;
  width: fit-content !important;
  max-width: calc(100% - 22px) !important;
  margin: 0 22px 22px 0 !important;
  text-align: right !important;
}

@media (max-width: 900px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    grid-template-columns: 1fr !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3,
  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1),
  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    grid-column: 1 !important;
    text-align: left !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    margin: 16px 20px 8px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    margin: 0 20px 12px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    justify-self: stretch !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 20px 18px !important;
    text-align: left !important;
  }
}


/* MotoExpert 2.5.30 — nazwa auta po lewej, parametry i cena po prawej */
@media (min-width: 901px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%) !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    grid-column: 1 !important;
    grid-row: 2 / span 3 !important;
    align-self: start !important;
    justify-self: stretch !important;
    margin: 18px 18px 22px 22px !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: stretch !important;
    margin: 18px 22px 10px 0 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    grid-column: 2 !important;
    grid-row: 3 !important;
    justify-self: end !important;
    align-self: start !important;
    width: fit-content !important;
    max-width: calc(100% - 22px) !important;
    margin: 0 22px 22px 0 !important;
    text-align: right !important;
  }
}


/* MotoExpert 2.5.31 — przycisk pod nazwą auta po lewej, parametry i cena po prawej */
@media (min-width: 901px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%) !important;
    grid-template-rows: auto auto auto !important;
    align-items: start !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 18px 18px 10px 22px !important;
    text-align: left !important;
    align-self: start !important;
    justify-self: stretch !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .home .auto-list .auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .auto-list .auto-card p:last-child {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    align-self: end !important;
    justify-self: start !important;
    margin: 0 18px 22px 22px !important;
    padding: 0 !important;
    max-width: calc(100% - 40px) !important;
    z-index: auto !important;
  }

  .home .auto-list .auto-card p:last-child a,
  .mx-listing-page-section .auto-card p:last-child a,
  .tax-status_ogloszenia .auto-card p:last-child a,
  .auto-list .auto-card p:last-child a {
    display: inline-flex !important;
    width: auto !important;
    min-height: 42px !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    justify-self: stretch !important;
    margin: 18px 22px 10px 0 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: end !important;
    justify-self: end !important;
    width: fit-content !important;
    max-width: calc(100% - 22px) !important;
    margin: 0 22px 22px 0 !important;
    text-align: right !important;
  }
}


/* MotoExpert 2.5.32 — dopracowane karty ogłoszeń + cena w ramce na stronie ogłoszenia */
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.auto-list .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 38%) !important;
  grid-template-rows: auto auto auto !important;
  align-items: start !important;
  gap: 0 !important;
}

.home .auto-list .auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.auto-list .auto-card > a:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

.home .auto-list .auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.auto-list .auto-card h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
  justify-self: stretch !important;
  margin: 16px 14px 6px 22px !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}

.home .auto-list .auto-card p:last-child,
.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.auto-list .auto-card p:last-child {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: start !important;
  justify-self: start !important;
  margin: 0 14px 16px 22px !important;
  padding: 0 !important;
  max-width: calc(100% - 36px) !important;
}

.home .auto-list .auto-card p:last-child a,
.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.auto-list .auto-card p:last-child a {
  display: inline-flex !important;
  width: auto !important;
  min-height: 40px !important;
  padding: 10px 18px !important;
  font-size: 14px !important;
}

.home .auto-list .auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.auto-list .auto-card p:nth-of-type(1) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  justify-self: stretch !important;
  margin: 16px 22px 6px 8px !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.home .auto-list .auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.auto-list .auto-card p:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: start !important;
  justify-self: end !important;
  width: fit-content !important;
  max-width: calc(100% - 22px) !important;
  margin: 0 22px 16px 8px !important;
  padding: 10px 16px !important;
  text-align: right !important;
}

@media (max-width: 900px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    border-radius: 24px !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 16px 18px 8px !important;
    font-size: 24px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    grid-column: 1 !important;
    grid-row: 3 !important;
    margin: 0 18px 10px !important;
    text-align: left !important;
    font-size: 14px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    grid-column: 1 !important;
    grid-row: 4 !important;
    justify-self: start !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 18px 12px !important;
    padding: 12px 16px !important;
    text-align: left !important;
    font-size: 28px !important;
  }

  .home .auto-list .auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .auto-list .auto-card p:last-child {
    grid-column: 1 !important;
    grid-row: 5 !important;
    justify-self: stretch !important;
    margin: 0 18px 18px !important;
    max-width: none !important;
  }

  .home .auto-list .auto-card p:last-child a,
  .mx-listing-page-section .auto-card p:last-child a,
  .tax-status_ogloszenia .auto-card p:last-child a,
  .auto-list .auto-card p:last-child a {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Cena w ramce na stronie pojedynczego ogłoszenia */
.single-samochod .mx-single-hero-price {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 14px 0 0 !important;
  padding: 12px 18px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 18px !important;
  color: #ff8a14 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.18) !important;
  text-shadow: none !important;
  backdrop-filter: blur(8px) !important;
}

@media (max-width: 640px) {
  .single-samochod .mx-single-hero-price {
    padding: 11px 16px !important;
    border-radius: 16px !important;
  }
}


/* MotoExpert 2.5.33 — mobile: cena po prawej u góry, duży przycisk na dole */
@media (max-width: 900px) {
  .home .auto-list .auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .auto-list .auto-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto auto !important;
    align-items: start !important;
  }

  .home .auto-list .auto-card > a:first-child,
  .mx-listing-page-section .auto-card > a:first-child,
  .tax-status_ogloszenia .auto-card > a:first-child,
  .auto-list .auto-card > a:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin: 16px 12px 8px 18px !important;
    text-align: left !important;
    align-self: start !important;
    justify-self: stretch !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    width: auto !important;
    max-width: calc(100% - 18px) !important;
    margin: 16px 18px 10px 8px !important;
    padding: 11px 15px !important;
    text-align: right !important;
    font-size: 25px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .home .auto-list .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .auto-list .auto-card p:nth-of-type(1) {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    margin: 0 18px 12px !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .home .auto-list .auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .auto-list .auto-card p:last-child {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    justify-self: stretch !important;
    margin: 0 18px 18px !important;
    max-width: none !important;
  }

  .home .auto-list .auto-card p:last-child a,
  .mx-listing-page-section .auto-card p:last-child a,
  .tax-status_ogloszenia .auto-card p:last-child a,
  .auto-list .auto-card p:last-child a {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 430px) {
  .home .auto-list .auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .auto-list .auto-card h3 {
    margin: 16px 10px 8px 18px !important;
    font-size: 22px !important;
  }

  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .auto-list .auto-card p:nth-of-type(2) {
    margin: 16px 18px 10px 6px !important;
    padding: 10px 14px !important;
    font-size: 23px !important;
  }
}


/* MotoExpert 2.5.34 — poprawione karty na podstronach Wkrótce / W sprzedaży / Sprzedane */
.mx-listing-page-section {
  max-width: 1180px !important;
}

.mx-listing-page-section .auto-list,
.tax-status_ogloszenia .auto-list,
.post-type-archive-samochod .auto-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
}

.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
}

.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.post-type-archive-samochod .auto-card > a:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
}

.mx-listing-page-section .auto-card > a:first-child img,
.mx-listing-page-section .auto-card .motoexpert-car-img,
.mx-listing-page-section .auto-card img,
.tax-status_ogloszenia .auto-card > a:first-child img,
.tax-status_ogloszenia .auto-card .motoexpert-car-img,
.tax-status_ogloszenia .auto-card img,
.post-type-archive-samochod .auto-card > a:first-child img,
.post-type-archive-samochod .auto-card .motoexpert-car-img,
.post-type-archive-samochod .auto-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  margin: 16px 10px 8px 20px !important;
  text-align: left !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1.1 !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: end !important;
  align-self: start !important;
  width: auto !important;
  max-width: none !important;
  margin: 16px 20px 8px 8px !important;
  padding: 10px 14px !important;
  white-space: nowrap !important;
  font-size: clamp(22px, 2.2vw, 30px) !important;
  line-height: 1 !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  margin: 0 20px 12px !important;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  position: static !important;
  justify-self: stretch !important;
  margin: 0 20px 20px !important;
  max-width: none !important;
}

.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.post-type-archive-samochod .auto-card p:last-child a {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  min-height: 42px !important;
}

@media (max-width: 1100px) {
  .mx-listing-page-section .auto-list,
  .tax-status_ogloszenia .auto-list,
  .post-type-archive-samochod .auto-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .mx-listing-page-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .post-type-archive-samochod .auto-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin-left: 18px !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    margin-right: 18px !important;
    font-size: 23px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .post-type-archive-samochod .auto-card p:last-child {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}


/* MotoExpert 2.5.35 — wyrównane odstępy w kartach na podstronach ogłoszeń */
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  grid-template-rows: auto auto auto auto !important;
}

.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  margin: 20px 12px 4px 20px !important;
  align-self: start !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  margin: 20px 20px 4px 10px !important;
  align-self: start !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  margin: 0 20px 10px !important;
}

.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  margin: 0 20px 18px !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin: 16px 18px 6px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    margin: 16px 18px 8px 10px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1) {
    margin: 0 18px 10px !important;
  }

  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .post-type-archive-samochod .auto-card p:last-child {
    margin: 0 18px 18px !important;
  }
}


/* MotoExpert 2.5.36 — finalne wyrównanie kart na podstronach ogłoszeń */
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;
  row-gap: 0 !important;
  background: #fff !important;
}

.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.post-type-archive-samochod .auto-card > a:first-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  margin-bottom: 0 !important;
}

.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
  margin: 18px 12px 4px 20px !important;
  font-size: 25px !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  justify-self: end !important;
  margin: 16px 20px 4px 8px !important;
  padding: 10px 14px !important;
  font-size: 25px !important;
  line-height: 1 !important;
  border-radius: 15px !important;
  white-space: nowrap !important;
}

.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  margin: 2px 20px 12px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #536b7a !important;
}

.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  margin: 0 20px 18px !important;
  padding: 0 !important;
}

.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.post-type-archive-samochod .auto-card p:last-child a {
  min-height: 38px !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  border-radius: 999px !important;
}

@media (min-width: 1101px) {
  .mx-listing-page-section .auto-list,
  .tax-status_ogloszenia .auto-list,
  .post-type-archive-samochod .auto-list {
    gap: 34px 32px !important;
  }
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .post-type-archive-samochod .auto-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin: 16px 10px 6px 18px !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    margin: 15px 18px 6px 8px !important;
    padding: 9px 13px !important;
    font-size: 23px !important;
  }

  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1) {
    margin: 0 18px 12px !important;
    font-size: 14px !important;
  }

  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .post-type-archive-samochod .auto-card p:last-child {
    margin: 0 18px 18px !important;
  }
}



/* MotoExpert 2.5.49 — finalny układ kart na podstronach ogłoszeń */
.mx-listing-page-section .auto-list,
.tax-status_ogloszenia .auto-list,
.post-type-archive-samochod .auto-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  align-items: start !important;
}

.mx-listing-page-section article.auto-card,
.tax-status_ogloszenia article.auto-card,
.post-type-archive-samochod article.auto-card {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%) !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.13) !important;
  position: relative !important;
}

.mx-listing-page-section article.auto-card::before,
.mx-listing-page-section article.auto-card::after,
.tax-status_ogloszenia article.auto-card::before,
.tax-status_ogloszenia article.auto-card::after,
.post-type-archive-samochod article.auto-card::before,
.post-type-archive-samochod article.auto-card::after {
  display: none !important;
  content: none !important;
}

.mx-listing-page-section article.auto-card > a:first-child,
.tax-status_ogloszenia article.auto-card > a:first-child,
.post-type-archive-samochod article.auto-card > a:first-child {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 1 !important;
  background: #061d2a !important;
  overflow: hidden !important;
}

.mx-listing-page-section article.auto-card > a:first-child img,
.mx-listing-page-section article.auto-card .motoexpert-car-img,
.mx-listing-page-section article.auto-card img,
.tax-status_ogloszenia article.auto-card > a:first-child img,
.tax-status_ogloszenia article.auto-card .motoexpert-car-img,
.tax-status_ogloszenia article.auto-card img,
.post-type-archive-samochod article.auto-card > a:first-child img,
.post-type-archive-samochod article.auto-card .motoexpert-car-img,
.post-type-archive-samochod article.auto-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

.mx-listing-page-section article.auto-card h3,
.tax-status_ogloszenia article.auto-card h3,
.post-type-archive-samochod article.auto-card h3 {
  position: static !important;
  order: 2 !important;
  margin: 18px 22px 6px !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  color: #0b2a3b !important;
  font-size: clamp(24px, 2.1vw, 31px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
  text-align: left !important;
  text-shadow: none !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}

.mx-listing-page-section article.auto-card h3 a,
.tax-status_ogloszenia article.auto-card h3 a,
.post-type-archive-samochod article.auto-card h3 a {
  color: #0b2a3b !important;
  text-decoration: none !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card p:nth-of-type(1),
.post-type-archive-samochod article.auto-card p:nth-of-type(1) {
  position: static !important;
  order: 3 !important;
  margin: 0 22px 12px !important;
  padding: 0 !important;
  color: #526b79 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  text-align: left !important;
  text-shadow: none !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2) {
  position: static !important;
  order: 4 !important;
  align-self: flex-start !important;
  width: auto !important;
  max-width: calc(100% - 44px) !important;
  margin: 0 22px 16px !important;
  padding: 12px 16px !important;
  border-radius: 17px !important;
  background: #eef4f7 !important;
  border: 1px solid rgba(11,42,59,.10) !important;
  color: var(--mx-orange) !important;
  font-size: clamp(25px, 2.3vw, 34px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-align: left !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
  white-space: nowrap !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia article.auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod article.auto-card p:nth-of-type(2) strong {
  color: var(--mx-orange) !important;
}

.mx-listing-page-section article.auto-card p:last-child,
.tax-status_ogloszenia article.auto-card p:last-child,
.post-type-archive-samochod article.auto-card p:last-child {
  position: static !important;
  order: 5 !important;
  width: auto !important;
  max-width: none !important;
  margin: auto 22px 22px !important;
  padding: 0 !important;
}

.mx-listing-page-section article.auto-card p:last-child a,
.tax-status_ogloszenia article.auto-card p:last-child a,
.post-type-archive-samochod article.auto-card p:last-child a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(245,130,20,.25) !important;
}

@media (max-width: 1100px) {
  .mx-listing-page-section .auto-list,
  .tax-status_ogloszenia .auto-list,
  .post-type-archive-samochod .auto-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card,
  .tax-status_ogloszenia article.auto-card,
  .post-type-archive-samochod article.auto-card {
    border-radius: 24px !important;
  }

  .mx-listing-page-section article.auto-card h3,
  .tax-status_ogloszenia article.auto-card h3,
  .post-type-archive-samochod article.auto-card h3 {
    margin: 16px 18px 6px !important;
    font-size: 24px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card p:nth-of-type(1) {
    margin: 0 18px 12px !important;
    font-size: 14px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2) {
    margin: 0 18px 14px !important;
    max-width: calc(100% - 36px) !important;
    font-size: 30px !important;
  }

  .mx-listing-page-section article.auto-card p:last-child,
  .tax-status_ogloszenia article.auto-card p:last-child,
  .post-type-archive-samochod article.auto-card p:last-child {
    margin: 0 18px 18px !important;
  }
}



/* MotoExpert 2.5.49 — ciaśniejsze dane, mniejsza cena, pełna szerokość przycisku */
.mx-listing-page-section article.auto-card,
.tax-status_ogloszenia article.auto-card,
.post-type-archive-samochod article.auto-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%) !important;
}

.mx-listing-page-section article.auto-card h3,
.tax-status_ogloszenia article.auto-card h3,
.post-type-archive-samochod article.auto-card h3 {
  margin: 16px 22px 2px !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  line-height: 1.06 !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card p:nth-of-type(1),
.post-type-archive-samochod article.auto-card p:nth-of-type(1) {
  margin: 0 22px 10px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2) {
  margin: 0 22px 14px !important;
  padding: 10px 14px !important;
  max-width: calc(100% - 44px) !important;
  font-size: clamp(20px, 1.7vw, 28px) !important;
  line-height: 1 !important;
  border-radius: 15px !important;
  background: #eef3f6 !important;
  border: 1px solid rgba(11,42,59,.09) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.mx-listing-page-section article.auto-card p:last-child,
.tax-status_ogloszenia article.auto-card p:last-child,
.post-type-archive-samochod article.auto-card p:last-child {
  margin: 0 22px 22px !important;
  width: calc(100% - 44px) !important;
  max-width: calc(100% - 44px) !important;
  align-self: stretch !important;
}

.mx-listing-page-section article.auto-card p:last-child a,
.tax-status_ogloszenia article.auto-card p:last-child a,
.post-type-archive-samochod article.auto-card p:last-child a {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  font-size: 14px !important;
  border-radius: 999px !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card h3,
  .tax-status_ogloszenia article.auto-card h3,
  .post-type-archive-samochod article.auto-card h3 {
    margin: 14px 18px 2px !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card p:nth-of-type(1) {
    margin: 0 18px 10px !important;
    font-size: 14px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2) {
    margin: 0 18px 14px !important;
    max-width: calc(100% - 36px) !important;
    font-size: 24px !important;
  }

  .mx-listing-page-section article.auto-card p:last-child,
  .tax-status_ogloszenia article.auto-card p:last-child,
  .post-type-archive-samochod article.auto-card p:last-child {
    margin: 0 18px 18px !important;
    width: calc(100% - 36px) !important;
    max-width: calc(100% - 36px) !important;
  }
}



/* MotoExpert 2.5.49 — usunięcie wymuszonej wysokości tytułu i mniejsza cena */
.mx-listing-page-section article.auto-card h3,
.tax-status_ogloszenia article.auto-card h3,
.post-type-archive-samochod article.auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
  font-size: 25px !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card p:nth-of-type(1),
.post-type-archive-samochod article.auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  margin-top: 2px !important;
  margin-bottom: 9px !important;
  padding-top: 0 !important;
  line-height: 1.25 !important;
  font-size: 13px !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  padding: 8px 13px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  border-radius: 14px !important;
}

.mx-listing-page-section article.auto-card p:last-child,
.tax-status_ogloszenia article.auto-card p:last-child,
.post-type-archive-samochod article.auto-card p:last-child,
.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card h3,
  .tax-status_ogloszenia article.auto-card h3,
  .post-type-archive-samochod article.auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin-top: 13px !important;
    margin-bottom: 0 !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1) {
    margin-top: 2px !important;
    margin-bottom: 9px !important;
    font-size: 13px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    font-size: 22px !important;
  }
}



/* MotoExpert 2.5.49 — cena po prawej, nazwa i parametry po lewej, przycisk na dole */
.mx-listing-page-section article.auto-card,
.tax-status_ogloszenia article.auto-card,
.post-type-archive-samochod article.auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image image"
    "title price"
    "meta price"
    "button button" !important;
  align-items: start !important;
  row-gap: 0 !important;
  column-gap: 12px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}

.mx-listing-page-section article.auto-card > a:first-child,
.tax-status_ogloszenia article.auto-card > a:first-child,
.post-type-archive-samochod article.auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.post-type-archive-samochod .auto-card > a:first-child {
  grid-area: image !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.mx-listing-page-section article.auto-card > a:first-child img,
.mx-listing-page-section article.auto-card .motoexpert-car-img,
.mx-listing-page-section article.auto-card img,
.tax-status_ogloszenia article.auto-card > a:first-child img,
.tax-status_ogloszenia article.auto-card .motoexpert-car-img,
.tax-status_ogloszenia article.auto-card img,
.post-type-archive-samochod article.auto-card > a:first-child img,
.post-type-archive-samochod article.auto-card .motoexpert-car-img,
.post-type-archive-samochod article.auto-card img,
.mx-listing-page-section .auto-card > a:first-child img,
.mx-listing-page-section .auto-card .motoexpert-car-img,
.mx-listing-page-section .auto-card img,
.tax-status_ogloszenia .auto-card > a:first-child img,
.tax-status_ogloszenia .auto-card .motoexpert-car-img,
.tax-status_ogloszenia .auto-card img,
.post-type-archive-samochod .auto-card > a:first-child img,
.post-type-archive-samochod .auto-card .motoexpert-car-img,
.post-type-archive-samochod .auto-card img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

.mx-listing-page-section article.auto-card h3,
.tax-status_ogloszenia article.auto-card h3,
.post-type-archive-samochod article.auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  grid-area: title !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 16px 0 2px 22px !important;
  padding: 0 !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  line-height: 1.04 !important;
  font-weight: 950 !important;
  text-align: left !important;
  align-self: end !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card p:nth-of-type(1),
.post-type-archive-samochod article.auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  grid-area: meta !important;
  margin: 0 0 12px 22px !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  text-align: left !important;
  color: #556c7a !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  grid-area: price !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 16px 22px 12px 0 !important;
  padding: 8px 12px !important;
  width: auto !important;
  max-width: 190px !important;
  min-width: 0 !important;
  border-radius: 14px !important;
  background: #eef3f6 !important;
  border: 1px solid rgba(11,42,59,.09) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
  font-size: clamp(18px, 1.45vw, 24px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  color: var(--mx-orange) !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.mx-listing-page-section article.auto-card p:last-child,
.tax-status_ogloszenia article.auto-card p:last-child,
.post-type-archive-samochod article.auto-card p:last-child,
.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  grid-area: button !important;
  margin: 0 22px 22px !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.mx-listing-page-section article.auto-card p:last-child a,
.tax-status_ogloszenia article.auto-card p:last-child a,
.post-type-archive-samochod article.auto-card p:last-child a,
.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.post-type-archive-samochod .auto-card p:last-child a {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  justify-content: center !important;
  border-radius: 999px !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card,
  .tax-status_ogloszenia article.auto-card,
  .post-type-archive-samochod article.auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .post-type-archive-samochod .auto-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "image image"
      "title price"
      "meta price"
      "button button" !important;
    column-gap: 10px !important;
  }

  .mx-listing-page-section article.auto-card h3,
  .tax-status_ogloszenia article.auto-card h3,
  .post-type-archive-samochod article.auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin: 14px 0 2px 18px !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1) {
    margin: 0 0 12px 18px !important;
    font-size: 13px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    margin: 14px 18px 12px 0 !important;
    padding: 8px 11px !important;
    max-width: 150px !important;
    font-size: 18px !important;
  }

  .mx-listing-page-section article.auto-card p:last-child,
  .tax-status_ogloszenia article.auto-card p:last-child,
  .post-type-archive-samochod article.auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .post-type-archive-samochod .auto-card p:last-child {
    margin: 0 18px 18px !important;
  }
}



/* MotoExpert 2.5.49 — cena bez ramki i jaśniejszy gradient zdjęć */
.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: none !important;
  color: var(--mx-orange) !important;
  font-size: clamp(18px, 1.35vw, 23px) !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia article.auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod article.auto-card p:nth-of-type(2) strong,
.mx-listing-page-section .auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia .auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod .auto-card p:nth-of-type(2) strong {
  color: var(--mx-orange) !important;
}

.mx-listing-page-section article.auto-card > a:first-child::after,
.tax-status_ogloszenia article.auto-card > a:first-child::after,
.post-type-archive-samochod article.auto-card > a:first-child::after,
.mx-listing-page-section .auto-card > a:first-child::after,
.tax-status_ogloszenia .auto-card > a:first-child::after,
.post-type-archive-samochod .auto-card > a:first-child::after,
.home .auto-list .auto-card > a:first-child::after,
.auto-list .auto-card > a:first-child::after {
  background:
    linear-gradient(180deg, rgba(6,29,42,.00) 0%, rgba(6,29,42,.05) 58%, rgba(6,29,42,.16) 100%) !important;
}

.auto-list .auto-card::before,
.home .auto-list .auto-card::before,
.mx-listing-page-section .auto-card::before,
.tax-status_ogloszenia .auto-card::before,
.post-type-archive-samochod .auto-card::before {
  background:
    linear-gradient(180deg, rgba(6,29,42,.02) 0%, rgba(6,29,42,.04) 55%, rgba(6,29,42,.12) 100%) !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    font-size: 19px !important;
    margin-top: 15px !important;
  }
}



/* MotoExpert 2.5.49 — czysty finalny układ kart ogłoszeń, bez ramki ceny i bez ciemnego gradientu */
.mx-listing-page-section .auto-list,
.tax-status_ogloszenia .auto-list,
.post-type-archive-samochod .auto-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  align-items: start !important;
}

.mx-listing-page-section article.auto-card,
.tax-status_ogloszenia article.auto-card,
.post-type-archive-samochod article.auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image image"
    "title price"
    "meta price"
    "button button" !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.13) !important;
  position: relative !important;
  isolation: isolate !important;
}

.mx-listing-page-section article.auto-card::before,
.mx-listing-page-section article.auto-card::after,
.tax-status_ogloszenia article.auto-card::before,
.tax-status_ogloszenia article.auto-card::after,
.post-type-archive-samochod article.auto-card::before,
.post-type-archive-samochod article.auto-card::after,
.mx-listing-page-section .auto-card::before,
.mx-listing-page-section .auto-card::after,
.tax-status_ogloszenia .auto-card::before,
.tax-status_ogloszenia .auto-card::after,
.post-type-archive-samochod .auto-card::before,
.post-type-archive-samochod .auto-card::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.mx-listing-page-section article.auto-card > a:first-child,
.tax-status_ogloszenia article.auto-card > a:first-child,
.post-type-archive-samochod article.auto-card > a:first-child,
.mx-listing-page-section .auto-card > a:first-child,
.tax-status_ogloszenia .auto-card > a:first-child,
.post-type-archive-samochod .auto-card > a:first-child {
  grid-area: image !important;
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.mx-listing-page-section article.auto-card > a:first-child::after,
.tax-status_ogloszenia article.auto-card > a:first-child::after,
.post-type-archive-samochod article.auto-card > a:first-child::after,
.mx-listing-page-section .auto-card > a:first-child::after,
.tax-status_ogloszenia .auto-card > a:first-child::after,
.post-type-archive-samochod .auto-card > a:first-child::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.mx-listing-page-section article.auto-card > a:first-child img,
.mx-listing-page-section article.auto-card .motoexpert-car-img,
.mx-listing-page-section article.auto-card img,
.tax-status_ogloszenia article.auto-card > a:first-child img,
.tax-status_ogloszenia article.auto-card .motoexpert-car-img,
.tax-status_ogloszenia article.auto-card img,
.post-type-archive-samochod article.auto-card > a:first-child img,
.post-type-archive-samochod article.auto-card .motoexpert-car-img,
.post-type-archive-samochod article.auto-card img,
.mx-listing-page-section .auto-card > a:first-child img,
.mx-listing-page-section .auto-card .motoexpert-car-img,
.mx-listing-page-section .auto-card img,
.tax-status_ogloszenia .auto-card > a:first-child img,
.tax-status_ogloszenia .auto-card .motoexpert-car-img,
.tax-status_ogloszenia .auto-card img,
.post-type-archive-samochod .auto-card > a:first-child img,
.post-type-archive-samochod .auto-card .motoexpert-car-img,
.post-type-archive-samochod .auto-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.mx-listing-page-section article.auto-card h3,
.tax-status_ogloszenia article.auto-card h3,
.post-type-archive-samochod article.auto-card h3,
.mx-listing-page-section .auto-card h3,
.tax-status_ogloszenia .auto-card h3,
.post-type-archive-samochod .auto-card h3 {
  grid-area: title !important;
  position: static !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 14px 0 2px 22px !important;
  padding: 0 !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  line-height: 1.04 !important;
  font-weight: 950 !important;
  letter-spacing: -.03em !important;
  color: #0b2a3b !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.mx-listing-page-section article.auto-card h3 a,
.tax-status_ogloszenia article.auto-card h3 a,
.post-type-archive-samochod article.auto-card h3 a,
.mx-listing-page-section .auto-card h3 a,
.tax-status_ogloszenia .auto-card h3 a,
.post-type-archive-samochod .auto-card h3 a {
  color: #0b2a3b !important;
  text-decoration: none !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card p:nth-of-type(1),
.post-type-archive-samochod article.auto-card p:nth-of-type(1),
.mx-listing-page-section .auto-card p:nth-of-type(1),
.tax-status_ogloszenia .auto-card p:nth-of-type(1),
.post-type-archive-samochod .auto-card p:nth-of-type(1) {
  grid-area: meta !important;
  position: static !important;
  margin: 0 0 12px 22px !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  color: #556c7a !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2) {
  grid-area: price !important;
  position: static !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 14px 22px 12px 8px !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mx-orange) !important;
  font-size: clamp(18px, 1.35vw, 23px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  text-align: right !important;
  white-space: nowrap !important;
  text-shadow: none !important;
}

.mx-listing-page-section article.auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia article.auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod article.auto-card p:nth-of-type(2) strong,
.mx-listing-page-section .auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia .auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod .auto-card p:nth-of-type(2) strong {
  color: var(--mx-orange) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mx-listing-page-section article.auto-card p:last-child,
.tax-status_ogloszenia article.auto-card p:last-child,
.post-type-archive-samochod article.auto-card p:last-child,
.mx-listing-page-section .auto-card p:last-child,
.tax-status_ogloszenia .auto-card p:last-child,
.post-type-archive-samochod .auto-card p:last-child {
  grid-area: button !important;
  position: static !important;
  margin: 0 22px 22px !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.mx-listing-page-section article.auto-card p:last-child a,
.tax-status_ogloszenia article.auto-card p:last-child a,
.post-type-archive-samochod article.auto-card p:last-child a,
.mx-listing-page-section .auto-card p:last-child a,
.tax-status_ogloszenia .auto-card p:last-child a,
.post-type-archive-samochod .auto-card p:last-child a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  background: var(--mx-orange) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(245,130,20,.25) !important;
}

@media (max-width: 1100px) {
  .mx-listing-page-section .auto-list,
  .tax-status_ogloszenia .auto-list,
  .post-type-archive-samochod .auto-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .mx-listing-page-section article.auto-card,
  .tax-status_ogloszenia article.auto-card,
  .post-type-archive-samochod article.auto-card,
  .mx-listing-page-section .auto-card,
  .tax-status_ogloszenia .auto-card,
  .post-type-archive-samochod .auto-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    border-radius: 24px !important;
  }

  .mx-listing-page-section article.auto-card h3,
  .tax-status_ogloszenia article.auto-card h3,
  .post-type-archive-samochod article.auto-card h3,
  .mx-listing-page-section .auto-card h3,
  .tax-status_ogloszenia .auto-card h3,
  .post-type-archive-samochod .auto-card h3 {
    margin: 14px 0 2px 18px !important;
    font-size: 22px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card p:nth-of-type(1),
  .mx-listing-page-section .auto-card p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card p:nth-of-type(1),
  .post-type-archive-samochod .auto-card p:nth-of-type(1) {
    margin: 0 0 12px 18px !important;
    font-size: 13px !important;
  }

  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2) {
    margin: 14px 18px 12px 8px !important;
    font-size: 18px !important;
  }

  .mx-listing-page-section article.auto-card p:last-child,
  .tax-status_ogloszenia article.auto-card p:last-child,
  .post-type-archive-samochod article.auto-card p:last-child,
  .mx-listing-page-section .auto-card p:last-child,
  .tax-status_ogloszenia .auto-card p:last-child,
  .post-type-archive-samochod .auto-card p:last-child {
    margin: 0 18px 18px !important;
  }
}



/* MotoExpert 2.5.49 — cena bez ramki wszędzie + spójne karty strona główna/listy */
.home .auto-list .auto-card,
.mx-listing-page-section .auto-card,
.tax-status_ogloszenia .auto-card,
.post-type-archive-samochod .auto-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%) !important;
}

.home .auto-list .auto-card p:nth-of-type(2),
.home .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2),
.mx-listing-page-section .auto-card p:nth-of-type(2),
.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2),
.auto-list .auto-card p:nth-of-type(2),
.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  color: var(--mx-orange) !important;
  font-size: clamp(18px, 1.35vw, 23px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

.home .auto-list .auto-card p:nth-of-type(2) strong,
.home .auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) strong,
.mx-listing-page-section .auto-card p:nth-of-type(2) strong,
.mx-listing-page-section article.auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia .auto-card p:nth-of-type(2) strong,
.tax-status_ogloszenia article.auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod .auto-card p:nth-of-type(2) strong,
.post-type-archive-samochod article.auto-card p:nth-of-type(2) strong,
.auto-list .auto-card p:nth-of-type(2) strong,
.auto-list .auto-card:not(.auto-card-sold) p:nth-of-type(2) strong {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: var(--mx-orange) !important;
}

/* ustawienie ceny po prawej na listach */
.mx-listing-page-section .auto-card p:nth-of-type(2),
.mx-listing-page-section article.auto-card p:nth-of-type(2),
.tax-status_ogloszenia .auto-card p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card p:nth-of-type(2),
.post-type-archive-samochod .auto-card p:nth-of-type(2),
.post-type-archive-samochod article.auto-card p:nth-of-type(2) {
  grid-area: price !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 14px 22px 12px 8px !important;
  text-align: right !important;
}

/* spójny układ na stronie głównej */
.home .auto-list .auto-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image image"
    "title price"
    "meta price"
    "button button" !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.13) !important;
}

.home .auto-list .auto-card::before,
.home .auto-list .auto-card::after,
.home .auto-list .auto-card > a:first-child::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.home .auto-list .auto-card > a:first-child {
  grid-area: image !important;
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.home .auto-list .auto-card > a:first-child img,
.home .auto-list .auto-card .motoexpert-car-img,
.home .auto-list .auto-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.home .auto-list .auto-card h3 {
  grid-area: title !important;
  position: static !important;
  min-height: 0 !important;
  margin: 14px 0 2px 22px !important;
  color: #0b2a3b !important;
  text-align: left !important;
  text-shadow: none !important;
  font-size: clamp(22px, 2vw, 29px) !important;
  line-height: 1.04 !important;
}

.home .auto-list .auto-card h3 a {
  color: #0b2a3b !important;
  text-decoration: none !important;
}

.home .auto-list .auto-card p:nth-of-type(1) {
  grid-area: meta !important;
  position: static !important;
  margin: 0 0 12px 22px !important;
  color: #556c7a !important;
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
}

.home .auto-list .auto-card p:nth-of-type(2) {
  grid-area: price !important;
  position: static !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 14px 22px 12px 8px !important;
  text-align: right !important;
}

.home .auto-list .auto-card p:last-child {
  grid-area: button !important;
  position: static !important;
  margin: 0 22px 22px !important;
  width: auto !important;
  max-width: none !important;
}

.home .auto-list .auto-card p:last-child a {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  justify-content: center !important;
}

@media (max-width: 640px) {
  .home .auto-list .auto-card p:nth-of-type(2),
  .mx-listing-page-section .auto-card p:nth-of-type(2),
  .mx-listing-page-section article.auto-card p:nth-of-type(2),
  .tax-status_ogloszenia .auto-card p:nth-of-type(2),
  .tax-status_ogloszenia article.auto-card p:nth-of-type(2),
  .post-type-archive-samochod .auto-card p:nth-of-type(2),
  .post-type-archive-samochod article.auto-card p:nth-of-type(2) {
    font-size: 18px !important;
    margin: 14px 18px 12px 8px !important;
  }
}



/* MotoExpert 2.5.49 — przycisk na stronie głównej na całą szerokość kafelka */
.home .auto-list .auto-card p:last-child,
.home .auto-list .auto-card:not(.auto-card-sold) p:last-child,
.home .auto-list article.auto-card p:last-child,
.home .auto-list article.auto-card:not(.auto-card-sold) p:last-child {
  grid-area: button !important;
  position: static !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 22px 22px !important;
  padding: 0 !important;
}

.home .auto-list .auto-card p:last-child a,
.home .auto-list .auto-card:not(.auto-card-sold) p:last-child a,
.home .auto-list article.auto-card p:last-child a,
.home .auto-list article.auto-card:not(.auto-card-sold) p:last-child a {
  display: flex !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 11px 18px !important;
  border-radius: 999px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .home .auto-list .auto-card p:last-child,
  .home .auto-list .auto-card:not(.auto-card-sold) p:last-child,
  .home .auto-list article.auto-card p:last-child,
  .home .auto-list article.auto-card:not(.auto-card-sold) p:last-child {
    margin: 0 18px 18px !important;
  }
}



/* MotoExpert 2.5.49 — 4 ogłoszenia na podstronach i poprawiona karta sprzedane */
.mx-listing-page-section .auto-list,
.tax-status_ogloszenia .auto-list,
.post-type-archive-samochod .auto-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
}

/* Karty sprzedane mają taki sam rozmiar zdjęcia jak pozostałe */
.mx-listing-page-section article.auto-card.auto-card-sold,
.tax-status_ogloszenia article.auto-card.auto-card-sold,
.post-type-archive-samochod article.auto-card.auto-card-sold,
.mx-listing-page-section .auto-card.auto-card-sold,
.tax-status_ogloszenia .auto-card.auto-card-sold,
.post-type-archive-samochod .auto-card.auto-card-sold {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto !important;
  grid-template-areas:
    "image"
    "title"
    "meta" !important;
  overflow: hidden !important;
  border-radius: 28px !important;
}

.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child,
.mx-listing-page-section .auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child {
  grid-area: image !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  background: #061d2a !important;
}

.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child img,
.mx-listing-page-section .auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Czerwony baner sprzedane stabilnie na zdjęciu */
.mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge {
  position: absolute !important;
  z-index: 8 !important;
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(220px, calc(100% - 40px)) !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  background: #e5222f !important;
  color: #fff !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 30px rgba(229,34,47,.24) !important;
}

.mx-listing-page-section .auto-card.auto-card-sold h3,
.tax-status_ogloszenia .auto-card.auto-card-sold h3,
.post-type-archive-samochod .auto-card.auto-card-sold h3 {
  grid-area: title !important;
  margin: 16px 22px 4px !important;
}

.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1) {
  grid-area: meta !important;
  margin: 0 22px 20px !important;
}

/* Usuń ewentualne puste pola ceny/przycisku w sprzedanych, jeśli poprzednie reguły próbują je ustawiać */
.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(2),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section .auto-card.auto-card-sold p:last-child,
.tax-status_ogloszenia .auto-card.auto-card-sold p:last-child,
.post-type-archive-samochod .auto-card.auto-card-sold p:last-child {
  display: none !important;
}

@media (max-width: 1100px) {
  .mx-listing-page-section .auto-list,
  .tax-status_ogloszenia .auto-list,
  .post-type-archive-samochod .auto-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge {
    top: 10px !important;
    width: min(200px, calc(100% - 34px)) !important;
    min-height: 38px !important;
    font-size: 12px !important;
  }
}



/* MotoExpert 2.5.49 — baner Sprzedane pod danymi auta, na całą szerokość kafelka */
.mx-listing-page-section .auto-card.auto-card-sold,
.tax-status_ogloszenia .auto-card.auto-card-sold,
.post-type-archive-samochod .auto-card.auto-card-sold,
.mx-listing-page-section article.auto-card.auto-card-sold,
.tax-status_ogloszenia article.auto-card.auto-card-sold,
.post-type-archive-samochod article.auto-card.auto-card-sold {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image"
    "title"
    "meta"
    "soldbadge" !important;
  overflow: hidden !important;
}

.mx-listing-page-section .auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child,
.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child {
  grid-area: image !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}

.mx-listing-page-section .auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child img,
.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.mx-listing-page-section .auto-card.auto-card-sold h3,
.tax-status_ogloszenia .auto-card.auto-card-sold h3,
.post-type-archive-samochod .auto-card.auto-card-sold h3,
.mx-listing-page-section article.auto-card.auto-card-sold h3,
.tax-status_ogloszenia article.auto-card.auto-card-sold h3,
.post-type-archive-samochod article.auto-card.auto-card-sold h3 {
  grid-area: title !important;
  margin: 16px 22px 2px !important;
}

.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1),
.mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(1) {
  grid-area: meta !important;
  margin: 0 22px 12px !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge,
.mx-listing-page-section article.auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia article.auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod article.auto-card.auto-card-sold .auto-card-sold-badge {
  grid-area: soldbadge !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 44px !important;
  margin: 0 22px 22px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #e5222f !important;
  color: #fff !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 30px rgba(229,34,47,.22) !important;
}

/* Ukryj ewentualne pola ceny/przycisku dla sprzedanych, żeby nie tworzyły pustej przestrzeni */
.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(2),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(2),
.post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section .auto-card.auto-card-sold p:last-child,
.tax-status_ogloszenia .auto-card.auto-card-sold p:last-child,
.post-type-archive-samochod .auto-card.auto-card-sold p:last-child,
.mx-listing-page-section article.auto-card.auto-card-sold p:last-child,
.tax-status_ogloszenia article.auto-card.auto-card-sold p:last-child,
.post-type-archive-samochod article.auto-card.auto-card-sold p:last-child {
  display: none !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card.auto-card-sold h3,
  .tax-status_ogloszenia .auto-card.auto-card-sold h3,
  .post-type-archive-samochod .auto-card.auto-card-sold h3,
  .mx-listing-page-section article.auto-card.auto-card-sold h3,
  .tax-status_ogloszenia article.auto-card.auto-card-sold h3,
  .post-type-archive-samochod article.auto-card.auto-card-sold h3 {
    margin: 14px 18px 2px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
  .post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1),
  .mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(1) {
    margin: 0 18px 12px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge,
  .mx-listing-page-section article.auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia article.auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod article.auto-card.auto-card-sold .auto-card-sold-badge {
    margin: 0 18px 18px !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
}



/* MotoExpert 2.5.49 — baner Sprzedane pod nazwą i parametrami */
.mx-listing-page-section .auto-card.auto-card-sold,
.tax-status_ogloszenia .auto-card.auto-card-sold,
.post-type-archive-samochod .auto-card.auto-card-sold,
.mx-listing-page-section article.auto-card.auto-card-sold,
.tax-status_ogloszenia article.auto-card.auto-card-sold,
.post-type-archive-samochod article.auto-card.auto-card-sold {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image"
    "title"
    "meta"
    "soldbadge" !important;
}

/* Jeżeli badge jest wewnątrz linku ze zdjęciem, rozbijamy wrapper, żeby badge mógł wejść pod dane */
.mx-listing-page-section .auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child,
.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child {
  display: contents !important;
}

.mx-listing-page-section .auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child img,
.mx-listing-page-section article.auto-card.auto-card-sold > a:first-child img,
.tax-status_ogloszenia article.auto-card.auto-card-sold > a:first-child img,
.post-type-archive-samochod article.auto-card.auto-card-sold > a:first-child img {
  grid-area: image !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
}

.mx-listing-page-section .auto-card.auto-card-sold h3,
.tax-status_ogloszenia .auto-card.auto-card-sold h3,
.post-type-archive-samochod .auto-card.auto-card-sold h3,
.mx-listing-page-section article.auto-card.auto-card-sold h3,
.tax-status_ogloszenia article.auto-card.auto-card-sold h3,
.post-type-archive-samochod article.auto-card.auto-card-sold h3 {
  grid-area: title !important;
  margin: 16px 22px 2px !important;
  position: static !important;
}

.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1),
.mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(1) {
  grid-area: meta !important;
  margin: 0 22px 12px !important;
  position: static !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge,
.mx-listing-page-section article.auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia article.auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod article.auto-card.auto-card-sold .auto-card-sold-badge {
  grid-area: soldbadge !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 44px !important;
  margin: 0 22px 22px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #e5222f !important;
  color: #fff !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 30px rgba(229,34,47,.22) !important;
  z-index: auto !important;
}

/* Gdy przeglądarka gorzej obsłuży display: contents w linku, wymuszamy brak pozycjonowania na obrazku */
.mx-listing-page-section .auto-card.auto-card-sold > a:first-child .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold > a:first-child .auto-card-sold-badge,
.post-type-archive-samochod .auto-card.auto-card-sold > a:first-child .auto-card-sold-badge {
  position: static !important;
  transform: none !important;
}

/* Usuń ewentualne pola ceny/przycisku dla sprzedanych */
.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(2),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(2),
.tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(2),
.post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(2),
.mx-listing-page-section .auto-card.auto-card-sold p:last-child,
.tax-status_ogloszenia .auto-card.auto-card-sold p:last-child,
.post-type-archive-samochod .auto-card.auto-card-sold p:last-child,
.mx-listing-page-section article.auto-card.auto-card-sold p:last-child,
.tax-status_ogloszenia article.auto-card.auto-card-sold p:last-child,
.post-type-archive-samochod article.auto-card.auto-card-sold p:last-child {
  display: none !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card.auto-card-sold h3,
  .tax-status_ogloszenia .auto-card.auto-card-sold h3,
  .post-type-archive-samochod .auto-card.auto-card-sold h3,
  .mx-listing-page-section article.auto-card.auto-card-sold h3,
  .tax-status_ogloszenia article.auto-card.auto-card-sold h3,
  .post-type-archive-samochod article.auto-card.auto-card-sold h3 {
    margin: 14px 18px 2px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
  .post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1),
  .mx-listing-page-section article.auto-card.auto-card-sold p:nth-of-type(1),
  .tax-status_ogloszenia article.auto-card.auto-card-sold p:nth-of-type(1),
  .post-type-archive-samochod article.auto-card.auto-card-sold p:nth-of-type(1) {
    margin: 0 18px 12px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge,
  .mx-listing-page-section article.auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia article.auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod article.auto-card.auto-card-sold .auto-card-sold-badge {
    margin: 0 18px 18px !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
}



/* MotoExpert 2.5.49 — obsługa poprawionej struktury kart sprzedanych z wtyczki 1.7.6 */
.mx-listing-page-section .auto-card.auto-card-sold,
.tax-status_ogloszenia .auto-card.auto-card-sold,
.post-type-archive-samochod .auto-card.auto-card-sold {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto auto auto !important;
  grid-template-areas:
    "image"
    "title"
    "meta"
    "soldbadge" !important;
  overflow: hidden !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-image-wrap,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-image-wrap,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-image-wrap {
  grid-area: image !important;
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-image-wrap a,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-image-wrap a,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-image-wrap a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-image-wrap img,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-image-wrap img,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-image-wrap img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.mx-listing-page-section .auto-card.auto-card-sold h3,
.tax-status_ogloszenia .auto-card.auto-card-sold h3,
.post-type-archive-samochod .auto-card.auto-card-sold h3 {
  grid-area: title !important;
  margin: 16px 22px 2px !important;
  position: static !important;
}

.mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
.tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
.post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1) {
  grid-area: meta !important;
  margin: 0 22px 12px !important;
  position: static !important;
}

.mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
.tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
.post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge {
  grid-area: soldbadge !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 44px !important;
  margin: 0 22px 22px !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: #e5222f !important;
  color: #fff !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 30px rgba(229,34,47,.22) !important;
  z-index: auto !important;
}

@media (max-width: 640px) {
  .mx-listing-page-section .auto-card.auto-card-sold h3,
  .tax-status_ogloszenia .auto-card.auto-card-sold h3,
  .post-type-archive-samochod .auto-card.auto-card-sold h3 {
    margin: 14px 18px 2px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold p:nth-of-type(1),
  .tax-status_ogloszenia .auto-card.auto-card-sold p:nth-of-type(1),
  .post-type-archive-samochod .auto-card.auto-card-sold p:nth-of-type(1) {
    margin: 0 18px 12px !important;
  }

  .mx-listing-page-section .auto-card.auto-card-sold .auto-card-sold-badge,
  .tax-status_ogloszenia .auto-card.auto-card-sold .auto-card-sold-badge,
  .post-type-archive-samochod .auto-card.auto-card-sold .auto-card-sold-badge {
    margin: 0 18px 18px !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }
}


/* MotoExpert 2.5.51 — poprawa widoku pojedynczego ogłoszenia */
.single-samochod .mx-single-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.single-samochod .mx-single-listing-hero h1 {
  margin: 0 0 10px !important;
}

.single-samochod .mx-single-hero-meta {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

.single-samochod .mx-single-hero-price {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #ff8a14 !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 10px 26px rgba(0,0,0,.24) !important;
}

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

.single-samochod .mx-car-details-grid {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr) !important;
  gap: 24px !important;
  margin-top: 26px !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja {
  width: 100% !important;
  min-width: 0 !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:first-child {
  max-width: 100% !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) {
  min-width: 0 !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
  columns: 1 !important;
  gap: 10px !important;
}

.single-samochod .auto-specyfikacja {
  padding: 22px !important;
}

.single-samochod .auto-specyfikacja table {
  table-layout: fixed !important;
}

.single-samochod .auto-specyfikacja th {
  width: 37% !important;
}

.single-samochod .auto-specyfikacja td {
  width: 63% !important;
}

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

  .single-samochod .mx-car-details-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(260px, .95fr) minmax(300px, 1.05fr) !important;
  }
}

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

  .single-samochod .mx-single-car-side {
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .mx-single-listing-hero {
    min-height: 320px !important;
    padding: 40px 0 32px !important;
  }

  .single-samochod .mx-single-listing-hero h1 {
    margin-bottom: 10px !important;
    font-size: clamp(34px, 10vw, 54px) !important;
  }

  .single-samochod .mx-single-hero-meta {
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 14px !important;
  }

  .single-samochod .mx-single-hero-price {
    margin-top: 10px !important;
    font-size: 30px !important;
  }

  .single-samochod .auto-specyfikacja {
    padding: 18px !important;
  }
}



/* MotoExpert 2.5.51 — profesjonalniejsze dane samochodu i wyposażenie */
.single-samochod .mx-car-details-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(330px, .95fr) minmax(420px, 1.35fr) !important;
  gap: 30px !important;
  align-items: start !important;
  margin-top: 34px !important;
}

.single-samochod .auto-specyfikacja {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  border-radius: 26px !important;
  padding: 28px !important;
  box-shadow: 0 24px 70px rgba(8,35,50,.10) !important;
}

.single-samochod .auto-specyfikacja h2,
.single-samochod .mx-car-spec-card h2 {
  margin: 0 0 22px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(11,42,59,.08) !important;
  color: #0b2a3b !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
}

.single-samochod .auto-specyfikacja table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  table-layout: auto !important;
}

.single-samochod .auto-specyfikacja tr {
  background: #f6f9fb !important;
  border-radius: 14px !important;
}

.single-samochod .auto-specyfikacja th,
.single-samochod .auto-specyfikacja td {
  border: 0 !important;
  padding: 10px 12px !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.single-samochod .auto-specyfikacja th {
  width: 42% !important;
  color: #0b2a3b !important;
  font-weight: 900 !important;
  border-radius: 14px 0 0 14px !important;
  white-space: normal !important;
}

.single-samochod .auto-specyfikacja td {
  width: 58% !important;
  color: #405b6b !important;
  font-weight: 750 !important;
  border-radius: 0 14px 14px 0 !important;
  text-align: left !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) {
  min-width: 0 !important;
}

.single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
  list-style: none !important;
}

.single-samochod .auto-specyfikacja li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  min-height: 42px !important;
  background: #f6f9fb !important;
  border: 1px solid rgba(11,42,59,.04) !important;
  border-radius: 14px !important;
  color: #0b2a3b !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}

.single-samochod .auto-specyfikacja li::before {
  content: "✓" !important;
  flex: 0 0 auto !important;
  color: var(--mx-orange) !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

/* Tytuł boksu z linkami/wideo po zmianie nazwy na Prezentacja */
.single-samochod .motoexpert-sidebar-media h2,
.single-samochod .motoexpert-media-card h2 {
  font-size: 22px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 1180px) {
  .single-samochod .mx-car-details-grid {
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr) !important;
    gap: 24px !important;
  }

  .single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: 1fr !important;
  }
}

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

  .single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .single-samochod .auto-specyfikacja {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .single-samochod .auto-specyfikacja table,
  .single-samochod .auto-specyfikacja tbody,
  .single-samochod .auto-specyfikacja tr,
  .single-samochod .auto-specyfikacja th,
  .single-samochod .auto-specyfikacja td {
    display: block !important;
    width: 100% !important;
  }

  .single-samochod .auto-specyfikacja tr {
    padding: 10px 12px !important;
  }

  .single-samochod .auto-specyfikacja th,
  .single-samochod .auto-specyfikacja td {
    padding: 2px 0 !important;
    border-radius: 0 !important;
  }

  .single-samochod .auto-specyfikacja th {
    font-size: 12px !important;
    color: #718796 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
  }

  .single-samochod .auto-specyfikacja td {
    font-size: 14px !important;
  }

  .single-samochod .mx-car-details-grid .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: 1fr !important;
  }
}


/* MotoExpert 2.5.52 — pojedyncze ogłoszenie: 2 poziome bloki */
.single-samochod .mx-car-details-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 30px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  background: rgba(255,255,255,.98) !important;
  border: 1px solid rgba(11,42,59,.08) !important;
  border-radius: 26px !important;
  padding: 28px 28px 26px !important;
  box-shadow: 0 24px 64px rgba(8,35,50,.10) !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja h2 {
  margin: 0 0 22px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(11,42,59,.08) !important;
  color: #0b2a3b !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
}

/* blok Dane samochodu */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child table,
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  display: block !important;
  width: 100% !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  min-height: 82px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  background: #f5f8fb !important;
  border: 1px solid rgba(11,42,59,.06) !important;
  border-radius: 18px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child th,
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
  border-radius: 0 !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child th {
  color: #748997 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
  color: #0b2a3b !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  word-break: break-word !important;
}

/* blok Wyposażenie */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #f5f8fb !important;
  border: 1px solid rgba(11,42,59,.06) !important;
  border-radius: 18px !important;
  color: #0b2a3b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li::before {
  content: "✓" !important;
  color: var(--mx-orange) !important;
  font-weight: 950 !important;
  flex: 0 0 auto !important;
  line-height: 1.2 !important;
}

@media (max-width: 1200px) {
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-car-details-grid {
    gap: 18px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja {
    padding: 20px 18px 18px !important;
    border-radius: 22px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja h2 {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    font-size: 22px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
    min-height: 0 !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
    font-size: 15px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
    font-size: 13px !important;
  }
}



/* MotoExpert 2.5.53 — lżejszy, czytelniejszy wygląd danych i wyposażenia */
.single-samochod .mx-car-details-grid {
  gap: 28px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja {
  padding: 30px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.075) !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
.single-samochod .auto-specyfikacja h2,
.single-samochod .mx-car-spec-card h2 {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0b2a3b !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
  letter-spacing: -.015em !important;
}

/* Dane samochodu — mniej zbite kafle, lżejsza typografia */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  gap: 14px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr {
  min-height: 76px !important;
  padding: 13px 15px !important;
  background: #f6f9fb !important;
  border: 1px solid rgba(11,42,59,.055) !important;
  border-radius: 16px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child th {
  color: #7a8d9a !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .075em !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
  color: #102f40 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

/* Wyposażenie — bez podwójnych ptaszków, więcej oddechu */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
  min-height: 50px !important;
  padding: 13px 15px !important;
  gap: 8px !important;
  background: #f6f9fb !important;
  border: 1px solid rgba(11,42,59,.055) !important;
  border-radius: 16px !important;
  color: #163647 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

/* usuwa dodatkowy CSS-owy ptaszek, bo elementy mają już ikonę/znak z treści */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li::before,
.single-samochod .auto-specyfikacja li::before {
  content: none !important;
  display: none !important;
}

/* jeśli w treści są dwa ptaszki obok siebie, ukrywa wizualnie pierwszy przez mniejszy odstęp i normalizuje tekst */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
  white-space: normal !important;
}

/* subtelne rozdzielenie bloków od siebie, żeby nie były zlane */
.single-samochod .mx-car-details-grid > .auto-specyfikacja + .auto-specyfikacja {
  margin-top: 2px !important;
}

@media (max-width: 1200px) {
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-car-details-grid {
    gap: 22px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja {
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
  .single-samochod .auto-specyfikacja h2 {
    margin-bottom: 18px !important;
    font-size: 21px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: 1fr !important;
    gap: 11px !important;
  }

  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
    min-height: 0 !important;
    padding: 12px 14px !important;
  }
}


/* MotoExpert 2.5.54 — bardziej lekka i czytelna sekcja danych/wyposażenia */
body.single-samochod .mx-car-details-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 32px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 34px !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja {
  width: 100% !important;
  max-width: none !important;
  padding: 32px !important;
  background: #fff !important;
  border: 1px solid rgba(11,42,59,.065) !important;
  border-radius: 28px !important;
  box-shadow: 0 22px 58px rgba(8,35,50,.075) !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja .mx-card-head,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja .mx-card-head::before,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja .mx-card-head::after {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
body.single-samochod .auto-specyfikacja h2,
body.single-samochod .mx-car-spec-card h2 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0b2a3b !important;
  font-size: 23px !important;
  line-height: 1.15 !important;
  font-weight: 760 !important;
  letter-spacing: -.015em !important;
}

/* Dane samochodu: lżejsze kafelki i spokojniejsza typografia */
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child table,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #f7fafc !important;
  border: 1px solid rgba(11,42,59,.045) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child th,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child th {
  color: #7b8c98 !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .075em !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child td {
  color: #183747 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 560 !important;
  word-break: break-word !important;
}

/* Wyposażenie: tylko jeden ptaszek, bez pseudo-elementów i mniej zbite */
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  columns: auto !important;
  list-style: none !important;
}

body.single-samochod .auto-specyfikacja li::before,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li::before,
body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li::after {
  content: none !important;
  display: none !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #f7fafc !important;
  border: 1px solid rgba(11,42,59,.045) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #183747 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 560 !important;
}

body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 16px !important;
  height: 16px !important;
  margin-top: 1px !important;
  border-radius: 50% !important;
  background: rgba(245,130,20,.12) !important;
  color: var(--mx-orange) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

@media (max-width: 1200px) {
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.single-samochod .mx-car-details-grid {
    gap: 24px !important;
  }
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja {
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
  body.single-samochod .auto-specyfikacja h2 {
    margin-bottom: 18px !important;
    font-size: 21px !important;
  }
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr,
  body.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) li {
    min-height: 0 !important;
    padding: 13px 14px !important;
  }
}


/* MotoExpert 2.5.55 — opis ogłoszenia pod galerią w osobnej ramce */
.single-samochod .mx-single-car-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
}

.single-samochod .mx-single-car-main > .mx-car-gallery,
.single-samochod .mx-single-car-main > .mx-single-description-card,
.single-samochod .mx-single-car-main > .mx-car-info-section {
  margin: 0 !important;
}

.single-samochod .mx-single-description-card {
  background: #ffffff !important;
  border: 1px solid rgba(11, 42, 59, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 45px rgba(6, 29, 42, 0.08) !important;
  padding: 28px 30px !important;
}

.single-samochod .mx-single-description-card h1,
.single-samochod .mx-single-description-card h2,
.single-samochod .mx-single-description-card h3,
.single-samochod .mx-single-description-card h4 {
  margin: 0 0 12px !important;
  color: var(--mx-navy) !important;
}

.single-samochod .mx-single-description-card p {
  margin: 0 0 14px !important;
  color: #445b68 !important;
  line-height: 1.75 !important;
}

.single-samochod .mx-single-description-card > *:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .single-samochod .mx-single-car-main {
    gap: 20px !important;
  }

  .single-samochod .mx-single-description-card {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }
}



/* MotoExpert 2.5.56 — równe odstępy i spójne nagłówki ramek w ogłoszeniu */
.single-samochod .mx-single-car-main {
  gap: 24px !important;
}

.single-samochod .mx-single-car-main > .mx-car-gallery,
.single-samochod .mx-single-car-main > .mx-single-description-card,
.single-samochod .mx-single-car-main > .mx-car-info-section,
.single-samochod .mx-car-info-section,
.single-samochod .mx-car-details-grid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.single-samochod .mx-single-description-card + .mx-car-info-section {
  margin-top: 0 !important;
}

/* Wszystkie belki/nagłówki kart w jednej stylistyce */
.single-samochod .mx-single-description-card h1,
.single-samochod .mx-single-description-card h2,
.single-samochod .mx-single-description-card h3,
.single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
.single-samochod .auto-specyfikacja h2,
.single-samochod .mx-car-spec-card h2,
.single-samochod .mx-car-equipment-card h2 {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(11,42,59,.08) !important;
  color: #0b2a3b !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
}

/* Opis, dane i wyposażenie mają podobną ramkę */
.single-samochod .mx-single-description-card,
.single-samochod .mx-car-details-grid > .auto-specyfikacja {
  background: #ffffff !important;
  border: 1px solid rgba(11,42,59,.07) !important;
  border-radius: 24px !important;
  box-shadow: 0 20px 45px rgba(6,29,42,.075) !important;
}

/* Delikatniejsze treści w ramce opisu */
.single-samochod .mx-single-description-card p {
  color: #445b68 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

/* Usunięcie ewentualnego pustego miejsca po usuniętym polu opisu technicznego */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tr:empty {
  display: none !important;
}

@media (max-width: 767px) {
  .single-samochod .mx-single-car-main {
    gap: 20px !important;
  }

  .single-samochod .mx-single-description-card h1,
  .single-samochod .mx-single-description-card h2,
  .single-samochod .mx-single-description-card h3,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
  .single-samochod .auto-specyfikacja h2,
  .single-samochod .mx-car-spec-card h2,
  .single-samochod .mx-car-equipment-card h2 {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    font-size: 18px !important;
  }
}



/* MotoExpert 2.5.57 — równe odstępy między ramkami i równa szerokość prawego panelu */
.single-samochod .mx-single-car-main {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.single-samochod .mx-single-car-main > .mx-car-gallery,
.single-samochod .mx-single-car-main > .mx-single-description-card,
.single-samochod .mx-single-car-main > .mx-car-info-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.single-samochod .mx-car-info-section {
  margin: 0 !important;
  padding: 0 !important;
}

.single-samochod .mx-car-details-grid {
  margin: 0 !important;
  gap: 24px !important;
}

/* Ten sam pionowy odstęp: zdjęcia -> opis -> dane -> wyposażenie */
.single-samochod .mx-single-description-card + .mx-car-info-section,
.single-samochod .mx-car-details-grid > .auto-specyfikacja + .auto-specyfikacja {
  margin-top: 0 !important;
}

/* Prawy panel: wszystkie ramki tej samej szerokości */
.single-samochod .mx-single-car-side {
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
}

.single-samochod .mx-single-car-side > *,
.single-samochod .mx-single-contact-card,
.single-samochod .motoexpert-media-card,
.single-samochod .motoexpert-sidebar-media,
.single-samochod .motoexpert-car-media,
.single-samochod .motoexpert-car-media-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Żeby przyciski w prawym panelu nie rozpychały jednej ramki szerzej od drugiej */
.single-samochod .mx-single-car-side a,
.single-samochod .mx-single-car-side .mx-btn {
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 1024px) {
  .single-samochod .mx-single-car-side {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-single-car-main {
    gap: 20px !important;
  }

  .single-samochod .mx-car-details-grid {
    gap: 20px !important;
  }

  .single-samochod .mx-single-car-side {
    gap: 20px !important;
  }
}



/* MotoExpert 2.5.58 — finalne wymuszenie równych odstępów w pojedynczym ogłoszeniu */
.single-samochod .mx-single-car-layout {
  align-items: flex-start !important;
}

.single-samochod .mx-single-car-main {
  display: grid !important;
  grid-template-columns: 1fr !important;
  row-gap: 24px !important;
  gap: 24px !important;
}

/* Wszystkie główne bloki mają zero własnych marginesów — odstęp robi tylko gap kontenera */
.single-samochod .mx-single-car-main > *,
.single-samochod .mx-single-car-main > .mx-car-gallery,
.single-samochod .mx-single-car-main > .mx-single-description-card,
.single-samochod .mx-single-car-main > .mx-car-info-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Sekcja danych nie może dodawać własnej przerwy nad sobą */
.single-samochod .mx-car-info-section {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-samochod .mx-car-details-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  row-gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Usuwa dodatkowe marginesy kart danych/wyposażenia */
.single-samochod .mx-car-details-grid > .auto-specyfikacja,
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child,
.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2),
.single-samochod .auto-specyfikacja {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Gdy jakieś stare reguły ustawiają odstęp między opisem a sekcją danych */
.single-samochod .mx-single-description-card + .mx-car-info-section,
.single-samochod .mx-single-description-card + section,
.single-samochod .mx-single-description-card ~ .mx-car-info-section {
  margin-top: 0 !important;
}

/* Karty po prawej identycznej szerokości */
.single-samochod .mx-single-car-side {
  width: 300px !important;
  flex: 0 0 300px !important;
  max-width: 300px !important;
  min-width: 300px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  align-items: start !important;
}

.single-samochod .mx-single-car-side > *,
.single-samochod .mx-single-contact-card,
.single-samochod .motoexpert-media-card,
.single-samochod .motoexpert-sidebar-media,
.single-samochod .motoexpert-car-media,
.single-samochod .motoexpert-car-media-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Przyciski nie mogą rozszerzać prawej kolumny */
.single-samochod .mx-single-car-side .mx-btn,
.single-samochod .mx-single-car-side a {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

/* Spójne nagłówki ramek */
.single-samochod .mx-single-description-card h1,
.single-samochod .mx-single-description-card h2,
.single-samochod .mx-single-description-card h3,
.single-samochod .mx-car-details-grid > .auto-specyfikacja h2,
.single-samochod .auto-specyfikacja h2,
.single-samochod .mx-car-spec-card h2,
.single-samochod .mx-car-equipment-card h2 {
  margin: 0 0 18px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid rgba(11,42,59,.08) !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}

@media (max-width: 1024px) {
  .single-samochod .mx-single-car-side {
    width: 100% !important;
    flex-basis: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .single-samochod .mx-single-car-side > *,
  .single-samochod .mx-single-contact-card,
  .single-samochod .motoexpert-media-card,
  .single-samochod .motoexpert-sidebar-media,
  .single-samochod .motoexpert-car-media,
  .single-samochod .motoexpert-car-media-card {
    min-width: 0 !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-single-car-main,
  .single-samochod .mx-car-details-grid,
  .single-samochod .mx-single-car-side {
    gap: 20px !important;
    row-gap: 20px !important;
  }
}


/* MotoExpert 2.5.59 — możliwość wyłączenia zdjęcia w tle belki ogłoszenia */
.single-samochod .mx-single-listing-hero.mx-single-listing-hero-no-bg {
  background:
    linear-gradient(135deg, rgba(6,29,42,.98), rgba(11,42,59,.94)) !important;
}

.single-samochod .mx-single-listing-hero.mx-single-listing-hero-no-bg::after {
  opacity: .18 !important;
}


/* MotoExpert 2.5.60 — przy wyłączonym zdjęciu auta użyj tła baneru ze strony głównej */
.single-samochod .mx-single-listing-hero.mx-single-listing-hero-no-bg {
  background:
    linear-gradient(135deg, rgba(6,29,42,.86), rgba(11,42,59,.72)),
    var(--mx-single-hero-bg, none) center / cover no-repeat !important;
}



/* MotoExpert 2.5.61 — grafika w belce ogłoszenia bez sztucznego tła */
.single-samochod .mx-single-listing-hero::before {
  background:
    var(--mx-single-hero-graphic) right 22px center / auto 95% no-repeat !important;
  opacity: .68 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

/* Delikatne efekty zostają na samej belce, a nie na grafice PNG/WebP */
.single-samochod .mx-single-listing-hero::after {
  background:
    radial-gradient(circle at 80% 24%, rgba(245,130,20,.10), transparent 24%),
    linear-gradient(90deg, rgba(0,48,64,0) 42%, rgba(0,48,64,.12) 100%) !important;
}

/* Jeżeli wybrana grafika ma przezroczystość, nie dodajemy pod nią żadnego tła */
.single-samochod .mx-single-listing-hero {
  isolation: isolate !important;
}


/* MotoExpert 2.5.62 — realne działanie ustawień Wygląd ogłoszenia */
.single-samochod {
  --mx-accent: var(--mx-orange);
  --mx-card-radius: 24px;
}

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

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

.single-samochod .mx-single-car-layout.mx-single-no-sidebar .mx-single-car-main {
  max-width: 1180px !important;
}

.single-samochod .mx-btn,
.single-samochod .mx-single-hero-price,
.single-samochod .mx-spec-highlight td,
.single-samochod .mx-equipment-icon-check li span,
.single-samochod .mx-equipment-icon-dot li span {
  color: var(--mx-accent) !important;
}

.single-samochod .mx-btn {
  background: var(--mx-accent) !important;
  color: #fff !important;
}

.single-samochod .mx-btn-outline {
  background: transparent !important;
  color: var(--mx-accent) !important;
  border-color: var(--mx-accent) !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 {
  border-radius: var(--mx-card-radius) !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 {
  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 {
  box-shadow: 0 10px 24px rgba(8,35,50,.06) !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 {
  box-shadow: 0 30px 80px rgba(8,35,50,.14) !important;
}

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

.single-samochod .mx-single-style-contrast .mx-single-description-card,
.single-samochod .mx-single-style-contrast .auto-specyfikacja {
  background: #f1f6f9 !important;
  border-color: rgba(11,42,59,.14) !important;
}

.single-samochod .mx-car-gallery-main {
  height: var(--mx-gallery-height, 520px) !important;
  max-height: none !important;
}

.single-samochod .mx-car-gallery-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--mx-gallery-fit, cover) !important;
}

.single-samochod .mx-car-gallery-thumbs {
  grid-template-columns: repeat(var(--mx-gallery-thumbs, 6), minmax(0, 1fr)) !important;
}

.single-samochod .mx-gallery-lightbox-disabled .mx-car-gallery-main {
  cursor: default !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  grid-template-columns: repeat(var(--mx-data-columns, 3), minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
  grid-template-columns: repeat(var(--mx-equipment-columns, 3), minmax(0, 1fr)) !important;
}

.single-samochod .mx-spec-highlight {
  background: #fff7ef !important;
  border-color: rgba(245,130,20,.22) !important;
}

.single-samochod .mx-equipment-style-list li {
  background: transparent !important;
  border-color: rgba(11,42,59,.08) !important;
  border-width: 0 0 1px !important;
  border-radius: 0 !important;
}

.single-samochod .mx-equipment-style-compact li {
  min-height: 0 !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
}

.single-samochod .mx-equipment-icon-none li span {
  display: none !important;
}

@media (max-width: 1200px) {
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul,
  .single-samochod .mx-car-gallery-thumbs {
    grid-template-columns: 1fr !important;
  }

  .single-samochod .mx-car-gallery-main {
    height: min(var(--mx-gallery-height, 420px), 420px) !important;
  }
}


/* MotoExpert 2.5.63 — poprawione działanie ustawień Wygląd ogłoszenia */

/* Grafika w belce jako osobny przezroczysty element, bez tła i gradientu pod obrazem */
.single-samochod .mx-single-listing-hero::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

.single-samochod .mx-single-hero-graphic-img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 38% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: var(--mx-single-hero-graphic) right 22px center / auto 95% no-repeat !important;
  opacity: .72 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.single-samochod .mx-single-listing-hero .mx-container,
.single-samochod .mx-single-hero-copy {
  position: relative !important;
  z-index: 2 !important;
}

/* Gdy wyłączone jest zdjęcie auta w belce — zostaje standardowa belka i przezroczysta grafika */
.single-samochod .mx-single-listing-hero.mx-single-hero-default-bg {
  background-image:
    linear-gradient(90deg, rgba(0,39,54,.98) 0%, rgba(0,45,62,.94) 42%, rgba(0,55,72,.80) 100%),
    var(--mx-single-hero-bg) !important;
}

/* Układ strony */
.single-samochod .mx-single-car-layout.mx-single-layout-no_sidebar,
.single-samochod .mx-single-car-layout.mx-single-no-sidebar {
  display: grid !important;
  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-single-car-layout.mx-single-layout-wide {
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 34px !important;
}

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

/* Galeria */
.single-samochod .mx-car-gallery-main {
  height: var(--mx-gallery-height, 520px) !important;
  max-height: none !important;
}

.single-samochod .mx-car-gallery-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--mx-gallery-fit, cover) !important;
}

.single-samochod .mx-car-gallery-thumbs {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-gallery-thumbs, 6), minmax(0, 1fr)) !important;
}

/* Dane i wyposażenie — bez nadpisywania na tabletach */
.single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-data-columns, 3), minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul,
.single-samochod .mx-car-equipment-card ul {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-equipment-columns, 3), minmax(0, 1fr)) !important;
  columns: auto !important;
}

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

.single-samochod .mx-equipment-style-list li,
.single-samochod .mx-car-equipment-card.mx-equipment-style-list li {
  background: transparent !important;
  border-width: 0 0 1px !important;
  border-color: rgba(11,42,59,.08) !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

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

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

/* Kolory/styl */
.single-samochod .mx-btn {
  background: var(--mx-accent) !important;
  color: #fff !important;
}

.single-samochod .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-highlight td,
.single-samochod .mx-equipment-icon-check li span,
.single-samochod .mx-equipment-icon-dot li span {
  color: var(--mx-accent) !important;
}

.single-samochod .mx-spec-highlight {
  background: #fff7ef !important;
  border-color: rgba(245,130,20,.25) !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 {
  border-radius: var(--mx-card-radius, 24px) !important;
}

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

  .single-samochod .mx-single-hero-graphic-img {
    left: 48% !important;
    opacity: .42 !important;
  }
}

@media (max-width: 767px) {
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:first-child tbody,
  .single-samochod .mx-car-details-grid > .auto-specyfikacja:nth-child(2) ul,
  .single-samochod .mx-car-equipment-card ul {
    grid-template-columns: 1fr !important;
  }

  .single-samochod .mx-car-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .single-samochod .mx-car-gallery-main {
    height: min(var(--mx-gallery-height, 420px), 420px) !important;
  }

  .single-samochod .mx-single-hero-graphic-img {
    display: none !important;
  }
}


/* MotoExpert 2.5.65 — finalny audyt: brak zmian wizualnych, podbita wersja po weryfikacji kodu. */



/* MotoExpert 2.5.66 — poprawka separatora po zamianie danych firmy i kontaktowych w stopce */
.mx-footer-contact-columns {
  position: relative;
}

.mx-footer-contact-columns > .mx-footer-contact-col {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.mx-footer-contact-columns > .mx-footer-contact-col + .mx-footer-contact-col {
  padding-left: 22px !important;
  border-left: 1px solid rgba(255,255,255,.10) !important;
}

/* Po zamianie kolumn separator ma być przed drugą kolumną, czyli między firmą a kontaktem */
.mx-footer-contact-columns > .mx-footer-company-col {
  padding-left: 0 !important;
  border-left: 0 !important;
}

@media (max-width: 700px) {
  .mx-footer-contact-columns > .mx-footer-contact-col + .mx-footer-contact-col {
    padding-left: 0 !important;
    border-left: 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
  }

  .mx-footer-contact-columns > .mx-footer-company-col {
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}


/* MotoExpert 2.5.68 — poprawka błędu krytycznego po kliknięciu Wygląd → Dostosuj. */


/* MotoExpert 2.5.69 — sekcja MotoExpert usunięta z Customizera; ustawienia są w Ustawienia → MotoExpert. */


/* MotoExpert 2.5.72 — czytelne domyślne grafiki baneru w panelu ustawień i pusty domyślny e-mail kontaktowy. */


/* MotoExpert 2.5.74 — finalny audyt i stabilizacja ustawień Wygląd ogłoszenia */
.single-samochod .mx-single-car-layout {
  display: grid !important;
  align-items: start !important;
  gap: 34px !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-single-car-main {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.single-samochod .mx-single-car-side {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 340px !important;
}

.single-samochod .mx-single-layout-wide .mx-single-car-side,
.single-samochod .mx-single-layout-sidebar_right .mx-single-car-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.single-samochod .mx-car-gallery-main {
  height: var(--mx-gallery-height, 520px) !important;
  max-height: none !important;
}

.single-samochod .mx-car-gallery-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: var(--mx-gallery-fit, cover) !important;
}

.single-samochod .mx-car-gallery-thumbs {
  display: grid !important;
  grid-template-columns: repeat(var(--mx-gallery-thumbs, 6), minmax(0, 1fr)) !important;
}

.single-samochod .mx-car-info-section,
.single-samochod .mx-car-details-grid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-samochod .mx-car-details-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  grid-template-columns: none !important;
}

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

.single-samochod .mx-car-spec-table,
.single-samochod .mx-car-spec-table tbody {
  display: block !important;
  width: 100% !important;
  border-collapse: separate !important;
}

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

.single-samochod .mx-car-spec-table tr {
  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;
}

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

.single-samochod .mx-car-spec-table th {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  color: #708493 !important;
}

.single-samochod .mx-car-spec-table td {
  font-size: 14px !important;
  color: #062638 !important;
  font-weight: 800 !important;
}

.single-samochod .mx-car-spec-table tr.mx-spec-highlight {
  background: #fff4ea !important;
  border-color: rgba(245,130,20,.28) !important;
}

.single-samochod .mx-car-equipment-card ul {
  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-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;
}

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

.single-samochod .mx-car-equipment-card.mx-equipment-style-list 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 {
  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 {
  display: none !important;
}

.single-samochod .mx-car-equipment-card.mx-equipment-icon-dot li span {
  font-size: 20px !important;
  line-height: .9 !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 {
  box-shadow: 0 20px 45px rgba(6,29,42,.075) !important;
}

.single-samochod .mx-single-style-light .mx-single-description-card,
.single-samochod .mx-single-style-light .auto-specyfikacja {
  background: #fff !important;
}

.single-samochod .mx-single-style-minimal .mx-single-description-card,
.single-samochod .mx-single-style-minimal .auto-specyfikacja {
  background: #fff !important;
  border-color: rgba(11,42,59,.04) !important;
}

.single-samochod .mx-single-style-contrast .mx-single-description-card,
.single-samochod .mx-single-style-contrast .auto-specyfikacja {
  background: #f1f6f9 !important;
  border-color: rgba(11,42,59,.14) !important;
}

.single-samochod .mx-single-listing-hero.mx-single-hero-default-bg {
  background:
    radial-gradient(circle at 78% 12%, rgba(245,130,20,.13), transparent 34%),
    linear-gradient(135deg, #061d2a, #0b2a3b) !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;
  }

  .single-samochod .mx-single-car-side {
    max-width: 100% !important;
    position: static !important;
  }
}

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

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

  .single-samochod .mx-car-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .single-samochod .mx-car-gallery-main {
    height: min(var(--mx-gallery-height, 420px), 420px) !important;
  }
}


/* MotoExpert 2.5.75 — poprawka współpracy z wtyczką 1.10.14: układ ogłoszenia sterowany przez HTML/CSS wtyczki. */




/* MotoExpert 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 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;
}





/* Ekrany błędów */
.mx-error-page {
  min-height: 62vh;
  display: block;
  padding: 76px 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(245, 130, 20, .18), transparent 30%),
    linear-gradient(135deg, #eef4f7 0%, #ffffff 100%);
}

.mx-error-page .mx-container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.mx-error-card {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 30px;
  background: #ffffff;
  color: #062638;
  box-shadow: 0 24px 80px rgba(6, 29, 42, .18);
  border: 1px solid rgba(6, 38, 56, .12);
  text-align: center;
  position: relative;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.mx-error-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, #062638, #f58214);
}

.mx-error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #f58214;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 24px;
  line-height: 1;
}

.mx-error-card h1 {
  margin: 0 0 14px;
  color: #062638;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
}

.mx-error-card p {
  margin: 0 auto 18px;
  max-width: 640px;
  color: #4b5b68;
  font-size: 17px;
  line-height: 1.65;
}

.mx-error-joke {
  display: inline-block;
  max-width: 660px;
  margin: 8px auto 26px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff4e8;
  color: #7a3d00;
  font-weight: 900;
  line-height: 1.45;
}

.mx-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mx-error-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.mx-error-actions .mx-error-primary {
  background: #062638;
  color: #ffffff;
}

.mx-error-actions .mx-error-secondary {
  background: #eef4f8;
  color: #062638;
}

.mx-error-actions .mx-error-primary:hover,
.mx-error-actions .mx-error-secondary:hover {
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mx-error-page {
    padding: 48px 16px;
  }

  .mx-error-card {
    padding: 34px 20px;
    border-radius: 22px;
  }

  .mx-error-actions a {
    width: 100%;
  }
}
