.msacards-card {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	max-width: 100%;
	margin-block: 1rem;
	padding: clamp(.75rem, 3vw, 1.25rem);
	border: 1px solid #c7cdd5;
	border-radius: .625rem;
	background: #fff;
	color: #202630;
	overflow-wrap: anywhere;
}
.msacards-card.msacards-has-ribbon {
	padding-top: 2.25rem;
	position: relative;
}
.msacards-ribbon {
	display: inline-block;
	max-width: calc(100% - 1rem);
	padding: .125rem .75rem .125rem .5rem;
	background: var(--msacards-ribbon-color);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.4;
	clip-path: polygon(0 0, calc(100% - .4rem) 0, 100% 50%, calc(100% - .4rem) 100%, 0 100%);
}
.msacards-card > .msacards-ribbon {
	position: absolute;
	top: .4rem;
	left: .4rem;
}
.msacards-card .msacards-image {
	flex: 0 1 128px;
	max-width: 128px;
	min-width: 0;
}
.msacards-card .msacards-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
}
.msacards-card .msacards-details {
	flex: 1 1 14rem;
	min-width: 0;
}
.msacards-card .msacards-brand,
.msacards-card .msacards-title,
.msacards-card .msacards-model {
	margin: 0;
	line-height: 1.5;
}
.msacards-card .msacards-title {
	font-weight: 700;
}
.msacards-card .msacards-title > a {
	color: inherit;
	text-decoration: none;
}
.msacards-card .msacards-title > a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.msacards-card .msacards-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .75rem;
}
.msacards-card .msacards-shop-offer {
	flex: 1 1 8rem;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.msacards-card .msacards-shop-amazon { --msacards-shop-color: #f49327; --msacards-shop-text: #241304; }
.msacards-card .msacards-shop-rakuten { --msacards-shop-color: #c83236; }
.msacards-card .msacards-shop-yahoo { --msacards-shop-color: #2967ba; }
.msacards-card .msacards-link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	max-width: 100%;
	padding: .5rem .75rem;
	border: 1px solid transparent;
	border-radius: .25rem;
	background: var(--msacards-shop-color, #19446c);
	color: var(--msacards-shop-text, #fff);
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}
.msacards-card a.msacards-link:hover {
	filter: brightness(.93);
	color: var(--msacards-shop-text, #fff);
	text-decoration: underline;
}
.msacards-card a.msacards-link:focus-visible {
	outline: 2px solid #19446c;
	outline-offset: 3px;
}
.msacards-card .msacards-sale-notice {
	margin-bottom: .25rem;
	padding: .25rem .5rem;
	color: #76401d;
	font-size: .875rem;
	font-weight: 700;
	text-align: center;
}
.msacards-card .msacards-sale-link {
	color: inherit;
	text-decoration: underline;
}
@media (max-width: 600px) {
	.msacards-card {
		flex-direction: column;
	}
	.msacards-card .msacards-image {
		flex: 0 0 auto;
		width: min(100%, 128px);
		align-self: center;
	}
	.msacards-card .msacards-details,
	.msacards-card .msacards-shop-offer {
		flex: 0 0 auto;
	}
	.msacards-card .msacards-links {
		flex-direction: column;
	}
}
.msacards-picker li button {
	height: auto;
	max-width: 100%;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: start;
}
.msacards-registration {
	display: grid;
	gap: .75rem;
	padding: clamp(.75rem, 3vw, 1.25rem);
	border: 1px solid #c3c4c7;
	border-radius: .375rem;
}
.msacards-registration > :is(h3, p) {
	margin: 0;
}
.msacards-registration details {
	padding: .75rem;
	border: 1px solid #dcdcde;
	border-radius: .25rem;
}
.msacards-registration summary {
	cursor: pointer;
	font-weight: 600;
}
.msacards-registration details[open] > summary {
	margin-bottom: .75rem;
}
.msacards-registration-actions,
.msacards-registration .msacards-shop-controls {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	align-items: center;
}
.msacards-registration .msacards-shop-controls input {
	flex: 1 1 12rem;
	min-width: 0;
}
.msacards-registration .msacards-shop-results {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 20rem;
	overflow-y: auto;
}
.msacards-registration .msacards-shop-results li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
	padding: .75rem 0;
	border-top: 1px solid #dcdcde;
}
.msacards-registration .msacards-shop-results li > div {
	flex: 1 1 12rem;
	overflow-wrap: anywhere;
}
.msacards-registration .msacards-shop-results small {
	display: block;
}
.msacards-catalog-title + .msacards-title {
	display: none;
}
.msacards-card .msacards-review {
	margin: .25rem 0;
	color: #27636b;
}
.msacards-card .msacards-review::before {
	content: "";
	display: inline-block;
	width: .95em;
	height: .85em;
	margin-inline-end: .35em;
	background: currentColor;
	clip-path: polygon(0 0, 100% 0, 100% 72%, 39% 72%, 14% 100%, 14% 72%, 0 72%);
}
.msacards-card a.msacards-review-link {
	color: inherit;
	text-decoration: underline;
}
