/*
 * Design v3 (design-v3.php) — the 2026-09-29 mock-up, as a layer over v2. Every rule starts with
 * `.design-v3`, so nothing here reaches a visitor on v2; the tokens are v2's own (site.css).
 */

/* ================================================================ shared */

.design-v3 .v3-section {
  padding-block: var(--spacing-16);
}
.design-v3 .v3-section--tint {
  background: var(--color-surface);
}
.design-v3 .v3-section--top0 {
  padding-top: 0;
}
.design-v3 .v3-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-4);
  margin-bottom: var(--spacing-6);
}
.design-v3 .v3-eyebrow {
  margin: 0 0 .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--go);
}
.design-v3 .v3-eyebrow--stop {
  color: var(--color-accent);
}
.design-v3 .v3-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.design-v3 .v3-sub {
  max-width: 44rem;
  margin: .4rem 0 0;
  color: var(--color-muted);
}
.design-v3 .v3-more {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--go);
  text-decoration: none;
  white-space: nowrap;
}
.design-v3 .v3-more:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.design-v3 .v3-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: var(--spacing-4);
}
@media (min-width: 1100px) {
  .design-v3 .v3-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ================================================================ home: hero with the booking box */

.design-v3 .v3-hero {
  padding-top: var(--spacing-12);
  background: radial-gradient(90rem 30rem at 85% -10%, var(--color-surface-2), transparent 60%), linear-gradient(180deg, #f7faf8, #fff 85%);
  overflow: hidden;
}
.design-v3 .v3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--spacing-8);
}
.design-v3 .v3-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.design-v3 .v3-go {
  color: var(--go);
}
.design-v3 .v3-stop {
  color: var(--color-accent);
}
.design-v3 .v3-hero__lead {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  font-size: 1.125rem;
  color: var(--color-muted);
}
.design-v3 .v3-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  color: var(--color-muted);
}
.design-v3 .v3-proof b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--color-ink);
}
.design-v3 .v3-hero__art {
  position: relative;
  min-height: 17rem;
}
.design-v3 .v3-hero__art img {
  position: absolute;
  right: -2rem;
  bottom: -1rem;
  width: min(40rem, 118%);
  height: auto;
  filter: drop-shadow(0 26px 30px rgb(18 24 32 / .22));
}
/* The booking box sits in the hero now, not over its edge. */
.design-v3 .v3-hero .bookbox-wrap {
  margin-top: var(--spacing-8);
  padding-bottom: var(--spacing-4);
}
@media (max-width: 899px) {
  .design-v3 .v3-hero {
    padding-top: var(--spacing-8);
  }
  .design-v3 .v3-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* On a phone the booking box matters more than the picture. */
  .design-v3 .v3-hero__art {
    display: none;
  }
  .design-v3 .v3-hero__lead {
    font-size: 1rem;
  }
  .design-v3 .v3-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    font-size: .8125rem;
    line-height: 1.3;
  }
  .design-v3 .v3-proof b {
    font-size: 1.375rem;
  }
  .design-v3 .v3-hero .bookbox-wrap {
    margin-top: var(--spacing-6);
  }
}

/* ================================================================ home: rentals */

.design-v3 .v3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: var(--spacing-4);
}
.design-v3 .v3-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-full);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.design-v3 .v3-chip b {
  color: var(--color-muted);
}
.design-v3 .v3-chip:hover {
  border-color: var(--go);
}
.design-v3 .v3-chip.is-on {
  border-color: var(--go);
  background: var(--go-soft);
  color: var(--go-dark);
}

/* How a booking goes: a real sequence, so it is numbered. The booking page's own steps, on navy. */
.design-v3 .v3-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-6);
  margin-top: var(--spacing-8);
  padding: var(--spacing-8);
  border-radius: var(--radius-lg);
  background: var(--color-night);
  color: #fff;
}
.design-v3 .v3-how__title {
  margin: 0;
  font-size: .75rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-night-text);
}
.design-v3 .v3-how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-6);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: v3step;
}
.design-v3 .v3-how__steps li {
  counter-increment: v3step;
}
.design-v3 .v3-how__steps li::before {
  content: counter(v3step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--go);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 800;
}
.design-v3 .v3-how h4 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
}
.design-v3 .v3-how p {
  margin: .35rem 0 0;
  font-size: .875rem;
  color: var(--color-night-text);
}
.design-v3 .v3-how > .btn {
  justify-self: start;
}
@media (max-width: 899px) {
  .design-v3 .v3-how {
    padding: var(--spacing-6);
  }
  .design-v3 .v3-how__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-4);
  }
  .design-v3 .v3-how__steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
  }
  .design-v3 .v3-how__steps li::before {
    grid-row: span 2;
    margin: 0;
  }
}

