/*
 * WP EasyCart: the page design panel store managers see on store pages ( 6.0.9, wp_easycart_page_editor ).
 *
 * Every rule starts at a panel's id ( #wpec_pe, the card design panel #wpec_pc, the arrange window #wpec_po, the device preview
 * #wpec_pv ) or #wpec_pe_launch,
 * so a theme's button, field and heading styles ( Hello Elementor's
 * pink button:hover, a kit's Theme Style ) never reach it. The panel's own colours, not the store's: it is a tool.
 */

#wpec_pe_launch,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) {
	--pe-bg: #ffffff;
	--pe-fg: #1e1e1e;
	--pe-muted: #50575e;
	--pe-line: #dcdcde;
	--pe-soft: #f6f7f7;
	--pe-accent: #2271b1;
	--pe-accent-dark: #135e96;
	--pe-accent-soft: #eef4fb;
	--pe-ok: #0a6b2e;
	--pe-warn: #8a4b00;
	--pe-error: #b32d2e;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.45;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) *,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) *::before,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) *::after,
#wpec_pe_launch * {
	box-sizing: border-box;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) :focus-visible,
#wpec_pe_launch:focus-visible {
	outline: 2px solid var(--pe-accent);
	outline-offset: 2px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) :focus:not(:focus-visible) {
	outline: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-icon,
#wpec_pe_launch .wpec-pe-icon {
	width: 18px;
	height: 18px;
	flex: none;
	display: block;
}

/* The button that opens it */
#wpec_pe_launch,
#wpec_pe_launch:is(:hover, :focus, :active) {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99989;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 16px 10px 12px;
	width: auto;
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: #1e1e1e;
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, .18 ), 0 8px 24px rgba( 0, 0, 0, .16 );
	cursor: pointer;
	transition: opacity .15s ease, transform .15s ease, background-color .15s ease;
}

#wpec_pe_launch:hover {
	background: #000000;
	transform: translateY( -1px );
}

html.wpec-pe-open #wpec_pe_launch {
	opacity: 0;
	pointer-events: none;
}

