/* Match the original centered cover crop and keep the text above the image. */
.banner:not(.slick-initialized) > .item:not(:first-child) {
  display: none;
}

.banner .home-banner-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img[data-home-src] {
  visibility: hidden;
}

.home-product-intro p:empty {
  display: none;
}

.home-product-tabs li.on a {
  color: #f79646;
}

.home-product-tabs li.on a:after {
  display: block;
}

.home-product-empty {
  padding: 20px 0;
}

@media (max-width: 767px) {
  .row-a1 .m-txt01 .txt {
    margin-bottom: 10px;
  }

  .row-a1 .home-product-intro h3 {
    margin-bottom: 0;
  }

  .row-a1 .home-product-intro p:not(:empty) {
    margin-top: 6px;
  }

  .home-product-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .home-product-tabs li {
    display: grid;
    width: auto;
  }

  .home-product-tabs li a {
    display: grid;
    place-items: center;
    height: auto;
    min-height: 48px;
    padding: 4px;
    box-sizing: border-box;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .row-a1 .m_chanpin01 {
    padding-top: 12px;
  }
}
