/* ETM Amazon Sync - dynamic product sheet */

.etm-product-sheet {
	--etm-sheet-accent: var(--e-global-color-accent, #ff9900);
	--etm-sheet-text: currentColor;
	--etm-sheet-muted: color-mix(in srgb, currentColor 62%, transparent);
	--etm-sheet-border: color-mix(in srgb, currentColor 16%, transparent);
	--etm-sheet-surface: color-mix(in srgb, Canvas 96%, currentColor 4%);
	--etm-sheet-soft: color-mix(in srgb, var(--etm-sheet-accent) 10%, Canvas);
	width: 100%;
	max-width: min(1180px, 100%);
	margin: 0 auto 48px;
	color: var(--etm-sheet-text);
	font-family: inherit;
}

.single-product div.product .summary.entry-summary:empty {
	display: none;
}

.etm-product-sheet *,
.etm-product-sheet *::before,
.etm-product-sheet *::after {
	box-sizing: border-box;
}

.etm-product-sheet__hero {
	display: grid;
	grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.05fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: start;
	margin-bottom: clamp(28px, 5vw, 56px);
}

.etm-product-sheet--compact .etm-product-sheet__hero {
	grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
	gap: 24px;
}

.etm-product-sheet__gallery,
.etm-product-sheet__summary,
.etm-product-sheet__side-panel,
.etm-product-sheet__list-card,
.etm-product-sheet__related-card,
.etm-product-sheet__blog-card,
.etm-product-sheet__bundle,
.etm-product-sheet__bundle-item,
.etm-product-sheet__final-cta {
	border: 1px solid var(--etm-sheet-border);
	border-radius: 8px;
	background: var(--etm-sheet-surface);
}

.etm-product-sheet__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.etm-product-sheet__badge {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 6px 10px;
	border: 1px solid var(--etm-sheet-border);
	border-radius: 999px;
	color: inherit;
	font-size: .84em;
	font-weight: 800;
	line-height: 1.15;
	background: var(--etm-sheet-surface);
}

.etm-product-sheet__badge--deal {
	border-color: color-mix(in srgb, #16833a 34%, transparent);
	color: #115f2b;
	background: color-mix(in srgb, #22c55e 14%, Canvas);
}

.etm-product-sheet__badge--warning {
	border-color: color-mix(in srgb, #b45309 34%, transparent);
	color: #7c2d12;
	background: color-mix(in srgb, #f59e0b 18%, Canvas);
}

.etm-product-sheet__badge--trust {
	border-color: color-mix(in srgb, #0369a1 34%, transparent);
	color: #075985;
	background: color-mix(in srgb, #0ea5e9 14%, Canvas);
}

.etm-product-sheet__badge--popular {
	border-color: color-mix(in srgb, #7c3aed 30%, transparent);
	color: #5b21b6;
	background: color-mix(in srgb, #8b5cf6 12%, Canvas);
}

.etm-product-sheet__gallery {
	padding: clamp(10px, 2vw, 18px);
}

.etm-product-sheet__image {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.etm-product-sheet__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.etm-product-sheet__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
	gap: 8px;
	margin-top: 10px;
}

.etm-product-sheet__thumb {
	appearance: none;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 4px;
	border: 1px solid var(--etm-sheet-border);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.etm-product-sheet__thumb.is-active {
	border-color: var(--etm-sheet-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--etm-sheet-accent) 18%, transparent);
}

.etm-product-sheet__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.etm-product-sheet__summary {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 16px;
	padding: clamp(18px, 3vw, 30px);
}

.etm-product-sheet__categories,
.etm-product-sheet__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.etm-product-sheet__pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	border: 1px solid var(--etm-sheet-border);
	border-radius: 999px;
	color: inherit;
	font-size: .84em;
	line-height: 1.2;
	text-decoration: none;
	background: color-mix(in srgb, Canvas 92%, currentColor 8%);
}

.etm-product-sheet__pill:hover {
	border-color: var(--etm-sheet-accent);
	color: inherit;
}

.etm-product-sheet__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.05;
	letter-spacing: 0;
	color: inherit;
}

.etm-product-sheet__claim {
	margin: 0;
	color: var(--etm-sheet-muted);
	font-size: clamp(1rem, 1.6vw, 1.16rem);
	line-height: 1.55;
}

.etm-product-sheet__rating {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: var(--etm-sheet-muted);
	font-size: .95em;
}

.etm-product-sheet__price-box {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
}

.etm-product-sheet__price {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.1;
}

.etm-product-sheet__price del {
	color: var(--etm-sheet-muted);
	font-size: .72em;
}

.etm-product-sheet__deal {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	border-radius: 999px;
	color: color-mix(in srgb, var(--etm-sheet-accent) 68%, #000);
	background: var(--etm-sheet-soft);
	font-size: .84em;
	font-weight: 700;
}

.etm-product-sheet__buy-box {
	display: grid;
	gap: 8px;
	padding: 14px;
	border: 1px solid color-mix(in srgb, var(--etm-sheet-accent) 38%, transparent);
	border-radius: 8px;
	background: var(--etm-sheet-soft);
}

.etm-product-sheet__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	border-radius: 6px;
	background: var(--etm-sheet-accent);
	color: #111;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.etm-product-sheet__cta:hover {
	filter: brightness(.96);
	color: #111;
}

.etm-product-sheet__stock {
	color: var(--etm-sheet-muted);
	font-size: .88em;
	text-align: center;
}

.etm-product-sheet__trust {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--etm-sheet-muted);
	font-size: .9em;
}

.etm-product-sheet__trust li {
	position: relative;
	padding-left: 20px;
}

.etm-product-sheet__trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--etm-sheet-accent);
}

.etm-product-sheet__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 8px;
}

.etm-product-sheet__facts div {
	padding: 10px;
	border: 1px solid var(--etm-sheet-border);
	border-radius: 6px;
	background: color-mix(in srgb, Canvas 95%, currentColor 5%);
}

.etm-product-sheet__facts span,
.etm-product-sheet__side-panel dt {
	display: block;
	color: var(--etm-sheet-muted);
	font-size: .78em;
}

.etm-product-sheet__facts strong,
.etm-product-sheet__side-panel dd {
	display: block;
	margin: 2px 0 0;
	font-size: .95em;
}

.etm-product-sheet__story {
	display: grid;
	gap: clamp(18px, 3vw, 28px);
	margin-bottom: clamp(28px, 5vw, 54px);
}

.etm-product-sheet__full,
.etm-product-sheet__split-main,
.etm-product-sheet__side {
	display: grid;
	gap: 22px;
}

.etm-product-sheet__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	gap: clamp(18px, 4vw, 36px);
	align-items: start;
}

.etm-product-sheet__section h2,
.etm-product-sheet__rail h2,
.etm-product-sheet__side-panel h2 {
	margin: 0 0 14px;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.2;
	color: inherit;
}

.etm-product-sheet__section {
	border-bottom: 1px solid var(--etm-sheet-border);
	padding-bottom: 22px;
}

.etm-product-sheet__section:last-child {
	border-bottom: 0;
}

.etm-product-sheet__eyebrow {
	display: inline-flex;
	margin: 0 0 6px;
	color: color-mix(in srgb, var(--etm-sheet-accent) 72%, currentColor);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.etm-product-sheet__lead {
	font-size: 1.08em;
	line-height: 1.65;
}

.etm-product-sheet__description {
	line-height: 1.7;
	color: var(--etm-sheet-muted);
}

.etm-product-sheet__editable-block {
	line-height: 1.65;
	color: inherit;
}

.etm-product-sheet__editable-block h3 {
	margin: 18px 0 8px;
	font-size: 1.02rem;
	line-height: 1.25;
}

.etm-product-sheet__editable-block h3:first-child {
	margin-top: 0;
}

.etm-product-sheet__editable-block ul {
	margin: 0 0 14px;
	padding-left: 20px;
}

.etm-product-sheet__editable-block li + li {
	margin-top: 6px;
}

.etm-product-sheet__pros-cons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.etm-product-sheet__list-card {
	padding: 16px;
}

.etm-product-sheet__list-card h3 {
	margin: 0 0 10px;
	font-size: 1rem;
}

.etm-product-sheet__list-card ul {
	margin: 0;
	padding-left: 18px;
}

.etm-product-sheet__list-card li + li {
	margin-top: 6px;
}

.etm-product-sheet__fit {
	display: grid;
	gap: 14px;
	padding: clamp(16px, 2.5vw, 22px);
	border: 1px solid var(--etm-sheet-border);
	border-radius: 8px;
	background: color-mix(in srgb, var(--etm-sheet-accent) 6%, Canvas);
}

.etm-product-sheet__fit h2 {
	margin-bottom: 0;
}

.etm-product-sheet__verdict {
	padding: clamp(16px, 2.5vw, 22px);
	border: 1px solid color-mix(in srgb, var(--etm-sheet-accent) 28%, transparent);
	border-radius: 8px;
	background: var(--etm-sheet-soft);
}

.etm-product-sheet__verdict p {
	margin: 0;
	font-size: clamp(1.03rem, 2vw, 1.22rem);
	font-weight: 700;
	line-height: 1.55;
}

.etm-product-sheet__faqs {
	display: grid;
	gap: 10px;
}

.etm-product-sheet__faqs details {
	border: 1px solid var(--etm-sheet-border);
	border-radius: 6px;
	padding: 12px 14px;
	background: var(--etm-sheet-surface);
}

.etm-product-sheet__faqs summary {
	cursor: pointer;
	font-weight: 700;
}

.etm-product-sheet__faqs details div {
	margin-top: 10px;
	color: var(--etm-sheet-muted);
}

.etm-product-sheet__side-panel {
	padding: 16px;
}

.etm-product-sheet__side-panel dl {
	display: grid;
	gap: 11px;
	margin: 0;
}

.etm-product-sheet__side-panel dl div {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--etm-sheet-border);
}

.etm-product-sheet__side-panel dl div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.etm-product-sheet__rail,
.etm-product-sheet__blog {
	margin-top: 28px;
}

.etm-product-sheet__bundle {
	display: grid;
	grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr) auto;
	gap: 18px;
	align-items: center;
	margin: 0 0 clamp(28px, 5vw, 54px);
	padding: clamp(16px, 3vw, 22px);
}

.etm-product-sheet__bundle-copy {
	display: grid;
	gap: 6px;
}

.etm-product-sheet__bundle-copy span {
	color: color-mix(in srgb, var(--etm-sheet-accent) 70%, currentColor);
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.etm-product-sheet__bundle-copy h2,
.etm-product-sheet__bundle-copy p {
	margin: 0;
}

.etm-product-sheet__bundle-copy h2 {
	font-size: clamp(1.16rem, 2vw, 1.45rem);
	line-height: 1.2;
}

.etm-product-sheet__bundle-copy p {
	color: var(--etm-sheet-muted);
	line-height: 1.5;
}

.etm-product-sheet__bundle-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.etm-product-sheet__bundle-item {
	display: grid;
	gap: 7px;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}

.etm-product-sheet__bundle-item:hover {
	border-color: var(--etm-sheet-accent);
	color: inherit;
}

.etm-product-sheet__bundle-image {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.etm-product-sheet__bundle-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.etm-product-sheet__bundle-item strong {
	font-size: .9em;
	line-height: 1.25;
}

.etm-product-sheet__bundle-total {
	display: grid;
	gap: 2px;
	min-width: 132px;
	padding: 12px;
	border-radius: 6px;
	background: var(--etm-sheet-soft);
}

.etm-product-sheet__bundle-total span {
	color: var(--etm-sheet-muted);
	font-size: .8em;
}

.etm-product-sheet__bundle-total strong {
	font-size: 1.2rem;
	line-height: 1.15;
}

.etm-product-sheet__rail-grid,
.etm-product-sheet__blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
}

.etm-product-sheet__related-card {
	display: grid;
	gap: 9px;
	padding: 12px;
	color: inherit;
	text-decoration: none;
}

.etm-product-sheet__related-card:hover {
	border-color: var(--etm-sheet-accent);
	color: inherit;
}

.etm-product-sheet__related-image {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.etm-product-sheet__related-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.etm-product-sheet__related-card strong {
	line-height: 1.25;
}

.etm-product-sheet__related-card span:last-child {
	font-weight: 700;
}

.etm-product-sheet__blog-card {
	overflow: hidden;
}

.etm-product-sheet__blog-card a {
	display: grid;
	gap: 9px;
	height: 100%;
	padding: 12px;
	color: inherit;
	text-decoration: none;
}

.etm-product-sheet__blog-card:hover {
	border-color: var(--etm-sheet-accent);
}

.etm-product-sheet__blog-image {
	display: block;
	aspect-ratio: 16 / 9;
	margin: -12px -12px 2px;
	overflow: hidden;
	background: color-mix(in srgb, Canvas 90%, currentColor 10%);
}

.etm-product-sheet__blog-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.etm-product-sheet__blog-card strong {
	line-height: 1.25;
}

.etm-product-sheet__blog-card span:last-child {
	color: var(--etm-sheet-muted);
	font-size: .86em;
}

.etm-product-sheet__final-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
	gap: 18px;
	align-items: center;
	margin-top: 32px;
	padding: clamp(18px, 3vw, 26px);
	background: color-mix(in srgb, var(--etm-sheet-accent) 9%, Canvas);
}

.etm-product-sheet__final-cta h2,
.etm-product-sheet__final-cta p {
	margin: 0;
}

.etm-product-sheet__final-cta h2 {
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	line-height: 1.15;
}

.etm-product-sheet__final-cta p {
	margin-top: 8px;
	color: var(--etm-sheet-muted);
	line-height: 1.55;
}

.etm-product-sheet__sticky-cta {
	display: none;
}

@media (max-width: 900px) {
	.etm-product-sheet__hero,
	.etm-product-sheet--compact .etm-product-sheet__hero,
	.etm-product-sheet__split,
	.etm-product-sheet__pros-cons,
	.etm-product-sheet__bundle,
	.etm-product-sheet__final-cta {
		grid-template-columns: 1fr;
	}

	.etm-product-sheet__summary {
		position: static;
	}

	.etm-product-sheet__bundle-total {
		justify-content: start;
	}
}

@media (max-width: 560px) {
	.etm-product-sheet {
		margin-bottom: 86px;
	}

	.etm-product-sheet__summary,
	.etm-product-sheet__gallery,
	.etm-product-sheet__side-panel,
	.etm-product-sheet__list-card,
	.etm-product-sheet__related-card,
	.etm-product-sheet__blog-card,
	.etm-product-sheet__bundle,
	.etm-product-sheet__bundle-item,
	.etm-product-sheet__final-cta {
		border-radius: 6px;
	}

	.etm-product-sheet__facts,
	.etm-product-sheet__rail-grid,
	.etm-product-sheet__blog-grid {
		grid-template-columns: 1fr 1fr;
	}

	.etm-product-sheet__bundle-items {
		grid-template-columns: 1fr;
	}

	.etm-product-sheet__sticky-cta {
		position: fixed;
		right: 10px;
		bottom: 10px;
		left: 10px;
		z-index: 40;
		display: grid;
		grid-template-columns: minmax(0, .78fr) minmax(132px, 1fr);
		gap: 8px;
		align-items: center;
		padding: 10px;
		border: 1px solid var(--etm-sheet-border);
		border-radius: 8px;
		background: Canvas;
		box-shadow: 0 12px 34px color-mix(in srgb, currentColor 18%, transparent);
	}

	.etm-product-sheet__sticky-price {
		overflow: hidden;
		font-size: .95rem;
		font-weight: 800;
		line-height: 1.15;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.etm-product-sheet__sticky-price del {
		display: none;
	}

	.etm-product-sheet__sticky-cta a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 10px 12px;
		border-radius: 6px;
		background: var(--etm-sheet-accent);
		color: #111;
		font-size: .92rem;
		font-weight: 800;
		line-height: 1.15;
		text-align: center;
		text-decoration: none;
	}
}
