/* Real Stock Vehicles — scoped to CPT / shortcode roots only */

.rs-vehicle,
.rs-catalog {
  --rs-ink: #1a1a1a;
  --rs-muted: #5a5a5a;
  --rs-line: #e6e6e6;
  --rs-soft: #f5f5f5;
  --rs-accent: #1a1a1a;
  --rs-surface: #ffffff;
  --rsv-sticky-offset: 110px;
  font-family: inherit;
  color: var(--rs-ink);
  padding: 0 16px;
}

.rs-vehicle {
  max-width: 1180px;
  margin: 24px auto 48px;
}

.rs-catalog {
  width: 100%;
  max-width: none;
  margin: 0 0 48px;
  padding: 0;
}

.rs-vehicle *,
.rs-vehicle *::before,
.rs-vehicle *::after,
.rs-catalog *,
.rs-catalog *::before,
.rs-catalog *::after {
  box-sizing: border-box;
}

/* Hide Flatsome / blog chrome around singular vehicle pages */
body.rsv-no-blog-chrome .blog-sidebar,
body.rsv-no-blog-chrome #secondary,
body.rsv-no-blog-chrome .widget_search,
body.rsv-no-blog-chrome .widget_recent_entries,
body.rsv-no-blog-chrome .widget_recent_comments,
body.rsv-no-blog-chrome .entry-meta,
body.rsv-no-blog-chrome .entry-header .posted-on,
body.rsv-no-blog-chrome .entry-header .byline,
body.rsv-no-blog-chrome .author-box,
body.rsv-no-blog-chrome .post-navigation,
body.rsv-no-blog-chrome .nav-links,
body.rsv-no-blog-chrome .sharedaddy,
body.rsv-no-blog-chrome .entry-share,
body.rsv-no-blog-chrome .social-icons,
body.rsv-no-blog-chrome .comments-area,
body.rsv-no-blog-chrome #comments,
body.rsv-no-blog-chrome .large-3.col,
body.rsv-no-blog-chrome .post-sidebar {
  display: none !important;
}

body.rsv-vehicle-singular #content > .row > .large-9,
body.rsv-vehicle-singular #content > .row > .large-12,
body.rsv-vehicle-singular .page-wrapper > .row > .large-9 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.rsv-vehicle-singular .rsv-singular {
  width: 100%;
}

.rs-vehicle__preview-banner {
  background: #111;
  color: #fff;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.rs-vehicle__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
}

.rs-vehicle__identity {
  min-width: 0;
  flex: 1 1 auto;
}

.rs-vehicle__eco {
  margin: 2px 0 0;
  flex: 0 0 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.rs-vehicle__eco img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(26, 26, 26, 0.12));
}

.rs-vehicle__eco figcaption {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-muted);
  line-height: 1.25;
}

.rs-vehicle__eco figcaption strong {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  color: var(--rs-ink);
  text-transform: none;
}

.rs-vehicle__eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--rs-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-vehicle__logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 4px 6px;
  max-width: 112px;
  max-height: 44px;
}

.rs-vehicle__logo-frame img,
.rs-catalog__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 36px;
  object-fit: contain;
}

.rs-vehicle__title {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.rs-vehicle__version {
  margin: 0 0 8px;
  color: var(--rs-muted);
  font-size: 1rem;
}

.rs-vehicle__summary {
  margin: 0 0 12px;
  color: var(--rs-muted);
  font-size: 0.9375rem;
}

.rs-vehicle__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.rs-vehicle__tag {
  border: 1px solid var(--rs-ink);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.rs-vehicle__tag--status {
  background: var(--rs-soft);
  border-color: transparent;
}

.rs-vehicle__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.95fr);
  gap: 28px 36px;
  align-items: start;
}

.rs-vehicle__info {
  order: 1;
  min-width: 0;
}

