/* 基础配色 */
:root {
  --tea-green: #5d7a4a;
  --tea-light: #8fa878;
  --tea-dark: #3a4d2e;
  --bamboo: #9caf88;
  --clay: #b87d5c;
  --clay-light: #d4a382;
  --paper: #f8f5f0;
  --paper-warm: #f1ece3;
  --ink: #2c2c2c;
  --ink-light: #5a5a5a;
  --gold: #c9a227;
  --white: #ffffff;
  --danger: #c25e5e;
  --shadow: rgba(0, 0, 0, 0.06);
  --shadow-strong: rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-weight: 600; line-height: 1.4; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 飘浮茶叶 */
.tea-leaves { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.tea-leaves span { position: absolute; width: 14px; height: 22px; background: var(--tea-light); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0.15; animation: leaf-fall 14s linear infinite; }
.tea-leaves span::after { content: ""; position: absolute; width: 1px; height: 70%; background: var(--tea-dark); left: 50%; top: 15%; transform: translateX(-50%); opacity: 0.4; }
.tea-leaves span:nth-child(1) { left: 8%; top: -30px; animation-delay: 0s; animation-duration: 12s; }
.tea-leaves span:nth-child(2) { left: 22%; top: -30px; animation-delay: 3s; animation-duration: 15s; transform: scale(0.8); }
.tea-leaves span:nth-child(3) { left: 45%; top: -30px; animation-delay: 6s; animation-duration: 13s; }
.tea-leaves span:nth-child(4) { left: 68%; top: -30px; animation-delay: 2s; animation-duration: 16s; transform: scale(1.1); }
.tea-leaves span:nth-child(5) { left: 85%; top: -30px; animation-delay: 8s; animation-duration: 14s; }
.tea-leaves span:nth-child(6) { left: 55%; top: -30px; animation-delay: 11s; animation-duration: 12s; transform: scale(0.9); }
@keyframes leaf-fall { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(110vh) rotate(360deg); } }

.back-home {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 101;
  padding: 0.45rem 1rem;
  background: var(--tea-green);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.back-home:hover {
  background: var(--tea-dark);
  transform: translateY(-2px);
}

.password-hint {
  color: var(--ink-light);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.password-hint strong {
  color: var(--tea-green);
  font-weight: 700;
}

/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 4%; background: rgba(248, 245, 240, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(93, 122, 74, 0.1); }
.nav-brand { display: flex; align-items: center; gap: 0.5rem; font-family: "Noto Serif SC", serif; font-size: 1.35rem; font-weight: 700; color: var(--tea-dark); }
.brand-icon { font-size: 1.6rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--tea-dark); cursor: pointer; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a { font-size: 0.95rem; color: var(--ink-light); transition: color 0.2s; position: relative; }
.nav-menu a:hover { color: var(--tea-green); }
.nav-menu a::after { content: ""; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--tea-green); transition: width 0.25s; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta { padding: 0.45rem 1.1rem; border: 1px solid var(--tea-green); border-radius: 999px; color: var(--tea-green) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--tea-green); color: var(--white) !important; }
.nav-admin { padding: 0.45rem 1.1rem; border: 1px solid var(--clay); border-radius: 999px; background: transparent; color: var(--clay); font-size: 0.95rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.nav-admin:hover { background: var(--clay); color: var(--white); }

/* 弹窗通用 */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: 100%; max-width: 380px; background: var(--white); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2); text-align: center; z-index: 1; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.1rem; color: var(--ink-light); cursor: pointer; }
.modal-brand { font-family: "Noto Serif SC", serif; font-size: 1.35rem; font-weight: 700; color: var(--tea-dark); margin-bottom: 0.4rem; }
.modal-card h3 { font-size: 1.1rem; color: var(--ink-light); font-weight: 400; margin-bottom: 1.2rem; }
.modal-form { display: flex; flex-direction: column; gap: 0.9rem; }
.modal-form input, .modal-form textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid rgba(93,122,74,0.25); border-radius: 0.75rem; font-size: 1rem; background: var(--paper); outline: none; font-family: inherit; resize: vertical; }
.modal-form input:focus, .modal-form textarea:focus { border-color: var(--tea-green); box-shadow: 0 0 0 3px rgba(93,122,74,0.1); }
.modal-error { color: var(--danger); font-size: 0.85rem; margin: 0; opacity: 0; transition: opacity 0.2s; }
.modal-error.show { opacity: 1; }
.phone-tip { color: var(--ink-light); font-size: 0.9rem; margin-bottom: 1rem; }
.modal.phone-login .modal-backdrop { background: rgba(0,0,0,0.45); }

