*{box-sizing:border-box}
:root{
  --bg:#f7f8fa;
  --card:#ffffff;
  --text:#182230;
  --muted:#667085;
  --line:#e4e7ec;
  --brand:#0f5132;
  --brand-dark:#0a3d26;
  --soft:#eef7f1;
  --gold:#b7791f;
}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.shell{width:min(1180px,calc(100% - 32px));margin:0 auto}

.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:72px}
.brand{font-size:25px;font-weight:800;color:var(--brand)}
.main-nav{display:flex;align-items:center;gap:22px;font-size:14px}
.nav-cta{background:var(--brand);color:#fff;padding:10px 14px;border-radius:8px}

.hero{background:linear-gradient(180deg,#f2f8f4 0%,#fff 100%);padding:72px 0 56px;border-bottom:1px solid var(--line)}
.hero-copy{max-width:760px}
.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:var(--brand);margin-bottom:8px}
.hero h1,.product-header h1{font-size:52px;line-height:1.05;margin:0 0 16px;letter-spacing:-.03em}
.hero p,.product-header p{font-size:18px;color:var(--muted);margin:0}
.hero-search{display:grid;grid-template-columns:1fr 220px auto;gap:10px;margin-top:28px;background:#fff;padding:10px;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(16,24,40,.08)}
.hero-search input,.hero-search select,.product-filter select,.filters input,.filters select{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:12px 13px;font:inherit;background:#fff}
.hero-search button,.product-filter button,.wide-btn{border:0;background:var(--brand);color:#fff;border-radius:8px;padding:12px 18px;font-weight:700;cursor:pointer}
.hero-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:14px}.hero-links span{color:var(--muted)}

.section{padding:58px 0}
.section.alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-head.compact{margin-bottom:14px}.section-head h2,.content-card h2{font-size:30px;margin:0}.section-head>a{color:var(--brand);font-weight:700}

.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.category-card,.district-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;transition:.2s}
.category-card:hover,.district-card:hover,.factory-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(16,24,40,.06)}
.category-card span,.district-card span{display:block;color:var(--muted);font-size:13px;margin-top:5px}

.chip-grid{display:flex;flex-wrap:wrap;gap:10px}
.chip{border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:999px;font-size:14px}
.chip:hover{border-color:#b7c9be;background:var(--soft)}

.district-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.factory-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.factory-card{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;transition:.2s}
.factory-logo,.result-logo,.profile-logo{display:grid;place-items:center;background:#f2f4f7;border:1px solid var(--line);overflow:hidden}
.factory-logo{width:72px;height:72px;border-radius:12px;flex:0 0 auto}
.factory-logo img,.result-logo img,.profile-logo img{width:100%;height:100%;object-fit:cover}
.factory-logo span,.result-logo span,.profile-logo span{font-size:28px;font-weight:800;color:var(--brand)}
.factory-card-body{min-width:0}
.factory-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.factory-title-row h3,.factory-title-row h2,.factory-title-row h1{margin:0}
.factory-location,.factory-desc,.factory-meta{color:var(--muted)}
.factory-location{margin:4px 0 8px}.factory-desc{margin:0 0 10px}.factory-meta{font-size:13px}
.verified-badge{display:inline-block;background:#ecfdf3;color:#067647;border:1px solid #abefc6;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}

.cta-section{padding:56px 0}.cta-box{background:var(--brand);color:#fff;border-radius:18px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px}.cta-box p{opacity:.85;margin-bottom:0}.cta-box .eyebrow{color:#cce8d7}.cta-button{background:#fff;color:var(--brand);padding:12px 18px;border-radius:9px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.cta-button.outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}

.site-footer{background:#111827;color:#d1d5db;padding:38px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.footer-bottom{border-top:1px solid #374151;margin-top:28px;padding-top:18px;font-size:13px;color:#9ca3af}

.search-page{padding-top:34px}.search-layout{display:grid;grid-template-columns:280px 1fr;gap:24px}
.filters{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;height:max-content;position:sticky;top:92px}.filters h2{margin:0 0 12px}.filters label{display:block;font-size:13px;font-weight:700;margin:12px 0 6px}.check-row{display:flex!important;align-items:center;gap:8px}.check-row input{width:auto}.wide-btn{width:100%;margin-top:14px}
.results-head h1{margin:0 0 18px}
.results-list{display:grid;gap:14px}
.result-card{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.result-logo{width:80px;height:80px;border-radius:12px;flex:0 0 auto}
.result-main{min-width:0;flex:1}
.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.small-btn{display:inline-flex;padding:8px 11px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:700;background:#fff}.small-btn.primary{background:var(--brand);color:#fff;border-color:var(--brand)}
.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:32px;text-align:center}.empty-state h3{margin-top:0}

.profile-hero{position:relative;padding-bottom:0}.profile-cover{height:270px;background-size:cover;background-position:center}.placeholder-cover{background:linear-gradient(135deg,#dcefe2,#f6f8fb)}
.profile-card{margin-top:-70px;position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;box-shadow:0 16px 40px rgba(16,24,40,.08)}
.profile-logo{width:110px;height:110px;border-radius:16px}.profile-title h1{font-size:34px}.profile-title>p{color:var(--muted);margin:5px 0}.profile-summary{max-width:700px}.profile-actions{display:flex;gap:8px;align-items:center}
.profile-layout{display:grid;grid-template-columns:1fr 330px;gap:24px}.profile-main,.profile-sidebar{display:grid;gap:18px;height:max-content}
.content-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.content-card h2{font-size:22px;margin-bottom:12px}.content-card p{color:#475467}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.detail-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line)}.detail-row:last-child{border-bottom:0}.detail-row span{color:var(--muted)}.verify-note{background:#f6fffa}

.product-header{max-width:800px;margin-bottom:24px}.product-filter{display:flex;gap:10px;margin-bottom:22px}.product-filter select{max-width:300px}

@media(max-width:900px){
  .main-nav a:not(.nav-cta){display:none}
  .hero h1,.product-header h1{font-size:40px}
  .hero-search{grid-template-columns:1fr}
  .category-grid,.district-grid{grid-template-columns:repeat(2,1fr)}
  .factory-grid{grid-template-columns:1fr}
  .search-layout,.profile-layout{grid-template-columns:1fr}
  .filters{position:static}
  .profile-card{grid-template-columns:auto 1fr}
  .profile-actions{grid-column:1/-1}
}
@media(max-width:600px){
  .hero{padding-top:48px}
  .hero h1,.product-header h1{font-size:34px}
  .category-grid,.district-grid{grid-template-columns:1fr}
  .profile-card{grid-template-columns:1fr;text-align:left}
  .profile-logo{width:90px;height:90px}
  .cta-box{flex-direction:column;align-items:flex-start}
  .footer-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
}
