/**
 * Free Sample (Cleaning Materials) — nút cạnh Send Quote Request + lựa chọn loại yêu cầu trong form.
 * Markup: inc/cleaning-materials.php
 */

/* Nút Free Sample đứng cạnh Send Quote Request (cùng hàng, cùng chiều cao) */
.smt-single-quote-cta {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 520px;
}

.smt-single-quote-cta .smt-single-quote-cta__btn.button,
.smt-single-quote-cta .smt-sample-btn.button {
	box-sizing: border-box;
	height: 56px;
	min-height: 56px;
	margin: 0 !important;
	padding-top: 0;
	padding-bottom: 0;
}

.smt-single-quote-cta .smt-single-quote-cta__btn.button {
	flex: 1 1 auto;
	width: auto;
	max-width: none;
}

.smt-single-quote-cta .smt-sample-btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 1.2;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	background: #0a7a3e;
	border: 2px solid #0a7a3e;
	box-shadow: 0 6px 14px rgba(10, 122, 62, 0.22);
	border-radius: 10px;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 480px) {
	.smt-single-quote-cta {
		flex-direction: column;
	}
}

/* Di chuột: xanh đậm hơn + nổi nhẹ (giống nút Send Quote Request) */
.smt-single-quote-cta .smt-sample-btn:hover,
.smt-single-quote-cta .smt-sample-btn:focus-visible {
	color: #fff !important;
	background: #086632;
	border-color: #086632;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(10, 122, 62, 0.32);
}

.smt-single-quote-cta .smt-sample-btn svg {
	flex: 0 0 auto;
}

/* Chọn loại yêu cầu ở đầu form */
.smt-reqtype {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 0 0 12px;
	padding: 4px;
	background: #f1f4f8;
	border-radius: 12px;
}

.smt-reqtype__opt {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.smt-reqtype__opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.smt-reqtype__opt span {
	display: block;
	padding: 8px 6px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	color: #5b6675;
	border-radius: 9px;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.smt-reqtype__opt input:checked + span {
	color: #1e73be;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.smt-reqtype__opt--sample input:checked + span {
	color: #0a7a3e;
}

.smt-reqtype__opt input:focus-visible + span {
	outline: 2px solid #1e73be;
	outline-offset: 2px;
}

.smt-reqtype__hint {
	margin: -4px 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #0a7a3e;
}

/* Form ở chế độ Free Sample: nút gửi màu xanh lá */
.smt-quote--sample .smt-quote__submit {
	background: #0a7a3e !important;
	border-color: #0a7a3e !important;
}
