/* MrHost Forge Quotes. Logical properties, so it works left-to-right and right-to-left. */
.mhf-quote-add.is-added {
	opacity: 0.85;
}

.mhf-quote-view {
	margin-inline-start: 0.75rem;
	font-size: 0.9em;
}

.mhf-quote-count {
	display: inline-block;
	min-inline-size: 1.4em;
	padding-inline: 0.4em;
	border-radius: 999px;
	background: var(--mhf-color-primary, #0b5394);
	color: #fff;
	font-size: 0.8em;
	line-height: 1.6;
	text-align: center;
}

.mhf-quote-count-link {
	display: inline-flex;
	gap: 0.4em;
	align-items: center;
	text-decoration: none;
}

.mhf-quote-basket {
	inline-size: 100%;
	max-inline-size: 100%;
	margin-block-end: 1.5rem;
}

.mhf-quote-basket__table {
	inline-size: 100%;
	border-collapse: collapse;
}

.mhf-quote-basket__table th,
.mhf-quote-basket__table td {
	padding: 0.6rem 0.5rem;
	border-block-end: 1px solid rgba(0, 0, 0, 0.12);
	text-align: start;
	vertical-align: middle;
}

.mhf-quote-basket__image {
	inline-size: 72px;
}

.mhf-quote-basket__image img {
	display: block;
	inline-size: 64px;
	block-size: 64px;
	object-fit: cover;
}

.mhf-quote-basket__sku {
	display: block;
	font-size: 0.85em;
	opacity: 0.7;
}

.mhf-quote-basket__qty input {
	inline-size: 5.5em;
	padding: 0.35rem 0.5rem;
}

.mhf-quote-basket__remove-button {
	inline-size: 2rem;
	block-size: 2rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.mhf-quote-basket__remove-button:hover,
.mhf-quote-basket__remove-button:focus-visible {
	background: rgba(0, 0, 0, 0.08);
}

.mhf-quote-basket__error {
	color: #b32d2e;
}

@media (max-width: 600px) {
	.mhf-quote-basket__image {
		display: none;
	}
}

.mhf-quote-form {
	max-inline-size: 40rem;
}

.mhf-quote-form__row {
	margin-block: 0 1rem;
}

.mhf-quote-form__row label {
	display: block;
	margin-block-end: 0.25rem;
	font-weight: 600;
}

.mhf-quote-form__row input,
.mhf-quote-form__row select,
.mhf-quote-form__row textarea {
	inline-size: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.7rem;
}

.mhf-quote-form__row [aria-invalid="true"] {
	border-color: #b32d2e;
}

.mhf-quote-form__error {
	display: block;
	min-block-size: 0;
	color: #b32d2e;
	font-size: 0.9em;
}

/* Off-screen, not display:none, so simple bots still fill it. */
.mhf-quote-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
}

.mhf-quote-form__status.is-error {
	color: #b32d2e;
}

.mhf-quote-form__reference {
	font-weight: 700;
}

.mhf-quote-form__whatsapp {
	display: inline-block;
	text-decoration: none;
}