.rs-vehicle__panel {
  order: 2;
  border-top: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
  padding: 20px 0 24px;
  position: sticky;
  top: var(--rsv-sticky-offset);
  background: var(--rs-surface);
  z-index: 2;
}

.rs-vehicle__panel-heading {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 500;
}

.rs-vehicle__gallery {
  margin-bottom: 16px;
}

.rs-vehicle__hero {
  background: var(--rs-soft);
  aspect-ratio: 16 / 10;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.rs-vehicle__hero-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.rs-vehicle__hero--empty {
  min-height: 220px;
  border: 1px dashed #cfcfcf;
  background: repeating-linear-gradient(
    -45deg,
    #f7f7f7,
    #f7f7f7 10px,
    #fafafa 10px,
    #fafafa 20px
  );
}

.rs-vehicle__hero-empty-label {
  color: var(--rs-muted);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.rs-vehicle__hero img,
.rs-vehicle__hero-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.rs-vehicle__gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.rs-vehicle__gallery-count,
.rs-vehicle__lightbox-count {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

.rs-vehicle__gallery-nav,
.rs-vehicle__lightbox-nav,
.rs-vehicle__lightbox-close {
  border: 1px solid var(--rs-ink);
  background: #fff;
  color: var(--rs-ink);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
}

.rs-vehicle__gallery-note {
  margin: 8px 0 0;
  color: var(--rs-muted);
  font-size: 0.8125rem;
}

.rs-vehicle__lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rs-vehicle__lightbox[hidden] {
  display: none;
}

.rs-vehicle__lightbox-dialog {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "close close close"
    "prev image next"
    "count count count"
    "note note note";
  gap: 10px;
  align-items: center;
}

.rs-vehicle__lightbox-close { grid-area: close; justify-self: end; }
.rs-vehicle__lightbox-nav { grid-area: auto; }
.rs-vehicle__lightbox-dialog [data-lightbox-prev] { grid-area: prev; }
.rs-vehicle__lightbox-dialog [data-lightbox-next] { grid-area: next; }
.rs-vehicle__lightbox-dialog img {
  grid-area: image;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  object-fit: contain;
  background: #111;
}
.rs-vehicle__lightbox-count { grid-area: count; color: #fff; text-align: center; }
.rs-vehicle__lightbox .rs-vehicle__gallery-note { grid-area: note; color: #ddd; text-align: center; }

.rs-vehicle__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 0;
  scrollbar-width: thin;
}

.rs-vehicle__thumb {
  width: 72px;
  height: 62px;
  flex: 0 0 72px;
  border: 1px solid var(--rs-line);
  background: #fff;
  cursor: pointer;
  padding: 3px;
}

.rs-vehicle__thumb.is-active,
.rs-vehicle__thumb[aria-pressed="true"] {
  border-color: var(--rs-ink);
}

.rs-vehicle__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rs-vehicle__colors {
  margin: 18px 0 6px;
}

.rs-vehicle__colors-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.rs-vehicle__colors-label span {
  color: var(--rs-muted);
}

.rs-vehicle__colors-label strong {
  font-weight: 600;
}

.rs-vehicle__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rs-vehicle__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--rs-swatch, #9ca3af);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rs-vehicle__swatch.is-light {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.rs-vehicle__swatch:hover,
.rs-vehicle__swatch:focus-visible {
  transform: scale(1.08);
  outline: none;
}

.rs-vehicle__swatch.is-selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rs-ink);
  transform: scale(1.12);
}

.rs-vehicle__quick-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 8px 0 0;
}

.rs-vehicle__quick-specs > div {
  border-bottom: 1px solid var(--rs-line);
  padding: 10px 0;
}

.rs-vehicle__quick-specs small,
.rs-vehicle__quick-specs strong {
  display: block;
}

.rs-vehicle__quick-specs small {
  color: var(--rs-muted);
  font-size: 0.75rem;
  margin-bottom: 3px;
}

.rs-vehicle__below {
  margin-top: 36px;
  max-width: 760px;
}

.rs-related {
  margin-top: 48px;
  padding-top: 8px;
}

.rs-related__group + .rs-related__group {
  margin-top: 28px;
}

.rs-related__title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 500;
}

