:root{
  --green:#0f5a3a;--green2:#0b472f;--lime:#dff4c8;--cream:#f7f5ee;
  --ink:#142018;--muted:#6e786f;--line:#dfe5df;--white:#fff;
  --shadow:0 18px 50px rgba(20,32,24,.10);--radius:22px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);background:var(--cream)
}
button,input,select{font:inherit}
button{cursor:pointer}
.topbar{
  position:sticky;top:0;z-index:30;height:72px;padding:0 clamp(18px,5vw,72px);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(247,245,238,.92);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(20,32,24,.07)
}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}
.brand-mark{
  width:40px;height:40px;border-radius:13px;display:grid;place-items:center;
  background:var(--green);color:white;font-weight:900;font-size:20px
}
.brand strong,.brand small{display:block}
.brand small{color:var(--muted);font-size:11px;margin-top:1px}
.top-actions{display:flex;gap:10px}
.ghost,.cart-btn,.light{
  border:1px solid var(--line);background:white;border-radius:12px;padding:10px 14px;font-weight:700
}
.cart-btn span{
  display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;
  background:var(--green);color:#fff;font-size:11px
}
.hero{
  padding:clamp(42px,8vw,92px) clamp(18px,6vw,88px);
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);
  gap:clamp(28px,6vw,72px);align-items:center;
  background:radial-gradient(circle at 15% 15%,#fff 0,transparent 36%),linear-gradient(135deg,#f7f5ee 60%,#e6f3df)
}
.eyebrow{font-size:12px;font-weight:850;letter-spacing:.13em;color:var(--green);text-transform:uppercase}
.light-text{color:#bde0c9}
.hero h1{
  font-size:clamp(42px,6vw,78px);line-height:.98;letter-spacing:-.055em;
  max-width:880px;margin:14px 0 20px
}
.hero p{font-size:clamp(17px,2vw,21px);line-height:1.55;color:var(--muted);max-width:740px}
.hero-search{
  display:flex;max-width:720px;margin:28px 0 18px;background:#fff;border:1px solid var(--line);
  padding:7px;border-radius:16px;box-shadow:0 10px 30px rgba(20,32,24,.06)
}
.hero-search input{border:0;outline:none;flex:1;min-width:0;padding:12px 14px;background:transparent}
.hero-search button,.primary{
  border:0;background:var(--green);color:#fff;border-radius:11px;padding:12px 18px;font-weight:800
}
.hero-search button:hover,.primary:hover{background:var(--green2)}
.trust-row{display:flex;flex-wrap:wrap;gap:10px 20px;color:#516057;font-size:13px;font-weight:700}
.hero-card{
  background:#163e2e;color:white;border-radius:28px;padding:28px;box-shadow:var(--shadow);
  position:relative;overflow:hidden
}
.hero-card:after{
  content:"";position:absolute;width:180px;height:180px;background:#2a7351;border-radius:50%;
  right:-60px;top:-70px;opacity:.55
}
.hero-card h2,.mini-product,.hero-card button,.hero-card .eyebrow{position:relative;z-index:1}
.hero-card h2{font-size:28px;line-height:1.05;letter-spacing:-.03em;margin:8px 0 14px}
.mini-product{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.mini-product>span{font-size:30px}
.mini-product b,.mini-product small{display:block}
.mini-product small{opacity:.72;margin-top:3px}
.full{width:100%;margin-top:18px}
.category-strip{
  padding:18px clamp(18px,6vw,88px);display:flex;gap:10px;overflow:auto;white-space:nowrap;
  border-top:1px solid rgba(20,32,24,.05);border-bottom:1px solid rgba(20,32,24,.08);background:#fff
}
.cat{
  border:1px solid var(--line);background:white;border-radius:999px;padding:10px 14px;
  font-weight:750;color:#435047
}
.cat.active{background:var(--ink);border-color:var(--ink);color:white}
.market-wrap,.workflow{padding:64px clamp(18px,6vw,88px)}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}
.section-head h2,.cta-band h2{
  font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:7px 0 0
}
.section-head select{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px}
.muted{color:var(--muted);line-height:1.6}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card{
  background:#fff;border:1px solid #e4e8e3;border-radius:20px;overflow:hidden;
  display:flex;flex-direction:column;box-shadow:0 8px 20px rgba(20,32,24,.04)
}
.product-visual{
  height:150px;display:grid;place-items:center;font-size:62px;
  background:linear-gradient(145deg,#f2f6ee,#eef1e8);position:relative
}
.stock{
  position:absolute;top:12px;left:12px;background:#fff;border:1px solid var(--line);
  padding:6px 8px;border-radius:999px;font-size:10px;font-weight:850
}
.product-body{padding:17px;display:flex;flex-direction:column;flex:1}
.product-body h3{margin:4px 0 3px;font-size:18px}
.supplier{font-size:12px;color:var(--muted)}
.rating{font-size:12px;margin:9px 0}
.price{font-weight:900;font-size:23px;letter-spacing:-.02em;margin-top:auto}
.unit,.moq{font-size:12px;color:var(--muted);margin-top:3px}
.card-actions{display:flex;gap:8px;margin-top:14px}
.card-actions button{flex:1;border-radius:10px;padding:10px 8px;font-weight:800}
.outline{border:1px solid var(--line);background:#fff}
.add{border:0;background:var(--green);color:#fff}
.workflow{background:#fff}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps article{padding:26px;border:1px solid var(--line);border-radius:20px}
.steps article>span{
  display:grid;place-items:center;width:36px;height:36px;border-radius:12px;
  background:var(--lime);font-weight:900;color:var(--green)
}
.steps h3{font-size:21px;margin:18px 0 6px}
.steps p,.cta-band p{color:var(--muted);line-height:1.6}
.cta-band{
  margin:54px clamp(18px,6vw,88px) 92px;border-radius:28px;padding:clamp(30px,5vw,56px);
  background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;gap:30px
}
.cta-band p{color:#d9e8df;max-width:760px}
.light{white-space:nowrap;border:0}
.modal{
  border:0;border-radius:24px;padding:0;max-width:min(720px,92vw);width:100%;
  box-shadow:0 30px 80px rgba(0,0,0,.28)
}
.modal::backdrop{background:rgba(10,20,14,.58);backdrop-filter:blur(4px)}
.modal-card{padding:28px;position:relative}
.close{
  position:absolute;right:18px;top:14px;border:0;background:#f2f3ef;border-radius:10px;
  width:36px;height:36px;font-size:24px
}
.modal-card h2{font-size:30px;letter-spacing:-.03em;margin:8px 0}
.modal-card label{display:block;font-size:13px;font-weight:800;margin:14px 0}
.modal-card label input,.modal-card label select{
  width:100%;margin-top:7px;padding:12px;border:1px solid var(--line);border-radius:11px;background:white
}
.modal-card .check{display:flex;align-items:center;gap:8px;font-weight:600}
.modal-card .check input{width:auto;margin:0}
.detail-top{padding:30px;background:linear-gradient(135deg,#eff5ea,#fff);text-align:center;position:relative}
.detail-top .emoji{font-size:84px}
.detail-body{padding:26px}
.detail-body h2{margin:0;font-size:32px}
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.detail-grid div{background:#f6f7f3;border-radius:12px;padding:12px}
.detail-grid small,.detail-grid strong{display:block}
.detail-grid small{color:var(--muted);font-size:10px}
.tiers{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:14px 0}
.tier{display:flex;justify-content:space-between;padding:11px 13px;border-bottom:1px solid var(--line)}
.tier:last-child{border-bottom:0}
.cart-list{display:grid;gap:12px;margin:18px 0}
.cart-item{
  display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;
  padding:12px;background:#f7f8f4;border-radius:14px
}
.cart-item .icon{font-size:30px}
.cart-item small{color:var(--muted);display:block;margin-top:3px}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px}
.cart-total{
  display:flex;justify-content:space-between;font-size:21px;font-weight:900;
  padding-top:14px;border-top:1px solid var(--line)
}
.toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);
  background:#142018;color:#fff;border-radius:12px;padding:12px 16px;font-weight:700;
  opacity:0;pointer-events:none;transition:.2s;z-index:90
}
.toast.show{opacity:1;transform:translate(-50%,0)}
.mobile-nav{display:none}
.empty{
  grid-column:1/-1;padding:40px;text-align:center;background:#fff;border:1px dashed var(--line);
  border-radius:20px;color:var(--muted)
}
@media(max-width:1000px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .hero{grid-template-columns:1fr}
  .hero-card{max-width:620px}
  .steps{grid-template-columns:1fr}
  .cta-band{flex-direction:column;align-items:flex-start}
}
@media(max-width:640px){
  body{padding-bottom:72px}
  .topbar{padding:0 15px;height:64px}
  .top-actions .ghost{display:none}
  .brand small{display:none}
  .hero{padding:34px 16px}
  .hero h1{font-size:43px}
  .hero p{font-size:16px}
  .hero-search{display:grid;grid-template-columns:1fr auto}
  .category-strip,.market-wrap,.workflow{padding-left:16px;padding-right:16px}
  .market-wrap,.workflow{padding-top:46px;padding-bottom:46px}
  .section-head{align-items:flex-start;flex-direction:column}
  .product-grid{grid-template-columns:1fr}
  .product-visual{height:170px}
  .cta-band{margin:30px 16px 58px}
  .mobile-nav{
    position:fixed;bottom:0;left:0;right:0;z-index:50;height:66px;background:#fff;
    border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);
    padding-bottom:env(safe-area-inset-bottom)
  }
  .mobile-nav a,.mobile-nav button{
    display:grid;place-items:center;align-content:center;gap:1px;border:0;background:#fff;
    color:#47534b;text-decoration:none;font-size:18px
  }
  .mobile-nav span{font-size:10px;font-weight:800}
  .detail-grid{grid-template-columns:1fr}
  .toast{bottom:84px;max-width:90vw;text-align:center}
  .modal{max-width:94vw}
}