/* The panel */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) {
	position: fixed;
	top: var( --wp-admin--admin-bar--height, 0px );
	left: 0;
	bottom: 0;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	width: 384px;
	max-width: 100vw;
	margin: 0;
	padding: 0;
	background: var( --pe-bg );
	color: var( --pe-fg );
	border-right: 1px solid var( --pe-line );
	box-shadow: 8px 0 32px rgba( 0, 0, 0, .14 );
	transform: translateX( -104% );
	transition: transform .2s ease;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv )[hidden] {
	display: none !important;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ).is-open {
	transform: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) h2,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) h3,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) p,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) ul,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) li {
	margin: 0;
	padding: 0;
	font-family: inherit;
	color: inherit;
	line-height: 1.35;
	border: 0;
	background: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 16px 14px 20px;
	border-bottom: 1px solid var( --pe-line );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) h2 {
	font-size: 17px;
	font-weight: 650;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) h2:focus {
	outline: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-head p {
	margin-top: 3px;
	color: var( --pe-muted );
	font-size: 13px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-x,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-x:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: -4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var( --pe-fg );
	box-shadow: none;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-x:hover {
	background: var( --pe-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 16px 20px 24px;
}

/* Whose settings the page shows */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status {
	display: grid;
	gap: 10px;
	justify-items: start;
	padding: 12px 14px;
	border: 1px solid var( --pe-line );
	border-radius: 12px;
	background: var( --pe-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status.is-own {
	border-color: #c5d9ed;
	background: var( --pe-accent-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status:not(.is-own) [data-when="own"],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status.is-own [data-when="store"] {
	display: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status-text strong,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switchrow strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-status-text span,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switchrow span > span {
	display: block;
	margin-top: 2px;
	color: var( --pe-muted );
	font-size: 13px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-confirm {
	display: grid;
	gap: 10px;
	width: 100%;
	padding-top: 10px;
	border-top: 1px solid #c5d9ed;
	font-size: 13.5px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-confirm[hidden],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-ask[hidden],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-actions[hidden] {
	display: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 13.5px;
	font-weight: 400;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-check input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var( --pe-accent );
}

/* Sections */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sec {
	display: grid;
	gap: 12px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 650;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-chip {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: var( --pe-soft );
	border: 1px solid var( --pe-line );
	color: var( --pe-muted );
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.4;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-hint {
	margin-top: -4px;
	color: var( --pe-muted );
	font-size: 13px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-hidden {
	display: none !important;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	border: 0;
	white-space: nowrap;
}

/* Card styles */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-types {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 8px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-type,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-type:is(:hover, :focus, :active) {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 8px 6px 7px;
	border: 1px solid var( --pe-line );
	border-radius: 10px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .12s ease, background-color .12s ease;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-type:hover {
	border-color: #a7aaad;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-type[aria-checked="true"],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-type[aria-checked="true"]:is(:hover, :focus, :active) {
	border-color: var( --pe-accent );
	background: var( --pe-accent-soft );
	box-shadow: inset 0 0 0 1px var( --pe-accent );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card {
	display: block;
	width: 100%;
	max-width: 84px;
	height: auto;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .f { fill: #ffffff; stroke: #c3c4c7; stroke-width: 1; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .p { fill: #dcdcde; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card rect:not([class]) { fill: #646970; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .m { fill: #8c8f94; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .t { fill: #c3c4c7; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .b { fill: #1e1e1e; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .o { fill: none; stroke: #1e1e1e; stroke-width: 1; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .d { fill: none; stroke: var( --pe-accent ); stroke-width: 1; stroke-dasharray: 2 1.5; }
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-card .a { fill: none; stroke: var( --pe-accent ); stroke-width: 1.2; stroke-linecap: round; }

/* A switch row */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switchrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 4px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch:is(:hover, :focus, :active) {
	position: relative;
	flex: none;
	width: 42px;
	height: 24px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #8c8f94;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s ease;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch[aria-checked="true"],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch[aria-checked="true"]:is(:hover, :focus, :active) {
	background: var( --pe-accent );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch span {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, .25 );
	transition: transform .15s ease;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-switch[aria-checked="true"] span {
	transform: translateX( 18px );
}

/* Two or three choices side by side */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg {
	display: flex;
	gap: 3px;
	padding: 3px;
	border: 1px solid var( --pe-line );
	border-radius: 10px;
	background: var( --pe-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg [role="radio"],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg [role="radio"]:is(:hover, :focus, :active) {
	flex: 1 1 0;
	min-width: 0;
	min-height: 34px;
	margin: 0;
	padding: 6px 8px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var( --pe-fg );
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
	white-space: normal;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg [role="radio"]:hover {
	background: rgba( 0, 0, 0, .04 );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg [role="radio"][aria-checked="true"],
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-seg [role="radio"][aria-checked="true"]:is(:hover, :focus, :active) {
	background: var( --pe-bg );
	font-weight: 600;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, .14 ), 0 0 0 1px rgba( 0, 0, 0, .04 );
}

/* Screen sizes */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizes {
	display: grid;
	border: 1px solid var( --pe-line );
	border-radius: 12px;
	overflow: hidden;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-size {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 70px 104px;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-top: 1px solid var( --pe-line );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizes[data-fit="1"] .wpec-pe-size {
	grid-template-columns: minmax( 0, 1fr ) 70px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizes.is-layout .wpec-pe-size {
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.35fr );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizes[data-fit="1"] .wpec-pe-hcol {
	display: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-size:first-child {
	border-top: 0;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-size.is-head {
	padding-top: 7px;
	padding-bottom: 7px;
	background: var( --pe-soft );
	color: var( --pe-muted );
	font-size: 12px;
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-size.is-now {
	background: var( --pe-accent-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizename {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizename .wpec-pe-icon {
	color: var( --pe-muted );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizename strong {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-sizename small {
	display: block;
	color: var( --pe-muted );
	font-size: 12px;
	line-height: 1.3;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-now {
	display: none;
	margin-top: 3px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var( --pe-accent );
	color: #ffffff;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.5;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .is-now .wpec-pe-now {
	display: inline-block;
}

/* Fields */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-select,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px input {
	display: block;
	width: 100%;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0 28px 0 10px;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	background-color: var( --pe-bg );
	color: var( --pe-fg );
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	box-shadow: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2350575e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px 12px;
	cursor: pointer;
	text-overflow: ellipsis;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-select:focus,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px input:focus {
	border-color: var( --pe-accent );
	box-shadow: 0 0 0 1px var( --pe-accent );
	outline: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px {
	position: relative;
	display: block;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px input {
	padding-right: 30px;
	-moz-appearance: textfield;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px input::-webkit-inner-spin-button,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-px > span {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY( -50% );
	color: var( --pe-muted );
	font-size: 12.5px;
	pointer-events: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-fields {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 10px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-field {
	display: grid;
	gap: 5px;
	margin: 0;
	font-weight: 400;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-field > span {
	color: var( --pe-muted );
	font-size: 12.5px;
	font-weight: 600;
}

/* Colours */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-colors {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 10px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid var( --pe-line );
	border-radius: 10px;
	font-weight: 400;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color:focus-within {
	border-color: var( --pe-accent );
	box-shadow: 0 0 0 1px var( --pe-accent );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color input {
	flex: none;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color input::-webkit-color-swatch-wrapper {
	padding: 0;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color input::-webkit-color-swatch {
	border: 1px solid rgba( 0, 0, 0, .18 );
	border-radius: 7px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color input::-moz-color-swatch {
	border: 1px solid rgba( 0, 0, 0, .18 );
	border-radius: 7px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-color code {
	display: block;
	padding: 0;
	background: none;
	color: var( --pe-muted );
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
}

/* Buttons */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: auto;
	min-height: 38px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn:hover {
	background: var( --pe-soft );
	border-color: #50575e;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-primary,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-primary:is(:hover, :focus, :active) {
	border-color: var( --pe-accent );
	background: var( --pe-accent );
	color: #ffffff;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-primary:hover {
	border-color: var( --pe-accent-dark );
	background: var( --pe-accent-dark );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-quiet,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-quiet:is(:hover, :focus, :active) {
	border-color: transparent;
	background: transparent;
	color: var( --pe-accent );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-quiet:hover {
	background: var( --pe-accent-soft );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-small,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn.is-small:is(:hover, :focus, :active) {
	min-height: 32px;
	padding: 0 10px;
	font-size: 13px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn .wpec-pe-icon {
	width: 16px;
	height: 16px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn:disabled,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-btn:disabled:hover {
	opacity: .55;
	cursor: default;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-said {
	color: var( --pe-muted );
	font-size: 13px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-said.is-ok,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note.is-ok {
	color: var( --pe-ok );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-said.is-error,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note.is-error {
	color: var( --pe-error );
}

/* Links */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-more {
	gap: 0;
	padding-top: 12px;
	border-top: 1px solid var( --pe-line );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-more ul {
	list-style: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-link,
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-link:is(:hover, :focus, :active, :visited) {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var( --pe-fg );
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-link:hover {
	background: var( --pe-soft );
	color: var( --pe-accent-dark );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-link .wpec-pe-icon {
	color: var( --pe-muted );
}

/* The foot */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-foot {
	display: grid;
	gap: 10px;
	padding: 12px 20px 16px;
	border-top: 1px solid var( --pe-line );
	background: var( --pe-bg );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note {
	font-size: 13px;
	color: var( --pe-muted );
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note:empty {
	display: none;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note.is-dirty {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var( --pe-warn );
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-note.is-dirty::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-ask {
	display: grid;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-actions .wpec-pe-btn {
	flex: 1 1 auto;
}

@media ( max-width: 600px ) {
	:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) {
		top: 0;
		z-index: 100000;
		width: 100vw;
		border-right: 0;
	}
	:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-body {
		padding-left: 16px;
		padding-right: 16px;
	}
	:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) .wpec-pe-size {
		grid-template-columns: minmax( 0, 1fr ) 62px 96px;
		gap: 8px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ),
	#wpec_pe_launch {
		transition: none;
	}
}

@media print {
	:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ),
	#wpec_pe_launch {
		display: none !important;
	}
}

/* ===================================================================================================================
 * 6.0.9: the card design panel ( #wpec_pc ), the arrange window ( #wpec_po ) and the buttons that open them. The
 * panel rules above are shared ( :is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) ); what follows sets their own places.
 * ================================================================================================================= */
:is( #wpec_pe, #wpec_pc, #wpec_po, #wpec_pv ) [hidden] {
	display: none !important;
}

/* The card design panel: a drawer on the right, or the left ( is-left ) when the right would cover the card; a sheet at the bottom on phones */
#wpec_pc {
	box-sizing: border-box;
	left: auto;
	right: 0;
	border-right: 0;
	border-left: 1px solid var( --pe-line );
	box-shadow: -8px 0 32px rgba( 0, 0, 0, .14 );
	transform: translateX( 104% );
}

#wpec_pc.is-left {
	left: 0;
	right: auto;
	border-left: 0;
	border-right: 1px solid var( --pe-line );
	box-shadow: 8px 0 32px rgba( 0, 0, 0, .14 );
	transform: translateX( -104% );
}

#wpec_pc.is-open {
	transform: none;
}

html.wpec-pc-open #wpec_pe_launch {
	opacity: 0;
	pointer-events: none;
}

#wpec_pc .wpec-pe-head p {
	font-weight: 600;
	color: var( --pe-fg );
	overflow-wrap: anywhere;
}

/* The product's photo beside its name, so it is clear which card the panel is for */
#wpec_pc .wpec-pe-titles {
	flex: 1 1 auto;
	min-width: 0;
}

#wpec_pc img.wpec-pc-thumb {
	display: block;
	flex: none;
	width: 48px;
	height: 48px;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 1px solid var( --pe-line );
	border-radius: 8px;
	background: var( --pe-soft );
	object-fit: cover;
	box-shadow: none;
}

/* Changes not saved: the question stands out, and shows again when another card's button is pressed */
#wpec_pc .wpec-pe-ask {
	padding: 12px;
	border: 1px solid #f0c33c;
	border-radius: 8px;
	background: #fcf9e8;
	color: var( --pe-fg );
}

#wpec_pc .wpec-pe-ask.is-flash {
	animation: wpec-pc-flash .8s ease-out 1;
}

@keyframes wpec-pc-flash {
	0% {
		box-shadow: 0 0 0 0 rgba( 219, 166, 23, .7 );
	}
	100% {
		box-shadow: 0 0 0 12px rgba( 219, 166, 23, 0 );
	}
}

#wpec_pc .wpec-pe-input {
	display: block;
	width: 100%;
	height: 38px;
	min-height: 38px;
	margin: -6px 0 0;
	padding: 0 10px;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	box-shadow: none;
}

#wpec_pc .wpec-pe-input:focus {
	border-color: var( --pe-accent );
	box-shadow: 0 0 0 1px var( --pe-accent );
	outline: none;
}

#wpec_pc .wpec-pe-hint.is-warn,
#wpec_pc .wpec-pc-ratio.is-warn,
#wpec_pc .wpec-pc-warn {
	color: var( --pe-warn );
}

#wpec_pc .wpec-pc-ratio {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: -4px;
	color: var( --pe-muted );
	font-size: 13px;
}

/* Hard to read: black or white words in one click. */
#wpec_pc .wpec-pc-fix,
#wpec_pc .wpec-pc-fix:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0;
	padding: 3px 12px;
	border: 1px solid var( --pe-line );
	border-radius: 999px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

#wpec_pc .wpec-pc-fix:hover {
	border-color: var( --pe-accent );
	color: var( --pe-accent-dark );
}

#wpec_pc .wpec-pc-fix[hidden] {
	display: none;
}

#wpec_pc .wpec-pc-ratio.is-ok {
	color: var( --pe-ok );
}

#wpec_pc .wpec-pc-warn {
	padding: 8px 10px;
	border-radius: 8px;
	background: #fcf9e8;
	border: 1px solid #f0e0a8;
	font-size: 13px;
}

#wpec_pc .wpec-pc-label {
	display: block;
	margin-bottom: -4px;
	color: var( --pe-muted );
	font-size: 12.5px;
	font-weight: 600;
}

#wpec_pc .wpec-pc-chips {
	display: grid;
	gap: 6px;
}

#wpec_pc .wpec-pc-chiprow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

#wpec_pc .wpec-pc-chiplabel {
	margin-right: 2px;
	color: var( --pe-muted );
	font-size: 12px;
	font-weight: 600;
}

#wpec_pc .wpec-pc-chip,
#wpec_pc .wpec-pc-chip:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0;
	padding: 3px 11px;
	border: 1px solid var( --pe-line );
	border-radius: 999px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	box-shadow: none;
	cursor: pointer;
}

#wpec_pc .wpec-pc-chip:hover {
	border-color: #a7aaad;
	background: var( --pe-soft );
}

#wpec_pc .wpec-pc-shapes {
	display: grid;
	grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	gap: 6px;
}

#wpec_pc .wpec-pc-hovers {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 6px;
}

#wpec_pc .wpec-pc-shape,
#wpec_pc .wpec-pc-shape:is(:hover, :focus, :active),
#wpec_pc .wpec-pc-hover,
#wpec_pc .wpec-pc-hover:is(:hover, :focus, :active) {
	display: flex;
	align-items: center;
	gap: 4px;
	width: auto;
	min-height: 0;
	margin: 0;
	border: 1px solid var( --pe-line );
	border-radius: 9px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
}

#wpec_pc .wpec-pc-shape,
#wpec_pc .wpec-pc-shape:is(:hover, :focus, :active) {
	flex-direction: column;
	justify-content: center;
	padding: 6px 3px;
	text-align: center;
}

#wpec_pc .wpec-pc-hover,
#wpec_pc .wpec-pc-hover:is(:hover, :focus, :active) {
	justify-content: space-between;
	min-height: 36px;
	padding: 6px 10px;
	text-align: left;
	font-size: 13px;
	font-weight: 500;
}

#wpec_pc .wpec-pc-hover small {
	flex: none;
	padding: 1px 6px;
	border-radius: 999px;
	background: var( --pe-soft );
	color: var( --pe-muted );
	font-size: 11px;
	font-weight: 600;
}

#wpec_pc .wpec-pc-shape:hover,
#wpec_pc .wpec-pc-hover:hover {
	border-color: #a7aaad;
}

#wpec_pc .wpec-pc-shape[aria-checked="true"],
#wpec_pc .wpec-pc-shape[aria-checked="true"]:is(:hover, :focus, :active),
#wpec_pc .wpec-pc-hover[aria-checked="true"],
#wpec_pc .wpec-pc-hover[aria-checked="true"]:is(:hover, :focus, :active) {
	border-color: var( --pe-accent );
	background: var( --pe-accent-soft );
	box-shadow: inset 0 0 0 1px var( --pe-accent );
}

#wpec_pc .wpec-pc-badgedraw {
	display: block;
	width: 100%;
	max-width: 52px;
	height: auto;
}

#wpec_pc .wpec-pc-badgedraw .p { fill: #dcdcde; }
#wpec_pc .wpec-pc-badgedraw .b { fill: #1e1e1e; }
#wpec_pc .wpec-pc-badgedraw .t { fill: #1e1e1e; }
#wpec_pc .wpec-pc-badgedraw .x { fill: none; stroke: #8c8f94; stroke-width: 2; stroke-linecap: round; }

/* The arrange window: a modal <dialog> in the middle of the screen */
#wpec_po {
	box-sizing: border-box;
	position: fixed;
	inset: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: min( 640px, calc( 100vw - 32px ) );
	height: auto;
	max-width: none;
	max-height: min( 86vh, 780px );
	margin: auto;
	padding: 0;
	border: 1px solid var( --pe-line );
	border-radius: 14px;
	box-shadow: 0 12px 48px rgba( 0, 0, 0, .28 );
	transform: none;
	overflow: hidden;
}

#wpec_po:not([open]) {
	display: none !important;
}

#wpec_po::backdrop {
	background: rgba( 0, 0, 0, .45 );
}

html.wpec-po-shown #wpec_pe_launch {
	opacity: 0;
	pointer-events: none;
}

#wpec_po .wpec-po-warn {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 12px 20px 0;
	padding: 10px 12px;
	border: 1px solid #f0e0a8;
	border-radius: 10px;
	background: #fcf9e8;
	color: #4d3800;
	font-size: 13px;
	line-height: 1.4;
}

#wpec_po .wpec-po-warn a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
}

#wpec_po .wpec-po-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 12px 20px 0;
}

#wpec_po .wpec-po-find {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 220px;
	min-width: 0;
	margin: 0;
	font-weight: 400;
}

#wpec_po .wpec-po-find .wpec-pe-icon {
	position: absolute;
	left: 10px;
	color: var( --pe-muted );
	pointer-events: none;
}

#wpec_po .wpec-po-find input {
	display: block;
	width: 100%;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0 10px 0 34px;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	background: var( --pe-bg );
	color: var( --pe-fg );
	font-family: inherit;
	font-size: 14px;
	box-shadow: none;
}

#wpec_po .wpec-po-find input:focus {
	border-color: var( --pe-accent );
	box-shadow: 0 0 0 1px var( --pe-accent );
	outline: none;
}

#wpec_po .wpec-po-found {
	color: var( --pe-muted );
	font-size: 12.5px;
}

#wpec_po .wpec-po-start {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0 auto;
	color: var( --pe-muted );
	font-size: 12.5px;
	font-weight: 600;
}

#wpec_po .wpec-po-start .wpec-pe-select {
	width: auto;
	min-width: 170px;
}

#wpec_po .wpec-po-help {
	padding: 8px 20px 0;
	color: var( --pe-muted );
	font-size: 12.5px;
}

#wpec_po .wpec-po-list {
	flex: 1 1 auto;
	min-height: 120px;
	margin: 10px 20px 0;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
	border: 1px solid var( --pe-line );
	border-radius: 12px;
}

#wpec_po .wpec-po-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 8px;
	border-top: 1px solid var( --pe-line );
	background: var( --pe-bg );
	list-style: none;
}

#wpec_po .wpec-po-row:first-child {
	border-top: 0;
}

#wpec_po .wpec-po-row.is-dragging {
	position: relative;
	z-index: 1;
	background: var( --pe-accent-soft );
	box-shadow: 0 6px 18px rgba( 0, 0, 0, .16 );
}

#wpec_po .wpec-po-handle,
#wpec_po .wpec-po-handle:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var( --pe-muted );
	box-shadow: none;
	cursor: grab;
	touch-action: none;
}

#wpec_po .wpec-po-handle:hover {
	background: var( --pe-soft );
	color: var( --pe-fg );
}

#wpec_po .wpec-po-row.is-dragging .wpec-po-handle {
	cursor: grabbing;
}

#wpec_po .wpec-po-handle .wpec-pe-icon {
	fill: currentColor;
}

#wpec_po .wpec-po-pos {
	flex: none;
	min-width: 22px;
	color: var( --pe-muted );
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

#wpec_po .wpec-po-thumb {
	flex: none;
	display: block;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 6px;
	object-fit: cover;
	background: var( --pe-soft );
	border: 1px solid var( --pe-line );
}

#wpec_po .wpec-po-name {
	flex: 1 1 auto;
	min-width: 0;
}

#wpec_po .wpec-po-name strong {
	display: block;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#wpec_po .wpec-po-name small {
	display: block;
	overflow: hidden;
	color: var( --pe-muted );
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#wpec_po .wpec-po-moves {
	display: flex;
	flex: none;
	gap: 2px;
}

#wpec_po .wpec-po-moves button,
#wpec_po .wpec-po-moves button:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var( --pe-fg );
	box-shadow: none;
	cursor: pointer;
}

#wpec_po .wpec-po-moves button:hover {
	border-color: var( --pe-line );
	background: var( --pe-soft );
}

