/*
Theme Name: Bayosell Marketplace
Theme URI: https://www.bayosell.com
Author: Bayosell
Author URI: https://www.bayosell.com
Description: Modern mobile-first marketplace theme for Bayosell Marketplace Core.
Version: 3.0.32V
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: bayosell-theme
*/

:root{
    --bayo-green:#126844;
    --bayo-green-dark:#0a4b32;
    --bayo-green-soft:#eaf5ef;
    --bayo-orange:#f58a23;
    --bayo-orange-dark:#d76f0b;
    --bayo-ink:#18221d;
    --bayo-text:#334139;
    --bayo-muted:#6b776f;
    --bayo-line:#dfe6e2;
    --bayo-line-strong:#c8d3cd;
    --bayo-bg:#f5f7f6;
    --bayo-white:#fff;
    --bayo-danger:#b42318;
    --bayo-warning:#9a6700;
    --bayo-success:#17643b;
    --bayo-radius-sm:8px;
    --bayo-radius:12px;
    --bayo-radius-lg:18px;
    --bayo-shadow-sm:0 2px 10px rgba(24,55,41,.06);
    --bayo-shadow:0 12px 34px rgba(24,55,41,.09);
    --bayo-container:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    background:var(--bayo-bg);
    color:var(--bayo-ink);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

.screen-reader-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

.bayo-container{width:min(calc(100% - 32px),var(--bayo-container));margin-inline:auto}
.bayo-section{padding:38px 0}
.bayo-card{background:#fff;border:1px solid var(--bayo-line);border-radius:var(--bayo-radius);box-shadow:var(--bayo-shadow-sm)}

h1,h2,h3,h4,h5,h6{margin:0 0 .65em;line-height:1.18;letter-spacing:-.025em;color:var(--bayo-ink)}
h1{font-size:clamp(2rem,5vw,3.5rem)}
h2{font-size:clamp(1.65rem,3vw,2.3rem)}
h3{font-size:1.35rem}
p{margin:0 0 1em;color:var(--bayo-text)}

.bayo-button,
.wp-element-button,
button[type="submit"],
input[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:0 18px;
    border:0;
    border-radius:var(--bayo-radius-sm);
    background:var(--bayo-green);
    color:#fff;
    font-weight:800;
    transition:.18s ease;
}
.bayo-button:hover,.wp-element-button:hover,button[type="submit"]:hover,input[type="submit"]:hover{background:var(--bayo-green-dark);transform:translateY(-1px)}
.bayo-button--accent{background:var(--bayo-orange)}
.bayo-button--accent:hover{background:var(--bayo-orange-dark)}
.bayo-button--ghost{border:1px solid var(--bayo-line-strong);background:#fff;color:var(--bayo-ink)}

input[type="text"],input[type="email"],input[type="tel"],input[type="url"],input[type="number"],input[type="password"],select,textarea{
    width:100%;
    min-height:48px;
    padding:12px 14px;
    border:1px solid var(--bayo-line-strong);
    border-radius:var(--bayo-radius-sm);
    background:#fff;
    color:var(--bayo-ink);
    outline:0;
    transition:border-color .16s ease,box-shadow .16s ease;
}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--bayo-green);box-shadow:0 0 0 3px rgba(18,104,68,.12)}

.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--bayo-line);backdrop-filter:blur(14px)}
.bayo-header-main{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:20px;min-height:74px}
.bayo-brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:900;letter-spacing:-.04em;color:var(--bayo-green)}
.bayo-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--bayo-green);color:#fff;font-size:20px}
.bayo-brand img{max-height:42px;width:auto}

.bayo-header-search{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,.55fr) auto;border:1px solid var(--bayo-line-strong);border-radius:12px;background:#fff;overflow:hidden}
.bayo-header-search input,.bayo-header-search select{min-height:46px;border:0;border-radius:0;box-shadow:none}
.bayo-header-search select{border-left:1px solid var(--bayo-line)}
.bayo-header-search button{border-radius:0;padding-inline:20px}

