/* 木屿 H5 · 首页样式（由 index.wxss 忠实移植，rpx ÷ 100 = rem） */

.home-page {
  padding-bottom: calc(1.9rem + env(safe-area-inset-bottom));
}

.home-page .notice-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0.64rem;
  padding: 0 0.28rem;
  color: #797365;
  font-size: 0.19rem;
  letter-spacing: 0.02rem;
}

.home-page .notice-line {
  flex: none;
  width: 0.34rem;
  height: 0.01rem;
  margin: 0 0.16rem;
  background: rgba(36, 38, 31, 0.2);
}

.home-page .notice-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .hero-section {
  padding: 0.1rem 0.26rem 0;
}

.home-page .hero-swiper {
  position: relative;
  height: 5.52rem;
  overflow: hidden;
  border-radius: 0.38rem;
}

.home-page .hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s ease;
  will-change: transform;
}

.home-page .hero-slide {
  flex: 0 0 100%;
  height: 100%;
}

.home-page .hero-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 0.38rem;
}

.home-page .hero-card::after {
  position: absolute;
  right: 0.34rem;
  bottom: 0.34rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.08);
  border-radius: 50%;
  content: "";
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 58%;
  height: 100%;
  padding: 0.44rem 0 0.38rem 0.38rem;
}

.home-page .hero-eyebrow {
  color: rgba(36, 38, 31, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.17rem;
  letter-spacing: 0.03rem;
  line-height: 1.4;
}

.home-page .hero-title span {
  display: block;
}

.home-page .hero-title {
  display: block;
  margin-top: 0.3rem;
  color: #282b23;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.01rem;
  line-height: 1.34;
  white-space: pre-line;
}

.home-page .hero-desc {
  display: block;
  width: 3rem;
  margin-top: 0.18rem;
  color: rgba(36, 38, 31, 0.62);
  font-size: 0.21rem;
  letter-spacing: 0.005rem;
  line-height: 1.7;
}

.home-page .hero-cta {
  display: inline-flex;
  align-items: center;
  height: 0.62rem;
  margin-top: auto;
  padding: 0 0.23rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.12);
  border-radius: 9.99rem;
  background: rgba(255, 252, 246, 0.58);
  color: #30352c;
  font-size: 0.21rem;
  letter-spacing: 0.01rem;
  cursor: pointer;
}

.home-page .hero-cta .icon {
  width: 0.25rem;
  height: 0.25rem;
  margin-left: 0.1rem;
}

.home-page .hero-art {
  position: absolute;
  top: 0.62rem;
  right: 0.34rem;
  z-index: 2;
  width: 2.84rem;
  cursor: pointer;
}

.home-page .hero-arch {
  overflow: hidden;
  width: 2.84rem;
  height: 3.6rem;
  border: 0.01rem solid rgba(255, 252, 246, 0.36);
  border-radius: 1.5rem 1.5rem 0.2rem 0.2rem;
  background: rgba(255, 252, 246, 0.24);
  box-shadow: 0 0.24rem 0.5rem rgba(54, 48, 36, 0.13);
}

.home-page .hero-image {
  width: 100%;
  height: 100%;
}

.home-page .hero-mini-label span {
  display: block;
}

.home-page .hero-mini-label {
  flex-direction: column;
  position: absolute;
  top: 0.34rem;
  left: -0.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.15);
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.82);
  color: rgba(36, 38, 31, 0.68);
  font-size: 0.15rem;
  letter-spacing: 0.01rem;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-7deg);
}

.home-page .hero-number {
  position: absolute;
  right: 0.1rem;
  bottom: -0.34rem;
  color: rgba(36, 38, 31, 0.22);
  font-size: 0.42rem;
  letter-spacing: 0.02rem;
}

.home-page .hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.64rem;
  padding: 0 0.1rem;
}

.home-page .hero-dots {
  display: flex;
  align-items: center;
}

