.act-comparison-tool {
	--act-bg: #070711;
	--act-bg-2: #11111f;
	--act-card: rgba(23, 23, 39, 0.92);
	--act-card-2: rgba(13, 13, 24, 0.96);
	--act-border: rgba(255, 255, 255, 0.12);
	--act-border-gold: rgba(216, 180, 106, 0.28);
	--act-text: #f7f2f6;
	--act-muted: #b8aeb8;
	--act-soft: rgba(255, 255, 255, 0.06);
	--act-accent: #c2185b;
	--act-accent-2: #e85d9e;
	--act-gold: #d8b46a;
	--act-green: #66ff9a;
	color: var(--act-text);
	font-family: inherit;
	margin-top: 1rem;
}

.act-match-panel {
	border: 1px solid var(--act-border-gold);
	border-radius: 14px;
	background:
		radial-gradient(circle at 12% 5%, rgba(232, 93, 158, 0.28), transparent 30%),
		radial-gradient(circle at 92% 12%, rgba(216, 180, 106, 0.12), transparent 26%),
		linear-gradient(145deg, rgba(74, 16, 42, 0.72), rgba(17, 17, 31, 0.98) 52%, rgba(7, 7, 17, 0.99));
	box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
	margin-bottom: 18px;
	padding: clamp(18px, 3vw, 28px);
}

.act-match-copy {
	display: grid;
	gap: 8px;
	align-content: start;
}