#wpec_po .wpec-po-row:first-child [data-po="top"],
#wpec_po .wpec-po-row:first-child [data-po="up"],
#wpec_po .wpec-po-row:last-child [data-po="down"] {
	visibility: hidden;
}

#wpec_po .wpec-po-none {
	margin: 10px 20px 0;
	color: var( --pe-muted );
	font-size: 13px;
}

#wpec_po .wpec-pe-foot {
	margin-top: 14px;
}

#wpec_po .wpec-pe-actions {
	flex-wrap: wrap;
}

#wpec_po .wpec-po-clearbtn {
	margin-right: auto;
}

/* The design button on a store card's photo, at its bottom right ( the badges sit at the top ); a theme's button styles never reach it */
button.wpec-pc-gear.wpec-pc-gear,
button.wpec-pc-gear.wpec-pc-gear:is(:hover, :focus, :active) {
	position: absolute;
	top: auto;
	bottom: 8px;
	right: 8px;
	z-index: 690;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba( 0, 0, 0, .1 );
	border-radius: 50%;
	background: #ffffff;
	color: #1e1e1e;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, .22 );
	font-size: 0;
	line-height: 0;
	text-decoration: none;
	cursor: pointer;
	opacity: .94;
	transition: opacity .12s ease, transform .12s ease, box-shadow .12s ease;
}

