.ac-trades-gallery {
  position: relative;
  z-index: 3;
}

.bottom .ac-trades-nav {
  gap: 10px;
  margin-bottom: 20px;
}

.bottom .ac-trades-nav button {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .78;
  transition: opacity .2s ease, transform .2s ease;
}

.bottom .ac-trades-nav button:hover,
.bottom .ac-trades-nav button:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.bottom .ac-trades-nav button:focus-visible {
  outline: 3px solid #b8d4db;
  outline-offset: 3px;
}

.bottom .ac-trades-nav img {
  display: block;
  width: 100%;
  height: 100%;
}

.bottom .ac-trades-swiper {
  margin: 0 !important;
  padding: 8px 4px 38px;
  overflow: hidden;
}

.bottom .ac-trades-swiper .ac-trade-card {
  height: auto;
  padding: 0;
  color: #fff;
  text-decoration: none;
}

.bottom .ac-trades-swiper .ac-trade-card figure {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #0b1719;
  box-shadow: inset 0 0 46px rgba(0, 0, 0, .33), 0 7px 14px rgba(0, 0, 0, .25);
}

.bottom .ac-trades-swiper .ac-trade-card figure::after {
  position: absolute;
  inset: 35% 0 0;
  content: '';
  background: linear-gradient(to bottom, rgba(11, 23, 25, 0), rgba(11, 23, 25, .96));
  pointer-events: none;
}

.bottom .ac-trades-swiper .ac-trade-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.bottom .ac-trades-swiper .ac-trade-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
}

.bottom .ac-trades-swiper .ac-trade-card strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.bottom .ac-trades-swiper .ac-trade-card span {
  display: block;
  margin-top: 7px;
  color: #b8d4db;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bottom .ac-trades-swiper .ac-trade-card:hover img,
.bottom .ac-trades-swiper .ac-trade-card:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.bottom .ac-trades-swiper .ac-trade-card:focus-visible {
  outline: 3px solid #b8d4db;
  outline-offset: -3px;
}

.bottom .ac-trades-pagination {
  bottom: 0 !important;
}

.bottom .ac-trades-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 0;
  background: #fff;
  opacity: .32;
  transition: opacity .2s ease, width .2s ease;
}

.bottom .ac-trades-pagination .swiper-pagination-bullet-active {
  width: 44px;
  background: #b8d4db;
  opacity: 1;
}

@media (max-width: 991px) {
  .bottom .ac-trades-nav {
    margin-bottom: 8px;
  }

  .bottom .ac-trades-nav button {
    width: 46px;
    height: 46px;
    margin: 0;
  }
}

@media (max-width: 680px) {
  .bottom .ac-trades-swiper {
    padding-right: 0;
  }

  .bottom .ac-trades-swiper .ac-trade-card figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .bottom .ac-trades-swiper .ac-trade-card strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bottom .ac-trades-swiper .ac-trade-card img,
  .bottom .ac-trades-nav button {
    transition: none;
  }
}
