body.marketplace-guest{padding:0;background:linear-gradient(#eef4f0ed,#eef4f0ed),url('../images/DA_background.jpeg') center/cover fixed;color:#294235}
body.marketplace-guest .mobile-filter-toggle{display:none}
body.marketplace-guest .container{width:min(1180px,100%);padding:18px;margin:0 auto}
.public-marketplace-nav{position:sticky;top:10px;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:9px 11px;border:1px solid #d8e5db;border-radius:14px;background:#fffffff2;box-shadow:0 7px 24px #173d2412;backdrop-filter:blur(12px)}
.public-brand{display:flex;align-items:center;gap:10px;color:#17492f;text-decoration:none}.public-brand img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#0d3f2d}.public-brand span{display:grid;line-height:1.1}.public-brand strong{font-size:17px}.public-brand small{margin-top:3px;color:#718276;font-size:7px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.public-marketplace-nav>div{display:flex;align-items:center;gap:5px}.public-marketplace-nav>div a{padding:9px 12px;border-radius:9px;color:#345c42;font-size:11px;font-weight:700;text-decoration:none}.public-marketplace-nav>div a.active{background:#edf5ef}.public-marketplace-nav>div a.seller-login{background:#1f683f;color:#fff}
body.marketplace-guest .hero{min-height:210px;margin-bottom:14px;padding:31px;border:1px solid #cfdfd3;border-radius:18px;background:linear-gradient(90deg,#edf4eff2 0%,#edf4efc9 51%,#edf4ef1c 77%),url('../images/admin-header-farm.png') center/cover;box-shadow:0 7px 24px #173d2412}
body.marketplace-guest .hero:after{display:none}.public-eyebrow{position:relative;z-index:1;display:block;margin-bottom:8px;color:#52715e;font-size:8px;font-weight:800;letter-spacing:2px}
body.marketplace-guest .hero h1{max-width:610px;margin:0 0 8px;color:#123f2b;font-size:38px;line-height:1.05;letter-spacing:-.7px}
body.marketplace-guest .hero p{max-width:650px;margin:0;color:#456251;font-size:13px;line-height:1.55}
body.marketplace-guest .hero .btn{margin-top:15px;border:1px solid #1f683f;border-radius:9px;background:#1f683f;color:#fff;font-size:11px;box-shadow:0 4px 12px #17492f1c}
body.marketplace-guest .search-box{margin:0 0 13px;padding:15px;border:1px solid #d9e6dc;border-radius:15px;background:#fffffff5;box-shadow:0 5px 18px #173d240b}
body.marketplace-guest .filters{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(105px,1fr)) 78px 68px;gap:8px}
body.marketplace-guest .field label{margin-bottom:5px;color:#526c5b;font-size:9px;letter-spacing:.3px}
body.marketplace-guest .field input,body.marketplace-guest .field select{height:41px;padding:8px 10px;border-color:#cbdccf;border-radius:9px;background:#fbfdfb;font-size:11px}
body.marketplace-guest .search-btn,body.marketplace-guest .reset{display:flex;align-items:center;justify-content:center;height:41px;margin:0;padding:8px 10px;border-radius:9px;font-size:10px}
body.marketplace-guest .search-btn{border-color:#1f683f;background:#1f683f;color:#fff}body.marketplace-guest .reset{border:1px solid #d4dfd6;background:#f0f4f1;color:#405d49}
body.marketplace-guest .result-count{margin:13px 2px;color:#335b41;font-size:11px}
body.marketplace-guest .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.marketplace-guest .card{width:100%;min-width:0;overflow:hidden;border:1px solid #d9e6dc;border-radius:16px;background:#fff;box-shadow:0 5px 18px #173d240c;transform:none}
body.marketplace-guest .card:hover{border-color:#bdd3c2;box-shadow:0 10px 26px #173d2415;transform:translateY(-2px)}
body.marketplace-guest .card>img{width:100%;height:235px;border-bottom:1px solid #e2ebe4;object-fit:contain;background:#edf3ee}
body.marketplace-guest .card-body{height:auto;padding:17px}
body.marketplace-guest .card h3{margin:0 0 12px;color:#17492f;font-size:20px}
body.marketplace-guest .meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;color:#314b3a;line-height:1.35}
body.marketplace-guest .meta span{display:flex;min-width:0;flex-direction:column;padding:9px 10px;border:1px solid #e3ebe5;border-radius:9px;background:#f8fbf8}
body.marketplace-guest .meta span:nth-child(3),body.marketplace-guest .meta span:nth-child(4),body.marketplace-guest .meta span:nth-child(5){grid-column:1/-1}
body.marketplace-guest .meta strong{margin-bottom:3px;color:#728278;font-size:8px;letter-spacing:.7px;text-transform:uppercase}.public-marketplace .meta b{color:#294b36;font-size:11px;font-weight:650;overflow-wrap:anywhere}
body.marketplace-guest .price{margin:13px 0 4px;color:#1b633a;font-size:21px}body.marketplace-guest .price small{display:inline;color:#6c7d71;font-size:10px;font-weight:600}
body.marketplace-guest .description{min-height:0;max-height:none;margin:8px 0;color:#607167;font-size:11px;line-height:1.5;overflow:visible}
body.marketplace-guest .status{margin-top:5px;padding:6px 9px;border-color:#c8e5cf;background:#e5f6e9;color:#1f683f;font-size:9px}
.ownership-trust{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:10px;padding:10px;border:1px solid #bcdcc5;border-radius:10px;background:#f0f8f2;color:#1f5f39}.ownership-trust>span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#247443;color:#fff;font-weight:800}.ownership-trust strong,.ownership-trust small{display:block}.ownership-trust strong{font-size:10px}.ownership-trust small{margin-top:2px;color:#667a6c;font-size:8px;line-height:1.4}.ownership-trust a{padding:7px 9px;border:1px solid #b7d6bf;border-radius:8px;background:#fff;color:#1f633b;font-size:9px;font-weight:750;text-decoration:none;white-space:nowrap}
body.marketplace-guest .contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.public-marketplace .contact-link{min-height:40px;padding:8px 11px;border-radius:9px;font-size:10px}.public-marketplace .contact-link.facebook{grid-column:1/-1;background:#1877f2}
@media(max-width:980px){body.marketplace-guest .filters{grid-template-columns:repeat(2,minmax(0,1fr))}body.marketplace-guest .filters .field:first-child,body.marketplace-guest .filters .field:nth-child(2),body.marketplace-guest .filters .field:nth-child(5){grid-column:1/-1}}
@media(max-width:680px){body.marketplace-guest .container{padding:9px}.public-marketplace-nav{top:6px;margin-bottom:9px;padding:7px 8px}.public-brand img{width:34px;height:34px}.public-brand strong{font-size:15px}.public-brand small{display:none}.public-marketplace-nav>div a{padding:8px;font-size:9px}.public-marketplace-nav>div a.active{display:none}body.marketplace-guest .hero{min-height:170px;padding:20px 16px;background-position:68% center}body.marketplace-guest .hero h1{max-width:290px;font-size:27px}body.marketplace-guest .hero p{max-width:310px;font-size:11px}body.marketplace-guest .search-box{padding:12px}body.marketplace-guest .filters{grid-template-columns:1fr 1fr}body.marketplace-guest .grid{grid-template-columns:1fr}body.marketplace-guest .card>img{height:210px}}
@media(max-width:400px){body.marketplace-guest .meta{grid-template-columns:1fr}body.marketplace-guest .meta span:nth-child(n){grid-column:auto}.public-marketplace-nav>div a{padding:7px 6px}}
@media(max-width:480px){.ownership-trust{grid-template-columns:30px 1fr}.ownership-trust a{grid-column:1/-1;text-align:center}}

/* Phone marketplace: keep discovery focused and hide optional filters until requested. */
@media(max-width:680px){
body.marketplace-guest{background:#f1f6f2}
body.marketplace-guest .container{padding:10px}
.public-marketplace-nav{position:relative;top:auto;margin-bottom:12px;padding:9px 11px;border-radius:16px}
.public-brand img{width:38px;height:38px}.public-brand strong{font-size:18px}
.public-marketplace-nav>div a.seller-login{padding:9px 11px;border-radius:10px;font-size:10px}
body.marketplace-guest .hero{min-height:0;padding:21px 18px;border-radius:18px;background:linear-gradient(90deg,#eef6f0f5 0%,#eef6f0df 60%,#eef6f075 100%),url('../images/admin-header-farm.png') center/cover}
body.marketplace-guest .hero h1{max-width:260px;font-size:26px;line-height:1.08}
body.marketplace-guest .hero p{display:none}
body.marketplace-guest .hero .btn{display:none}
body.marketplace-guest .search-box{margin:0 0 16px;padding:15px;border-radius:18px;box-shadow:0 10px 26px #173d2410}
body.marketplace-guest .filters{grid-template-columns:1fr 1fr;gap:10px}
body.marketplace-guest .filters .field:first-child,body.marketplace-guest .filters .field:nth-child(2){grid-column:1/-1}
body.marketplace-guest .field label{margin:0 0 5px;font-size:10px;letter-spacing:.45px;text-transform:uppercase}
body.marketplace-guest .field input,body.marketplace-guest .field select{height:47px;padding:10px 12px;border-radius:12px;font-size:14px}
body.marketplace-guest .mobile-filter-toggle{display:flex;grid-column:1/-1;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;color:#296141;background:#eef6f0;border:1px dashed #a9cdb1;border-radius:11px;font-size:11px;font-weight:800;cursor:pointer}
body.marketplace-guest .mobile-filter-toggle::before{content:'+';margin-right:6px;font-size:16px;line-height:1}
body.marketplace-guest .filters.show-advanced-filters .mobile-filter-toggle::before{content:'−'}
body.marketplace-guest .advanced-filter{display:none}
body.marketplace-guest .filters.show-advanced-filters .advanced-filter{display:block}
body.marketplace-guest .filters.show-advanced-filters .advanced-filter:last-of-type{grid-column:1/-1}
body.marketplace-guest .search-btn,body.marketplace-guest .reset{height:46px;border-radius:12px;font-size:12px}
body.marketplace-guest .search-btn{grid-column:1/2}
body.marketplace-guest .reset{grid-column:2/3}
body.marketplace-guest .result-count{margin:15px 3px;font-size:12px}
body.marketplace-guest .card{border-radius:18px}.listing-heading{align-items:flex-start}.listing-heading h3{font-size:21px}.seller-summary{gap:9px}.seller-contact{max-width:48%}.listing-highlights{margin:14px 0;padding-bottom:13px}
}
