:root{--g:#164837;--l:#55a75c;--o:#ff6415;--b:#f4f6f3;--i:#29332e;--m:#8c948e;--line:#ecefea}*{box-sizing:border-box}body{margin:0;background:#d9e3da;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--i)}button,input,textarea,select{font:inherit}.app{max-width:480px;min-height:100vh;margin:auto;padding-bottom:70px;background:var(--b);overflow:hidden}.hero{position:relative;padding:17px 15px 21px;background:linear-gradient(130deg,#164837,#286a4b 69%,#91bd75);color:#fff;overflow:hidden}.hero:after{content:"";position:absolute;right:-17px;bottom:-19px;width:118px;height:118px;background:url('/assets/shuxianfang-logo.svg') center/contain no-repeat;opacity:.2}.brand,.search,.fresh,.quick,.section,.category,.header,.cart,.warehouse,.fees,.profile,.belong,.menu,.sub{position:relative;z-index:1}.brand{display:flex;align-items:center;gap:9px}.mark{display:grid;place-items:center;width:41px;height:41px;border-radius:13px;background:#e9f7d6;color:var(--g);font-size:22px;font-weight:900}.brand h1{margin:0;font-size:21px;letter-spacing:1px}.brand p{margin:3px 0 0;color:#d3e5d3;font-size:11px}.brand>button{margin-left:auto;border:1px solid #ffffff5c;border-radius:15px;padding:7px 9px;background:#ffffff20;color:#fff;font-size:11px}.search{display:flex;align-items:center;gap:7px;height:43px;margin-top:19px;padding:4px 5px 4px 12px;border-radius:22px;background:#fff;color:var(--o)}.search span{font-size:24px;line-height:1}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--i);font-size:13px}.search button{border:0;border-radius:18px;padding:8px 14px;background:var(--o);color:#fff;font-size:13px;font-weight:700}.fresh{display:flex;justify-content:space-between;align-items:end;margin-top:21px}.fresh b{font-size:20px}.fresh span{max-width:146px;color:#d8ead3;font-size:10px;line-height:1.6;text-align:right}.quick{display:flex;gap:13px;overflow:auto;padding:15px 13px 8px;background:#fff}.quick button{flex:0 0 55px;border:0;background:transparent;color:var(--i)}.quick span{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#e9f2df;font-size:28px}.quick b{display:block;margin-top:5px;white-space:nowrap;font-size:11px}.section{padding:16px 13px}.title{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.title h2{margin:0;font-size:19px}.title p{margin:3px 0 0;color:var(--m);font-size:11px}.title button{border:0;background:none;color:#657168;font-size:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product{overflow:hidden;border:1px solid #edf0ea;border-radius:10px;background:#fff}.product.list{display:flex;border:0;border-radius:0;border-bottom:1px solid var(--line);padding:10px 0}.photo{position:relative;display:grid;place-items:center;flex:0 0 106px;height:108px;background:linear-gradient(135deg,#fff,var(--tone,#e5eee0));overflow:hidden}.photo:after{content:"";position:absolute;right:-17px;bottom:-35px;width:88px;height:88px;border-radius:50%;background:#fff9}.photo span{position:relative;z-index:1;font-size:63px;filter:drop-shadow(0 8px 4px #25433224)}.photo i{position:absolute;z-index:2;top:7px;left:7px;padding:2px 5px;border-radius:3px;background:#e9f4c9;color:#456a35;font-size:9px;font-style:normal;font-weight:800}.photo.big{height:263px}.photo.big span{font-size:138px}.copy{flex:1;min-width:0;padding:9px 10px}.copy h3{margin:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.copy p{height:30px;margin:5px 0;color:#89928c;font-size:11px;line-height:1.4;overflow:hidden}.copy footer{display:flex;align-items:center;justify-content:space-between}.copy footer b{color:var(--o);font-size:17px}.copy footer small{color:#9aa19c;font-size:10px}.copy footer button{width:27px;height:27px;border:0;border-radius:9px;background:var(--o);color:#fff;font-size:20px;line-height:1}.bottom{position:fixed;z-index:20;bottom:0;left:50%;display:grid;grid-template-columns:repeat(4,1fr);width:min(480px,100%);height:66px;padding-bottom:env(safe-area-inset-bottom);transform:translateX(-50%);border-top:1px solid #e6eae4;background:#fff}.bottom button{position:relative;border:0;background:transparent;color:#8a928c}.bottom i{display:block;height:28px;font-size:27px;line-height:25px;font-style:normal}.bottom span{font-size:11px}.bottom .on{color:var(--l)}.bottom em{position:absolute;top:3px;left:53%;display:grid;place-items:center;min-width:16px;height:16px;border-radius:9px;padding:0 4px;background:var(--o);color:#fff;font-style:normal;font-size:10px}.header{display:flex;align-items:center;justify-content:space-between;height:54px;padding:0 13px;border-bottom:1px solid var(--line);background:#fff}.header b{font-size:17px}.header button,.header span{width:32px;height:32px;border:0;background:none;color:var(--i);font-size:34px;line-height:24px}.inner{margin:10px 12px;border:1px solid #ecefec;box-shadow:0 3px 10px #234b2a0a}.catalog{display:grid;grid-template-columns:90px 1fr;min-height:calc(100vh - 120px)}.catalog aside{background:#f0f2ef}.catalog aside button{width:100%;border:0;border-left:3px solid transparent;padding:17px 3px;background:transparent;color:#707972;font-weight:600}.catalog aside button.active{border-color:var(--o);background:#fff;color:var(--o)}.catalog main{padding:6px 11px;background:#fff}.sort{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.sort b{color:var(--o);font-size:17px}.sort span{color:#959c97;font-size:10px}.empty{margin:18px 0;padding:27px 14px;border-radius:10px;background:#fff;color:#7b847e;text-align:center;line-height:1.8}.empty button{margin-top:8px;border:1px solid var(--o);border-radius:15px;padding:6px 11px;background:#fff;color:var(--o)}.detail-top{background:#fff}.price{display:flex;align-items:baseline;gap:3px;padding:11px 15px;color:var(--o)}.price b{font-size:30px}.price span{color:#929992;font-size:12px}.price em{margin-left:auto;padding:5px 8px;border-radius:9px;background:#fff1eb;font-size:11px;font-style:normal}.detail{padding:0 12px 80px}.detail-name{display:flex;justify-content:space-between;padding:14px 1px}.detail-name i{display:inline-block;padding:2px 5px;border-radius:3px;background:#eaf4c7;color:#577c36;font-size:10px;font-style:normal;font-weight:800}.detail-name h2{margin:6px 0;font-size:21px}.detail-name p{margin:0;color:#8d958f;font-size:12px}.detail-name>button{width:48px;height:48px;border:0;border-radius:12px;background:#fff2eb;color:var(--o);font-size:24px}.facts{display:grid;grid-template-columns:repeat(3,1fr);border-radius:10px;background:#fff}.facts div{padding:12px 5px;border-right:1px solid var(--line);text-align:center}.facts div:last-child{border:0}.facts span{display:block;color:#909791;font-size:10px}.facts b{display:block;margin-top:5px;font-size:11px}.detail article{margin-top:12px;padding:15px;border-radius:11px;background:#fff}.detail article h3{margin:0 0 10px;font-size:17px}.detail article p{margin:0;color:#59635d;font-size:14px;line-height:1.8}.specs{overflow:hidden;border:1px solid #e8ebe6;border-radius:7px}.specs div{display:grid;grid-template-columns:35% 1fr;border-bottom:1px solid #e8ebe6}.specs div:last-child{border:0}.specs b,.specs span{padding:10px;font-size:13px}.specs b{background:#f4f6f3;color:#777f79;text-align:center}.detail-action{position:fixed;z-index:20;bottom:0;left:50%;display:flex;align-items:center;gap:8px;width:min(480px,100%);height:68px;padding:8px 13px calc(8px + env(safe-area-inset-bottom));transform:translateX(-50%);border-top:1px solid var(--line);background:#fff}.detail-action>button:not(.add-main){display:grid;place-items:center;gap:1px;min-width:51px;border:0;background:transparent;color:#606860;font-size:10px}.detail-action i{font-size:24px;font-style:normal}.add-main{flex:1;height:44px;border:0;border-radius:23px;background:var(--o);color:#fff;font-size:18px;font-weight:800}.warehouse{display:flex;gap:10px;align-items:center;margin:12px;padding:12px;border-radius:10px;background:#eaf4e7}.warehouse>b{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--g);color:#fff}.warehouse strong{display:block;font-size:14px}.warehouse span{display:block;margin-top:3px;color:#7d887f;font-size:11px}.cart{padding:0 12px}.cart-item{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.cart-item .photo{width:94px;height:94px;border-radius:9px;flex-basis:94px}.cart-item .photo span{font-size:52px}.cart-item>div:last-child{flex:1}.cart-item h3{margin:2px 0;font-size:16px}.cart-item p{margin:5px 0;color:#8d958f;font-size:12px}.cart-item footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.cart-item footer>b{color:var(--o)}.cart-item footer span{display:flex;align-items:center;gap:10px}.cart-item footer button{width:26px;height:26px;border:0;border-radius:7px;background:#edf2eb;color:var(--g);font-size:18px}.fees{margin:12px;padding:12px 14px;border-radius:10px;background:#fff}.fees div{display:flex;justify-content:space-between;padding:7px 0;font-size:13px}.fees p{margin:8px 0 0;padding-top:10px;border-top:1px solid var(--line);color:#999f9a;font-size:11px}.checkout{position:fixed;z-index:20;bottom:0;left:50%;display:flex;align-items:center;justify-content:space-between;width:min(480px,100%);padding:10px 15px calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);border-top:1px solid var(--line);background:#fff}.checkout b{color:var(--o);font-size:21px}.checkout button{border:0;border-radius:21px;padding:11px 33px;background:var(--o);color:#fff;font-weight:800}.profile{display:flex;gap:11px;align-items:center;margin:13px;padding:15px;border-radius:12px;background:linear-gradient(135deg,#1d533f,#4c956e);color:#fff}.profile>div{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#e3f0c9;color:var(--g);font-size:22px;font-weight:900}.profile main{flex:1}.profile h2{margin:0;font-size:18px}.profile p{margin:5px 0 0;color:#d2e5d4;font-size:11px}.profile>b{padding:5px 7px;border-radius:10px;background:#ffffff28;font-size:11px}.belong{margin:0 13px;padding:13px;border-radius:10px;background:#fff1e9}.belong span{color:#a27760;font-size:11px}.belong>b{display:block;margin-top:4px;color:#70432e;font-size:18px}.belong p{margin:5px 0 0;color:#a8806b;font-size:11px;line-height:1.6}.menu{margin:13px;border-radius:11px;background:#fff;overflow:hidden}.menu button{display:flex;align-items:center;width:100%;padding:14px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}.menu button:last-child{border:0}.menu i{width:29px;color:var(--o);font-size:22px;font-style:normal}.menu span{flex:1;margin-left:7px;font-size:14px}.menu small{display:block;margin-top:3px;color:#999f9a;font-size:11px}.menu>b{color:#a2a9a3}.order{margin-bottom:10px;padding:12px;border-radius:10px;background:#fff}.order header,.order footer{display:flex;justify-content:space-between;align-items:center}.order header{height:auto;padding:0;border:0}.order header span{font-size:12px}.order header b{color:var(--o);font-size:12px}.order p{margin:9px 0;color:#5d6760;font-size:12px}.order footer{padding-top:8px;border-top:1px solid var(--line)}.order small{color:#9aa19c;font-size:10px}.order footer b{color:var(--o);font-size:14px}.sub{padding:12px}.service,.create{border:1px solid var(--o);border-radius:15px;padding:6px 10px;background:#fff;color:var(--o);font-size:12px}.create{width:100%;padding:10px}.after{margin:10px 0;padding:14px;border-radius:10px;background:#fff}.after header{display:flex;justify-content:space-between;height:auto;padding:0;border:0}.after header span{color:var(--o);font-size:12px}.after p{margin:10px 0;color:#59635e;font-size:13px}.after small{color:#969d98;font-size:11px}.after-form{display:grid;gap:9px;margin:10px 0;padding:14px;border-radius:11px;background:#fff3ed}.after-form h3{margin:0}.after-form select,.after-form textarea,.after-form input{border:1px solid #ecd9cf;border-radius:8px;padding:9px;background:#fff}.after-form button{border:0;border-radius:8px;padding:10px;background:var(--o);color:#fff}.modal{position:fixed;z-index:30;inset:0;display:grid;align-items:end;background:#0007}.modal form{width:min(480px,100%);padding:18px 15px calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#fff}.modal header{display:flex;align-items:center;justify-content:space-between}.modal h2{margin:0}.modal header button{border:0;background:none;color:#8e958f;font-size:28px}.summary{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0;padding:12px;border-radius:10px;background:#f4f6f2;color:#69736d;font-size:13px}.modal input,.modal textarea{display:block;width:100%;margin-top:9px;border:1px solid var(--line);border-radius:9px;padding:11px}.modal form>button{width:100%;margin-top:13px;border:0;border-radius:22px;padding:13px;background:var(--o);color:#fff;font-size:16px;font-weight:800}
