/* Local homepage runtime styles. The original Owl Carousel assets were not
   included in the static export, so these rules provide the same visible
   states without depending on the missing /resources directory. */

.ibanner .owl-carousel { height: 100%; position: relative; }
.ibanner .owl-carousel .item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.ibanner .owl-carousel .item.is-active { opacity: 1; visibility: visible; }
.ibanner .owl-carousel .item > a { display: block; height: 100%; }
.ibanner .owl-carousel .item img,
.ibanner .owl-carousel .item video {
  position: absolute;
  left: 50%;
  width: 1920px;
  height: 660px;
  max-width: none;
  margin-left: -960px;
  object-fit: cover;
}
.ibanner img[data-src] { opacity: 1; filter: alpha(opacity=100); }
.iban_dots { display: flex; gap: 9px; }
.iban_dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.iban_dots button.is-active { background: #d70d25; }

.ipart02 .content .case-slide { display: none; opacity: 0; visibility: hidden; }
.ipart02 .content .case-slide.is-active { display: block; opacity: 1; visibility: visible; }
.ipart02 .case-controls { display: flex; gap: 3px; margin-top: 22px; position: relative; z-index: 3; }
.ipart02 .case-controls button,
.ipart03 .product-controls button {
  width: 43px;
  height: 43px;
  border: 0;
  background: #013082;
  color: #fff;
  font: 22px/43px Arial, sans-serif;
  cursor: pointer;
  transition: background .25s ease;
}
.ipart02 .case-controls button:hover,
.ipart03 .product-controls button:hover { background: #d70d25; }

.ipart03 .local-product-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.ipart03 .local-product-carousel .item { display: none; }
.ipart03 .local-product-carousel .item.is-visible { display: block; }
.ipart03 .product-controls button { position: absolute; bottom: 58px; z-index: 10; }
.ipart03 .product-controls .prev { left: -56px; }
.ipart03 .product-controls .next { right: -56px; }

.header .nav_li.is-open .setNav { display: block; }
.header .head_tool .dinggou { display: none; }
.mobile-shade { display: none; }

/* Keep the desktop navigation at the same vertical position when the header
   changes to its scrolled (fixed) appearance. */
@media (min-width: 761px) {
  .header.fixed { padding-top: 20px; }
  .header.fixed .logo { margin-top: 0; }
  .header .nav .nav_li .nav_a { position: relative; z-index: 14; }
  .header .nav .nav_li .setNav { top: 90px; }
}

@media (max-width: 1240px) {
  .ibanner .owl-carousel .item img,
  .ibanner .owl-carousel .item video { width: 1200px; margin-left: -600px; }
  .ipart03 .product-controls .prev { left: 0; }
  .ipart03 .product-controls .next { right: 0; }
}

@media (max-width: 760px) {
  .ibanner .owl-carousel .item { position: absolute; }
  .ibanner .owl-carousel .item img,
  .ibanner .owl-carousel .item video {
    position: static;
    width: 100%;
    height: auto;
    margin-left: 0;
  }
  .ibanner .owl-carousel .item video { display: none; }
  .ibanner { aspect-ratio: 3 / 2; }
  .ipart03 .local-product-carousel { grid-template-columns: 1fr; }
  .ipart03 .product-controls button { bottom: 48px; }
  .ipart02 .case-controls { margin-top: 12px; }
  .nav.mobile-open { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .ibanner .owl-carousel .item { transition: none; }
}
