:root{--green:#07513a;--deep:#043a29;--orange:#fb8319;--bg:#f6f8f4;--line:#e6ece6;--txt:#1b3028;--muted:#748079;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Sarabun,'Noto Sans Thai',sans-serif;background:var(--bg);color:var(--txt);line-height:1.55}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(36px,5vw,64px)}h2{font-size:clamp(24px,3vw,32px)}h3{font-size:21px}svg.lucide{width:20px;height:20px;stroke-width:2}img{max-width:100%}.container{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{position:sticky;top:0;background:#fff;z-index:50;box-shadow:0 2px 15px #16382b0b}.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;color:var(--green);flex-shrink:0}.brand img{width:48px;height:48px;border-radius:12px}.brand span{display:flex;flex-direction:column}.brand b{font-size:27px;line-height:1.1}.brand small{font-size:12px;font-weight:700}.desktop-nav{display:flex;align-items:center;gap:18px;font-size:14px;color:#64726c}.desktop-nav a{padding:26px 1px;border-bottom:3px solid transparent;white-space:nowrap}.desktop-nav a:hover,.desktop-nav a.active{color:var(--green);border-color:var(--green)}.top-actions{display:flex;align-items:center;gap:14px;font-size:13px}.location,.user-btn{display:flex;align-items:center;gap:5px;white-space:nowrap}.location svg{width:16px;color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 18px;border-radius:11px;border:1px solid transparent;font-weight:700;transition:.2s;white-space:nowrap}.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.primary{background:var(--green);color:white}.orange{background:var(--orange);color:white}.outline{background:#fff;border-color:#cddbd4;color:var(--green)}.small{padding:7px 12px;font-size:13px}.block{width:100%;margin-top:10px}.hero{position:relative;isolation:isolate;min-height:370px;background:linear-gradient(155deg,#b9d5ae 0%,#dfe4b1 47%,#c6b27e 100%);overflow:hidden}.hero-scape{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#edf4e5a6,#e6efcf60),url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=2000&q=85') center 52%/cover;filter:saturate(1.05)}.hero-inner{text-align:center;padding:52px 0 85px}.hero h1{font-weight:800;color:var(--deep);margin:0}.hero h2{font-weight:800;margin:0 0 8px;color:var(--deep)}.hero p{font-size:17px;font-weight:600;color:#315544}.hero-pill{display:none;background:#ffffffdf;border:1px solid #e4eee4;padding:7px 15px;border-radius:30px;width:max-content;margin:0 auto 12px;align-items:center;gap:4px;font-size:13px;font-weight:700}.hero-pill svg{width:16px}.searchbar{display:flex;align-items:center;gap:11px;background:white;padding:8px 9px 8px 17px;border-radius:15px;width:min(660px,100%);margin:22px auto 0;box-shadow:0 10px 36px #1b3c2840}.searchbar>svg{color:#88938f}.searchbar input{flex:1;min-width:0;background:transparent;border:0;outline:0;padding:9px 2px}.category-panel{position:relative;background:#fff;border:1px solid #ebeeea;border-radius:20px;box-shadow:0 12px 30px #08392d0b;padding:20px;margin-top:-42px;z-index:2}.categories{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.category{display:flex;flex-direction:column;align-items:center;gap:7px;justify-content:flex-start;text-align:center;font-size:13px;font-weight:700;white-space:nowrap}.category-icon{width:55px;height:55px;display:grid;place-items:center;border-radius:15px}.category-icon svg{width:28px;height:28px;stroke-width:2.4}.c1{background:#eaf4ec;color:#125e3b}.c2{background:#fff0dc;color:#f28b16}.c3{background:#e6f3ea;color:#17714c}.c4{background:#fff0e8;color:#ea6120}.c5{background:#e9f4fc;color:#2783bf}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:32px 0 15px}.section-head h2,.section-head h3{margin:0}.section-head>a{color:var(--green);font-weight:700;display:inline-flex;align-items:center;gap:3px;font-size:14px}.section-head>a>svg{width:17px}.listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.listing-card,.panel{background:#fff;border-radius:var(--radius);border:1px solid var(--line);box-shadow:0 5px 22px #193f2c08;overflow:hidden}.listing-image{display:block;height:195px;position:relative;background:#e6ede4}.listing-image img{width:100%;height:100%;object-fit:cover}.category-chip,.tag{display:inline-block;padding:4px 11px;background:#f7a02c;color:#fff;border-radius:9px;font-size:12px;font-weight:700}.category-chip{position:absolute;left:12px;top:12px}.listing-body{padding:15px 17px}.listing-title{display:block;font-size:18px;font-weight:700;min-height:28px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.listing-title:hover{color:var(--green)}.meta,.muted{color:var(--muted);font-size:13px}.meta,.listing-bottom{display:flex;align-items:center;gap:3px}.meta svg,.listing-bottom svg{width:15px;height:15px}.listing-bottom{justify-content:space-between;margin-top:11px}.listing-bottom strong,.price-lg{font-size:21px;color:#f16816}.listing-bottom span{display:flex;align-items:center;gap:4px}.home-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0 50px}.home-two .panel{padding:18px}.section-head.compact{margin:0 0 15px}.section-head.compact h3{font-size:18px}.illustration-map{min-height:260px;border-radius:15px;position:relative;overflow:hidden;background:linear-gradient(120deg,#e3eee0 12%,#d8e8d5 12% 24%,#f5f1d9 24% 38%,#dee9d6 38% 64%,#cee6d0 64%);border:1px solid #e2e8db}.map-grid{position:absolute;inset:-80px;background:repeating-linear-gradient(30deg,transparent 0 70px,#fff 71px 84px,transparent 85px 133px),repeating-linear-gradient(110deg,transparent 0 100px,#fff 101px 115px,transparent 116px 170px);opacity:.9}.map-pin{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);background:var(--orange);color:white;box-shadow:0 8px 16px #223c2844}.map-pin svg{transform:rotate(45deg)}.mp1{top:17%;left:24%}.mp2{top:40%;left:66%;background:#0e6c43}.mp3{top:62%;left:18%;background:#2983ca}.map-center{position:absolute;left:49%;top:47%;color:#fff;background:#2087dc;border:5px solid white;border-radius:50%;display:grid;place-items:center;padding:6px;box-shadow:0 5px 15px #3336}.map-caption{position:absolute;bottom:11px;right:12px;font-weight:700;font-size:12px;color:#345b40;background:#ffffffea;border-radius:8px;padding:5px 9px}.outline-link{display:flex;justify-content:center;align-items:center;color:var(--green);gap:6px;margin-top:12px;font-weight:700}.news-stack{display:grid;gap:13px}.news-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #ecf0ec;padding-bottom:10px}.news-row img{width:90px;height:66px;object-fit:cover;border-radius:10px;background:#e3ede2}.news-row b{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.news-row small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.disclaimer{font-size:12px;color:#8a918d;margin:12px 0 0}.page-wrap{padding-top:30px;padding-bottom:70px;min-height:55vh}.page-wrap>.section-head:first-child{margin-top:0}.filter-bar{display:flex;gap:10px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;margin-bottom:14px}.filter-bar input{flex:1;min-width:120px}.filter-bar input,.filter-bar select{border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:white}.filter-bar select{max-width:210px}.empty{padding:45px;text-align:center;background:white;border-radius:16px;margin-top:15px;color:#607a6e}.empty svg{display:block;margin:0 auto 12px}.pagination{display:flex;justify-content:center;gap:7px;margin-top:25px}.pagination a{border:1px solid #d5e1d8;padding:7px 14px;border-radius:8px}.pagination .selected{background:var(--green);color:#fff}.detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.detail-image{height:430px;width:100%;object-fit:cover;background:#e5efdf}.detail-pad{padding:25px}.detail-pad h1{font-size:30px;margin-top:15px}.description{white-space:pre-line}.contact-panel{padding:22px;height:max-content}.narrow{max-width:740px}.form-card{padding:25px}.form-card form,.form-card{display:flex;flex-direction:column;gap:17px}.form-card form{gap:17px}.form-card label{display:flex;flex-direction:column;gap:6px;font-weight:700}.form-card input,.form-card textarea,.form-card select{width:100%;padding:11px 13px;border-radius:10px;border:1px solid #dae2dc;background:white;outline-color:var(--green);font-weight:400}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.auth-wrap{min-height:70vh;display:grid;place-items:center;padding:40px 0}.auth-wrap>.panel{width:min(450px,100%)}.auth-title{text-align:center}.auth-title img{height:72px}.auth-title h2{font-size:24px;margin:5px 0}.auth-title p{color:var(--muted)}.center{text-align:center}.center a{color:var(--green);font-weight:700}.news-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.news-tile{display:flex}.news-tile img{width:35%;object-fit:cover;min-height:190px}.news-tile>div{padding:18px}.news-tile h3{margin:8px 0;font-size:18px}.news-tile p{font-size:14px}.news-tile small{color:var(--muted)}.large-map{min-height:440px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.stat{padding:20px;display:flex;flex-direction:column;gap:4px}.stat strong{font-size:32px;color:var(--green)}.admin-columns{display:grid;grid-template-columns:1fr 1.4fr;gap:20px;margin-bottom:20px}.admin-item{border-top:1px solid #e5eae6;padding:12px 0;display:flex;justify-content:space-between;gap:10px}.admin-item>div{min-width:0}.admin-item small{display:block;color:var(--muted)}.admin-item form{display:flex;flex-direction:row;gap:5px;align-items:center}.admin-item select{min-width:105px}.footer{background:#f0f5ef;border-top:1px solid var(--line);padding:27px 0;color:#658274}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px}.footer .brand img{height:38px;width:38px}.footer .brand b{font-size:22px}.footer .brand small{font-size:11px}.footer p{margin:0}.mobile-tabs{display:none}.logout-form{position:fixed;bottom:12px;right:15px;z-index:55}.logout-form button{border:1px solid #dbe7dc;background:white;border-radius:20px;padding:7px 12px;color:#637e6f;font-size:12px;display:flex;align-items:center;gap:4px}.logout-form svg{width:14px}.notice{padding:12px 18px;margin-top:12px;border-radius:12px;background:#e7f5ec;color:#0c6647}.notice.error{background:#fff0ef;color:#a12e29}
@media(max-width:1050px){.desktop-nav{gap:11px}.desktop-nav a{font-size:12px}.location{display:none}.categories{grid-template-columns:repeat(5,1fr);row-gap:18px}.listing-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:780px){.container{width:min(100% - 24px,700px)}.topbar-inner{min-height:64px}.desktop-nav{display:none}.brand img{width:42px;height:42px}.brand b{font-size:23px}.brand small{font-size:11px}.top-actions .user-btn{max-width:90px;overflow:hidden;font-size:12px}.hero{min-height:320px}.hero-inner{padding:42px 0 80px}.hero-pill{display:flex}.hero h1{font-size:39px}.hero h2{font-size:23px}.hero p{font-size:14px}.category-panel{margin-top:-37px;padding:17px 7px}.category{font-size:11px}.category-icon{width:50px;height:50px}.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.listing-image{height:155px}.listing-body{padding:12px}.listing-title{font-size:15px}.listing-bottom strong{font-size:17px}.home-two,.detail-layout,.admin-columns{grid-template-columns:1fr}.home-two{margin-bottom:25px}.page-wrap{padding-bottom:100px}.footer{padding-bottom:105px}.mobile-tabs{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:60;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #e2e9e3;padding:7px 6px max(8px,env(safe-area-inset-bottom));box-shadow:0 -4px 24px #0000000a}.mobile-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:#728078;font-weight:700}.mobile-tabs svg{width:24px;height:24px}.mobile-tabs a:first-child{color:var(--green)}.mobile-tabs .mobile-add svg{background:var(--green);color:#fff;border-radius:50%;box-sizing:content-box;padding:12px;margin-top:-29px;box-shadow:0 5px 12px #064b3160}.logout-form{bottom:90px;right:7px}.news-list{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:470px){.topbar .brand small{display:none}.topbar .brand b{font-size:22px}.category-icon{width:44px;height:44px;border-radius:12px}.category-icon svg{width:25px}.category{font-size:10px;gap:5px}.section-head{margin-top:25px}.section-head h3{font-size:19px}.section-head h2{font-size:22px}.listing-image{height:135px}.listing-title{font-size:14px}.listing-bottom strong{font-size:16px}.hero{min-height:308px}.searchbar .btn{padding:10px 13px}.filter-bar{flex-wrap:wrap}.filter-bar input{width:100%;flex-basis:100%}.filter-bar select{flex:1}.detail-image{height:260px}.detail-pad{padding:18px}.detail-pad h1{font-size:23px}.form-row{grid-template-columns:1fr}.footer-inner{justify-content:center;text-align:center}.footer .brand{justify-content:center}.news-tile img{width:36%}.admin-item{flex-direction:column}.admin-item form{flex-direction:row}.top-actions .user-btn{max-width:75px}}

/* BAANHAO_PNG_BRANDING_START: responsive transparent PNG logos */
.topbar .brand.brand-logo img{display:block;width:auto;height:68px;max-width:250px;object-fit:contain;border-radius:0;flex-shrink:0}
.footer .brand.brand-logo img{display:block;width:auto;height:63px;max-width:240px;object-fit:contain;border-radius:0}
.auth-title .auth-logo{display:block;width:200px;height:auto;max-width:85%;margin:0 auto 12px;object-fit:contain;border-radius:0}
@media(max-width:780px){.topbar .brand.brand-logo img{height:54px;max-width:180px}.footer .brand.brand-logo img{height:54px;max-width:180px}.auth-title .auth-logo{width:160px}}
@media(max-width:470px){.topbar .brand.brand-logo img{height:48px;max-width:160px}.footer .brand.brand-logo img{height:47px;max-width:160px}.auth-title .auth-logo{width:145px}}
/* BAANHAO_PNG_BRANDING_END */

/* BAANHAO LOGO 2026-10-13: avoid square-icon dimensions and browser/PWA stale styling */
.topbar .brand.brand-logo {display:flex;flex:0 0 auto;min-width:220px;align-items:center;justify-content:flex-start}
.topbar .brand.brand-logo img {display:block!important;width:234px!important;height:auto!important;max-width:none!important;max-height:72px!important;object-fit:contain!important;flex:0 0 auto!important;border-radius:0!important}
.footer .brand.brand-logo img {display:block!important;width:220px!important;height:auto!important;max-width:none!important;object-fit:contain!important;border-radius:0!important}
.auth-title .auth-logo {display:block!important;width:210px!important;height:auto!important;max-width:90%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;margin:0 auto 12px!important}
@media(max-width:1050px){.topbar .brand.brand-logo{min-width:175px}.topbar .brand.brand-logo img{width:185px!important}}
@media(max-width:780px){.topbar .brand.brand-logo{min-width:0}.topbar .brand.brand-logo img{width:175px!important;max-height:60px!important}.footer .brand.brand-logo img{width:190px!important}.auth-title .auth-logo{width:175px!important}}
@media(max-width:470px){.topbar .brand.brand-logo img{width:155px!important;max-height:52px!important}.footer .brand.brand-logo img{width:175px!important}.auth-title .auth-logo{width:160px!important}}
