.wp-otomoto-public {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 20px;
}

.wp-otomoto-public--archive {
  color: #1e2630;
}

.wp-otomoto-public--archive .wp-otomoto-public__layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.wp-otomoto-public--archive .wp-otomoto-public__filters {
  font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f1f2f4;
  border: 1px solid #e3e5e8;
  border-radius: 0;
  padding: 30px 36px 34px;
}

.wp-otomoto-filters-collapsible {
  margin: 0;
}

.wp-otomoto-filters-collapsible__trigger {
  display: none;
}

.wp-otomoto-filters-form {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.wp-otomoto-filters-form__header {
  padding-bottom: 14px;
  border-bottom: 1px solid #c7ced6;
}

.wp-otomoto-filters-form__header h1 {
  margin: 0;
  font-size: 39px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  color: #1e2630;
}

.wp-otomoto-filter-group {
  display: grid;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #c7ced6;
}

.wp-otomoto-filter-group h2 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 800;
  color: #76808b;
}

.wp-otomoto-filter-group__vehicle-type {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wp-otomoto-checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.2;
  color: #1b2430;
}

.wp-otomoto-checkbox-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #1f2731;
}

.wp-otomoto-field {
  display: grid;
  gap: 5px;
}

.wp-otomoto-field__label {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #1b2430;
}

.wp-otomoto-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wp-otomoto-public--archive .wp-otomoto-field select,
.wp-otomoto-public--archive .wp-otomoto-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #afb9c5;
  border-radius: 0;
  padding: 7px 24px 8px 0;
  background-color: transparent;
  color: #202933;
  font-size: 15px;
  line-height: 1.3;
  min-height: 40px;
  box-shadow: none;
}

.wp-otomoto-public--archive .wp-otomoto-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1e2630 50%), linear-gradient(135deg, #1e2630 50%, transparent 50%);
  background-position: calc(100% - 12px) calc(50% - 2px), calc(100% - 7px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.wp-otomoto-public--archive .wp-otomoto-field input::placeholder,
.wp-otomoto-public--archive .wp-otomoto-field select:invalid {
  color: #8b949e;
}

.wp-otomoto-public--archive .wp-otomoto-field input:focus,
.wp-otomoto-public--archive .wp-otomoto-field select:focus {
  outline: 0;
  border-bottom-color: #252d37;
}

.wp-otomoto-filter-actions {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.wp-otomoto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 18px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
  border: 1px solid #1f2731;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.wp-otomoto-btn--primary {
  background: #1b2430;
  border-color: #1b2430;
  color: #1f2731;
}

.wp-otomoto-btn--primary:hover,
.wp-otomoto-btn--primary:focus {
  background: #121923;
  border-color: #121923;
  color: #1f2731;
}

.wp-otomoto-public--archive .wp-otomoto-filter-actions .wp-otomoto-btn--primary,
.wp-otomoto-public--archive .wp-otomoto-filter-actions button.wp-otomoto-btn--primary {
  background: #1b2430 !important;
  border-color: #1b2430 !important;
  color: #ffffff !important;
}

.wp-otomoto-public--archive .wp-otomoto-filter-actions .wp-otomoto-btn--primary:hover,
.wp-otomoto-public--archive .wp-otomoto-filter-actions .wp-otomoto-btn--primary:focus,
.wp-otomoto-public--archive .wp-otomoto-filter-actions button.wp-otomoto-btn--primary:hover,
.wp-otomoto-public--archive .wp-otomoto-filter-actions button.wp-otomoto-btn--primary:focus {
  background: #121923 !important;
  border-color: #121923 !important;
  color: #ffffff !important;
}

.wp-otomoto-btn--secondary {
  background: transparent;
  color: #1b2430;
  border-color: #1b2430;
}

.wp-otomoto-btn--secondary:hover,
.wp-otomoto-btn--secondary:focus {
  background: #e6e9ed;
  color: #1b2430;
}

.wp-otomoto-filters-form__hint {
  margin: 2px 0 0;
  color: #8e98a3;
  font-size: 15px;
  line-height: 1.4;
}

.wp-otomoto-public--archive .wp-otomoto-public__results {
  display: grid;
  gap: 16px;
}

.wp-otomoto-public--archive .wp-otomoto-public__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}


.wp-otomoto-public--featured {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wp-otomoto-public--featured .wp-otomoto-public__list {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  box-sizing: border-box;
}

.wp-otomoto-card {
  background: #ffffff;
  border: 1px solid #d9dfe6;
  overflow: hidden;
}

.wp-otomoto-card__image-link {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef2f6;
}

.wp-otomoto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wp-otomoto-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #5f6974;
  font-size: 15px;
}

.wp-otomoto-card__content {
  padding: 18px 20px 20px;
}

.wp-otomoto-card__content h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
}

