.tcls-ready {
	position: relative;
}

.tcls-results-portal {
	position: fixed;
	background: #fff;
	border: 1px solid rgba(26, 26, 26, 0.08);
	border-radius: 18px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
	overflow: hidden;
	z-index: 100050;
	backdrop-filter: blur(10px);
}

.tcls-results-portal[hidden] {
	display: none !important;
}

.tcls-status {
	padding: 16px 18px;
	font-family: Inter, sans-serif;
	font-size: 13px;
	color: rgba(26, 26, 26, 0.64);
	background: #fff;
}

.tcls-status.is-loading::after {
	content: '…';
}

.tcls-results__filters {
	display: flex;
	gap: 8px;
	padding: 12px 12px 0;
	flex-wrap: wrap;
	background: linear-gradient(180deg, #fff 0%, #fdfcfb 100%);
}

.tcls-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(26, 26, 26, 0.1);
	background: rgba(255,255,255,.96);
	color: #67263a;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}

.tcls-chip:hover,
.tcls-chip.is-active {
	transform: translateY(-1px);
	border-color: rgba(194,161,101,.48);
	background: rgba(103,38,58,.07);
}

.tcls-results__list {
	max-height: min(56vh, 460px);
	overflow-y: auto;
	padding-top: 6px;
}

.tcls-result {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-bottom: 1px solid rgba(26, 26, 26, 0.06);
	transition: background-color 0.16s ease, transform 0.16s ease;
}

.tcls-result:hover,
.tcls-result:focus,
.tcls-result.is-active {
	background: #f9f6f1;
	outline: none;
}

.tcls-result__media {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	background: #f4f2ef;
}

.tcls-result__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tcls-result__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
}

.tcls-result__title {
	font-family: 'Cinzel', serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: #67263a;
	line-height: 1.35;
}

.tcls-result__meta,
.tcls-result__price,
.tcls-result__excerpt {
	font-family: Inter, sans-serif;
	font-size: 12px;
	line-height: 1.4;
}

.tcls-result__meta {
	color: rgba(26, 26, 26, 0.56);
}

.tcls-result__excerpt {
	color: rgba(26, 26, 26, 0.74);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tcls-result__price {
	color: #1a1a1a;
	font-weight: 700;
}

.tcls-results__footer {
	padding: 12px 14px;
	background: #fdfcfb;
	border-top: 1px solid rgba(26,26,26,.06);
}

.tcls-results__view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-family: 'Cinzel', serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: #67263a;
	color: #fff;
}

.tcls-results__view-all:hover,
.tcls-results__view-all:focus {
	background: #4a1a28;
	color: #c2a165;
}

.tcls-results-portal mark {
	background: rgba(194,161,101,.28);
	color: inherit;
	padding: 0 .1em;
}

.tcls-archive-tools {
	margin: 0 0 22px;
	padding: 16px 18px;
	background: linear-gradient(180deg, rgba(253,252,251,.96) 0%, rgba(244,242,239,.85) 100%);
	border: 1px solid rgba(26,26,26,.08);
	border-radius: 18px;
}

.tcls-archive-tools__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 12px;
}

.tcls-archive-tools__eyebrow {
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: rgba(26,26,26,.5);
	margin-bottom: 4px;
}

.tcls-archive-tools__title {
	font-family: 'Cinzel', serif;
	font-size: 16px;
	line-height: 1.35;
	color: #67263a;
}

.tcls-archive-tools__chips {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tcls-archive-tools__reset {
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	color: rgba(103,38,58,.86);
}

.tcls-archive-tools__reset:hover {
	text-decoration: underline;
}

@media (max-width: 992px) {
	.tcls-results-portal {
		max-width: calc(100vw - 24px);
	}
}

@media (max-width: 640px) {
	.tcls-archive-tools__head {
		flex-direction: column;
	}

	.tcls-results__list {
		max-height: 52vh;
	}

	.tcls-result {
		grid-template-columns: 60px minmax(0, 1fr);
	}

	.tcls-result__media {
		width: 60px;
		height: 60px;
	}
}
