/**
 * Tarifs Pro front-end styles.
 *
 * Deliberately restrained: the plugin is installed on shops whose theme we have never
 * seen, so it inherits colours and fonts instead of imposing its own.
 */

.tarifs-pro-tax-label {
	font-size: 0.75em;
	opacity: 0.75;
	margin-left: 0.25em;
	white-space: nowrap;
}

/* Quantity tier table ----------------------------------------------------- */

.tarifs-pro-tiers {
	width: 100%;
	max-width: 22em;
	margin: 1em 0;
	border-collapse: collapse;
	font-size: 0.95em;
}

.tarifs-pro-tiers caption {
	text-align: left;
	font-weight: 600;
	padding-bottom: 0.4em;
}

.tarifs-pro-tiers th,
.tarifs-pro-tiers td {
	padding: 0.45em 0.8em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	text-align: left;
}

.tarifs-pro-tiers thead th {
	background: rgba(0, 0, 0, 0.04);
	font-weight: 600;
}

.tarifs-pro-tiers tbody tr:last-child td {
	font-weight: 600;
}

.tarifs-pro-tiers__notice {
	font-size: 0.85em;
	opacity: 0.8;
	margin-top: -0.5em;
}

.tarifs-pro-catalog-hint {
	display: block;
	font-size: 0.85em;
	opacity: 0.85;
	margin-bottom: 0.4em;
}

/* Cart nudges ------------------------------------------------------------- */

.tarifs-pro-upsell__item + .tarifs-pro-upsell__item {
	margin-top: 0.3em;
}

.tarifs-pro-blocks-notice {
	margin: 0 0 1em;
	padding: 0.9em 1.1em;
	border-left: 3px solid currentColor;
	background: rgba(0, 0, 0, 0.03);
	font-size: 0.95em;
}

.tarifs-pro-blocks-notice p {
	margin: 0 0 0.3em;
}

.tarifs-pro-blocks-notice p:last-child {
	margin-bottom: 0;
}

/* Application form -------------------------------------------------------- */

.tarifs-pro-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0 1.2em;
}

.tarifs-pro-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.tarifs-pro-form__field input,
.tarifs-pro-form select {
	width: 100%;
}

.tarifs-pro-form__legal {
	font-size: 0.85em;
	opacity: 0.8;
}

.tarifs-pro-notice {
	padding: 0.9em 1.1em;
	margin-bottom: 1.2em;
	border-left: 3px solid currentColor;
	background: rgba(0, 0, 0, 0.03);
}

/* Account area ------------------------------------------------------------ */

.tarifs-pro-conditions {
	margin: 0 0 1.5em 1.1em;
}

.tarifs-pro-addresses,
.tarifs-pro-lists {
	list-style: none;
	margin: 0 0 1.5em;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1em;
}

.tarifs-pro-address {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	padding: 1em;
}

.tarifs-pro-schedule .tarifs-pro-overdue td {
	font-weight: 600;
}

.tarifs-pro-address-picker__item {
	display: inline-block;
	margin: 0.2em 0.4em 0.2em 0;
	padding: 0.2em 0.7em;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 999px;
	font-size: 0.9em;
	text-decoration: none;
}

/* Trap for robots: off screen for everyone, still in the document for them. */
.tarifs-pro-form__hp {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