/* 支付二维码弹窗 */
.payment-total { font-size: 1.1rem; color: var(--ink); margin-bottom: 1rem; }
.payment-total strong { color: var(--clay); font-size: 1.3rem; }
.payment-qr { width: 100%; max-width: 260px; border-radius: 0.75rem; border: 1px solid rgba(93,122,74,0.15); margin-bottom: 1.2rem; }

/* 结果页 */
.result-page { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.result-page.hidden { display: none; }
.result-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); backdrop-filter: blur(3px); }
.result-card { position: relative; width: 100%; max-width: 380px; background: var(--white); border-radius: 1.25rem; padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2); text-align: center; z-index: 1; }
.result-icon { font-size: 3.5rem; margin-bottom: 0.8rem; }
.result-title { font-family: "Noto Serif SC", serif; font-size: 1.7rem; margin-bottom: 0.6rem; }
.result-title.success { color: var(--tea-green); }
.result-title.warning { color: var(--danger); }
.result-card p { color: var(--ink-light); margin-bottom: 1.5rem; line-height: 1.7; }

/* 全屏结算页面（支付余款 / 扫码支付） */
.checkout-page { position: fixed; inset: 0; z-index: 240; background: var(--paper); overflow-y: auto; display: block; }
.checkout-page.hidden { display: none; }
.checkout-topbar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; background: var(--paper); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(93,122,74,0.12); }
.checkout-back { background: none; border: none; font-size: 1rem; color: var(--ink-light); cursor: pointer; padding: 0.3rem 0; }
.checkout-back:hover { color: var(--tea-green); }
.checkout-topbar-brand { font-family: "Noto Serif SC", serif; font-size: 1.05rem; font-weight: 700; color: var(--tea-dark); }
.checkout-inner { width: 100%; max-width: 480px; margin: 0 auto; padding: 2.2rem 1.5rem 3.5rem; text-align: center; }
.checkout-title { font-family: "Noto Serif SC", serif; font-size: 2rem; color: var(--tea-green); margin-bottom: 0.6rem; }
.checkout-title.warning { color: var(--danger); }
.checkout-note { color: var(--ink-light); font-size: 1rem; line-height: 1.7; margin-bottom: 1.6rem; }
.checkout-lines { background: var(--white); border-radius: 1rem; padding: 0.4rem 1.25rem; margin-bottom: 1.6rem; box-shadow: 0 6px 20px rgba(0,0,0,0.05); text-align: left; }
.checkout-lines.hidden { display: none; }
.checkout-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed rgba(93,122,74,0.18); color: var(--ink); font-size: 0.95rem; }
.checkout-line:last-child { border-bottom: none; }
.checkout-line span:last-child { color: var(--clay); font-weight: 600; white-space: nowrap; }
.checkout-amount { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.8rem; }
.checkout-amount-label { color: var(--ink-light); font-size: 0.95rem; }
.checkout-amount-value { font-family: "Noto Serif SC", serif; font-size: 2.8rem; font-weight: 700; color: var(--clay); line-height: 1; }
.checkout-page.warning .checkout-amount-value { color: var(--danger); }
.checkout-qr-wrap { margin-bottom: 2rem; }
.checkout-qr { width: 100%; max-width: 300px; border-radius: 1rem; border: 1px solid rgba(93,122,74,0.15); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.checkout-qr-tip { color: var(--ink-light); font-size: 0.9rem; margin-top: 0.8rem; }
.checkout-paid { font-size: 1.05rem; padding: 0.95rem; margin-bottom: 0.8rem; }

/* 新品广告横幅 */
.promo-banner { display: flex; align-items: center; gap: 0.9rem; max-width: 1100px; margin: 4.6rem auto 0; padding: 0.85rem 1.4rem; background: linear-gradient(100deg, var(--tea-green), var(--tea-light)); color: var(--white); border-radius: 1rem; box-shadow: 0 8px 24px rgba(93,122,74,0.25); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.promo-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(93,122,74,0.32); }
.promo-banner.hidden { display: none; }
/* 广告显示时，首屏顶部内边距收紧一点，避免和广告之间留太大空白（广告本身已让出导航栏高度） */
.promo-banner:not(.hidden) ~ .hero { padding-top: 3rem; }
.promo-emoji { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.promo-text { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.promo-text strong { font-family: "Noto Serif SC", serif; font-size: 1.05rem; font-weight: 700; }
.promo-text span { font-size: 0.9rem; opacity: 0.92; }
.promo-btn { flex-shrink: 0; background: var(--white); color: var(--tea-dark); font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.promo-fade { animation: promoFade 0.5s ease; }
@keyframes promoFade { from { opacity: 0.25; } to { opacity: 1; } }
@media (max-width: 600px) {
  .promo-banner { gap: 0.7rem; padding: 0.75rem 1rem; margin-top: 4.3rem; }
  .promo-emoji { font-size: 1.5rem; }
  .promo-text strong { font-size: 0.95rem; }
  .promo-text span { font-size: 0.8rem; }
  .promo-btn { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
}

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.85rem 1.8rem; border-radius: 999px; font-size: 1rem; font-weight: 500; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tea-green); color: var(--white); box-shadow: 0 8px 20px rgba(93,122,74,0.25); }
.btn-primary:hover { background: var(--tea-dark); box-shadow: 0 10px 25px rgba(93,122,74,0.35); }
.btn-outline { background: transparent; color: var(--tea-green); border: 1.5px solid var(--tea-green); }
.btn-outline:hover { background: rgba(93,122,74,0.06); }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* 首屏 */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 4rem; padding: 8rem 6% 5rem; background: radial-gradient(circle at 20% 30%, rgba(159,168,120,0.12) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(184,125,92,0.1) 0%, transparent 40%), var(--paper); }
.hero-content { max-width: 560px; }
.hero-tag { display: inline-block; padding: 0.35rem 1rem; background: rgba(93,122,74,0.1); color: var(--tea-green); border-radius: 999px; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 1.2rem; }
.hero h1 { font-size: 3.2rem; color: var(--tea-dark); margin-bottom: 1.2rem; }
.hero-desc { font-size: 1.1rem; color: var(--ink-light); margin-bottom: 2rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
.teacup { font-size: 9rem; filter: drop-shadow(0 20px 30px rgba(93,122,74,0.2)); animation: cup-float 4s ease-in-out infinite; }
@keyframes cup-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.steam { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.steam span { width: 8px; height: 40px; background: linear-gradient(to top, rgba(160,160,160,0.2), transparent); border-radius: 999px; animation: steam-rise 2.5s ease-out infinite; }
.steam span:nth-child(1) { animation-delay: 0s; }
.steam span:nth-child(2) { animation-delay: 0.6s; }
.steam span:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam-rise { 0% { opacity: 0; transform: translateY(0) scaleY(0.5); } 50% { opacity: 0.5; } 100% { opacity: 0; transform: translateY(-40px) scaleY(1.2); } }

/* 通用区块 */
.section { position: relative; z-index: 1; padding: 6rem 6%; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-label { display: inline-block; font-size: 0.85rem; letter-spacing: 0.15em; color: var(--tea-green); text-transform: uppercase; margin-bottom: 0.6rem; }
.section-header.light .section-label { color: rgba(255,255,255,0.85); }
.section-header h2 { font-size: 2.4rem; color: var(--tea-dark); margin-bottom: 1rem; }
.section-header p { color: var(--ink-light); font-size: 1.05rem; }

/* 茶文化 */
.culture { background: var(--white); }
.culture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.culture-card { background: var(--paper); border-radius: 1.25rem; padding: 2.2rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(93,122,74,0.08); }
.culture-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px var(--shadow); }
.culture-icon { font-size: 3rem; margin-bottom: 1rem; }
.culture-card h3 { font-size: 1.35rem; color: var(--tea-dark); margin-bottom: 0.7rem; }
.culture-card p { color: var(--ink-light); font-size: 0.97rem; line-height: 1.85; }

/* 六大茶类 */
.varieties { background: linear-gradient(135deg, var(--tea-green) 0%, var(--tea-dark) 100%); }
.variety-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.variety-item { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 1rem; padding: 1.1rem 1.4rem; color: var(--white); backdrop-filter: blur(4px); }
.variety-item strong { font-size: 1.1rem; min-width: 4.5rem; }
.variety-item span:last-child { font-size: 0.9rem; opacity: 0.85; }
.variety-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.variety-dot.green { background: #9dc08b; }
.variety-dot.white { background: #f5f5f5; }
.variety-dot.yellow { background: #f0d878; }
.variety-dot.oolong { background: #d4a382; }
.variety-dot.red { background: #c25e5e; }
.variety-dot.dark { background: #5c4033; }

/* 产品 */
.products { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.product-card { position: relative; background: var(--white); border-radius: 1.25rem; padding: 1.8rem; box-shadow: 0 10px 30px var(--shadow); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px var(--shadow-strong); }
.product-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem 0.7rem; background: var(--gold); color: var(--white); font-size: 0.75rem; border-radius: 999px; font-weight: 500; }
.product-badge.hot { background: #c25e5e; }
.product-image { width: 100%; height: 160px; background: var(--paper); border-radius: 0.8rem; display: grid; place-items: center; font-size: 4rem; margin-bottom: 1.2rem; }
.product-card h3 { font-size: 1.3rem; color: var(--tea-dark); margin-bottom: 0.3rem; }
.product-meta { font-size: 0.85rem; color: var(--tea-green); margin-bottom: 0.6rem; }
.product-desc { font-size: 0.95rem; color: var(--ink-light); margin-bottom: 1.2rem; flex-grow: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed rgba(93,122,74,0.2); padding-top: 1rem; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--clay); }

/* 泡茶指南 */
.brewing { background: linear-gradient(135deg, var(--tea-green) 0%, var(--tea-dark) 100%); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto 3rem; }
.step { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 1.25rem; padding: 1.8rem; color: var(--white); text-align: center; backdrop-filter: blur(4px); }
.step-number { width: 48px; height: 48px; margin: 0 auto 1rem; background: var(--white); color: var(--tea-green); border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; opacity: 0.9; line-height: 1.75; }
.brewing-table { max-width: 700px; margin: 0 auto; background: rgba(255,255,255,0.12); border-radius: 1rem; padding: 1.5rem 2rem; backdrop-filter: blur(4px); }
.brewing-table h3 { color: var(--white); text-align: center; margin-bottom: 1.2rem; font-size: 1.2rem; }
.brewing-table table { width: 100%; border-collapse: collapse; color: var(--white); }
.brewing-table th, .brewing-table td { padding: 0.85rem 0.5rem; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.15); }
.brewing-table th { font-weight: 600; opacity: 0.8; }
.brewing-table tr:last-child td { border-bottom: none; }

/* 品牌故事 */
.story { background: var(--white); display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.story-content { max-width: 560px; }
.story-content > p { color: var(--ink-light); margin-bottom: 1.2rem; font-size: 1.02rem; }
.story-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin-top: 1.8rem; }
.story-values li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.98rem; color: var(--ink); }
.story-values span { font-size: 1.4rem; }
.story-visual { width: 260px; height: 260px; background: var(--paper); border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(93,122,74,0.1); }
.teapot { font-size: 7rem; animation: cup-float 5s ease-in-out infinite; }

/* 联系 */
.contact { background: var(--paper-warm); }
.contact-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 1.5rem; padding: 2.5rem; box-shadow: 0 15px 45px var(--shadow); text-align: center; }
.contact-card h2 { font-size: 1.8rem; color: var(--tea-dark); margin-bottom: 0.8rem; }
.contact-card > p { color: var(--ink-light); margin-bottom: 1.8rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea, .space-form input, .space-form select, .space-form textarea { width: 100%; padding: 0.9rem 1rem; border: 1px solid rgba(93,122,74,0.2); border-radius: 0.75rem; font-family: inherit; font-size: 1rem; background: var(--paper); color: var(--ink); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form input:focus, .contact-form textarea:focus, .space-form input:focus, .space-form select:focus, .space-form textarea:focus { border-color: var(--tea-green); box-shadow: 0 0 0 3px rgba(93,122,74,0.1); }
.contact-form textarea, .space-form textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-light); margin-top: 1rem; }

/* 购物车浮层 */
.cart-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 340px; max-height: 460px; background: var(--white); border-radius: 1.25rem; box-shadow: 0 15px 50px rgba(0,0,0,0.15); z-index: 99; padding: 1.2rem; transform: translateY(calc(100% + 2rem)); transition: transform 0.35s ease; display: flex; flex-direction: column; }
.cart-widget.active { transform: translateY(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-weight: 600; color: var(--tea-dark); }
.cart-count { width: 24px; height: 24px; background: var(--tea-green); color: var(--white); border-radius: 50%; font-size: 0.8rem; display: grid; place-items: center; }
.cart-items { flex-grow: 1; overflow-y: auto; margin-bottom: 1rem; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px dashed rgba(93,122,74,0.15); font-size: 0.92rem; }
.cart-item-name { color: var(--ink); max-width: 50%; }
.cart-item-right { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty-btn, .cart-remove { width: 26px; height: 26px; border-radius: 50%; border: none; font-size: 0.9rem; cursor: pointer; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.cart-qty-btn { background: rgba(93,122,74,0.1); color: var(--tea-green); }
.cart-qty-btn:hover { background: var(--tea-green); color: var(--white); }
.cart-qty { min-width: 20px; text-align: center; font-size: 0.9rem; color: var(--ink); }
.cart-item-price { color: var(--clay); font-weight: 600; min-width: 50px; text-align: right; }
.cart-remove { background: rgba(194,94,94,0.12); color: var(--danger); }
.cart-remove:hover { background: var(--danger); color: var(--white); }
.cart-empty { text-align: center; color: var(--ink-light); padding: 1.5rem 0; font-size: 0.95rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-top: 1px solid rgba(93,122,74,0.15); margin-bottom: 0.6rem; }
.cart-total strong { font-size: 1.3rem; color: var(--clay); }

/* 我的订单浮层 */
.orders-widget.hidden { display: none; }
.orders-widget.active { transform: translateY(0); }
.order-item { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.75rem 0; border-bottom: 1px dashed rgba(93,122,74,0.15); }
.order-item:last-child { border-bottom: none; }
.order-item-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
.order-item-status { font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 500; }
.order-item-status.warning { background: #fff5e6; color: #b8860b; }
.order-item-status.danger { background: #fde8e8; color: var(--danger); }
.order-item-status.success { background: #e8f5e9; color: var(--tea-green); }
.order-item-time { font-size: 0.8rem; color: var(--ink-light); }
.order-item-total { color: var(--clay); font-weight: 600; }
.order-item-products { font-size: 0.82rem; color: var(--ink-light); line-height: 1.4; }
.order-pay-btn { margin-top: 0.4rem; }
.order-item-desc { font-size: 0.8rem; color: var(--tea-dark); }
.order-item-status.pending { background: #eef1ee; color: var(--tea-green); }
.order-item-status.processing { background: #e6f0fb; color: #2a6bb0; }
.order-item-status.cancelled { background: #eceff1; color: #78909c; }
.order-progress { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 0.5rem; }
.order-step { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.order-step-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 600; background: rgba(93,122,74,0.12); color: var(--ink-light); transition: background 0.2s, color 0.2s; }
.order-step.done .order-step-dot { background: var(--tea-green); color: #fff; }
.order-step.current .order-step-dot { background: var(--clay); color: #fff; box-shadow: 0 0 0 3px rgba(184,125,92,0.2); }
.order-step-label { font-size: 0.66rem; color: var(--ink-light); white-space: nowrap; }
.order-step.done .order-step-label, .order-step.current .order-step-label { color: var(--ink); font-weight: 500; }
.order-step-line { flex: 1; height: 2px; background: rgba(93,122,74,0.18); margin-top: 10px; }
.order-progress.cancelled { justify-content: center; }
.order-cancel-flag { font-size: 0.8rem; color: #b23b3b; background: #fdecec; padding: 0.25rem 0.7rem; border-radius: 999px; }
.cart-orders-link { background: none; border: none; color: var(--tea-green); font-size: 0.85rem; cursor: pointer; padding: 0.3rem; align-self: center; }
.cart-orders-link:hover { text-decoration: underline; }

/* 页脚 */
footer { background: var(--tea-dark); color: rgba(255,255,255,0.85); padding: 3rem 6% 1.5rem; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-brand span { font-family: "Noto Serif SC", serif; font-size: 1.4rem; font-weight: 700; color: var(--white); }
.footer-brand p { margin-top: 0.5rem; font-size: 0.95rem; opacity: 0.8; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.95rem; opacity: 0.85; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--white); }
.copyright { text-align: center; font-size: 0.85rem; opacity: 0.65; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* 茶空间预约 */
.space { background: linear-gradient(135deg, #e8f4e8 0%, #d4e8d4 100%); display: flex; align-items: stretch; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.space-visual { flex: 1 1 320px; max-width: 420px; min-height: 360px; background: var(--white); border-radius: 1.5rem; display: grid; place-items: center; box-shadow: 0 15px 40px rgba(93,122,74,0.12); position: relative; overflow: hidden; }
.space-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(143,168,120,0.15) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(93,122,74,0.1) 0%, transparent 45%); }
.space-illustration { font-size: 5rem; letter-spacing: 0.3em; position: relative; z-index: 1; animation: cup-float 5s ease-in-out infinite; }
.space-content { flex: 1 1 420px; max-width: 580px; }
.space-lead { font-size: 1.05rem; color: var(--ink-light); line-height: 1.9; margin-bottom: 1.5rem; }
.space-lead strong { color: var(--tea-green); font-weight: 600; }
.space-features { list-style: none; display: grid; gap: 0.9rem; margin-bottom: 2.2rem; }
.space-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.98rem; color: var(--ink); line-height: 1.7; }
.space-features span { font-size: 1.4rem; flex-shrink: 0; }
.space-features strong { color: var(--tea-green); font-weight: 600; }
.space-booking { background: var(--white); border-radius: 1.25rem; padding: 1.8rem; box-shadow: 0 12px 35px rgba(93,122,74,0.1); }
.space-booking h3 { font-size: 1.25rem; color: var(--tea-dark); margin-bottom: 1.2rem; }
.space-form { display: flex; flex-direction: column; gap: 1rem; }
.space-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235d7a4a' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }

/* 滚动淡入动画 */
.culture-card, .product-card, .step, .variety-item, .space-features li { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.culture-card.in-view, .product-card.in-view, .step.in-view, .variety-item.in-view, .space-features li.in-view { opacity: 1; transform: translateY(0); }

/* Toast 提示 */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--tea-dark); color: var(--white); padding: 0.8rem 1.4rem; border-radius: 999px; font-size: 0.95rem; z-index: 200; opacity: 0; transition: transform 0.3s, opacity 0.3s; pointer-events: none; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* 响应式 */
@media (max-width: 900px) {
  .hero { flex-direction: column-reverse; text-align: center; gap: 2.5rem; padding-top: 7rem; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .story { flex-direction: column; text-align: center; }
  .story-content { max-width: 100%; }
  .section-header.left { text-align: center; margin: 0 auto 2rem; }
  .story-values { justify-content: center; }
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(248,245,240,0.98); padding: 1rem 0; gap: 0; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transform: translateY(-150%); opacity: 0; pointer-events: none; transition: transform 0.3s, opacity 0.3s; }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { display: block; padding: 0.9rem 0; }
  .nav-cta { display: inline-block !important; margin-top: 0.5rem; }
  .nav-admin { margin-top: 0.5rem; }
  .nav-menu li:last-child { margin-top: 0.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-visual { width: 200px; height: 200px; }
  .teacup { font-size: 6rem; }
  .section { padding: 4rem 5%; }
  .section-header h2 { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .cart-widget { left: 1rem; right: 1rem; width: auto; }
}