button.wpec-pc-gear.wpec-pc-gear:hover {
	opacity: 1;
	background: #ffffff;
	color: #2271b1;
	transform: scale( 1.06 );
	box-shadow: 0 2px 8px rgba( 0, 0, 0, .25 );
}

/* The card the panel is open for: its button filled, the card ringed ( wpec-pc-editing ); the card a switch waits for is dashed ( wpec-pc-next ) */
button.wpec-pc-gear.wpec-pc-gear[aria-expanded="true"] {
	opacity: 1;
	border-color: #2271b1;
	background: #2271b1;
	color: #ffffff;
	transform: scale( 1.06 );
	box-shadow: 0 2px 8px rgba( 0, 0, 0, .25 );
}

.wpec-pc-editing.wpec-pc-editing {
	outline: 3px solid #2271b1 !important;
	outline-offset: 3px !important;
}

.wpec-pc-next.wpec-pc-next {
	outline: 2px dashed #2271b1 !important;
	outline-offset: 3px !important;
}

button.wpec-pc-gear.wpec-pc-gear:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

button.wpec-pc-gear.wpec-pc-gear .wpec-pe-icon {
	display: block;
	width: 17px;
	height: 17px;
}

/* The Arrange products button in the store page's sort bar */
.ec_product_admin_reorder_button_holder.wpec-po-holder {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	height: auto;
	margin: 0 0 10px;
	float: none;
}

