/* -------------------------------------------------------------------------
   11-wishlist.css — Страница избранного /wishlist/
-------------------------------------------------------------------------- */

.enclave-wishlist-main {
	padding: 0;
	max-width: none;
	margin: 0;
	width: 100%;
}
/* Заголовок — по аналогии с .wh-title из прототипа */
.enclave-wishlist-main__head {
	padding: 0;
	border-bottom: var(--b);
	margin: 0;
	display: flex;
	align-items: stretch;
}
.enclave-wishlist-main__title {
	padding: 20px 0 20px 32px;
	font-family: var(--enclave-heading-font);
	text-transform: uppercase;
	line-height: 1;
	font-weight: 400;
	margin: 0;
	flex-shrink: 0;
	white-space: nowrap;
}
.enclave-wishlist-main__count {
	padding: 0 18px;
	font-family: var(--enclave-heading-font);
	font-size: 22px;
	color: #ccc;
	flex-shrink: 0;
	white-space: nowrap;
	border-right: var(--b);
	display: flex;
	align-items: center;
}
/* Статистика: бренды / лимитка / сумма — по .wh-stat из прототипа */
.enclave-wishlist-stats {
	display: flex;
	flex: 1;
	min-width: 0;
}
.enclave-wishlist-stats__item {
	flex: 1;
	padding: 16px 18px;
	border-right: var(--b);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}
.enclave-wishlist-stats__item:last-child {
	border-right: none;
}
.enclave-wishlist-stats__label {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #aaa;
}
.enclave-wishlist-stats__val {
	font-family: var(--enclave-heading-font);
	font-size: 22px;
	font-weight: 600;
	color: var(--k);
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.enclave-wishlist-stats__item--acc {
	background: var(--k);
}
.enclave-wishlist-stats__item--acc .enclave-wishlist-stats__label {
	color: rgba(255, 255, 255, 0.4);
}
.enclave-wishlist-stats__item--acc .enclave-wishlist-stats__val {
	color: var(--a);
	font-weight: 600;
}
/* Кнопка очистки в хедере — по .wh-btns button из прототипа */
.enclave-wishlist-clear {
	width: 50px;
	height: auto;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	border-left: var(--b);
	border-radius: 0;
	color: #bbb;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.1s;
	flex-shrink: 0;
	font: inherit;
}
.enclave-wishlist-clear i {
	font-size: 18px;
}
.enclave-wishlist-clear:hover {
	color: #e03030;
}
.enclave-wishlist-clear[hidden] {
	display: none;
}
@media (max-width: 767px) {
	.enclave-wishlist-main__head {
		flex-wrap: wrap;
	}
	.enclave-wishlist-main__title {
		flex-basis: 100%;
		padding: 14px 16px;
		border-right: none;
		border-bottom: var(--b);
	}
	.enclave-wishlist-main__count {
		flex-basis: 100%;
		font-size: 22px;
		padding: 14px 16px;
		border-right: none;
		border-bottom: var(--b);
		justify-content: flex-start;
	}
	.enclave-wishlist-stats {
		flex-basis: 100%;
		border-top: var(--b);
	}
	.enclave-wishlist-stats__item {
		padding: 14px 16px;
	}
	.enclave-wishlist-stats__item:not(:last-child) {
		border-right: var(--b);
		border-bottom: none;
	}
	.enclave-wishlist-stats__val {
		font-size: 18px;
	}
	.enclave-wishlist-clear {
		flex-basis: 100%;
		border-left: none;
		border-top: var(--b);
		min-height: 50px;
	}
}

.enclave-wishlist-root {
	min-height: 120px;
}

/* Кнопки карточки: «Купить» + «Удалить» вертикально (как в прототипе .wc-acts) */
.enclave-section--wishlist .pc-actions {
	flex-direction: column;
}
.enclave-section--wishlist .pc-btn-wish {
	display: none;
}
.enclave-section--wishlist .pc-btn-cart {
	border-right: none;
	border-top: var(--b);
}
/* Кнопка «Удалить» в карточке — по .wc-btn-r из прототипа */
.enclave-section--wishlist .pc-btn-remove {
	background: var(--w);
	color: var(--k);
	border: none;
	border-radius: 0;
	border-top: var(--b);
	font-family: var(--enclave-heading-font);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 13px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	transition: background 0.1s, color 0.1s;
}
.enclave-section--wishlist .pc-btn-remove:hover {
	background: #fff0f0;
	color: #e03030;
}

.enclave-wishlist-root__loading,
.enclave-wishlist-root__error {
	padding: 48px 0;
	text-align: center;
	color: #888;
	font-size: 14px;
}

.enclave-wishlist-root__empty {
	padding: 64px 24px;
	text-align: center;
}
.enclave-wishlist-root__empty-icon {
	font-size: 48px;
	color: #ccc;
	margin-bottom: 16px;
}
.enclave-wishlist-root__empty-text {
	color: #666;
	font-size: 15px;
	max-width: 420px;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.enclave-wishlist-main__head {
		padding: 14px 16px;
	}
	.enclave-wishlist-main__count {
		font-size: 22px;
	}
}