.rs-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}

.rs-related__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rs-related__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: var(--rs-soft);
  overflow: hidden;
  margin-bottom: 10px;
}

.rs-related__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rs-related__placeholder {
  color: var(--rs-muted);
  font-size: 0.75rem;
  padding: 12px;
  text-align: center;
}

.rs-related__model {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: var(--rs-muted);
  font-size: 0.8125rem;
}

.rs-related__name {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.rs-related__name a {
  color: inherit;
  text-decoration: none;
}

.rs-related__name a:hover {
  text-decoration: underline;
}

.rs-related__version {
  margin: 0 0 8px;
  color: var(--rs-muted);
  font-size: 0.8125rem;
}

.rs-related__price {
  margin: auto 0 0;
  font-size: 0.9375rem;
}

.rs-related__price small,
.rs-related__price--na strong {
  color: var(--rs-muted);
  font-weight: 400;
}

.rs-vehicle__section {
  margin-top: 28px;
}

.rs-vehicle__section h2 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.rs-vehicle__section ul {
  padding-left: 1.1rem;
  columns: 2;
  margin: 0;
}

.rs-vehicle__section li {
  margin: 0 0 8px;
  break-inside: avoid;
}

.rs-vehicle__spec-table {
  width: 100%;
  border-collapse: collapse;
}

.rs-vehicle__spec-table th,
.rs-vehicle__spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--rs-line);
  vertical-align: top;
}

.rs-vehicle__spec-table th {
  width: 42%;
  color: var(--rs-muted);
  font-weight: 400;
}

.rs-vehicle__acc-item {
  border-bottom: 1px solid var(--rs-line);
  padding: 8px 0;
}

.rs-vehicle__acc-item summary {
  cursor: pointer;
  font-weight: 500;
  padding: 8px 0;
  list-style: none;
}

.rs-vehicle__acc-item summary::-webkit-details-marker {
  display: none;
}

.rs-vehicle__acc-item summary::after {
  content: "+";
  float: right;
  color: var(--rs-muted);
}

.rs-vehicle__acc-item[open] summary::after {
  content: "–";
}

.rs-vehicle__modes,
.rs-vehicle__vat {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.rs-vehicle__modes button,
.rs-vehicle__vat button {
  flex: 1;
  background: transparent;
  border: 1px solid var(--rs-ink);
  border-radius: 999px;
  padding: 10px 8px;
  cursor: pointer;
  color: var(--rs-ink);
  font: inherit;
  letter-spacing: 0.04em;
}

.rs-vehicle__modes button[aria-pressed="true"],
.rs-vehicle__vat button[aria-pressed="true"] {
  background: var(--rs-ink);
  color: #fff;
}

.rs-vehicle__modes button:focus-visible,
.rs-vehicle__vat button:focus-visible,
.rs-vehicle__thumb:focus-visible,
.rs-vehicle__submit:focus-visible,
.rs-vehicle select:focus-visible,
.rs-vehicle input:focus-visible,
.rs-vehicle textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.rs-vehicle__price-label {
  font-size: 0.8125rem;
  color: var(--rs-muted);
}

.rs-vehicle__price {
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  margin: 2px 0 12px;
}

.rs-vehicle__control {
  margin-bottom: 12px;
}

.rs-vehicle__picker {
  position: relative;
  margin: 6px 0 12px;
}

.rs-vehicle select.rs-vehicle__select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rs-vehicle__picker-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  color: var(--rs-ink);
  background: #f6f6f6;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  padding: 12px 14px;
  cursor: pointer;
}

.rs-vehicle__picker-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex: 0 0 auto;
}

