/* Reference-led app layouts: mobile-first page headers, home, catalogue and account. */
#main{padding-top:0}
.page-top{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:#173b2a}

.brand-mark{font-size:23px;font-weight:800;letter-spacing:-.5px;display:flex;align-items:center;gap:5px}.brand-mark span{font-size:28px;color:#eaf3a6;text-shadow:0 1px 8px #e5c66a}
.top-actions{display:flex;gap:16px}.top-actions button,.page-top button{position:relative;border:0;background:transparent;color:#173b2a;font-size:28px;line-height:1;padding:5px}.top-actions i{position:absolute;width:8px;height:8px;background:#f21e28;border:1px solid white;border-radius:50%;right:2px;top:2px}
.hero{background-image:linear-gradient(90deg,rgba(0,28,21,.18),rgba(0,28,21,0)),url('/one-yuan-banner.png');background-position:center;background-size:cover;border-radius:0 0 22px 22px;min-height:184px;padding:20px 22px}.hero>div:first-child{max-width:72%}.hero h1{font-size:30px;font-style:italic;text-shadow:0 2px 7px #003522}.hero p{font-size:14px;line-height:1.55}.hero-cta,.promo-panel button{border:0;border-radius:24px;background:linear-gradient(180deg,#ffe477,#f7b921);color:#382600;font-weight:800;padding:9px 15px;min-height:40px;box-shadow:0 3px 8px #031d1940}
.trust-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 2px 14px;padding:10px 3px;border:1px solid #eee5dc;border-radius:17px;background:#fffdf9;box-shadow:0 2px 6px #34241c12}.trust-strip div{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;border-right:1px solid #e8e3db;text-align:center}.trust-strip div:last-child{border:0}.trust-strip span{font-size:21px;color:#087b36}.trust-strip b{font-size:10px;line-height:1.25;color:#18211d;white-space:normal}
.promo-panel{display:flex;align-items:center;gap:10px;margin:0 2px 18px;padding:12px 10px;border:1px solid #f1b550;border-radius:17px;background:linear-gradient(110deg,#fff3d1,#ffd48b 60%,#fff0c9);box-shadow:0 3px 8px #6b390922}.promo-icon{font-size:35px;filter:drop-shadow(0 2px 2px #a6633c44)}.promo-panel>div:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.promo-panel small{color:#a3301f;font-weight:800}.promo-panel strong{font-size:13px;line-height:1.3}.promo-panel span{font-size:10px;color:#67523a}.promo-panel button{font-size:11px;white-space:nowrap;padding:7px 10px;min-height:36px}
.home-section-title{display:flex;align-items:center;justify-content:space-between;padding:0 3px 8px}.home-section-title h2{margin:0;font-size:20px}.home-section-title button{border:0;background:none;font-weight:700;color:#1d2a22;white-space:nowrap}.home-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mini-product{min-width:0;position:relative;border:1px solid #e8dfd3;border-radius:13px;background:#fffaf3;padding:7px 6px 8px;box-shadow:0 2px 5px #19291017;text-align:center}.mini-tag{position:absolute;z-index:1;top:5px;left:4px;padding:3px 6px;border-radius:9px 4px 8px 4px;background:#f1491f;color:white;font-size:9px;font-weight:800}.mini-art{display:flex;width:100%;aspect-ratio:1/1;align-items:end;justify-content:center;border:0;border-radius:9px;background:radial-gradient(circle at 50% 48%,#438c46,#07502f 70%,#003321);background-position:center;background-size:cover;color:white;padding:5px}.mini-art.demo-product-art{background-image:url('/demo-product.jpg')}.placeholder-label{font-size:9px;text-shadow:0 1px 3px #001a0d;background:#003d2acc;padding:3px 5px;border-radius:6px}.mini-product h3{font-size:12px;line-height:1.25;min-height:2.5em;margin:6px 0 3px;overflow-wrap:anywhere}.mini-product>small{display:block;font-size:9px;color:#657064}.home-value{display:block;color:#c5262d;font-size:16px;font-variant-numeric:tabular-nums;line-height:1.25}.mini-price{margin-top:6px;width:100%;min-height:31px;border:0;border-radius:18px;background:linear-gradient(#ff4b3c,#d91410);color:white;font-weight:800;font-size:11px;box-shadow:0 2px 4px #651b1836}.home-catalog-link{margin:12px 0}.home-catalog-link .wide{width:100%;min-height:44px}.home-disclaimer{font-size:11px;line-height:1.5;padding-bottom:10px}
.catalog-top{width:100%;display:flex;align-items:center;justify-content:space-between}.catalog-top h1{font-size:24px;margin:0}.catalog-controls{margin:0 -5px 12px;padding:10px 5px 0}.catalog-search{height:44px;display:flex;align-items:center;gap:9px;margin-bottom:11px;border:1px solid #ddd7cf;border-radius:22px;padding:0 15px;background:#fff;box-shadow:0 2px 5px #26361c12}.catalog-search span{font-size:26px;line-height:1}.catalog-search input{width:100%;border:0;outline:0;background:transparent;padding:0;font-size:14px;box-shadow:none}.category-chips{display:flex;gap:7px;overflow:auto;margin:0 -5px 9px;padding:0 5px 2px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chips button{flex:0 0 auto;min-width:56px;height:46px;border:1px solid #e8e1d7;border-radius:15px;background:#fffaf4;color:#17211b;font-weight:700;box-shadow:0 2px 5px #34241c12}.category-chips button.active{background:#087b35;color:white;border-color:#087b35;box-shadow:0 3px 7px #087b3540}.order-filters{gap:7px}.order-filters button{font-size:12px;padding:7px 14px}.catalog-grid{gap:9px!important}.catalog-grid .card{background:#fffaf4}.catalog-grid .cardbody .wide{background:linear-gradient(#ff4b3c,#d91410);color:white;border:0;border-radius:22px;font-size:12px;min-height:40px;box-shadow:0 2px 5px #651b1836}
.account-top{justify-content:flex-end}.account-top button{font-size:26px}.account-hero{margin:0 -14px;padding:20px 18px 25px;color:#173b2a;position:relative}.account-profile{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.avatar{flex:none;width:64px;height:64px;border:2px solid #f0db91;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#f8e5bf,#a67a52);color:white;font-size:26px;font-weight:800;box-shadow:0 2px 8px #00231550}.account-profile>div:nth-child(2){min-width:0;flex:1}.account-profile h1{font-size:19px;line-height:1.25;margin:0 0 3px;overflow-wrap:anywhere}.account-profile p{font-size:12px;margin:0;color:#e0f5e5}.chevron{font-size:28px;line-height:1;color:#17211a}.account-profile .chevron{color:#24543d}.account-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);margin:-10px 0 12px;padding:12px 4px;background:#fffaf4;border:1px solid #eee4d9;border-radius:18px;box-shadow:0 3px 9px #1a33211c}.account-stats button{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;border-right:1px solid #e7e0d8;background:transparent;color:#142019}.account-stats button:last-child{border:0}.account-stats button span{font-size:21px;color:#078238}.account-stats strong{font-size:20px;line-height:1.1}.account-stats small{font-size:10px;font-weight:700}.account-menu{padding:0 15px;margin:0 0 16px;border:1px solid #ece3d9;border-radius:17px;background:#fffaf4;box-shadow:0 2px 7px #19291013}.account-menu .account-row{display:flex;align-items:center;gap:12px;min-height:52px;padding:7px 1px;color:#121917;font-size:14px}.account-menu .account-row:last-child{border:0}.menu-icon{width:25px;text-align:center;font-size:21px;color:#17221c}.account-menu .account-row strong{flex:1}.account-menu .row-value{font-size:12px;color:#087934}.signout-button{width:100%;min-height:47px;margin:6px 0 17px;border:1px solid #e33a25;border-radius:15px;background:transparent;color:#cb271c;font-size:15px;font-weight:800}.login-button{border-color:#087b35;color:#087b35}.account-note{text-align:center;margin:0 0 20px;padding:12px 9px;border-radius:14px;background:linear-gradient(#fff0c8,#ffda88);color:#5e4115;font-size:11px;font-weight:700}
.orders-top{justify-content:space-between}.orders-top h1{margin:0;font-size:23px}.orders-top button{border:1px solid #ffffffb0;border-radius:50%;width:36px;height:36px;font-size:19px}.orders-banner{margin:0 -14px 14px;min-height:87px;border-radius:0 0 18px 18px;padding:15px 18px 16px;color:#173b2a;position:relative}.orders-banner h2{margin:0 0 4px;font-size:21px}.orders-banner p{margin:0;font-size:12px}.orders-banner b{position:absolute;right:22px;top:12px;font-size:44px;color:#f4d777}.order{border-radius:16px;background:#fffaf4;overflow:hidden;margin:10px 0;box-shadow:0 2px 7px #19301a15}.order-heading{display:flex;justify-content:space-between;gap:8px;padding:9px 11px;background:#f4f5ec;font-size:11px}.order-heading code{font-size:11px}.order .order-item{display:flex;gap:10px;padding:10px;border-bottom:1px solid #eee7df}.order-thumb{width:82px;height:82px;flex:none;border-radius:12px;background:radial-gradient(circle at 50% 46%,#65a866,#075331 68%,#003522);display:grid;place-items:center;color:#fff4c0;font-size:25px}.order-item-info{min-width:0;flex:1}.order-item-info h3{font-size:14px;margin:1px 0 4px;line-height:1.3}.order-item-info p{font-size:11px;margin:3px 0}.order-bottom{padding:7px 10px}.order-bottom .status-line{display:flex;align-items:center;justify-content:space-between;min-height:30px;border-bottom:1px solid #eee8e0;font-size:12px}.order-bottom .status-line:last-child{border-bottom:0}.order-bottom .badge{float:none;border-radius:20px;padding:4px 11px;background:#f7ebcd;color:#795416}.order-bottom .badge.good{background:#d7f0d2;color:#17642a}.orders-filters{display:flex;gap:8px;overflow-x:auto;margin:10px 0 12px}.orders-filters button{height:39px;min-width:75px;border:1px solid #ddd8d0;border-radius:22px;background:#fffaf4;color:#1b211c;font-weight:700;white-space:nowrap}.orders-filters button.active{background:#087a34;color:white;border-color:#087a34}
@media(max-width:350px){.hero{padding-left:16px;padding-right:14px;min-height:168px}.hero h1{font-size:26px}.promo-panel{gap:6px;padding:9px 7px}.promo-panel strong{font-size:11px}.promo-panel button{font-size:10px;padding:6px 7px}.home-products{gap:5px}.mini-product{padding:5px 4px}.mini-product h3{font-size:11px}.mini-price{font-size:10px}.account-stats{padding:10px 1px}.account-menu{padding-inline:11px}}
.guest-orders{margin-top:14px;padding:27px 18px;border:1px solid #ece3d9;border-radius:17px;background:#fffaf4;text-align:center;box-shadow:0 2px 7px #19301a15}.guest-icon{font-size:37px;color:#14853e}.guest-orders h2{font-size:17px;margin:9px 0 4px}.guest-orders p{font-size:12px;color:#657064;margin:0 0 15px}.guest-orders button{min-height:43px;min-width:150px;border:0;border-radius:23px;background:#087b35;color:#fff;font-weight:800}
.catalog-page-top h1{font-size:24px;margin:0}.catalog-page-top button{font-size:29px}.catalog-hero{position:relative;overflow:hidden;margin:0 -14px 12px;padding:18px 20px;min-height:72px;background:linear-gradient(115deg,#003c25,#087743);color:#fff}.catalog-hero:after{content:'';position:absolute;right:-15px;bottom:-42px;width:220px;height:80px;border-top:1px solid #65d79b;transform:rotate(-10deg)}.catalog-hero h2{margin:0 0 3px;font-size:23px}.catalog-hero p{margin:0;font-size:12px}.catalog-hero>span{position:absolute;right:19px;top:10px;font-size:43px;color:#f5d77d}.catalog-count{display:flex;justify-content:space-between;padding:2px 0 8px;font-size:13px}.catalog-count span{font-size:11px;color:#6d766f}.catalog-grid .card{padding:7px}.catalog-grid .catalog-art{width:100%;aspect-ratio:1/1;position:relative;display:flex;align-items:end;justify-content:center;padding:7px;border:0;border-radius:10px;background:radial-gradient(circle at 50% 45%,#387f44,#07502f 70%,#003522);background-position:center;background-size:cover;color:#fff}.catalog-grid .catalog-art.demo-product-art{background-image:url('/demo-product.jpg')}.catalog-grid .catalog-art .mini-tag{top:5px;left:5px}.catalog-grid .placeholder-label{margin-bottom:3px}.catalog-grid .cardbody{padding:7px 1px 1px}.catalog-grid .cardbody h3{font-size:13px;min-height:2.6em;margin-bottom:2px}.catalog-description{font-size:10px;line-height:1.35;height:2.7em;overflow:hidden;margin:1px 0 4px;color:#4b554c}.catalog-grid .value-box{background:#fff0cf}.catalog-grid .unit-line{font-size:11px;margin:4px 0;font-weight:800;color:#bd2118}.catalog-progress-label{font-size:9px;margin:2px 0;color:#4c554e}.catalog-grid .progress{height:8px}.catalog-footnote{font-size:10px;line-height:1.45;color:#69736a;margin:12px 0 20px}
.account-hero{overflow:hidden}.top-actions button{width:32px;height:34px;padding:4px}.top-actions svg,.catalog-page-top svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.catalog-page-top button{display:grid;place-items:center}
