/**
 * Store product-card presentation.
 */

.cbc-store-intro {
	max-width: 620px;
	margin-bottom: 26px;
}

.cbc-store-grid {
	display: grid;
	gap: 24px;
	container-type: inline-size;
}

.cbc-store-card {
	display: grid;
	grid-template-columns: minmax(210px, 40%) minmax(0, 1fr);
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #cbd8de;
	border-top: 4px solid #de6900;
	border-radius: 10px;
	box-shadow: 0 5px 16px rgba(11, 82, 111, 0.14);
}

.cbc-store-media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 235px;
	padding: 18px;
	background: #eef3f5;
	border-right: 1px solid #d7e1e5;
}

.cbc-store-media img {
	display: block;
	width: 100%;
	max-height: 270px;
	object-fit: contain;
	border-radius: 6px;
}

.cbc-store-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 24px;
}

.cbc-store-body h2 {
	margin: 0 0 10px;
	color: #0b526f;
	font-size: 1.45rem;
	line-height: 1.25;
}

.cbc-store-body p {
	margin: 12px 0 0;
}

.cbc-store-status {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 11px;
	color: #0b526f;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	background: #e0f1f6;
	border: 1px solid #9fcbd8;
	border-radius: 999px;
}

.cbc-store-status--onboard {
	color: #4a5d66;
	background: #f1f4f5;
	border-color: #cbd8de;
}

.cbc-store-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 18px;
	padding: 10px 18px;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background: #0b526f;
	border-radius: 6px;
}

.cbc-store-button:visited {
	color: #fff;
}

.cbc-store-button:hover,
.cbc-store-button:focus-visible {
	color: #fff;
	background: #de6900;
}

.cbc-store-button:focus-visible {
	outline: 3px solid rgba(222, 105, 0, 0.35);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.cbc-store-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.cbc-store-media {
		min-height: 210px;
		border-right: 0;
		border-bottom: 1px solid #d7e1e5;
	}

	.cbc-store-media img {
		max-height: 250px;
	}

	.cbc-store-body {
		padding: 20px;
	}
}

@container (max-width: 560px) {
	.cbc-store-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.cbc-store-media {
		min-height: 210px;
		border-right: 0;
		border-bottom: 1px solid #d7e1e5;
	}

	.cbc-store-media img {
		max-height: 250px;
	}

	.cbc-store-body {
		padding: 20px;
	}
}
