:root {
  --an-dark: #111318;
  --an-dark-2: #1c2229;
  --an-card: #ffffff;
  --an-text: #151515;
  --an-muted: rgba(0, 0, 0, 0.62);
  --an-line: #e9eef4;
  --an-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --an-radius-xl: 22px;
  --an-radius-lg: 18px;
  --an-radius-md: 14px;
}


/* =========================================================
   HERO
========================================================= */
.an-hero{
  padding: 36px 0 22px;
  position: relative;
  overflow: visible;

  /* CLS guard */
  min-height: 520px; /* desktop */
}

.an-hero__bg {
  width: 100%;
  height: 150%;
  position: absolute;
  top: -200px;
  left: 0;
  z-index: -1;
}

@media (max-width: 991px){
  .an-hero{ min-height: 460px; }
}
@media (max-width: 575px){
  .an-hero{ min-height: 420px; }
}

.an-hero__bg,
.an-hero__overlay {
  position: absolute;
  /* inset: 0; */
}

.an-hero__overlay{
  width: 100%;
  height: 200%;
  background: url("../images/hero-new-bg.png") no-repeat;
  background-size: cover;

  z-index: 0;

}

.an-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.an-hero__img--desktop{
  object-position: center 15%;
}
/* =========================================================
   HERO FIX RESPONSIVE
========================================================= */

/* Tablet / small desktop → abbassa l'immagine */
@media (min-width: 560px) {
  .an-hero__bg img.an-hero__img--mobile {
    display: none;
   
  }
}
  @media (min-width: 560px) and (max-width: 1024px) {
  .an-hero__img--desktop,
  .an-hero__img--fallback {
    object-position: center 30%;
  }
}

/* Mobile → nascondi desktop e usa mobile */
@media (max-width: 559px) {
  .an-hero__bg img.an-hero__img--desktop,
  .an-hero__bg img.an-hero__img--fallback {
    display: none;
  }
  .an-hero__bg{
    background-color: #1d2e3e;
  }

 .an-hero__bg img.an-hero__img--mobile {
    display: block;
    object-position: center 15%;
  }
  .an-hero__bg img{
    object-fit: contain;
  }
}

.an-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 76px;
  padding-bottom: 110px;
}

/* .an-hero__curve {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -150px;
  height: 300px;
  background: linear-gradient(180deg, #34404c 0%, #d7dade 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
} */

/* SIDECARD */
.an-sidecard {
  width: min(370px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  padding: 18px 18px 16px;
  color: var(--an-text);
  transition: opacity .32s ease, transform .32s ease;
  will-change: opacity, transform;
}

@media (min-width: 992px) {
  .an-sidecard.an-sidecard--floating {
    position: fixed;
    top: 22px;
    right: max(18px, calc((100vw - 1300px) / 2));
    z-index: 40;
  }

  .an-sidecard.an-sidecard--on-hero {
    background:
      linear-gradient(0deg, rgba(242, 242, 242, 0.20) 0%, rgba(242, 242, 242, 0.20) 100%),
      rgba(0, 0, 0, 0.60);
    outline: 1px var(--Light-grey, #F2F2F2) solid;
    outline-offset: -1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
    color: #fff;
  }

  .au-floatbar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .28s ease, transform .28s ease;
  }

  .au-floatbar.an-floatbar--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.an-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.66);
  margin-bottom: 6px;
}

.an-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.02;
  margin: 0 0 4px;
}

.an-subtitle {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 18px;
}

.an-sidecard__pricegrid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.an-price-big {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.an-price-note {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
}

.an-price-small-label {
  font-size: 12px;
  text-align: right;
  color: rgba(0, 0, 0, 0.58);
  margin-bottom: 4px;
}

.an-price-small {
  text-align: right;
  line-height: 1;
}

.an-price-small__val {
  font-size: 22px;
  font-weight: 700;
}

.an-price-small__per {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
  margin-left: 4px;
}

.an-link {
  display: inline-block;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.72);
  text-decoration: underline;
  margin-top: 6px;
}

