/* CIMS-CATEGORY-INQUIRY-01: "Add to Inquiry" button styling for category archive pages.
 *
 * The button markup CLONES the PDP (single-product.php) custom button so it shares
 * the theme's `.btn.btn-primary` look + the same 3 states (Add to Inquiry / View
 * Inquiry / View Your Inquiry) and icons. Scoped to `.ims-category-inquiry` so it
 * cannot affect the PDP button.
 */
.ims-category-inquiry {
	margin: 12px 0 18px 0;
}

.ims-category-inquiry .btn.btn-primary {
	/* Normal-size button (not full width). The theme's .btn can be display:block
	 * / width:100%, so force inline sizing + content width. */
	display: inline-flex !important;
	width: auto !important;
	max-width: max-content;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	/* Climax brand red. */
	background-color: #BF0D3E !important;
	border-color: #BF0D3E !important;
	color: #ffffff !important;
}

.ims-category-inquiry .btn.btn-primary:hover,
.ims-category-inquiry .btn.btn-primary:focus {
	background-color: #9a0a32 !important;
	border-color: #9a0a32 !important;
	color: #ffffff !important;
}

/* The PDP button uses black-filled inline SVG icons; on the red button paint the
 * page/checkmark icons white so they read against the brand red. */
.ims-category-inquiry .btn.btn-primary svg path {
	fill: #ffffff !important;
}

.ims-category-inquiry .btn.btn-primary span {
	color: #ffffff !important;
}
