.ctym-shop-buttons,
.ctym-shop-buttons * {
	box-sizing: border-box;
}

.ctym-shop-buttons {
	width: 100%;
	max-width: 680px;
	margin: 1.5rem auto;
	padding: 18px;
	background: #fff;
	border: 1px solid #dfe3e8;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgb(17 17 17 / 8%);
	font-family: inherit;
}

.ctym-shop-buttons__title {
	margin: 0 0 12px;
	padding: 0;
	color: #111;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
}

.ctym-shop-buttons__content--with-image {
	display: grid;
	grid-template-columns: minmax(160px, 34%) minmax(0, 1fr);
	gap: 20px;
	align-items: center;
}

.ctym-shop-buttons__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 180px;
	padding: 12px;
	background: #f7f7f7;
	border-radius: 8px;
}

.ctym-shop-buttons .ctym-shop-buttons__image {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	max-height: 260px;
	margin: 0;
	object-fit: contain;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
}

.ctym-shop-buttons__media--provided > a {
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.ctym-shop-buttons__media--provided > a > img {
	max-width: 100%;
	height: auto;
}

.ctym-shop-buttons__details {
	min-width: 0;
}

.ctym-shop-buttons__product {
	margin: 0 0 6px;
	padding: 0;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.ctym-shop-buttons__description {
	margin: 0 0 14px;
	padding: 0;
	color: #3d4650;
	font-size: 14px;
	line-height: 1.7;
}

.ctym-shop-buttons__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.ctym-shop-buttons__issued-button {
	min-width: 0;
}

.ctym-shop-buttons .ctym-shop-buttons__button,
.ctym-shop-buttons .ctym-shop-buttons__issued-button > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 18px;
	border: 2px solid transparent;
	border-radius: 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease,
		color 160ms ease, transform 160ms ease;
}

.ctym-shop-buttons .ctym-shop-buttons__button:hover,
.ctym-shop-buttons .ctym-shop-buttons__issued-button > a:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.ctym-shop-buttons .ctym-shop-buttons__button:focus-visible,
.ctym-shop-buttons .ctym-shop-buttons__issued-button > a:focus-visible {
	outline: 3px solid #1565c0;
	outline-offset: 3px;
}

.ctym-shop-buttons .ctym-shop-buttons__button--amazon,
.ctym-shop-buttons .ctym-shop-buttons__button--amazon:visited {
	background: #ffb000;
	border-color: #ffb000;
	color: #111;
}

.ctym-shop-buttons .ctym-shop-buttons__button--amazon:hover {
	background: #e99a00;
	border-color: #e99a00;
	color: #111;
}

.ctym-shop-buttons .ctym-shop-buttons__button--rakuten,
.ctym-shop-buttons .ctym-shop-buttons__button--rakuten:visited,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--rakuten > a,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--rakuten > a:visited {
	background: #fff;
	border-color: #b00020;
	color: #9b001c;
}

.ctym-shop-buttons .ctym-shop-buttons__button--rakuten:hover,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--rakuten > a:hover {
	background: #fff2f4;
	border-color: #8f0019;
	color: #7d0016;
}

.ctym-shop-buttons .ctym-shop-buttons__button--yahoo,
.ctym-shop-buttons .ctym-shop-buttons__button--yahoo:visited,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--yahoo > a,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--yahoo > a:visited {
	background: #fff;
	border-color: #0b57d0;
	color: #0848ad;
}

.ctym-shop-buttons .ctym-shop-buttons__button--yahoo:hover,
.ctym-shop-buttons .ctym-shop-buttons__issued-button--yahoo > a:hover {
	background: #f1f6ff;
	border-color: #0848ad;
	color: #063b8e;
}

@media (max-width: 480px) {
	.ctym-shop-buttons {
		padding: 14px;
	}

	.ctym-shop-buttons .ctym-shop-buttons__button,
	.ctym-shop-buttons .ctym-shop-buttons__issued-button > a {
		font-size: 15px;
	}

	.ctym-shop-buttons__content--with-image {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ctym-shop-buttons__media {
		min-height: 0;
	}

	.ctym-shop-buttons .ctym-shop-buttons__image {
		max-height: 240px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ctym-shop-buttons .ctym-shop-buttons__button,
	.ctym-shop-buttons .ctym-shop-buttons__issued-button > a {
		transition: none;
	}
}
