.index-header {
  background-image: url('/resource/images/header_bg-d798a9918ba17daad31a636f209e61e8.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.index-search {
  background-image: url('/resource/images/select_bg-fc8124a37d9c554b376d99d157df0f5d.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.index-search-input.form-control {
  --bs-form-control-bg: rgba(48, 48, 48, 0.25);
  border-radius: 30px;
}
.index-search-input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.index-search-table .table {
  --bs-table-color: #fff;
  --bs-table-border-color: transparent;
  margin-bottom: 60px;
}
.index-join-address::placeholder {
  color: #333333;
  opacity: 0.3;
}
.index .arrow {
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border: 10px solid transparent;
}
.index .arrow-left {
  border-right-color: #fff;
}
.index .arrow-right {
  border-left-color: #fff;
}
.index .grid-container {
  display: grid;
  grid-template-areas: 'left left left center-top center-top center-top right-top right-top right-top' 'left left left center-bottom center-bottom center-bottom right-bottom right-bottom right-bottom';
  grid-gap: 10px;
}
@media screen and (max-width: 768px) {
  .index .grid-container {
    grid-template-areas: 'left left center-top center-top' 'left left center-bottom center-bottom ' 'right-top right-top right-bottom right-bottom';
  }
}
@media screen and (max-width: 768px) {
  .index .btn {
    --bs-btn-padding-x: 10px;
    --bs-btn-padding-y: 5px;
    --bs-btn-border-radius: 4px;
    --bs-btn-font-size: 12px;
  }
}
.index .grid-left {
  grid-area: left;
}
.index .grid-center-top {
  grid-area: center-top;
}
.index .grid-right-top {
  grid-area: right-top;
}
.index .grid-center-bottom {
  grid-area: center-bottom;
}
.index .grid-right-bottom {
  grid-area: right-bottom;
}
.index .brand-card-title {
  font-size: 18px;
  font-weight: bold;
}
.index .product-card-title {
  font-size: 16px;
}
@media screen and (max-width: 1565px) {
  .index .brand-card-title {
    font-size: 14px;
  }
  .index .product-card-title {
    font-size: 14px;
  }
}

/* Banner 轮播相关样式 */
.banner-container {
  width: 100%;
  height: 140px;
  overflow: hidden;
  position: relative;
}

.banner-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.banner-slide.active,
.banner-slide.op-100 {
  opacity: 1;
  pointer-events: auto;
}

/* 非当前显示的 slide 透明但仍覆盖在同位置，需禁掉指针事件
   否则点击会被最上层的透明 slide 吞掉，导致 <a> 点不响应 */
.banner-slide.op-0 {
  opacity: 0;
  pointer-events: none;
}

.transition-opacity {
  transition: opacity 0.5s ease-in-out;
}

.duration-500-ease-in-out {
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;
}

.banner-slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.banner-slide a:hover {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
  .banner-container {
    display: none;
  }
}

