.hca-deal-block {
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1rem 0;
	background: #fafafa;
}

/* Locked state: dim the products, disable the buttons, surface the hint. */
.hca-deal-block.hca-locked .hca-deal-items {
	opacity: 0.5;
	filter: grayscale(40%);
	pointer-events: none;
}

.hca-deal-block .hca-deal-button[disabled],
.hca-deal-block .hca-deal-button:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.hca-deal-hint {
	margin: 0.85rem 0 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: #555;
}

.hca-deal-heading {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	font-weight: 600;
}

.hca-deal-items {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hca-deal-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #ececec;
}

.hca-deal-item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.hca-deal-thumb {
	flex: 0 0 auto;
}

.hca-deal-thumb img {
	width: 64px;
	height: auto;
	border-radius: 6px;
	display: block;
}

.hca-deal-info {
	flex: 1 1 220px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.hca-deal-title {
	font-weight: 600;
}

.hca-variation-select {
	display: inline-block;
	max-width: 220px;
	margin: 0.25rem 0;
	padding: 0.35rem 0.5rem;
	font-size: 0.9rem;
	border: 1px solid #d3d3d3;
	border-radius: 4px;
	background: #fff;
}

.hca-deal-prices {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.hca-deal-regular,
.hca-deal-regular-only {
	color: #888;
}

.hca-deal-regular {
	text-decoration: line-through;
}

.hca-deal-addon {
	color: #b12704;
	font-weight: 700;
	text-decoration: none;
}

/* Consistent action button on every row, regardless of theme button styles. */
.hca-deal-action {
	flex: 0 0 auto;
	margin: 0;
}

.hca-deal-block .hca-deal-button {
	width: auto;
	min-width: 140px;
	white-space: nowrap;
	margin: 0;
}

@media (max-width: 480px) {
	.hca-deal-action,
	.hca-deal-block .hca-deal-button {
		width: 100%;
		flex: 1 1 100%;
	}

	.hca-deal-block .hca-deal-button.button,
	.hca-deal-block .hca-deal-button {
		-webkit-appearance: none;
		appearance: none;
		background-color: #efefef !important;
		color: #000 !important;
		border-color: #efefef !important;
	}

	.hca-deal-block .hca-deal-button.button:hover,
	.hca-deal-block .hca-deal-button.button:focus,
	.hca-deal-block .hca-deal-button:hover,
	.hca-deal-block .hca-deal-button:focus {
		background-color: #e0e0e0 !important;
		color: #000 !important;
		border-color: #e0e0e0 !important;
	}
}
