.mcd-wrap{font-family:Arial,Helvetica,sans-serif;font-size:15px;--mcd-border:#e5e7eb;--mcd-text:#202124;--mcd-muted:#6b7280;--mcd-bg:#fff;--mcd-soft:#f8fafc;color:var(--mcd-text)}
.mcd-title{margin:0 0 18px}
.mcd-filter-panel{background:var(--mcd-bg);border:1px solid var(--mcd-border);border-radius:12px;padding:18px;margin-bottom:18px}
.mcd-filter-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.mcd-filter-head>strong{font-size:15px}
.mcd-location-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mcd-location-btn,.mcd-clear-btn{border-radius:8px;padding:8px 11px;font-size:15px;cursor:pointer}
.mcd-location-btn{background:#111;color:#fff;border:1px solid #111}
.mcd-location-btn.is-active{background:#eef7ee;color:#166534;border-color:#bbddbf}
.mcd-location-btn:disabled{opacity:.65;cursor:wait}
.mcd-clear-btn{background:#fff;color:#333;border:1px solid var(--mcd-border)}
.mcd-location-status{min-height:18px;color:var(--mcd-muted);font-size:15px;margin:0 0 12px}
.mcd-filter-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mcd-group-title{font-size:15px;font-weight:700;margin-bottom:9px}
.mcd-checks{display:flex;flex-wrap:wrap;gap:8px}
.mcd-check-pill{position:relative}
.mcd-check-pill input{position:absolute;opacity:0;pointer-events:none}
.mcd-check-pill label{display:inline-block;border:1px solid #d7dbe0;border-radius:999px;padding:8px 11px;font-size:15px;cursor:pointer;background:#fff;transition:.15s ease}
.mcd-check-pill input:checked+label{background:#111;color:#fff;border-color:#111}
.mcd-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.mcd-result-count{font-size:15px;color:var(--mcd-muted)}
.mcd-show-control{display:flex;align-items:center;gap:7px;font-size:15px}
.mcd-limit{border:1px solid #d7dbe0;border-radius:7px;background:#fff;padding:6px 9px}
.mcd-table-shell{position:relative}
.mcd-table-shell.is-loading{opacity:.58;pointer-events:none}
.mcd-loading,.mcd-empty{background:#fff;border:1px solid var(--mcd-border);border-radius:12px;padding:24px;text-align:center}
.mcd-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--mcd-border);border-radius:12px;overflow:hidden}
.mcd-table th,.mcd-table td{padding:14px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:middle}
.mcd-table th{background:var(--mcd-soft);font-size:15px;text-transform:uppercase;letter-spacing:.04em}
.mcd-table tr:last-child td{border-bottom:0}






.mcd-distance{font-size:15px;color:var(--mcd-muted);font-weight:400}
.mcd-review-cell{font-weight:600}
.mcd-profile-link{font-weight:700;text-decoration:none}
.mcd-muted{color:var(--mcd-muted)}
@media(max-width:850px){
	.mcd-filter-groups{grid-template-columns:1fr}
	.mcd-filter-head,.mcd-results-toolbar{align-items:flex-start;flex-direction:column}
	.mcd-table,.mcd-table thead,.mcd-table tbody,.mcd-table tr,.mcd-table th,.mcd-table td{display:block}
	.mcd-table{border:0;background:transparent}
	.mcd-table thead{display:none}
	.mcd-table tr{background:#fff;border:1px solid var(--mcd-border);border-radius:12px;margin-bottom:12px;padding:6px 12px}
	.mcd-table td{display:grid;grid-template-columns:108px 1fr;gap:12px;border-bottom:1px solid #edf0f2;padding:12px 0}
	.mcd-table td:last-child{border-bottom:0}
	.mcd-table td:before{content:attr(data-label);font-weight:700;color:#666}
	
}

.mcd-wrap button,
.mcd-wrap input,
.mcd-wrap select,
.mcd-wrap label,
.mcd-wrap table,
.mcd-wrap th,
.mcd-wrap td,
.mcd-wrap a,
.mcd-wrap strong,
.mcd-wrap span{
	font-family:Arial,Helvetica,sans-serif;
	font-size:15px;
}

/* 4-column layout */
.mcd-table th,
.mcd-table td{
	border-right:1px solid #eceff1;
}
.mcd-table th:last-child,
.mcd-table td:last-child{
	border-right:0;
}
.mcd-review-cell{
	margin-top:4px;
	font-weight:600;
}
.mcd-services-list{
	display:flex;
	flex-wrap:wrap;
	gap:6px;
}
.mcd-service-item{
	display:inline-block;
	padding:4px 8px;
	border:1px solid #e5e7eb;
	border-radius:999px;
	background:#fafafa;
	line-height:1.25;
}
.mcd-profile-button{
	display:inline-block;
	padding:8px 12px;
	border:1px solid #d7dbe0;
	border-radius:7px;
	background:#fff;
	color:#111;
	text-decoration:none;
	white-space:nowrap;
}
@media(max-width:850px){
	.mcd-table td{border-right:0;}
}

.mcd-profile-actions{
	display:flex;
	flex-direction:column;
	gap:8px;
	align-items:flex-start;
}

.mcd-quote-button{
	background:#111;
	color:#fff;
	border-color:#111;
}

.mcd-review-cell{
	display:block;
}
.mcd-distance{
	display:block;
	margin-top:5px;
}


/* Stronger service spacing */
.mcd-services-list{
	display:flex !important;
	flex-wrap:wrap !important;
	gap:10px 10px !important;
	align-items:flex-start;
}

.mcd-service-item{
	display:inline-flex !important;
	align-items:center;
	padding:6px 10px !important;
	margin:0 !important;
	border:1px solid #e5e7eb !important;
	border-radius:999px !important;
	background:#fafafa !important;
	color:#202124 !important;
	line-height:1.25 !important;
	white-space:nowrap;
}

/* Stable stacked action buttons */
.mcd-profile-actions{
	display:flex !important;
	flex-direction:column !important;
	gap:10px !important;
	align-items:stretch !important;
	min-width:150px;
	max-width:190px;
}

.mcd-profile-button{
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	box-sizing:border-box !important;
	width:100% !important;
	min-height:42px;
	padding:10px 14px !important;
	margin:0 !important;
	border:1px solid #d7dbe0 !important;
	border-radius:8px !important;
	background:#ffffff !important;
	color:#111111 !important;
	text-decoration:none !important;
	font-weight:700 !important;
	line-height:1.2 !important;
	text-align:center !important;
	white-space:nowrap;
	box-shadow:none !important;
}

.mcd-profile-button:hover,
.mcd-profile-button:focus{
	background:#f7f7f7 !important;
	color:#111111 !important;
	text-decoration:none !important;
}

.mcd-quote-button{
	background:#111111 !important;
	color:#ffffff !important;
	border-color:#111111 !important;
}

.mcd-quote-button:hover,
.mcd-quote-button:focus{
	background:#2a2a2a !important;
	color:#ffffff !important;
	border-color:#2a2a2a !important;
}

@media(max-width:850px){
	.mcd-profile-actions{
		min-width:0;
		max-width:none;
		width:100%;
	}
	.mcd-profile-button{
		width:100% !important;
	}
	.mcd-services-list{
		gap:8px !important;
	}
}