.bayo-header-actions{display:flex;align-items:center;gap:8px}
.bayo-header-link{padding:10px 8px;font-weight:750;color:#405047}
.bayo-header-link:hover{color:var(--bayo-green)}
.bayo-sell-button{background:var(--bayo-orange);box-shadow:0 6px 16px rgba(245,138,35,.24)}

.bayo-action-icon{width:18px;height:18px;flex:0 0 auto}
.bayo-mobile-toggle{display:none;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:10px;background:var(--bayo-green-soft);color:var(--bayo-green)}
.bayo-menu-icon{width:24px;height:24px}.bayo-menu-icon--close{display:none}
.bayo-mobile-backdrop{position:fixed;inset:0;z-index:998;background:rgba(8,25,17,.48);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.bayo-mobile-panel{position:fixed;top:0;right:0;bottom:0;z-index:999;width:min(88vw,380px);overflow-y:auto;background:#fff;box-shadow:-18px 0 44px rgba(8,34,22,.2);transform:translateX(105%);visibility:hidden;transition:transform .24s ease,visibility .24s ease}
.bayo-mobile-panel.is-open{transform:translateX(0);visibility:visible}
.bayo-mobile-panel.is-open+.nothing{display:none}
.bayo-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:16px 18px;background:var(--bayo-green);color:#fff}
.bayo-mobile-menu-head strong{display:block;color:#fff;font-size:20px}.bayo-mobile-menu-head small{display:block;margin-top:2px;color:rgba(255,255,255,.78);font-size:12px}
.bayo-mobile-menu-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(255,255,255,.1);color:#fff}.bayo-mobile-menu-close svg{width:22px;height:22px}
.bayo-mobile-panel-inner{padding:18px}
.bayo-mobile-panel .menu{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}
.bayo-mobile-panel .menu a{display:block;padding:11px 0;font-weight:750}
body.bayo-mobile-nav-open{overflow:hidden}body.bayo-mobile-nav-open .bayo-mobile-backdrop{opacity:1;visibility:visible}body.bayo-mobile-nav-open .bayo-menu-icon--open{display:none}body.bayo-mobile-nav-open .bayo-menu-icon--close{display:block}

.site-main{min-height:60vh}
.bayo-page-shell{padding:34px 0 48px}
.bayo-content-card{padding:24px;background:#fff;border:1px solid var(--bayo-line);border-radius:var(--bayo-radius-lg);box-shadow:var(--bayo-shadow-sm)}

.site-footer{margin-top:54px;background:#10281d;color:#dce9e2}
.bayo-footer-main{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:34px;padding:46px 0 34px}
.bayo-footer-brand{font-size:26px;font-weight:900;color:#fff}
.bayo-footer-description{max-width:380px;color:#b8c9c0}
.bayo-footer-column h3{margin-bottom:14px;color:#fff;font-size:15px;text-transform:uppercase;letter-spacing:.08em}
.bayo-footer-column ul{margin:0;padding:0;list-style:none}
.bayo-footer-column li{margin:8px 0}
.bayo-footer-column a{color:#c3d1ca}
.bayo-footer-column a:hover{color:#fff}
.bayo-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid rgba(255,255,255,.12);color:#9fb1a8;font-size:14px}

/* Marketplace plugin compatibility */
.bayosell-control-centre{--bayosell-accent:var(--bayo-green)}
.bayosell-shell,.bayosell-public-shop{font-family:inherit}
.bayosell-primary-button{background:var(--bayo-green)!important;border-radius:var(--bayo-radius-sm)!important}
.bayosell-secondary-button{border-color:var(--bayo-line-strong)!important;border-radius:var(--bayo-radius-sm)!important}
.bayosell-sidebar{border-color:var(--bayo-line)!important}
.bayosell-content{background:transparent!important}

@media(max-width:980px){
    .bayo-header-main{grid-template-columns:auto 1fr auto}
    .bayo-header-search{display:none}
    .bayo-mobile-toggle{display:grid}
    .bayo-header-link{display:none}
    .bayo-footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
    .bayo-container{width:min(calc(100% - 22px),var(--bayo-container))}
    .site-header{background:var(--bayo-green);border-bottom:0;box-shadow:0 3px 14px rgba(8,45,29,.2);backdrop-filter:none}
    .bayo-header-main{grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:62px}
    .bayo-brand{min-width:0;color:#fff;font-size:22px}.bayo-brand-mark{width:34px;height:34px;background:#fff;color:var(--bayo-green);border-radius:10px}.bayo-brand img{max-height:36px}
    .bayo-header-actions{gap:7px}.bayo-sell-button{min-height:40px;padding:0 12px;border:1px solid rgba(255,255,255,.35);background:#fff;color:var(--bayo-green);box-shadow:none;font-size:13px;font-weight:900}.bayo-sell-button:hover{background:#f5fff9;color:var(--bayo-green-dark)}
    .bayo-mobile-toggle{width:40px;height:40px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(255,255,255,.1);color:#fff}
    .bayo-action-icon{width:17px;height:17px}
    .bayo-content-card{padding:16px;border-radius:14px}
    .bayo-footer-main{grid-template-columns:1fr;padding:36px 0 26px}
    .bayo-footer-bottom{flex-direction:column}
}

.bayo-home-hero{padding:44px 0 34px;background:linear-gradient(145deg,#e8f5ee,#f8fbf9 58%,#fff8ef);border-bottom:1px solid var(--bayo-line)}
.bayo-home-hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);align-items:center;gap:42px}
.bayo-home-eyebrow{display:inline-flex;margin-bottom:12px;color:var(--bayo-green);font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.bayo-home-hero h1{max-width:760px;margin-bottom:16px;font-size:clamp(2.45rem,5vw,4.3rem);letter-spacing:-.055em}.bayo-home-hero h1 span{color:var(--bayo-green)}
.bayo-home-hero-copy{max-width:690px;margin-bottom:24px;color:#56665e;font-size:18px}
.bayo-home-search{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(145px,.7fr) auto;gap:9px;max-width:800px;padding:10px;border:1px solid #d5dfd9;border-radius:16px;background:#fff;box-shadow:var(--bayo-shadow)}
.bayo-home-trust{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px;color:#5d6b64;font-size:14px}.bayo-home-trust span:before{content:"✓";margin-right:6px;color:var(--bayo-green);font-weight:900}
.bayo-hero-card{padding:24px;border:1px solid rgba(18,104,68,.15);border-radius:22px;background:#fff;box-shadow:var(--bayo-shadow)}
.bayo-hero-step{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--bayo-line)}.bayo-hero-step:last-child{border-bottom:0}.bayo-hero-step b{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--bayo-green-soft);color:var(--bayo-green)}
.bayo-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}.bayo-section-heading h2{margin:0}.bayo-section-heading p{margin:5px 0 0;color:var(--bayo-muted)}.bayo-section-link{color:var(--bayo-green);font-weight:850}
.bayo-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.bayo-category-card{display:flex;flex-direction:column;gap:10px;min-height:132px;padding:16px;border:1px solid var(--bayo-line);border-radius:14px;background:#fff;transition:.18s}.bayo-category-card:hover{transform:translateY(-3px);box-shadow:var(--bayo-shadow)}
.bayo-category-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--bayo-green-soft);color:var(--bayo-green)}.bayo-category-icon svg{width:25px;height:25px;stroke:currentColor}.bayo-category-card small{color:var(--bayo-muted)}
.bayo-listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.bayo-listing-card{overflow:hidden;border:1px solid var(--bayo-line);border-radius:14px;background:#fff;transition:.18s}.bayo-listing-card:hover{transform:translateY(-3px);box-shadow:var(--bayo-shadow)}.bayo-listing-image{display:block;aspect-ratio:4/3;overflow:hidden;background:#e9eeeb}.bayo-listing-image img{width:100%;height:100%;object-fit:cover}.bayo-listing-body{padding:13px}.bayo-listing-price{display:block;color:var(--bayo-green);font-size:18px;font-weight:900}.bayo-listing-title{margin:4px 0 8px;font-size:15px}.bayo-listing-meta{display:flex;justify-content:space-between;gap:8px;color:var(--bayo-muted);font-size:12px}
.bayo-empty-state{padding:30px;border:1px dashed var(--bayo-line-strong);border-radius:14px;background:#fff;text-align:center;color:var(--bayo-muted)}
.bayo-safety-strip{display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:22px;border-radius:16px;background:#10281d;color:#fff}.bayo-safety-strip h3{margin:0;color:#fff}.bayo-safety-strip p{margin:4px 0 0;color:#c6d5cd}
@media(max-width:1080px){.bayo-category-grid{grid-template-columns:repeat(4,1fr)}.bayo-listing-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:860px){.bayo-home-hero-grid{grid-template-columns:1fr}.bayo-hero-card{display:none}}@media(max-width:700px){.bayo-home-search{grid-template-columns:1fr}.bayo-category-grid,.bayo-listing-grid{grid-template-columns:repeat(2,1fr)}.bayo-safety-strip{grid-template-columns:1fr;text-align:center}}

/* Stage 3.0.3 — compact classifieds homepage */
.bayo-home-hero{
	padding:22px 0 18px;
	background:#edf5f0;
}
.bayo-home-hero-grid{
	display:block;
}
.bayo-home-eyebrow,
.bayo-home-hero-copy,
.bayo-home-trust,
.bayo-hero-card{
	display:none!important;
}
.bayo-home-hero h1{
	margin:0 0 13px;
	max-width:none;
	font-size:clamp(1.35rem,2.5vw,1.8rem);
	line-height:1.2;
	letter-spacing:-.025em;
}
.bayo-home-hero h1 span{
	color:inherit;
}
.bayo-home-search{
	max-width:none;
	grid-template-columns:minmax(220px,1fr) minmax(180px,.34fr) auto;
	padding:8px;
	border-radius:12px;
	box-shadow:var(--bayo-shadow-sm);
}
.bayo-home-search input,
.bayo-home-search select{
	min-height:46px;
}
.bayo-section:first-of-type{
	padding-top:24px;
}
.bayo-category-grid{
	grid-template-columns:repeat(6,minmax(0,1fr));
	gap:10px;
}
.bayo-category-card{
	align-items:center;
	min-height:116px;
	padding:13px 9px;
	text-align:center;
}
.bayo-category-icon{
	width:48px;
	height:48px;
	border-radius:50%;
}
.bayo-category-icon svg{
	width:27px;
	height:27px;
}
.bayo-category-card strong{
	font-size:14px;
}
.bayo-category-card small{
	font-size:11px;
}
@media(max-width:700px){
	.bayo-home-hero{
		padding:15px 0;
	}
	.bayo-home-hero h1{
		font-size:1.2rem;
		margin-bottom:10px;
	}
	.bayo-home-search{
		grid-template-columns:1fr;
	}
	.bayo-category-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
		gap:8px;
	}
	.bayo-category-card{
		min-height:105px;
		padding:11px 6px;
	}
	.bayo-category-icon{
		width:44px;
		height:44px;
	}
}

/* Stage 3.0.4 — single-search classifieds homepage */
.bayo-home-hero{
	padding:0;
	background:transparent;
	border:0;
}
.bayo-home-hero-grid{
	display:block;
}
.bayo-home-hero h1,
.bayo-home-search,
.bayo-home-eyebrow,
.bayo-home-hero-copy,
.bayo-home-trust,
.bayo-hero-card{
	display:none!important;
}
.bayo-market-banner{
	background:linear-gradient(110deg,var(--bayo-green-dark),var(--bayo-green) 65%,#1b7e54);
	color:#fff;
}
.bayo-market-banner-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	min-height:112px;
	padding:20px 0;
}
.bayo-market-banner-copy{
	display:flex;
	align-items:center;
	gap:16px;
}
.bayo-market-banner-mark{
	display:grid;
	place-items:center;
	flex:0 0 58px;
	width:58px;
	height:58px;
	border-radius:18px;
	background:rgba(255,255,255,.14);
	color:#fff;
	font-size:28px;
	font-weight:900;
}
.bayo-market-banner h1{
	display:block!important;
	margin:0 0 4px;
	color:#fff;
	font-size:clamp(1.35rem,2.4vw,2rem);
	letter-spacing:-.03em;
}
.bayo-market-banner p{
	margin:0;
	color:#d7ebe0;
}
.bayo-market-banner .bayo-button{
	flex:0 0 auto;
	background:var(--bayo-orange);
}
.bayo-home-categories{
	padding-top:22px;
}
.bayo-home-categories .bayo-section-heading{
	margin-bottom:14px;
}
.bayo-category-grid{
	grid-template-columns:repeat(6,minmax(0,1fr));
	gap:10px;
}
.bayo-category-card{
	align-items:center;
	justify-content:flex-start;
	min-height:124px;
	padding:14px 10px;
	text-align:center;
}
.bayo-category-icon{
	width:58px;
	height:58px;
	border-radius:18px;
	background:linear-gradient(145deg,#edf8f2,#dff1e8);
	border:1px solid #cee4d7;
	color:var(--bayo-green-dark);
}
.bayo-category-icon svg{
	width:32px;
	height:32px;
}
.bayo-category-card:hover .bayo-category-icon{
	background:var(--bayo-green);
	color:#fff;
	border-color:var(--bayo-green);
}
.bayo-category-card strong{
	font-size:14px;
	line-height:1.25;
}
@media(max-width:700px){
	.bayo-market-banner-inner{
		min-height:94px;
		padding:15px 0;
	}
	.bayo-market-banner-mark{
		width:48px;
		height:48px;
		flex-basis:48px;
		border-radius:14px;
	}
	.bayo-market-banner h1{
		font-size:1.18rem;
	}
	.bayo-market-banner p{
		font-size:13px;
	}
	.bayo-market-banner .bayo-button{
		min-height:40px;
		padding-inline:12px;
		font-size:13px;
	}
	.bayo-category-grid{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
	.bayo-category-icon{
		width:52px;
		height:52px;
	}
}

/* Stage 3.0.5 — professional desktop classifieds layout */
.bayo-market-banner{
	display:none;
}
.bayo-home-market{
	padding:22px 0 34px;
}
.bayo-home-market-grid{
	display:grid;
	grid-template-columns:250px minmax(0,1fr);
	gap:20px;
	align-items:start;
}
.bayo-category-sidebar{
	position:sticky;
	top:92px;
	overflow:hidden;
	border:1px solid var(--bayo-line);
	border-radius:14px;
	background:#fff;
	box-shadow:var(--bayo-shadow-sm);
}
.bayo-category-sidebar-header{
	padding:15px 16px 12px;
	border-bottom:1px solid var(--bayo-line);
}
.bayo-category-sidebar-header h2{
	margin:0;
	font-size:17px;
}
.bayo-category-sidebar-list{
	margin:0;
	padding:6px 0;
	list-style:none;
}
.bayo-category-sidebar-list li{
	margin:0;
}
.bayo-category-sidebar-link{
	display:grid;
	grid-template-columns:32px minmax(0,1fr) auto;
	align-items:center;
	gap:9px;
	min-height:44px;
	padding:7px 13px;
	color:var(--bayo-text);
	transition:background .15s ease,color .15s ease;
}
.bayo-category-sidebar-link:hover{
	background:var(--bayo-green-soft);
	color:var(--bayo-green-dark);
}
.bayo-category-sidebar-icon{
	display:grid;
	place-items:center;
	width:30px;
	height:30px;
	border-radius:8px;
	background:#eef6f1;
	color:var(--bayo-green);
}
.bayo-category-sidebar-icon svg{
	width:19px;
	height:19px;
}
.bayo-category-sidebar-name{
	overflow:hidden;
	font-size:13px;
	font-weight:700;
	line-height:1.25;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.bayo-category-sidebar-count{
	color:var(--bayo-muted);
	font-size:11px;
}
.bayo-market-feed{
	min-width:0;
}
.bayo-feed-hero{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	margin-bottom:14px;
	padding:18px 20px;
	border-radius:14px;
	background:linear-gradient(115deg,var(--bayo-green-dark),var(--bayo-green));
	color:#fff;
}
.bayo-feed-hero h1{
	margin:0 0 4px;
	color:#fff;
	font-size:24px;
}
.bayo-feed-hero p{
	margin:0;
	color:#d9ebe1;
}
.bayo-feed-hero .bayo-button{
	background:var(--bayo-orange);
}
.bayo-feed-section{
	margin-top:20px;
}
.bayo-feed-section:first-of-type{
	margin-top:0;
}
.bayo-feed-heading{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-bottom:12px;
}
.bayo-feed-heading h2{
	margin:0;
	font-size:21px;
}
.bayo-feed-heading a{
	color:var(--bayo-green);
	font-size:13px;
	font-weight:800;
}
.bayo-home-market .bayo-listing-grid{
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:13px;
}
.bayo-home-market .bayo-listing-card{
	border-radius:12px;
}
.bayo-home-market .bayo-listing-image{
	aspect-ratio:4/3;
}
.bayo-home-market .bayo-listing-body{
	padding:11px;
}
.bayo-home-market .bayo-listing-title{
	display:-webkit-box;
	overflow:hidden;
	min-height:38px;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
}
.bayo-home-mobile-categories{
	display:none;
}
@media(max-width:980px){
	.bayo-home-market-grid{
		grid-template-columns:210px minmax(0,1fr);
	}
	.bayo-home-market .bayo-listing-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}
@media(max-width:760px){
	.bayo-home-market{
		padding-top:14px;
	}
	.bayo-home-market-grid{
		display:block;
	}
	.bayo-category-sidebar{
		display:none;
	}
	.bayo-home-mobile-categories{
		display:block;
		margin-bottom:16px;
	}
	.bayo-mobile-category-scroll{
		display:flex;
		gap:9px;
		overflow-x:auto;
		padding:2px 0 8px;
		scrollbar-width:none;
	}
	.bayo-mobile-category-scroll::-webkit-scrollbar{
		display:none;
	}
	.bayo-mobile-category{
		display:flex;
		flex:0 0 86px;
		flex-direction:column;
		align-items:center;
		gap:6px;
		color:var(--bayo-text);
		text-align:center;
	}
	.bayo-mobile-category .bayo-category-sidebar-icon{
		width:48px;
		height:48px;
		border-radius:14px;
	}
	.bayo-mobile-category .bayo-category-sidebar-icon svg{
		width:26px;
		height:26px;
	}
	.bayo-mobile-category span:last-child{
		font-size:11px;
		font-weight:700;
		line-height:1.2;
	}
	.bayo-feed-hero{
		padding:15px;
	}
	.bayo-feed-hero h1{
		font-size:19px;
	}
	.bayo-feed-hero p{
		font-size:13px;
	}
	.bayo-feed-hero .bayo-button{
		min-height:38px;
		padding-inline:11px;
		font-size:12px;
	}
	.bayo-home-market .bayo-listing-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:10px;
	}
}

/* Stage 3.0.6 — larger desktop banner and reliable mobile icons */
.bayo-feed-hero{
	min-height:150px;
	padding:28px 30px;
	border-radius:18px;
	background:
		radial-gradient(circle at 88% 18%,rgba(255,255,255,.12),transparent 24%),
		linear-gradient(115deg,var(--bayo-green-dark),var(--bayo-green) 68%,#1d7d55);
}
.bayo-feed-hero h1{
	font-size:32px;
	letter-spacing:-.035em;
}
.bayo-feed-hero p{
	max-width:620px;
	font-size:16px;
}
.bayo-feed-hero .bayo-button{
	min-height:48px;
	padding-inline:20px;
	font-size:15px;
}
.bayo-mobile-category .bayo-category-sidebar-icon{
	display:grid!important;
	place-items:center!important;
	overflow:visible!important;
	color:var(--bayo-green)!important;
	background:#eef6f1!important;
}
.bayo-mobile-category .bayo-category-sidebar-icon svg{
	display:block!important;
	width:27px!important;
	height:27px!important;
	min-width:27px!important;
	min-height:27px!important;
	overflow:visible!important;
	stroke:currentColor!important;
	fill:none!important;
	visibility:visible!important;
	opacity:1!important;
}
@media(max-width:760px){
	.bayo-feed-hero{
		min-height:auto;
		padding:16px;
		border-radius:14px;
	}
	.bayo-feed-hero h1{
		font-size:20px;
	}
	.bayo-feed-hero p{
		font-size:13px;
	}
}

/* Stage 3.0.7 — listing archive and search filters */
.bayo-archive-shell{padding:24px 0 46px}
.bayo-archive-head{
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:18px;
	margin-bottom:18px;
}
.bayo-archive-head h1{margin:0 0 4px;font-size:28px}
.bayo-archive-head p{margin:0;color:var(--bayo-muted)}
.bayo-filter-toggle{display:none}
.bayo-archive-layout{
	display:grid;
	grid-template-columns:260px minmax(0,1fr);
	gap:20px;
	align-items:start;
}
.bayo-filter-panel{
	position:sticky;
	top:92px;
	padding:18px;
	border:1px solid var(--bayo-line);
	border-radius:14px;
	background:#fff;
	box-shadow:var(--bayo-shadow-sm);
}
.bayo-filter-panel h2{margin:0 0 14px;font-size:18px}
.bayo-filter-form{display:grid;gap:13px}
.bayo-filter-field{display:grid;gap:6px}
.bayo-filter-field>span{
	color:var(--bayo-text);
	font-size:13px;
	font-weight:800;
}
.bayo-filter-price{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:8px;
}
.bayo-filter-actions{
	display:grid;
	grid-template-columns:1fr;
	gap:8px;
	padding-top:4px;
}
.bayo-filter-clear{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	border:1px solid var(--bayo-line-strong);
	border-radius:8px;
	background:#fff;
	color:var(--bayo-text);
	font-weight:750;
}
.bayo-results-toolbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:14px;
	margin-bottom:14px;
	padding:12px 14px;
	border:1px solid var(--bayo-line);
	border-radius:12px;
	background:#fff;
}
.bayo-results-count{font-size:14px;font-weight:750}
.bayo-sort-form{display:flex;align-items:center;gap:8px}
.bayo-sort-form label{font-size:13px;font-weight:750}
.bayo-sort-form select{min-height:40px;padding:8px 34px 8px 11px}
.bayo-archive-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
}
.bayo-pagination{margin-top:24px}
.bayo-pagination .nav-links{display:flex;flex-wrap:wrap;gap:7px}
.bayo-pagination .page-numbers{
	display:grid;
	place-items:center;
	min-width:40px;
	height:40px;
	padding:0 10px;
	border:1px solid var(--bayo-line);
	border-radius:8px;
	background:#fff;
	font-weight:750;
}
.bayo-pagination .page-numbers.current{
	border-color:var(--bayo-green);
	background:var(--bayo-green);
	color:#fff;
}
.bayo-no-results{
	padding:44px 24px;
	border:1px dashed var(--bayo-line-strong);
	border-radius:14px;
	background:#fff;
	text-align:center;
}
.bayo-active-filters{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-bottom:13px;
}
.bayo-filter-chip{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:6px 10px;
	border-radius:999px;
	background:var(--bayo-green-soft);
	color:var(--bayo-green-dark);
	font-size:12px;
	font-weight:750;
}
@media(max-width:1050px){
	.bayo-archive-layout{grid-template-columns:230px minmax(0,1fr)}
	.bayo-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
	.bayo-archive-shell{padding-top:14px}
	.bayo-archive-head{align-items:center}
	.bayo-archive-head h1{font-size:22px}
	.bayo-filter-toggle{display:inline-flex}
	.bayo-archive-layout{display:block}
	.bayo-filter-panel{
		display:none;
		position:static;
		margin-bottom:14px;
	}
	.bayo-filter-panel.is-open{display:block}
	.bayo-results-toolbar{align-items:flex-start;flex-direction:column}
	.bayo-sort-form{width:100%}
	.bayo-sort-form select{flex:1}
	.bayo-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:420px){
	.bayo-archive-grid{grid-template-columns:1fr}
}

/* Stage 3.0.7.1 — category-aware filters */
.bayo-dynamic-filter-group{
	display:grid;
	gap:13px;
	padding-top:13px;
	border-top:1px solid var(--bayo-line);
}
.bayo-dynamic-filter-title{
	margin:0;
	color:var(--bayo-green-dark);
	font-size:13px;
	font-weight:900;
	text-transform:uppercase;
	letter-spacing:.055em;
}
.bayo-filter-help{
	margin:-2px 0 0;
	color:var(--bayo-muted);
	font-size:11px;
}


/* Stage 3.0.8C — compact classifieds category navigation */
.bayo-home-market-grid{grid-template-columns:232px minmax(0,1fr);gap:18px}
.bayo-category-sidebar{overflow:visible;border-radius:12px;z-index:20}
.bayo-category-sidebar-header{padding:12px 14px 10px}
.bayo-category-sidebar-header h2{font-size:15px;letter-spacing:0}
.bayo-category-sidebar-list{padding:4px 0}
.bayo-category-sidebar-item{position:relative}
.bayo-category-sidebar-link{grid-template-columns:27px minmax(0,1fr) 16px;gap:8px;min-height:38px;padding:5px 10px}
.bayo-category-sidebar-icon{width:26px;height:26px;border-radius:7px}
.bayo-category-sidebar-icon svg{width:17px;height:17px;stroke:currentColor}
.bayo-category-sidebar-name{font-size:12.5px}
.bayo-category-chevron{color:#8b9790;font-size:20px;line-height:1;text-align:center;transition:transform .16s ease}
.bayo-category-sidebar-item:hover>.bayo-category-sidebar-link,
.bayo-category-sidebar-item:focus-within>.bayo-category-sidebar-link{background:var(--bayo-green-soft);color:var(--bayo-green-dark)}
.bayo-category-sidebar-item:hover>.bayo-category-sidebar-link .bayo-category-chevron,
.bayo-category-sidebar-item:focus-within>.bayo-category-sidebar-link .bayo-category-chevron{transform:translateX(2px);color:var(--bayo-green)}
.bayo-category-flyout{position:absolute;top:-5px;left:calc(100% - 1px);display:none;width:min(640px,calc(100vw - 300px));min-height:210px;padding:18px;border:1px solid var(--bayo-line);border-radius:0 12px 12px 12px;background:#fff;box-shadow:0 18px 42px rgba(24,55,41,.16);z-index:50}
.bayo-category-sidebar-item:hover>.bayo-category-flyout,
.bayo-category-sidebar-item:focus-within>.bayo-category-flyout{display:block}
.bayo-category-flyout-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:13px;padding-bottom:12px;border-bottom:1px solid var(--bayo-line)}
.bayo-category-flyout-head span{display:block;margin-bottom:2px;color:var(--bayo-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.bayo-category-flyout-head h3{margin:0;font-size:18px}
.bayo-category-flyout-head>a,.bayo-mobile-view-all{color:var(--bayo-green);font-size:12px;font-weight:800}
.bayo-category-branch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px;margin:0;padding:0;list-style:none}
.bayo-category-branch-item{position:relative;min-width:0}
.bayo-category-branch-item>a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:7px;color:var(--bayo-text);font-size:13px;font-weight:700}
.bayo-category-branch-item>a:hover,.bayo-category-branch-item>a:focus{background:#f3f7f5;color:var(--bayo-green-dark)}
.bayo-category-branch .bayo-category-branch{display:block;margin:0 0 7px 9px;padding-left:10px;border-left:1px solid var(--bayo-line)}
.bayo-category-branch .bayo-category-branch a{padding:4px 7px;font-size:12px;font-weight:500}
.bayo-home-mobile-categories{display:none}
@media(max-width:980px) and (min-width:761px){
 .bayo-home-market-grid{grid-template-columns:205px minmax(0,1fr)}
 .bayo-category-flyout{width:min(520px,calc(100vw - 258px))}
}
@media(max-width:760px){
 .bayo-home-mobile-categories{display:block;margin-bottom:14px;border:1px solid var(--bayo-line);border-radius:12px;background:#fff;box-shadow:var(--bayo-shadow-sm)}
 .bayo-mobile-categories-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--bayo-line)}
 .bayo-mobile-categories-heading h2{margin:0;font-size:16px}
 .bayo-mobile-categories-heading span{color:var(--bayo-muted);font-size:11px}
 .bayo-mobile-category-accordion{padding:3px 0}
 .bayo-mobile-category-group{border-bottom:1px solid #edf1ef}
 .bayo-mobile-category-group:last-child{border-bottom:0}
 .bayo-mobile-category-group summary{display:grid;grid-template-columns:28px minmax(0,1fr) auto 16px;align-items:center;gap:9px;min-height:46px;padding:7px 12px;cursor:pointer;list-style:none}
 .bayo-mobile-category-group summary::-webkit-details-marker{display:none}
 .bayo-mobile-category-group[open] summary{background:var(--bayo-green-soft);color:var(--bayo-green-dark)}
 .bayo-mobile-category-toggle{position:relative;width:14px;height:14px}
 .bayo-mobile-category-toggle:before,.bayo-mobile-category-toggle:after{content:"";position:absolute;top:6px;left:2px;width:10px;height:1.5px;border-radius:2px;background:currentColor}
 .bayo-mobile-category-toggle:after{transform:rotate(90deg);transition:transform .16s ease}
 .bayo-mobile-category-group[open] .bayo-mobile-category-toggle:after{transform:rotate(0)}
 .bayo-mobile-category-panel{padding:11px 13px 14px;background:#fbfcfb;border-top:1px solid var(--bayo-line)}
 .bayo-mobile-view-all{display:inline-flex;margin-bottom:8px}
 .bayo-mobile-category-panel>p{margin:0;color:var(--bayo-muted);font-size:12px}
 .bayo-mobile-category-panel .bayo-category-branch{display:block}
 .bayo-mobile-category-panel .bayo-category-branch-item>a{padding:7px 5px}
 .bayo-mobile-category-panel .bayo-category-branch .bayo-category-branch{margin-left:8px}
}


/* Stage 3.0.8C — Jiji-inspired mobile category browser */
.bayo-home-category-launch{display:none}
.bayo-mobile-category-browser{display:none}
@media(max-width:760px){
 body.bayo-mobile-nav-open{overflow:hidden}
 .bayo-home-category-launch{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:11px;width:100%;margin:0 0 14px;padding:11px 13px;border:1px solid var(--bayo-line);border-radius:12px;background:#fff;color:var(--bayo-text);text-align:left;box-shadow:var(--bayo-shadow-sm)}
 .bayo-home-category-launch-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--bayo-green-soft);color:var(--bayo-green);font-size:20px}
 .bayo-home-category-launch strong,.bayo-home-category-launch small{display:block}.bayo-home-category-launch strong{font-size:14px}.bayo-home-category-launch small{margin-top:1px;color:var(--bayo-muted);font-size:11px;font-weight:500}.bayo-home-category-launch-arrow{font-size:24px;color:#8b9790}
 .bayo-home-mobile-categories{display:none!important}
 .bayo-mobile-panel{position:fixed;inset:0;z-index:1000;display:block!important;overflow-y:auto;border:0;background:#fff;transform:translateX(-100%);visibility:hidden;transition:transform .22s ease,visibility .22s ease}
 .bayo-mobile-panel.is-open{transform:translateX(0);visibility:visible}
 .bayo-mobile-menu-head,.bayo-mobile-category-head{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:58px;padding:6px 8px;border-bottom:1px solid var(--bayo-line);background:#fff;text-align:center}
 .bayo-mobile-menu-head button,.bayo-mobile-category-head button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--bayo-ink);font-size:30px;font-weight:400}
 .bayo-mobile-menu-head strong,.bayo-mobile-category-head strong{overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}
 .bayo-mobile-panel-inner{padding:14px 16px 28px}
 .bayo-mobile-search{display:grid;grid-template-columns:minmax(0,1fr) 48px;margin-bottom:16px;border:1px solid var(--bayo-line-strong);border-radius:10px;overflow:hidden;background:#fff}
 .bayo-mobile-search input{min-height:48px;border:0;border-radius:0;box-shadow:none}.bayo-mobile-search button{min-height:48px;padding:0;border-radius:0;font-size:24px}
 .bayo-mobile-menu-row,.bayo-mobile-root-category,.bayo-mobile-view-all-row,.bayo-mobile-subcategory-main{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;width:100%;min-height:62px;padding:9px 2px;border:0;border-bottom:1px solid #edf1ef;background:#fff;color:var(--bayo-text);text-align:left}
 .bayo-mobile-menu-row>span:nth-child(2) strong,.bayo-mobile-root-copy strong,.bayo-mobile-view-all-row strong,.bayo-mobile-subcategory-main strong{display:block;font-size:14px}.bayo-mobile-menu-row small,.bayo-mobile-root-copy small,.bayo-mobile-view-all-row small,.bayo-mobile-subcategory-main small{display:block;margin-top:2px;color:var(--bayo-muted);font-size:11px;font-weight:500}
 .bayo-mobile-menu-row-icon,.bayo-mobile-root-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--bayo-green-soft);color:var(--bayo-green)}
 .bayo-mobile-menu-row-icon svg,.bayo-mobile-root-icon svg{width:23px;height:23px;stroke:currentColor}.bayo-mobile-menu-row-symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f2f5f3;color:var(--bayo-green);font-size:21px}
 .bayo-mobile-menu-chevron{color:#8b9790;font-size:25px;line-height:1;text-align:right}.bayo-mobile-post-ad{width:100%;margin-top:20px}
 .bayo-mobile-category-browser{position:fixed;inset:0;z-index:1100;display:block;overflow:hidden;background:#fff;transform:translateX(100%);visibility:hidden;transition:transform .22s ease,visibility .22s ease}
 .bayo-mobile-category-browser.is-open{transform:translateX(0);visibility:visible}
 .bayo-mobile-category-screen{position:absolute;inset:0;display:none;overflow-y:auto;background:#fff}.bayo-mobile-category-screen.is-active{display:block}
 .bayo-mobile-category-content{padding:5px 16px 30px}
 .bayo-mobile-root-category{grid-template-columns:46px minmax(0,1fr) 18px;min-height:68px;cursor:pointer}
 .bayo-mobile-root-icon{width:44px;height:44px;border-radius:12px}.bayo-mobile-root-icon svg{width:25px;height:25px}
 .bayo-mobile-view-all-row,.bayo-mobile-subcategory-main{grid-template-columns:minmax(0,1fr) 18px;min-height:61px;padding-inline:2px}
 .bayo-mobile-view-all-row{margin:7px 0 4px;padding:12px;border:1px solid #d9e8df;border-radius:10px;background:var(--bayo-green-soft);color:var(--bayo-green-dark)}
 .bayo-mobile-subcategory-group{border-bottom:1px solid #edf1ef}.bayo-mobile-subcategory-main{border-bottom:0}
 .bayo-mobile-grandchildren{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 13px}.bayo-mobile-grandchildren a{padding:6px 9px;border:1px solid var(--bayo-line);border-radius:999px;background:#f8faf9;color:var(--bayo-text);font-size:11px;font-weight:650}
}
@media(min-width:761px){.bayo-mobile-panel,.bayo-mobile-category-browser{display:none!important}}


/* Stage 3.0.8C — swipeable mobile category icon rail */
@media(max-width:760px){
 .bayo-home-category-launch{display:none!important}
 .bayo-home-mobile-categories{display:block!important;margin:0 0 14px;border:0;background:transparent;box-shadow:none}
 .bayo-mobile-category-scroll{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 9px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .bayo-mobile-category-scroll::-webkit-scrollbar{display:none}
 .bayo-mobile-category{flex:0 0 76px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:0;border:0;background:transparent;color:var(--bayo-text);text-align:center;scroll-snap-align:start;cursor:pointer}
 .bayo-mobile-category .bayo-category-sidebar-icon{display:grid;width:54px;height:54px;border:1px solid #dfe8e3;border-radius:15px;background:#fff;color:var(--bayo-green);box-shadow:0 2px 8px rgba(20,55,39,.07)}
 .bayo-mobile-category .bayo-category-sidebar-icon svg{width:27px;height:27px;stroke:currentColor}
 .bayo-mobile-category>span:last-child{display:-webkit-box;overflow:hidden;max-width:76px;min-height:28px;color:var(--bayo-text);font-size:11px;font-weight:700;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
 .bayo-mobile-category:active .bayo-category-sidebar-icon{transform:scale(.96);background:var(--bayo-green-soft)}
}


/* Stage 3.0.8G — resilient mobile category opening.
 * Category icons are real fragment links, so panels open even when cached,
 * deferred, blocked, or combined JavaScript fails to execute. */
@media(max-width:760px){
  .bayo-mobile-category-browser{
    transform:none;
    visibility:visible;
    pointer-events:none;
    background:transparent;
  }
  .bayo-mobile-category-browser.is-open{
    pointer-events:auto;
    background:#fff;
  }
  .bayo-mobile-category-screen:target{
    position:fixed;
    inset:0;
    z-index:1201;
    display:block;
    overflow-y:auto;
    pointer-events:auto;
    background:#fff;
  }
  .bayo-mobile-category-head>a{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:var(--bayo-ink);
    font-size:30px;
    font-weight:400;
    line-height:1;
  }
}


/* Stage 3.0.8H — server-rendered mobile category page. */
.bayo-server-category-page{display:none}
@media(max-width:760px){
 body:has(.bayo-server-category-page) .site-header{display:none}
 .bayo-server-category-page{display:block;min-height:100vh;background:#fff}
 .bayo-server-category-head{position:sticky;top:0;z-index:20;display:flex;align-items:center;min-height:58px;padding:7px 12px;border-bottom:1px solid var(--bayo-line);background:rgba(255,255,255,.96);backdrop-filter:saturate(160%) blur(10px)}
 .bayo-server-category-back{display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:0 10px 0 4px;border-radius:10px;color:var(--bayo-green-dark);font-size:14px;font-weight:800;transition:background .16s ease,transform .16s ease}
 .bayo-server-category-back:active{background:var(--bayo-green-soft);transform:scale(.98)}
 .bayo-server-category-back svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
 .bayo-server-category-content{padding:15px 16px 32px}
 .bayo-server-category-title{margin:0 0 14px;color:var(--bayo-ink);font-size:24px;font-weight:850;line-height:1.2;letter-spacing:-.02em}
 .bayo-server-category-all,.bayo-server-subcategory-row{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;color:var(--bayo-text)}
 .bayo-server-category-all{min-height:64px;padding:11px 13px;border:1px solid #d9e8df;border-radius:11px;background:var(--bayo-green-soft);color:var(--bayo-green-dark)}
 .bayo-server-category-all strong,.bayo-server-subcategory-row strong{display:block;font-size:14px}
 .bayo-server-category-all small,.bayo-server-subcategory-row small{display:block;margin-top:2px;color:var(--bayo-muted);font-size:11px;font-weight:500}
 .bayo-server-category-all>span:last-child,.bayo-server-subcategory-row>span:last-child{color:#8b9790;font-size:25px;text-align:right}
 .bayo-server-subcategory-list{margin-top:7px}
 .bayo-server-subcategory-group{border-bottom:1px solid #edf1ef}
 .bayo-server-subcategory-row{min-height:62px;padding:9px 2px}
 .bayo-server-grandchildren{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 13px}
 .bayo-server-grandchildren a{padding:6px 9px;border:1px solid var(--bayo-line);border-radius:999px;background:#f8faf9;color:var(--bayo-text);font-size:11px;font-weight:650}
 .bayo-server-category-empty{padding:18px 4px;color:var(--bayo-muted)}
}


/* Stage 3.0.8J — obsolete mobile category overlay removed. */
.bayo-mobile-category-browser,
.bayo-mobile-categories-entry { display:none !important; }

/* 3.0.8K Region to Town cascading selectors */
.bayo-location-cascade{display:grid;grid-template-columns:1fr 1fr;min-width:0}
.bayo-location-cascade select{min-width:0}
.bayo-header-search{grid-template-columns:minmax(150px,1fr) minmax(250px,.9fr) auto}
.bayo-header-search .bayo-location-cascade select+select{border-left:1px solid var(--bayo-line)}
.bayo-filter-field .bayo-location-cascade{grid-template-columns:1fr;gap:8px;margin-top:7px}
.bayo-mobile-search .bayo-location-cascade{grid-column:1/-1;grid-template-columns:1fr 1fr;border-top:1px solid var(--bayo-line)}
.bayo-mobile-search .bayo-location-cascade select{border:0;border-radius:0;min-height:44px}
.bayo-mobile-search .bayo-location-cascade select+select{border-left:1px solid var(--bayo-line)}
@media(max-width:520px){.bayo-location-cascade{grid-template-columns:1fr}.bayo-mobile-search .bayo-location-cascade{grid-template-columns:1fr 1fr}}


/* Stage 3.0.8L — visible homepage mobile search with Region → Town cascade. */
.bayo-home-mobile-search{display:none}
@media(max-width:980px){
  .bayo-home-mobile-search{display:block;margin:12px 0 14px;padding:10px;border:1px solid var(--bayo-line);border-radius:14px;background:#fff;box-shadow:var(--bayo-shadow-sm)}
  .bayo-home-mobile-search-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;overflow:hidden;border:1px solid var(--bayo-line-strong);border-radius:10px;background:#fff}
  .bayo-home-mobile-search-row input{min-height:46px;border:0;border-radius:0;box-shadow:none}
  .bayo-home-mobile-search-row button{display:grid;place-items:center;min-height:46px;padding:0;border-radius:0}
  .bayo-home-mobile-search-row button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .bayo-home-mobile-search .bayo-location-cascade{grid-template-columns:1fr 1fr;margin-top:8px;gap:8px}
  .bayo-home-mobile-search .bayo-location-cascade select{min-height:44px;border:1px solid var(--bayo-line);border-radius:9px;background:#fff}
}
@media(max-width:420px){
  .bayo-home-mobile-search .bayo-location-cascade{grid-template-columns:1fr 1fr;gap:6px}
  .bayo-home-mobile-search .bayo-location-cascade select{padding-inline:9px;font-size:13px}
}


/* Stage 3.0.8M — professional mobile category return navigation. */
@media(max-width:760px){
  html{scroll-behavior:smooth}
  #bayo-category-strip{scroll-margin-top:76px}
}


/* Stage 3.0.8N: mobile category hierarchy on listing archives. */
.bayo-mobile-category-trail{display:none}
@media (max-width: 820px){
  .bayo-mobile-category-trail{position:sticky;top:0;z-index:24;display:block;padding:7px 12px 8px;border-bottom:1px solid var(--bayo-line);background:rgba(255,255,255,.97);backdrop-filter:saturate(160%) blur(10px)}
  .bayo-mobile-category-trail-back{display:inline-flex;align-items:center;gap:5px;min-height:38px;color:var(--bayo-green-dark);font-size:14px;font-weight:800}
  .bayo-mobile-category-trail-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .bayo-mobile-category-trail-path{display:flex;align-items:center;gap:5px;overflow:hidden;padding:0 4px 3px;color:var(--bayo-muted);font-size:11px;white-space:nowrap}
  .bayo-mobile-category-trail-path a{color:var(--bayo-muted)}
  .bayo-mobile-category-trail-path strong{overflow:hidden;color:var(--bayo-ink);text-overflow:ellipsis}
}


/* Stage 3.0.8P — compact Jiji-inspired mobile discovery header. */
.bayo-mobile-market-intro{display:none}
@media(max-width:760px){
  .site-header{position:sticky;top:0;z-index:80}
  .bayo-header-main{min-height:58px;padding-top:7px;padding-bottom:7px}
  .bayo-home-market>.bayo-container{padding-top:0}
  .bayo-mobile-market-intro{display:block;margin:0 -16px;background:var(--bayo-green);color:#fff}
  .bayo-mobile-market-intro__inner{padding:4px 16px 18px}
  .bayo-mobile-market-intro h1{margin:0 0 12px;font-size:20px;line-height:1.2;font-weight:850;letter-spacing:-.02em}
  .bayo-mobile-market-intro h1 small{display:block;margin-top:3px;color:rgba(255,255,255,.78);font-size:12px;font-weight:600;letter-spacing:0}
  .bayo-home-mobile-search{display:block;margin:0;padding:0;border:0;border-radius:15px;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.16);overflow:hidden}
  .bayo-home-mobile-search-row{grid-template-columns:minmax(0,1fr) 48px;border:0;border-bottom:1px solid var(--bayo-line);border-radius:0}
  .bayo-home-mobile-search-row input{min-height:52px;padding-left:15px;font-size:15px}
  .bayo-home-mobile-search-row button{min-height:52px;background:#fff;color:var(--bayo-green);border-left:1px solid var(--bayo-line)}
  .bayo-home-mobile-search .bayo-location-cascade{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0}
  .bayo-home-mobile-search .bayo-location-cascade select{min-height:48px;padding:10px 34px 10px 13px;border:0;border-radius:0;background-color:#fff;font-size:13px;font-weight:700;color:var(--bayo-text)}
  .bayo-home-mobile-search .bayo-location-cascade select+select{border-left:1px solid var(--bayo-line)}
  .bayo-home-mobile-categories{margin-top:14px}
  .bayo-feed-hero{display:none}
}


/* 3.0.8Q — streamlined marketplace result pages */
.bayo-archive-head--actions-only {
  justify-content: flex-end;
  min-height: 0;
  margin-bottom: 12px;
}
@media (min-width: 769px) {
  .bayo-archive-head--actions-only {
    display: none;
  }
}


/* Stage 3.0.8R — category priority shelf and cleaner Jiji-style hierarchy. */
.bayo-category-page-title{margin:0 0 14px;font-size:27px;line-height:1.15}
.bayo-priority-shelf{margin:0 0 28px;padding:17px;border:1px solid var(--bayo-line);border-radius:15px;background:#fff;box-shadow:var(--bayo-shadow-sm)}
.bayo-priority-shelf-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
.bayo-priority-shelf-head h1{margin:0;font-size:27px;line-height:1.15}
.bayo-priority-shelf-head span{color:var(--bayo-green-dark);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.bayo-priority-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.bayo-listing-image{position:relative}
.bayo-listing-badge{position:absolute;z-index:2;top:9px;left:9px;display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:6px;background:var(--bayo-green);color:#fff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;box-shadow:0 2px 7px rgba(0,0,0,.16)}
.bayo-listing-card.is-promoted{border-color:rgba(16,128,74,.3)}
@media(max-width:1050px){.bayo-priority-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .bayo-category-page-title{margin:2px 0 12px;font-size:21px}
  .bayo-priority-shelf{margin:0 -2px 22px;padding:14px 0 14px 14px;border-radius:13px;overflow:hidden}
  .bayo-priority-shelf-head{padding-right:14px;margin-bottom:11px}
  .bayo-priority-shelf-head h1{font-size:21px}
  .bayo-priority-track{display:flex;gap:10px;overflow-x:auto;padding:0 14px 4px 0;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .bayo-priority-track::-webkit-scrollbar{display:none}
  .bayo-priority-track .bayo-listing-card{flex:0 0 72vw;max-width:280px;scroll-snap-align:start}
  .bayo-results-toolbar{margin-top:0}
}


/* Stage 3.0.8S — Jiji-inspired desktop homepage discovery hierarchy. */
.bayo-market-intro{
    margin:0 0 18px;
    padding:18px 0 20px;
    border-radius:0 0 18px 18px;
    background:var(--bayo-green);
    color:#fff;
}
.bayo-market-intro__inner{padding:0 22px}
.bayo-market-intro__heading{display:flex;align-items:baseline;gap:12px;margin-bottom:13px}
.bayo-market-intro__heading h1{margin:0;color:#fff;font-size:clamp(1.55rem,2.2vw,2.1rem);letter-spacing:-.035em}
.bayo-market-intro__heading span{color:rgba(255,255,255,.78);font-size:14px;font-weight:650}
.bayo-home-discovery-search{
    display:grid;
    grid-template-columns:minmax(260px,1.6fr) minmax(300px,.9fr) auto;
    align-items:stretch;
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.bayo-home-discovery-query{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;border-right:1px solid var(--bayo-line)}
.bayo-home-discovery-query svg{justify-self:center;width:21px;height:21px;fill:none;stroke:var(--bayo-green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bayo-home-discovery-query input{min-height:54px;padding:0 14px 0 0;border:0;border-radius:0;box-shadow:none;font-size:15px}
.bayo-home-discovery-search .bayo-location-cascade{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0}
.bayo-home-discovery-search .bayo-location-cascade select{min-height:54px;padding:0 36px 0 14px;border:0;border-radius:0;background-color:#fff;color:var(--bayo-text);font-size:14px;font-weight:750;box-shadow:none}
.bayo-home-discovery-search .bayo-location-cascade select+select{border-left:1px solid var(--bayo-line)}
.bayo-home-discovery-submit{min-height:54px;border-radius:0;padding-inline:26px}
.home .bayo-header-search{display:none}
.home .bayo-header-main{grid-template-columns:auto 1fr auto}
.home .bayo-header-actions{grid-column:3}

@media(max-width:980px){
    .bayo-market-intro{margin:0 -16px 14px;padding:4px 0 18px;border-radius:0}
    .bayo-market-intro__inner{padding:0 16px}
    .bayo-market-intro__heading{display:block;margin-bottom:12px}
    .bayo-market-intro__heading h1{font-size:20px}
    .bayo-market-intro__heading span{display:block;margin-top:3px;font-size:12px}
    .bayo-home-discovery-search{grid-template-columns:1fr;border-radius:15px}
    .bayo-home-discovery-query{grid-template-columns:42px minmax(0,1fr);border-right:0;border-bottom:1px solid var(--bayo-line)}
    .bayo-home-discovery-query input{min-height:52px}
    .bayo-home-discovery-search .bayo-location-cascade select{min-height:48px;font-size:13px}
    .bayo-home-discovery-submit{position:absolute;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media(min-width:981px){
    .bayo-home-market{padding-top:0}
    .bayo-home-market>.bayo-container{width:min(100%,var(--bayo-container))}
    .bayo-home-market-grid{padding-inline:16px}
}


/* Stage 3.0.8T — stronger Jiji-benchmarked desktop hero and accessible category typography. */
@media (min-width:981px){
  .bayo-market-intro{
    width:100vw;
    min-height:270px;
    margin:0 0 24px calc(50% - 50vw);
    padding:54px 0 58px;
    border-radius:0;
    display:flex;
    align-items:center;
    background:linear-gradient(135deg,var(--bayo-green-dark),var(--bayo-green) 58%,#17a865);
  }
  .bayo-market-intro__inner{
    width:min(calc(100% - 40px),var(--bayo-container));
    margin:0 auto;
    padding:0 24px;
  }
  .bayo-market-intro__heading{
    display:block;
    margin:0 auto 24px;
    text-align:center;
  }
  .bayo-market-intro__heading h1{
    font-size:clamp(2rem,3vw,2.75rem);
    line-height:1.08;
    letter-spacing:-.045em;
  }
  .bayo-market-intro__heading span{
    display:block;
    margin-top:8px;
    font-size:15px;
    font-weight:700;
  }
  .bayo-home-discovery-search{
    width:min(100%,920px);
    margin:0 auto;
    grid-template-columns:minmax(300px,1.55fr) minmax(320px,.95fr) auto;
    border-radius:10px;
    box-shadow:0 18px 40px rgba(0,0,0,.2);
  }
  .bayo-home-discovery-query input,
  .bayo-home-discovery-search .bayo-location-cascade select,
  .bayo-home-discovery-submit{min-height:60px}
  .bayo-home-discovery-query input{font-size:16px}
  .bayo-home-discovery-search .bayo-location-cascade select{font-size:14px}
  .bayo-home-discovery-submit{padding-inline:30px;font-size:15px;font-weight:850}

  .bayo-category-sidebar-header h2{font-size:18px;font-weight:900}
  .bayo-category-sidebar-link{min-height:50px;padding:9px 12px}
  .bayo-category-sidebar-name{font-size:15px;font-weight:800;line-height:1.25}
  .bayo-category-sidebar-count{font-size:12px;font-weight:750}
  .bayo-category-sidebar-icon{width:34px;height:34px}
  .bayo-category-sidebar-icon svg{width:20px;height:20px}
  .bayo-category-chevron{font-size:22px;font-weight:800}
}

/* Marketplace Core category visual metadata — Theme 3.0.9V */
.bayo-category-visual{display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f5faf7,#e6f2eb);color:var(--bayo-green)}
.bayo-category-visual img{display:block;width:100%;height:100%;object-fit:contain;background:#f4faf7}
.bayo-category-visual svg{width:48%;height:48%;stroke:currentColor}

.bayo-category-flyout{width:min(760px,calc(100vw - 300px));max-height:min(76vh,720px);overflow-y:auto}
.bayo-category-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bayo-category-card-wrap{min-width:0}
.bayo-category-card{display:block;height:100%;padding:9px;border:1px solid #e4ebe7;border-radius:12px;background:#fff;color:var(--bayo-text);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.bayo-category-card:hover,.bayo-category-card:focus{transform:translateY(-2px);border-color:#b8d5c5;box-shadow:0 8px 20px rgba(24,55,41,.1);color:var(--bayo-green-dark)}
.bayo-category-card-visual{width:100%;aspect-ratio:1.35/1;border-radius:9px}
.bayo-category-card-name{display:block;margin-top:8px;font-size:12px;font-weight:800;line-height:1.25;text-align:center}
.bayo-category-card-children{display:flex;flex-wrap:wrap;gap:4px 7px;margin:7px 3px 0}
.bayo-category-card-children a{color:var(--bayo-muted);font-size:11px;font-weight:650}
.bayo-category-card-children a:hover,.bayo-category-card-children a:focus{color:var(--bayo-green)}

.bayo-server-subcategory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.bayo-server-subcategory-group{overflow:hidden;border:1px solid var(--bayo-line);border-radius:13px;background:#fff}
.bayo-server-subcategory-row{grid-template-columns:76px minmax(0,1fr) 18px;min-height:94px;padding:8px;border:0}
.bayo-server-subcategory-visual{width:76px;height:76px;border-radius:10px}
.bayo-server-subcategory-copy{min-width:0}
.bayo-server-grandchildren{padding:0 10px 10px 94px}

@media (max-width:1180px) and (min-width:821px){
 .bayo-category-flyout{width:min(620px,calc(100vw - 258px))}
 .bayo-category-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:820px){
 .bayo-server-subcategory-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .bayo-server-subcategory-row{grid-template-columns:64px minmax(0,1fr) 16px;min-height:82px;padding:8px}
 .bayo-server-subcategory-visual{width:64px;height:64px}
 .bayo-server-grandchildren{padding-left:82px}
}
@media (max-width:520px){
 .bayo-server-subcategory-list{grid-template-columns:1fr}
 .bayo-server-subcategory-row{grid-template-columns:72px minmax(0,1fr) 16px;min-height:90px}
 .bayo-server-subcategory-visual{width:72px;height:72px}
 .bayo-server-grandchildren{padding-left:90px}
}


/* Theme 3.0.11V — compact, cache-safe desktop category flyouts. */
@media (min-width:821px){
  .bayo-category-flyout{width:min(700px,calc(100vw - 300px));padding:16px;max-height:min(78vh,700px)}
  .bayo-category-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px}
  .bayo-category-card-wrap{border:0}
  .bayo-category-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;min-height:58px;padding:7px 9px;border:1px solid #e5ece8;border-radius:10px;box-shadow:none}
  .bayo-category-card:hover,.bayo-category-card:focus{transform:none;border-color:#acd0bc;background:#f6fbf8;box-shadow:none}
  .bayo-category-card-visual{width:44px;height:44px;aspect-ratio:auto;border-radius:9px;background:#eef8f2}
  .bayo-category-card-visual img{width:100%;height:100%;object-fit:contain;background:transparent}
  .bayo-category-card-name{margin:0;font-size:12px;line-height:1.25;text-align:left}
  .bayo-category-card-children{grid-column:1/-1;margin:3px 5px 4px 53px}
}
@media (max-width:1180px) and (min-width:821px){
  .bayo-category-flyout{width:min(590px,calc(100vw - 258px))}
  .bayo-category-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Theme 3.0.13V — unified cache-independent category pictograms. */
.bayo-category-visual>svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%}
.bayo-category-visual>svg rect:first-of-type{fill:transparent}
.bayo-category-card-visual{padding:5px;background:#f1f9f4}
@media (min-width:821px){
 .bayo-category-flyout{width:min(760px,calc(100vw - 300px))}
 .bayo-category-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .bayo-category-card{grid-template-columns:50px minmax(0,1fr);min-height:64px;padding:7px 10px}
 .bayo-category-card-visual{width:50px;height:50px;border-radius:12px}
 .bayo-category-card-name{font-size:13px;font-weight:800}
}
@media (max-width:520px){
 .bayo-server-subcategory-row{grid-template-columns:64px minmax(0,1fr) 16px;min-height:80px}
 .bayo-server-subcategory-visual{width:64px;height:64px}
}

/* Theme 3.0.13V — desktop-only category flyout clarity.
 * The bundled SVG uses a landscape canvas. On desktop we enlarge and crop
 * that canvas visually so the pictogram itself—not its empty margins—is prominent.
 * Mobile category presentation is intentionally unchanged.
 */
@media (min-width: 821px) {
  .bayo-category-flyout {
    width: min(820px, calc(100vw - 300px));
    padding: 20px;
    max-height: min(80vh, 760px);
  }

  .bayo-category-flyout-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .bayo-category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .bayo-category-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    min-height: 86px;
    padding: 8px 12px;
    border-color: transparent;
    border-radius: 12px;
    background: #fff;
  }

  .bayo-category-card:hover,
  .bayo-category-card:focus {
    border-color: #d9e9e0;
    background: #f7fbf9;
  }

  .bayo-category-card-visual {
    position: relative;
    width: 74px;
    height: 74px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eef8f2;
  }

  /* Enlarge the meaningful upper pictogram region of the 640×420 artwork. */
  .bayo-category-card-visual > svg {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 118px;
    height: 78px;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) scale(1.18);
    transform-origin: center;
  }

  .bayo-category-card-name {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
  }

  .bayo-category-card-children {
    grid-column: 1 / -1;
    margin: 3px 8px 5px 88px;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .bayo-category-flyout {
    width: min(650px, calc(100vw - 258px));
  }

  .bayo-category-card {
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 78px;
  }

  .bayo-category-card-visual {
    width: 66px;
    height: 66px;
  }

  .bayo-category-card-visual > svg {
    width: 106px;
    height: 70px;
  }
}

/* Theme 3.0.14V — desktop flyouts share one fixed top anchor.
 * Individual list rows must not become the positioning context; otherwise
 * lower categories push their flyouts below the visible navigation area.
 * The sticky sidebar is the containing block, so every flyout opens from
 * the same professional top edge while mobile remains unchanged.
 */
@media (min-width: 821px) {
  .bayo-category-sidebar {
    position: sticky;
    overflow: visible;
  }

  .bayo-category-sidebar-list,
  .bayo-category-sidebar-item {
    position: static;
  }

  .bayo-category-flyout {
    top: 0;
    left: calc(100% - 1px);
    margin-top: 0;
    border-radius: 0 12px 12px 0;
  }
}

/* Theme 3.0.15V — bounded desktop category rail with independent controls.
 * The rail scrolls without moving the page, while flyouts live outside the
 * scrolling viewport and remain anchored at the top of the category panel.
 */
@media (min-width: 821px) {
  .bayo-category-sidebar {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    max-height: min(76vh, 650px);
    overflow: visible;
  }

  .bayo-category-sidebar-viewport {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }

  .bayo-category-sidebar-viewport::-webkit-scrollbar {
    display: none;
  }

  .bayo-category-sidebar-list {
    padding: 2px 0;
  }

  .bayo-category-scroll-control {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: calc(100% - 16px);
    height: 28px;
    margin: 0 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 15%, rgba(255,255,255,.94));
    color: var(--bayo-green-dark);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
  }

  .bayo-category-scroll-control:hover,
  .bayo-category-scroll-control:focus-visible {
    background: var(--bayo-green-soft);
    outline: none;
  }

  .bayo-category-scroll-control[hidden],
  .bayo-category-scroll-control.is-disabled {
    display: none;
  }

  .bayo-category-scroll-up {
    box-shadow: 0 7px 12px rgba(24,55,41,.06);
  }

  .bayo-category-scroll-down {
    box-shadow: 0 -7px 12px rgba(24,55,41,.06);
  }

  .bayo-category-flyout-layer {
    position: absolute;
    inset: 0 auto auto 100%;
    width: 0;
    height: 0;
    overflow: visible;
    z-index: 60;
  }

  .bayo-category-flyout-layer .bayo-category-flyout {
    top: 0;
    left: -1px;
    display: block;
  }

  .bayo-category-flyout-layer .bayo-category-flyout[hidden] {
    display: none !important;
  }

  .bayo-category-sidebar-item.is-active > .bayo-category-sidebar-link {
    background: var(--bayo-green-soft);
    color: var(--bayo-green-dark);
  }
}


/* Theme 3.0.16V — mobile root categories use Core inline pictograms.
 * This removes the last separate icon path and prevents initials/cached artwork. */
@media(max-width:760px){
 .bayo-mobile-category .bayo-mobile-category-visual{display:grid;width:54px;height:54px;place-items:center;overflow:hidden;border:1px solid #dfe8e3;border-radius:15px;background:#fff;color:var(--bayo-green);box-shadow:0 2px 8px rgba(20,55,39,.07)}
 .bayo-mobile-category .bayo-mobile-category-visual>svg{display:block;width:100%;height:100%;max-width:none;max-height:none;transform:scale(1.72);transform-origin:50% 39%;stroke:none}
 .bayo-mobile-category .bayo-mobile-category-visual>svg rect:first-of-type{fill:transparent}
 .bayo-mobile-category:active .bayo-mobile-category-visual{transform:scale(.96);background:var(--bayo-green-soft)}
}


/* Theme 3.0.17V — guaranteed text-free mobile main-category pictograms. */
@media(max-width:820px){
 .bayo-mobile-category .bayo-mobile-category-visual>svg{display:block;width:30px;height:30px;max-width:30px;max-height:30px;transform:none;transform-origin:center;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .bayo-mobile-category .bayo-mobile-category-visual>svg path,
 .bayo-mobile-category .bayo-mobile-category-visual>svg circle,
 .bayo-mobile-category .bayo-mobile-category-visual>svg rect,
 .bayo-mobile-category .bayo-mobile-category-visual>svg line,
 .bayo-mobile-category .bayo-mobile-category-visual>svg polyline{vector-effect:non-scaling-stroke}
}


/* Theme 3.0.18V — direct, cache-independent Vehicles pictogram on mobile. */
@media(max-width:820px){
 .bayo-mobile-category .bayo-mobile-vehicle-visual>svg{display:block!important;width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;transform:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;opacity:1!important;visibility:visible!important}
}


/* 3.0.19V — dedicated search/results experience. */
.bayo-results-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 18px;padding:0 2px}
.bayo-results-hero h1{margin:2px 0 4px;font-size:clamp(1.55rem,2.4vw,2.05rem);line-height:1.15;letter-spacing:-.025em}
.bayo-results-hero p{max-width:680px;margin:0;color:var(--bayo-muted);font-size:14px}
.bayo-results-eyebrow{color:var(--bayo-green)!important;font-size:11px!important;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.bayo-filter-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bayo-filter-toggle strong{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--bayo-green);font-size:11px}
.bayo-filter-panel{top:82px;max-height:calc(100vh - 100px);padding:0;overflow:hidden}
.bayo-filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid var(--bayo-line)}
.bayo-filter-panel-head span{display:block;font-size:17px;font-weight:900}
.bayo-filter-panel-head small{display:block;margin-top:1px;color:var(--bayo-muted);font-size:11px}
.bayo-filter-close{display:none;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:var(--bayo-green-soft);color:var(--bayo-green-dark);font-size:25px;line-height:1}
.bayo-filter-form{max-height:calc(100vh - 174px);padding:16px 18px 18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--bayo-line-strong) transparent}
.bayo-filter-form input,.bayo-filter-form select{min-height:43px;border-radius:9px;background-color:#fff;font-size:13px}
.bayo-filter-field>span{font-size:12px;letter-spacing:.01em}
.bayo-filter-actions{position:sticky;bottom:-18px;margin:2px -18px -18px;padding:13px 18px 16px;border-top:1px solid var(--bayo-line);background:linear-gradient(to bottom,rgba(255,255,255,.94),#fff 24%);z-index:2}
.bayo-filter-actions button{min-height:45px}
.bayo-active-filters{align-items:center;margin:0 0 12px;padding:10px 12px;border:1px solid var(--bayo-line);border-radius:11px;background:#fff}
.bayo-active-filters-label{color:var(--bayo-muted);font-size:12px;font-weight:800}
a.bayo-filter-chip{padding:5px 7px 5px 10px;text-decoration:none;transition:.16s}
a.bayo-filter-chip b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:rgba(10,75,50,.1);font-size:14px;line-height:1}
a.bayo-filter-chip:hover{background:#dcefe4}
.bayo-clear-all{margin-left:auto;color:var(--bayo-green-dark);font-size:12px;font-weight:850;text-decoration:underline;text-underline-offset:3px}
.bayo-results-toolbar{position:sticky;top:72px;z-index:12;margin-bottom:12px;padding:10px 12px;box-shadow:0 7px 18px rgba(24,55,41,.055)}
.bayo-results-count{display:grid;gap:1px}
.bayo-sort-form select{border-color:var(--bayo-line-strong);border-radius:9px;background-color:#fff;font-weight:700}
.bayo-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bayo-archive-grid .bayo-listing-card{display:grid;grid-template-columns:156px minmax(0,1fr);min-height:146px;border-radius:12px;transform:none;box-shadow:none}
.bayo-archive-grid .bayo-listing-card:hover{transform:none;border-color:#b8cbc0;box-shadow:0 9px 24px rgba(24,55,41,.08)}
.bayo-archive-grid .bayo-listing-image{height:100%;min-height:146px;aspect-ratio:auto;border-radius:0}
.bayo-archive-grid .bayo-listing-body{display:flex;flex-direction:column;min-width:0;padding:14px}
.bayo-archive-grid .bayo-listing-price{font-size:17px;line-height:1.2}
.bayo-archive-grid .bayo-listing-title{display:-webkit-box;overflow:hidden;margin:7px 0 10px;font-size:14px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bayo-archive-grid .bayo-listing-meta{margin-top:auto;padding-top:8px;border-top:1px solid #edf1ef;font-size:11px}
.bayo-pagination .nav-links{justify-content:center}
.bayo-no-results{padding:58px 24px;background:linear-gradient(145deg,#fff,#f6fbf8)}
@media(max-width:1120px){.bayo-archive-grid{grid-template-columns:1fr}.bayo-archive-grid .bayo-listing-card{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){
  .bayo-archive-shell{padding-top:12px}
  .bayo-results-hero{align-items:center;margin-bottom:12px}
  .bayo-results-hero h1{font-size:21px}
  .bayo-results-hero>div>p:not(.bayo-results-eyebrow){display:none}
  .bayo-filter-toggle{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:10px 12px}
  .bayo-filter-backdrop{position:fixed;inset:0;z-index:109;background:rgba(9,25,17,.48);backdrop-filter:blur(2px)}
  .bayo-filter-backdrop:not([hidden]){display:block}
  .bayo-filter-panel{display:block;position:fixed;z-index:110;inset:0 0 0 auto;width:min(92vw,390px);max-height:none;margin:0;border:0;border-radius:18px 0 0 18px;transform:translateX(105%);transition:transform .22s ease;box-shadow:-18px 0 48px rgba(0,0,0,.2)}
  .bayo-filter-panel.is-open{display:block;transform:translateX(0)}
  .bayo-filter-panel-head{min-height:67px;padding:14px 16px}
  .bayo-filter-close{display:grid;place-items:center}
  .bayo-filter-form{max-height:calc(100dvh - 67px);padding:15px 16px 20px}
  .bayo-filter-actions{bottom:-20px;margin:5px -16px -20px;padding:13px 16px 18px}
  body.bayo-filter-open{overflow:hidden}
  .bayo-active-filters{flex-wrap:nowrap;overflow-x:auto;padding:8px 9px;scrollbar-width:none}
  .bayo-active-filters::-webkit-scrollbar{display:none}
  .bayo-active-filters-label{display:none}
  .bayo-clear-all{flex:0 0 auto}
  .bayo-results-toolbar{top:61px;flex-direction:row;align-items:center;padding:9px 10px}
  .bayo-results-count{font-size:13px}
  .bayo-sort-form{width:auto;margin-left:auto}
  .bayo-sort-form label{display:none}
  .bayo-sort-form select{max-width:150px;min-height:38px;font-size:12px}
  .bayo-archive-grid{grid-template-columns:1fr;gap:9px}
  .bayo-archive-grid .bayo-listing-card{grid-template-columns:126px minmax(0,1fr);min-height:122px}
  .bayo-archive-grid .bayo-listing-image{min-height:122px}
  .bayo-archive-grid .bayo-listing-body{padding:11px}
  .bayo-archive-grid .bayo-listing-meta{gap:5px}
}
@media(max-width:390px){.bayo-archive-grid .bayo-listing-card{grid-template-columns:112px minmax(0,1fr)}.bayo-results-hero h1{font-size:19px}}


/* 3.0.20V — category-context refinements. */
.bayo-category-refine{min-width:0}
.bayo-category-refine-list{display:grid;gap:5px;max-height:none;overflow:visible}
.bayo-category-refine-current,
.bayo-category-refine-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:39px;padding:8px 10px;border-radius:9px;color:var(--bayo-text);text-decoration:none;transition:background .16s ease,color .16s ease}
.bayo-category-refine-current{margin-bottom:3px;background:var(--bayo-soft);border:1px solid var(--bayo-line)}
.bayo-category-refine-current strong{font-size:13px}
.bayo-category-refine-current span{font-size:11px;font-weight:800;color:var(--bayo-primary)}
.bayo-category-refine-item>span{min-width:0;font-size:13px;font-weight:700;line-height:1.25}
.bayo-category-refine-item small{flex:0 0 auto;color:var(--bayo-muted);font-size:11px}
.bayo-category-refine-item:hover,.bayo-category-refine-item:focus-visible{background:var(--bayo-soft);color:var(--bayo-primary)}
.bayo-category-refine-item.is-current{background:rgba(19,128,80,.1);color:var(--bayo-primary);font-weight:900}
@media (min-width:821px){
  .bayo-category-refine-list{max-height:300px;overflow:auto;scrollbar-width:thin;padding-right:3px}
}


/* 3.0.21V — natural-flow desktop category refinements.
   Category pages show the full relevant category branch without nested scrolling. */
@media (min-width:761px){
  .bayo-filter-panel{
    position:relative;
    top:auto;
    max-height:none;
    overflow:visible;
    align-self:start;
  }
  .bayo-filter-form{
    max-height:none;
    overflow:visible;
    overscroll-behavior:auto;
    scrollbar-width:auto;
  }
  .bayo-category-refine-list{
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
  .bayo-filter-actions{
    position:static;
    bottom:auto;
    margin:4px -18px -18px;
  }
}

/* Theme 3.0.25V — mobile category trail never repeats the current archive title. */

/* 3.0.30V — mobile results pages have one server-rendered category title. */
@media(max-width:760px){.bayo-archive-shell>.bayo-mobile-category-trail{display:none!important}}


/* 3.0.32V — single, minimal taxonomy heading on mobile results pages. */
@media (max-width: 760px) {
  .bayo-results-hero {
    align-items: center;
    margin-bottom: 14px;
  }
  .bayo-results-hero .bayo-results-eyebrow,
  .bayo-results-hero > div > p:not(.bayo-results-eyebrow) {
    display: none !important;
  }
  .bayo-results-hero h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
  }
  /* Some runtime paths inject a second plain archive H1 at the start of the
     results column. The canonical title is the H1 inside .bayo-results-hero. */
  .bayo-archive-layout > div > h1:first-child,
  .bayo-archive-layout > main > h1:first-child,
  .bayo-archive-layout .bayo-results-content > h1:first-child {
    display: none !important;
  }
}