.rs-vehicle__picker.is-open .rs-vehicle__picker-btn::after {
  transform: translateY(2px) rotate(225deg);
}

.rs-vehicle__picker.is-open .rs-vehicle__picker-btn,
.rs-vehicle__picker-btn:focus-visible {
  border-color: #f08a24;
  outline: none;
  box-shadow: 0 0 0 1px #f08a24;
}

.rs-vehicle__picker-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #f3f3f3;
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.08);
  overflow: auto;
}

.rs-vehicle__picker-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.35;
}

.rs-vehicle__picker-list li[aria-selected="true"] {
  background: #fff;
}

.rs-vehicle__picker-list li:hover,
.rs-vehicle__picker-list li:focus {
  background: #fff;
  outline: none;
}

.rs-vehicle__picker-delta {
  flex: 0 0 auto;
  font-size: 0.95rem;
  white-space: nowrap;
}

.rs-vehicle__picker-delta.is-down {
  color: #17803d;
  font-weight: 600;
}

.rs-vehicle label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
}

.rs-vehicle select,
.rs-vehicle input:not([type="checkbox"]):not([type="hidden"]),
.rs-vehicle textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  border: 0;
  border-bottom: 1px solid var(--rs-ink);
  border-radius: 0;
  padding: 10px 0;
  margin: 4px 0 10px;
  background: #fff;
  color: var(--rs-ink);
  min-height: 42px;
  box-shadow: none;
}

.rs-vehicle__form {
  border-top: 1px solid var(--rs-line);
  padding-top: 8px;
  margin-top: 18px;
}

.rs-vehicle__check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.8125rem !important;
  margin: 12px 0;
}

.rs-vehicle__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.rs-vehicle__submit,
.rs-catalog__cta,
.rs-catalog__submit,
.rs-vehicle__contact-link {
  background: var(--rs-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  width: 100%;
  font: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.rs-vehicle__contact-link {
  display: inline-block;
  width: auto;
  padding: 10px 18px;
}

.rs-vehicle__submit:hover,
.rs-catalog__cta:hover,
.rs-catalog__submit:hover {
  box-shadow: inset 0 0 0 100px rgba(255, 255, 255, 0.12);
}

.rs-vehicle__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rs-vehicle__notice,
.rs-vehicle__small,
.rs-vehicle__entry,
.rs-vehicle__delivery,
.rs-vehicle__meta,
.rs-vehicle__state-msg {
  font-size: 0.75rem;
  color: var(--rs-muted);
  margin: 6px 0;
  line-height: 1.45;
}

.rs-vehicle__state-msg {
  background: #fff8e6;
  color: #5c4a10;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.rs-vehicle__pending {
  padding: 4px 0 8px;
}

.rs-vehicle__success {
  color: #147342;
}

.rs-vehicle__form-status {
  font-size: 0.8125rem;
  color: var(--rs-muted);
  margin-top: 8px;
}

.rs-vehicle__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%);
}

.rs-vehicle [hidden],
.rs-catalog [hidden] {
  display: none !important;
}

.rs-vehicle__mobile-cta {
  display: none;
}

/* Catalog */
.rs-catalog--cols-2 {
  --rs-catalog-cols: 2;
}

.rs-catalog--cols-3 {
  --rs-catalog-cols: 3;
}

.rs-catalog--cols-4 {
  --rs-catalog-cols: 4;
}

.rs-catalog.is-filters-hidden .rs-catalog__filters {
  display: none;
}

.rs-catalog.is-filters-hidden.rs-catalog--side .rs-catalog__layout {
  grid-template-columns: minmax(0, 1fr);
}

.rs-catalog__layout {
  display: block;
  min-width: 0;
}

.rs-catalog--side .rs-catalog__layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 8px 40px;
  align-items: start;
}

.rs-catalog--side .rs-catalog__layout > * {
  min-width: 0;
}

.rs-catalog__main {
  min-width: 0;
  container-type: inline-size;
  container-name: rs-main;
}

