/* Shop / product storefront styles (split from quiz.css). */

.eval-quiz--product {
	--eval-border: #d6dce4;
	--eval-bg: #f4f6f9;
	--eval-pass: #157347;
	--eval-fail: #b42318;
	--eval-accent: #2271b1;
	--eval-accent-dark: #135e96;
}

/* Product brief CTAs reuse .eval-quiz__submit from the quiz markup. */
.eval-quiz--product .eval-quiz__submit,
.eval-quiz__side-cta .eval-quiz__submit {
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.75rem 1.15rem;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--eval-accent, #2271b1);
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.eval-quiz--product .eval-quiz__submit:not(.eval-quiz__submit--secondary):hover,
.eval-quiz__side-cta .eval-quiz__submit:not(.eval-quiz__submit--secondary):hover {
	background: var(--eval-accent-dark, #135e96);
}

.eval-quiz--product .eval-quiz__submit:focus-visible,
.eval-quiz__side-cta .eval-quiz__submit:focus-visible {
	outline: 2px solid var(--eval-accent-dark, #135e96);
	outline-offset: 2px;
}

.eval-quiz__submit--secondary {
	background: transparent !important;
	color: var(--global-palette1, #215387) !important;
	border: 1px solid var(--global-palette1, #215387) !important;
}

/* Product Try CTA: white fill, blue label (hover keeps outline tint). */
.eval-quiz--product .eval-quiz__side-cta a.eval-quiz__submit--secondary,
.eval-quiz__side-cta a.eval-quiz__submit--secondary {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--global-palette1, #215387) !important;
	border: 1px solid var(--global-palette1, #215387) !important;
}

.eval-quiz__submit--secondary:hover,
.eval-quiz__submit--secondary:focus-visible {
	background: #e8eff7 !important;
	background-color: #e8eff7 !important;
	background-image: none !important;
	color: var(--global-palette2, #163e66) !important;
	border-color: var(--global-palette2, #163e66) !important;
}

.eval-quiz--product {
	margin: 0 0 1.15rem;
	max-width: none;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact,
.eval-quiz--product .eval-quiz__facts--compact {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 0.7rem;
	padding: 0.12rem 0;
	border: 1px solid #d5e2ed;
	border-radius: 8px;
	background: #f7fbfd;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li,
.eval-quiz--product .eval-quiz__facts--compact li {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.38rem 0.7rem;
	border-bottom: 1px solid #dce6ee;
	border-right: 1px solid #dce6ee;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-child(3n),
.eval-quiz--product .eval-quiz__facts--compact li:nth-child(3n) {
	border-right: 0;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-last-child(-n + 3),
.eval-quiz--product .eval-quiz__facts--compact li:nth-last-child(-n + 3) {
	border-bottom: 0;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact span,
.eval-quiz--product .eval-quiz__facts--compact span {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #647487;
	line-height: 1.2;
	white-space: nowrap;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact strong,
.eval-quiz--product .eval-quiz__facts--compact strong {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--global-palette3, #1d2433);
	line-height: 1.2;
	white-space: nowrap;
}

@media (max-width: 639px) {
	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact,
	.eval-quiz--product .eval-quiz__facts--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-child(3n),
	.eval-quiz--product .eval-quiz__facts--compact li:nth-child(3n) {
		border-right: 1px solid #dce6ee;
	}

	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-child(even),
	.eval-quiz--product .eval-quiz__facts--compact li:nth-child(even) {
		border-right: 0;
	}

	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-last-child(-n + 3),
	.eval-quiz--product .eval-quiz__facts--compact li:nth-last-child(-n + 3) {
		border-bottom: 1px solid #dce6ee;
	}

	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-last-child(-n + 2),
	.eval-quiz--product .eval-quiz__facts--compact li:nth-last-child(-n + 2) {
		border-bottom: 0;
	}
}

.eval-quiz--product .eval-quiz__hint {
	margin: 0.75rem 0 0;
}

.eval-exam-cta-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.eval-exam-cta-wrap .button,
.eval-exam-cta-wrap .wp-block-button__link,
.eval-exam-cta-wrap .add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
	min-height: 44px;
	box-sizing: border-box;
}

.eval-exam-cta-note {
	display: block;
	margin: 0 0 0.15rem;
	color: #475569;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.35;
}

a.button.eval-exam-cta,
a.wp-block-button__link.eval-exam-cta,
a.eval-exam-cta {
	background: #215387 !important;
	color: #fff !important;
	border: 1px solid #215387 !important;
}

a.button.eval-exam-cta:hover,
a.wp-block-button__link.eval-exam-cta:hover,
a.eval-exam-cta:hover,
a.button.eval-exam-cta:focus-visible,
a.wp-block-button__link.eval-exam-cta:focus-visible,
a.eval-exam-cta:focus-visible {
	background: #163e66 !important;
	color: #fff !important;
}

.woocommerce ul.products a.button.eval-exam-cta.eval-exam-cta--details,
a.button.eval-exam-cta.eval-exam-cta--details,
a.wp-block-button__link.eval-exam-cta.eval-exam-cta--details,
a.eval-exam-cta.eval-exam-cta--details {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--global-palette1, #215387) !important;
	border: 1px solid var(--global-palette1, #215387) !important;
	box-shadow: none !important;
}

.woocommerce ul.products a.button.eval-exam-cta.eval-exam-cta--details:hover,
a.button.eval-exam-cta.eval-exam-cta--details:hover,
a.wp-block-button__link.eval-exam-cta.eval-exam-cta--details:hover,
a.eval-exam-cta.eval-exam-cta--details:hover,
.woocommerce ul.products a.button.eval-exam-cta.eval-exam-cta--details:focus-visible,
a.button.eval-exam-cta.eval-exam-cta--details:focus-visible,
a.wp-block-button__link.eval-exam-cta.eval-exam-cta--details:focus-visible,
a.eval-exam-cta.eval-exam-cta--details:focus-visible {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--global-palette2, #163e66) !important;
	border-color: var(--global-palette2, #163e66) !important;
}

@media (max-width: 640px) {
	.eval-exam-cta-wrap {
		align-items: stretch;
	}

	.eval-exam-cta-wrap .button,
	.eval-exam-cta-wrap .wp-block-button__link,
	.eval-exam-cta-wrap .add_to_cart_button {
		width: 100%;
		min-height: 44px;
		box-sizing: border-box;
	}
}

.single-product .woocommerce-product-gallery__trigger {
	display: none !important;
}

.single-product .woocommerce-product-gallery__image a {
	pointer-events: none;
	cursor: default;
}

@media (max-width: 767px) {
	.single-product .woocommerce-product-gallery,
	.single-product .woocommerce-product-gallery__image,
	.single-product .eval-product-figure,
	.single-product .wp-block-woocommerce-product-image,
	.single-product .wp-block-woocommerce-product-image-gallery,
	.single-product .wp-block-woocommerce-product-gallery {
		display: none !important;
	}
}

.single-product .eval-quiz--product .eval-quiz__side-cta a.eval-quiz__submit--secondary:hover,
.single-product .eval-quiz--product .eval-quiz__side-cta a.eval-quiz__submit--secondary:focus-visible {
	background: #e8eff7 !important;
	background-color: #e8eff7 !important;
	background-image: none !important;
	color: var(--global-palette2, #163e66) !important;
	border-color: var(--global-palette2, #163e66) !important;
	box-shadow: none !important;
}

.eval-exam-pricing-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.eval-quiz__trial-note--product,
.single-product .eval-exam-pricing-wrap .eval-quiz__trial-note--product {
	margin: 0;
	max-width: 36rem;
	padding: 0.75rem 1rem;
	background: #f0faf3;
	border-left: 3px solid #3a9b5f;
	border-radius: 0;
	color: #245b38;
	font-size: 0.9em;
	line-height: 1.4;
}

.eval-quiz--product .eval-quiz__trial-note--product {
	margin: 1rem 0 0;
}

/* Side-by-side CTA on product detail — price inside button, no border boxes */

.eval-quiz__side-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.75rem;
	max-width: 100%;
}

.eval-quiz__compare-link {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--eval-accent, #1f6fa5);
	text-decoration: underline;
}

.eval-quiz__compare-link:hover,
.eval-quiz__compare-link:focus-visible {
	color: var(--global-palette2, #163e66);
}

.eval-quiz__side-cta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.25rem 2rem;
	width: 100%;
	margin: 1.25rem 0 0.5rem;
}

.eval-quiz__side-cta-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	flex: 0 1 auto;
	max-width: 100%;
}

.eval-quiz__side-cta .eval-quiz__submit {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	text-align: center;
	white-space: nowrap;
}

.eval-quiz__cta-notes {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--eval-faded, #666);
	font-size: 0.85em;
	line-height: 1.45;
}

.eval-quiz__cta-notes li {
	position: relative;
	padding-left: 1.2rem;
}

.eval-quiz__cta-notes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 0.85em;
	height: 0.85em;
	background: #16a34a;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10.1 14.7 7.05 11.65l-1.4 1.42 4.45 4.45 9-9-1.42-1.4-7.58 7.58Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10.1 14.7 7.05 11.65l-1.4 1.42 4.45 4.45 9-9-1.42-1.4-7.58 7.58Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eval-quiz__cta-notes li + li {
	margin-top: 0.15rem;
}

.eval-quiz__owned {
	margin: 1.15rem 0 0.35rem;
}

.eval-quiz__owned-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.55rem;
	margin: 0 0 0.45rem;
	color: var(--eval-faded, #666);
	font-size: 0.9rem;
	line-height: 1.35;
}

.eval-quiz__owned-status--locked {
	margin-top: 0.95rem;
}

.single-product .eval-quiz__tag {
	display: inline-block;
	padding: 0.15em 0.5em;
	border: 1px solid;
	border-radius: 0;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

.single-product .eval-quiz__tag--trial {
	color: #c2410c;
	background: #fff7ed;
	border-color: #c2410c;
}

.single-product .eval-quiz__tag--full {
	color: #15803d;
	background: #f0fdf4;
	border-color: #16a34a;
}

.eval-quiz__cta-notes--locked li {
	color: #7a8694;
}

.eval-quiz__cta-notes--locked li::before {
	background: #94a3b8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10V8a5 5 0 0 1 10 0v2h1.5A1.5 1.5 0 0 1 20 11.5v8A1.5 1.5 0 0 1 18.5 21h-13A1.5 1.5 0 0 1 4 19.5v-8A1.5 1.5 0 0 1 5.5 10H7Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10V8a5 5 0 0 1 10 0v2h1.5A1.5 1.5 0 0 1 20 11.5v8A1.5 1.5 0 0 1 18.5 21h-13A1.5 1.5 0 0 1 4 19.5v-8A1.5 1.5 0 0 1 5.5 10H7Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.single-product .eval-quiz__actions--owned {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	margin: 1rem 0 0.35rem;
}

.single-product .eval-quiz__actions--owned a.button {
	margin: 0;
}

/* Two-line pricing in shop catalog cards */

.eval-exam-pricing,
.wc-block-grid__product-price .eval-exam-pricing,
.wc-block-components-product-price .eval-exam-pricing {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
	width: fit-content;
	max-width: 100%;
	margin: 0.4rem auto 0.8rem;
	padding: 0.6rem 0.75rem;
	text-align: left;
	line-height: 1.25;
	background: linear-gradient(135deg, #f8fbff 0%, #f3f7fc 100%);
	border: 1px solid rgba(33, 83, 135, 0.14);
	border-radius: 0;
	box-shadow: 0 2px 8px rgba(24, 55, 89, 0.06);
}

.eval-exam-pricing__trial,
.eval-exam-pricing__full,
.eval-exam-pricing__credit,
.eval-exam-pricing__upgrade {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3em;
	white-space: nowrap;
}

.eval-exam-pricing__trial {
	font-size: 1.08em;
	color: var(--global-palette1, #215387);
}

.eval-exam-pricing__trial .eval-exam-pricing__label {
	font-size: 0.7em;
	font-weight: 600;
	text-transform: lowercase;
	letter-spacing: 0.02em;
	color: var(--eval-faded, #666);
}

.eval-exam-pricing__trial .eval-exam-pricing__value {
	font-size: 1.06em;
	font-weight: 750;
}

.eval-exam-pricing__trial .eval-exam-pricing__tag {
	font-size: 0.62em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: var(--global-palette1, #215387);
	color: #fff;
	padding: 0.28em 0.58em;
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(24, 55, 89, 0.16);
}

.eval-exam-pricing__full {
	padding-top: 0.4rem;
	font-size: 0.76em;
	font-weight: 500;
	color: var(--eval-faded, #666);
	border-top: 1px solid rgba(33, 83, 135, 0.11);
}

.eval-exam-pricing__full .eval-exam-pricing__value {
	font-size: 1.05em;
	font-weight: 700;
	color: var(--global-palette4, #333);
}

.eval-exam-pricing__credit {
	font-size: 0.82em;
	color: var(--global-palette1, #215387);
}

.eval-exam-pricing__upgrade {
	font-size: 1.05em;
	font-weight: 700;
	color: var(--global-palette1, #215387);
}

.eval-exam-pricing__once {
	display: block;
	margin-top: 0.35rem;
	padding-top: 0.35rem;
	border-top: 1px solid rgba(33, 83, 135, 0.11);
	color: var(--eval-faded, #666);
	font-size: 0.68em;
	font-weight: 650;
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-align: left;
	white-space: normal;
}

/* Product detail pricing — compact and left-aligned */
.single-product .summary .eval-exam-pricing,
.single-product .wp-block-woocommerce-product-price .eval-exam-pricing {
	align-items: flex-start;
	width: fit-content;
	margin: 0.45rem 0 1rem;
	padding: 0.55rem 0.75rem;
	text-align: left;
	background: #f7f9fc;
	border-left: 3px solid var(--global-palette1, #215387);
	border-radius: 0;
}

.single-product .eval-exam-pricing__trial {
	display: inline-flex;
	align-items: center;
	gap: 0.2em;
}

.single-product .eval-exam-pricing__trial .eval-exam-pricing__tag {
	margin-left: 0.25em;
	padding: 0.15em 0.5em;
	border-radius: 0;
}

.single-product .eval-exam-pricing__full {
	padding-left: 0.05em;
}

/* Hide default WC price in catalog when trial pricing replaces it */
.woocommerce ul.products li.product .eval-exam-cta-wrap {
	margin-top: -0.5em;
}

/* Catalog cover: question-bank updated badge */
.eval-exam-updated-wrap {
	position: relative;
	display: block;
}

.wc-block-grid__product-image,
.wc-block-components-product-image,
.wc-block-product-image {
	position: relative;
}

.eval-exam-updated-badge {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	z-index: 2;
	padding: 0.28em 0.58em;
	border-radius: 999px;
	background: #b7410e;
	color: #fff;
	font-size: 0.62em;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 1px 2px rgba(92, 32, 10, 0.22);
	pointer-events: none;
}

/* Catalog cards: questions, time limit, pass grade */
.eval-exam-card-stats-wrap,
.wp-block-post-title + .eval-exam-card-stats-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	margin: 0.3rem 0 0.55rem;
}

.woocommerce ul.products li.product ul.eval-exam-card-stats,
ul.eval-exam-card-stats,
.wc-block-grid__product ul.eval-exam-card-stats,
.eval-exam-card-stats-wrap > .eval-exam-card-stats {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 0.22rem 0.32rem;
	margin: 0;
	padding: 0.28rem 0.42rem;
	list-style: none;
	width: auto;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	text-align: center;
	color: #4d5d6f;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid #c5d4e3;
	border-radius: 12px;
	background: #fff;
}

.woocommerce ul.products li.product ul.eval-exam-card-stats li,
ul.eval-exam-card-stats li {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	width: auto;
}

.eval-exam-card-stats__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 0.85rem;
	height: 0.85rem;
	color: var(--global-palette1, #215387);
}

.eval-exam-card-stats__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.eval-exam-card-stats__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eval-exam-card-stats__value {
	white-space: nowrap;
}

.eval-exam-card-stats__item--help {
	margin-left: 0.05rem;
}

.eval-exam-card-stats__help {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 0.9rem;
	height: 0.9rem;
	color: var(--global-palette1, #215387);
	opacity: 0.78;
	cursor: help;
}

.eval-exam-card-stats__help svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (max-width: 1024px) {
	.woocommerce ul.products:not(.products-list-view) li.product .eval-exam-card-stats-wrap,
	.wc-block-grid__product .eval-exam-card-stats-wrap {
		align-items: stretch;
	}

	.woocommerce ul.products:not(.products-list-view) li.product ul.eval-exam-card-stats,
	.wc-block-grid__product ul.eval-exam-card-stats {
		flex-wrap: wrap;
		width: 100%;
		gap: 0.22rem 0.32rem;
		padding: 0.28rem 0.4rem;
		font-size: 0.7rem;
	}

	.woocommerce ul.products:not(.products-list-view) li.product .eval-exam-card-stats__icon,
	.woocommerce ul.products:not(.products-list-view) li.product .eval-exam-card-stats__help,
	.wc-block-grid__product .eval-exam-card-stats__icon,
	.wc-block-grid__product .eval-exam-card-stats__help {
		width: 0.85rem;
		height: 0.85rem;
	}

	.eval-exam-card-stats__tooltip {
		max-width: min(17.5rem, 100%);
	}
}

.eval-exam-card-stats-wrap:has(.eval-exam-card-stats__item--help:hover) .eval-exam-card-stats {
	border-color: #9bb4c9;
}

.eval-exam-card-stats__item--help:hover .eval-exam-card-stats__help {
	opacity: 1;
}

.eval-exam-card-stats__tooltip {
	position: absolute;
	left: 50%;
	top: auto;
	bottom: calc(100% + 0.35rem);
	z-index: 30;
	width: max-content;
	max-width: min(17.5rem, calc(100% + 2rem));
	padding: 0.7rem 0.8rem 0.75rem;
	border: 1px solid #d5e2ed;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(29, 36, 51, 0.14);
	color: #334155;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.eval-exam-card-stats__tooltip::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	bottom: auto;
	height: 0.45rem;
}

.eval-exam-card-stats-wrap:has(.eval-exam-card-stats__item--help:hover) .eval-exam-card-stats__tooltip {
	opacity: 1;
	visibility: visible;
}

.eval-exam-card-stats__tip-title {
	margin: 0 0 0.45rem;
	color: var(--global-palette3, #1d2433);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eval-exam-card-stats__tips {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eval-exam-card-stats__tip {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.eval-exam-card-stats__tip .eval-exam-card-stats__icon {
	margin-top: 0.12rem;
}

.eval-exam-card-stats__tip-copy strong {
	display: block;
	color: var(--global-palette3, #1d2433);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
}

.woocommerce ul.products li.product:has(.eval-exam-card-stats__item--help:hover),
.wc-block-grid__product:has(.eval-exam-card-stats__item--help:hover) {
	z-index: 6;
	overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
	.eval-exam-card-stats__tooltip {
		transition: none;
	}
}

.woocommerce ul.products li.product .eval-exam-card-facts {
	display: none;
}

.woocommerce ul.products.products-list-view li.product .eval-exam-card-stats-wrap,
.woocommerce ul.products.products-list-view li.product ul.eval-exam-card-stats {
	display: none;
}

.woocommerce ul.products.products-list-view li.product .eval-exam-card-facts {
	display: block;
	width: 100%;
	margin: 0.55rem 0 0.8rem;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts {
	display: grid;
	grid-template-columns: 0.78fr 1fr 1.22fr 1fr 0.92fr;
	gap: 0;
	margin: 0;
	padding: 0.6rem 0.35rem;
	list-style: none;
	border: 1px solid #d5e2ed;
	border-radius: 10px;
	background: #f8fbfd;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.12rem;
	width: auto;
	margin: 0;
	padding: 0.15rem 0.55rem;
	border-left: 1px solid #dce6ee;
	border-bottom: 0;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li:first-child {
	border-left: 0;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__fact--questions {
	position: relative;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__fact--questions::before {
	content: "";
	position: absolute;
	top: 0.12rem;
	bottom: 0.12rem;
	left: 0.25rem;
	width: 3px;
	border-radius: 999px;
	background: var(--global-palette1, #215387);
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts .eval-quiz__fact--version {
	display: none;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts span {
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #647487;
	white-space: nowrap;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__facts strong {
	font-size: 0.94rem;
	font-weight: 700;
	color: var(--global-palette3, #1d2433);
	line-height: 1.25;
	white-space: nowrap;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__fact--questions span,
.woocommerce ul.products.products-list-view li.product .eval-quiz__fact--questions strong {
	color: var(--global-palette1, #215387);
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__fact--questions strong {
	font-size: 1.08rem;
}

.woocommerce ul.products.products-list-view li.product .price {
	display: block;
	width: 100%;
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.woocommerce ul.products.products-list-view li.product .eval-exam-pricing-wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem 1rem;
	width: 100%;
	margin: 0;
}

.woocommerce ul.products.products-list-view li.product .eval-exam-pricing {
	flex: 0 0 auto;
	margin: 0;
}

.woocommerce ul.products.products-list-view li.product .eval-quiz__trial-note--product {
	flex: 1 1 12rem;
	display: flex;
	align-items: center;
	margin: 0;
	max-width: none;
	min-width: 0;
}

@media (max-width: 1024px) {
	.woocommerce ul.products.products-list-view li.product .eval-exam-pricing-wrap {
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.woocommerce ul.products.products-list-view li.product .eval-quiz__trial-note--product {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		flex: 0 0 auto;
		align-self: stretch;
		width: 100%;
		max-height: 2.6rem;
		padding: 0.28rem 0.5rem;
		overflow: hidden;
		font-size: 0.72em;
		line-height: 1.25;
	}
}

@media (max-width: 767px) {
	.woocommerce ul.products:not(.products-list-view) li.product .eval-quiz__trial-note--product {
		padding: 0.35rem 0.6rem;
		font-size: 0.75em;
		line-height: 1.3;
	}
}

@media (max-width: 639px) {
	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0.35rem;
	}

	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li {
		padding: 0.5rem 0.7rem;
		border-top: 1px solid #dce6ee;
		border-left: 0;
	}

	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li:nth-child(-n + 2) {
		border-top: 0;
	}

	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li:nth-child(even) {
		border-left: 1px solid #dce6ee;
	}

	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts .eval-quiz__fact--pass {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: baseline;
		justify-content: center;
		gap: 0.35rem;
		border-left: 0;
	}
}

/* Shop vendor chips above the product grid */
.eval-shop-filter-loader {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 9999;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	border: 1px solid rgba(15, 42, 67, 0.12);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 32px rgba(15, 42, 67, 0.2);
	transform: translate(-50%, -50%);
}

.eval-shop-filter-loader[hidden] {
	display: none;
}

.eval-shop-filter-loader__spinner {
	width: 2.25rem;
	height: 2.25rem;
	border: 0.25rem solid #d9e2eb;
	border-top-color: #126849;
	border-radius: 50%;
	animation: eval-shop-filter-spin 0.75s linear infinite;
}

@keyframes eval-shop-filter-spin {
	to {
		transform: rotate(360deg);
	}
}

.woocommerce ul.products {
	transition: opacity 0.15s ease;
}

.woocommerce ul.products.eval-shop-products--loading {
	opacity: 0.45;
	pointer-events: none;
}

.eval-vendor-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.35rem;
}

.eval-vendor-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.9rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background-color: #3d4a58;
	background-image: linear-gradient(135deg, #5a6a7a 0%, #3d4a58 100%);
	color: #fff;
	font-size: 0.86rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(20, 30, 45, 0.35);
	box-shadow: none;
	white-space: nowrap;
}

.eval-vendor-chip--github {
	background-image: linear-gradient(135deg, #3d9aaa 0%, #3d6eb0 100%);
}

.eval-vendor-chip--linux-foundation {
	background-image: linear-gradient(135deg, #1e8a92 0%, #3db89a 100%);
}

.eval-vendor-chip--hashicorp {
	background-image: linear-gradient(135deg, #d4a024 0%, #6d7a3c 100%);
}

.eval-vendor-chip--palantir {
	background-image: linear-gradient(135deg, #e07838 0%, #6a4a9c 100%);
}

.eval-vendor-chip--aws {
	background-image: linear-gradient(135deg, #c45c3a 0%, #3c3a78 100%);
}

.eval-vendor-chip--microsoft {
	background-image: linear-gradient(135deg, #3a5cc8 0%, #7b6ec4 100%);
}

.eval-vendor-chip--cisco {
	background-image: linear-gradient(135deg, #2a8ec0 0%, #d87868 100%);
}

.eval-vendor-chip--comptia {
	background-image: linear-gradient(135deg, #35387a 0%, #a88858 100%);
}

.eval-vendor-chip--isc2 {
	background-image: linear-gradient(135deg, #7a2040 0%, #c4a048 100%);
}

.eval-vendor-chip:hover,
.eval-vendor-chip:focus-visible {
	color: #fff;
	filter: brightness(1.08);
}

.eval-vendor-chip.is-active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a2330;
	filter: brightness(1.05);
}

/* Leftover subcategory tiles if a widget still lists product cats */
.woocommerce ul.products li.product-category img,
.woocommerce ul.products li.product-category .woo-entry-image-wrap,
.woocommerce ul.products li.product-category .woo-entry-image,
.woocommerce ul.products li.product-category .kadence-thumbnail-wrap {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* (intro block removed — content moved into the shop top row) */

/* ── Shop top row: trial note (left) · free sample (center) · sorting (right) ── */

.kadence-shop-top-row {
	align-items: center;
}

.eval-shop-trial-note {
	order: -1;
	padding: 0.3rem 0.65rem;
	border-left: 3px solid #3a9b5f;
	background: #f0faf3;
	color: #245b38;
	font-size: 0.82rem;
	line-height: 1.35;
	border-radius: 2px;
}

.eval-shop-trial-note__line {
	display: block;
}

.kadence-shop-top-item.kadence-woo-ordering {
	order: 1;
	margin-left: auto;
}

.kadence-shop-top-item.kadence-woo-toggle {
	order: 2;
}

/* ── "Try a free sample" — inline (tablet/desktop) vs banner (mobile) ── */

.eval-shop-free-sample__btn {
	font-weight: 600;
	color: #fff;
	background: var(--global-palette1, #215387);
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease;
}

.eval-shop-free-sample__btn:hover,
.eval-shop-free-sample__btn:focus-visible {
	background: var(--global-palette2, #1a4570);
	color: #fff;
}

/* Inline version — inside the top row, tablet & desktop only */
.eval-shop-free-sample--inline {
	order: 0;
	margin: 0 auto;
}

.eval-shop-free-sample__btn--inline {
	display: inline-block;
	padding: 0.4rem 1.1rem;
	font-size: 0.85rem;
}

.eval-shop-free-sample--product {
	display: none;
}

/* Desktop: persistent, compact CTA in the bottom-right viewport corner */
@media (min-width: 1024px) {
	.eval-shop-free-sample--inline {
		position: fixed;
		z-index: 50;
		right: 1.5rem;
		bottom: 1.5rem;
		left: auto;
		margin: 0;
	}

	.eval-shop-free-sample--product {
		display: block;
	}

	.eval-shop-free-sample__btn--inline {
		display: inline-flex;
		align-items: center;
		gap: 0.55rem;
		padding: 0.72rem 1rem;
		color: #fff;
		background: #a44734;
		border: 1px solid #873828;
		border-radius: 8px;
		box-shadow: 0 8px 24px rgba(87, 37, 27, 0.2);
		font-size: 0.9rem;
		font-weight: 700;
		line-height: 1.2;
	}

	.eval-shop-free-sample__btn--inline::before {
		content: "";
		width: 0;
		height: 0;
		border-top: 0.42rem solid transparent;
		border-bottom: 0.42rem solid transparent;
		border-left: 0.68rem solid currentColor;
	}

	.eval-shop-free-sample__btn--inline:hover,
	.eval-shop-free-sample__btn--inline:focus-visible {
		color: #fff;
		background: #873828;
		border-color: #6f2e21;
		box-shadow: 0 10px 28px rgba(87, 37, 27, 0.28);
	}

	.eval-shop-free-sample__btn--inline:focus-visible {
		outline: 3px solid rgba(164, 71, 52, 0.3);
		outline-offset: 3px;
	}
}

/* Full-width banner version — mobile only */
.eval-shop-free-sample--mobile {
	display: none;
}

.eval-shop-free-sample--mobile .eval-shop-free-sample__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
}

@media (max-width: 767px) {
	.eval-shop-trial-note {
		flex-basis: 100%;
		order: -1;
	}

	/* Hide inline, show full-width banner */
	.eval-shop-free-sample--inline {
		display: none !important;
	}
	.eval-shop-free-sample--mobile {
		display: block;
		width: 100%;
		margin: 0.6rem 0 0.3rem;
	}
}

/* ── Catalog: hide per-card pricing box — prices are in CTA buttons ── */

.woocommerce ul.products li.product {
	transition: box-shadow 0.16s ease !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product:hover .product-details {
	transform: none !important;
}

.woocommerce ul.products li.product .eval-exam-pricing-wrap {
	display: none;
}

/* ── Catalog: dual CTA buttons ── */

.eval-exam-cta-wrap--dual {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.45rem;
	width: 100%;
	min-width: 0;
}

.woocommerce ul.products .eval-exam-cta-wrap--dual a.button.eval-exam-cta,
.eval-exam-cta-wrap--dual a.button.eval-exam-cta {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	min-width: 0;
	height: 44px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 0.6rem !important;
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1 !important;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	border-radius: 0;
}

.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--trial {
	background: var(--global-palette1, #215387) !important;
	color: #fff !important;
	border: 1px solid var(--global-palette1, #215387) !important;
}

.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--trial:hover,
.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--trial:focus-visible {
	background: var(--global-palette2, #163e66) !important;
	border-color: var(--global-palette2, #163e66) !important;
}

.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--full {
	background: transparent !important;
	color: var(--global-palette1, #215387) !important;
	border: 1px solid var(--global-palette1, #215387) !important;
}

.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--full:hover,
.eval-exam-cta-wrap--dual a.button.eval-exam-cta.eval-exam-cta--full:focus-visible {
	background: #eef5fb !important;
	color: var(--global-palette2, #163e66) !important;
	border-color: var(--global-palette2, #163e66) !important;
}

.eval-exam-cta-wrap--owned {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.45rem;
	width: 100%;
	min-width: 0;
}

.eval-exam-cta-wrap--owned .eval-exam-owned-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 0.32em 0.55em;
	border: 1px solid;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	text-transform: uppercase;
	text-align: center;
	grid-column: 1 / -1;
}

.eval-exam-owned-badge--trial {
	color: #c2410c;
	background: #fff7ed;
	border-color: #c2410c;
}

.eval-exam-owned-badge--full {
	color: #15803d;
	background: #f0fdf4;
	border-color: #16a34a;
}

.woocommerce ul.products li.product.eval-exam--owned-full .price,
.woocommerce ul.products li.product.eval-exam--owned-trial .price:not(:has(.eval-exam-pricing-wrap)),
.single-product .product.eval-exam--owned-full .summary > .price,
.single-product .product.eval-exam--owned-full .wp-block-woocommerce-product-price,
.single-product .product.eval-exam--owned-full .single-product-payments,
.single-product .product.eval-exam--owned-trial .summary > .price,
.single-product .product.eval-exam--owned-trial .wp-block-woocommerce-product-price {
	display: none !important;
}

/* List view: restore pricing box, use side-by-side buttons */
.woocommerce ul.products.products-list-view li.product .eval-exam-pricing-wrap {
	display: flex;
}

.woocommerce ul.products.products-list-view .eval-exam-cta-wrap--dual {
	grid-template-columns: auto auto;
	width: auto;
	justify-content: start;
}

/* ── AJAX filter loading transition ── */

.woocommerce ul.products {
	transition: opacity 0.15s ease;
}

/* ── "Our practice setting" facts: "?" tooltip only (no row tint) ── */

.eval-quiz__facts {
	overflow: visible;
}

.eval-quiz__fact--our {
	position: relative;
	overflow: visible;
}

.eval-quiz__fact-value {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	min-width: 0;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact .eval-quiz__fact--our,
.eval-quiz--product .eval-quiz__facts--compact .eval-quiz__fact--our {
	align-items: center;
}

.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact .eval-quiz__fact-flag.eval-exam-card-stats__help,
.eval-quiz--product .eval-quiz__facts--compact .eval-quiz__fact-flag.eval-exam-card-stats__help,
.eval-quiz__fact-flag.eval-exam-card-stats__help {
	width: 0.9rem;
	height: 0.9rem;
	margin-left: 0.05rem;
	color: var(--global-palette1, #215387);
	opacity: 0.78;
	letter-spacing: 0;
	text-transform: none;
}

.eval-quiz__fact-flag.eval-exam-card-stats__help:hover,
.eval-quiz__fact-flag.eval-exam-card-stats__help:focus-visible {
	opacity: 1;
}

.eval-quiz__fact-flag.eval-exam-card-stats__help svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Same floating panel as the catalog "?" tooltip.
 * Open rightward by default so left-column cells stay in the viewport. */
.eval-quiz__fact--our .eval-exam-card-stats__tooltip {
	left: 0;
	right: auto;
	bottom: calc(100% + 0.35rem);
	transform: none;
	max-width: min(17.5rem, calc(100vw - 2rem));
}

/* Right-edge cells: flip so the panel grows inward. */
@media (max-width: 639px) {
	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-child(even) .eval-exam-card-stats__tooltip,
	.eval-quiz--product .eval-quiz__facts--compact li:nth-child(even) .eval-exam-card-stats__tooltip,
	.woocommerce ul.products.products-list-view li.product .eval-quiz__facts li:nth-child(even) .eval-exam-card-stats__tooltip {
		left: auto;
		right: 0;
	}
}

@media (min-width: 640px) {
	.single-product .eval-quiz--product .eval-quiz__facts.eval-quiz__facts--compact li:nth-child(3n) .eval-exam-card-stats__tooltip,
	.eval-quiz--product .eval-quiz__facts--compact li:nth-child(3n) .eval-exam-card-stats__tooltip {
		left: auto;
		right: 0;
	}
}

.eval-quiz__fact--our .eval-exam-card-stats__tooltip p {
	margin: 0;
}

.eval-quiz__fact--our .eval-exam-card-stats__tip-copy {
	color: #334155;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
}

.eval-quiz__fact--our:has(.eval-quiz__fact-flag:hover),
.eval-quiz__fact--our:has(.eval-quiz__fact-flag:focus),
.eval-quiz__fact--our:has(.eval-quiz__fact-flag:focus-visible) {
	z-index: 8;
}

.eval-quiz__fact--our:has(.eval-quiz__fact-flag:hover) .eval-exam-card-stats__tooltip,
.eval-quiz__fact--our:has(.eval-quiz__fact-flag:focus) .eval-exam-card-stats__tooltip,
.eval-quiz__fact--our:has(.eval-quiz__fact-flag:focus-visible) .eval-exam-card-stats__tooltip {
	opacity: 1;
	visibility: visible;
}