.an-sidecard.an-sidecard--on-hero .an-kicker,
.an-sidecard.an-sidecard--on-hero .au-kicker,
.an-sidecard.an-sidecard--on-hero .an-subtitle,
.an-sidecard.an-sidecard--on-hero .au-subtitle,
.an-sidecard.an-sidecard--on-hero .an-price-note,
.an-sidecard.an-sidecard--on-hero .au-price-note,
.an-sidecard.an-sidecard--on-hero .an-price-small-label,
.an-sidecard.an-sidecard--on-hero .au-price-small-label,
.an-sidecard.an-sidecard--on-hero .an-price-small__per,
.an-sidecard.an-sidecard--on-hero .au-price-small__per,
.an-sidecard.an-sidecard--on-hero .an-link {
  color: rgba(255, 255, 255, 0.86);
}

.an-sidecard.an-sidecard--on-hero .an-title,
.an-sidecard.an-sidecard--on-hero .au-title,
.an-sidecard.an-sidecard--on-hero .an-price-big,
.an-sidecard.an-sidecard--on-hero .au-price-big,
.an-sidecard.an-sidecard--on-hero .an-price-small__val {
  color: #fff;
}

.an-sidecard__actions {
  display: flex;
  flex-direction: column;
}

/* gallery section over curve */
.an-gallery-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 28px;
}

/* panorama */
.an-panorama {
  border-radius: var(--an-radius-lg);
  overflow: hidden;
  box-shadow: var(--an-shadow);
  background: #0f1216;
}

.an-panorama iframe,
.an-panorama video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* spec card */
.an-specs-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--an-shadow);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.an-specs-group + .an-specs-group {
  margin-top: 18px;
}

.an-specs-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
  margin: 0 0 16px;
}

.an-specs-title--sm {
  font-size: 14px;
}

.an-specs-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 20px 0;
}

.an-specs-grid {
  display: grid;
  gap: 18px 16px;
}

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

.an-specs-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.an-spec__label {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.58);
  margin-bottom: 4px;
}

.an-spec__value {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
}

/* equipment */
.an-equipment {
  background: transparent;
}

.an-section-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.an-model-title {
  color: var(--Black, #131413);
  font-size: 34px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  word-wrap: break-word;
}

.an-equip-pill {
  background: #fff;
  border: 1px solid var(--an-line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.3;
}

/* availability */
.an-availability {
  position: relative;
  overflow: hidden;
  background: #0f1216;
  color: #fff;
  margin-top: 28px;
  padding: 92px 0;
}


.an-availability__bg,
.an-availability__overlay {
  position: absolute;
  inset: 0;
}

.an-availability__bg{
  background-image: var(--an-availability-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.an-availability__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
}

.an-availability__overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.78) 0%, rgba(10, 12, 16, 0.48) 38%, rgba(10, 12, 16, 0.22) 100%);
}

.an-availability__inner {
  position: relative;
  z-index: 2;
}

.an-availability__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 38px;
  line-height: 1.02;
  margin: 0 0 8px;
}

.an-availability__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.an-mini-offer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  color: #151515;
  border-radius: 10px;
  padding: 18px 16px 16px;
  min-height: 100%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.an-mini-offer__corner {
  position: absolute !important;
  top: 0;
  right: 0;
  width: 180px;
  height: 130px;
  pointer-events: none;
  z-index: 0;
}

.an-mini-offer__corner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #e7ece9 0%, #2f695d 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.an-mini-offer > * {
  position: relative;
  z-index: 1;
}

.an-mini-offer__kicker {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 10px;
}

.an-mini-offer__label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.58);
}

.an-mini-offer__value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.an-mini-offer__price {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

/* colors */
.an-colors-section {
  padding: 32px 0;
}

.an-colors-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: flex-start;
}

.an-colors-side {
  min-width: 0;
  max-width: 420px;
}

.an-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
  margin-bottom: 18px;

}

.an-color-dot {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid #cfd6de;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-block;
  appearance: none;
  -webkit-appearance: none;
  background-clip: padding-box;
  box-shadow: none;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.an-color-dot:hover {
  transform: scale(1.06);
}

.an-color-dot.is-active {
  border-color: #131413;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #131413;
  outline: 2px solid #1c2f6f;
  outline-offset: 3px;
}

.an-color-label {
  min-height: 20px;
  font-size: 20px;
}

.an-color-label .an-color-finish,
.an-color-label strong {
  font-weight: 700 !important;
}

@media (min-width: 992px) {
  .an-colors-block {
    grid-template-columns: minmax(0, 50%) minmax(260px, 420px);
    gap: 72px;
    justify-content: start;
    align-items: start;
  }

  .an-colors-block__media {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    display: block;
  }

  .an-colors-block__media img {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: initial;
  }
}

.an-color-visual img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.an-color-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.an-color-panel__model {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.an-color-panel__price {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.62);
  margin-top: 4px;
}

.an-color-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.an-color-panel__subtitle {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 14px;
}

.an-color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* versions */
.an-versions-section {
  background: #fff;
  padding: 18px 0 48px;
}

.an-version-card {
  border-top: 1px solid #d8dde4;
  padding-top: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}


.an-version-card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.an-version-card__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 22px;
  margin-bottom: 0;
}

