/* AYCEE Builder: tradesmen directory and profiles */
.ayc-trades { max-width: 1180px; margin: 0 auto; }
.ayc-trades__filter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 0 16px;
	align-items: end;
	padding: 20px 20px 4px;
	margin-bottom: 24px;
	border-radius: 12px;
	background: var(--ayc-light);
}
.ayc-trades__filter label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ayc-trades__filter select {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--ayc-border);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: var(--ayc-dark);
}
.ayc-trades__go .ayc-btn { min-height: 46px; }

.ayc-trades__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ayc-tcard { margin: 0; }
.ayc-tcard__link {
	display: flex;
	gap: 16px;
	height: 100%;
	box-sizing: border-box;
	padding: 18px;
	border: 1px solid var(--ayc-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ayc-dark);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ayc-tcard__link:hover { border-color: var(--ayc-aqua); box-shadow: 0 10px 24px -14px rgba(8, 127, 122, .5); color: var(--ayc-dark); }
.ayc-tcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ayc-tcard__name { font-weight: 700; font-size: 17px; line-height: 1.3; }
.ayc-tcard__biz { font-size: 14px; color: var(--ayc-muted); }
.ayc-tcard__trades { font-size: 14px; font-weight: 600; color: var(--ayc-teal); }
.ayc-tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ayc-muted); }
.ayc-tcard__area { font-size: 13px; color: var(--ayc-muted); }
.ayc-dot { opacity: .5; }

.ayc-avatar {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ayc-teal);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ayc-avatar--lg { width: 104px; height: 104px; }
.ayc-avatar__img { width: 100%; height: 100%; object-fit: cover; }
.ayc-avatar__initials { color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.ayc-avatar--lg .ayc-avatar__initials { font-size: 34px; }

.ayc-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	vertical-align: middle;
	white-space: nowrap;
}
.ayc-badge--verified { background: rgba(25, 195, 177, .15); color: var(--ayc-teal-dark); }
.ayc-badge--verified::before { content: "✓"; font-weight: 700; }
.ayc-avail { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.ayc-avail--available { background: #E7F6EC; color: #1B6B3A; }
.ayc-avail--limited { background: #FFF4E0; color: #8A5300; }
.ayc-avail--unavailable { background: #EEF0F1; color: var(--ayc-muted); }

.ayc-trades__empty {
	padding: 32px;
	border: 1px dashed var(--ayc-border);
	border-radius: 12px;
	text-align: center;
	background: #fff;
}
.ayc-trades__empty p { margin: 0 0 8px; }
.ayc-trades__empty .ayc-btn { margin-top: 8px; }
.ayc-trades__pages { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.ayc-trades__pages a, .ayc-trades__pages span {
	min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ayc-border); border-radius: 8px; text-decoration: none; color: var(--ayc-dark);
}
.ayc-trades__pages span[aria-current] { background: var(--ayc-teal); border-color: var(--ayc-teal); color: #fff; }

/* Profile */
.ayc-profile { max-width: 900px; margin: 0 auto; }
.ayc-profile__head { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }
.ayc-profile__head p { margin: 0 0 6px; }
.ayc-profile__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ayc-profile__biz { color: var(--ayc-muted); }
.ayc-profile__trades { font-weight: 600; color: var(--ayc-teal); font-size: 17px; }
.ayc-profile__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ayc-muted); }
.ayc-profile__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 0 0 32px;
}
.ayc-profile__facts > div { padding: 14px 16px; border-radius: 10px; background: var(--ayc-light); }
.ayc-profile__facts dt { font-size: 13px; color: var(--ayc-muted); margin: 0 0 4px; }
.ayc-profile__facts dd { margin: 0; font-weight: 600; }
.ayc-profile__section { margin: 0 0 40px; }
.ayc-profile__section h2 { font-size: 22px; margin: 0 0 12px; }
.ayc-reviews { list-style: none; margin: 0; padding: 0; }
.ayc-review { padding: 16px 0; border-bottom: 1px solid var(--ayc-border); }
.ayc-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.ayc-review__body p { margin: 0 0 6px; }
.ayc-review__verified { margin: 0; font-size: 12px; color: var(--ayc-teal); font-weight: 600; }
.ayc-muted { color: var(--ayc-muted); }
.ayc-req { color: var(--ayc-error); }

@media (max-width: 700px) {
	.ayc-trades__filter { grid-template-columns: 1fr; }
	.ayc-trades__go .ayc-btn { width: 100%; }
	.ayc-trades__grid { grid-template-columns: 1fr; }
	.ayc-profile__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