/* ================================================================ home: cars for sale */

.design-v3 .v3-perks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-6);
  padding: var(--spacing-6);
  border-radius: var(--radius-lg);
  background: var(--color-night);
  color: #fff;
}
.design-v3 .v3-perks ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.design-v3 .v3-perks b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
}
.design-v3 .v3-perks span {
  font-size: .875rem;
  color: var(--color-night-text);
}
.design-v3 a.v3-btn-light {
  background: #fff;
  color: var(--color-ink);
}
.design-v3 a.v3-btn-light:hover {
  background: var(--go-soft);
  color: var(--go-dark);
}

/* ================================================================ home: why us */

.design-v3 .v3-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-8);
}
.design-v3 .v3-why__item {
  padding-top: 1.1rem;
  border-top: 3px solid var(--rc-brand-green, var(--go));
}
.design-v3 .v3-why__item:nth-child(2) {
  border-top-color: var(--color-ink);
}
.design-v3 .v3-why__item:nth-child(3) {
  border-top-color: var(--color-accent);
}
.design-v3 .v3-why__big {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.design-v3 .v3-why svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--go);
}
.design-v3 .v3-why h3 {
  margin: .6rem 0 0;
  font-size: 1.125rem;
  font-weight: 800;
}
.design-v3 .v3-why p:not(.v3-why__big) {
  margin: .35rem 0 0;
  font-size: .9375rem;
  color: var(--color-muted);
}
@media (max-width: 767px) {
  .design-v3 .v3-why {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--spacing-6);
  }
}

/* ================================================================ reviews */

.design-v3 .v3-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-4);
}
.design-v3 .v3-rating,
.design-v3 .v3-review {
  margin: 0;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-paper);
}
.design-v3 .v3-rating {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  border-color: var(--color-night);
  background: var(--color-night);
  color: #fff;
}
.design-v3 .v3-rating__g {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.design-v3 .v3-rating__text {
  margin: 0;
  font-size: .9375rem;
  color: var(--color-night-text);
}
.design-v3 .v3-rating .v3-stars {
  font-size: 1.5rem;
}
.design-v3 .v3-review {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.design-v3 .v3-review__who {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.design-v3 .v3-review__avatar {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
}
.design-v3 .v3-review__who b {
  display: block;
  font-size: .9375rem;
}
.design-v3 .v3-review__who small {
  font-size: .8125rem;
  color: var(--color-muted);
}
.design-v3 .v3-stars {
  margin: 0;
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: .12em;
  line-height: 1;
}
.design-v3 .v3-review blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: .96875rem;
  line-height: 1.6;
  color: var(--color-ink);
}
@media (max-width: 959px) {
  .design-v3 .v3-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  .design-v3 .v3-reviews {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================================================================ home: where we are */

.design-v3 .v3-visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-paper);
}
.design-v3 .v3-visit__info {
  padding: var(--spacing-8);
}
.design-v3 .v3-visit dl {
  display: grid;
  gap: 1.1rem;
  margin: var(--spacing-6) 0;
}
.design-v3 .v3-visit dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.design-v3 .v3-visit dd {
  margin: .15rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
.design-v3 .v3-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 0;
}
/* Google's map of the lot, filling the frame beside the address. */
.design-v3 .v3-map {
  position: relative;
  display: block;
  min-height: 20rem;
  overflow: hidden;
  background: #eef3ef;
}
.design-v3 .v3-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 859px) {
  .design-v3 .v3-visit {
    grid-template-columns: minmax(0, 1fr);
  }
  .design-v3 .v3-visit__info {
    padding: var(--spacing-6);
  }
  .design-v3 .v3-map {
    min-height: 13rem;
  }
}

/* ================================================================ every page: the title band */

.design-v3 .pagehead {
  padding-block: var(--spacing-12) var(--spacing-8);
  background: radial-gradient(70rem 22rem at 90% -20%, var(--color-surface-2), transparent 60%), linear-gradient(180deg, #f7faf8, #fff);
}
.design-v3 .pagehead__title {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}

/* The footer said the hours twice: the contact column keeps them. */
.design-v3 .footer__bottom > p:nth-child(2) {
  display: none;
}

/* ================================================================ "Сите возила" */

/* The offer, as two large tiles (three with "Сите"). */
.design-v3 .rc-offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 15rem));
  gap: .75rem;
  padding-block: var(--spacing-6) 0;
}
.design-v3 .rc-offer__tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}
.design-v3 .rc-offer__tab:hover {
  border-color: var(--go);
}
.design-v3 .rc-offer__tab[aria-current="page"] {
  border-color: var(--go);
  background: var(--go-soft);
  color: var(--go-dark);
  box-shadow: inset 0 0 0 1px var(--go);
}
.design-v3 .rc-offer__count {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-muted);
}
.design-v3 .rc-offer__tab[aria-current="page"] .rc-offer__count {
  background: var(--color-paper);
  color: var(--go-dark);
}
@media (max-width: 599px) {
  .design-v3 .rc-offer {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The filters: a bar above the cars on a desktop; each filter opens under its own button. The phone
   keeps v2's filter panel. */
@media (min-width: 1000px) {
  .design-v3 .listing {
    grid-template-columns: minmax(0, 1fr);
  }
  .design-v3 .filters {
    position: relative;
    top: auto;
    z-index: 20;
    max-height: none;
    overflow: visible;
    padding: .75rem 1rem;
  }
  .design-v3 .filters__title {
    display: none;
  }
  .design-v3 .filters__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
  }
  .design-v3 .filter {
    position: relative;
    padding: 0;
    border: 0;
  }
  .design-v3 .filter__summary {
    min-height: 2.5rem;
    padding: 0 .9rem;
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-paper);
    font-weight: 600;
  }
  .design-v3 .filter__summary::after {
    margin-left: .6rem;
    width: .45rem;
    height: .45rem;
  }
  .design-v3 .filter[open] > .filter__summary {
    border-color: var(--go);
  }
  .design-v3 .filter[open] > :not(summary) {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    z-index: 30;
    min-width: 15rem;
    max-height: 20rem;
    overflow: auto;
    margin: 0;
    padding: .9rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-paper);
    box-shadow: var(--shadow-lg);
  }
  .design-v3 .filters .btn--block {
    width: auto;
    min-height: 2.5rem;
    margin: 0 0 0 auto;
  }
}