.wp-otomoto-card__content h2 a {
  color: inherit;
  text-decoration: none;
}

.wp-otomoto-card__meta {
  margin: 8px 0 10px;
  color: #727d89;
  font-size: 13px;
  line-height: 1.35;
}

.wp-otomoto-card__price,
.wp-otomoto-public__price {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: #1e2630;
}

.wp-otomoto-public__empty {
  margin: 0;
  padding: 20px;
  border: 1px solid #d9dfe6;
  background: #ffffff;
  color: #5f6974;
}

.wp-otomoto-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wp-otomoto-pagination a {
  padding: 8px 13px;
  border: 1px solid #c7d0d9;
  text-decoration: none;
  color: #1b2430;
  background: #ffffff;
}

.wp-otomoto-pagination a.is-active {
  background: #1b2430;
  color: #ffffff;
  border-color: #1f2731;
}

.wp-otomoto-public__single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.wp-otomoto-public__breadcrumbs {
  margin: 0 0 20px;
  color: #6e7784;
  font-size: 14px;
}

.wp-otomoto-public__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.wp-otomoto-public__gallery-panel {
  display: grid;
  gap: 14px;
}

.wp-otomoto-public__gallery-panel:focus {
  outline: none;
}

.wp-otomoto-public__main-image-wrap {
  position: relative;
}

.wp-otomoto-public__main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: filter .15s ease;
}

.wp-otomoto-public__main-image:hover {
  filter: brightness(1.03);
}

.wp-otomoto-public__main-image:focus-visible {
  outline: 2px solid rgba(13, 110, 253, .75);
  outline-offset: 2px;
}

.wp-otomoto-public--single button.wp-otomoto-gallery-nav,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:hover,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:focus,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:focus-visible,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:active,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:hover:focus,
.wp-otomoto-public--single button.wp-otomoto-gallery-nav:active:focus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 72px;
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .75);
  transition: transform .15s ease, opacity .15s ease, filter .15s ease, text-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.wp-otomoto-public--single button.wp-otomoto-gallery-nav:hover {
  transform: translateY(-50%) scale(1.08);
  filter: brightness(1.08);
  text-shadow: 0 3px 10px rgba(0, 0, 0, .9);
}

.wp-otomoto-public--single button.wp-otomoto-gallery-nav:focus {
  outline: none;
}

.wp-otomoto-public--single button.wp-otomoto-gallery-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 4px;
  border-radius: 8px;
}

.wp-otomoto-gallery-nav--prev {
  left: 12px;
}

.wp-otomoto-gallery-nav--next {
  right: 12px;
}