.an-version-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #131413;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}


.an-version-card__media {
  aspect-ratio: 16 / 8;
  margin-bottom: 14px;
  border-radius: 14px;
  /* background: #f6f7f9;
  border: 1px solid #e6e9ee; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-version-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e6e9ee;
}

.an-version-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.52);
  font-size: 13px;
  font-weight: 600;
}

.an-version-card__meta {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 12px;
}

.an-version-card__price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}

.an-version-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.an-versions-section .row.d-md-flex {
  align-items: stretch;
}

.an-versions-swiper .swiper-wrapper {
  align-items: stretch;
}

.an-versions-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.an-versions-swiper .an-version-card {
  width: 100%;
}

/* =========================================================
   PROMO
========================================================= */
.an-promo-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.an-promo {
  position: relative;
  overflow: hidden;
  background: #0c1016;
  color: #fff;
  isolation: isolate;
}

.an-promo__bg,
.an-promo__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.an-promo__bg {
  z-index: 0;
  background:
    url("../images/resons-bg.jpg") no-repeat center center,
    linear-gradient(180deg, #080b10 0%, #0d1218 100%);
  background-size: cover;
}
.an-promo__overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 120, 120, 0.10) 0, rgba(255, 120, 120, 0) 14%),
    radial-gradient(circle at 30% 78%, rgba(95, 88, 255, 0.10) 0, rgba(95, 88, 255, 0) 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.10) 0, rgba(255, 255, 255, 0) 10%),
    radial-gradient(circle at 92% 76%, rgba(255, 120, 120, 0.08) 0, rgba(255, 120, 120, 0) 12%),
    linear-gradient(90deg, rgba(7, 10, 15, 0.90) 0%, rgba(7, 10, 15, 0.68) 44%, rgba(7, 10, 15, 0.16) 100%);
}

/* fascia diagonale scura */
.an-promo::before {
  content: "";
  position: absolute;
  top: -130px;
  right: 24%;
  width: 860px;
  height: 440px;
  background: rgba(0, 0, 0, 0.28);
  transform: rotate(28deg);
  transform-origin: center;
  z-index: 1;
  pointer-events: none;
}

.an-promo__inner {
  position: relative;
  z-index: 2;
  padding: 54px 0;
}

.an-promo__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 720px);
  align-items: center;
  gap: 24px;
  min-height: 430px;
}

.an-promo__media {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.an-promo__media img {
  display: block;
  width: 100%;
  max-width: 760px;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: right center;
  margin-left: auto;
  transform: translateX(calc((100vw - 1300px) / 2));
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28));
}

/* desktop medio */
@media (max-width: 1399px) {
  .an-promo__media img {
    transform: translateX(120px);
  }
}

/* laptop / tablet landscape */
@media (max-width: 1199px) {
  .an-promo__media {
    min-height: 390px;
  }

  .an-promo__media img {
    max-width: 560px;
  }
}

@media (max-width: 991px) {
  .an-promo__media {
    min-height: 0;
    height: auto;
    justify-content: flex-end;
    overflow: visible;
  }

  .an-promo__media img {
    width: 100%;
    max-width: 420px;
    max-height: 260px;
    margin-left: auto;
    margin-right: 0;
    object-position: right center;
  }
}

/* mobile stretto */
@media (max-width: 767px) {
  .an-promo__media {
    justify-content: flex-end;
  }

  .an-promo__media img {
    max-width: 100%;
    max-height: 220px;
    margin-left: auto;
    margin-right: 0;
    transform: translateX(48px);
  }
}

.an-promo__copy {
  max-width: 560px;
}

.an-promo__kicker {
  font-size: 12px;
  color: #ff6a6a;
  margin-bottom: 14px;
}

.an-promo__title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 18px;
  color: #fff;
}

.an-promo__text {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.55;
}

.an-promo__cta {
  margin-top: 28px;
}




@media (max-width: 1199px) {
  .an-promo__content {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    min-height: 390px;
  }
}