.act-kicker {
	color: var(--act-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.act-match-copy h3 {
	color: var(--act-text);
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.02;
	margin: 0;
	max-width: 11em;
}

.act-match-copy p {
	color: var(--act-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
	max-width: 29em;
}

.act-match-controls {
	display: grid;
	gap: 14px;
}

.act-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.act-filter-label {
	align-items: center;
	color: var(--act-gold);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	min-height: 38px;
	padding-right: 4px;
	text-transform: uppercase;
}

.act-filter-pill {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: var(--act-text);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.15;
	min-height: 38px;
	padding: 9px 14px;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.act-filter-pill:hover,
.act-filter-pill:focus {
	border-color: rgba(216, 180, 106, 0.5);
	transform: translateY(-1px);
}

.act-filter-pill.is-active {
	background: linear-gradient(135deg, rgba(194, 24, 91, 0.92), rgba(232, 93, 158, 0.86));
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 12px 26px rgba(194, 24, 91, 0.24);
	color: #fff;
}

.act-age-group {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	display: grid;
	gap: 8px;
	padding: 12px 14px;
}

.act-age-group label {
	align-items: center;
	color: var(--act-muted);
	display: flex;
	font-size: 14px;
	justify-content: space-between;
}

.act-age-group strong {
	color: var(--act-gold);
}

.act-age-input {
	accent-color: var(--act-accent-2);
	width: 100%;
}

.act-memory-toggle {
	align-items: center;
	color: var(--act-muted);
	display: flex;
	font-size: 14px;
	gap: 9px;
}

.act-memory-toggle input,
.act-compare-check input {
	accent-color: var(--act-accent-2);
}

.act-offers {
	display: grid;
	gap: 14px;
}

.act-offer-card {
	align-items: stretch;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
		linear-gradient(180deg, var(--act-card), var(--act-card-2));
	border: 1px solid var(--act-border);
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
	display: grid;
	gap: 18px;
	grid-template-columns: 124px minmax(0, 1fr) 184px;
	overflow: hidden;
	padding: 16px;
	position: relative;
}

.act-offer-card::before {
	background: linear-gradient(180deg, var(--act-gold), rgba(216, 180, 106, 0));
	content: "";
	inset: 0 auto 0 0;
	position: absolute;
	width: 3px;
}

.act-offer-card.is-hidden {
	display: none;
}

.act-offer-logo {
	align-items: center;
	background:
		radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 62%),
		rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	display: flex;
	justify-content: center;
	min-height: 116px;
	overflow: hidden;
	padding: 14px;
}

.act-offer-logo img {
	display: block;
	height: auto;
	max-height: 86px;
	max-width: 100%;
	object-fit: contain;
}

.act-logo-placeholder {
	align-items: center;
	background: linear-gradient(135deg, var(--act-accent), var(--act-accent-2));
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 30px;
	font-weight: 800;
	height: 64px;
	justify-content: center;
	text-transform: uppercase;
	width: 64px;
}

.act-offer-main {
	display: grid;
	gap: 8px;
	align-content: center;
}

.act-offer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.act-offer-meta span {
	background: rgba(216, 180, 106, 0.12);
	border: 1px solid rgba(216, 180, 106, 0.22);
	border-radius: 999px;
	color: var(--act-gold);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.05em;
	padding: 5px 8px;
	text-transform: uppercase;
}

.act-offer-name {
	color: var(--act-text);
	font-size: 22px;
	line-height: 1.15;
	margin: 0;
}

.act-offer-description {
	color: var(--act-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.act-usp-list {
	display: grid;
	gap: 7px;
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
}

.act-usp-list li {
	color: var(--act-text);
	font-size: 14px;
	line-height: 1.38;
	padding-left: 22px;
	position: relative;
}

.act-usp-list li::before {
	background: var(--act-green);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(102, 255, 154, 0.3);
	content: "";
	height: 7px;
	left: 4px;
	position: absolute;
	top: 0.58em;
	width: 7px;
}

.act-offer-actions {
	align-items: stretch;
	display: grid;
	gap: 10px;
	justify-items: stretch;
}

.act-rating {
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	color: var(--act-accent-2);
	display: flex;
	font-size: 20px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	min-height: 42px;
	white-space: nowrap;
}

.act-heart-empty {
	color: rgba(255, 255, 255, 0.22);
}

.act-rating-number {
	color: var(--act-gold);
	display: inline-block;
	font-size: 13px;
	font-weight: 850;
	line-height: 1;
	margin-left: 7px;
	vertical-align: 2px;
}

.act-details-button,
.act-compare-button,
.act-modal-card .act-details-button {
	align-items: center;
	background: linear-gradient(135deg, var(--act-accent), var(--act-accent-2));
	border: 0;
	border-radius: 10px;
	box-shadow: 0 14px 30px rgba(194, 24, 91, 0.26);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 850;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none;
	transition: filter 160ms ease, transform 160ms ease;
}

.act-details-button:hover,
.act-details-button:focus,
.act-compare-button:hover,
.act-compare-button:focus {
	color: #fff;
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.act-compare-button:disabled,
.act-details-button-disabled,
.act-details-button-disabled:hover,
.act-details-button-disabled:focus {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.52);
	cursor: not-allowed;
	filter: none;
	transform: none;
}

.act-compare-check {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: var(--act-muted);
	cursor: pointer;
	display: flex;
	font-size: 14px;
	gap: 8px;
	justify-content: center;
	min-height: 38px;
}

.act-compare-check input {
	height: 17px;
	width: 17px;
}

.act-compare-bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 18px;
}

.act-selected-count,
.act-empty,
.act-filter-empty {
	color: var(--act-muted);
	font-size: 14px;
}

.act-filter-empty {
	border: 1px dashed rgba(216, 180, 106, 0.25);
	border-radius: 10px;
	margin: 16px 0 0;
	padding: 14px;
	text-align: center;
}

.act-modal[hidden] {
	display: none;
}

.act-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.act-modal-backdrop {
	background: rgba(7, 7, 17, 0.82);
	inset: 0;
	position: fixed;
}

.act-modal-panel {
	background:
		radial-gradient(circle at top left, rgba(194, 24, 91, 0.2), transparent 30%),
		linear-gradient(180deg, #171727, #080812);
	border: 1px solid var(--act-border-gold);
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	max-height: min(760px, 90vh);
	max-width: 1040px;
	overflow: auto;
	position: relative;
	width: min(100%, 1040px);
}

.act-modal-header {
	align-items: center;
	border-bottom: 1px solid var(--act-border);
	display: flex;
	justify-content: space-between;
	padding: 18px 20px;
}

.act-modal-header h3 {
	color: var(--act-text);
	font-size: 20px;
	line-height: 1.25;
	margin: 0;
}

.act-modal-close {
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--act-border);
	border-radius: 10px;
	color: var(--act-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	width: 38px;
}

.act-modal-content {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	padding: 20px;
}

.act-modal-card {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--act-border);
	border-radius: 12px;
	display: grid;
	gap: 12px;
	padding: 16px;
}

.act-modal-card .act-offer-logo {
	min-height: 86px;
}

.act-modal-card h4 {
	color: var(--act-text);
	font-size: 18px;
	line-height: 1.25;
	margin: 0;
	text-align: center;
}

.act-modal-card .act-usp-list {
	align-self: start;
}

body.act-modal-open {
	overflow: hidden;
}

@media (max-width: 860px) {
	.act-match-panel,
	.act-offer-card {
		grid-template-columns: 1fr;
	}

	.act-match-copy h3 {
		max-width: 100%;
	}

	.act-offer-logo {
		min-height: 92px;
	}

	.act-offer-actions {
		grid-template-columns: 1fr;
	}

	.act-compare-bar {
		align-items: stretch;
		flex-direction: column;
		justify-content: stretch;
	}

	.act-modal {
		align-items: flex-end;
		padding: 12px;
	}

	.act-modal-panel {
		max-height: 88vh;
	}

	.act-modal-content {
		grid-template-columns: 1fr;
		padding: 14px;
	}
}
