/* Product page: quote button and Add to Cart hiding. */

/*
 * The quote button is a link, so it does not pick up the theme's button text
 * styling. These values copy Porto's Add to Cart button on the product page
 * (48px tall, 14px, bold, uppercase, tight letter spacing) so the two sit side
 * by side as a pair. The `body a` prefix beats the theme and Elementor rules.
 */
body a.rqr-quote-button {
	display: inline-block;
	box-sizing: border-box;
	height: 48px;
	margin-left: 10px;
	padding: 0 28px;
	border: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 48px;
	letter-spacing: -0.015em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: top;
	white-space: nowrap;
}

/* Elementor's kit sets every link to the brand green, which beats the theme's
 * .button text colour once the button is outside the cart form (hidden Add to
 * Cart, product grids), leaving green text on a green button. */
body a.rqr-quote-button,
body a.rqr-quote-button:hover,
body a.rqr-quote-button:focus {
	color: #fff;
}

/* Product grids: match Porto's "Select options" button (36px, 12px, 600). */
body a.rqr-quote-button--loop {
	height: 36px;
	margin-left: 0;
	padding: 0 10px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 600;
	line-height: 34px;
	letter-spacing: normal;
}

.rqr-standalone {
	margin: 0 0 1.5em;
}

body .rqr-standalone a.rqr-quote-button {
	margin-left: 0;
}

/*
 * Variable products with Add to Cart hidden keep their option selectors, so
 * only the purchase controls are hidden. Simple and grouped products have the
 * whole block removed in PHP instead.
 */
.rqr-hide-atc .single_add_to_cart_button,
.rqr-hide-atc form.cart .quantity,
.rqr-hide-atc .wcpay-express-checkout-wrapper,
.rqr-hide-atc .sticky-product .add-to-cart,
.rqr-hide-atc .sticky-product .single_add_to_cart_button {
	display: none !important;
}

body.rqr-hide-atc form.cart a.rqr-quote-button {
	margin-left: 0;
}
