/* AeroBuddy product pages: nested nav + product layout */

.navbar-nav .dropdown-menu .dropdown-submenu {
  position: relative;
}

.navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: 0;
  display: none;
}

.navbar-nav .dropdown-menu .dropdown-submenu:hover > .dropdown-menu,
.navbar-nav .dropdown-menu .dropdown-submenu.open > .dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu .dropdown-submenu > a:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  float: right;
  margin-left: 12px;
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu .dropdown-submenu > .dropdown-menu {
    position: static;
    left: auto;
    margin-left: 12px;
    box-shadow: none;
    border: 0;
  }

  .navbar-nav .dropdown-menu .dropdown-submenu > a:after {
    content: none;
  }
}

/* Product page */
.ab-product-page {
  --ab-ink: #0e2b3d;
  --ab-accent: #104cba;
  --ab-soft: #f3f7fd;
  --ab-muted: #5a6b78;
  color: var(--ab-ink);
}

.ab-product-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #061018;
  color: #fff;
}

.ab-product-hero__media {
  position: absolute;
  inset: 0;
}

.ab-product-hero__media img,
.ab-product-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.ab-product-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 16, 24, 0.15) 0%,
    rgba(6, 16, 24, 0.35) 45%,
    rgba(6, 16, 24, 0.92) 100%
  );
}

.ab-product-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 72px;
}

.ab-product-hero__brand {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.ab-product-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
  line-height: 1.1;
}

.ab-product-hero p {
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.ab-product-hero .btn {
  margin-right: 12px;
  margin-bottom: 8px;
}

.ab-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(16, 76, 186, 0.9);
  color: #fff;
  margin-bottom: 18px;
}

.ab-badge.soon {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.ab-specs {
  background: #fff;
  border-bottom: 1px solid #e6edf5;
  padding: 36px 0;
}

.ab-specs .row > [class*="col-"] {
  text-align: center;
  padding: 12px 16px;
}

.ab-specs strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ab-ink);
  margin-bottom: 4px;
}

.ab-specs span {
  color: var(--ab-muted);
  font-size: 0.92rem;
}

.ab-section {
  padding: 90px 0;
}

.ab-section.soft {
  background: var(--ab-soft);
}

.ab-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--ab-ink);
}

.ab-section .lead {
  max-width: 40rem;
  color: var(--ab-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.ab-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.ab-feature {
  padding: 8px 4px;
}

.ab-feature h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ab-ink);
}

.ab-feature p {
  color: var(--ab-muted);
  line-height: 1.65;
  margin: 0;
}

.ab-feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f0fe;
  color: var(--ab-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.ab-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.ab-split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.ab-split__media {
  border-radius: 0;
  overflow: hidden;
  background: #0b1620;
  min-height: 420px;
}

.ab-split__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.ab-split__media.ab-media-gif {
  min-height: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-split__media.ab-media-gif img {
  width: auto;
  max-width: 220px;
  min-height: 0;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.ab-credit {
  font-size: 0.85rem;
  color: var(--ab-muted);
  line-height: 1.55;
  max-width: 40rem;
  margin: 0;
}

.ab-badge.wishlist {
  background: rgba(16, 76, 186, 0.9);
}

.ab-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ab-lineup a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease;
  text-align: center;
}

.ab-lineup a:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.ab-lineup__visual {
  width: 55%;
  max-width: 220px;
  margin: 0 auto 18px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  background: #f3f7fd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-lineup__visual img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.ab-lineup__visual .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #0e2b3d 0%, #163a52 55%, #104cba 140%);
}

.ab-lineup h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.ab-lineup p {
  color: var(--ab-muted);
  margin: 0;
  line-height: 1.55;
}

.ab-lineup .tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ab-accent);
}

.ab-cta-band {
  background: linear-gradient(120deg, #0e2b3d 0%, #104cba 100%);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.ab-cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
}

.ab-cta-band p {
  max-width: 32rem;
  margin: 0 auto 28px;
  opacity: 0.9;
}

.ab-coming-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #061018 0%, #0e2b3d 55%, #123a58 100%);
  color: #fff;
  text-align: center;
  padding: 140px 0 100px;
}

.ab-coming-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 14px;
}

.ab-coming-hero p {
  max-width: 34rem;
  margin: 0 auto 28px;
  opacity: 0.88;
  line-height: 1.7;
}

.ab-home-robotics {
  padding: 90px 0;
  background: #fff;
}

.ab-home-robotics .site-heading h5 {
  color: var(--ab-accent);
}

.ab-home-robotics .robotics-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.ab-home-robotics .robotics-card:hover {
  transform: translateY(-6px);
  text-decoration: none;
  color: inherit;
}

.ab-home-robotics .robotics-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0b1620;
  margin-bottom: 18px;
}

.ab-home-robotics .robotics-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-home-robotics .robotics-card__media .soon-panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #0e2b3d, #104cba);
}

.ab-home-robotics h4 {
  margin-bottom: 8px;
}

.ab-home-robotics p {
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .ab-split,
  .ab-split.reverse,
  .ab-lineup {
    grid-template-columns: 1fr;
  }

  .ab-product-hero {
    min-height: 78vh;
  }

  .ab-split__media:not(.ab-media-gif),
  .ab-split__media:not(.ab-media-gif) img {
    min-height: 320px;
  }

  .ab-split__media.ab-media-gif img {
    max-width: 180px;
    max-height: 320px;
  }
}
