/*
 * The gift wrap option always sits on its own full-width row below the Add to cart button,
 * whatever layout the theme uses for the form (flex without wrapping, grid or floats).
 * !important is limited to flex-wrap: theme selectors such as ".woocommerce div.product form.cart"
 * are more specific and would otherwise keep the option squeezed next to the button.
 */
form.cart:has(> .pzgw-gift-wrap),
.woocommerce-variation-add-to-cart:has(> .pzgw-gift-wrap) {
	flex-wrap: wrap !important;
}

.pzgw-gift-wrap {
	display: block;
	box-sizing: border-box;
	float: none;
	clear: both;
	flex: 0 0 100%;
	grid-column: 1 / -1;
	order: 999;
	width: 100%;
	max-width: 100%;
	margin: 0.75em 0 0;
}

.pzgw-gift-wrap__label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	margin: 0;
	font-weight: normal;
	cursor: pointer;
}

.pzgw-gift-wrap__input {
	margin: 0;
	cursor: pointer;
}

.pzgw-gift-wrap__price {
	opacity: 0.85;
}
