/**
 * Public styles for AME Hire Plugin.
 *
 * Loaded on Hire Product pages.
 *
 * @package MeasureTwice\MT_AME_Hire
 * @since   1.0.0
 */

.mt-ame-hire-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
	margin: 1.5em 0;
}

.mt-ame-hire-booking,
.mt-ame-hire-purchase {
	flex: 1 1 260px;
	padding: 1.25em;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

.mt-ame-hire-booking h3,
.mt-ame-hire-purchase h3 {
	margin-top: 0;
}

.mt-ame-hire-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.75em;
}

.mt-ame-hire-field label {
	font-weight: 600;
	margin-bottom: 0.25em;
}

.mt-ame-hire-quote {
	min-height: 2.5em;
	margin: 0.75em 0;
	padding: 0.75em;
	background: #f7f7f7;
	border-radius: 4px;
}

.mt-ame-hire-quote-total {
	font-size: 1.15em;
}

.mt-ame-hire-quote-was {
	color: #767676;
	margin-right: 0.4em;
}

.mt-ame-hire-quote-now {
	text-decoration: none;
	font-weight: 700;
}

.mt-ame-hire-quote-breakdown {
	margin-top: 0.6em;
	padding-top: 0.6em;
	border-top: 1px solid #e0e0e0;
	font-size: 0.9em;
}

.mt-ame-hire-quote-breakdown-head {
	display: block;
	margin-bottom: 0.3em;
	color: #555;
}

.mt-ame-hire-quote-breakdown ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mt-ame-hire-quote-breakdown li {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: 0.15em 0;
}

.mt-ame-hire-quote-prompt {
	margin-top: 0.4em;
	color: #2e7d32;
	font-size: 0.9em;
}

.mt-ame-hire-unavailable {
	color: #c62828;
}

.mt-ame-hire-submit[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.mt-ame-hire-purchase-price {
	font-size: 1.3em;
	margin-bottom: 0.75em;
}

/* The attributes table, moved out of its own tab and under the description.
   The rule and the space are doing the work a tab used to: saying that what
   follows is a different kind of thing. */

.mt-ame-hire-additional-heading {
	margin-top: 2em;
	padding-top: 1.25em;
	border-top: 1px solid #d3ced2;
	font-size: 1.25em;
}