.home-page .hero-dot {
  width: 0.1rem;
  height: 0.1rem;
  margin-right: 0.1rem;
  border-radius: 9.99rem;
  background: rgba(36, 38, 31, 0.18);
  transition: width 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.home-page .hero-dot--active {
  width: 0.34rem;
  background: #20372c;
}

.home-page .hero-progress {
  color: rgba(36, 38, 31, 0.4);
  font-size: 0.18rem;
  letter-spacing: 0.02rem;
}

.home-page .quick-section {
  display: flex;
  align-items: flex-start;
  padding: 0.12rem 0.24rem 0;
}

.home-page .quick-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  cursor: pointer;
}

.home-page .quick-item--hover {
  opacity: 0.74;
}

.home-page .quick-image-wrap {
  position: relative;
  width: 1.22rem;
  height: 1.22rem;
  border: 0.07rem solid rgba(255, 252, 246, 0.7);
  border-radius: 50%;
  box-shadow: 0 0.1rem 0.24rem rgba(55, 49, 37, 0.08);
}

.home-page .quick-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.home-page .quick-arrow {
  position: absolute;
  right: -0.05rem;
  bottom: 0.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.32rem;
  height: 0.32rem;
  border: 0.02rem solid #f7f3ea;
  border-radius: 50%;
  background: #20372c;
  color: #f7f3ea;
}

.home-page .quick-arrow .icon {
  width: 0.16rem;
  height: 0.16rem;
}

.home-page .quick-name {
  margin-top: 0.15rem;
  color: #3d4037;
  font-size: 0.22rem;
  letter-spacing: 0.01rem;
  line-height: 1.3;
}

.home-page .quick-en {
  margin-top: 0.03rem;
  color: #a39c8f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.13rem;
  letter-spacing: 0.01rem;
  line-height: 1.3;
}

.home-page .benefit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.36rem 0.32rem 0;
  padding: 0.22rem 0.08rem;
  border-top: 0.01rem solid rgba(36, 38, 31, 0.09);
  border-bottom: 0.01rem solid rgba(36, 38, 31, 0.09);
}

.home-page .benefit-item {
  display: flex;
  align-items: center;
  color: #6f6a5e;
  font-size: 0.19rem;
  letter-spacing: 0.01rem;
}

.home-page .benefit-item .icon {
  width: 0.27rem;
  height: 0.27rem;
  margin-right: 0.09rem;
  color: #80765f;
}

.home-page .benefit-divider {
  width: 0.01rem;
  height: 0.22rem;
  background: rgba(36, 38, 31, 0.1);
}

.home-page .featured-section {
  margin-top: 0.58rem;
}

.home-page .feature-scroll {
  width: calc(100% + 0.64rem);
  margin-left: -0.32rem;
  white-space: nowrap;
  overflow-x: auto;
}

.home-page .feature-track {
  display: inline-block;
  padding: 0 0.32rem 0.1rem;
}

.home-page .feature-card {
  display: inline-block;
  width: 4.52rem;
  margin-right: 0.22rem;
  vertical-align: top;
  white-space: normal;
  cursor: pointer;
}

.home-page .feature-card:last-child {
  margin-right: 0.32rem;
}

.home-page .feature-media {
  position: relative;
  overflow: hidden;
  width: 4.52rem;
  height: 5.06rem;
  border-radius: 0.3rem;
}

.home-page .feature-image {
  width: 100%;
  height: 100%;
}

.home-page .feature-badge {
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  height: 0.38rem;
  padding: 0 0.15rem;
  border-radius: 9.99rem;
  background: rgba(32, 55, 44, 0.88);
  color: #f6f1e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.16rem;
  letter-spacing: 0.02rem;
  line-height: 0.38rem;
}

.home-page .feature-index {
  position: absolute;
  top: 0.22rem;
  right: 0.24rem;
  color: rgba(255, 252, 246, 0.8);
  font-size: 0.2rem;
  letter-spacing: 0.02rem;
  text-shadow: 0 0.01rem 0.08rem rgba(0, 0, 0, 0.16);
}

.home-page .feature-media .add-btn {
  position: absolute;
  right: 0.2rem;
  bottom: 0.2rem;
  width: 0.58rem;
  height: 0.58rem;
  border: 0.01rem solid rgba(255, 252, 246, 0.25);
}

