/* AE B2B: onderdelen van de plugin. Kleuren en vormen komen uit de --ibizz-*-variabelen van het thema. */

.ae-login-price {
	font-size: 0.9375rem;
	font-weight: 600;
}

.ae-unit {
	display: block;
	color: var(--ibizz-muted, #6b6b6b);
	font-size: 0.8125rem;
	font-weight: 400;
}

.ae-notice {
	padding: 0.9rem 1.1rem;
	border-left: 4px solid var(--ibizz-color-accent, currentColor);
	background: var(--ibizz-color-bg-alt, #f4f4f4);
	border-radius: var(--ibizz-radius-card, 4px);
}

.ae-notice--success {
	border-left-color: var(--ibizz-color-heading, #222);
}

.ae-notice p:last-child {
	margin-bottom: 0;
}

/* Kenmerken in de productsamenvatting. */
.ae-specs {
	display: grid;
	gap: 0;
	margin: 1.25rem 0;
	border-top: 1px solid var(--ibizz-color-border, #e2e2e2);
}

.ae-specs div {
	display: grid;
	grid-template-columns: minmax(8rem, 40%) 1fr;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--ibizz-color-border, #e2e2e2);
}

.ae-specs dt {
	color: var(--ibizz-muted, #6b6b6b);
}

.ae-specs dd {
	margin: 0;
	color: var(--ibizz-color-heading, #222);
	font-weight: 500;
}

.ae-datasheet a,
.ae-family-link a {
	font-weight: 600;
}

/* Artikeltabel. */
.ae-family-table {
	clear: both;
	padding-top: 2rem;
}

.ae-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ae-family-table .group_table {
	width: 100%;
	min-width: 40rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.ae-family-table .group_table th,
.ae-family-table .group_table td {
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid var(--ibizz-color-border, #e2e2e2);
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}

.ae-family-table .ae-table-head th {
	position: sticky;
	top: 0;
	background: var(--ibizz-color-primary, #222);
	color: var(--ibizz-on-primary, #fff);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.ae-family-table .group_table tbody tr:nth-child(even) td {
	background: var(--ibizz-color-bg-alt, #f7f7f7);
}

.ae-family-table .ae-sku {
	font-weight: 700;
	text-decoration: none;
}

.ae-family-table .quantity .qty {
	width: 4.5rem;
}

.ae-family-table .single_add_to_cart_button {
	margin-top: 1.25rem;
}

/* Zoeken. */
.ae-search {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.ae-search input[type="search"] {
	flex: 1;
	min-width: 0;
}

.ae-search--large input[type="search"] {
	min-height: 3.25rem;
	font-size: 1.0625rem;
}

/* Snel bestellen en account aanvragen. */
.ae-quick-order,
.ae-request-form {
	display: grid;
	gap: 0.75rem;
	max-width: 44rem;
}

.ae-quick-order textarea {
	font-family: ui-monospace, Menlo, Consolas, monospace;
}

.ae-help {
	margin: 0;
	color: var(--ibizz-muted, #6b6b6b);
	font-size: 0.9375rem;
}

.ae-request-form {
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.ae-request-form {
		grid-template-columns: 1fr 1fr;
		column-gap: 1.25rem;
	}

	.ae-request-form .ae-field--message,
	.ae-request-form .button {
		grid-column: 1 / -1;
	}

	.ae-request-form .button {
		justify-self: start;
	}
}

.ae-field {
	display: grid;
	gap: 0.3rem;
	margin: 0;
}

.ae-field label {
	font-weight: 600;
}

.ae-hp {
	position: absolute;
	left: -9999px;
}

.ae-account-group {
	padding: 0.9rem 1.1rem;
	background: var(--ibizz-color-bg-alt, #f4f4f4);
	border-radius: var(--ibizz-radius-card, 4px);
}