/* ================================================================ "Изнајми возило" */

/* The title and the steps as one navy band, the search card over its lower edge. */
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead {
  border-bottom: 0;
  background: var(--color-night);
  color: #fff;
}
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead .pagehead__title {
  color: #fff;
}
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead p {
  color: var(--color-night-text);
}
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead + .shell {
  margin-top: -1px;
  padding-bottom: 4.5rem;
  background: var(--color-night);
  box-shadow: 0 0 0 100vmax var(--color-night);
  clip-path: inset(0 -100vmax);
}
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead + .shell + .searchbar {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}
.design-v3 .pagehead + .shell .rc-steps-wrap {
  padding-block: var(--spacing-2) 0;
}
/* Step 2 has no search card to overlap the band: the band ends under the cards, the cars follow. */
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead + .shell:not(:has(> .rc-checkout)):not(:has(+ .searchbar)) {
  padding-bottom: var(--spacing-8);
}

/*
 * Steps 3–4 and the return from the bank: as on steps 1–2, the navy band ends under the step cards,
 * and the form and the summary sit over its lower edge, as the search card does.
 */
.design-v3 .wp-block-post-content:has(.rc-steps-wrap) > .pagehead + .shell:has(> .rc-checkout) {
  padding-bottom: 0;
  background: none;
  box-shadow: none;
  clip-path: none;
}
.design-v3 .pagehead + .shell:has(> .rc-checkout) > .rc-steps-wrap {
  padding-bottom: 4.5rem;
  background: var(--color-night);
  box-shadow: 0 0 0 100vmax var(--color-night);
  clip-path: inset(0 -100vmax);
}
.design-v3 .pagehead + .shell:has(> .rc-checkout) > .rc-checkout {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: var(--spacing-16);
}
/* On the navy band the cards done and current stay white; the ones to come sit back in navy. */
.design-v3 .pagehead + .shell .is-todo .rc-steps__link {
  background: var(--color-night-surface);
  border-color: var(--color-night-line);
}
.design-v3 .pagehead + .shell .is-todo .rc-steps__dot {
  background: var(--color-night-line);
  color: var(--color-night-text);
}
.design-v3 .pagehead + .shell .is-todo .rc-steps__label,
.design-v3 .pagehead + .shell .is-todo .rc-steps__note {
  color: var(--color-night-text);
}
.design-v3 .pagehead + .shell .is-current .rc-steps__link {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .14);
}
.design-v3 .searchbar--rental .searchbar__card {
  box-shadow: var(--shadow-lg);
}