.home-page .feature-copy {
  padding: 0.18rem 0.02rem 0;
}

.home-page .feature-name-line {
  display: flex;
  align-items: center;
  margin-top: 0.05rem;
}

.home-page .feature-name {
  overflow: hidden;
  max-width: 2.8rem;
  font-size: 0.29rem;
  font-weight: 500;
  letter-spacing: 0.005rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .feature-tag {
  flex: none;
  margin-left: 0.12rem;
  padding: 0.02rem 0.11rem;
  border: 0.01rem solid rgba(36, 38, 31, 0.1);
  border-radius: 9.99rem;
  color: #8a8375;
  font-size: 0.16rem;
  letter-spacing: 0.01rem;
}

.home-page .feature-price {
  display: flex;
  align-items: baseline;
  margin-top: 0.07rem;
}

.home-page .night-wrap {
  padding: 0.58rem 0.24rem 0;
}

.home-page .night-panel {
  position: relative;
  overflow: hidden;
  padding: 0.36rem 0 0.3rem;
  border-radius: 0.4rem;
  background: #20372c;
  color: #f6f1e8;
}

.home-page .night-orbit {
  position: absolute;
  border: 0.01rem solid rgba(246, 241, 232, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.home-page .night-orbit--one {
  top: -1.32rem;
  right: -1.06rem;
  width: 4.3rem;
  height: 4.3rem;
}

.home-page .night-orbit--two {
  top: -0.5rem;
  right: -0.24rem;
  width: 2.66rem;
  height: 2.66rem;
}

.home-page .night-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.34rem;
}

.home-page .night-eyebrow {
  color: #b7a477;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.17rem;
  letter-spacing: 0.04rem;
}

.home-page .countdown {
  display: flex;
  align-items: center;
}

.home-page .countdown-time {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.44rem;
  height: 0.34rem;
  border: 0.01rem solid rgba(246, 241, 232, 0.18);
  border-radius: 0.07rem;
  background: rgba(255, 255, 255, 0.07);
  color: #f1e8d8;
  font-size: 0.18rem;
  letter-spacing: 0.01rem;
}

.home-page .countdown-colon {
  margin: 0 0.03rem;
  color: rgba(246, 241, 232, 0.46);
  font-size: 0.16rem;
}

.home-page .night-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.24rem 0.34rem 0;
}

.home-page .night-title {
  display: block;
  font-size: 0.46rem;
  font-weight: 400;
  letter-spacing: 0.01rem;
  line-height: 1.3;
}

.home-page .night-desc {
  display: block;
  margin-top: 0.1rem;
  color: rgba(246, 241, 232, 0.55);
  font-size: 0.2rem;
  letter-spacing: 0.02rem;
}

.home-page .night-sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.04rem;
  border: 0.01rem solid rgba(246, 241, 232, 0.16);
  border-radius: 50%;
  color: #bfae83;
}

.home-page .night-sparkle .icon {
  width: 0.27rem;
  height: 0.27rem;
}

.home-page .night-scroll {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0.26rem;
  white-space: nowrap;
  overflow-x: auto;
}

.home-page .night-track {
  display: inline-block;
  padding: 0 0.24rem 0 0.34rem;
}

.home-page .night-card {
  display: inline-flex;
  align-items: center;
  width: 3.2rem;
  height: 1.6rem;
  margin-right: 0.16rem;
  padding: 0.12rem;
  border: 0.01rem solid rgba(255, 252, 246, 0.16);
  border-radius: 0.18rem;
  background: rgba(255, 252, 246, 0.96);
  color: #24261f;
  vertical-align: top;
  white-space: normal;
  cursor: pointer;
}

.home-page .night-card:last-child {
  margin-right: 0.34rem;
}

.home-page .night-image {
  flex: none;
  width: 1.24rem;
  height: 1.34rem;
  border-radius: 0.12rem;
}

.home-page .night-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0 0.08rem 0 0.16rem;
}

