
/* ===== Homepage Enhanced Styles ===== */
.banner-carousel {
  position: relative; border-radius: 12px; overflow: hidden; height: 320px;
  background: linear-gradient(135deg,#f5f5f5,#ebebeb);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.banner-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s ease;
}
.banner-slide.active { opacity: 1; }
.banner-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.banner-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.65);
  cursor: pointer; transition: width .25s, background .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.banner-dots span.active { width: 24px; border-radius: 4px; background: #fff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 54px; background: rgba(0,0,0,.35); color: #fff;
  border: none; cursor: pointer; font-size: 16px; transition: background .2s;
  backdrop-filter: blur(4px);
}
.banner-arrow:hover { background: rgba(0,0,0,.6); }
.banner-arrow.prev { left: 0; border-radius: 0 8px 8px 0; }
.banner-arrow.next { right: 0; border-radius: 8px 0 0 8px; }

/* Feature strip */
.feature-strip {
  max-width: 1200px; margin: 16px auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.feature-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 8px; font-size: 12.5px; color: #333; text-align: center;
  cursor: pointer; transition: background .15s, transform .15s;
}
.feature-item:hover { background: #fafafa; transform: translateY(-2px); }
.feature-item .f-ic {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  transition: transform .2s;
}
.feature-item:hover .f-ic { transform: scale(1.08) rotate(-4deg); }
.fic-1 { background: linear-gradient(135deg,#f5b041,#e67e22); }
.fic-2 { background: linear-gradient(135deg,#26c6da,#00acc1); }
.fic-3 { background: linear-gradient(135deg,#ffce00,#ff9800); }
.fic-4 { background: linear-gradient(135deg,#66bb6a,#43a047); }
.fic-5 { background: linear-gradient(135deg,#ab47bc,#8e24aa); }
.fic-6 { background: linear-gradient(135deg,#42a5f5,#1e88e5); }
.fic-7 { background: linear-gradient(135deg,#ef5350,#e53935); }
.fic-8 { background: linear-gradient(135deg,#f39c12,#b8561f); }

/* Mall banner section */
.mall-section {
  max-width: 1200px; margin: 20px auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.mall-card {
  background: #fff; border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: box-shadow .25s, transform .25s; position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mall-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.15); transform: translateY(-4px); }
.mall-card .mall-img { width: 100%; aspect-ratio: 2/1; object-fit: cover; transition: transform .4s; }
.mall-card:hover .mall-img { transform: scale(1.06); }
.mall-card .mall-caption { padding: 12px 14px; font-size: 13.5px; color: #333; font-weight: 600; }
.mall-tag {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg,#e67e22,#d35400); color: #fff; font-size: 10px;
  padding: 3px 8px; border-radius: 4px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(230,126,34,.4);
}

/* Section header */
.sec-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid #f1f1f1;
}
.sec-head .title {
  font-size: 16px; color: #333; font-weight: 600; letter-spacing: .3px;
  display: flex; align-items: center; gap: 10px;
}
.sec-head .title::before {
  content: ""; width: 4px; height: 20px; background: linear-gradient(180deg,#f39c12,#e67e22);
  border-radius: 2px;
}
.sec-head .title.red { color: #e67e22; font-size: 20px; }
.sec-head .title.red::before { background: linear-gradient(180deg,#ff5722,#e53935); }
.sec-head .title.red i { color: #ffce00; font-size: 22px; }
.sec-head .see-all { color: #e67e22; font-size: 13px; display: flex; align-items: center; gap: 4px; font-weight: 500; }
.sec-head .see-all:hover { color: #d35400; }
.sec-head .countdown { display: flex; gap: 4px; margin-left: 10px; }
.sec-head .countdown span { background: linear-gradient(135deg,#333,#222); color: #fff; padding: 4px 7px; border-radius: 4px; font-size: 12px; min-width: 28px; text-align: center; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,.2); }

/* Daily deal progress bar */
.fs-progress {
  background: #ffe1d5; height: 16px; border-radius: 8px; margin-top: 6px; overflow: hidden; position: relative;
}
.fs-progress-bar {
  height: 100%; background: linear-gradient(90deg,#f39c12,#e67e22); border-radius: 8px;
}
.fs-progress-text {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; color: #fff; font-weight: 600; text-shadow: 0 1px 1px rgba(0,0,0,.3);
}

/* Daily discover 6 columns */
.products-6 { grid-template-columns: repeat(6, 1fr); }

/* Promo banner */
.promo-banner { max-width: 1200px; margin: 20px auto; padding: 0 16px; }
.promo-banner img { width: 100%; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.1); transition: transform .3s; }
.promo-banner:hover img { transform: scale(1.01); }

/* Load more */
.load-more { max-width: 1200px; margin: 16px auto; padding: 0 16px; text-align: center; }
.load-more .btn {
  padding: 12px 50px; background: #fff; color: #e67e22;
  border: 1px solid #e67e22; font-size: 14px;
}
.load-more .btn:hover { background: #fdf4e8; }

@media (max-width: 900px) {
  .banner-carousel { height: 200px; border-radius: 10px; }
  .feature-strip { grid-template-columns: repeat(4, 1fr); padding: 0 10px; margin: 10px auto; border-radius: 12px; }
  .feature-item { padding: 14px 4px; font-size: 11px; gap: 6px; }
  .feature-item .f-ic { width: 44px; height: 44px; font-size: 18px; }
  .mall-section { grid-template-columns: repeat(2, 1fr); margin: 12px 10px; padding: 0; gap: 10px; }
  .mall-card { border-radius: 10px; }
  .products-6 { grid-template-columns: repeat(2, 1fr); }
  .sec-head { padding: 14px 14px; flex-wrap: wrap; gap: 8px; }
  .sec-head .title { font-size: 14px; }
  .sec-head .title.red { font-size: 16px; }
  .sec-head .title::before { height: 16px; }
  .banner-arrow { display: none; }
  .promo-banner { padding: 0 10px; margin: 12px auto; }
  .promo-banner img { border-radius: 10px; }
}
