.cval-disclosure {
	margin: 0 0 clamp(1.25rem, 3vw, 2rem);
	padding: 0.9rem 1rem;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 10px;
	background: color-mix(in srgb, currentColor 3%, transparent);
	color: inherit;
	font-size: 0.78rem;
	line-height: 1.75;
}

.cval-disclosure strong {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.8rem;
}

.cval-disclosure p {
	margin: 0;
}

.cval-disclosure p + p {
	margin-top: 0.25rem;
}

.cval-card {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) minmax(190px, 230px);
	gap: 1rem;
	align-items: center;
	margin: clamp(1.5rem, 4vw, 2.5rem) 0;
	padding: clamp(1rem, 3vw, 1.35rem);
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgb(20 31 43 / 7%);
}

.cval-card__body {
	min-width: 0;
}

.cval-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 160px;
	padding: 10px;
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-radius: 12px;
	background: #f7f8f9;
	overflow: hidden;
}

.cval-card__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.cval-card__media:focus-visible {
	outline: 3px solid #2779bd;
	outline-offset: 3px;
}

.cval-card__label {
	display: inline-flex;
	margin-bottom: 0.35rem;
	color: #66717c;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.cv-spatial-theme:not(.home) .post_content .cval-card h3.cval-card__title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font-size: clamp(1rem, 2.5vw, 1.15rem);
	line-height: 1.5;
}

.cv-spatial-theme:not(.home) .post_content .cval-card h3.cval-card__title::before,
.cv-spatial-theme:not(.home) .post_content .cval-card h3.cval-card__title::after {
	display: none;
	content: none;
}

.cval-card__note {
	margin: 0.45rem 0 0;
	color: #4d5863;
	font-size: 0.88rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.cval-card__button {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: #171d23;
	color: #fff !important;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none !important;
	transition: transform 160ms ease, background-color 160ms ease;
}

.cval-card__actions {
	display: grid;
	gap: 0.65rem;
	min-width: 190px;
}

@media (min-width: 641px) and (max-width: 960px) {
	.cval-card {
		grid-template-columns: 160px minmax(0, 1fr);
		align-items: center;
	}

	.cval-card__actions {
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
		min-width: 0;
	}
}

.cval-card__actions .cval-card__button {
	width: 100%;
}

.cval-card__button.is-amazon {
	background: #232f3e;
}

.cval-card__button.is-amazon:hover {
	background: #37475a;
}

.cval-card__button.is-rakuten {
	background: #bf0000;
}

.cval-card__button.is-rakuten:hover {
	background: #990000;
}

.cval-card__button:hover {
	background: #303942;
	transform: translateY(-1px);
}

.cval-card__button:focus-visible {
	outline: 3px solid #2779bd;
	outline-offset: 3px;
}

.cval-card-error {
	padding: 0.75rem;
	border: 1px solid #c62828;
	color: #8e1b1b;
	font-weight: 700;
}

@media (max-width: 640px) {
	.cval-card {
		grid-template-columns: 1fr;
	}

	.cval-card__media {
		justify-self: center;
	}

	.cval-card__button {
		width: 100%;
	}

	.cval-card__actions {
		grid-template-columns: 1fr;
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cval-card__button {
		transition: none;
	}
}