.rs-catalog__filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px;
}

.rs-catalog__filters-head p,
.rs-catalog__quota p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rs-ink);
}

.rs-catalog__reset {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font: inherit;
  font-size: 0.75rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rs-catalog__reset:hover,
.rs-catalog__reset:focus-visible {
  color: var(--rs-ink);
  outline: none;
}

.rs-catalog__acc {
  border-bottom: 1px solid #ececec;
}

.rs-catalog__acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  color: var(--rs-ink);
}

.rs-catalog__acc summary::-webkit-details-marker {
  display: none;
}

.rs-catalog__acc summary::after {
  content: "+";
  color: #9a9a9a;
  font-size: 1.05rem;
  line-height: 1;
}

.rs-catalog__acc[open] summary::after {
  content: "–";
}

.rs-catalog__acc-count {
  margin-left: auto;
  min-width: 1.25rem;
  font-size: 0.75rem;
  color: #6b6b6b;
  text-align: right;
}

.rs-catalog__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding: 0 2px 12px;
}

.rs-catalog__check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.3;
  cursor: pointer;
}

.rs-catalog__check input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #111;
}

.rs-catalog__check.is-hidden {
  display: none;
}

.rs-catalog__sort select {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0 18px 2px 0;
  border-bottom: 1px solid var(--rs-ink);
  background-color: transparent;
  font-weight: 600;
  text-align: right;
}

.rs-catalog__quota {
  margin-top: 18px;
}

.rs-catalog__submit {
  margin-top: 14px;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.rs-catalog__price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.rs-catalog__price-inputs input {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: var(--rs-ink);
  font: inherit;
  font-size: 0.8125rem;
  padding: 8px 10px;
  min-height: 0;
  margin: 0;
}

.rs-catalog__slider {
  position: relative;
  height: 28px;
  margin-top: 8px;
}

.rs-catalog__slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 8px;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  height: 16px;
}

.rs-catalog__slider input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: #dedede;
}

.rs-catalog__slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 14px;
  height: 14px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #1a1a1a;
  cursor: pointer;
}

.rs-catalog__slider input[type="range"]::-moz-range-track {
  height: 2px;
  background: #dedede;
  border: 0;
}

.rs-catalog__slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #1a1a1a;
  cursor: pointer;
}

.rs-catalog--top .rs-catalog__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 22px;
  margin-bottom: 22px;
}

.rs-catalog--top .rs-catalog__filters-head,
.rs-catalog--top .rs-catalog__quota {
  grid-column: 1 / -1;
}

.rs-catalog__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 16px;
}

.rs-catalog__count {
  margin: 0;
  font-size: 0.875rem;
  color: var(--rs-ink);
}

.rs-catalog__vat {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.rs-catalog__vat button {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  color: #9a9a9a;
}

.rs-catalog__vat button[aria-pressed="true"] {
  background: transparent;
  color: var(--rs-ink);
  font-weight: 600;
}

.rs-catalog__sort {
  flex: 1 1 9.5rem;
  min-width: 0;
  max-width: 220px;
  margin: 0;
}

.rs-catalog__end {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 12px;
  min-width: 0;
}

.rs-catalog__cols {
  display: flex;
  gap: 4px;
}

.rs-catalog__cols button {
  width: 34px;
  height: 34px;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #b0b0b0;
  cursor: pointer;
  box-shadow: none;
}

.rs-catalog__cols button[aria-pressed="true"] {
  color: var(--rs-ink);
  border-color: var(--rs-ink);
}

.rs-catalog__cols-icon {
  display: flex;
  gap: 2px;
  width: 16px;
  height: 14px;
}

.rs-catalog__cols-icon i {
  display: block;
  flex: 1;
  background: currentColor;
  border-radius: 1px;
}

.rs-catalog__cols-icon--4 {
  width: 18px;
}

.rs-catalog__filters-toggle {
  flex: 0 0 auto;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: var(--rs-ink);
  border-radius: 2px;
  padding: 6px 10px;
  min-height: 0;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
}

.rs-catalog__filters-toggle[aria-pressed="false"] {
  color: #9a9a9a;
}

.rs-catalog__active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.rs-catalog__active[hidden] {
  display: none;
}

.rs-catalog__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7d7d7;
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px 5px 12px;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--rs-ink);
  cursor: pointer;
}

