/* Treed Designers */
.trdes-wrap { max-width: 1200px; margin: 0 auto; }
.trdes-search { margin: 0 0 24px; text-align: center; }
.trdes-search input {
	width: 100%; max-width: 420px; padding: 12px 16px;
	border: 1px solid #d9d9d9; border-radius: 10px; font-size: 15px;
}

/* grid: 3 desktop / 2 tablet / 1 mobile */
.trdes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .trdes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .trdes-grid { grid-template-columns: 1fr; } }

.trdes-card {
	border: 1px solid #ececec; border-radius: 14px; padding: 18px;
	text-align: center; background: #fff; transition: box-shadow .2s, transform .2s;
	display: flex; flex-direction: column; align-items: center;
}
.trdes-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,.08); transform: translateY(-3px); }

.trdes-logo { height: 70px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.trdes-logo img { max-height: 70px; max-width: 160px; width: auto; object-fit: contain; }
.trdes-noimg { font-weight: 700; color: #1c2b46; }

/* card slider */
.trdes-slider { position: relative; width: 100%; margin-bottom: 12px; }
.trdes-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; }
.trdes-slides::-webkit-scrollbar { display: none; }
.trdes-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1/1; }
.trdes-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.trdes-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; border: none; border-radius: 50%;
	background: rgba(28,43,70,.7); color: #fff; cursor: pointer; font-size: 20px; line-height: 1;
}
.trdes-prev { left: 8px; } .trdes-next { right: 8px; }

.trdes-name { margin: 6px 0 12px; font-size: 18px; color: #1c2b46; }
.trdes-btn {
	display: inline-block; background: #1c2b46; color: #fff !important; text-decoration: none;
	padding: 10px 22px; border-radius: 8px; font-weight: 600; transition: background .2s;
}
.trdes-btn:hover { background: #26406b; }
.trdes-empty { text-align: center; color: #888; }

/* designer header on the brand page */
.trdes-designer-header {
	display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
	padding: 20px; border: 1px solid #ececec; border-radius: 14px; background: #fafafa; margin-bottom: 14px;
}
.trdes-dh-logo img { max-height: 90px; max-width: 180px; width: auto; object-fit: contain; }
.trdes-dh-info { flex: 1; min-width: 220px; }
.trdes-dh-name { margin: 0 0 6px; color: #1c2b46; }
.trdes-dh-loc { color: #666; font-size: 14px; margin-bottom: 8px; }
.trdes-dh-desc { color: #444; font-size: 15px; line-height: 1.7; }
.trdes-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.trdes-benefit {
	background: #eef2f8; color: #1c2b46; border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
