.hbh-discount {
	margin: 16px 0 12px;
	max-width: 100%;
}

.hbh-discount__button {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 14px 16px;
	border: 1px dashed var(--e-global-color-primary, currentColor);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	text-align: center;
	font: inherit;
	/* Elementor Site Settings → Global Colors (identity); fall back to inherited theme color. */
	color: var(--e-global-color-text, inherit);
	transition: border-color 0.2s ease, outline-color 0.2s ease, color 0.2s ease;
}

.hbh-discount__button:hover,
.hbh-discount__button:focus-visible {
	border-color: var(--e-global-color-accent, var(--e-global-color-primary, currentColor));
	outline: 2px solid var(--e-global-color-accent, var(--e-global-color-primary, currentColor));
	outline-offset: 2px;
}

.hbh-discount__label-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	opacity: 0.85;
}

.hbh-discount__icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
	opacity: 0.9;
}

.hbh-discount__icon svg {
	display: block;
	width: 16px;
	height: 16px;
	/* Sizing in CSS avoids empty width/height after Elementor/jQuery clone + some sanitizers. */
}

.hbh-discount__label {
	font-size: inherit;
}

.hbh-discount__code {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
	word-break: break-all;
}

.hbh-discount__feedback {
	font-size: 12px;
	line-height: 1.3;
}

.hbh-discount__feedback:empty {
	display: none;
}

.hbh-discount__feedback:not(:empty) {
	display: block;
	text-align: center;
}

.hbh-discount__button.is-copied .hbh-discount__feedback,
.hbh-discount__button.is-error .hbh-discount__feedback {
	min-height: 1.3em;
}

.hbh-discount__button.is-copied .hbh-discount__feedback {
	font-weight: 600;
}

.hbh-discount__button.is-error .hbh-discount__feedback {
	color: #b00020;
	font-weight: 600;
}
