.gwfw-product,
.gwfw-checkout {
	margin: 0 0 1.25em;
	padding: 1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
}

.gwfw-product.gwfw-active {
	border-color: currentColor;
}

.gwfw-product,
.gwfw-checkout-intro {
	display: flex;
	gap: 1em;
	align-items: flex-start;
}

.gwfw-image-wrap {
	flex: 0 0 auto;
	max-width: 35%;
}

.gwfw-image-wrap img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	cursor: zoom-in;
}

.gwfw-body {
	flex: 1 1 auto;
	min-width: 0;
}

.gwfw-toggle-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	margin: 0;
	cursor: pointer;
	font-weight: 600;
}

.gwfw-price {
	font-weight: normal;
	opacity: 0.8;
}

.gwfw-description {
	margin-top: 0.5em;
	font-size: 0.92em;
}

.gwfw-description p:last-child {
	margin-bottom: 0;
}

.gwfw-details {
	margin-top: 0.75em;
}

.gwfw-details[hidden] {
	display: none;
}

.gwfw-qty-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
}

.gwfw-qty,
.gwfw-checkout-qty {
	width: 4.5em;
	text-align: center;
}

.gwfw-summary,
.gwfw-note {
	margin: 0.5em 0 0;
	font-size: 0.92em;
}

.gwfw-checkout-title {
	margin-top: 0;
}

.gwfw-checkout-intro {
	margin-bottom: 1em;
}

.gwfw-checkout-items {
	width: 100%;
	margin: 0;
}

.gwfw-checkout-items .gwfw-col-wraps {
	text-align: right;
	white-space: nowrap;
	width: 1%;
}

.gwfw-max {
	opacity: 0.7;
	margin-left: 0.25em;
}

.gwfw-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2em;
	background: rgba(0, 0, 0, 0.8);
	cursor: zoom-out;
}

.gwfw-lightbox img {
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gwfw-lightbox-close {
	position: absolute;
	top: 0.5em;
	right: 0.75em;
	background: none;
	border: 0;
	color: #fff;
	font-size: 2.5em;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 480px) {
	.gwfw-product,
	.gwfw-checkout-intro {
		flex-direction: column;
	}

	.gwfw-image-wrap {
		max-width: 60%;
	}
}

/* Checkout block (order summary) */
.gwfw-block-checkout {
	margin: 1em 0 0;
	padding: 1em;
}

.gwfw-block-checkout .gwfw-checkout-title {
	font-size: 1em;
	margin: 0 0 0.75em;
}

.gwfw-block-checkout .gwfw-image-wrap {
	max-width: 30%;
}

.gwfw-block-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gwfw-block-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
	padding: 0.5em 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.gwfw-block-item label {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.gwfw-block-control {
	white-space: nowrap;
}

.gwfw-block-checkout.gwfw-busy {
	opacity: 0.6;
	transition: opacity 0.2s;
}

.gwfw-error {
	margin: 0.5em 0 0;
	color: #b32d2e;
	font-size: 0.92em;
}
