body.tea-home-active #app {
  display: none !important;
}

.xj-customer-service {
  position: fixed;
  right: 0.85rem;
  bottom: calc(4.6rem + env(safe-area-inset-bottom));
  z-index: 10020;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.xj-customer-service__button {
  width: 3.45rem;
  height: 3.45rem;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2f6b46, #153d2a);
  box-shadow: 0 0.55rem 1.35rem rgba(22, 62, 42, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.xj-customer-service__icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.xj-customer-service__mask {
  position: fixed;
  inset: 0;
  z-index: 10021;
  display: none;
  background: rgba(13, 24, 18, 0.48);
}

.xj-customer-service__panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10022;
  width: min(18.5rem, calc(100vw - 2.4rem));
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0;
  pointer-events: none;
  border-radius: 1.25rem;
  padding: 1.25rem 1.15rem 1rem;
  background: linear-gradient(180deg, #fffaf0, #f7efe2);
  color: #183927;
  text-align: center;
  box-shadow: 0 1.2rem 3rem rgba(20, 42, 29, 0.32);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.xj-customer-service.is-open .xj-customer-service__mask {
  display: block;
}

.xj-customer-service.is-open .xj-customer-service__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.xj-customer-service__close {
  position: absolute;
  right: 0.72rem;
  top: 0.62rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 57, 39, 0.08);
  color: #244832;
  font-size: 1.25rem;
  line-height: 1.8rem;
}

.xj-customer-service__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.xj-customer-service__desc {
  margin-top: 0.35rem;
  color: rgba(24, 57, 39, 0.7);
  font-size: 0.78rem;
}

.xj-customer-service__qr-wrap {
  width: 12.2rem;
  height: 12.2rem;
  margin: 1rem auto 0.7rem;
  padding: 0.45rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid rgba(47, 107, 70, 0.14);
  box-shadow: inset 0 0 0 0.2rem rgba(47, 107, 70, 0.04);
}

.xj-customer-service__qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.xj-customer-service__tips {
  color: rgba(24, 57, 39, 0.56);
  font-size: 0.68rem;
  line-height: 1.45;
}

.tea-home-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  background:
    radial-gradient(circle at top right, rgba(120, 92, 42, 0.16), transparent 32%),
    radial-gradient(circle at left 18% top 12%, rgba(57, 102, 69, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f3ead9 42%, #efe4d2 100%);
  color: #1f3528;
  font-family: "Source Han Serif SC", "Noto Serif SC", "PingFang SC", serif;
}

.tea-home-shell {
  min-height: 100%;
  padding: 0 0 6rem;
}

.tea-home-top {
  padding: 1rem 1rem 0.75rem;
}

.tea-home-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tea-home-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tea-home-brand-logo img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 53, 40, 0.16);
}

.tea-home-brand-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tea-home-brand-copy span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.72rem;
  color: rgba(31, 53, 40, 0.72);
}

.tea-home-pill {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(71, 103, 68, 0.14);
  color: #31513d;
  font-size: 0.72rem;
  backdrop-filter: blur(12px);
}

.tea-home-hero {
  margin: 0.6rem 1rem 0;
  padding: 1.4rem 1.25rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(27, 61, 40, 0.96), rgba(68, 98, 56, 0.9)),
    linear-gradient(180deg, #264b38, #45623a);
  color: #fff7eb;
  box-shadow: 0 22px 44px rgba(41, 68, 44, 0.24);
  position: relative;
  overflow: hidden;
}

.tea-home-hero::before,
.tea-home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(244, 220, 174, 0.14);
}

.tea-home-hero::before {
  width: 12rem;
  height: 12rem;
  right: -3rem;
  top: -4rem;
}

.tea-home-hero::after {
  width: 8rem;
  height: 8rem;
  right: 1.5rem;
  bottom: -2.4rem;
}