.wp-otomoto-public__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wp-otomoto-public--single .wp-otomoto-thumb-button {
  border: 0;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.wp-otomoto-public--single .wp-otomoto-thumb-button:hover,
.wp-otomoto-public--single .wp-otomoto-thumb-button:focus {
  background: #fff;
}

.wp-otomoto-public--single .wp-otomoto-thumb-button.is-active {
  outline: 0;
}

.wp-otomoto-public__thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

body.wp-otomoto-lightbox-open {
  overflow: hidden;
}

.wp-otomoto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wp-otomoto-lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-otomoto-lightbox__image {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wp-otomoto-lightbox__close,
.wp-otomoto-lightbox__close:hover,
.wp-otomoto-lightbox__close:focus,
.wp-otomoto-lightbox__close:active,
.wp-otomoto-lightbox__nav,
.wp-otomoto-lightbox__nav:hover,
.wp-otomoto-lightbox__nav:focus,
.wp-otomoto-lightbox__nav:active {
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 0 !important;
  line-height: 1 !important;
  padding: 0 !important;
  appearance: none;
}

.wp-otomoto-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .84) !important;
  border: 1px solid rgba(255, 255, 255, .34) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .52) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wp-otomoto-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 128px;
  min-width: 96px;
  min-height: 128px;
  border-radius: 0;
  background: transparent !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, text-shadow .15s ease;
}

.wp-otomoto-lightbox__nav::before,
.wp-otomoto-lightbox__close::before {
  display: block;
  line-height: 1 !important;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .9);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .85));
}

.wp-otomoto-lightbox__nav--prev::before {
  content: "‹";
  font-size: clamp(82px, 6vw, 116px) !important;
}

.wp-otomoto-lightbox__nav--next::before {
  content: "›";
  font-size: clamp(82px, 6vw, 116px) !important;
}

.wp-otomoto-lightbox__close::before {
  content: "×";
  font-size: clamp(52px, 4vw, 72px) !important;
}

.wp-otomoto-lightbox__nav--prev { left: 10px; }
.wp-otomoto-lightbox__nav--next { right: 10px; }

.wp-otomoto-lightbox__close:hover,
.wp-otomoto-lightbox__nav:hover {
  filter: brightness(1.08);
}

.wp-otomoto-lightbox__close:hover {
  background: rgba(0, 0, 0, .92) !important;
}

.wp-otomoto-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.08);
  text-shadow: 0 3px 10px rgba(0, 0, 0, .9);
}

.wp-otomoto-lightbox__close:focus-visible,
.wp-otomoto-lightbox__nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .wp-otomoto-lightbox__close {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    top: 10px;
    right: 10px;
  }

  .wp-otomoto-lightbox__nav {
    width: 64px;
    height: 92px;
    min-width: 64px;
    min-height: 92px;
  }

  .wp-otomoto-lightbox__nav--prev::before,
  .wp-otomoto-lightbox__nav--next::before {
    font-size: clamp(48px, 11vw, 64px) !important;
  }

  .wp-otomoto-lightbox__close::before {
    font-size: clamp(36px, 9vw, 46px) !important;
  }
}

.wp-otomoto-public--single .wp-otomoto-public__offer-title {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1.05;
}

.wp-otomoto-public--single .wp-otomoto-public__offer-meta {
  margin: 0 0 20px;
  color: #7a838f;
  font-size: 17px;
}

.wp-otomoto-public--single .wp-otomoto-public__price {
  margin: 0 0 24px;
  font-size: 46px;
  font-weight: 800;
}

.wp-otomoto-public__seller-box {
  background: #f1f2f4;
  padding: 28px;
}

.wp-otomoto-public__seller-logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 14px;
}

.wp-otomoto-public__seller-copy {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.wp-otomoto-public__seller-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.wp-otomoto-public__seller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #1f2731;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.wp-otomoto-public__seller-btn--call {
  background: #ffed00;
  color: #1f2731;
}

.wp-otomoto-public__seller-btn--route {
  background: transparent;
  color: #1f2731;
}

.wp-otomoto-public--single a.wp-otomoto-public__seller-btn--route,
.wp-otomoto-public--single a.wp-otomoto-public__seller-btn--route:visited {
  border-color: #000000;
  color: #000000;
  background: transparent;
}

.wp-otomoto-public__seller-row {
  margin: 6px 0 0;
  color: #4f5864;
  font-size: 18px;
}

