.svgw-product-wrap {
	margin: 12px 0;
}

.svgw-design-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.svgw-design-option {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: 2px solid #dcdcde;
	border-radius: 6px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.svgw-design-option:hover {
	border-color: #b8bcbf;
}

.svgw-design-option:has( input:checked ) {
	border-color: #2f7a4f;
}

.svgw-design-option img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
}

.svgw-design-option input[type="radio"] {
	margin: 0;
}

.svgw-design-thumb {
	position: relative;
	display: inline-flex;
}

/* image_only: name is hidden off-screen (title tooltip + screen readers
   still reach it -- clip-based, not display:none) but the PRICE stays
   visible as a badge on the thumbnail, since a hover-only tooltip never
   reaches a touch/mobile visitor at all -- what something costs shouldn't
   depend on whether the device supports hover. */
.svgw-design-picker--image-only .svgw-design-name {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.svgw-design-picker--image-only .svgw-design-price {
	position: absolute;
	right: -4px;
	bottom: -4px;
	background: #2f7a4f;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	padding: 3px 6px;
	border-radius: 10px;
	white-space: nowrap;
	box-shadow: 0 0 0 2px #fff;
}

/* text: name + price shown alongside the image (price as a caption under
   the thumbnail, name to the right). */
.svgw-design-picker--text .svgw-design-option {
	padding: 8px 12px;
}

.svgw-design-picker--text .svgw-design-thumb {
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.svgw-design-picker--text .svgw-design-option img {
	width: 48px;
	height: 48px;
}

.svgw-design-picker--text .svgw-design-name {
	font-weight: 500;
}

.svgw-design-picker--text .svgw-design-price {
	color: #787878;
	font-size: 12px;
}

.svgw-order-wrap {
	margin: 16px 0;
}

.svgw-order-wrap-toggle[aria-pressed="true"] {
	background: #e7f5ec;
	border-color: #2f7a4f;
	color: #2f7a4f;
}