.tea-home-hero-kicker {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 247, 235, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.tea-home-hero h1 {
  margin: 0.8rem 0 0;
  font-size: 1.85rem;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.tea-home-hero p {
  margin: 0.7rem 0 0;
  max-width: 14rem;
  color: rgba(255, 247, 235, 0.8);
  font-size: 0.82rem;
  line-height: 1.7;
}

.tea-home-hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tea-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.2rem;
  height: 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.tea-home-button-primary {
  background: linear-gradient(135deg, #f4d8a6, #e6bb79);
  color: #3c2a10;
}

.tea-home-button-secondary {
  border: 1px solid rgba(255, 247, 235, 0.2);
  color: #fff7eb;
  background: rgba(255, 255, 255, 0.08);
}

.tea-home-cards,
.tea-home-section {
  margin: 1rem;
}

.tea-home-grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.tea-home-category {
  padding: 0.95rem 0.4rem 0.8rem;
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(87, 120, 76, 0.1);
  color: #244230;
  box-shadow: 0 10px 24px rgba(117, 101, 73, 0.08);
}

.tea-home-category-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.55rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #36563f, #55724b);
  color: #f7eedc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.tea-home-category strong {
  display: block;
  font-size: 0.8rem;
}

.tea-home-category span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.66rem;
  color: rgba(36, 66, 48, 0.66);
}

.tea-home-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.8rem;
}

.tea-home-feature-large,
.tea-home-feature-stack > div {
  border-radius: 1.2rem;
  padding: 1rem;
  color: #fff9f0;
  position: relative;
  overflow: hidden;
  min-height: 8rem;
}

.tea-home-feature-large {
  background: linear-gradient(145deg, #5d3f22, #98754f);
}

.tea-home-feature-stack {
  display: grid;
  gap: 0.8rem;
}

.tea-home-feature-stack > div:nth-child(1) {
  background: linear-gradient(145deg, #31523d, #476d52);
}

.tea-home-feature-stack > div:nth-child(2) {
  background: linear-gradient(145deg, #7a5d31, #b58c56);
}

.tea-home-feature-large strong,
.tea-home-feature-stack strong {
  display: block;
  font-size: 1rem;
}

.tea-home-feature-large span,
.tea-home-feature-stack span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  opacity: 0.82;
  line-height: 1.6;
}

.tea-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.tea-home-section-head h2 {
  margin: 0;
  font-size: 1.06rem;
  color: #27402e;
}

.tea-home-section-head span {
  font-size: 0.72rem;
  color: rgba(39, 64, 46, 0.62);
}

.tea-home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.tea-home-product {
  display: block;
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: #233a2d;
  box-shadow: 0 16px 28px rgba(92, 83, 61, 0.1);
}

.tea-home-product-cover {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eee4d3, #f9f5ee);
}

.tea-home-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tea-home-product-body {
  padding: 0.85rem 0.82rem 0.95rem;
}

.tea-home-product-tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(54, 86, 63, 0.1);
  color: #36563f;
  font-size: 0.64rem;
}

.tea-home-product-title {
  height: 2.45rem;
  font-size: 0.8rem;
  line-height: 1.52;
  overflow: hidden;
}

.tea-home-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
}

.tea-home-price {
  color: #7c4a1f;
  font-size: 1rem;
  font-weight: 700;
}

.tea-home-price small {
  font-size: 0.68rem;
  margin-right: 0.1rem;
}

.tea-home-buy {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #36563f, #4b7253);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.tea-home-story {
  border-radius: 1.2rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 249, 239, 0.92));
  border: 1px solid rgba(101, 113, 77, 0.1);
}

.tea-home-story p {
  margin: 0.52rem 0 0;
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(31, 53, 40, 0.78);
}

.tea-home-story-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.tea-home-story-points div {
  padding: 0.8rem 0.3rem;
  text-align: center;
  border-radius: 0.9rem;
  background: rgba(246, 239, 226, 0.92);
}

.tea-home-story-points strong {
  display: block;
  font-size: 0.9rem;
  color: #2f4e3b;
}

.tea-home-story-points span {
  display: block;
  margin-top: 0.16rem;
  font-size: 0.64rem;
  color: rgba(47, 78, 59, 0.7);
}

.tea-home-bottom {
  position: sticky;
  bottom: 0;
  margin-top: 1.3rem;
  padding: 0.65rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(245, 239, 228, 0), rgba(245, 239, 228, 0.9) 28%, #f5efe4 100%);
}

.tea-home-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.75rem 0.7rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(90, 111, 79, 0.08);
  box-shadow: 0 16px 28px rgba(94, 86, 67, 0.12);
}

.tea-home-bottom-nav a {
  text-decoration: none;
  text-align: center;
  color: #35533f;
  font-size: 0.68rem;
}

.tea-home-bottom-nav b {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.22rem;
}

@media (max-width: 360px) {
  .tea-home-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tea-home-feature-grid {
    grid-template-columns: 1fr;
  }
}