.ec_product_page.wpec-store-filters .ec_product_page_sort > .ec_product_admin_reorder_button_holder.wpec-po-holder {
	width: auto;
	margin: 0;
}

.wpec-po-holder > button.wpec-po-open,
.wpec-po-holder > button.wpec-po-open:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: auto;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0 13px 0 10px;
	border: 1px solid #c3c4c7;
	border-radius: 999px;
	background: #ffffff;
	color: #1e1e1e;
	box-shadow: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
}

.wpec-po-holder > button.wpec-po-open:hover {
	border-color: #8c8f94;
	background: #f6f7f7;
}

.wpec-po-holder > button.wpec-po-open:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.wpec-po-holder > button.wpec-po-open .wpec-pe-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex: none;
}

@media ( max-width: 600px ) {
	#wpec_pc,
	#wpec_pc.is-left {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		max-height: 64vh;
		border: 0;
		border-top: 1px solid var( --pe-line );
		border-radius: 14px 14px 0 0;
		box-shadow: 0 -8px 32px rgba( 0, 0, 0, .18 );
		transform: translateY( 104% );
	}
	#wpec_pc.is-open {
		transform: none;
	}
	#wpec_pc .wpec-pc-shapes {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}
	#wpec_po {
		width: 100vw;
		max-height: 92vh;
		margin: auto 0 0;
		border-radius: 14px 14px 0 0;
	}
	#wpec_po .wpec-po-list,
	#wpec_po .wpec-po-warn {
		margin-left: 12px;
		margin-right: 12px;
	}
	#wpec_po .wpec-po-tools,
	#wpec_po .wpec-po-help {
		padding-left: 12px;
		padding-right: 12px;
	}
	#wpec_po .wpec-po-start {
		margin-left: 0;
	}
	#wpec_po .wpec-po-pos {
		display: none;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	#wpec_pc,
	button.wpec-pc-gear.wpec-pc-gear {
		transition: none;
	}
	#wpec_pc .wpec-pe-ask.is-flash {
		animation: none;
	}
}

