/* The factory scene, cutouts and display type are shared with the SHACMAN showroom. */
.official-home .dealer-range .bd .pic img {
  width: min(100%, 1000px);
  height: auto;
}
.official-home .dealer-range .hd .item:hover { color: #016aae; }
.official-home .dealer-range .bd .more { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .dealer-range .bd [role="tabpanel"].cur .pic { animation: showroom-arrive .36s ease-out; }
  @keyframes showroom-arrive {
    from { opacity: .25; transform: translateX(8px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 991px) {
  .official-home .dealer-range .bd .item .pic { margin: 0 4%; }
  .official-home .dealer-range .bd .item .name { font-size: 18.5vw; top: 0; }
}
@media (max-width: 650px) {
  .official-home .dealer-range { padding: 28px 0 34px; background-position: center top; }
  .official-home .dealer-range .wrap { width: 100%; }
  .official-home .dealer-range .hd {
    display: flex;
    justify-content: center;
    margin: 0 10px;
  }
  .official-home .dealer-range .hd .item {
    flex: 0 1 74px;
    min-height: 44px;
    padding: 0 2px;
    font-size: clamp(12px, 3.1vw, 16px);
    line-height: 1.2;
  }
  .official-home .dealer-range .bd { margin-top: 10px; }
  .official-home .dealer-range .bd .item .pic { display: flex; justify-content: center; margin: 0; }
  .official-home .dealer-range .bd .pic img { width: 122%; max-width: none; flex: none; }
  .official-home .dealer-range .bd .item .name { top: 13%; font-size: 23vw; }
  .official-home .dealer-range .bd .item .more { margin-top: 12px; line-height: 44px; height: 44px; }
}

/* The showroom only uses the eight letters and digits in the model names. */
@font-face {
  font-family: "SHACMAN Series";
  src: url("/assets/factory/home/series-lettering.woff2") format("woff2");
  font-display: swap;
}
.official-home .dealer-range .bd .item .name { font-family: "SHACMAN Series", Arial, sans-serif; }
@media (max-width:750px) {
  .official-home .dealer-range { background-image:url("/assets/factory/home/showroom-small.webp"); }
}
