.fvm-announcement {
  position: sticky;
  z-index: 135;
  top: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22), transparent 24%, transparent 76%, rgba(0,0,0,.2)),
    linear-gradient(105deg, #8f0b10, #d71920 45%, #b00e14);
  border-bottom: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 9px 28px rgba(0,0,0,.18);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

html.fvm-announcement-visible {
  scroll-padding-top: calc(var(--fvm-announcement-height, 62px) + 86px);
}

html.fvm-announcement-visible .site-header {
  top: var(--fvm-announcement-height, 62px);
}

html.fvm-announcement-visible body.admin-bar .fvm-announcement {
  top: 32px;
}

html.fvm-announcement-visible body.admin-bar .site-header {
  top: calc(32px + var(--fvm-announcement-height, 62px));
}

@media (max-width: 782px) {
  html.fvm-announcement-visible body.admin-bar .fvm-announcement {
    top: 46px;
  }

  html.fvm-announcement-visible body.admin-bar .site-header {
    top: calc(46px + var(--fvm-announcement-height, 62px));
  }
}

.fvm-announcement[hidden] { display: none !important; }

.fvm-announcement__glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 25%, rgba(255,255,255,.16) 45%, transparent 64%),
    repeating-linear-gradient(115deg, transparent 0 30px, rgba(255,255,255,.028) 31px 32px);
  transform: translateX(-100%);
  animation: fvm-announcement-scan 6s ease-in-out infinite;
  pointer-events: none;
}

.fvm-announcement__inner {
  position: relative;
  width: min(calc(100% - 48px), 1220px);
  min-height: 62px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  margin-inline: auto;
  padding-block: 10px;
}

.fvm-announcement__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.13);
  box-shadow: 0 0 0 6px rgba(255,255,255,.045);
  font-size: 19px;
  font-weight: 900;
}

.fvm-announcement__copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 13px;
  line-height: 1.35;
}

.fvm-announcement__copy strong {
  flex: none;
  color: rgba(255,255,255,.74);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fvm-announcement__copy span {
  font-size: 13px;
  font-weight: 720;
}

.fvm-announcement__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  background: rgba(0,0,0,.12);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.fvm-announcement__link:hover,
.fvm-announcement__link:focus-visible {
  border-color: #fff;
  background: rgba(0,0,0,.28);
  outline: 0;
  transform: translateY(-1px);
}

.fvm-announcement__close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.fvm-announcement__close:hover,
.fvm-announcement__close:focus-visible {
  color: #fff;
  background: rgba(0,0,0,.32);
  outline: 2px solid rgba(255,255,255,.7);
  outline-offset: 2px;
  transform: rotate(7deg);
}

@keyframes fvm-announcement-scan {
  0%, 52% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}

.vehicle-offers > .vehicle-card--managed + .vehicle-card--managed {
  margin-top: clamp(28px, 4vw, 54px);
}

.vehicle-sortbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(24px, 3vw, 38px);
  padding: 14px 18px 14px 22px;
  border-left: 4px solid #d71920;
  color: #151515;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0,0,0,.08);
}

.vehicle-sortbar__count {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.vehicle-sortbar__count strong {
  color: #d71920;
  font-family: var(--font-heading, sans-serif);
  font-size: 31px;
  line-height: 1;
}

.vehicle-sortbar__count span,
.vehicle-sortbar__field > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vehicle-sortbar__field {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vehicle-sortbar__field > span { color: #777; }

.vehicle-sortbar select {
  min-width: 235px;
  padding: 13px 42px 13px 15px;
  border: 1px solid #d9d8d4;
  border-radius: 0;
  color: #151515;
  background-color: #f6f5f1;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.vehicle-sortbar select:hover,
.vehicle-sortbar select:focus-visible {
  border-color: #d71920;
  outline: 2px solid rgba(215,25,32,.14);
  outline-offset: 2px;
}

.vehicle-card--managed h3 {
  font-size: clamp(38px, 3.6vw, 62px);
  overflow-wrap: anywhere;
}

.vehicle-gallery__slides,
.vehicle-gallery__slide,
.vehicle-gallery__placeholder {
  position: absolute;
  inset: 0;
}

.vehicle-gallery__slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s ease, transform 1.2s ease;
  pointer-events: none;
}

.vehicle-gallery__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.vehicle-gallery__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 55%, rgba(0,0,0,.42));
  pointer-events: none;
}

.vehicle-gallery__zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: zoom-in;
}

.vehicle-gallery__zoom img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .3s ease;
}

.vehicle-gallery__zoom:hover img,
.vehicle-gallery__zoom:focus-visible img {
  filter: brightness(.88);
  transform: scale(1.025);
}

.vehicle-gallery__zoom:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -7px;
}

.vehicle-gallery__zoom-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .22s ease, transform .22s ease;
  text-transform: uppercase;
}

.vehicle-gallery__zoom-label span {
  color: #ff333a;
  font-size: 15px;
  line-height: 1;
}

.vehicle-gallery__zoom:hover .vehicle-gallery__zoom-label,
.vehicle-gallery__zoom:focus-visible .vehicle-gallery__zoom-label {
  opacity: 1;
  transform: translateY(0);
}

.vehicle-gallery__placeholder {
  display: grid;
  place-items: center;
  padding: 6%;
}