@media print {
	#wpec_pc,
	#wpec_po,
	button.wpec-pc-gear,
	.wpec-po-holder {
		display: none !important;
	}
	.wpec-pc-editing.wpec-pc-editing,
	.wpec-pc-next.wpec-pc-next {
		outline: none !important;
	}
}

/* The device preview ( 6.0.9-card-design-effects ): a modal <dialog> filling most of the screen, the page in a phone's or a
   tablet's frame, scaled to fit. */
#wpec_pv {
	box-sizing: border-box;
	position: fixed;
	inset: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: min( 1440px, calc( 100vw - 32px ) );
	height: calc( 100vh - 32px );
	height: calc( 100dvh - 32px );
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 1px solid var( --pe-line );
	border-radius: 14px;
	box-shadow: 0 12px 48px rgba( 0, 0, 0, .28 );
	transform: none;
	overflow: hidden;
}

#wpec_pv:not([open]) {
	display: none !important;
}

#wpec_pv::backdrop {
	background: rgba( 0, 0, 0, .55 );
}

html.wpec-pv-shown #wpec_pe_launch {
	opacity: 0;
	pointer-events: none;
}

#wpec_pv .wpec-pv-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 12px 20px;
	border-bottom: 1px solid var( --pe-line );
}

#wpec_pv .wpec-pv-devices {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	border-radius: 10px;
	background: var( --pe-soft );
}