.wp-otomoto-public__seller-phone-link {
  color: #1b2430;
  text-decoration: underline;
}

.wp-otomoto-public__highlights {
  margin-top: 30px;
}

.wp-otomoto-public__highlights h2 {
  margin: 0 0 18px;
  font-size: 32px;
  text-transform: uppercase;
}

.wp-otomoto-public__highlights-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.wp-otomoto-public__highlight-item {
  text-align: center;
}

.wp-otomoto-public__highlight-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 12px;
}

.wp-otomoto-public__highlight-label {
  margin: 0;
  color: #818a95;
  font-size: 16px;
}

.wp-otomoto-public__highlight-value {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.wp-otomoto-public--single .wp-otomoto-public__description {
  margin-top: 44px;
  font-family: "Mulish", sans-serif;
  font-size: 20px;
  line-height: 1.65;
}

.wp-otomoto-public__parameters-accordion {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.wp-otomoto-public__accordion-item {
  border: 1px solid #d9dde2;
  background: #fff;
}

.wp-otomoto-public__accordion-item > summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
}

.wp-otomoto-public__accordion-content {
  padding: 0 18px 18px;
}

.wp-otomoto-public__accordion-group-title {
  margin: 14px 0 10px;
  font-size: 16px;
}

.wp-otomoto-public__accordion-rows {
  display: grid;
  gap: 8px;
}

.wp-otomoto-public__accordion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  border-bottom: 1px solid #eceff2;
  padding-bottom: 8px;
}

.wp-otomoto-public__accordion-row span {
  color: #6b7480;
}

@media (max-width: 1180px) {
  .wp-otomoto-public--archive .wp-otomoto-public__layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 16px;
  }

  .wp-otomoto-public--archive .wp-otomoto-public__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .wp-otomoto-public--archive .wp-otomoto-public__layout,
  .wp-otomoto-public__single-grid {
    grid-template-columns: 1fr;
  }

  .wp-otomoto-public--single .wp-otomoto-public__offer-title {
    font-size: 30px;
  }

  .wp-otomoto-public--single .wp-otomoto-public__offer-meta {
    font-size: 15px;
  }

  .wp-otomoto-public--single .wp-otomoto-public__price {
    font-size: 34px;
  }

  .wp-otomoto-public__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wp-otomoto-public__highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wp-otomoto-public--featured .wp-otomoto-public__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wp-otomoto-public--archive .wp-otomoto-public__filters {
    padding: 22px 18px;
  }

  .wp-otomoto-filters-form {
    position: static;
  }

  .wp-otomoto-filters-collapsible__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    list-style: none;
    color: #1b2430;
  }

  .wp-otomoto-filters-collapsible__trigger::-webkit-details-marker {
    display: none;
  }

  .wp-otomoto-filters-collapsible__trigger::after {
    content: "▾";
    font-size: 16px;
    transition: transform .2s ease;
  }

  .wp-otomoto-filters-collapsible[open] .wp-otomoto-filters-collapsible__trigger::after {
    transform: rotate(180deg);
  }

  .wp-otomoto-filters-collapsible:not([open]) .wp-otomoto-filters-form {
    display: none;
  }

  .wp-otomoto-filters-collapsible[open] .wp-otomoto-filters-form {
    margin-top: 18px;
  }

  .wp-otomoto-filters-form__header {
    display: none;
  }

  .wp-otomoto-checkbox-option {
    font-size: 15px;
  }

  .wp-otomoto-field__label {
    font-size: 15px;
  }

  .wp-otomoto-public--archive .wp-otomoto-field select,
  .wp-otomoto-public--archive .wp-otomoto-field input {
    font-size: 16px;
    min-height: 40px;
  }

  .wp-otomoto-btn {
    font-size: 15px;
  }

  .wp-otomoto-public--archive .wp-otomoto-public__list {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 640px) {
  .wp-otomoto-public--featured .wp-otomoto-public__list {
    grid-template-columns: 1fr;
  }
}
