.jgc {
	--jgc-ink: #0f172a;
	--jgc-muted: #454f5e;
	--jgc-line: #e7e2cf;
	--jgc-tint: #fef9e1;
	--jgc-accent: #9a5200;
	--jgc-brand: #fd9800;
	font-size: 1rem;
	line-height: 1.5;
}

.jgc-compare {
	--jgc-divider: #f3ecd2;
	--jgc-column: 13.5rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-block: 1.5rem;
	color: var(--jgc-ink);
}

.jgc-compare-stage {
	position: relative;
}

.jgc-compare-many {
	--jgc-column: 12rem;
}

.jgc-compare-scroll {
	overflow-x: auto;
	border: 1px solid var(--jgc-line);
	border-block-start: .375rem solid var(--jgc-brand);
	border-radius: .875rem;
	background: #fff;
	box-shadow: 0 .375rem 1.25rem rgb(15 23 42 / 7%),
		.375rem .375rem 0 -1px #fff,
		.375rem .375rem 0 0 var(--jgc-line);
	overscroll-behavior-inline: contain;
}

.jgc-compare-scroll:focus-visible,
.jgc-compare button:focus-visible,
.jgc a:focus-visible {
	outline: 2px solid var(--jgc-accent);
	outline-offset: -2px;
}

.jgc-compare table {
	width: 100%;
	min-width: calc(var(--jgc-columns) * var(--jgc-column));
	table-layout: fixed;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	line-height: inherit;
}

.jgc-compare .jgc-compare-caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.jgc-swipe {
	margin: 0 0 .6rem;
	font-size: .85rem;
	color: var(--jgc-muted);
}