#wpec_pv .wpec-pv-device,
#wpec_pv .wpec-pv-device:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: var( --pe-fg );
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
}

#wpec_pv .wpec-pv-device:hover {
	background: var( --pe-bg );
}

#wpec_pv .wpec-pv-device[aria-checked="true"] {
	border-color: var( --pe-accent );
	background: var( --pe-bg );
	color: var( --pe-accent-dark );
	font-weight: 600;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, .08 );
}

#wpec_pv .wpec-pv-size {
	color: var( --pe-muted );
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

#wpec_pv .wpec-pv-tab,
#wpec_pv .wpec-pv-tab:is(:hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	color: var( --pe-accent-dark );
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

#wpec_pv .wpec-pv-tab:hover span {
	text-decoration: underline;
}

#wpec_pv .wpec-pv-unsaved {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 20px;
	background: #fcf9e8;
	border-bottom: 1px solid #f0e0a8;
	color: var( --pe-warn );
	font-size: 13px;
}

#wpec_pv .wpec-pv-unsaved[hidden] {
	display: none;
}

#wpec_pv .wpec-pv-stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #eceef1;
}

#wpec_pv .wpec-pv-screen {
	position: relative;
	flex: none;
}

#wpec_pv .wpec-pv-bezel {
	position: absolute;
	top: 0;
	left: 0;
	padding: 12px;
	border-radius: 34px;
	background: #1e1e1e;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, .25 );
	transform-origin: 0 0;
}

#wpec_pv .wpec-pv-bezel:is([data-device="tablet"], [data-device="tablet-side"]) {
	border-radius: 24px;
}

#wpec_pv .wpec-pv-bezel iframe {
	display: block;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #ffffff;
}

#wpec_pv .wpec-pv-bezel:is([data-device="tablet"], [data-device="tablet-side"]) iframe {
	border-radius: 12px;
}

#wpec_pv .wpec-pv-wait {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX( -50% );
	max-width: calc( 100% - 32px );
	margin: 0;
	padding: 8px 14px;
	border-radius: 999px;
	background: var( --pe-bg );
	color: var( --pe-muted );
	font-size: 13px;
	box-shadow: 0 2px 10px rgba( 0, 0, 0, .14 );
}

#wpec_pv .wpec-pv-wait.is-warn {
	color: var( --pe-warn );
}

#wpec_pv .wpec-pv-wait[hidden] {
	display: none;
}

@media ( max-width: 600px ) {
	#wpec_pv {
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
	}

	#wpec_pv .wpec-pv-device span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect( 0 0 0 0 );
		white-space: nowrap;
	}

	#wpec_pv .wpec-pv-tab {
		margin-left: 0;
	}
}
