/* =========================================================
   Five Elements Talisman — 年份选色 + 代烧联动
   配色沿用玄墨鎏金：纸 #FBF7EE / 墨 #14120E / 金 #C9A227
   ========================================================= */

.ab-tal-fields {
	margin: 0 0 18px;
	padding: 18px 18px 6px;
	background: #FBF7EE;
	border: 1px solid rgba(201, 162, 39, 0.32);
	border-radius: 3px;
}

/* ---------- 年份查询 ---------- */
.ab-tal-finder {
	padding-bottom: 16px;
	margin-bottom: 14px;
	border-bottom: 1px dashed rgba(201, 162, 39, 0.30);
}

.ab-tal-finder > label {
	display: block;
	margin-bottom: 9px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1.45;
	color: #14120E;
}

.ab-tal-finder__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.ab-tal-finder__row input {
	flex: 0 0 104px;
	width: 104px;
	height: 40px;
	padding: 0 10px;
	background: #fff;
	border: 1px solid rgba(20, 18, 14, 0.22);
	border-radius: 2px;
	font-size: 15px;
	letter-spacing: 0.06em;
	color: #14120E;
	-moz-appearance: textfield;
}

.ab-tal-finder__row input::-webkit-outer-spin-button,
.ab-tal-finder__row input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ab-tal-finder__row input:focus {
	outline: none;
	border-color: #C9A227;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22);
}

.ab-tal-finder__btn {
	flex: 1 1 auto;
	height: 40px;
	padding: 0 16px;
	background: #14120E;
	border: 1px solid #14120E;
	border-radius: 2px;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #F5EFE3;
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s;
}

.ab-tal-finder__btn:hover {
	background: #C9A227;
	border-color: #C9A227;
	color: #14120E;
}

/* ---------- 查询结果 ---------- */
.ab-tal-finder__out {
	display: none;
	margin: 11px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #4A4438;
}

.ab-tal-finder__out.is-ok,
.ab-tal-finder__out.is-error,
.ab-tal-finder__out.is-warn {
	display: block;
}

.ab-tal-finder__out.is-ok {
	padding: 9px 12px;
	background: rgba(201, 162, 39, 0.10);
	border-left: 2px solid #C9A227;
}

.ab-tal-finder__out.is-error {
	padding: 9px 12px;
	background: rgba(169, 50, 38, 0.07);
	border-left: 2px solid #A93226;
	color: #8A2B21;
}

.ab-tal-finder__out.is-warn {
	border-left-color: #8A6D10;
}

.ab-tal-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 7px;
	border: 1px solid rgba(20, 18, 14, 0.30);
	border-radius: 50%;
	vertical-align: 0;
	position: relative;
	top: -1px;
}

/* ---------- 两个字段 ---------- */
.ab-tal-row {
	margin: 0 0 14px !important;
	padding: 0 !important;
}

.ab-tal-row label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #14120E;
}

.ab-tal-opt {
	margin-left: 5px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9A9184;
}

.ab-tal-row input.input-text {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid rgba(20, 18, 14, 0.22);
	border-radius: 2px;
	font-size: 14px;
	color: #14120E;
}

.ab-tal-row input.input-text:focus {
	outline: none;
	border-color: #C9A227;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22);
}

.ab-tal-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.55;
	color: #7A7264;
}

/* ---------- 手机 ---------- */
@media (max-width: 767px) {
	.ab-tal-fields {
		padding: 15px 14px 4px;
	}

	.ab-tal-finder__row {
		flex-wrap: wrap;
	}

	.ab-tal-finder__row input {
		flex: 1 1 90px;
		width: auto;
	}

	.ab-tal-finder__btn {
		flex: 1 1 100%;
	}
}

/* 变体未选中时给一行提示，避免客户找不到按钮为什么是灰的 */
.ab-tal-pickhint {
	display: block;
	margin: 0 0 10px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #8A6D10;
}

.ab-tal-pickhint.is-hidden {
	display: none;
}
