/* AGRO24-LISTING-CONTEXT-v1 */
#listing-view.agro-listing-has-context{--agro-listing-header-height:74px;padding:calc(var(--agro-listing-header-height) + 12px) 12px 12px;align-items:center;background:#181818}
#listing-view > header.agro-listing-portal-header{position:fixed;inset:0 0 auto;z-index:30;width:100%;margin:0;box-shadow:0 2px 12px #0003}
#listing-view.agro-listing-has-context > .listing-dialog{max-height:calc(100vh - var(--agro-listing-header-height) - 24px);max-height:calc(100dvh - var(--agro-listing-header-height) - 24px)}
#agro-listing-context-bar{position:sticky;top:-1px;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:8px 0 12px;margin:-1px 0 8px;border-bottom:1px solid #e4ece7}
#agro-listing-context-bar .listing-close{position:static;float:none;flex:none;margin:0;padding:10px 12px;cursor:pointer}
.agro-listing-browse{display:inline-flex;align-items:center;min-height:44px;color:#147d43;font-size:15px;line-height:1.3;font-weight:750;text-decoration:none;padding:10px 12px;border:1px solid #b9d4c3;border-radius:8px;background:#f5faf6}
.agro-listing-browse:hover{background:#e8f4eb;border-color:#198d4e}
.agro-listing-browse:focus-visible,.agro-listing-mobile-browse:focus-visible{outline:3px solid #58d764;outline-offset:3px}
.agro-listing-context-bottom{margin-top:24px;padding-top:18px;border-top:1px solid #e4ece7}
.agro-listing-context-bottom .agro-listing-browse{width:100%;justify-content:center}
.agro-listing-mobile-browse{display:none}
@media(max-width:680px){
 #listing-view.agro-listing-has-context{padding:calc(var(--agro-listing-header-height) + 8px) 6px 6px}
 #listing-view.agro-listing-has-context > .listing-dialog{max-height:calc(100vh - var(--agro-listing-header-height) - 14px);max-height:calc(100dvh - var(--agro-listing-header-height) - 14px);border-radius:12px;padding:12px}
 #listing-view > header.agro-listing-portal-header{padding:env(safe-area-inset-top,0px) 0 0}
 #listing-view > header.agro-listing-portal-header .nav{height:64px;min-height:64px;flex-wrap:nowrap;gap:12px;padding-left:16px;padding-right:16px}
 #listing-view > header.agro-listing-portal-header nav,#listing-view > header.agro-listing-portal-header .navact{display:none!important}
 #listing-view > header.agro-listing-portal-header .logo{font-size:29px}
 #listing-view > header.agro-listing-portal-header .logo small{font-size:8px}
 #listing-view .agro-listing-mobile-browse{display:inline-flex;align-items:center;min-height:44px;max-width:56%;padding:8px 10px;border:1px solid #719384;border-radius:7px;color:#fff;text-decoration:none;font-size:13px;line-height:1.25;font-weight:700}
 #agro-listing-context-bar{gap:8px;padding-top:4px;padding-bottom:8px}
 #agro-listing-context-bar .agro-listing-browse{font-size:13px;padding:8px}
 #agro-listing-context-bar .listing-close{font-size:12px;padding:10px 8px;min-height:44px}
}

.agro-listing-related{margin-top:28px;padding-top:16px;border-top:1px solid #e4ece7}
.agro-listing-related[hidden]{display:none}
.agro-listing-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.agro-listing-related-card{display:block;min-width:0;border:1px solid #dce7df;border-radius:10px;overflow:hidden;color:#152a28;text-decoration:none;background:#fff}
.agro-listing-related-card:hover{border-color:#198d4e}
.agro-listing-related-card img{width:100%;height:130px;object-fit:cover;display:block}
.agro-listing-related-card strong,.agro-listing-related-price{display:block;padding:10px;font-size:14px;overflow-wrap:anywhere}
.agro-listing-related-price{padding-top:0;color:#147d43}
@media(max-width:480px){.agro-listing-related-grid{grid-template-columns:1fr}.agro-listing-related-card{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center}.agro-listing-related-card img{height:100%;min-height:95px;grid-row:1/3}.agro-listing-related-card strong,.agro-listing-related-price{grid-column:2}}
