/* Heditra Toolkit — review, comparison and product blocks (front + editor). */
.hdtk-score {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--heditra-text,#12141A);
	color: var(--heditra-bg,#fff);
	font-family: var(--heditra-font-heading,inherit);
	font-weight: 800;
	line-height: 1;
}

.hdtk-score--lg {
	font-size: 1.6rem;
}

.hdtk-score--sm {
	font-size: 1rem;
	padding: 4px 10px;
}

.hdtk-score span {
	font-size: .6em;
	opacity: .7;
}

.hdtk-mention {
	display: inline-block;
	margin: 4px 0 0 10px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--heditra-deal,#FFD84D);
	color: var(--heditra-on-deal,#12141A);
	font-weight: 700;
	font-size: .85rem;
}

.hdtk-empty {
	padding: 12px;
	border: 1px dashed #999;
	border-radius: 8px;
	color: #666;
}

.hdtk-row {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

/* Review header & banner */
.hdtk-review-head {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 20px;
	border-radius: var(--heditra-radius,24px);
	background: var(--heditra-card,#fff);
	box-shadow: var(--heditra-shadow,none);
	margin: 0 0 var(--heditra-gap,20px);
}

@media (min-width:600px) {
	.hdtk-review-head {
		grid-template-columns: 180px 1fr;
	}
}

.hdtk-review-head__media img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.hdtk-review-head__product {
	font-family: var(--heditra-font-heading,inherit);
	font-weight: 700;
	font-size: 1.05rem;
	margin: 0 0 8px;
}

.hdtk-brand {
	color: var(--heditra-text-2,#555);
	font-weight: 600;
}

.hdtk-launch {
	display: block;
	font-family: var(--heditra-font-body,inherit);
	font-weight: 400;
	font-size: .85rem;
	color: var(--heditra-text-2,#555);
}

.hdtk-review-head__score {
	margin: 0 0 10px;
}

.hdtk-review-head__dates {
	font-size: .82rem;
	color: var(--heditra-text-2,#555);
	margin: 0 0 12px;
}

.hdtk-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	margin: var(--heditra-gap,20px) 0;
	border-radius: var(--heditra-radius,24px);
	background: var(--heditra-soft,#f2f2f2);
	border-left: 6px solid var(--heditra-accent,#2447D6);
}

.hdtk-banner__text {
	flex: 1;
	min-width: 220px;
	margin: 0;
	font-family: var(--heditra-font-heading,inherit);
	font-weight: 600;
	font-size: 1.05rem;
}

/* Verdict */
.hdtk-verdict {
	padding: 20px 24px;
	border-radius: var(--heditra-radius-sm,12px);
	background: var(--heditra-soft,#f2f2f2);
	margin-bottom: 1.5em;
}

.hdtk-verdict__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.hdtk-verdict__title {
	margin: 0!important;
	font-size: 1.3rem!important;
}

.hdtk-verdict__summary {
	font-weight: 600;
	font-size: 1.05rem;
}

.hdtk-verdict__who p {
	margin: 0 0 6px;
	font-size: .95rem;
}

.hdtk-verdict__lists {
	display: grid;
	gap: 16px;
	margin-top: 12px;
}

@media (min-width:600px) {
	.hdtk-verdict__lists {
		grid-template-columns: 1fr 1fr;
	}
}

.hdtk-verdict__label {
	font-family: var(--heditra-font-heading,inherit);
	font-weight: 800;
	font-size: .85rem;
	margin: 0 0 6px;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.hdtk-verdict__label {
	color: var(--heditra-text,#12141A);
}

.hdtk-verdict__pros li::marker {
	color: #1e9e4a;
}

.hdtk-verdict__cons li::marker {
	color: var(--heditra-alert,#E5484D);
}

.hdtk-verdict__pros .hdtk-verdict__label::before,
.hdtk-verdict__cons .hdtk-verdict__label::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	margin-right: 8px;
	background: #1e9e4a;
}

.hdtk-verdict__cons .hdtk-verdict__label::before {
	background: var(--heditra-alert,#E5484D);
}

.hdtk-verdict__lists ul {
	margin: 0;
	padding-left: 1.2em;
	font-size: .95rem;
}

/* Ratings */
.hdtk-ratings {
	margin-bottom: 1.5em;
}

.hdtk-ratings__title {
	font-size: 1.3rem!important;
}

.hdtk-ratings dl {
	margin: 0;
	display: grid;
	gap: 10px;
}

.hdtk-ratings__row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	align-items: center;
}

.hdtk-ratings dt {
	font-weight: 600;
	font-size: .95rem;
}

.hdtk-ratings dd {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.hdtk-ratings__bar {
	flex: 1;
	height: 10px;
	border-radius: 999px;
	background: var(--heditra-line,#ddd);
	overflow: hidden;
}

.hdtk-ratings__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--heditra-accent,#2447D6);
}

.hdtk-ratings dd b {
	min-width: 2.5em;
	text-align: right;
	font-family: var(--heditra-font-heading,inherit);
}

/* Spec sheet & prices */
.hdtk-specs__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.hdtk-specs__table th {
	width: 38%;
	text-align: left;
	font-weight: 600;
	background: var(--heditra-soft,#f2f2f2);
}

.hdtk-specs__table th,
.hdtk-specs__table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--heditra-line,#ddd);
}

.hdtk-prices {
	padding: 18px 20px;
	border-radius: var(--heditra-radius-sm,12px);
	border: 1px solid var(--heditra-line,#ddd);
	margin-bottom: 1.5em;
}

.hdtk-prices--sidebar {
	border: 0;
}

.hdtk-prices__title {
	font-size: 1.1rem!important;
	margin: 0 0 10px!important;
}

.hdtk-prices__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.hdtk-prices__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--heditra-line,#ddd);
}

.hdtk-prices__item:last-child {
	border-bottom: 0;
}

.hdtk-prices__merchant {
	font-weight: 600;
}

.hdtk-prices__merchant em {
	display: block;
	font-style: normal;
	font-size: .75rem;
	color: var(--heditra-text-2,#555);
}

.hdtk-prices__note {
	margin: 10px 0 0;
	font-size: .78rem;
	color: var(--heditra-text-2,#555);
}

/* Comparison */
.hdtk-faceoff {
	display: grid;
	grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
	gap: 12px;
	align-items: stretch;
	margin-bottom: 20px;
}

@media (max-width:599px) {
	.hdtk-faceoff {
		gap: 6px;
	}

	.hdtk-faceoff__card {
		padding: 18px 8px 14px;
	}

	.hdtk-faceoff__vs {
		width: 32px;
		height: 32px;
		font-size: .7rem;
	}

	.hdtk-faceoff__card .heditra-btn {
		padding-inline: 12px;
	}
}

.hdtk-compare {
	overflow-wrap: anywhere;
}

.hdtk-faceoff__card {
	position: relative;
	text-align: center;
	padding: 20px 14px;
	border-radius: var(--heditra-radius,24px);
	background: var(--heditra-card,#fff);
	box-shadow: var(--heditra-shadow,none);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.hdtk-faceoff__card.is-winner {
	outline: 3px solid var(--heditra-deal,#FFD84D);
}

.hdtk-faceoff__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--heditra-deal,#FFD84D);
	color: var(--heditra-on-deal,#12141A);
	font-weight: 800;
	font-size: .75rem;
	text-transform: uppercase;
}

.hdtk-faceoff__card img {
	width: 100%;
	max-width: 160px;
	height: auto;
	border-radius: 12px;
}

.hdtk-card__name {
	font-family: var(--heditra-font-heading,inherit);
	font-weight: 700;
	font-size: 1.05rem;
	margin: 0;
}

.hdtk-faceoff__review {
	display: inline-block;
	padding-block: 4px;
	font-size: .85rem;
	text-decoration: underline;
}

.hdtk-faceoff__vs {
	align-self: center;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--heditra-text,#12141A);
	color: var(--heditra-bg,#fff);
	font-weight: 800;
	font-size: .85rem;
}

.hdtk-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .92rem;
}

.hdtk-compare__table th,
.hdtk-compare__table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--heditra-line,#ddd);
	text-align: left;
	vertical-align: top;
}

.hdtk-compare__table thead th {
	background: var(--heditra-soft,#f2f2f2);
}

.hdtk-compare__table td.is-winner {
	background: color-mix(in srgb,var(--heditra-deal,#FFD84D) 25%,transparent);
	font-weight: 700;
}

.hdtk-compare__score th,
.hdtk-compare__score td {
	font-weight: 800;
	font-family: var(--heditra-font-heading,inherit);
}

/* Alternatives */
.hdtk-alternatives__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
}

.hdtk-alternatives__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	padding: 16px 12px;
	border-radius: var(--heditra-radius-sm,12px);
	background: var(--heditra-card,#fff);
	box-shadow: var(--heditra-shadow,none);
}

.hdtk-alternatives__role {
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--heditra-accent,#2447D6);
}

.hdtk-alternatives__card img {
	max-width: 140px;
	height: auto;
	border-radius: 10px;
}

.hdtk-alternatives__card .hdtk-card__name {
	font-size: 1rem;
}

/* Mobile sticky price bar */
.hdtk-pricebar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	display: flex;
	gap: 8px;
	padding: 8px 12px;
	background: var(--heditra-card,#fff);
	border-top: 1px solid var(--heditra-line,#ddd);
	box-shadow: 0 -6px 20px rgba(0,0,0,.12);
}

@media (min-width:1024px) {
	.hdtk-pricebar {
		display: none;
	}
}

.hdtk-pricebar__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--heditra-deal,#FFD84D);
	color: var(--heditra-on-deal,#12141A);
	text-decoration: none;
	line-height: 1.15;
}

.hdtk-pricebar__item span {
	font-size: .72rem;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hdtk-pricebar__item strong {
	font-size: 1rem;
}

body:has(.hdtk-pricebar) {
	padding-bottom: 72px;
}

@media (min-width:1024px) {
	body:has(.hdtk-pricebar) {
		padding-bottom: 0;
	}
}
