/* Мини-профиль продавца — справа от объявления в подкатегории */
.filter-container--catalog-sidebar:not(.filter-container--category) .post-item-wrap--with-seller {
	align-items: start;
}

@media (min-width: 968px) {
	.filter-container--catalog-sidebar:not(.filter-container--category) .post-item-wrap--with-seller {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 200px;
		gap: 16px 28px;
		align-items: start;
	}

	.filter-container--catalog-sidebar:not(.filter-container--category) .post-item-wrap--with-seller .post-item {
		min-width: 0;
		grid-column: 1;
	}

	.filter-container--catalog-sidebar:not(.filter-container--category) .post-item-wrap--with-seller .post-seller-mini {
		grid-column: 2;
		grid-row: 1;
		align-self: start;
	}

	.filter-container--catalog-sidebar:not(.filter-container--category) .post-item-wrap--with-seller:not(:last-of-type)::after {
		width: 100%;
	}
}

@media (max-width: 967px) {
	.filter-container--catalog-sidebar:not(.filter-container--category) .post-seller-mini {
		display: none !important;
	}
}

.post-seller-mini {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	max-width: 200px;
	box-sizing: border-box;
}

.post-seller-mini__avatar {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
	text-decoration: none;
}

.post-seller-mini__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-seller-mini__letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 20px;
	font-weight: 600;
	color: var(--dark, #29292a);
	background: var(--gray, #f2f2f2);
	text-transform: uppercase;
}

.post-seller-mini__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--dark, #29292a);
	text-decoration: none;
	word-break: break-word;
}

.post-seller-mini__name:hover {
	color: var(--accent, #0c990c);
}

.post-seller-mini__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	line-height: 1.3;
	color: #757575;
}

.post-seller-mini__meta-dot {
	color: #bdbdbd;
}

.post-seller-mini__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e8f4fd;
	color: #0077cc;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
}

.post-seller-mini__actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	margin-top: 4px;
}

.post-seller-mini__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	padding: 8px 12px;
	border: 0;
	border-radius: 12px;
	background: #f2f2f2;
	color: var(--dark, #29292a);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background 0.15s ease;
}

.post-seller-mini__btn:hover {
	background: #e8e8e8;
	color: var(--dark, #29292a);
}

.post-seller-mini__btn--whatsapp {
	margin: 0;
}
