/**
 * Rent button on single product pages.
 *
 * The anchor already carries WooCommerce's `button` class, so the theme owns
 * the shape. Only colours and the inner layout are set here; storefront.js
 * copies the exact geometry of the Add to cart button on top of this, which
 * keeps the two buttons identical across themes.
 */

.woocommerce div.product form.cart .elride-rent-button,
.woocommerce div.product .elride-rent-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	margin: 12px 0 0;
	background: #111416;
	border-color: #111416;
	color: #ffffff;
	text-decoration: none;
	font-family: inherit;
	vertical-align: middle;
	white-space: nowrap;
}

.woocommerce div.product form.cart .elride-rent-button:hover,
.woocommerce div.product .elride-rent-button:hover {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.woocommerce div.product form.cart .elride-rent-button:focus-visible,
.woocommerce div.product .elride-rent-button:focus-visible {
	outline: 3px solid rgba(0, 132, 214, 0.45);
	outline-offset: 2px;
}

.elride-rent-button__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: #c9f227;
	color: #111416;
}

.elride-rent-button__icon svg {
	width: 58%;
	height: 58%;
}

.elride-rent-button__label {
	white-space: nowrap;
}

.elride-rent-button__rate {
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #e7f7ae;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

@media (max-width: 544px) {
	.woocommerce div.product form.cart .elride-rent-button,
	.woocommerce div.product .elride-rent-button {
		margin-top: 10px;
	}

	.elride-rent-button__rate {
		margin-left: auto;
	}
}
