/* index.css - 首页特定样式 */

/* Banner样式 */
.banner {
  width: 100%;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.banner .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner .swiper-slide img {
  width: 95%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* 自定义导航按钮样式 */
.banner .swiper-button-next,
.banner .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #333;
}

.banner .swiper-button-next:after,
.banner .swiper-button-prev:after {
  font-size: 20px;
}

.banner .swiper-button-next:hover,
.banner .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* 自定义分页器样式 */
.banner .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.banner .swiper-pagination-bullet-active {
  background: #fff;
}

/* Banner文字样式 */
.banner_text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  z-index: 2;
  width: 80%;
  max-width: 600px;
}
.banner_text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.banner_text h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner_text p {
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.banner_text button {
  background: #59b9ff;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.banner_text button:hover {
  background: #4aa8ee;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.classify_part {
  position: relative;
}

.hover_show:hover {
  z-index: 999;
}

.classify_part .cat_part_item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  border-radius: 15px;
  width: 100%;
  padding: 20px;
}
.classify_part .card-title {
  color: #fff;
  font-size: 38px;
  margin: 0;
}

.cat_part_item .card-text {
  font-size: 16px;
  color: #fff;
}

.cat_part_item .p_links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.cat_part_item .p_links div {
  text-align: center;
}

.cat_part_item .p_links a {
  display: inline-block;
  padding: 4px 8px;
  background: #f5f5f5;
  color: #000;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.cat_part_item .p_links a:hover {
  background: #59b9ff;
  color: #fff;
  transform: translateY(-2px);
}

.class_text {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin: 0;
}
/*.goods_recommend img {*/
/*  width: 27%;*/

/*}*/

.goods_cat_item {
  padding: 6px 12px;
  border: 1px solid #d8d8d8;
  color: #d8d8d8;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
}
.goods_cat_item.active {
  border: 1px solid #000;
  color: #000;
}

/* 图标网格 */
.icon-grid {
  padding:80px 8%  40px;
}

.icon-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.icon-item {
  text-align: center;
  flex: 1;
}

.icon-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

/* 商品推荐部分 */
.goods_recommend {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 8%;
}

.goods_recommend > div {
  display: flex;
  gap: 20px;
}

/* 页脚样式 */
.footer-container {
  background-image: url(/seele/images/footer.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  color: #fff;
  padding: 260px 0 0 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
}

.footer-section {
  flex:1 1 auto;
}

.footer-qr-section {
  flex:1 1 auto;
}

.footer-section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.copyright {
  text-align: center;
  margin-top: 50px;
}