.gw-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071521;
  color: #fcfaf7;
}

.gw-carousel__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.gw-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 700ms ease;
}

.gw-carousel__slide.is-active {
  opacity: 1;
}

.gw-carousel__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.gw-carousel__edge {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 7%;
  min-width: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gw-carousel__edge:hover,
.gw-carousel__edge:focus-visible {
  background: rgb(7 21 33 / 12%);
}

.gw-carousel__edge--previous { left: 0; }
.gw-carousel__edge--next { right: 0; }

.gw-carousel__dots {
  position: absolute;
  z-index: 4;
  bottom: 10.6%;
  left: 13.8%;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.15vw, 22px);
}

.gw-carousel__dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0;
}

.gw-carousel__dot.is-active {
  background: transparent;
}

.gw-carousel__pause {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(252 250 247 / 28%);
  background: rgb(7 21 33 / 72%);
  color: #fcfaf7;
  cursor: pointer;
}

.gw-carousel__mobile-copy { display: none; }

@media (max-width: 639px) {
  .gw-carousel__link,
  .gw-carousel__dots { display: none; }

  .gw-carousel__mobile-copy {
    display: block;
    padding: 20px 20px 24px;
    border-top: 1px solid rgb(252 250 247 / 10%);
  }

  .gw-carousel__mobile-title {
    margin: 0;
    color: #fcfaf7;
    font-family: "Arial Narrow", "Segoe UI", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }

  .gw-carousel__mobile-description {
    max-width: 520px;
    margin: 10px 0 0;
    color: rgb(252 250 247 / 72%);
    font-size: 16px;
    line-height: 1.55;
  }

  .gw-carousel__mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
  }

  .gw-carousel__mobile-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 18px;
    background: #d4531b;
    color: #fcfaf7;
    font-family: Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .gw-carousel__mobile-dots {
    display: flex;
    gap: 12px;
  }

  .gw-carousel__mobile-dots .gw-carousel__dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgb(252 250 247 / 70%);
    background: transparent;
    opacity: 1;
  }

  .gw-carousel__mobile-dots .gw-carousel__dot.is-active {
    border-color: #d4531b;
    background: #d4531b;
  }

  .gw-carousel__pause {
    right: 8px;
    bottom: auto;
    top: 8px;
  }
}

.gw-product-banner {
  background-image:
    linear-gradient(90deg, rgb(7 21 33 / 96%) 0%, rgb(7 21 33 / 82%) 45%, rgb(7 21 33 / 34%) 100%),
    linear-gradient(rgb(7 21 33 / 22%), rgb(7 21 33 / 22%)),
    var(--gw-product-banner-image) !important;
  background-position: center !important;
  background-size: cover !important;
}

.gw-product-banner > [class*="bg-tech-grid-dark"] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .gw-carousel__slide { transition: none; }
}
