/* Additive accessibility and static-mode rules; original design declarations remain authoritative. */
[hidden] {
  display: none !important;
}

body:not(.motion-ready) .reveal {
  opacity: 1;
  transform: none;
}

.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo-notice {
  margin: 0;
  padding: 14px 24px;
  text-align: center;
  background: #f5f5f7;
  font-size: 12px;
  line-height: 1.8;
}

.missing-video {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.missing-video > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-note {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(25, 25, 25, 0.7333333333);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
}

.ambient-stage > .missing-video {
  position: absolute;
  inset: 0;
}

#youtube-film > img {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
}

.spec-data-rows dd {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid #1465d7;
  outline-offset: 4px;
}

main {
  overflow-x: clip;
}

@media (max-width: 760px) {
  .breadcrumbs {
    padding: 24px;
  }
  .demo-notice {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hinode adjustment: keep native-style selects readable while moving the arrow away from the edge. */
select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25l5-5' fill='none' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
}

/* Anchor positions: common html scroll-padding already reserves the global header.
   Keep only the additional sticky-navigation allowance here so offsets are not double-counted. */
.spec-book-group { scroll-margin-top: 72px !important; }
.club-services,
.club-contact,
.club-how,
.club-pricing,
.club-faq { scroll-margin-top: 0 !important; }

.club-faq summary { cursor: pointer; }
.help-steps + .actions { margin-top: 36px; }

@media (max-width: 760px) {
  .spec-book-group { scroll-margin-top: 60px !important; }
  select:not([multiple]) {
    padding-right: 42px !important;
    background-position: right 14px center !important;
  }
}
/* Product card title spacing: keep brand and model visually separated. */
.product-card .brand-name + .model-name {
  margin-left: 0.22em;
}

/* =========================================================
   Moto gesture banner / video modal
   ========================================================= */

.moto-gesture {
  padding: 40px max(24px, 6vw) 20px;
}

.moto-gesture__inner {
  max-width: 1260px;
  margin: 0 auto;
}

.moto-gesture__banner {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.moto-gesture__banner picture,
.moto-gesture__banner img {
  display: block;
  width: 100%;
}

.moto-gesture__banner img {
  height: auto;
  transition: opacity 0.25s ease;
}

.moto-gesture__banner:hover img {
  opacity: 0.85;
}


/* modal */

.moto-gesture-modal {
  width: min(1000px, calc(100% - 40px));
  max-width: 1000px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #000;
  overflow: visible;
}

.moto-gesture-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.moto-gesture-modal__movie {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
}

.moto-gesture-modal__movie iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.moto-gesture-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 700px) {
  .moto-gesture {
    padding: 28px 22px 14px;
  }

  .moto-gesture-modal {
    width: calc(100% - 24px);
    border-radius: 14px;
  }

  .moto-gesture-modal__movie {
    border-radius: 14px;
  }
}

/* =========================================================
   Display support CTA
   ========================================================= */

.display-support-link {
  display: flex;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 80px;
}

.display-support-link__button {
  width: min(100%, 460px);
  min-height: 54px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 700px) {
  .display-support-link {
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 64px;
  }

  .display-support-link__button {
    width: 100%;
  }
}
