.amazonlink-box {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	border: 1px solid #d7dce2;
	border-radius: 8px;
	padding: 16px;
	margin: 18px 0;
	background: #fff;
	color: #1f2933;
}

.amazonlink-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	text-decoration: none;
}

.amazonlink-image img {
	display: block;
	max-width: 120px;
	max-height: 120px;
	width: auto;
	height: auto;
}

.amazonlink-content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.amazonlink-title {
	display: block;
	color: #111827;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;
}

.amazonlink-title:hover {
	text-decoration: underline;
}

.amazonlink-price {
	color: #b12704;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
}

.amazonlink-offer-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-top: 2px;
}

.amazonlink-offer-meta {
	flex: 1 1 auto;
	min-width: 0;
}

.amazonlink-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-top: 0;
}

.amazonlink-list-price {
	color: #8b93a3;
	font-size: 14px;
	font-weight: 600;
	text-decoration: line-through;
}

.amazonlink-discount {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff5a36, #d81b60);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: 0 4px 10px rgba(216, 27, 96, 0.25);
}

.amazonlink-availability {
	margin-top: 6px;
	color: #2f6a26;
	font-size: 13px;
}

.amazonlink-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffb119, #ff7a00);
	color: #000 !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(255, 122, 0, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.amazonlink-button:hover {
	color: #000 !important;
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow: 0 11px 20px rgba(255, 122, 0, 0.34);
	text-decoration: none;
}

.amazonlink-box-fallback .amazonlink-button {
	margin-top: 10px;
}

.amazonlink-updated {
	margin-top: 8px;
	color: #6b7280;
	font-size: 12px;
}

.amazonlink-box-fallback {
	grid-template-columns: 1fr;
}

.amazonlink-box-no-image {
	grid-template-columns: 1fr;
}

@media (max-width: 560px) {
	.amazonlink-box {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.amazonlink-image {
		min-height: 88px;
	}

	.amazonlink-image img {
		max-width: 88px;
		max-height: 88px;
	}

	.amazonlink-title {
		font-size: 15px;
	}

	.amazonlink-offer-row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.amazonlink-button {
		width: 100%;
	}

	.amazonlink-price {
		font-size: 20px;
	}
}
