:root{
  --green:#1f5c43;
  --green-2:#2d6a4f;
  --gold:#c4a574;
  --bg:#efe6d9;
  --page:#f6f1ea;
  --card:#fff;
  --ink:#1c1c1c;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,#d7c8b2,#efe6d9 42%);
  color:var(--ink);
  font-family:"PingFang SC","Microsoft YaHei",sans-serif;
}
.shell{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  background:var(--page);
  position:relative;
  padding-bottom:118px;
  box-shadow:0 0 48px rgba(31,92,67,.12);
}
.tm-mark{font-family:"SimSun","Songti SC","NSimSun",serif !important;font-weight:700;color:#111;letter-spacing:.02em;white-space:nowrap}
.tm-reg{font-size:.55em;vertical-align:super;line-height:0;font-family:"SimSun","Songti SC",serif !important}
.nav{
  position:sticky;top:0;z-index:20;height:56px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #eadfce;
  display:flex;align-items:center;justify-content:space-between;padding:0 16px;
}
.nav-brand{text-decoration:none;color:inherit;display:flex;flex-direction:column}
.nav-brand small{font-size:9px;letter-spacing:.28em;color:#9a8b76;margin-top:1px}
.svc{
  color:var(--green-2);text-decoration:none;font-size:13px;
  border:1px solid #cfe0d4;background:#f4faf6;border-radius:999px;padding:6px 12px;
}
.page{padding:12px 14px 8px}

.banner-wrap,.home-hero{
  position:relative;overflow:hidden;border-radius:18px;height:220px;background:#163d2d;margin-bottom:4px;
  box-shadow:0 12px 28px rgba(31,92,67,.14);
}
.banner-wrap .banner-slide,.home-hero .banner-slide{
  position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease;color:#fff;
}
.banner-wrap .banner-slide.on,.home-hero .banner-slide.on{opacity:1;pointer-events:auto;z-index:1}
.banner-wrap img,.home-hero img{width:100%;height:220px;object-fit:cover;display:block;margin:0}
.banner-copy{
  position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;
  padding:18px 18px 30px;
  background:linear-gradient(180deg,transparent 28%,rgba(12,32,24,.78));
  color:#fff;
}
.banner-copy h2{margin:6px 0 12px;font-size:18px;font-weight:700;line-height:1.35}
.banner-kicker{margin:0;font-size:12px;letter-spacing:.18em;opacity:.92}
.banner-copy .tm-reg,.home-brand .tm-reg{color:inherit}
.banner-cta{
  align-self:flex-start;background:#fff;color:var(--green);font-size:12px;font-weight:700;
  padding:6px 13px;border-radius:999px;
}
.banner-dots{position:absolute;left:0;right:0;bottom:10px;z-index:3;display:flex;justify-content:center;gap:6px}
.banner-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.45);box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.banner-dots span.on{background:#fff;width:16px;border-radius:8px}

.home-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 6px}
.home-quick a{
  background:#fff;border-radius:14px;padding:12px 2px 10px;text-align:center;text-decoration:none;color:var(--ink);
  box-shadow:0 6px 16px rgba(61,42,20,.05);
}
.home-quick strong{display:block;font-size:12px;margin-top:6px}
.home-quick em{display:block;font-size:10px;color:#8a8074;font-style:normal;margin-top:2px}
.qi{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:12px;font-size:16px}
.qi-flower{background:#fde8ea}
.qi-plant{background:#e7f4ec}
.qi-custom{background:#f8efd8}
.qi-care{background:#ece8f8}

.home-head{display:flex;justify-content:space-between;align-items:flex-end;margin:16px 2px 10px}
.home-head h2{margin:0;font-size:17px}
.home-head p{margin:3px 0 0;font-size:12px;color:#8a8074}
.home-head a{color:var(--green-2);text-decoration:none;font-size:13px;font-weight:600}
.home-goods{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.home-good{
  background:#fff;border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;
  box-shadow:0 8px 20px rgba(61,42,20,.06);
}
.home-good img{width:100%;height:132px;object-fit:cover;display:block;background:#eee}
.home-good .meta{padding:10px 11px 12px}
.home-good h3{margin:0 0 8px;font-size:13px;font-weight:600;line-height:1.35;height:36px;overflow:hidden}
.home-good .meta p{margin:0;display:flex;justify-content:space-between;align-items:center}

.home-brand{
  margin:16px 0 10px;border-radius:18px;padding:22px 20px;color:#fff;
  background:linear-gradient(145deg,#163d2d 0%,#2d6a4f 55%,#3f8d66 100%);
  position:relative;overflow:hidden;
}
.home-brand:after{
  content:"";position:absolute;right:-30px;top:-40px;width:140px;height:140px;border-radius:50%;
  background:rgba(255,255,255,.08);
}
.home-brand .tm-mark{color:#fff;font-size:22px}
.home-en{letter-spacing:.28em;font-size:11px;opacity:.75;margin:4px 0 12px}
.home-brand p{margin:4px 0;font-size:13px}
.home-note{opacity:.78;font-size:12px !important}
.home-brand a{
  display:inline-block;margin-top:12px;color:#fff;border:1px solid rgba(255,255,255,.45);
  padding:6px 12px;border-radius:999px;text-decoration:none;font-size:12px;
}

.home-protect{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#fff;border-radius:16px;padding:14px 16px;margin:10px 0 16px;
  box-shadow:0 8px 20px rgba(61,42,20,.05);
}
.home-protect p{margin:4px 0 0;font-size:12px;color:#8a8074}
.home-protect .btn{flex-shrink:0;border-radius:999px;padding:8px 14px}

.grid4{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.grid4 a{background:#fff;border-radius:12px;padding:22px 10px;text-align:center;text-decoration:none;color:var(--green-2);font-weight:600;border:1px solid #e6dccb}
.card,.form-card{
  background:#fff;border-radius:16px;padding:16px;margin:10px 0;
  box-shadow:0 8px 20px rgba(61,42,20,.05);
}
.card h1,.card h2,.form-card h2{margin:0 0 12px;font-size:17px}
.card h3{margin:0 0 10px;font-size:15px}
.card p{margin:6px 0;line-height:1.55}
.muted{color:#8a8074;font-size:13px}
.tiny{font-size:12px;color:#999;word-break:break-all}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--green-2);color:#fff;border:0;border-radius:999px;
  padding:10px 16px;text-decoration:none;cursor:pointer;font-size:14px;
}
.btn.ghost{background:#fff;color:var(--green-2);border:1px solid #cfe0d4}
.btn.block{width:100%;margin-top:10px}
.btn.danger{background:#fff;color:#b42318;border:1px solid #f0c9c5}
.page-hd{display:flex;align-items:flex-end;justify-content:space-between;margin:4px 2px 12px}
.page-hd h1{margin:0;font-size:20px}
.page-hd p{margin:4px 0 0;font-size:12px;color:#8a8074}
.mall-bar{display:flex;gap:8px;align-items:center}
.mall-bar form{flex:1}
.search-bar input,.mall-bar input{
  width:100%;margin:0;padding:11px 14px;border:0;border-radius:999px;
  background:#fff;box-shadow:0 6px 16px rgba(61,42,20,.05);
}
.pill{
  display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;
  background:#eef6f0;color:var(--green-2);
}
.pill.warn{background:#fff4e5;color:#c45c26}
.pill.ok{background:#e8f6ee;color:#1f5c43}
.pill.bad{background:#fdecea;color:#b42318}
.empty{text-align:center;padding:48px 16px;color:#8a8074}
.empty a{color:var(--green-2)}
.mall-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.gcard{
  display:flex;gap:12px;background:#fff;border-radius:16px;padding:10px;
  text-decoration:none;color:inherit;box-shadow:0 8px 20px rgba(61,42,20,.05);
}
.gcard img{width:92px;height:92px;object-fit:cover;border-radius:12px;background:#eee;flex-shrink:0}
.gcard h4{margin:2px 0 8px;font-size:14px;line-height:1.35}
.gcard .meta{flex:1;min-width:0}
.detail .cover{
  width:calc(100% + 28px);margin:-12px -14px 12px;max-height:none;height:280px;
  object-fit:cover;border-radius:0 0 22px 22px;
}
.detail h1{font-size:20px;margin:4px 0 8px;line-height:1.35}
.goods-copy{margin:0 0 10px;font-size:14px;line-height:1.7;color:#4a433c;white-space:pre-wrap}
.buy-row{display:flex;gap:10px;align-items:center;margin:8px 0 4px}
.buy-row label{font-size:13px;color:#8a8074;width:40px}
.buy-row select,.buy-row input{
  flex:1;margin:0;padding:10px 12px;border:1px solid #e5d9c8;border-radius:12px;background:#fff;
}
.row-btns{display:flex;gap:8px;margin-top:14px}
.row-btns .btn{flex:1}
.qty-btns{display:flex;gap:8px;margin-top:8px}
.qty-btns .btn{min-width:36px;padding:6px 10px}
.bar-sum{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:12px;padding-top:12px;border-top:1px dashed #eadfce;
}
.list-cell,.cell{
  display:block;background:#fff;border-radius:16px;padding:14px 16px;margin:8px 0;
  text-decoration:none;color:inherit;box-shadow:0 8px 20px rgba(61,42,20,.05);
}
.list-cell .row,.cell-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.mine-hero{
  border-radius:18px;padding:22px 18px;margin-bottom:12px;color:#fff;
  background:linear-gradient(145deg,#163d2d,#3f8d66);
}
.mine-hero strong{display:block;font-size:18px;margin-bottom:4px}
.mine-hero p{margin:0;opacity:.85;font-size:13px}
.tm-row{
  display:flex;justify-content:space-between;gap:8px;padding:10px 0;
  border-bottom:1px solid #f3ece2;font-size:13px;
}
.tm-row:last-child{border-bottom:0}
.chk{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:13px}
.chk input{width:auto;margin:0}
.tabbar{
  position:fixed;left:50%;transform:translateX(-50%);width:100%;max-width:480px;
  bottom:28px;height:62px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);
  display:flex;border-top:1px solid #eadfce;z-index:30;
}
.tabbar a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-decoration:none;color:#8a8074;font-size:11px;gap:2px;line-height:1.15;
}
.tabbar a i{font-style:normal;font-size:15px}
.tabbar a.on{color:var(--green);font-weight:700}
.brand-foot{
  position:fixed;left:50%;transform:translateX(-50%);width:100%;max-width:480px;
  bottom:0;height:28px;line-height:28px;font-size:10px;color:#8a8a8a;background:#f0ebe4;
  text-align:center;overflow:hidden;white-space:nowrap;z-index:30;
}
.search input,.card input,.card select,.card textarea,.sheet input,.sheet select,.sheet textarea,.form-card input,.form-card select,.form-card textarea{
  width:100%;margin:6px 0;padding:10px 12px;border:1px solid #e5d9c8;border-radius:12px;background:#fff;
}
.cats{display:flex;gap:8px;overflow:auto;padding:10px 0;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cats a,.cats span,.tabs span{
  white-space:nowrap;padding:7px 12px;background:#fff;border-radius:999px;
  text-decoration:none;color:#555;font-size:13px;box-shadow:0 4px 12px rgba(61,42,20,.04);
}
.cats a.on,.tabs span.on{background:var(--green-2);color:#fff}
.price{color:#c45c26;font-weight:700}
.tag{font-size:12px;color:#8a8074}
.cover{width:100%;max-height:360px;object-fit:cover;border-radius:16px}
.mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:50;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:#fff;width:100%;max-width:480px;border-radius:20px 20px 0 0;padding:18px}
.hidden{display:none}
.tabs{display:flex;gap:8px;margin:4px 0 12px}
h1{font-size:20px}
.file-link{display:block;padding:10px 0;border-bottom:1px solid #f3ece2;color:var(--green-2);text-decoration:none;font-size:13px}
.file-link:last-child{border-bottom:0}
