:root{--forest:#173f2a;--green:#286b43;--green2:#3f8a58;--cream:#f6f2e7;--paper:#fffdfa;--ink:#17221a;--muted:#6b756d;--line:#dfe7df;--shadow:0 18px 50px rgba(22,54,35,.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",Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin-inline:auto}.topbar{position:sticky;top:0;z-index:50;background:rgba(255,253,250,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(23,63,42,.08)}.navbar{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:flex;align-items:center;gap:11px}.logo-symbol{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,var(--forest),var(--green2));color:#fff;font-family:Georgia,serif;font-size:25px;font-weight:700;box-shadow:0 8px 18px rgba(23,63,42,.2)}.logo b{display:block;font-size:17px;letter-spacing:.12em}.logo small{display:block;font-size:10px;color:var(--muted)}.menu{display:flex;align-items:center;gap:24px;font-weight:650;font-size:14px}.menu>a:not(.nav-cta){position:relative;padding:29px 0}.menu>a:not(.nav-cta)::after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--green);transition:.25s}.menu>a:hover::after,.menu>a.active::after{right:0}.nav-cta{background:var(--forest);color:white;padding:12px 17px;border-radius:999px;display:flex;gap:10px;align-items:center}.menu-button{display:none;background:none;border:0;padding:8px}.menu-button span{display:block;width:25px;height:2px;background:var(--forest);margin:5px}.hero{min-height:690px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(112deg,rgba(10,45,27,.95),rgba(20,68,39,.83) 52%,rgba(20,70,40,.30)),url('../img/products/organic-ceylon-cinnamon.jpg') center/cover}.hero-inner{position:relative;z-index:2;color:white;padding:90px 0;max-width:790px}.kicker{font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#d7e9b5;display:flex;align-items:center;gap:10px}.kicker::before{content:"";width:36px;height:1px;background:currentColor}.hero h1{font-family:Georgia,serif;font-size:clamp(46px,7vw,82px);line-height:1.02;margin:18px 0 22px;font-weight:500;letter-spacing:-.03em}.hero p{font-size:19px;color:#e9f1eb;max-width:680px}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:999px;background:var(--forest);color:#fff;padding:13px 20px;font-weight:750;font-size:14px;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-1px);background:var(--green)}.btn-light{background:white;color:var(--forest)}.btn-outline-light{border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.08)}.btn-outline{background:transparent;color:var(--forest);border:1px solid var(--forest)}.hero-metrics{display:flex;gap:38px;flex-wrap:wrap;margin-top:58px;padding-top:27px;border-top:1px solid rgba(255,255,255,.18)}.hero-metric strong{display:block;font-size:27px}.hero-metric span{font-size:12px;color:#cbd9cf;text-transform:uppercase;letter-spacing:.08em}.section{padding:88px 0}.section.soft{background:var(--cream)}.section.dark{background:var(--forest);color:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}.section-head h2,.page-title h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.025em;line-height:1.05}.section-head h2{font-size:clamp(36px,5vw,54px);margin:8px 0}.section-head p{max-width:620px;color:var(--muted);margin:0}.section.dark .section-head p{color:#bdd0c2}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.category-card{position:relative;height:310px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#ddd}.category-card img{width:100%;height:100%;object-fit:cover;transition:.5s}.category-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(8,32,18,.88) 100%)}.category-card:hover img{transform:scale(1.05)}.category-card .info{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;color:#fff}.category-card h3{margin:0;font-family:Georgia,serif;font-size:24px}.category-card span{font-size:12px;color:#d8e9dc}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{background:white;border-radius:20px;overflow:hidden;border:1px solid var(--line);transition:.25s}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-image-wrap{height:235px;overflow:hidden;position:relative;background:#eef1e9}.product-card img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover img{transform:scale(1.035)}.product-badge{position:absolute;left:14px;top:14px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.92);font-size:11px;font-weight:800;color:var(--forest)}.product-body{padding:18px}.product-body h3{font-size:19px;margin:2px 0 7px}.product-body p{color:var(--muted);font-size:14px;margin:0 0 14px}.text-link{font-weight:800;color:var(--green);font-size:13px}.flow{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;counter-reset:step}.flow-step{counter-increment:step;background:white;border-radius:18px;padding:25px 18px;color:var(--ink);min-height:140px}.flow-step::before{content:"0" counter(step);display:block;font-size:12px;color:var(--green);font-weight:850;letter-spacing:.12em;margin-bottom:24px}.flow-step b{display:block}.flow-step span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.trust-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:30px}.trust-card{background:#fff;border-radius:var(--radius);padding:28px;border:1px solid var(--line)}.trust-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.trust-item{padding:17px;border-radius:16px;background:#f6f8f3}.trust-item strong{display:block;color:var(--forest)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stat{padding:27px;border-radius:18px;background:var(--forest);color:white}.stat strong{display:block;font-size:35px;font-family:Georgia,serif}.stat span{font-size:12px;color:#c8dbcc}.cta{border-radius:30px;background:linear-gradient(135deg,#1b5132,#2f7448);color:white;padding:54px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font-family:Georgia,serif;font-size:44px;font-weight:500;margin:0 0 10px}.cta p{color:#d8e6dc;max-width:650px;margin:0}.page-hero{background:linear-gradient(120deg,#153c28,#2e7047);color:white;padding:76px 0}.page-title{max-width:820px}.page-title h1{font-size:clamp(42px,6vw,66px);margin:10px 0 15px}.page-title p{color:#d7e7db;font-size:18px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 30px}.filter{border:1px solid var(--line);padding:10px 14px;border-radius:999px;font-size:13px;font-weight:750;background:white}.filter:hover,.filter.active{background:var(--forest);color:white}.searchbar{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:16px;padding:9px 14px;margin-bottom:22px}.searchbar input{border:0;outline:0;flex:1;font:inherit;background:transparent}.product-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:start}.product-main{width:100%;border-radius:26px;aspect-ratio:4/3;object-fit:cover;box-shadow:var(--shadow)}.product-detail h1{font-family:Georgia,serif;font-size:48px;font-weight:500}.scientific{color:var(--muted);font-style:italic}.spec-table{width:100%;border-collapse:collapse;margin:24px 0}.spec-table td{padding:11px 0;border-bottom:1px solid var(--line)}.spec-table td:first-child{font-weight:800;width:38%}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{background:#eaf3e8;color:var(--forest);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}.form-card{background:white;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 12px 36px rgba(20,60,35,.06)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800;color:#4f5a52}.field input,.field select,.field textarea{width:100%;border:1px solid #d6dfd6;border-radius:13px;padding:12px 13px;background:#fcfdfb;font:inherit;outline:none}.field textarea{min-height:125px}.alert{padding:14px 16px;border-radius:13px;margin-bottom:18px}.ok{background:#e8f5e9;color:#236237}.error{background:#ffeded;color:#8a2828}.footer{background:#102d1e;color:#dfeadf;padding:62px 0 25px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:45px}.footer-brand p{max-width:400px;color:#afc4b5}.footer h4{color:white}.footer a{display:block;color:#b9cdbf;margin:8px 0;font-size:14px}.logo.inverse small{color:#c6d7c9}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px;display:flex;justify-content:space-between;color:#91aa99;font-size:12px}@media(max-width:1050px){.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.flow{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.menu-button{display:block}.menu{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:16px 4%;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line)}.menu.open{display:flex}.menu>a:not(.nav-cta){padding:13px 6px}.menu>a:not(.nav-cta)::after{display:none}.nav-cta{justify-content:center;margin-top:8px}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.trust-grid,.product-layout{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr 1fr}.cta{flex-direction:column;align-items:flex-start}}@media(max-width:580px){.logo small{display:none}.hero{min-height:610px}.hero-inner{padding:70px 0}.hero-actions{flex-direction:column}.category-grid,.product-grid,.flow,.trust-list,.stats-grid,.form-grid,.footer-main{grid-template-columns:1fr}.category-card{height:265px}.section{padding:65px 0}.section-head{align-items:flex-start;flex-direction:column}.cta{padding:32px 24px}.cta h2{font-size:35px}.footer-bottom{flex-direction:column;gap:8px}}

/* ===== V1.2 MEGA MENU + GLOBAL SEARCH ===== */
.mega-trigger{display:flex;align-items:center;position:static}
.mega-link{font:inherit;font-weight:650;color:inherit;border:0;background:none;cursor:pointer;padding:29px 0;display:flex;align-items:center;gap:5px;position:relative}
.mega-link::after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--green);transition:.25s}
.mega-trigger.open .mega-link::after,.mega-trigger.active .mega-link::after{right:0}
.chev{font-size:12px;transition:.2s}
.mega-trigger.open .chev{transform:rotate(180deg)}
.mega-menu{position:absolute;left:0;right:0;top:77px;background:rgba(255,253,250,.985);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 25px 55px rgba(18,48,30,.13);opacity:0;visibility:hidden;transform:translateY(10px);transition:.22s;z-index:60}
.mega-trigger.open .mega-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.mega-inner{display:grid;grid-template-columns:1.2fr 1.15fr .9fr;gap:42px;padding-top:34px;padding-bottom:34px}
.mega-label{font-size:10px;letter-spacing:.16em;font-weight:850;color:var(--green);margin-bottom:13px}
.mega-col>a:not(.btn):not(.mega-product):not(.mega-all):not(.mega-text-link){display:block;padding:8px 0}
.mega-col>a b{display:block;font-size:14px}
.mega-col>a span{display:block;color:var(--muted);font-size:12px;margin-top:1px}
.mega-products{display:grid;gap:9px}
.mega-product{display:grid;grid-template-columns:68px 1fr;gap:12px;align-items:center;padding:7px;border-radius:13px}
.mega-product:hover{background:#f3f6f1}
.mega-product img{width:68px;height:52px;object-fit:cover;border-radius:10px}
.mega-product b{font-size:13px}
.mega-product small{display:block;color:var(--muted);font-size:11px}
.mega-all{display:inline-block;margin-top:12px;color:var(--green);font-weight:800;font-size:13px}
.mega-b2b{background:linear-gradient(145deg,#173f2a,#2d7148);border-radius:20px;padding:23px;color:white}
.mega-b2b .mega-label{color:#cfe5c5}
.mega-b2b h3{font-family:Georgia,serif;font-size:27px;font-weight:500;line-height:1.05;margin:10px 0}
.mega-b2b p{color:#d7e5da;font-size:13px}
.mega-b2b .btn{background:white;color:var(--forest);margin:7px 0 12px}
.mega-text-link{display:block!important;color:#dbe8de!important;font-size:12px!important;margin-top:6px}

.search-button{border:0;background:transparent;cursor:pointer;display:flex;gap:6px;align-items:center;font:inherit;font-size:14px;font-weight:650;color:var(--ink);padding:10px}
.search-icon{font-size:22px;line-height:1}
.search-overlay{position:fixed;inset:0;background:rgba(7,27,16,.78);backdrop-filter:blur(10px);z-index:200;display:grid;place-items:start center;padding:110px 20px 30px;opacity:0;visibility:hidden;transition:.2s}
.search-overlay.open{opacity:1;visibility:visible}
.search-shell{width:min(880px,100%);background:var(--paper);border-radius:28px;padding:32px;box-shadow:0 35px 90px rgba(0,0,0,.28)}
.search-top{display:flex;justify-content:space-between;align-items:start;gap:20px}
.search-top h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:4px 0 20px}
.search-close{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:white;font-size:28px;cursor:pointer}
.global-search-form{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border:1px solid var(--line);border-radius:18px;padding:9px 10px 9px 16px;background:white}
.global-search-form>span{font-size:24px;color:var(--muted)}
.global-search-form input{border:0;outline:0;font:inherit;font-size:18px;background:transparent;min-width:0}
.search-quick{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px;align-items:center;font-size:12px;color:var(--muted)}
.search-quick a{background:#edf3e9;color:var(--forest);padding:7px 10px;border-radius:999px;font-weight:750}

/* ===== PAGE-SPECIFIC HERO GRAPHICS ===== */
.page-hero{position:relative;overflow:hidden;min-height:385px;display:flex;align-items:center}
.page-hero::before{content:"";position:absolute;inset:0;background-size:cover;background-position:center;z-index:0}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,48,29,.96) 0%,rgba(18,65,38,.82) 53%,rgba(19,70,41,.25) 100%);z-index:1}
.page-hero .container{position:relative;z-index:2}
.hero-products::before{background-image:url('../img/products/organic-black-pepper.jpg')}
.hero-production::before{background-image:url('../img/products/organic-turmeric.jpg')}
.hero-quality::before{background-image:url('../img/products/moringa-powder.jpg')}
.hero-export::before{background-image:url('../img/products/virgin-coconut-oil.jpg')}
.hero-about::before{background-image:url('../img/products/fresh-papaya.jpg')}
.hero-rfq::before{background-image:url('../img/products/organic-cardamom.jpg')}
.hero-contact::before{background-image:url('../img/products/dried-pineapple.jpg')}
.hero-search::before{background-image:url('../img/products/organic-ceylon-cinnamon.jpg')}

.page-title{padding:35px 0}
.page-title .page-art-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#e4efe6;font-size:11px;margin-top:12px;background:rgba(255,255,255,.08);backdrop-filter:blur(7px)}

/* Search results */
.search-summary{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}
.search-summary h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0}
.search-summary p{color:var(--muted);margin:4px 0 0}
.search-results{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.search-result-card{border:1px solid var(--line);background:white;border-radius:18px;overflow:hidden}
.search-result-card img{width:100%;height:190px;object-fit:cover}
.search-result-body{padding:18px}
.search-result-body .type{font-size:10px;letter-spacing:.13em;font-weight:850;color:var(--green)}
.search-result-body h3{margin:6px 0}
.search-result-body p{color:var(--muted);font-size:13px}

@media(max-width:1050px){
 .search-text{display:none}
 .mega-inner{grid-template-columns:1fr 1fr}
 .mega-b2b{grid-column:1/-1}
}
@media(max-width:850px){
 .mega-trigger{display:block}
 .mega-link{width:100%;padding:13px 6px;justify-content:space-between}
 .mega-link::after{display:none}
 .mega-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;display:none;background:#f7f8f4;border-radius:14px;margin:2px 0 8px}
 .mega-trigger.open .mega-menu{display:block}
 .mega-inner{display:block;padding:16px}
 .mega-col{margin-bottom:20px}
 .mega-b2b{margin-bottom:0}
 .search-button{justify-content:flex-start;padding:13px 6px}
 .search-text{display:inline}
 .search-overlay{padding-top:85px}
 .search-results{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:580px){
 .global-search-form{grid-template-columns:auto 1fr}
 .global-search-form .btn{grid-column:1/-1;width:100%}
 .search-shell{padding:22px 18px}
 .search-top h2{font-size:30px}
 .search-results{grid-template-columns:1fr}
 .page-hero{min-height:330px}
}

/* V1.3 branding and dynamic footer */
.site-logo-img{height:48px;max-width:190px;width:auto;object-fit:contain}.footer-logo-img{max-width:210px;height:54px}.brand-copy{display:block}.footer-dynamic{grid-template-columns:minmax(280px,2fr) repeat(3,minmax(130px,1fr))}.footer-company-info{font-size:13px;color:#c3d4c8;margin-top:14px;line-height:1.65}.footer-contact-list{display:grid;gap:4px;margin-top:12px;font-size:13px;color:#b9cdbf}.footer-contact-list a,.footer-contact-list span{margin:0;color:#b9cdbf}.footer-menu-col h4{margin-bottom:12px}@media(max-width:950px){.footer-dynamic{grid-template-columns:1fr 1fr}}@media(max-width:580px){.footer-dynamic{grid-template-columns:1fr}.site-logo-img{height:42px;max-width:160px}.brand-copy small{display:block}}


/* ===== V1.3.2 HEADER / CACHE FIX ===== */
.topbar{width:100%}
.navbar{position:relative;height:78px;min-height:78px}
.logo{flex:0 0 auto;min-width:0}
.site-logo-img{display:block;height:54px!important;width:auto!important;max-width:220px!important;max-height:54px!important;object-fit:contain}
.menu{margin-left:auto}
.mega-menu{pointer-events:none}
.mega-trigger.open .mega-menu{pointer-events:auto}
.mega-link{appearance:none;-webkit-appearance:none;border-radius:0}
.search-button{appearance:none;-webkit-appearance:none}
@media(max-width:1050px){
  .navbar{height:72px;min-height:72px}
  .site-logo-img{height:48px!important;max-height:48px!important;max-width:190px!important}
}
@media(max-width:850px){
  .navbar{height:70px;min-height:70px}
  .menu{top:70px}
  .mega-menu{pointer-events:auto}
  .site-logo-img{height:44px!important;max-height:44px!important;max-width:175px!important}
}

/* ===== V1.4 RESPONSIVE FARMERS / GALLERY / DYNAMIC HERO ===== */
.page-hero[style]::before{background-image:var(--page-hero-image)!important}
.menu{gap:17px}
.menu>a,.mega-link,.search-button{white-space:nowrap}

.farmer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.farmer-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.25s;box-shadow:0 8px 28px rgba(23,63,42,.04)}
.farmer-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.farmer-card>img{width:100%;height:300px;object-fit:cover}
.farmer-card-body{padding:19px}
.farmer-card-body>span,.farmer-meta span{font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:var(--green);font-weight:850}
.farmer-card h3{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:5px 0}
.farmer-card p{font-size:13px;color:var(--muted);margin:7px 0}
.farmer-meta{display:flex;justify-content:space-between;gap:10px}
.farmer-location{color:var(--green)!important;font-weight:700}
.farmer-facts{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}
.farmer-facts span{background:#eef4ea;border-radius:11px;padding:7px 9px;font-size:11px;color:#536056}
.farmer-facts b{color:var(--forest)}

.gallery-preview{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:190px 190px;gap:12px}
.gallery-preview a:first-child{grid-row:1/3}
.gallery-preview a:nth-child(4){grid-column:2/4}
.gallery-preview a{overflow:hidden;border-radius:18px}
.gallery-preview img{width:100%;height:100%;object-fit:cover;transition:.35s}
.gallery-preview a:hover img{transform:scale(1.04)}
.gallery-filter{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}
.gallery-filter button{cursor:pointer}
.gallery-grid{columns:4 240px;column-gap:16px}
.gallery-item{position:relative;width:100%;display:block;margin:0 0 16px;padding:0;border:0;background:none;border-radius:18px;overflow:hidden;cursor:pointer;break-inside:avoid}
.gallery-item img{width:100%;height:auto;min-height:190px;object-fit:cover;transition:.35s}
.gallery-item:hover img{transform:scale(1.035)}
.gallery-overlay{position:absolute;inset:auto 0 0;padding:40px 17px 16px;background:linear-gradient(transparent,rgba(8,31,18,.9));color:#fff;text-align:left}
.gallery-overlay small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#cfe4d3}
.gallery-overlay b{display:block;font-size:16px}
.gallery-item.is-hidden{display:none}

.lightbox{position:fixed;inset:0;background:rgba(5,20,11,.9);backdrop-filter:blur(8px);z-index:400;display:grid;place-items:center;padding:35px;opacity:0;visibility:hidden;transition:.2s}
.lightbox.open{opacity:1;visibility:visible}
.lightbox-card{width:min(1100px,94vw);max-height:88vh;background:#101813;border-radius:20px;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;color:#fff}
.lightbox-card img{width:100%;height:100%;max-height:72vh;object-fit:contain;background:#09110c}
.lightbox-copy{padding:17px 20px}
.lightbox-copy h3{margin:0 0 4px;font-family:Georgia,serif;font-size:25px}
.lightbox-copy p{margin:0;color:#b8c7bd}
.lightbox-close{position:absolute;right:24px;top:20px;width:46px;height:46px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(0,0,0,.25);color:#fff;font-size:28px;cursor:pointer}

@media(max-width:1180px){
 .menu{gap:12px;font-size:13px}
 .nav-cta{padding:10px 13px}
 .search-text{display:none}
 .farmer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 .farmer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gallery-preview{grid-template-columns:1fr 1fr;grid-template-rows:220px 170px 170px}
 .gallery-preview a:first-child{grid-row:auto;grid-column:1/3}
 .gallery-preview a:nth-child(4){grid-column:auto}
}
@media(max-width:580px){
 body{overflow-x:hidden}
 .hero h1{font-size:clamp(42px,14vw,62px)}
 .hero p,.page-title p{font-size:16px}
 .page-title h1{font-size:clamp(38px,12vw,52px)}
 .farmer-grid{grid-template-columns:1fr}
 .farmer-card>img{height:330px}
 .gallery-preview{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(6,220px)}
 .gallery-preview a:first-child,.gallery-preview a:nth-child(4){grid-column:auto;grid-row:auto}
 .gallery-grid{columns:1}
 .lightbox{padding:12px}
 .lightbox-close{right:12px;top:10px}
 .section-head .btn{width:100%}
}

/* ===== V1.4.1 GROUPED FOOTER ===== */
.footer-dynamic{
  display:grid;
  grid-template-columns:minmax(280px,1.25fr) minmax(0,2.75fr);
  gap:55px;
  align-items:start;
}
.footer-groups{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:30px 34px;
}
.footer-menu-col{min-width:0}
.footer-menu-col h4{
  margin:0 0 14px;
  color:#fff;
  font-size:15px;
  position:relative;
  padding-bottom:10px;
}
.footer-menu-col h4::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:28px;
  height:2px;
  background:#7eaa78;
}
.footer-link-list{display:grid;gap:8px}
.footer-link-list a{
  margin:0;
  color:#b9cdbf;
  font-size:14px;
  line-height:1.45;
}
.footer-link-list a:hover{color:#fff}
@media(max-width:850px){
  .footer-dynamic{grid-template-columns:1fr;gap:38px}
  .footer-groups{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
  .footer-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .footer-groups{grid-template-columns:1fr}
}

/* ===== V1.5 B2B RFQ CART + CUSTOMER PORTAL ===== */
.account-link{font-size:13px;font-weight:750;color:var(--forest);white-space:nowrap}
.cart-nav-link{gap:8px}
.cart-count{min-width:22px;height:22px;border-radius:999px;display:inline-grid;place-items:center;background:#fff;color:var(--forest);font-size:11px;font-weight:900;padding:0 6px}

.selectable-product-card{position:relative;padding-bottom:14px}
.product-card-link{display:block}
.product-select-check{position:absolute;z-index:5;right:13px;top:13px;background:rgba(255,255,255,.94);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850;display:flex;gap:6px;align-items:center;box-shadow:0 5px 15px rgba(0,0,0,.08);cursor:pointer}
.product-select-check input{accent-color:var(--green)}
.quick-qty{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px}
.quick-qty label{font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:var(--muted)}
.quick-qty input,.quick-qty select{display:block;width:100%;margin-top:5px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}
.selection-bar{position:sticky;bottom:14px;z-index:20;margin-top:28px;background:rgba(20,59,38,.96);backdrop-filter:blur(9px);color:white;border-radius:20px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 16px 45px rgba(20,55,34,.25)}
.selection-bar div{display:flex;flex-direction:column}.selection-bar span{font-size:12px;color:#c9dccd}.selection-bar .btn{background:white;color:var(--forest)}

.add-cart-box{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f5f7f2;border:1px solid var(--line);border-radius:18px;padding:18px;margin-top:24px}
.add-cart-box .full{grid-column:1/-1}

.empty-cart{padding:50px;background:#fff;border:1px solid var(--line);border-radius:24px;text-align:center}
.empty-cart h2{font-family:Georgia,serif;font-size:34px;font-weight:500;margin-top:0}

.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.cart-items{display:grid;gap:15px}
.cart-item{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px}
.cart-item>img{width:150px;height:130px;object-fit:cover;border-radius:14px}
.cart-item h3{margin:6px 0}.cart-item p{color:var(--muted);font-size:13px}
.static-badge{position:static;display:inline-flex}
.cart-fields{display:grid;grid-template-columns:120px 130px minmax(160px,1fr);gap:10px}
.cart-fields .field input,.cart-fields .field select{padding:9px}
.cart-remove{align-self:start;border:0;background:none;color:#a33;font-weight:750;cursor:pointer}
.cart-summary{position:sticky;top:100px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:grid;gap:13px}
.cart-summary h3{margin:0;font-family:Georgia,serif;font-size:27px;font-weight:500}
.cart-summary-line{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px}
.cart-summary p{font-size:12px;color:var(--muted)}
.cart-summary .btn{width:100%}.cart-summary .text-link{text-align:center}
.plain-danger{border:0;background:none;color:#a33;font-weight:750;cursor:pointer;margin-top:15px}

.account-shell{max-width:850px}
.account-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}
.account-card-small{max-width:500px;margin:auto}
.account-card h2{font-family:Georgia,serif;font-size:35px;font-weight:500;margin-top:0}
.account-submit{width:100%;margin-top:18px}
.account-switch{margin:20px 0 0;color:var(--muted);font-size:13px}.account-switch a{color:var(--green);font-weight:800}
.login-rfq-grid,.checkout-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:28px;align-items:start}

.customer-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}
.customer-dashboard-head h2{font-family:Georgia,serif;font-size:38px;font-weight:500;margin:0}.customer-dashboard-head p{margin:4px 0;color:var(--muted)}
.dashboard-actions{display:flex;gap:10px}
.customer-rfq-list{display:grid;gap:12px}
.customer-rfq-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;transition:.2s}
.customer-rfq-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.rfq-number{font-size:11px;font-weight:850;letter-spacing:.08em;color:var(--green)}
.customer-rfq-card h3{margin:5px 0}.customer-rfq-card p{margin:0;color:var(--muted);font-size:13px}
.rfq-card-right{display:grid;justify-items:end;gap:8px}.rfq-card-right small{color:var(--muted)}

.workflow-status{display:inline-flex;padding:7px 10px;border-radius:999px;background:#e8f2e8;color:#235f3b;font-size:11px;font-weight:850;white-space:nowrap}
.status-cancelled{background:#fae6e6;color:#9d3131}.status-shipped,.status-completed{background:#e2f1ea;color:#176445}.status-quotation_sent,.status-negotiation{background:#fff1d8;color:#8a6216}

.rfq-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:25px;align-items:start}
.workflow-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;margin-bottom:20px}
.workflow-panel h2,.workflow-panel h3{font-family:Georgia,serif;font-weight:500}.workflow-panel h2{font-size:30px;margin-top:0}
.panel-like-head{display:flex;justify-content:space-between;gap:20px;align-items:center}
.workflow-steps{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin-top:28px;overflow-x:auto;padding-bottom:8px}
.workflow-step{min-width:74px;text-align:center;color:#9aa59d;position:relative}
.workflow-step::before{content:"";height:3px;background:#e0e6df;position:absolute;top:16px;left:-50%;right:50%;z-index:0}
.workflow-step:first-child::before{display:none}
.workflow-dot{position:relative;z-index:1;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;margin:auto;background:#edf0ed;font-size:11px;font-weight:850}
.workflow-step small{display:block;font-size:9px;line-height:1.2;margin-top:7px}
.workflow-step.done,.workflow-step.current{color:var(--forest)}.workflow-step.done::before,.workflow-step.current::before{background:#5d9a6a}
.workflow-step.done .workflow-dot{background:#5d9a6a;color:#fff}.workflow-step.current .workflow-dot{background:var(--forest);color:#fff;box-shadow:0 0 0 5px rgba(39,107,67,.12)}
.customer-note{background:#eef5eb;border-left:4px solid var(--green);padding:14px 16px;border-radius:12px;margin-top:24px}.customer-note p{margin-bottom:0}
.rfq-item-list{display:grid}.rfq-item-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.rfq-item-row:last-child{border-bottom:0}.rfq-item-row div{display:grid}.rfq-item-row small{color:var(--muted);font-size:11px}.rfq-item-row>span{font-weight:800;white-space:nowrap}
.history-list{display:grid;gap:15px}.history-entry{display:grid;grid-template-columns:13px 1fr;gap:12px}.history-entry>span{width:11px;height:11px;border-radius:50%;background:var(--green);margin-top:5px}.history-entry div{border-bottom:1px solid var(--line);padding-bottom:12px}.history-entry small{display:block;color:var(--muted)}.history-entry p{margin:6px 0 0}
.rfq-side{position:sticky;top:100px}.rfq-side dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.rfq-side dt{font-size:11px;font-weight:850;color:var(--muted)}.rfq-side dd{margin:0;text-align:right}
.checkout-summary{position:sticky;top:100px}

@media(max-width:1180px){.account-link{display:none}}
@media(max-width:900px){
 .cart-layout,.login-rfq-grid,.checkout-grid,.rfq-detail-grid{grid-template-columns:1fr}
 .cart-summary,.checkout-summary,.rfq-side{position:static}
 .workflow-steps{grid-template-columns:repeat(10,80px)}
}
@media(max-width:680px){
 .selection-bar{position:static;flex-direction:column;align-items:stretch}.selection-bar .btn{width:100%}
 .cart-item{grid-template-columns:90px minmax(0,1fr)}.cart-item>img{width:90px;height:90px}.cart-remove{grid-column:2}
 .cart-fields{grid-template-columns:1fr 1fr}.cart-packaging{grid-column:1/-1}
 .customer-dashboard-head{align-items:flex-start;flex-direction:column}.dashboard-actions{width:100%}.dashboard-actions .btn{flex:1}
 .customer-rfq-card{align-items:flex-start;flex-direction:column}.rfq-card-right{justify-items:start}
 .add-cart-box{grid-template-columns:1fr}.add-cart-box .full{grid-column:auto}
}
\n/* V1.6 pricing */\n.customer-price,.login-price{margin-top:10px;padding:10px 12px;border-radius:12px;background:#edf5ea;display:grid;gap:2px}.customer-price span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--green);font-weight:850}.customer-price strong{color:var(--forest);font-size:15px}.customer-price small{font-size:10px;color:var(--muted)}.muted-price{font-size:12px;color:var(--muted)}.login-price{background:#f4f5f1}.login-price a{font-size:12px;font-weight:800;color:var(--green)}.product-price-box{display:grid;gap:3px;padding:15px 16px;margin-bottom:18px;background:#edf5ea;border:1px solid #d5e7d4;border-radius:15px}.product-price-box>span{font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:850;color:var(--green)}.product-price-box>strong{font-size:24px;color:var(--forest)}.product-price-box>small{color:var(--muted);font-size:11px}.locked-price{background:#f4f5f1;border-color:var(--line)}.locked-price a{color:var(--green);font-weight:800;font-size:12px}\n