.home-page .night-name {
  display: -webkit-box;
  overflow: hidden;
  color: #383a32;
  font-size: 0.22rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .night-price {
  margin-top: 0.1rem;
  color: #76563f;
  font-size: 0.23rem;
}

.home-page .more-section {
  margin-top: 0.58rem;
}

.home-page .product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.home-page .product-card {
  width: calc(50% - 0.1rem);
  margin-bottom: 0.36rem;
  cursor: pointer;
}

.home-page .product-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 3.32rem;
  border-radius: 0.26rem;
}

.home-page .product-image {
  width: 100%;
  height: 100%;
}

.home-page .product-badge {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  height: 0.32rem;
  padding: 0 0.12rem;
  border-radius: 9.99rem;
  background: rgba(255, 252, 246, 0.86);
  color: #5d594d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.14rem;
  letter-spacing: 0.015rem;
  line-height: 0.32rem;
}

.home-page .product-media .add-btn {
  position: absolute;
  right: 0.16rem;
  bottom: 0.16rem;
  width: 0.48rem;
  height: 0.48rem;
}

.home-page .product-media .add-btn .icon {
  width: 0.22rem;
  height: 0.22rem;
}

.home-page .product-copy {
  padding: 0.16rem 0.03rem 0;
}

.home-page .product-name {
  display: block;
  overflow: hidden;
  margin-top: 0.04rem;
  color: #30332b;
  font-size: 0.27rem;
  font-weight: 500;
  letter-spacing: 0.005rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-page .product-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 0.07rem;
}

.home-page .product-sold {
  color: #aaa396;
  font-size: 0.17rem;
  letter-spacing: 0.005rem;
}

.home-page .story-section {
  position: relative;
  overflow: hidden;
  height: 4.3rem;
  margin: 0.2rem 0.24rem 0;
  border-radius: 0.36rem;
}

.home-page .story-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-page .story-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(27, 39, 31, 0.73) 0%, rgba(27, 39, 31, 0.3) 62%, rgba(27, 39, 31, 0.06) 100%),
    linear-gradient(0deg, rgba(27, 39, 31, 0.4) 0%, rgba(27, 39, 31, 0) 55%);
}

.home-page .story-copy {
  position: absolute;
  bottom: 0.38rem;
  left: 0.36rem;
  z-index: 2;
}

.home-page .story-eyebrow {
  color: #d5c49a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.16rem;
  letter-spacing: 0.04rem;
}

.home-page .story-title {
  display: block;
  margin-top: 0.14rem;
  color: #faf6ec;
  font-size: 0.48rem;
  font-weight: 400;
  letter-spacing: 0.01rem;
  line-height: 1.36;
}

.home-page .story-title span {
  display: block;
}

.home-page .story-desc {
  display: block;
  margin-top: 0.15rem;
  color: rgba(250, 246, 236, 0.68);
  font-size: 0.19rem;
  letter-spacing: 0.01rem;
  line-height: 1.75;
}

.home-page .story-desc span {
  display: block;
}

.home-page .story-seal span {
  display: block;
}

.home-page .story-seal {
  flex-direction: column;
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.92rem;
  height: 0.92rem;
  border: 0.01rem solid rgba(250, 246, 236, 0.42);
  border-radius: 50%;
  color: rgba(250, 246, 236, 0.82);
  font-size: 0.18rem;
  letter-spacing: 0.02rem;
  line-height: 1.4;
  text-align: center;
  transform: rotate(7deg);
}

.home-page .home-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.68rem 0 0.34rem;
  color: #8f887a;
}

.home-page .footer-mark {
  color: #4b4c42;
  font-size: 0.24rem;
  letter-spacing: 0.05rem;
}

.home-page .footer-line {
  width: 0.26rem;
  height: 0.01rem;
  margin: 0.16rem 0;
  background: rgba(36, 38, 31, 0.22);
}

.home-page .footer-copy {
  font-size: 0.19rem;
  letter-spacing: 0.03rem;
}

.home-page .footer-en {
  margin-top: 0.12rem;
  color: #a39b8d;
  font-size: 0.14rem;
  letter-spacing: 0.02rem;
}