.rs-catalog__chip::after {
  content: "×";
  font-size: 1rem;
  line-height: 1;
  color: #666;
}

.rs-catalog__grid {
  display: grid;
  grid-template-columns: repeat(var(--rs-catalog-cols, 2), minmax(0, 1fr));
  gap: 34px 22px;
}

.rs-catalog__empty {
  grid-column: 1 / -1;
  color: var(--rs-muted);
}

.rs-catalog__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 0;
  background: #f3f3f3;
  padding: 18px 18px 20px;
}

.rs-catalog__media {
  position: relative;
  background: transparent;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0 0 14px;
}

.rs-catalog__photo {
  display: block;
  width: 100%;
  height: 100%;
}

.rs-catalog__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px 42px;
  background: transparent;
}

.rs-catalog__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    #f0f0f0,
    #f0f0f0 10px,
    #f7f7f7 10px,
    #f7f7f7 20px
  );
}

.rs-catalog__renting {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  background: #111;
  color: #fff;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 8px;
}

.rs-catalog__nav {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  cursor: pointer;
}

.rs-catalog__nav--prev { left: 10px; }
.rs-catalog__nav--next { right: 10px; }

.rs-catalog__nav::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-top: 1.5px solid #1a1a1a;
  border-right: 1.5px solid #1a1a1a;
}

.rs-catalog__nav--prev::before { transform: rotate(-135deg); margin-left: 12px; }
.rs-catalog__nav--next::before { transform: rotate(45deg); margin-right: 12px; }

.rs-catalog__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.rs-catalog__brand {
  margin: 0 0 6px;
  line-height: 0;
}

.rs-catalog__brand .rs-vehicle__logo-frame {
  max-width: 42px;
  max-height: 28px;
  padding: 0;
}

.rs-catalog__brand .rs-vehicle__logo,
.rs-catalog__brand img {
  max-width: 42px;
  max-height: 26px;
}

.rs-catalog__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.rs-catalog__title a {
  color: inherit;
  text-decoration: none;
}

.rs-catalog__title a:hover {
  text-decoration: underline;
}

.rs-catalog__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 8px;
}

.rs-catalog__summary {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #8d8d8d;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.rs-catalog__eco {
  position: static;
  flex: 0 0 auto;
  line-height: 0;
  filter: none;
}

.rs-catalog__spec .rs-catalog__eco-img,
.rs-catalog__eco img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rs-catalog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.rs-catalog__price {
  flex: 1 1 8rem;
  min-width: 0;
  margin: 0;
}

.rs-catalog__price strong {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: 4px;
}

.rs-catalog__price small {
  color: #8d8d8d;
  font-size: 0.75rem;
}

.rs-catalog__price--na strong {
  font-size: 1rem;
  font-weight: 600;
}

.rs-catalog__colors {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.rs-catalog__color-name {
  font-size: 0.75rem;
  line-height: 1.2;
  color: #6b6b6b;
  text-align: right;
}

.rs-catalog__swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rs-catalog button.rs-catalog__swatch {
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--rs-swatch, #9ca3af) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.rs-catalog button.rs-catalog__swatch.is-selected,
.rs-catalog button.rs-catalog__swatch:focus-visible {
  border-color: #111;
  outline: none;
}

.rs-catalog__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  justify-content: center;
}

.rs-catalog__page {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rs-line);
  color: var(--rs-ink);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8125rem;
  cursor: pointer;
  background: #fff;
  font: inherit;
}

