/* Chateau Tayac Wholesale — front-end styles */

.ct-wholesale-price-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .35em;
}

.ct-wholesale-price-wrap .ct-retail-price {
	opacity: .55;
	text-decoration: line-through;
}

.ct-wholesale-price-wrap .ct-wholesale-price {
	font-weight: 700;
	text-decoration: none;
}

.ct-wholesale-label {
	display: inline-block;
	padding: .15em .5em;
	font-size: .7em;
	line-height: 1.4;
	background: #6b2c2f;
	color: #fff;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.ct-wholesale-qty-note {
	flex-basis: 100%;
	font-size: .85em;
	opacity: .8;
	margin-top: .15em;
}

.ct-pending-notice,
.ct-wholesale-minimum-notice {
	margin-bottom: 1.5em;
}

/* Application form */

.ct-wholesale-app-form {
	max-width: 720px;
	margin: 0 auto;
}

.ct-wholesale-app-fieldset {
	border: 1px solid rgba(0,0,0,.12);
	border-radius: 4px;
	padding: 1.25em 1.25em .5em;
	margin: 0 0 1.5em;
}

.ct-wholesale-app-fieldset > legend {
	padding: 0 .5em;
	font-weight: 600;
}

.ct-wholesale-app-field {
	margin-bottom: 1em;
}

.ct-wholesale-app-field > label {
	display: block;
	font-weight: 500;
	margin-bottom: .25em;
}

.ct-wholesale-app-field .required {
	color: #b00;
	margin-left: .15em;
}

.ct-wholesale-app-field input[type="text"],
.ct-wholesale-app-field input[type="email"],
.ct-wholesale-app-field input[type="password"],
.ct-wholesale-app-field input[type="tel"],
.ct-wholesale-app-field input[type="date"],
.ct-wholesale-app-field input[type="file"],
.ct-wholesale-app-field select,
.ct-wholesale-app-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ct-wholesale-app-field.has-error input,
.ct-wholesale-app-field.has-error select,
.ct-wholesale-app-field.has-error textarea {
	border-color: #b00;
	outline-color: #b00;
}

.ct-wholesale-app-field .ct-field-error {
	color: #b00;
	font-size: .9em;
	margin: .25em 0 0;
}

.ct-wholesale-app-existing {
	background: rgba(0,0,0,.04);
	padding: .75em 1em;
	border-radius: 4px;
	margin-bottom: 1.25em;
}

.ct-wholesale-app-submit {
	text-align: right;
}

.ct-wholesale-app-notice {
	padding: 1em 1.25em;
	border-radius: 4px;
	margin-bottom: 1.25em;
	border-left: 4px solid #888;
	background: rgba(0,0,0,.04);
}

.ct-wholesale-app-notice--success { border-left-color: #2e7d32; }
.ct-wholesale-app-notice--info    { border-left-color: #1565c0; }
.ct-wholesale-app-notice--error   { border-left-color: #b00; background: rgba(176,0,0,.05); }
