:root{--green:#153e2f;--green2:#24734d;--mint:#e8f4e9;--lime:#d8ebb8;--cream:#f7f9f5;--text:#17382a;--muted:#74877b;--line:#e4ebe3;--white:#fff;--shadow:0 14px 35px rgba(27,55,35,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.65 'Noto Sans Thai','DM Sans',sans-serif;background:var(--cream);color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit}img{max-width:100%;display:block}.hidden{display:none!important}:focus-visible{outline:3px solid #6cc69a;outline-offset:3px}.layout{min-height:100vh;display:grid;grid-template-columns:254px minmax(0,1fr)}.sidebar{background:linear-gradient(160deg,#1c4b36,#103627);color:#c6dac9;height:100vh;position:sticky;top:0;padding:26px 18px 15px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:12px;margin-bottom:33px}.brand-mark{width:46px;height:46px;border-radius:16px;background:#ddf0c2;color:var(--green);font-size:32px;text-align:center;line-height:46px;flex-shrink:0}.brand strong{color:white;display:block;font:800 14px/1.3 'DM Sans',sans-serif;letter-spacing:.5px}.brand small{display:block;margin-top:4px;color:#9fc5a9;font:700 9px 'DM Sans';letter-spacing:2px}.side-label{color:#8eb79b;font:800 10px 'DM Sans';letter-spacing:1.9px;margin:7px 12px 12px}.sidebar nav{display:grid;gap:5px;margin-bottom:22px}.nav-item{color:#c8d8cb;border:0;background:transparent;width:100%;text-align:left;padding:11px 13px;display:flex;align-items:center;gap:12px;border-radius:13px;font-weight:600}.nav-item span{font:700 24px/1 'DM Sans';width:22px;text-align:center}.nav-item:hover{background:#ffffff14;color:white}.nav-item.selected{background:#e0f0c5;color:#16462d;font-weight:800}.side-grow{flex:1}.sidebar-card{background:#ffffff13;border:1px solid #ffffff1e;border-radius:20px;padding:17px;color:white}.sidebar-card .icon{display:block;font-size:30px;margin-bottom:9px}.sidebar-card strong{font-size:13px}.sidebar-card p{font-size:11px;color:#c6dacc;line-height:1.7}.sidebar-card button{border:0;background:#e4f0d0;color:#1d5938;padding:10px;border-radius:11px;font-weight:800;width:100%}.sidebar-foot{font-size:10px;color:#89af96;margin:18px 4px 0}.main-shell{min-width:0}.header{height:82px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.8);backdrop-filter:blur(18px);padding:0 clamp(20px,3vw,46px);display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:25}.header-left,.header-right{display:flex;align-items:center;gap:11px}.header-left{font-size:12px}.crumb{color:#9baa9e;letter-spacing:1.2px}.crumb-separator{color:#a6b6a9}.header-right{white-space:nowrap}.mode{font:800 10px 'DM Sans';padding:7px 11px;border-radius:99px;background:#e4f4e8;color:#35845a;letter-spacing:.5px}.icon-button{background:#fff;border:1px solid var(--line);border-radius:11px;width:39px;height:39px;color:#356449;font-size:20px}.cart-top{background:#fff;border:1px solid var(--line);border-radius:11px;padding:9px 13px;font-weight:700}.cart-top span{background:#d9eecb;color:#296345;padding:2px 7px;border-radius:99px}.account-button{background:var(--green);color:white;border:0;border-radius:11px;padding:11px 16px;font-weight:800}.mobile-menu{display:none}.content{max-width:1540px;margin:auto;padding:28px clamp(20px,3vw,46px) 50px;min-height:calc(100vh - 154px)}.eyebrow{color:#549b6d;font:800 11px 'DM Sans';letter-spacing:2px;text-transform:uppercase}.heading{display:flex;justify-content:space-between;gap:15px;align-items:end;margin:0 0 20px}.heading h1{font-size:clamp(22px,2.5vw,32px);line-height:1.36;margin:6px 0 4px}.heading p{margin:0;color:var(--muted);font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:13px;padding:11px 17px;font-weight:800;font-size:12px;transition:.2s;text-decoration:none}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--green);color:white}.btn.soft{background:var(--mint);color:#26704c}.btn.light{background:#fff;color:var(--green);border-color:var(--line)}.btn.white{background:white;color:var(--green)}.btn.full{width:100%}.btn.small{padding:7px 12px;border-radius:9px;font-size:11px}.hero{border-radius:26px;min-height:332px;background:#23533c;position:relative;overflow:hidden;color:white;display:flex;box-shadow:var(--shadow)}.hero:before{content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff22;background:#dcefc511;border-radius:50%;left:30%;top:-200px}.hero-left{width:59%;padding:38px 35px 34px 42px;position:relative;z-index:2}.hero-kicker{font:700 10px 'DM Sans';letter-spacing:2px;color:#d8f6bd}.hero h2{font-size:clamp(27px,3.5vw,43px);line-height:1.35;margin:14px 0}.hero h2 em{font-style:normal;color:#d8f6bd}.hero p{font-size:12px;line-height:1.95;color:#d8e8d8;max-width:460px}.hero-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.hero-img{position:absolute;inset:0 0 0 55%;background:radial-gradient(circle at 40% 40%,#79a36f,#1e553d);overflow:hidden}.hero-img:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#23533c 0%,transparent 47%);z-index:1}.hero-img img{width:100%;height:100%;object-fit:cover}.float-card{position:absolute;bottom:21px;right:22px;z-index:2;background:white;color:#2c533b;border-radius:16px;padding:12px 18px;box-shadow:0 15px 30px #0003;font-size:11px;font-weight:800}.float-card small{display:block;color:#8c9e90;font-weight:500}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0 28px}.stat{background:white;border:1px solid var(--line);border-radius:17px;padding:17px 18px;display:flex;gap:12px;align-items:center}.stat-icon{background:#e5f5e9;border-radius:13px;width:44px;height:44px;display:grid;place-items:center;font-size:21px;flex-shrink:0}.stat span{display:block;color:var(--muted);font-size:10px}.stat strong{font:800 23px 'DM Sans','Noto Sans Thai';line-height:1.3}.section-row{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:24px 0 15px}.section-row h2{font-size:19px;margin:0}.section-row p{font-size:11px;color:var(--muted);margin:4px 0 0}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 9px 21px #173f2b06;display:flex;flex-direction:column}.product-photo{height:160px;position:relative;overflow:hidden;background:#e5ecdc;display:flex;align-items:center;justify-content:center;font-size:66px}.product-photo img{width:100%;height:100%;object-fit:cover}.pill{position:absolute;top:11px;left:11px;background:#fffef1;box-shadow:0 4px 12px #0001;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:800}.product-body{padding:14px;display:flex;flex-direction:column;gap:7px;flex:1}.product-body h3{margin:0;font-size:13px;line-height:1.4}.muted{color:var(--muted)}.product-farm{font-size:10px;color:var(--muted)}.product-stock{font-size:10px;color:#4d996a}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.product-price{font:800 23px 'DM Sans';color:#1c7449;white-space:nowrap}.product-price small{font:600 10px 'Noto Sans Thai';color:#7f9686}.quick-add{width:36px;height:36px;background:var(--green);color:white;border:0;border-radius:11px;font-size:22px}.empty{padding:35px;text-align:center;color:var(--muted);border:1px dashed #cddccf;border-radius:18px;background:white}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.search,.field,select.field,textarea.field{width:100%;background:#fff;border:1px solid #dce7dd;border-radius:11px;padding:11px 13px;color:var(--text);outline:none}.search{max-width:380px}.search:focus,.field:focus{border-color:#63ac7f;box-shadow:0 0 0 3px #e0f4e8}.chip{padding:8px 12px;border:1px solid #dfe8de;background:#fff;border-radius:99px;color:#4c715a;font-size:11px;font-weight:700}.chip.active{background:var(--green);color:white;border-color:var(--green)}.cards2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.panel{background:white;border:1px solid var(--line);border-radius:19px;padding:19px;box-shadow:0 10px 30px #0d39280a}.panel h3{margin:0 0 13px;font-size:17px}.panel p{color:var(--muted);font-size:12px}.field-wrap{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.field-wrap label{font-size:12px;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.tip{padding:13px;background:#f0f7ed;border-radius:12px;color:#386747;font-size:11px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.badged{border-radius:22px;padding:5px 9px;background:#e9f4e8;color:#327b51;font-size:10px;font-weight:800}.warning{background:#fff4e6;color:#aa7028}.danger{background:#fff0ef;color:#aa4038}.buyer-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.buyer-card h3{margin:6px 0 8px;font-size:15px}.buyer-card p{font-size:11px;color:var(--muted)}.buyer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.price{font-size:19px;font-weight:800;color:#25774c}.story-card{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}.story-cover{height:185px;background:linear-gradient(35deg,#184d36,#91b784);display:flex;align-items:center;justify-content:center;font-size:75px}.story-cover img{width:100%;height:100%;object-fit:cover}.story-detail{padding:18px}.story-detail h3{margin:6px 0}.story-detail p{margin:6px 0;color:var(--muted);font-size:12px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.data-table th{color:#87988b;background:#f8faf7;font-size:10px;white-space:nowrap}.data-table td,.data-table th{padding:13px 10px;border-bottom:1px solid var(--line)}.data-table tr:last-child td{border:0}.data-table select{max-width:170px}.mini-bars{height:160px;display:flex;align-items:end;gap:11px;border-bottom:1px solid #c7ddca;margin-top:25px}.bar-group{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:flex-end;height:100%}.bar{width:min(45px,70%);border-radius:7px 7px 0 0;background:linear-gradient(#76be85,#2b8654);min-height:3px}.bar-group span{font-size:10px;color:#92a397}.footnote{padding:12px 24px 20px;text-align:center;color:#93a599;font-size:10px}.bottomnav{display:none}.shade,.modal-layer{position:fixed;inset:0;background:#0c211f78;z-index:80}.modal-layer{display:grid;place-items:center;padding:15px;overflow:auto}.modal-box{background:white;border-radius:22px;max-width:600px;width:100%;max-height:88vh;overflow:auto;padding:22px;box-shadow:0 30px 70px #0004}.modal-box h2{font-size:21px;margin:0 0 7px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.close{border:0;background:#f2f5ef;width:33px;height:33px;border-radius:9px;color:#5f7f67;font-weight:800;font-size:21px}.cart-panel{position:fixed;right:0;top:0;bottom:0;z-index:90;background:white;width:min(430px,100vw);padding:24px;overflow:auto;box-shadow:-25px 0 55px #10271d29;display:flex;flex-direction:column}.cart-line{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:9px}.q-btn{border:1px solid var(--line);background:white;border-radius:8px;width:30px;height:30px;font-size:17px}.cart-panel .bottom{margin-top:auto;padding-top:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#174531;color:white;padding:11px 19px;border-radius:13px;box-shadow:0 12px 45px #0003;z-index:120;font-size:12px}.mapbox{height:440px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#edf4e5}.qrbox{width:190px;height:190px;margin:14px auto;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px}.right{text-align:right}.mt{margin-top:15px}.mb{margin-bottom:12px}.alert{color:#ab593b;background:#fff1e9;border-radius:10px;padding:11px;font-size:11px;margin-top:10px}.success{color:#276e4b;background:#e7f6ea;border-radius:10px;padding:11px;font-size:11px;margin-top:10px}.loading{padding:60px;color:var(--muted);text-align:center}body.show-menu .sidebar{transform:translateX(0)}@media(max-width:1240px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:950px){.layout{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:255px;transform:translateX(-100%);transition:transform .2s}.mobile-menu{display:block}.content{padding:23px 22px 90px}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -10px 35px #0001;z-index:35;justify-content:space-around;padding:9px 5px max(9px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.bottomnav button{border:0;background:none;color:#567d65;font-size:24px;line-height:1}.bottomnav span{display:block;font-size:9px;margin-top:5px}.footnote{display:none}}@media(max-width:650px){.header{height:69px;padding:0 14px}.header-left{font-size:10px}.crumb,.crumb-separator{display:none}.header-right{gap:6px}.mode{font-size:9px;padding:5px 8px}.header-right .icon-button{display:none}.cart-top{font-size:11px;padding:7px 9px}.account-button{padding:9px 10px;font-size:10px}.content{padding:17px 15px 92px}.hero{min-height:390px}.hero-left{width:100%;padding:25px 23px;align-self:flex-start}.hero h2{font-size:29px;max-width:320px}.hero p{max-width:290px}.hero-img{inset:38% 0 0 30%;opacity:.43}.hero-img:before{background:linear-gradient(180deg,#23533c 0%,transparent 80%)}.float-card{display:none}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:120px}.product-body{padding:11px}.product-body h3{font-size:11px}.product-price{font-size:18px}.stats{gap:9px}.stat{padding:13px;gap:9px}.stat-icon{width:33px;height:33px;font-size:16px}.stat strong{font-size:19px}.stat span{font-size:9px}.cards2,.cards3,.form-grid{grid-template-columns:1fr}.heading{align-items:start}.heading h1{font-size:23px}.section-row h2{font-size:17px}.modal-box{padding:16px}}

.hero-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:155px;opacity:.8}.hero-img img{position:absolute;inset:0;z-index:1}.hero-img:before{z-index:2}