.rs-catalog__page.is-current {
  background: var(--rs-ink);
  color: #fff;
  border-color: var(--rs-ink);
}

.rs-catalog .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rs-catalog[aria-busy="true"] .rs-catalog__results {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

@media (max-width: 1100px) {
  .rs-catalog--top .rs-catalog__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rs-vehicle__main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rs-vehicle__header {
    order: 0;
  }

  .rs-vehicle__info {
    order: 1;
  }

  .rs-vehicle__panel {
    order: 2;
    position: static;
    padding: 8px 0 18px;
  }

  .rs-vehicle__below {
    order: 3;
    max-width: none;
  }

  .rs-vehicle__section ul {
    columns: 1;
  }

  .rs-vehicle__mobile-cta {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 20;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
  }

  .rs-catalog--side .rs-catalog__layout {
    grid-template-columns: 1fr;
  }

  .rs-catalog--side .rs-catalog__filters,
  .rs-catalog--top .rs-catalog__filters {
    margin-bottom: 8px;
  }

  .rs-catalog--cols-3,
  .rs-catalog--cols-4 {
    --rs-catalog-cols: 2;
  }

  .rs-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .rs-vehicle {
    margin-top: 12px;
    overflow-x: hidden;
  }

  .rs-vehicle__eco {
    flex-basis: 72px;
  }

  .rs-vehicle__eco img {
    width: 64px;
    height: 64px;
  }

  .rs-vehicle__quick-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rs-vehicle__modes,
  .rs-vehicle__vat {
    flex-wrap: wrap;
  }

  .rs-catalog--cols-2,
  .rs-catalog--cols-3,
  .rs-catalog--cols-4 {
    --rs-catalog-cols: 1;
  }

  .rs-catalog--top .rs-catalog__filters {
    grid-template-columns: 1fr;
  }

  .rs-catalog__toolbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .rs-catalog__vat,
  .rs-catalog__end {
    justify-self: start;
  }

  .rs-catalog__end,
  .rs-catalog__sort,
  .rs-catalog__sort select {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .rs-catalog__card {
    padding: 14px 14px 16px;
  }

  .rs-catalog__media img {
    padding: 10px 28px;
  }

  .rs-catalog__grid {
    gap: 16px;
  }

  .rs-catalog__colors,
  .rs-catalog__swatches {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .rs-catalog__color-name {
    text-align: left;
  }

  .rs-catalog__price strong {
    font-size: 1.05rem;
  }

  .rs-catalog__price small {
    display: block;
    margin-top: 2px;
  }

  .rs-related__grid {
    grid-template-columns: 1fr;
  }

  .rs-vehicle__lightbox-dialog {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "close close"
      "image image"
      "prev next"
      "count count"
      "note note";
  }
}

@container rs-main (max-width: 860px) {
  .rs-catalog__toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .rs-catalog__end {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
  }
}

@container rs-main style(--rs-catalog-cols: 4) and (max-width: 1120px) {
  .rs-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container rs-main style(--rs-catalog-cols: 3) and (max-width: 820px),
@container rs-main style(--rs-catalog-cols: 4) and (max-width: 820px) {
  .rs-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container rs-main (max-width: 540px) {
  .rs-catalog__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-catalog__toolbar {
    grid-template-columns: 1fr;
  }

  .rs-catalog__sort,
  .rs-catalog__sort select {
    max-width: none;
    width: 100%;
    text-align: left;
  }

  .rs-catalog__card {
    padding: 14px 14px 16px;
  }

  .rs-catalog__media img {
    padding: 10px 28px;
  }

  .rs-catalog__colors,
  .rs-catalog__swatches {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .rs-catalog__color-name {
    text-align: left;
  }

  .rs-catalog__price small {
    display: block;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-vehicle *,
  .rs-catalog * {
    scroll-behavior: auto !important;
  }
}
