/**
 * hzaac 产品详情 · 询盘操作区美化
 * 目标：数量 + Inquire Now 同行；Send Inquiry / Live chat 统一橙色胶囊
 * 抵消旧壳 div{margin:0 auto} 与 .product-inquiry .btn{float}
 */
.product-summary .product-inquiry.action,
.product-summary .product-inquiry.action div,
.product-summary .product-inquiry.action form,
.product-summary .product-inquiry.action ul,
.product-summary .product-inquiry.action li,
.product-summary .product-inquiry.action span,
.product-summary .product-inquiry.action a,
.product-summary .product-inquiry.action button,
.product-summary .product-inquiry.action input {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none;
}

.product-summary .product-inquiry.action {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	margin-top: 22px !important;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	overflow: visible;
	clear: both;
	box-sizing: border-box;
}

/* 隐藏详情页数量步进器（询盘档不展示数量） */
.product-summary .product-inquiry.action .xy-product-qty-row,
.product-summary .product-inquiry.action .xy-product-qty,
.product-summary .product-inquiry.action .xy-product-qty-stepper {
	display: none !important;
}

/* 第一行：数量 + Inquire Now */
.product-summary .product-inquiry.action .action-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	margin: 0 !important;
}

.product-summary .product-inquiry.action .xy-product-qty-row {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	width: auto !important;
	margin: 0 !important;
}

.product-summary .product-inquiry.action .xy-product-qty {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
}

.product-summary .product-inquiry.action .xy-product-qty-stepper {
	display: inline-flex !important;
	align-items: stretch;
	height: 46px;
	border: 1px solid #e2e6ea;
	border-radius: 50px;
	background: #fff;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.product-summary .product-inquiry.action .xy-product-qty-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	padding: 0;
	border: 0;
	background: #f7f8fa;
	color: #2c3338;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.product-summary .product-inquiry.action .xy-product-qty-btn:hover {
	background: #fff3e8;
	color: #ff6a00;
}

.product-summary .product-inquiry.action .xy-product-qty-input {
	width: 48px !important;
	min-width: 48px;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 4px;
	border: 0 !important;
	border-left: 1px solid #e2e6ea !important;
	border-right: 1px solid #e2e6ea !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #1a1d21;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.product-summary .product-inquiry.action .xy-product-qty-input::-webkit-outer-spin-button,
.product-summary .product-inquiry.action .xy-product-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-summary .product-inquiry.action .xy-product-qty-input:focus {
	outline: none;
	background: #fffaf6 !important;
}

.product-summary .product-inquiry.action .xy-basket-add-form,
.product-summary .product-inquiry.action .xy-basket-buy-form,
.product-summary .product-inquiry.action .xy-get-quote-btn {
	display: flex !important;
	flex: 1 1 140px;
	margin: 0 !important;
	min-width: 140px;
}

.product-summary .product-inquiry.action .xy-inquire-scroll-btn,
.product-summary .product-inquiry.action button.xy-get-quote-btn {
	flex: 1 1 140px;
	min-width: 140px;
}

.product-summary .product-inquiry.action .xy-basket-buy-wrap {
	display: flex;
	flex: 1 1 140px;
	min-width: 140px;
}

.product-summary .product-inquiry.action .button,
.product-summary .product-inquiry.action .xy-basket-add-btn,
.product-summary .product-inquiry.action .xy-inquire-scroll-btn,
.product-summary .product-inquiry.action .xy-get-quote-btn,
.product-summary .product-inquiry.action .xy-product-wa-btn,
.product-summary .product-inquiry.action .xy-basket-buy-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 46px;
	padding: 0 22px;
	box-sizing: border-box;
	border: none;
	border-radius: 50px;
	background: #ff6a00;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none !important;
	text-shadow: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.product-summary .product-inquiry.action .button:hover,
.product-summary .product-inquiry.action .xy-basket-add-btn:hover,
.product-summary .product-inquiry.action .xy-inquire-scroll-btn:hover,
.product-summary .product-inquiry.action .xy-get-quote-btn:hover {
	background: #e85d00;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(255, 106, 0, 0.36);
}

.product-summary .product-inquiry.action .button > i,
.product-summary .product-inquiry.action .xy-basket-add-btn > i {
	font-size: 15px;
	line-height: 1;
}

.product-summary .product-inquiry.action .xy-product-wa-btn {
	background: #25d366;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.product-summary .product-inquiry.action .xy-product-wa-btn:hover {
	background: #1ebe57;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.36);
}

.product-summary .product-inquiry.action .xy-basket-buy-btn {
	background: #fff;
	color: #ff6a00 !important;
	border: 1.5px solid #ff6a00;
	box-shadow: none;
}

.product-summary .product-inquiry.action .xy-basket-buy-btn:hover {
	background: #fff7f0;
	color: #e85d00 !important;
	border-color: #e85d00;
	box-shadow: none;
}

/* 旧 Send Inquiry / Live chat 已移除；若缓存残留则隐藏 */
.product-summary .product-inquiry.action #orderform,
.product-summary .product-inquiry.action .xy-product-cta-row {
	display: none !important;
}

@media only screen and (max-width: 640px) {
	.product-summary .product-inquiry.action .action-buttons {
		flex-direction: column;
	}

	.product-summary .product-inquiry.action .xy-product-qty-row,
	.product-summary .product-inquiry.action .xy-basket-add-form,
	.product-summary .product-inquiry.action .xy-get-quote-btn,
	.product-summary .product-inquiry.action .xy-inquire-scroll-btn,
	.product-summary .product-inquiry.action .xy-basket-buy-wrap {
		width: 100%;
		flex: 1 1 auto;
	}

	.product-summary .product-inquiry.action .xy-product-qty-stepper {
		width: 100%;
	}

	.product-summary .product-inquiry.action .xy-product-qty,
	.product-summary .product-inquiry.action .xy-product-qty-stepper {
		width: 100%;
	}

	.product-summary .product-inquiry.action .xy-product-qty-input {
		flex: 1 1 auto;
		width: auto !important;
		min-width: 56px;
	}
}