@media (max-width: 991px) {
  .an-promo__content {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: unset;
  }

  .an-promo__copy {
    max-width: none;
  }

  .an-promo__text {
    max-width: none;
  }

  .an-promo::before {
    display: none;
  }

  .an-promo__overlay {
    background:
      radial-gradient(circle at 14% 18%, rgba(255, 120, 120, 0.10) 0, rgba(255, 120, 120, 0) 14%),
      radial-gradient(circle at 30% 78%, rgba(95, 88, 255, 0.10) 0, rgba(95, 88, 255, 0) 18%),
      linear-gradient(180deg, rgba(7, 10, 15, 0.90) 0%, rgba(7, 10, 15, 0.70) 58%, rgba(7, 10, 15, 0.30) 100%);
  }
}

@media (max-width: 767px) {
  .an-promo__title {
    font-size: 28px;
  }

  .an-promo__inner {
    padding: 34px 0;
  }

}

/* legal */
.an-legal-section {
  background: #fff;
  padding-bottom: 22px;
}

.an-legal {
  background: #fff;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
}

.an-legal p:last-child {
  margin-bottom: 0;
}

/* responsive */
@media (max-width: 1199px) {
  .an-title {
    font-size: 28px;
  }

  .an-price-big {
    font-size: 34px;
  }

  .an-availability__title,
  .an-promo__title {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .an-hero {
    min-height: auto;
  }

  .an-hero__inner {
    min-height: auto;
    justify-content: center;
    padding-top: 34px;
    padding-bottom: 120px;
  }

  .an-sidecard {
    width: 100%;
    max-width: 520px;
  }

  .an-gallery-wrap {
    margin-top: -70px;
  }

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

  .an-color-panel__top {
    flex-direction: column;
  }

  .an-color-panel__actions {
    justify-content: flex-start;
  }

  .an-promo__inner {
    padding: 36px 24px;
  }
}

@media (max-width: 767px) {
  .an-hero__inner {
    padding-bottom: 96px;
  }

  .an-hero__curve {
    bottom: -170px;
    height: 260px;
  }

  .an-sidecard {
    border-radius: 14px;
    padding: 16px;
  }

  .an-sidecard__pricegrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .an-price-small-label,
  .an-price-small,
  .an-link {
    text-align: left;
  }

  .an-title {
    font-size: 24px;
  }

  .an-price-big {
    font-size: 30px;
  }

  .an-section-title {
    font-size: 24px;
  }

  .an-specs-card {
    padding: 18px;
  }

  .an-specs-grid--2,
  .an-specs-grid--3 {
    grid-template-columns: 1fr;
  }

  .an-availability {
    padding: 48px 0 38px;
  }

  .an-availability__title,
  .an-promo__title {
    font-size: 28px;
  }

  .an-promo {
    min-height: 300px;
  }

  .an-promo__inner {
    padding: 30px 18px;
  }
}
.an-colors-side__cta {
  min-width: 220px;
}

/* =========================
   VERSIONI MOBILE SWIPER
========================= */
.an-versions-swiper {
  overflow: hidden;
}

.an-version-card--mobile {
  height: 100%;
}

.an-versions-swiper__nav {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.an-versions-prev,
.an-versions-next {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  position: relative;
}

.an-versions-prev::before,
.an-versions-next::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
}

.an-versions-prev::before {
  transform: rotate(-135deg);
  left: 2px;
}

.an-versions-next::before {
  transform: rotate(45deg);
  right: 2px;
}

.an-versions-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.an-versions-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  background: rgba(0,0,0,.28);
  opacity: 1;
}

.an-versions-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: #111;
}

/* =========================
   MOBILE LAYOUT
========================= */
@media (max-width: 767px) {
  .an-hero__inner {
    display: flex;
    align-items: flex-end;
    min-height: 320px;
  }

  .an-sidecard {
    width: 100%;
    max-width: none;
    margin-top: auto;
  }

  .an-gallery-wrap {
    margin-top: -10px;
  }

  .an-colors-block {
    gap: 16px;
  }

  .an-colors-side__cta {
    width: 100%;
    min-width: 0;
  }

  .an-version-card__media img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
  }

  .an-availability__copy {
    margin-bottom: 8px;
  }

  .an-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
  }

  .an-hero__inner {
    position: static;
  }

  .an-sidecard {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 90px;
    z-index: 3;
    width:90%;
  }
}