/* V4 premium Ban Phai design: generated illustrative imagery, live HTML controls. */
:root{--cream:#f9faf4;--green:#103f2c;--green2:#18774e;--line:#e6ebe0;--shadow:0 18px 40px rgba(34,64,43,.07)}
.content{padding-top:24px}
.home-hero{position:relative;display:grid;grid-template-columns:1.15fr .85fr;min-height:390px;border-radius:29px;overflow:hidden;color:#133b2b;background:linear-gradient(115deg,#eaf5de 0%,#f6f6e7 50%,#dfedc9 100%);box-shadow:0 15px 45px rgba(29,78,48,.09);isolation:isolate}
.home-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 74% 58%,rgba(136,169,106,.27),transparent 45%),linear-gradient(135deg,#ffffffbb 1%,transparent 48%);z-index:-1}
.home-hero-copy{z-index:2;padding:39px clamp(23px,3.7vw,56px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.hero-identity{font-size:16px;font-weight:800;color:#226642;margin-bottom:14px;transform:rotate(-1deg)}
.home-hero .hero-kicker{font-size:10px;letter-spacing:2.4px;color:#488c62}
.home-hero h1{font-size:clamp(38px,4.4vw,64px);line-height:1.16;letter-spacing:-1.2px;margin:10px 0 12px;color:#153e2a;font-weight:800}
.home-hero h1 strong{color:#12613b}
.hero-highlight{background:#155e3d;color:#f1f9db;font-weight:800;font-size:clamp(15px,2vw,23px);border-radius:12px 19px 10px 17px;padding:7px 17px;display:inline-block;transform:rotate(-1deg)}
.home-hero p{max-width:560px;font-size:13px;line-height:1.9;color:#526f5b;margin:17px 0 3px}
.home-hero .hero-buttons{margin-top:21px;gap:12px}
.home-hero .btn{padding:12px 17px;border-radius:999px;font-size:12px;box-shadow:0 4px 15px rgba(28,67,44,.07)}
.home-hero .btn.white{color:#fff;background:#155b3d;border-color:#145738}
.home-hero .btn.soft{color:#1c5a3b;background:white;border:1px solid #d7e5d2}
.home-hero-visual{position:relative;display:flex;align-items:flex-end;justify-content:center;min-height:390px;overflow:hidden;background:linear-gradient(150deg,#a9c998,#4f8052)}
.home-hero-visual:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#e5f0d8 0%,transparent 29%),linear-gradient(0deg,#133e2a86 0%,transparent 33%)}
.home-hero-visual img{height:100%;width:100%;object-fit:cover;object-position:center 33%;filter:saturate(1.06)}
.hero-image-note{position:absolute;z-index:2;right:18px;bottom:20px;font-size:10px;line-height:1.5;text-align:right;padding:10px 13px;background:#fffffff0;border-radius:15px;color:#346b4a}
.hero-image-note strong{font-size:13px;color:#174b32}
.home-stats{gap:0;margin:0 0 36px;border-radius:0 0 23px 23px;background:#fff;box-shadow:0 14px 35px #173f2c0a;overflow:hidden;padding:12px}
.home-stats .stat{border:0;border-right:1px solid #edf0e8;border-radius:0;padding:16px}
.home-stats .stat:last-child{border:0}
.home-stats .stat-icon{border-radius:50%;width:46px;height:46px;background:#eaf5e5}
.home-stats .stat strong{font-size:24px;word-break:break-word}
.home-stats .stat-money{font-size:clamp(17px,2vw,23px)}
.section-eyebrow{font-size:10px;font-weight:800;letter-spacing:2.5px;color:#4c9568}
.market-title{margin-top:34px}
.market-title h2{font-size:23px;margin-top:3px}
.home-products .product{border:0;box-shadow:0 9px 25px #224d2a14;border-radius:19px}
.home-products .product-photo{height:180px}
.home-products .product-photo img{object-fit:cover}
.home-products .product-body{padding:15px}
.home-products .product-price{color:#135b39}
.home-products .quick-add{background:#135338;border-radius:11px}
.home-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:27px 0 18px}
.home-feature-grid article{border-radius:23px;overflow:hidden;min-height:250px;position:relative}
.farmer-story-teaser{background:#204c34;color:#fff;display:grid;grid-template-columns:47% 53%}
.farmer-story-teaser>img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.farmer-story-copy{z-index:2;background:linear-gradient(90deg,#194630,#174731);padding:24px 19px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.farmer-story-copy>span,.farm-map-teaser>div>span{font-size:11px;font-weight:800;color:#cde7ba}
.home-feature-grid h2{font-size:20px;line-height:1.35;margin:13px 0}
.home-feature-grid p{font-size:11px;line-height:1.8;margin:0 0 16px;color:#d4e2d1}
.farm-map-teaser{background:linear-gradient(140deg,#edf5e6,#d7e8ce);display:grid;grid-template-columns:1fr 38%;color:#18492d}
.farm-map-teaser>div{position:relative;z-index:1;padding:28px 12px 20px 25px}
.farm-map-teaser>div>span{color:#447956}
.farm-map-teaser p{color:#62806e}
.farm-map-teaser>img{width:100%;height:100%;object-fit:cover;object-position:center}
.home-demo-disclaimer{font-size:11px;color:#8c9589;text-align:center;margin:16px 0}
.brand-header{font:800 13px 'DM Sans',sans-serif;color:#1f6040;letter-spacing:.5px}
.brand-header-sub{font:700 10px 'DM Sans',sans-serif;letter-spacing:1.5px;margin-left:5px;color:#89a68e}
.bottomnav button:nth-child(3){background:#164c35;color:#fff;width:58px;height:58px;border-radius:50%;font-size:28px;transform:translateY(-21px);box-shadow:0 9px 24px #103f2c42;flex-shrink:0;position:relative}
.bottomnav button:nth-child(3) span{position:absolute;top:68px;color:#245337;width:90px;left:50%;transform:translateX(-50%);font-weight:800}
@media(max-width:1240px){.home-hero{grid-template-columns:55% 45%}.home-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.home-stats .stat{gap:8px;padding:12px}.home-stats .stat strong{font-size:20px}.home-stats .stat-icon{width:38px;height:38px}}
@media(max-width:760px){.home-hero{grid-template-columns:1fr;display:flex;flex-direction:column;min-height:auto;border-radius:23px}.home-hero-copy{padding:25px 23px 22px}.home-hero-visual{min-height:275px;max-height:325px}.home-hero-visual:before{background:linear-gradient(0deg,#24472f66,transparent 60%)}.home-hero h1{font-size:clamp(32px,7vw,45px)}.hero-identity{font-size:14px;margin-bottom:8px}.home-hero p{font-size:12px;margin-top:15px}.home-hero .hero-buttons{flex-wrap:nowrap;width:100%;gap:8px}.home-hero .hero-buttons button{flex:1;padding:10px 8px;font-size:11px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:0 0 18px 18px;padding:9px}.home-stats .stat{padding:11px 9px}.home-stats .stat:nth-child(2){border-right:0}.home-stats .stat:nth-child(-n+2){border-bottom:1px solid #edf0e8}.home-stats .stat-icon{width:35px;height:35px;font-size:18px}.home-stats .stat strong{font-size:20px}.home-feature-grid{grid-template-columns:1fr}.farmer-story-teaser{grid-template-columns:41% 59%}.farm-map-teaser{min-height:225px}.market-title h2{font-size:19px}.home-products .product-photo{height:135px}.home-products .product-body{padding:11px}.brand-header-sub{display:none}.bottomnav{padding-bottom:max(9px,env(safe-area-inset-bottom))}.bottomnav button{flex:1}.bottomnav button:nth-child(3){flex:0 0 58px}}
@media(max-width:390px){.home-hero h1{font-size:31px}.hero-highlight{font-size:14px}.home-hero .hero-buttons button{font-size:10px}.stat span{font-size:9px}}

/* Premium clean refinement: real controls over locally hosted imagery. */
body{background:#faf9f3}
.home-hero{grid-template-columns:60% 40%;min-height:460px;background:linear-gradient(95deg,#faf9efed,#eef3dcba),url('./assets/generated/farm-landscape.webp') center/cover}
.home-hero-copy{padding:38px 30px}
.home-hero h1{font-size:clamp(30px,3.3vw,53px);line-height:1.4;letter-spacing:-1.5px;white-space:nowrap}
.hero-identity{border-bottom:2px solid #2c7845;padding-bottom:5px}
.home-hero-visual{min-height:460px;background:transparent}
.home-hero-visual img{position:absolute;inset:0;object-position:50% 20%}
.home-hero-visual:before{background:linear-gradient(90deg,#eff3df 0%,transparent 25%)}
.hero-highlight{border-radius:4px 22px 7px 17px;background:linear-gradient(100deg,#145936,#488d37);font-size:clamp(15px,1.8vw,25px)}
.home-stats{position:relative;z-index:3;margin-top:-14px;border-radius:27px;padding:14px;background:#fffef8;box-shadow:0 12px 36px #234a2310}
.home-stats .stat:nth-child(2) .stat-icon{background:#faf0d9}
.home-stats .stat:nth-child(3) .stat-icon{background:#fff0cd}
.home-stats .stat:nth-child(4) .stat-icon{background:#e2eefb}
.home-products{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-products .product-photo{height:auto;aspect-ratio:1.12}
.product-photo img{width:100%;height:100%;object-fit:cover;display:block}
.product-photo img[src*="/generated/"]{height:170%;max-height:none;object-position:center top}
.home-products .product-body h3{font-size:15px;line-height:1.6}
.home-products .product-farm{font-size:10px}
.home-products .quick-add{width:39px;height:39px}
.home-feature-grid article{min-height:280px}
.farmer-story-teaser{display:block}
.farmer-story-teaser>img{position:absolute;inset:0;object-position:65% 28%}
.farmer-story-copy{position:relative;width:65%;height:100%;min-height:280px;background:linear-gradient(90deg,#133b2aeb,#173f2bbd,transparent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc8731;outline-offset:3px}
button{touch-action:manipulation}
.bottomnav button{min-height:44px}
.bottomnav button.selected{color:#14603c;font-weight:800}
.bottomnav button:nth-child(3).selected{color:white}
@media(max-width:950px){.home-hero h1{font-size:clamp(30px,4.8vw,46px)}}
@media(max-width:760px){
 .home-hero{display:grid;grid-template-columns:60% 40%;min-height:360px;border-radius:23px}
 .home-hero-copy{padding:22px 0 74px 18px;justify-content:flex-start}
 .home-hero h1{font-size:clamp(22px,5.2vw,38px);white-space:normal;line-height:1.35;letter-spacing:-.7px;margin:10px 0}
 .home-hero .hero-kicker{font-size:7px;letter-spacing:1px}
 .hero-identity{font-size:11px;max-width:100%}
 .hero-highlight{font-size:12px;padding:7px 9px;max-width:100%}
 .home-hero p{font-size:11px;line-height:1.85;margin-top:12px}
 .home-hero-visual{min-height:360px;max-height:none}
 .home-hero-visual img{object-position:48% 30%}
 .home-hero .hero-buttons{position:absolute;bottom:27px;left:16px;right:16px;width:auto;z-index:4}
 .home-hero .hero-buttons button{min-height:46px;font-size:11px}
 .hero-image-note{right:5px;bottom:92px;padding:6px;font-size:8px}
 .hero-image-note strong{font-size:10px}
 .home-stats{margin-top:-10px;margin-bottom:24px;padding:7px}
 .home-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .home-products .product-photo{height:auto;aspect-ratio:1.05}
 .home-products .product-body h3{font-size:13px}
 .section-row{gap:10px}.market-title h2{font-size:17px}.section-row .btn{white-space:nowrap;font-size:10px}
 .header-left{min-width:0}.header-right{gap:4px}.header #pageName{font-size:10px}
 .header-right #notificationsTop{display:block;font-size:18px;width:32px;padding:4px}
 .mode{max-width:62px;overflow:hidden;white-space:nowrap}.account-button{max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .bottomnav{padding-top:12px;padding-bottom:max(15px,env(safe-area-inset-bottom))}
 .bottomnav button:nth-child(3) span{top:61px;font-size:10px}
 .toast{bottom:105px;width:max-content;max-width:90vw}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