.vehicle-gallery__placeholder svg {
  width: 95%;
  filter: drop-shadow(0 28px 24px rgba(0,0,0,.5));
}

.vehicle-gallery__control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 32px;
  transform: translateY(-50%);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.vehicle-gallery__control:hover,
.vehicle-gallery__control:focus-visible {
  border-color: #fff;
  background: #d71920;
  transform: translateY(-50%) scale(1.06);
}

.vehicle-gallery__control--previous { left: 20px; }
.vehicle-gallery__control--next { right: 20px; }

.vehicle-gallery__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 25px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.vehicle-gallery__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.vehicle-gallery__dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: #d71920;
}

.vehicle-card__demo--reserved { background: #c88900; }
.vehicle-card__demo--sold { background: #555; }

.vehicle-card__details {
  margin-top: 22px;
  border-block: 1px solid rgba(255,255,255,.12);
}

.vehicle-card__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: #f4f3ef;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  list-style: none;
  text-transform: uppercase;
}

.vehicle-card__details summary::-webkit-details-marker { display: none; }
.vehicle-card__details summary span { color: #d71920; font-size: 24px; transition: transform .2s ease; }
.vehicle-card__details[open] summary span { transform: rotate(45deg); }

.vehicle-card__details-body {
  padding: 5px 0 24px;
  color: #aaa9a5;
  font-size: 13px;
}

.vehicle-card__more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0 0 24px;
}

.vehicle-card__more div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.vehicle-card__more dt { color: #777774; }
.vehicle-card__more dd { margin: 0; color: #f4f3ef; font-weight: 700; text-align: right; }

.vehicle-card__equipment h4,
.vehicle-card__copy h4 {
  margin: 0 0 11px;
  color: #f4f3ef;
  font-family: var(--font-heading, sans-serif);
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vehicle-card__equipment ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.vehicle-card__equipment li {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.12);
  color: #d8d7d2;
  background: rgba(255,255,255,.04);
}

.vehicle-card__copy + .vehicle-card__copy { margin-top: 22px; }
.vehicle-card__copy p { margin: 0; line-height: 1.65; }
.vehicle-card__price span { display: block; margin-top: 6px; color: #aaa9a5; font-size: 11px; }

.vehicle-lightbox {
  width: min(94vw, 1500px);
  height: min(92vh, 980px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  background: #080809;
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
}

.vehicle-lightbox::backdrop {
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(9px);
}

.vehicle-lightbox[open] {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  animation: vehicle-lightbox-in .25s ease both;
}

.vehicle-lightbox-is-open { overflow: hidden; }

.vehicle-lightbox__figure {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  padding: 30px 0 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(215,25,32,.09), transparent 58%),
    linear-gradient(145deg, #111113, #050506);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.vehicle-lightbox__figure img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.vehicle-lightbox__figure figcaption {
  padding-top: 12px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-align: center;
}

.vehicle-lightbox__close,
.vehicle-lightbox__control {
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.vehicle-lightbox__close:hover,
.vehicle-lightbox__close:focus-visible,
.vehicle-lightbox__control:hover,
.vehicle-lightbox__control:focus-visible {
  border-color: #d71920;
  background: #d71920;
  outline: 0;
}

.vehicle-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 29px;
  line-height: 1;
}

.vehicle-lightbox__control {
  width: 48px;
  height: 48px;
  justify-self: center;
  border-radius: 50%;
  font-size: 32px;
}

.vehicle-lightbox__control:hover,
.vehicle-lightbox__control:focus-visible { transform: scale(1.07); }

@keyframes vehicle-lightbox-in {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .fvm-announcement__inner {
    width: min(calc(100% - 28px), 1220px);
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 11px;
  }
  .fvm-announcement__icon { width: 32px; height: 32px; font-size: 16px; }
  .fvm-announcement__copy { display: grid; gap: 2px; }
  .fvm-announcement__copy span { font-size: 12px; }
  .fvm-announcement__link {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 1px;
  }
  .fvm-announcement__close { align-self: start; margin-top: 1px; }
  .vehicle-sortbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 17px;
  }
  .vehicle-sortbar__field {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }
  .vehicle-sortbar select { width: 100%; min-width: 0; }
  .vehicle-card--managed h3 { font-size: clamp(38px, 12vw, 54px); }
  .vehicle-gallery__control { width: 40px; height: 40px; }
  .vehicle-gallery__control--previous { left: 12px; }
  .vehicle-gallery__control--next { right: 12px; }
  .vehicle-gallery__dots { bottom: 18px; }
  .vehicle-gallery__zoom-label {
    left: 14px;
    bottom: 14px;
    opacity: 1;
    transform: none;
  }
  .vehicle-card__more { grid-template-columns: 1fr; }
  .vehicle-lightbox {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }
  .vehicle-lightbox[open] {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }
  .vehicle-lightbox__figure { padding: 70px 0 16px; }
  .vehicle-lightbox__close { top: 12px; right: 12px; }
  .vehicle-lightbox__control { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .fvm-announcement__glow { animation: none; }
  .vehicle-gallery__slide,
  .vehicle-gallery__zoom img,
  .vehicle-lightbox[open] { animation: none; transition: none; }
}
