/* Cafés MyWay product card, with the same white logo and yellow CTA. */
.jgc .jgc-merchant-button,
.jgc-guide-offer > a.jgc-merchant-button {
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	gap: 0;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 5px rgb(0 0 0 / 8%);
	color: #222;
	text-align: center;
	text-decoration: none;
}

.jgc .jgc-merchant-button .jgc-merchant-brand,
.jgc-guide-offer .jgc-merchant-brand {
	display: flex;
	flex: 0 0 min(100px, 42%);
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	padding: 0 10px;
	border-inline-end: 1px solid #e0e0e0;
	background: #fff;
}

.jgc-merchant-button .jgc-merchant-brand img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 26px;
	margin: 0;
	object-fit: contain;
}

.jgc-merchant-button .jgc-merchant-cta {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: center;
	gap: .2rem .5rem;
	min-width: 0;
	padding: .45rem .5rem;
	background: #fc0;
	color: #222;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: .3px;
}

.jgc .jgc-merchant-button .jgc-offer-amount,
.jgc-guide-offer .jgc-merchant-button .jgc-offer-amount {
	color: #ac0c0c;
	font-size: 1.0625rem;
	font-weight: 800;
}

.jgc-merchant-action {
	text-transform: uppercase;
}

.jgc a.jgc-merchant-button:hover,
.jgc-guide-offer > a.jgc-merchant-button:hover {
	border-color: #bd9b25;
	background: #fff;
	box-shadow: 0 5px 12px rgb(0 0 0 / 15%);
	text-decoration: none;
}

.jgc-merchant-button:focus-visible {
	outline: 2px solid #222;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
	a.jgc-merchant-button {
		transition: transform .2s, box-shadow .2s, border-color .2s;
	}

	a.jgc-merchant-button:hover {
		transform: translateY(-2px);
	}
}

.jgc-review-box ul.jgc-offers {
	display: grid;
	gap: .625rem;
}

.jgc-review-box ul.jgc-offers + ul.jgc-offers {
	margin-block-start: .625rem;
}

.jgc-affiliate-disclosure {
	color: #575262;
	font-size: .88rem;
}

.jgc-fiche .jgc-offers {
	max-width: 29rem;
}

.jgc .jgc-offers time {
	margin-block: .2rem 0;
}

.jgc-compare .jgc-merchant-button .jgc-merchant-brand {
	flex-basis: 42%;
	padding-inline: .35rem;
}

.jgc-compare .jgc-merchant-button .jgc-merchant-cta {
	flex-direction: column;
	gap: .16rem;
	font-size: .7rem;
}

.jgc-compare .jgc-merchant-button .jgc-offer-amount {
	font-size: .92rem;
}

.jgc .jgc-observed-price {
	flex-direction: column;
	align-items: center;
	gap: .2rem;
	padding: .6rem .35rem;
	border-color: #ded6e3;
	background: #f7f4f8;
	box-shadow: none;
}

.jgc .jgc-observed-price .jgc-merchant-brand,
.jgc .jgc-observed-price .jgc-merchant-cta {
	flex: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #412f42;
	font-size: .82rem;
	font-weight: 650;
	overflow-wrap: normal;
}

.jgc .jgc-observed-price .jgc-offer-amount {
	color: #412f42;
}

.jgc-observed-price .jgc-merchant-action {
	font-size: .72rem;
	font-weight: 500;
	text-transform: none;
}

.jgc-guide-offer > a.jgc-merchant-button {
	max-width: 22rem;
}

/* Botones v3 de las comparativas, sus recuadros y el shortcode independiente. */
.jgc.jgc-boton a.jgc-merchant-button {
	max-inline-size: 28rem;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) .jgc-merchant-button:not(.jgc-observed-price) {
	border-color: #b36810;
	border-radius: 6px;
	box-shadow: none;
	text-decoration: none;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) .jgc-merchant-button:not(.jgc-observed-price) .jgc-merchant-brand {
	flex-basis: min(5.25rem, 36%);
	border-inline-end: 0;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) .jgc-merchant-button:not(.jgc-observed-price) .jgc-merchant-cta {
	background: var(--jgv3-orange, #fd9800);
	color: var(--jgv3-navy, #0f172a);
	letter-spacing: normal;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) .jgc-merchant-button:not(.jgc-observed-price) .jgc-offer-amount {
	color: inherit;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) .jgc-merchant-action {
	text-transform: none;
}

.jgc-boton .jgc-merchant-button .jgc-merchant-cta {
	font-size: .9rem;
}

.jgc-boton .jgc-merchant-button .jgc-offer-amount {
	font-size: inherit;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) a.jgc-merchant-button:not(.jgc-observed-price):hover {
	border-color: var(--jgv3-orange-ink, #9a5200);
	box-shadow: none;
	transform: none;
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) a.jgc-merchant-button:not(.jgc-observed-price):hover .jgc-merchant-cta {
	background: var(--jgv3-orange-hover, #e98c00);
}

.jgc:is(.jgc-boton, .jgc-compare, .jgc-budget, .jgc-review-box) a.jgc-merchant-button:focus-visible {
	outline: 3px solid var(--jgv3-navy, #0f172a);
}