.jgc-compare th,
.jgc-compare td {
	padding: .7rem .85rem;
	border: 0;
	border-block-end: 1px solid var(--jgc-line);
	border-inline-end: 1px solid var(--jgc-line);
	background: #fff;
	font-size: .9rem;
	text-align: center;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.jgc-compare tr > :last-child {
	border-inline-end: 0;
}

.jgc-compare thead {
	position: relative;
	z-index: 2;
	transform: translateY(var(--jgc-header-offset, 0px));
}

.jgc-compare thead th {
	position: relative;
	padding: .9rem .5rem .7rem;
	border-block-end-width: 2px;
	background: var(--jgc-tint);
	box-shadow: 0 4px 10px rgb(15 23 42 / 6%);
}

.jgc-compare-thumb {
	display: grid;
	min-height: 8.75rem;
	place-items: center;
}

.jgc-compare .jgc-product {
	align-items: center;
	justify-content: flex-start;
	gap: .25rem;
	padding-inline: .25rem;
	color: var(--jgc-ink);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.jgc-compare .jgc-product:hover {
	color: var(--jgc-accent);
	text-decoration: underline;
}

.jgc-compare .jgc-compare-thumb img {
	width: auto;
	height: auto;
	max-width: 85%;
	max-height: 8.75rem;
	border-radius: .45rem;
	box-shadow: 0 0 0 2px #fff, 0 2px 7px rgb(15 23 42 / 12%);
}

.jgc-compare-score {
	position: absolute;
	inset-block-start: .55rem;
	inset-inline-end: .5rem;
	display: grid;
	width: 3.375rem;
	aspect-ratio: 1;
	padding: .4rem;
	border-radius: 50%;
	background: repeating-conic-gradient(transparent 0deg 22.5deg, #fff 22.5deg 45deg),
		conic-gradient(var(--jgc-brand) var(--jgc-score, 0%), var(--jgc-divider) 0);
	box-shadow: 0 .1875rem 0 rgb(15 23 42 / 18%);
	color: #fff;
	font-size: .95rem;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
}

.jgc-compare-score span {
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--jgc-ink);
}

.jgc-compare-badge {
	position: absolute;
	inset-block-start: .55rem;
	inset-inline-start: .5rem;
	max-width: calc(100% - 4.5rem);
	padding: .2rem .55rem;
	border: 1px solid #eadfb8;
	border-radius: 999px;
	background: #fff;
	color: var(--jgc-accent);
	font-size: .65rem;
	font-weight: 750;
	line-height: 1.3;
	text-align: start;
	text-transform: none;
}

.jgc-compare .jgc-compare-section th,
.jgc-compare .jgc-compare-attribute th {
	padding: 0;
	text-align: start;
}

.jgc-compare .jgc-compare-section th {
	background: var(--jgc-ink);
	color: #fff;
}

.jgc-compare .jgc-compare-attribute th {
	background: var(--jgc-divider);
	color: var(--jgc-ink);
}

.jgc-compare .jgc-compare-criterion td {
	background: #fffdf4;
}

.jgc-compare-section span,
.jgc-compare-attribute span {
	position: sticky;
	inset-inline-start: 0;
	display: inline-block;
	padding: .5rem .9rem;
	font-weight: 750;
	letter-spacing: .02em;
	text-transform: none;
}

.jgc-compare-section span {
	padding-block: .65rem;
}

.jgc-compare-attribute span {
	font-size: .75rem;
}

.jgc-compare-point-text {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	text-align: start;
}

.jgc-compare-point-icon {
	min-width: 1rem;
	color: #1d7a3a;
	font-weight: 800;
	text-align: center;
}

.jgc-compare-point-cons .jgc-compare-point-icon {
	color: #b42318;
}

.jgc-compare .jgc-offer {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: .35rem;
	min-height: 44px;
	padding: .35rem .55rem;
	border: 1px solid var(--jgc-line);
	border-radius: .6rem;
	background: #fff;
	color: var(--jgc-accent);
	text-align: start;
	text-decoration: none;
}

.jgc-compare a.jgc-offer:hover {
	border-color: var(--jgc-accent);
	box-shadow: 0 2px 8px rgb(121 35 58 / 12%);
}

.entry-content .jgc-compare :is(a.jgc-product, a.jgc-offer) {
	text-decoration: none;
}

.jgc-compare .jgc-offer-shop {
	color: var(--jgc-ink);
	font-size: .78rem;
}

.jgc-compare .jgc-offers time {
	margin-block-start: .1rem;
	font-size: .72rem;
}

.jgc-compare-analysis a {
	display: inline-grid;
	min-height: 44px;
	place-items: center;
	font-weight: 700;
}

.jgc-compare-arrows {
	position: absolute;
	z-index: 3;
	inset-block-start: calc(var(--jgc-header-offset, 0px) + 5.75rem);
	inset-inline: .25rem;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.jgc-compare-arrows button {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--jgc-line);
	border-radius: 50%;
	background: var(--jgc-ink);
	color: #fff;
	box-shadow: 0 2px 10px rgb(15 23 42 / 18%);
	cursor: pointer;
	pointer-events: auto;
}

.jgc-compare-arrows button[hidden] {
	display: none;
}

.jgc-compare-arrows button[aria-disabled='true'] {
	visibility: hidden;
}

.jgc-compare-arrows button:focus-visible {
	visibility: visible;
	outline: 2px solid var(--jgc-ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #fff;
}

.jgc-compare-arrows button:hover {
	background: var(--jgc-brand);
	color: var(--jgc-ink);
}

.jgc-compare-arrows span {
	width: .65rem;
	height: .65rem;
	border: solid currentColor;
	border-width: 0 .15rem .15rem 0;
	transform: translateX(.13rem) rotate(135deg);
}

.jgc-compare-arrows .jgc-compare-after {
	margin-inline-start: auto;
}

.jgc-compare-after span {
	transform: translateX(-.13rem) rotate(-45deg);
}

@media (min-width: 768px) {
	.jgc-compare { --jgc-column: 12rem; }
}

.jgc a {
	color: var(--jgc-accent);
}

.jgc-product {
	display: flex;
	flex-direction: column;
	justify-content: end;
	min-height: 44px;
	gap: .5rem;
	text-decoration: underline;
	text-underline-offset: .16em;
}

.jgc-product img {
	display: block;
	width: 7rem;
	height: 7rem;
	max-width: 100%;
	object-fit: contain;
}

.jgc ul.jgc-offers,
.jgc .jgc-history ol {
	display: grid;
	gap: .5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jgc-offers li,
.jgc-history li {
	margin: 0;
}

.jgc-offer {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 44px;
	font-weight: 650;
}

.jgc-offer-amount {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.jgc-offers time {
	display: block;
	color: var(--jgc-muted);
	font-size: .85rem;
}

.jgc p.jgc-empty {
	margin: 0;
	font-size: .95rem;
	color: var(--jgc-muted);
}

.jgc-fiche {
	margin-block: 1.25rem;
	padding: 1rem;
	border: 1px solid var(--jgc-line);
	border-radius: .65rem;
}

.jueguetes-comparison-product #jueguetes-atomic-product,
.jueguetes-comparison-product #jueguetes-product-details {
	flex-direction: column;
}

.jueguetes-comparison-product #jueguetes-product-hero {
	width: 100%;
}

.jgc-fiche h2 {
	margin: 0 0 .55rem;
	font-size: 1.2rem;
	line-height: 1.25;
}

.jgc-fiche h2:not(:first-child) {
	margin-block-start: 1.25rem;
}

.jgc-fixture {
	color: var(--jgc-accent);
	font-weight: 700;
}

.jgc .jgc-score-details {
	margin: 0 0 1rem;
}

.jgc-score-details > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: .5rem;
	padding-block: .3rem;
	border-block-end: 1px solid var(--jgc-line);
}

.jgc-score-details dd {
	display: contents;
	margin: 0;
	font-variant-numeric: tabular-nums;
}

.jgc-score-details dd strong {
	white-space: nowrap;
}

.jgc-score-reason {
	grid-column: 1 / -1;
	font-size: .92rem;
	color: var(--jgc-muted);
}

.jgc-history {
	margin: .85rem 0 0;
}

.jgc-history figcaption {
	margin-block-end: .4rem;
	font-weight: 700;
}

.jgc-history li {
	display: grid;
	grid-template-columns: auto minmax(1rem, 1fr) auto;
	align-items: center;
	gap: .45rem;
	font-size: .9rem;
	font-variant-numeric: tabular-nums;
}

.jgc-history-first li {
	grid-template-columns: auto 1fr;
}

.jgc-legacy .table-wrap {
	max-width: 100%;
	overflow-x: auto;
}

.jgc-legacy .table-wrap table {
	min-width: 42rem;
}
