/* 全局重置 */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
html,body{
  width: 100%;
  overflow-x: hidden;
  color: #111;
  background: #fff;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
  color: inherit;
}
img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
button{
  border: none;
  cursor: pointer;
}
/* 滚动条隐藏 */
.scroll-hide::-webkit-scrollbar{
  display: none;
}
.scroll-hide{
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 通用工具类 */
.container{
  width: 94%;
  max-width: 1440px;
  margin: 0 auto;
}
.text-serif{
  font-family: 'Times New Roman', serif;
}
.text-center{
  text-align: center;
}
.mb-4{margin-bottom: 1rem;}
.mb-6{margin-bottom: 1.5rem;}
.mb-10{margin-bottom: 2.5rem;}
.py-12{padding: 3rem 0;}
.py-16{padding: 4rem 0;}
.px-4{padding: 0 1rem;}
.px-8{padding: 0 2rem;}

/* 顶部通知条 */
.top-notice{
  width: 100%;
  padding: 8px 0;
  background: #eee;
  text-align: center;
  font-size: 14px;
}

/* 导航栏 */
.header{
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nav-top{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2%;
  gap: 10px;
}
.nav-brand-box{
  border: 1px solid #000;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}
.nav-search-area{
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-input{
  border: 1px solid #aaa;
  padding: 6px 8px 6px 28px;
  position: relative;
}
.search-wrap{
  position: relative;
}
.search-wrap i{
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.logo-main{
  font-size: 32px;
  text-align: center;
  font-family: 'Times New Roman', serif;
}
.nav-right-group{
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.bag-icon{
  position: relative;
}
.bag-count{
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 二级导航菜单 */
.nav-menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding-bottom: 12px;
  font-size: 14px;
}
.nav-item{
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 首屏足球横幅 */
.banner-charme{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.banner-left-img{
  background:url('./images/banner_football.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.charme-text-vert{
  position: absolute;
  left: 0;
  top: 0;
  font-size: 120px;
  font-weight: 900;
  opacity: 0.8;
  line-height: 0.8;
  transform: rotate(-10deg);
}
.banner-right-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  gap: 32px;
}
.banner-right-text h2{
  font-size: 48px;
}
.banner-btn{
  width: fit-content;
  padding: 14px 40px;
  background: #a63830;
  color: #fff;
  font-size: 16px;
}

/* 商品分类板块 戒指项链手镯耳饰 */
.category-wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-item{
  cursor: pointer;
}
.category-img{
  height: 260px;
  margin-bottom: 12px;
  overflow: hidden;
}
.category-name{
  text-align: center;
  font-weight: 500;
}

/* 通用大横幅模块 */
.banner-large{
  width: 100%;
  height: 60vh;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.banner-chinese-gift-1{
  background: linear-gradient(90deg, #682222, #f9b979);
}
.banner-first-gold{
  background: linear-gradient(135deg, #723d23, #2d170b);
}
.banner-gift-two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 60vh;
  border: 2px solid #422c18;
  overflow: hidden;
}
.banner-text-side{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  gap: 24px;
}

/* 横向滚动商品容器 */
.slide-goods-wrap{
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.goods-card{
  min-width: 200px;
  text-align: center;
  cursor: pointer;
}
.goods-img{
  height: 190px;
  margin-bottom: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.tag-new{
  font-size: 10px;
  border: 1px solid #ccc;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 8px;
  color: #666;
}
.goods-name{
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.goods-price{
  color: #925a1e;
  font-size: 14px;
}

/* 双列钻石婚嫁板块 */
.two-col-block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.two-col-card .card-img{
  height: 260px;
  margin-bottom: 20px;
  overflow: hidden;
}
.two-col-card h4{
  font-size: 24px;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.two-col-card p{
  max-width: 520px;
  margin: 0 auto;
  font-size: 14px;
  color: #555;
  text-align: center;
  line-height: 1.6;
}

/* 中式婚嫁黄金两栏横幅 */
.wedding-gold-two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 50vh;
}
.wedding-text-block{
  background: #fcf0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  gap: 20px;
}
.wedding-text-block h4{
  font-size: 24px;
  color: #b82020;
}
.wedding-text-block p{
  color: #333;
  line-height: 1.6;
}
.btn-red{
  background: #b82020;
  color: #fff;
  padding: 14px 40px;
  width: fit-content;
}

/* 底部订阅 */
.footer-subscribe{
  background: #f6f6f6;
  padding: 48px 0;
  margin-top: 32px;
}
.subscribe-input-wrap{
  display: flex;
  gap: 8px;
  max-width: 600px;
  margin-bottom: 12px;
}
.subscribe-input{
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
}
.btn-black{
  background: #000;
  color: #fff;
  padding: 0 20px;
}
.footer-link-group{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
}

/* 悬浮按钮 */
.float-btn-wrap{
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}
.float-btn{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-top{
  display: none;
}

/* 响应式适配 - 平板 */
@media screen and (max-width: 992px) {
  .banner-charme{
    grid-template-columns: 1fr;
  }
  .category-wrap{
    grid-template-columns: repeat(2,1fr);
  }
  .two-col-block{
    grid-template-columns: 1fr;
  }
  .wedding-gold-two-col{
    grid-template-columns: 1fr;
  }
  .banner-gift-two-col{
    grid-template-columns: 1fr;
  }
  .nav-menu{
    gap: 16px;
    font-size: 13px;
  }
  .banner-right-text h2{
    font-size: 36px;
  }
}

/* 响应式适配 - 手机 */
@media screen and (max-width: 576px) {
  .nav-top{
    justify-content: center;
  }
  .logo-main{
    order: -1;
    width: 100%;
    margin: 8px 0;
  }
  .nav-right-group{
    gap: 10px;
  }
  .nav-menu{
    gap: 8px;
    flex-wrap: wrap;
  }
  .banner-right-text h2{
    font-size: 28px;
  }
  .category-img{
    height: 200px;
  }
  .subscribe-input-wrap{
    flex-direction: column;
  }
  .charme-text-vert{
    font-size: 60px;
  }
}