/* Pre-order products only (see WCDP_Frontend::product_class(), which adds
   "wcdp-preorder" to the product wrapper div via the woocommerce_post_class
   filter). The theme's own form.cart rule
   (resources/assets/styles/common/_shop-single.scss) makes it a flex row from
   the md breakpoint up; this overrides that back to a plain block layout so
   the deposit block, quantity input, button and payment-icons image each sit
   on their own line, without touching that rule for any other product. */
.woocommerce div.product.wcdp-preorder form.cart {
	display: block;
}

.woocommerce div.product.wcdp-preorder form.cart > * {
	display: block;
	margin: 0 0 14px;
}

.woocommerce div.product.wcdp-preorder form.cart > *:last-child {
	margin-bottom: 0;
}

.woocommerce div.product.wcdp-preorder form.cart img {
	max-width: 200px;
	margin-left: 0;
}

.woocommerce div.product.wcdp-preorder form.cart button[type=submit] {
	margin: 0 10px;
}

/* Wraps our own info block together with WooCommerce Deposits' own
   .wc-deposits-wrapper (rendered as a sibling inside this div), so both
   can be styled as one unit. Add your own background/border/padding here. */
.wcdp-preorder-combined {
	border: 1px solid;
    padding: 15px 15px 0 15px;
    margin-bottom: 20px;
}

.wcdp-preorder-info {
	display: block;
	margin: 0 0 0.75em;
	font-size: 0.9em;
}

.wcdp-preorder-info p {
	margin: 0 0 0.4em;
	line-height: 1.4;
}

.wcdp-preorder-info p:last-child {
	margin-bottom: 0;
}

.wcdp-preorder-availability {
	font-weight: 600;
	margin-bottom: 0.6em !important;
}

.wcdp-preorder-disclaimer {
	opacity: 0.65;
	font-size: 0.85em;
}