/* "Како оди", on navy like the home page's. */
.design-v3 .rentinfo__how {
  padding: var(--spacing-8);
  border-radius: var(--radius-lg);
  background: var(--color-night);
  color: #fff;
}
.design-v3 .rentinfo__how .section__title {
  color: #fff;
}
.design-v3 .rentinfo__how .step {
  border-color: var(--color-night-line);
  background: var(--color-night-surface);
}
.design-v3 .rentinfo__how .step__title {
  color: #fff;
}
.design-v3 .rentinfo__how .step__body,
.design-v3 .rentinfo__how p {
  color: var(--color-night-text);
}
.design-v3 .rentinfo__how a {
  color: #fff;
}
@media (max-width: 699px) {
  .design-v3 .rentinfo__how {
    padding: var(--spacing-6);
  }
}

/* ================================================================ "За нас" and "Контакт" */

.design-v3 .promise,
.design-v3 .contact__details,
.design-v3 .contact__form {
  border-radius: var(--radius-lg);
}
/* v2 paints this band green with !important; v3's is the navy of the other closing bands. */
.design-v3 .about__visit {
  background: linear-gradient(120deg, var(--color-night) 55%, #14301f) !important;
}
.design-v3 .contact__details {
  background: var(--color-surface);
}

/* ================================================================ "За нас": the lot (5 Oct 2026) */

/* A mosaic: the aerial view two by two, the entrance two tall, the rows around them, two wide
   panoramas to close. Every photo is cropped to its tile; the viewer shows it whole. */
.design-v3 .v3-lot__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 11rem;
  grid-auto-flow: dense;
  gap: var(--spacing-3);
  margin: var(--spacing-8) 0 0;
  padding: 0;
  list-style: none;
}
.design-v3 .v3-lot__tile--big { grid-column: span 2; grid-row: span 2; }
.design-v3 .v3-lot__tile--tall { grid-row: span 2; }
.design-v3 .v3-lot__tile--wide { grid-column: span 2; }
.design-v3 .v3-lot__open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  cursor: zoom-in;
}
.design-v3 .v3-lot__open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
/* On hover, the site's own red-to-navy over the photo's foot, as the type cards carry it. */
.design-v3 .v3-lot__open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d0142c00 40%, #13294b8c 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.design-v3 .v3-lot__open:hover img,
.design-v3 .v3-lot__open:focus-visible img {
  transform: scale(1.05);
}
.design-v3 .v3-lot__open:hover::after,
.design-v3 .v3-lot__open:focus-visible::after {
  opacity: 1;
}
.design-v3 .v3-lot__open:focus-visible {
  outline: 3px solid var(--go);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .design-v3 .v3-lot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 9rem;
  }
}
@media (max-width: 480px) {
  .design-v3 .v3-lot__grid {
    grid-auto-rows: 7.5rem;
    gap: var(--spacing-2);
  }
  .design-v3 .v3-lot__open { border-radius: var(--radius-md); }
}

/* The viewer: one photo, whole, on the night. */
.design-v3 .v3-lot__view {
  width: min(64rem, 100vw - 2rem);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #fff;
}
.design-v3 .v3-lot__view::backdrop {
  background: #0f151ce6;
}
.design-v3 .v3-lot__figure {
  margin: 0;
}
.design-v3 .v3-lot__big {
  display: block;
  width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #000;
}
.design-v3 .v3-lot__caption {
  margin-top: var(--spacing-3);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-night-text);
}
.design-v3 .v3-lot__count {
  margin-left: var(--spacing-2);
  opacity: .7;
}
.design-v3 .v3-lot__nav,
.design-v3 .v3-lot__close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius-full);
  background: #ffffffe6;
  color: var(--color-ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s var(--ease);
}
.design-v3 .v3-lot__nav:hover,
.design-v3 .v3-lot__close:hover {
  background: #fff;
}
.design-v3 .v3-lot__nav {
  top: calc(50% - 2.75rem);
}
.design-v3 .v3-lot__nav--prev { left: var(--spacing-3); }
.design-v3 .v3-lot__nav--next { right: var(--spacing-3); }
.design-v3 .v3-lot__close {
  top: var(--spacing-3);
  right: var(--spacing-3);
}
@media (prefers-reduced-motion: reduce) {
  .design-v3 .v3-lot__open img,
  .design-v3 .v3-lot__open::after {
    transition: none;
  }
}
