

.afv-product-editor__rendered-text {
	font-synthesis: none;
}

.afv-product-editor,
.afv-product-editor-preview-gallery {
	--afv-editor-starter-icon-size: 30px;
	--afv-editor-starter-glyph-size: 20px;
	--afv-editor-overlay-control-scale: 1.32;
}

.afv-product-editor {
	position: relative;
}

:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]):focus:not(:focus-visible),
:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]) :is(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
	outline: none !important;
}

:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]):focus-visible,
:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]) :is(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid #58aee8 !important;
	outline-offset: 2px;
}

:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]) {
	-webkit-user-select: none;
	user-select: none;
}

:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]):is(input, textarea, [contenteditable="true"]),
:is(.afv-product-editor, .afv-product-editor-preview-gallery, [class^="afv-product-editor"], [class*=" afv-product-editor"]) :is(input, textarea, [contenteditable="true"]) {
	-webkit-user-select: text;
	user-select: text;
}


.woocommerce-product-gallery__trigger{

	display: none!important;
}

.afv-product-editor-preview-gallery {
	position: relative;
}


.afv-product-editor-preview-gallery__wrapper {
	margin: 0;
}

.afv-product-editor-preview-gallery__image {
	width: 100%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}



.afv-product-editor-preview-stage {
	width: 100%;
	display: block;
	position: relative;
}

.afv-product-editor-preview-stage.is-transparent-background {
	background-color: #ffffff;
	background-image: conic-gradient(#eeeeee 25%, #ffffff 0 50%, #eeeeee 0 75%, #ffffff 0);
	background-size: 20px 20px;
}

.afv-product-editor-preview-stage svg {
	display: block;
	width: 100%;
	height: auto;
}

.afv-product-editor-size-cover {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	overflow: hidden;
	container-type: inline-size;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-size: 2.3cqw;
	line-height: 1.4;
	text-align: center;
	color: var(--afv-cover-body-color, #555555);
	pointer-events: none;
}

.afv-product-editor-size-cover h1,
.afv-product-editor-size-cover h2,
.afv-product-editor-size-cover h3 {
	margin: 0 0 3cqw;
	font-family: inherit;
	font-size: 32px;
	font-size: 5cqw;
	font-weight: 700;
	line-height: 1.2;
	color: var(--afv-cover-title-color, #111111);
}

.afv-product-editor-size-cover p {
	margin: 0;
	color: var(--afv-cover-body-color, #555555);
}

.afv-product-editor-size-cover img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.afv-product-editor-cover__content {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.afv-product-editor-cover__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
}

.afv-product-editor-cover__icon {
	width: 14.5cqw;
	height: 14.5cqw;
	margin-bottom: 4cqw;
}

.afv-product-editor-cover__logo {
	position: absolute;
	bottom: 1cqw;
	width: 19cqw;
	height: 19cqw;
}

.afv-product-editor__canvas-action-bar {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	width: 100%;
	margin: 0 0 8px;
	pointer-events: auto;
}

.afv-product-editor__canvas-action-bar[hidden] {
	display: none;
}

.afv-product-editor__canvas-action-button,
.afv-product-editor__canvas-rotate-button,
.afv-product-editor__canvas-fullscreen-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.94);
	color: #111111;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.afv-product-editor__canvas-action-button:disabled,
.afv-product-editor__canvas-rotate-button:disabled,
.afv-product-editor__canvas-fullscreen-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.afv-product-editor__canvas-action-button[hidden],
.afv-product-editor__canvas-rotate-button[hidden],
.afv-product-editor__canvas-fullscreen-button[hidden] {
	display: none;
}

.afv-product-editor__canvas-action-button:not(:disabled):hover,
.afv-product-editor__canvas-action-button:not(:disabled):focus,
.afv-product-editor__canvas-rotate-button:not(:disabled):hover,
.afv-product-editor__canvas-rotate-button:not(:disabled):focus,
.afv-product-editor__canvas-fullscreen-button:not(:disabled):hover,
.afv-product-editor__canvas-fullscreen-button:not(:disabled):focus {
	border-color: #111111;
	background: #ffffff;
}

.afv-product-editor__canvas-action-button.is-active,
.afv-product-editor__canvas-rotate-button.is-active,
.afv-product-editor__canvas-fullscreen-button.is-active {
	border-color: #58aee8;
	background: #d9efff;
	color: #2b7fb8;
}

.afv-product-editor__canvas-template-lock-button.is-active {
	border-color: #d59a2f;
	background: #fff4d8;
	color: #8a5a00;
}

.afv-product-editor__icon {
	display: block;
	width: 18px;
	height: 18px;
	background: currentColor;
	pointer-events: none;
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
}

.afv-product-editor__icon--close {
	-webkit-mask-image: url("../icons/editor/close.svg");
	mask-image: url("../icons/editor/close.svg");
}

.afv-product-editor__icon--unlock {
	-webkit-mask-image: url("../icons/editor/unlock.svg");
	mask-image: url("../icons/editor/unlock.svg");
}

.afv-product-editor__icon--trash {
	-webkit-mask-image: url("../icons/editor/trash.svg");
	mask-image: url("../icons/editor/trash.svg");
}

.afv-product-editor__icon--align-left {
	-webkit-mask-image: url("../icons/editor/align-left.svg");
	mask-image: url("../icons/editor/align-left.svg");
}

.afv-product-editor__icon--align-center {
	-webkit-mask-image: url("../icons/editor/align-center.svg");
	mask-image: url("../icons/editor/align-center.svg");
}

.afv-product-editor__icon--align-right {
	-webkit-mask-image: url("../icons/editor/align-right.svg");
	mask-image: url("../icons/editor/align-right.svg");
}

.afv-product-editor__icon--align-justify {
	-webkit-mask-image: url("../icons/editor/align-justify.svg");
	mask-image: url("../icons/editor/align-justify.svg");
}

.afv-product-editor__icon--canvas-rotate {
	-webkit-mask-image: url("../icons/editor/canvas-rotate.svg");
	mask-image: url("../icons/editor/canvas-rotate.svg");
}

.afv-product-editor__icon--layers {
	-webkit-mask-image: url("../icons/editor/layers.svg");
	mask-image: url("../icons/editor/layers.svg");
}

.afv-product-editor__icon--ruler {
	-webkit-mask-image: url("../icons/editor/add-positioning.svg");
	mask-image: url("../icons/editor/add-positioning.svg");
}

.afv-product-editor__icon--undo {
	-webkit-mask-image: url("../icons/editor/undo.svg");
	mask-image: url("../icons/editor/undo.svg");
}

.afv-product-editor__icon--redo {
	-webkit-mask-image: url("../icons/editor/redo.svg");
	mask-image: url("../icons/editor/redo.svg");
}

.afv-product-editor__icon--transform-rotate-left {
	-webkit-mask-image: url("../icons/editor/transform-rotate-left.svg");
	mask-image: url("../icons/editor/transform-rotate-left.svg");
}

.afv-product-editor__icon--transform-rotate-right {
	-webkit-mask-image: url("../icons/editor/transform-rotate-right.svg");
	mask-image: url("../icons/editor/transform-rotate-right.svg");
}

.afv-product-editor__icon--transform-flip-x {
	-webkit-mask-image: url("../icons/editor/transform-flip-x.svg");
	mask-image: url("../icons/editor/transform-flip-x.svg");
}

.afv-product-editor__icon--transform-flip-y {
	-webkit-mask-image: url("../icons/editor/transform-flip-y.svg");
	mask-image: url("../icons/editor/transform-flip-y.svg");
}

.afv-product-editor__icon--canvas-fullscreen-enter {
	-webkit-mask-image: url("../icons/editor/canvas-fullscreen-enter.svg");
	mask-image: url("../icons/editor/canvas-fullscreen-enter.svg");
}

.afv-product-editor__icon--canvas-fullscreen-exit {
	-webkit-mask-image: url("../icons/editor/canvas-fullscreen-exit.svg");
	mask-image: url("../icons/editor/canvas-fullscreen-exit.svg");
}

.afv-product-editor__icon--template-lock {
	-webkit-mask-image: url("../icons/editor/template-lock.svg");
	mask-image: url("../icons/editor/template-lock.svg");
}

.afv-product-editor__icon--position-origin {
	-webkit-mask-image: url("../icons/editor/position-origin.svg");
	mask-image: url("../icons/editor/position-origin.svg");
}

.afv-product-editor__icon--palette {
	-webkit-mask-image: url("../icons/editor/palette.svg");
	mask-image: url("../icons/editor/palette.svg");
}

.afv-product-editor__icon--shape-square {
	-webkit-mask-image: url("../icons/editor/shape-square.svg");
	mask-image: url("../icons/editor/shape-square.svg");
}

.afv-product-editor__icon--shape-circle {
	-webkit-mask-image: url("../icons/editor/shape-circle.svg");
	mask-image: url("../icons/editor/shape-circle.svg");
}

.afv-product-editor__icon--shape-triangle {
	-webkit-mask-image: url("../icons/editor/shape-triangle.svg");
	mask-image: url("../icons/editor/shape-triangle.svg");
}

.afv-product-editor__icon--shape-right-triangle {
	-webkit-mask-image: url("../icons/editor/shape-right-triangle.svg");
	mask-image: url("../icons/editor/shape-right-triangle.svg");
}

.afv-product-editor__icon--shape-octagon {
	-webkit-mask-image: url("../icons/editor/shape-octagon.svg");
	mask-image: url("../icons/editor/shape-octagon.svg");
}

.afv-product-editor__icon--shape-line {
	-webkit-mask-image: url("../icons/editor/shape-line.svg");
	mask-image: url("../icons/editor/shape-line.svg");
}

.afv-product-editor__icon--qr-mode-url {
	-webkit-mask-image: url("../icons/editor/qr-mode-url.svg");
	mask-image: url("../icons/editor/qr-mode-url.svg");
}

.afv-product-editor__icon--qr-mode-contact {
	-webkit-mask-image: url("../icons/editor/qr-mode-contact.svg");
	mask-image: url("../icons/editor/qr-mode-contact.svg");
}

.afv-product-editor__icon--qr-mode-text {
	-webkit-mask-image: url("../icons/editor/qr-mode-text.svg");
	mask-image: url("../icons/editor/qr-mode-text.svg");
}

.afv-product-editor__icon--qr-mode-wifi {
	-webkit-mask-image: url("../icons/editor/qr-mode-wifi.svg");
	mask-image: url("../icons/editor/qr-mode-wifi.svg");
}

.afv-product-editor__canvas-rotate-icon,
.afv-product-editor__canvas-layer-icon,
.afv-product-editor__canvas-ruler-icon,
.afv-product-editor__canvas-undo-icon,
.afv-product-editor__canvas-redo-icon,
.afv-product-editor__canvas-fullscreen-icon,
.afv-product-editor__canvas-template-lock-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.afv-product-editor-preview-gallery__tools {
	width: 100%;
	margin-top: 10px;
}

.afv-product-editor-preview-gallery__tools:empty {
	display: none;
}

.afv-product-editor-preview-gallery__tools .afv-product-editor__launcher {
	--afv-editor-starter-icon-size: 24px;
	--afv-editor-starter-glyph-size: 16px;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 6px;
	border: 1px solid #e3e3e3;
	background: #ffffff;
	box-sizing: border-box;
}

.afv-product-editor-preview-gallery__tools .afv-product-editor__starter-button {
	width: 74px;
	min-height: 58px;
	gap: 4px;
	padding: 6px 4px;
}

.afv-product-editor-preview-gallery__tools .afv-product-editor__starter-text {
	font-size: 10.5px;
	line-height: 1.15;
}

body.afv-product-editor-canvas-fullscreen {
	overflow: hidden;
}

@keyframes afv-product-editor-fullscreen-tools-in {
	from {
		transform: translateX(-10px);
	}

	to {
		transform: translateX(0);
	}
}

@keyframes afv-product-editor-fullscreen-tools-out {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-8px);
	}
}

.afv-product-editor-preview-gallery.is-fullscreen {
	--afv-editor-fullscreen-canvas-height: min(86vh, calc(100vh - 80px));
	position: fixed !important;
	inset: 0;
	z-index: 10000;
	display: grid;
	grid-template-columns: minmax(76px, 88px) minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	grid-template-areas:
		"tools actions"
		"tools canvas";
	align-items: stretch;
	justify-items: stretch;
	gap: 14px;
	width: 100vw;
	min-width: 100vw;
	max-width: none !important;
	height: 100vh;
	margin: 0 !important;
	padding: 16px;
	background: rgba(0, 0, 0, 0.82);
	box-sizing: border-box;
	overflow: hidden;
	transform: none !important;
}

.afv-product-editor-preview-gallery.is-fullscreen.is-fullscreen-closing {
	pointer-events: none;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__wrapper {
	grid-area: canvas;
	align-self: stretch;
	justify-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-height: var(--afv-editor-fullscreen-canvas-height);
	min-height: 0;
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__image {
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: var(--afv-editor-canvas-aspect-ratio, 1.5) / 1;
	flex: 0 1 auto;
	min-width: 0;
	background: transparent;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-stage svg {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__tools {
	grid-area: tools;
	align-self: center;
	justify-self: end;
	width: 82px;
	max-height: calc(100vh - 32px);
	margin-top: 0;
	overflow-y: auto;
	animation: afv-product-editor-fullscreen-tools-in 180ms ease-out both;
	will-change: transform;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor__canvas-action-bar {
	grid-area: actions;
	align-self: end;
	justify-self: center;
	justify-content: flex-end;
	width: 100%;
	max-width: 100%;
	margin: 0;
	z-index: 10010;
}

.afv-product-editor-preview-gallery.is-fullscreen.is-fullscreen-closing .afv-product-editor-preview-gallery__tools {
	animation: afv-product-editor-fullscreen-tools-out 140ms ease-in both;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor__launcher {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	max-height: 100%;
	padding: 6px;
}

.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor__starter-button {
	width: 100%;
	min-height: 56px;
}

body.afv-product-editor-canvas-fullscreen .afv-product-editor__resize-popover,
body.afv-product-editor-canvas-fullscreen .afv-product-editor__text-bubble {
	z-index: 10020;
}

body.afv-product-editor-canvas-fullscreen .afv-product-editor__image-modal {
	z-index: 10030;
}

@media (prefers-reduced-motion: reduce) {
	.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__tools {
		animation: none !important;
		transition: none !important;
	}
}

.afv-product-editor__preview-object--draggable {
	cursor: grab;
}

.afv-product-editor__preview-object--text {
	cursor: move;
}

.afv-product-editor__preview-object--frame {
	cursor: pointer;
}

.afv-product-editor__preview-object--hole {
	cursor: pointer;
}

.afv-product-editor__preview-object--shape {
	cursor: move;
}

.afv-product-editor-is-dragging .afv-product-editor__preview-object--draggable,
.afv-product-editor__preview-object--draggable.is-active {
	cursor: grabbing;
}

.afv-product-editor__preview-object--replace-image,
.afv-product-editor__preview-object--replace-image.is-active {
	cursor: pointer;
}

.afv-product-editor__preview-resize-handle {
	pointer-events: all;
	cursor: nwse-resize;
}

.afv-product-editor__preview-line-endpoint-handle {
	pointer-events: all;
	cursor: grab;
	touch-action: none;
}

.afv-product-editor__preview-line-endpoint-hitbox {
	pointer-events: all;
	touch-action: none;
}

.afv-product-editor-is-dragging .afv-product-editor__preview-line-endpoint-handle {
	cursor: grabbing;
}

.afv-product-editor__preview-line-endpoint-handle circle:not(.afv-product-editor__preview-line-endpoint-hitbox) {
	pointer-events: none;
}

.afv-product-editor__preview-align-button {
	pointer-events: all;
	cursor: pointer;
}

.afv-product-editor__preview-lock-button {
	pointer-events: all;
	cursor: pointer;
}

.afv-product-editor__preview-layer-button {
	pointer-events: all;
	cursor: pointer;
}

.afv-product-editor__preview-layer-button.is-disabled {
	cursor: default;
}

.afv-product-editor__preview-duplicate-button {
	pointer-events: all;
	cursor: pointer;
}

.afv-product-editor__preview-duplicate-button.is-disabled {
	cursor: default;
}

.afv-product-editor__preview-delete-button {
	pointer-events: all;
	cursor: pointer;
}

.afv-product-editor__preview-align-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-lock-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-layer-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-duplicate-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-delete-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-resize-hitbox {
	pointer-events: all;
}

.afv-product-editor__preview-dimension-bg {
	fill: rgba(247, 247, 247, 0.4);
	stroke: rgba(17, 17, 17, 0.08);
	stroke-width: 0.5px;
	vector-effect: non-scaling-stroke;
}

.afv-product-editor__preview-align-button rect:not(.afv-product-editor__preview-align-hitbox),
.afv-product-editor__preview-lock-button rect:not(.afv-product-editor__preview-lock-hitbox),
.afv-product-editor__preview-layer-button rect:not(.afv-product-editor__preview-layer-hitbox),
.afv-product-editor__preview-duplicate-button rect:not(.afv-product-editor__preview-duplicate-hitbox),
.afv-product-editor__preview-delete-button rect:not(.afv-product-editor__preview-delete-hitbox),
.afv-product-editor__preview-resize-handle rect:not(.afv-product-editor__preview-resize-hitbox),
.afv-product-editor__preview-align-button path,
.afv-product-editor__preview-lock-button path,
.afv-product-editor__preview-lock-button circle,
.afv-product-editor__preview-layer-button path,
.afv-product-editor__preview-duplicate-button path,
.afv-product-editor__preview-delete-button path,
.afv-product-editor__preview-delete-button circle,
.afv-product-editor__preview-resize-handle path {
	pointer-events: none;
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(var(--afv-editor-overlay-control-scale));
}

.afv-product-editor__resize-popover {
	position: fixed;
	z-index: 998;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border: 1px solid #111111;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12);
}

.afv-product-editor__resize-popover.is-hidden {
	display: none;
}

.afv-product-editor__resize-popover-input {
	width: 68px;
	height: 28px;
	border: 1px solid #cfcfcf;
	padding: 4px 6px;
	font-size: 12px;
	line-height: 1.35;
}

.afv-product-editor__resize-popover-unit {
	font-size: 11px;
	font-weight: 700;
	color: #444444;
}

.afv-product-editor__text-bubble {
	--afv-editor-popup-head-height: 32px;
	--afv-editor-popup-close-size: 21.6px;
	position: fixed;
	z-index: 999;
	display: grid;
	gap: 7px;
	width: min(300px, calc(100% - 16px));
	max-height: calc(100vh - 16px);
	max-height: calc(100dvh - 16px);
	overflow-y: auto;
	padding: 0 8px 10px;
	border: 1px solid #111111;
	background: #ffffff;
	box-sizing: border-box;
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.16);
}

.afv-product-editor__text-bubble--closable {
	padding-right: 8px;
}

.afv-product-editor__text-bubble.is-hidden {
	display: none;
}

.afv-product-editor__text-bubble [hidden] {
	display: none !important;
}

.afv-product-editor__popup-head {
	display: flex;
	align-items: center;
	height: var(--afv-editor-popup-head-height);
	margin: 0 -8px 5px;
	padding: 7px 8px;
	border-bottom: 1px solid #d0d0d0;
	background: #e7e7e7;
	box-sizing: border-box;
	color: #111111;
	cursor: move;
	touch-action: none;
	user-select: none;
}

.afv-product-editor__text-bubble--closable .afv-product-editor__popup-head {
	padding-right: 38px;
}

.afv-product-editor__text-bubble--closable.afv-product-editor__text-bubble--has-unlock .afv-product-editor__popup-head {
	padding-right: 66px;
}

.afv-product-editor__popup-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.afv-product-editor-is-popup-dragging .afv-product-editor__popup-head {
	cursor: grabbing;
}

[data-afv-editor-background-bubble] {
	width: min(292px, calc(100% - 16px));
}

.afv-product-editor__layer-popup {
	width: min(340px, calc(100vw - 16px));
	max-width: calc(100vw - 16px);
	z-index: 10020;
}

.afv-product-editor__layer-popup-list {
	display: grid;
	gap: 5px;
	max-height: min(var(--afv-editor-layer-popup-list-max-height, 560px), calc(100vh - 74px));
	max-height: min(var(--afv-editor-layer-popup-list-max-height, 560px), calc(100dvh - 74px));
	overflow-y: auto;
	padding-right: 2px;
}

.afv-product-editor__layer-popup-row {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 6px;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	box-sizing: border-box;
	cursor: pointer;
}

.afv-product-editor__layer-popup-row.is-draggable {
	cursor: grab;
}

.afv-product-editor__layer-popup-row.is-dragging {
	opacity: 0.58;
	cursor: grabbing;
}

.afv-product-editor__layer-popup-list.is-dragging .afv-product-editor__layer-popup-row {
	transition: border-color 0.12s ease, background-color 0.12s ease;
}

.afv-product-editor__layer-popup-row:hover,
.afv-product-editor__layer-popup-row:focus {
	border-color: #111111;
}

.afv-product-editor__layer-popup-row.is-active {
	border-color: #58aee8;
	background: #eef8ff;
	box-shadow: inset 0 0 0 1px rgba(88, 174, 232, 0.35);
}

.afv-product-editor__layer-popup-row--background {
	background: #f7f7f7;
}

.afv-product-editor__layer-popup-drag-handle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 26px;
	color: #777777;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: default;
	touch-action: none;
	user-select: none;
}

.afv-product-editor__layer-popup-row.is-draggable .afv-product-editor__layer-popup-drag-handle {
	color: #111111;
	cursor: grab;
}

.afv-product-editor__layer-popup-row.is-dragging .afv-product-editor__layer-popup-drag-handle {
	cursor: grabbing;
}

.afv-product-editor__layer-popup-text {
	min-width: 0;
}

.afv-product-editor__layer-popup-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #111111;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
}

.afv-product-editor__layer-popup-meta {
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #555555;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.2;
}

.afv-product-editor__layer-popup-controls {
	display: flex;
	align-items: center;
	gap: 4px;
}

.afv-product-editor__layer-popup-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 1px solid #111111;
	border-radius: 0;
	background: #ffffff;
	color: #111111;
	box-sizing: border-box;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.afv-product-editor__layer-popup-action:not(:disabled):hover,
.afv-product-editor__layer-popup-action:not(:disabled):focus {
	background: #f2f2f2;
}

.afv-product-editor__layer-popup-action--delete {
	border-color: #a61b2b;
	background: #d72638;
	color: #ffffff;
}

.afv-product-editor__layer-popup-action--delete:not(:disabled):hover,
.afv-product-editor__layer-popup-action--delete:not(:disabled):focus {
	border-color: #a61b2b;
	background: #b91d2f;
	color: #ffffff;
}

.afv-product-editor__layer-popup-action--lock.is-active {
	border-color: #58aee8;
	background: #d9efff;
	color: #2b7fb8;
}

.afv-product-editor__layer-popup-action--lock:not(:disabled):hover,
.afv-product-editor__layer-popup-action--lock:not(:disabled):focus {
	border-color: #58aee8;
	background: #eef8ff;
	color: #2b7fb8;
}

.afv-product-editor__layer-popup-lock-icon {
	width: 14px;
	height: 14px;
}

.afv-product-editor__layer-popup-action--delete .afv-product-editor__trash-icon {
	width: 14px;
	height: 14px;
}

.afv-product-editor__layer-popup-action:disabled {
	border-color: #cfcfcf;
	background: #f3f3f3;
	color: #8a8a8a;
	cursor: not-allowed;
}

.afv-product-editor__layer-popup-empty {
	padding: 9px 6px;
	color: #555555;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.afv-product-editor__text-bubble--shape,
.afv-product-editor__text-bubble--image {
	width: min(300px, calc(100% - 16px));
}

.afv-product-editor__text-bubble--hole,
.afv-product-editor__text-bubble--qr,
[data-afv-editor-hole-bubble],
[data-afv-editor-qr-bubble] {
	width: min(300px, calc(100% - 16px));
}

.afv-product-editor__text-bubble-label {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	color: #111111;
}

.afv-product-editor__position-label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.afv-product-editor__position-origin-icon {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	color: #2b7fb8;
}

.afv-product-editor__bubble-close {
	position: absolute;
	top: calc((var(--afv-editor-popup-head-height) - var(--afv-editor-popup-close-size)) / 2);
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--afv-editor-popup-close-size);
	height: var(--afv-editor-popup-close-size);
	padding: 0;
	border: 1px solid #a61b2b;
	background: #d72638;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	line-height: 1;
}

.afv-product-editor__bubble-close:hover,
.afv-product-editor__bubble-close:focus,
.afv-product-editor__bubble-close:active {
	border-color: #a61b2b !important;
	background: #d72638 !important;
	color: #ffffff !important;
	box-shadow: none;
}

.afv-product-editor__bubble-unlock {
	position: absolute;
	top: calc((var(--afv-editor-popup-head-height) - var(--afv-editor-popup-close-size)) / 2);
	right: calc(7px + var(--afv-editor-popup-close-size) + 5px);
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--afv-editor-popup-close-size);
	height: var(--afv-editor-popup-close-size);
	padding: 0;
	border: 1px solid #58aee8;
	background: #d9efff;
	box-sizing: border-box;
	color: #2b7fb8;
	cursor: pointer;
	line-height: 1;
}

.afv-product-editor__bubble-unlock.is-hidden {
	display: none;
}

.afv-product-editor__bubble-unlock:hover,
.afv-product-editor__bubble-unlock:focus,
.afv-product-editor__bubble-unlock:active {
	border-color: #2b7fb8 !important;
	background: #c5e6ff !important;
	color: #1f6fa6 !important;
	box-shadow: none;
}

.afv-product-editor-is-popup-dragging,
.afv-product-editor-is-popup-dragging * {
	cursor: move !important;
	user-select: none;
}

.afv-product-editor__close-icon {
	display: block;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.afv-product-editor__bubble-close .afv-product-editor__close-icon {
	width: 14.4px;
	height: 14.4px;
}

.afv-product-editor__bubble-unlock .afv-product-editor__unlock-icon {
	width: 14.4px;
	height: 14.4px;
}

.afv-product-editor__text-bubble-input,
.afv-product-editor__text-bubble-select {
	width: 100%;
	height: 28px;
	border: 1px solid #cfcfcf;
	background: #ffffff;
	padding: 4px 6px;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 1.35;
}

.afv-product-editor__text-bubble-textarea {
	height: 64px;
	min-height: 64px;
	resize: vertical;
	line-height: 1.45;
}

.afv-product-editor__text-bubble-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.afv-product-editor__text-bubble-grid--shape {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afv-product-editor__text-bubble-grid--hole {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afv-product-editor__text-bubble-grid--single,
.afv-product-editor__frame-stepper-grid--single {
	grid-template-columns: minmax(0, 1fr);
}

.afv-product-editor__text-bubble-grid label {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.afv-product-editor__text-bubble-grid .afv-product-editor__text-bubble-field {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.afv-product-editor__text-bubble-grid label.is-hidden {
	display: none;
}

.afv-product-editor__text-align-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 5px;
}

.afv-product-editor__text-style-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 5px;
}

.afv-product-editor__text-mode-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
}

.afv-product-editor__shape-type-selector {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 5px;
}

.afv-product-editor__qr-mode-selector {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 5px;
}

.afv-product-editor__qr-mode-fields {
	margin-top: 8px;
}

.afv-product-editor__qr-mode-field[hidden] {
	display: none;
}

.afv-product-editor__text-align-options button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 25px;
	padding: 0;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
}

.afv-product-editor__text-style-options button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 25px;
	padding: 0;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.afv-product-editor__text-mode-options button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 25px;
	padding: 0 6px;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.afv-product-editor__shape-type-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 34px;
	padding: 0;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 0;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.afv-product-editor__shape-type-menu {
	position: relative;
	min-width: 0;
}

.afv-product-editor__shape-type-button--menu {
	flex-direction: column;
	gap: 2px;
	min-height: 34px;
	padding: 2px 3px;
	font-size: 0;
}

.afv-product-editor__shape-type-button--menu .afv-product-editor__shape-type-icon {
	width: 22px;
	height: 22px;
}

.afv-product-editor__shape-type-menu-options {
	position: absolute;
	left: 0;
	top: calc(100% + 4px);
	z-index: 4;
	display: none;
	grid-template-columns: repeat(2, minmax(34px, 1fr));
	gap: 4px;
	width: max(86px, 100%);
	padding: 4px;
	border: 1px solid #111111;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(17, 17, 17, 0.16);
}

.afv-product-editor__shape-type-menu.is-open .afv-product-editor__shape-type-menu-options {
	display: grid;
}

.afv-product-editor__shape-type-button--submenu {
	min-height: 32px;
}

.afv-product-editor__shape-type-icon {
	display: block;
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.afv-product-editor__qr-mode-icon {
	display: block;
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.afv-product-editor__text-style-options button[data-afv-editor-text-style-option="italic"] {
	font-style: italic;
}

.afv-product-editor__text-style-options button[data-afv-editor-text-style-option="uppercase"] {
	text-transform: uppercase;
	letter-spacing: 0;
}

.afv-product-editor__align-icon {
	display: block;
	width: 17px;
	height: 17px;
	pointer-events: none;
}

.afv-product-editor__text-align-options button:hover,
.afv-product-editor__text-align-options button:focus,
.afv-product-editor__text-align-options button.is-active {
	background: #d9efff;
	border-color: #58aee8;
	color: #2b7fb8;
}

.afv-product-editor__text-style-options button:hover,
.afv-product-editor__text-style-options button:focus,
.afv-product-editor__text-style-options button.is-active {
	background: #d9efff;
	border-color: #58aee8;
	color: #2b7fb8;
}

.afv-product-editor__text-mode-options button:hover,
.afv-product-editor__text-mode-options button:focus,
.afv-product-editor__text-mode-options button.is-active {
	background: #d9efff;
	border-color: #58aee8;
	color: #2b7fb8;
}

.afv-product-editor__shape-type-button:hover,
.afv-product-editor__shape-type-button:focus,
.afv-product-editor__shape-type-button.is-active {
	background: #d9efff;
	border-color: #58aee8;
	color: #2b7fb8;
}

.afv-product-editor__bubble-action {
	width: 100%;
	min-height: 31px;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.afv-product-editor__bubble-action:hover,
.afv-product-editor__bubble-action:focus {
	background: #f7f7f7;
}

.afv-product-editor__bubble-transform-options {
	display: grid;
	gap: 5px;
}

.afv-product-editor__bubble-transform-options--rotation {
	grid-template-columns: 52px 52px 44px 44px minmax(72px, 1fr);
}

.afv-product-editor__bubble-transform-options--flip {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afv-product-editor__bubble-transform-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 31px;
	padding: 0;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	cursor: pointer;
}

.afv-product-editor__bubble-transform-button--rotation {
	gap: 2px;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
}

.afv-product-editor__bubble-transform-button--reset {
	font: inherit;
	font-size: 11px;
	font-weight: 700;
}

.afv-product-editor__bubble-transform-button--rotation-step {
	font: inherit;
	font-size: 11px;
	font-weight: 700;
}

.afv-product-editor__bubble-transform-icon {
	width: 18px;
	height: 18px;
}

.afv-product-editor__bubble-rotation-field {
	display: flex;
	align-items: center;
	min-width: 0;
	height: 31px;
	padding: 0 7px;
	border: 1px solid #cfcfcf;
	background: #ffffff;
	box-sizing: border-box;
}

.afv-product-editor__bubble-rotation-field:focus-within {
	border-color: #58aee8;
	box-shadow: 0 0 0 1px #58aee8;
}

.afv-product-editor__bubble-rotation-field input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #111111;
	font: inherit;
	font-size: 12px;
	text-align: right;
}

.afv-product-editor__bubble-rotation-field input[aria-invalid="true"] {
	color: #b32d2e;
}

.afv-product-editor__bubble-rotation-field.is-disabled {
	opacity: 0.55;
}

.afv-product-editor__bubble-transform-button:hover,
.afv-product-editor__bubble-transform-button:focus {
	background: #d9efff;
	border-color: #58aee8;
	color: #2b7fb8;
}

.afv-product-editor__bubble-transform-button.is-disabled,
.afv-product-editor__bubble-transform-button:disabled {
	opacity: 0.55;
	cursor: default;
}

.afv-product-editor__bubble-transform-button.is-disabled:hover,
.afv-product-editor__bubble-transform-button.is-disabled:focus,
.afv-product-editor__bubble-transform-button:disabled:hover,
.afv-product-editor__bubble-transform-button:disabled:focus {
	background: #ffffff;
	border-color: #111111;
	color: #111111;
}

.afv-product-editor__bubble-section {
	display: grid;
	gap: 7px;
	padding-top: 3px;
}

.afv-product-editor__bubble-control-section {
	display: grid;
	gap: 6px;
}

.afv-product-editor__bubble-control-section[hidden] {
	display: none;
}

.afv-product-editor__bubble-control-section + .afv-product-editor__bubble-control-section,
.afv-product-editor__bubble-control-section + .afv-product-editor__text-bubble-label,
.afv-product-editor__text-bubble-grid + .afv-product-editor__bubble-section-heading {
	margin-top: 2px;
}

.afv-product-editor__bubble-section-heading {
	padding-top: 1px;
}

.afv-product-editor__bubble-section + .afv-product-editor__bubble-section {
	margin-top: 7px;
	padding-top: 8px;
	border-top: 1px solid #e3e3e3;
}

.afv-product-editor__bubble-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	color: #111111;
}

.afv-product-editor__bubble-toggle input {
	flex: 0 0 auto;
}

.afv-product-editor__frame-stepper-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	align-items: end;
}

.afv-product-editor__frame-stepper-grid--radius {
	grid-template-columns: minmax(0, 1fr);
}

.afv-product-editor__frame-radius-title {
	margin-top: 4px;
}

.afv-product-editor__frame-stepper-field {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.afv-product-editor__number-stepper {
	display: grid;
	grid-template-columns: 22px minmax(0, 40px) 22px;
	align-items: stretch;
	min-width: 0;
}

.afv-product-editor__number-stepper-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 26px;
	padding: 0;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
}

.afv-product-editor__number-stepper-button:hover,
.afv-product-editor__number-stepper-button:focus {
	background: #f7f7f7;
}

.afv-product-editor__number-stepper-input {
	width: 40px;
	min-width: 0;
	height: 26px;
	padding: 3px 2px;
	border-left: 0;
	border-right: 0;
	text-align: center;
	appearance: textfield;
}

.afv-product-editor__number-stepper-input::-webkit-inner-spin-button,
.afv-product-editor__number-stepper-input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.afv-product-editor-preview-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.afv-pikto-swatch-image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.afv-pikto-swatch-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

body.afv-product-editor-active .elementor-widget-woocommerce-product-images,
body.afv-product-editor-active .woocommerce-product-gallery:not(.afv-product-editor-preview-gallery) {
	display: none !important;
}

/*.afv-product-editor {
	border: 1px solid #d9d9d9;
	background: #ffffff;
	padding: 16px;
	margin: 18px 0;
	border-radius: 8px;
}*/

.afv-product-editor__title {
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 4px;
}

/*.afv-product-editor__description {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #555555;
}*/

.afv-product-editor__field {
	margin-bottom: 8px;
}

.afv-product-editor__panels {
	display: grid;
	gap: 14px;
}

[data-afv-editor-settings-group] {
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.afv-product-editor__launcher {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.afv-product-editor__starter-button {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 5px;
	width: 96px;
	min-height: 72px;
	padding: 8px 6px;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	color: #111111;
	cursor: pointer;
	text-align: center;
	box-sizing: border-box;
	transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.16s ease, background-color 0.16s ease;
}

[data-afv-editor-hydrating="1"] .afv-product-editor__starter-button:not(.is-hydrated),
[data-afv-editor-hydrating="1"] [data-afv-editor-settings-group]:not(.is-hydrated) {
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px) scale(0.96);
}

.afv-product-editor__starter-button.is-hydrated,
[data-afv-editor-settings-group].is-hydrated {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.afv-product-editor__starter-button:hover,
.afv-product-editor__starter-button:focus {
	border-color: #111111;
	background: #f7f7f7;
}

.afv-product-editor__starter-button.is-active,
[data-afv-editor-background-customized="1"] [data-afv-editor-starter="background"],
[data-afv-editor-frame-enabled="1"] [data-afv-editor-starter="background"],
[data-afv-editor-hole-enabled="1"] [data-afv-editor-starter="hole"] {
	border-color: #58aee8;
	background: #d9efff;
	color: #2b7fb8;
	box-shadow: 0 0 0 2px rgba(43, 127, 184, 0.12);
}

.afv-product-editor__starter-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--afv-editor-starter-icon-size);
	height: var(--afv-editor-starter-icon-size);
	background: #f4f4f4;
	flex-shrink: 0;
}

.afv-product-editor__starter-button.is-active .afv-product-editor__starter-icon,
[data-afv-editor-background-customized="1"] [data-afv-editor-starter="background"] .afv-product-editor__starter-icon,
[data-afv-editor-frame-enabled="1"] [data-afv-editor-starter="background"] .afv-product-editor__starter-icon,
[data-afv-editor-hole-enabled="1"] [data-afv-editor-starter="hole"] .afv-product-editor__starter-icon {
	background: #eef8ff;
	color: #2b7fb8;
}

.afv-product-editor__starter-icon img,
.afv-product-editor__starter-icon svg {
	display: block;
	width: var(--afv-editor-starter-glyph-size);
	height: var(--afv-editor-starter-glyph-size);
	object-fit: contain;
}

.afv-product-editor__starter-button.is-active .afv-product-editor__starter-icon-image,
[data-afv-editor-background-customized="1"] [data-afv-editor-starter="background"] .afv-product-editor__starter-icon-image,
[data-afv-editor-frame-enabled="1"] [data-afv-editor-starter="background"] .afv-product-editor__starter-icon-image,
[data-afv-editor-hole-enabled="1"] [data-afv-editor-starter="hole"] .afv-product-editor__starter-icon-image {
	filter: invert(41%) sepia(79%) saturate(690%) hue-rotate(166deg) brightness(87%) contrast(89%);
}

.afv-product-editor__starter-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.afv-product-editor__starter-text {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

[data-afv-editor-mode="launcher"] [data-afv-editor-settings-group],
[data-afv-editor-mode="launcher"] .afv-product-editor__status {
	display: none;
}

[data-afv-editor-template-loaded="1"][data-afv-editor-mode="launcher"] .afv-product-editor__launcher {
	display: none;
}

[data-afv-editor-mode="size-required"] [data-afv-editor-settings-group] {
	display: none;
}

[data-afv-editor-size-required="1"] .afv-product-editor__starter-button {
	border-color: #d9d9d9;
	background: #ffffff;
	color: #777777;
	box-shadow: none;
	opacity: 0.45;
	cursor: not-allowed;
}

[data-afv-editor-size-required="1"] .afv-product-editor__starter-button:hover,
[data-afv-editor-size-required="1"] .afv-product-editor__starter-button:focus {
	border-color: #d9d9d9;
	background: #ffffff;
}

[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="size"],
[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="svg"] {
	display: none;
}

[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="text"] {
	display: none;
}

[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="shape"] {
	display: none;
}

[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="hole"],
[data-afv-editor-canvas-ui="1"] [data-afv-editor-settings-group="qr"] {
	display: none;
}

[data-afv-editor-background-enabled="0"] [data-afv-editor-settings-group="background"],
[data-afv-editor-frame-enabled="0"] [data-afv-editor-settings-group="frame"],
[data-afv-editor-hole-enabled="0"] [data-afv-editor-settings-group="hole"],
[data-afv-editor-shape-enabled="0"] [data-afv-editor-settings-group="shape"] {
	display: none;
}

[data-afv-editor-canvas-ui="1"] .afv-product-editor__status:not(.is-error) {
	display: none;
}

.afv-product-editor__group {
	border: 1px solid #d9d9d9;
	background: linear-gradient(180deg, #fcfcfc 0%, #f6f6f6 100%);
	padding: 14px;
}

.afv-product-editor__group-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.afv-product-editor__group-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.afv-product-editor__group-description {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: #666666;
}

.afv-product-editor__group-body {
	display: grid;
	gap: 10px;
}

.afv-product-editor__panel-stack {
	display: grid;
	gap: 10px;
}

.afv-product-editor__panel-stack--compact {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.afv-product-editor__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.afv-product-editor__grid--canvas {
	margin-bottom: 12px;
}

.afv-product-editor__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.afv-product-editor__section-title {
	font-weight: 700;
}

.afv-product-editor__section-note {
	font-size: 12px;
	color: #666666;
}

.afv-product-editor__subsection {
	padding-top: 4px;
}

.afv-product-editor__add-button {
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	border-radius: 0;
	padding: 6px 12px;
	font-weight: 700;
	cursor: pointer;
}

.afv-product-editor__extra-slot.is-hidden {
	display: none;
}

.afv-product-editor__panel {
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
}

.afv-product-editor__panel-summary {
	padding: 10px 12px;
	font-weight: 700;
	cursor: pointer;
	background: #f2f2f2;
	list-style: none;
}

.afv-product-editor__panel-summary::-webkit-details-marker {
	display: none;
}

.afv-product-editor__panel-summary::after {
	content: "+";
	float: right;
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
}

.afv-product-editor__panel[open] > .afv-product-editor__panel-summary::after {
	content: "-";
}

.afv-product-editor__panel-body {
	padding: 12px;
}

.afv-product-editor__picker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: 8px;
	margin-bottom: 12px;
	max-height: 280px;
	overflow-y: auto;
	padding-right: 4px;
}

.afv-product-editor__picker-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
	min-height: 86px;
	padding: 8px 6px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	text-align: center;
}

.afv-product-editor__picker-item[hidden] {
	display: none;
}

.afv-product-editor__picker-item.is-active {
	border-color: #111111;
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.afv-product-editor__picker-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.afv-product-editor__picker-thumb img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.afv-product-editor__picker-label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.afv-product-editor__selected-pikto {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: stretch;
	margin-bottom: 12px;
}

.afv-product-editor__selected-pikto-button,
.afv-product-editor__selected-pikto-clear {
	border: 1px solid #d9d9d9;
	background: #ffffff;
	color: #111111;
	cursor: pointer;
}

.afv-product-editor__selected-pikto-button {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-height: 70px;
	padding: 8px;
	text-align: left;
}

.afv-product-editor__selected-pikto-button:hover,
.afv-product-editor__selected-pikto-button:focus,
.afv-product-editor__selected-pikto-clear:hover,
.afv-product-editor__selected-pikto-clear:focus {
	border-color: #111111;
}

.afv-product-editor__selected-pikto-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 52px;
	background: #f7f7f7;
	border: 1px solid #ececec;
}

.afv-product-editor__selected-pikto-thumb img {
	display: block;
	max-width: 46px;
	max-height: 46px;
	object-fit: contain;
}

.afv-product-editor__selected-pikto-text {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.afv-product-editor__selected-pikto-label {
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.afv-product-editor__selected-pikto-action {
	font-size: 12px;
	font-weight: 600;
	color: #555555;
}

.afv-product-editor__selected-pikto-clear {
	min-width: 74px;
	padding: 0 10px;
	font-weight: 700;
}

.afv-product-editor__selected-pikto-clear:disabled {
	cursor: default;
	opacity: 0.45;
}

.afv-product-editor__image-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.afv-product-editor__image-modal.is-hidden {
	display: none;
}

.afv-product-editor__image-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.16);
}

.afv-product-editor__image-modal-dialog {
	--afv-editor-popup-head-height: 32px;
	--afv-editor-popup-close-size: 21.6px;
	position: relative;
	display: grid;
	grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
	width: min(860px, calc(100vw - 32px));
	max-height: calc(100vh - 40px);
	margin: 20px auto;
	padding: 0 8px 10px;
	background: #ffffff;
	border: 1px solid #111111;
	box-sizing: border-box;
	box-shadow: 0 4px 14px rgba(17, 17, 17, 0.16);
	overflow: hidden;
}

.afv-product-editor__image-modal-head {
	display: flex;
	align-items: center;
	height: var(--afv-editor-popup-head-height);
	margin: 0 -8px 7px;
	padding: 7px 38px 7px 8px;
	border-bottom: 1px solid #d0d0d0;
	background: #e7e7e7;
	box-sizing: border-box;
	color: #111111;
}

.afv-product-editor__image-modal-head[data-afv-editor-popup-handle] {
	cursor: move;
	touch-action: none;
	user-select: none;
}

.afv-product-editor-is-popup-dragging .afv-product-editor__image-modal-head[data-afv-editor-popup-handle] {
	cursor: grabbing;
}

.afv-product-editor__image-modal-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.afv-product-editor__image-modal-close {
	position: absolute;
	top: calc((var(--afv-editor-popup-head-height) - var(--afv-editor-popup-close-size)) / 2);
	right: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--afv-editor-popup-close-size);
	height: var(--afv-editor-popup-close-size);
	padding: 0;
	border: 1px solid #a61b2b;
	background: #d72638;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	line-height: 1;
}

.afv-product-editor__image-modal-close:hover,
.afv-product-editor__image-modal-close:focus,
.afv-product-editor__image-modal-close:active {
	border-color: #a61b2b !important;
	background: #d72638 !important;
	color: #ffffff !important;
	box-shadow: none;
}

.afv-product-editor__image-modal-close .afv-product-editor__close-icon {
	width: 14.4px;
	height: 14.4px;
}

.afv-product-editor__image-modal-search {
	margin-bottom: 7px;
}

.afv-product-editor__image-modal-filters {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e3e3e3;
}

.afv-product-editor__image-modal-search-input {
	width: 100%;
	height: 28px;
	padding: 4px 6px;
	border: 1px solid #cfcfcf;
	background: #ffffff;
	box-sizing: border-box;
	font: inherit;
	font-size: 12px;
	line-height: 1.35;
	color: #111111;
}

.afv-product-editor__image-modal-category-tiles {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 0;
}

.afv-product-editor__image-modal-category-tile {
	min-height: 30px;
	padding: 5px 7px;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.afv-product-editor__image-modal-category-tile:hover,
.afv-product-editor__image-modal-category-tile:focus {
	border-color: #111111;
}

.afv-product-editor__image-modal-category-tile.is-active {
	border-color: #58aee8;
	background: #d9efff;
	color: #2b7fb8;
	box-shadow: 0 0 0 2px rgba(43, 127, 184, 0.12);
}

.afv-product-editor__image-modal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -2px 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid #ececec;
}

.afv-product-editor__image-modal-nav-link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 10px;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	color: #111111;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.afv-product-editor__image-modal-nav-link:hover,
.afv-product-editor__image-modal-nav-link:focus {
	border-color: #111111;
	color: #111111;
	text-decoration: none;
}

.afv-product-editor__image-modal-nav-link[hidden] {
	display: none;
}

.afv-product-editor__image-modal-categories {
	min-height: 0;
	max-height: min(460px, calc(100vh - 198px));
	overflow-y: auto;
	padding-right: 4px;
	scroll-behavior: smooth;
}

.afv-product-editor__image-modal-category {
	margin: 0 0 16px;
	scroll-margin-top: 12px;
}

.afv-product-editor__image-modal-category[hidden] {
	display: none;
}

.afv-product-editor__image-modal-category-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #111111;
}

.afv-product-editor__image-modal-grid {
	--afv-image-modal-item-height: 158px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(var(--afv-image-modal-item-height), auto);
	gap: 8px;
}

.afv-product-editor__image-modal-grid .afv-product-editor__picker-item {
	min-height: var(--afv-image-modal-item-height);
	padding: 8px 6px;
}

.afv-product-editor__image-modal-grid .afv-product-editor__picker-thumb {
	width: 100%;
	height: auto;
	min-height: 92px;
	flex: 1 1 auto;
}

.afv-product-editor__image-modal-grid .afv-product-editor__picker-thumb img {
	width: 100%;
	height: 100%;
}

.afv-product-editor__image-modal-grid .afv-product-editor__picker-label {
	overflow-wrap: anywhere;
}

.afv-product-editor__image-modal-welcome {
	display: grid;
	gap: 7px;
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	background: #ffffff;
	color: #333333;
	font-size: 12px;
	line-height: 1.45;
}

.afv-product-editor__image-modal-welcome p {
	margin: 0;
}

.afv-product-editor__image-upload {
	position: relative;
	display: grid;
	gap: 9px;
	margin-top: 8px;
	padding: 13px;
	border: 1px dashed #9ca3af;
	border-radius: 6px;
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
	color: #222222;
	overflow: hidden;
	transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.afv-product-editor__image-upload > * {
	position: relative;
	z-index: 1;
}

.afv-product-editor__image-upload.is-dragover {
	border-color: #111111;
	background: #f0f6fb;
	box-shadow: inset 0 0 0 2px rgba(88, 174, 232, 0.2);
}

.afv-product-editor__image-upload.is-uploading {
	border-color: #1f6f3a;
	background: #f7fbf8;
	box-shadow: inset 0 0 0 2px rgba(31, 111, 58, 0.12);
}

.afv-product-editor__image-upload.is-uploading::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(100deg, rgba(31, 111, 58, 0) 0%, rgba(31, 111, 58, 0.08) 44%, rgba(31, 111, 58, 0.16) 50%, rgba(31, 111, 58, 0) 68%);
	pointer-events: none;
	animation: afv-product-editor-upload-sweep 1100ms linear infinite;
}

.afv-product-editor__image-upload.is-uploading::after {
	content: "";
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(31, 111, 58, 0.22);
	border-top-color: #1f6f3a;
	border-radius: 50%;
	pointer-events: none;
	animation: afv-product-editor-upload-spin 700ms linear infinite;
}

.afv-product-editor__image-upload.is-uploading .afv-product-editor__image-upload-button {
	pointer-events: none;
	opacity: 0.72;
}

@keyframes afv-product-editor-upload-sweep {
	from {
		transform: translateX(-110%);
	}

	to {
		transform: translateX(110%);
	}
}

@keyframes afv-product-editor-upload-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.afv-product-editor__image-upload.is-uploading::before,
	.afv-product-editor__image-upload.is-uploading::after {
		animation: none;
	}
}

.afv-product-editor__image-upload-title {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	color: #111111;
}

.afv-product-editor__image-upload-warning {
	padding: 8px 9px;
	border-left: 3px solid #d72638;
	background: #fff6f7;
	color: #331014;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.45;
}

.afv-product-editor__image-upload-help {
	color: #333333;
	font-size: 12px;
	line-height: 1.45;
}

.afv-product-editor__image-upload-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 31px;
	padding: 6px 12px;
	border: 1px solid #111111;
	border-radius: 4px;
	background: #111111;
	color: #ffffff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.afv-product-editor__image-upload-button:hover,
.afv-product-editor__image-upload-button:focus-within {
	background: #2a2a2a;
	color: #ffffff;
}

.afv-product-editor__image-upload-button input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.afv-product-editor__image-upload-status {
	min-height: 17px;
	font-size: 12px;
	line-height: 1.35;
	color: #555555;
}

.afv-product-editor__image-upload-status.is-error {
	color: #b00020;
}

.afv-product-editor__image-upload-status.is-success {
	color: #1f6f3a;
}

.afv-product-editor__image-modal-welcome.is-hidden {
	display: none;
}

.afv-product-editor__image-modal-empty {
	margin-top: 8px;
	padding: 8px;
	border: 1px dashed #d9d9d9;
	background: #f7f7f7;
	font-size: 12px;
	color: #555555;
}

.afv-product-editor__image-modal-empty.is-hidden {
	display: none;
}

.afv-product-editor__image-modal-loading {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: #555555;
}

.afv-product-editor__image-modal-loading.is-hidden {
	display: none;
}

.afv-product-editor__image-modal-load-more {
	display: block;
	width: 100%;
	min-height: 31px;
	margin-top: 8px;
	padding: 5px 10px;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.afv-product-editor__image-modal-load-more:hover,
.afv-product-editor__image-modal-load-more:focus {
	background: #f2f2f2;
}

.afv-product-editor__image-modal-load-more.is-hidden {
	display: none;
}

.afv-product-editor__color-palette {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 3px;
}

.afv-product-editor__custom-color-field {
	display: inline-flex;
	align-items: center;
	width: 34px;
	height: 22px;
	margin: 0;
}

.afv-product-editor__custom-color-field input[type="color"] {
	width: 34px;
	height: 22px;
	padding: 0;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	cursor: pointer;
}

.afv-product-editor__custom-color-field input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}

.afv-product-editor__custom-color-field input[type="color"]::-webkit-color-swatch,
.afv-product-editor__custom-color-field input[type="color"]::-moz-color-swatch {
	border: 0;
}

.afv-product-editor__color-palette--bubble {
	gap: 7px;
	margin-top: 1px;
}

.afv-product-editor__bubble-color-picker {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-self: start;
	min-width: 0;
}

.afv-product-editor__bubble-color-picker-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 30px;
	border: 1px solid #111111;
	background: #ffffff;
	color: #111111;
	box-sizing: border-box;
	pointer-events: none;
}

.afv-product-editor__bubble-color-picker-icon {
	width: 17px;
	height: 17px;
}

.afv-product-editor__bubble-color-toggle {
	position: relative;
	width: 52px;
	height: 30px;
	padding: 0;
	border: 2px solid #111111;
	background: var(--afv-selected-color, #111111) !important;
	background-clip: padding-box !important;
	box-sizing: border-box;
	cursor: pointer;
	box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px rgba(17, 17, 17, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.afv-product-editor__bubble-color-toggle:hover,
.afv-product-editor__bubble-color-toggle:focus,
.afv-product-editor__bubble-color-toggle:active {
	border-color: #111111 !important;
	background: var(--afv-selected-color, #111111) !important;
	box-shadow: 0 0 0 1px #ffffff, 0 0 0 3px rgba(88, 174, 232, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.afv-product-editor__bubble-color-toggle.is-transparent,
.afv-product-editor__bubble-color-toggle.is-transparent:hover,
.afv-product-editor__bubble-color-toggle.is-transparent:focus,
.afv-product-editor__bubble-color-toggle.is-transparent:active,
.afv-product-editor__color-swatch--transparent {
	background:
		linear-gradient(135deg, transparent 46%, #d72638 47%, #d72638 53%, transparent 54%),
		conic-gradient(#ffffff 25%, #d9d9d9 0 50%, #ffffff 0 75%, #d9d9d9 0) !important;
	background-size: 100% 100%, 10px 10px !important;
}

.afv-product-editor__bubble-color-toggle:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.afv-product-editor__bubble-color-toggle-arrow {
	position: absolute;
	right: 5px;
	bottom: 4px;
	width: 0;
	height: 0;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	border-top: 5px solid #ffffff;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85));
	pointer-events: none;
}

.afv-product-editor__bubble-color-picker.is-open .afv-product-editor__bubble-color-toggle-arrow {
	border-top: 0;
	border-bottom: 5px solid #ffffff;
}

.afv-product-editor__bubble-color-menu {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10050;
	display: block;
	width: min(314px, calc(100vw - 16px));
	margin-top: 0;
	padding: 7px 8px 10px;
	border: 1px solid #111111;
	background: #ffffff;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(17, 17, 17, 0.16);
}

.afv-product-editor__bubble-color-menu[hidden] {
	display: none !important;
}

.afv-product-editor__bubble-color-menu-title {
	margin-bottom: 5px;
	color: #111111;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.afv-product-editor__bubble-color-menu .afv-product-editor__color-palette--bubble {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 7px;
	margin: 0;
}

.afv-product-editor__bubble-color-menu .afv-product-editor__color-swatch {
	width: 100%;
	min-width: 0;
}

.afv-product-editor__color-swatch {
	width: 22px;
	height: 22px;
	border: 1px solid #d9d9d9;
	background: var(--afv-color, #111111);
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.afv-product-editor__background-transparent-button {
	width: 56px;
	height: 36px;
	flex: 0 0 56px;
}

.afv-product-editor__bubble-color-custom-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding-left: 0;
}

.afv-product-editor__bubble-custom-color {
	display: inline-flex;
	align-items: center;
	width: 64px;
	height: 36px;
	margin: 0;
	padding: 2px;
	border: 1px solid #111111;
	background: #ffffff;
	box-sizing: border-box;
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.afv-product-editor__bubble-custom-color:focus-within {
	border-color: #111111;
	box-shadow: 0 0 0 2px rgba(88, 174, 232, 0.28);
}

.afv-product-editor__bubble-custom-color input[type="color"] {
	width: 58px;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.afv-product-editor__bubble-custom-color input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}

.afv-product-editor__bubble-custom-color input[type="color"]::-webkit-color-swatch {
	border: 0;
}

.afv-product-editor__bubble-custom-color input[type="color"]::-moz-color-swatch {
	border: 0;
}

.afv-product-editor__color-swatch.is-active {
	border-color: #111111;
	box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.afv-product-editor__hidden-select {
	display: none !important;
}

.afv-product-editor__native-pikto-hidden {
	display: none !important;
}

.afv-product-editor-size-lock-notice > td {
	padding: 0 0 10px;
}

.afv-product-editor-size-lock-notice__message {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-left: 3px solid #d2a526;
	border-radius: 4px;
	background: #fff8df;
	box-shadow: none;
	color: #4a3b13;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	text-transform: none;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
}

.afv-product-editor-size-lock-notice__message strong,
.afv-product-editor-size-lock-notice__message span {
	display: block;
}

.afv-product-editor-size-lock-notice__message strong {
	margin-bottom: 3px;
	font-weight: 700;
}

.afv-product-editor-size-lock-notice__message:hover,
.afv-product-editor-size-lock-notice__message:focus {
	background: #fff8df;
	color: #4a3b13;
	text-decoration: none;
}

.afv-product-editor-size-lock-notice__message .afv-product-editor-size-lock-notice__hint {
	margin-top: 6px;
	font-weight: 600;
}

.afv-product-editor-size-lock-notice__unlock:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.afv-product-editor-template-size-locked {
	opacity: 0.62;
}

.afv-product-editor-template-size-locked,
.afv-product-editor-template-size-locked label,
.afv-product-editor-template-size-locked select,
.afv-product-editor-template-size-locked input,
.afv-product-editor__locked-size-attribute {
	cursor: not-allowed;
}

.afv-product-editor__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.afv-product-editor__field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.afv-product-editor__corner-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	max-width: 360px;
}

.afv-product-editor__corner-grid--bubble {
	gap: 6px;
	max-width: none;
}

.afv-product-editor__corner-option {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	padding: 7px 9px;
	border: 1px solid #d9d9d9;
	background: #ffffff;
	box-sizing: border-box;
	font-weight: 600;
}

.afv-product-editor__corner-grid--bubble .afv-product-editor__corner-option {
	min-height: 30px;
	padding: 5px 7px;
	font-size: 11px;
	line-height: 1.2;
}

.afv-product-editor__field input[type="text"] {
	width: 100%;
	max-width: none;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	padding: 8px 10px;
	box-sizing: border-box;
}

.afv-product-editor__field textarea {
	width: 100%;
	max-width: none;
	min-height: 76px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	padding: 8px 10px;
	box-sizing: border-box;
	resize: vertical;
}

.afv-product-editor__field input[type="number"] {
	width: 100%;
	max-width: 220px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #ffffff;
	padding: 8px 10px;
	box-sizing: border-box;
}

.afv-product-editor__field input[type="range"] {
	width: 100%;
	max-width: none;
}

.afv-product-editor__slider-value {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
	color: #555555;
	font-weight: 600;
}

.afv-product-editor__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 500;
}

.afv-product-editor__field input[type="checkbox"] {
	width: 16px;
	height: 16px;
}

.afv-product-editor__status {
	font-size: 13px;
	color: #666666;
	min-height: 20px;
}

.afv-product-editor__status.is-error {
	color: #b00020;
}

.afv-product-editor-cart-thumbnail,
.afv-product-editor-cart-item__preview img {
	display: block;
	width: 100%;
	max-width: 72px;
	height: auto;
	object-fit: contain;
	background: #ffffff;
}

.afv-product-editor-cart-edit {
	margin-top: 8px;
}

.afv-product-editor-cart-edit__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 5px 11px;
	border: 1px solid #222222;
	border-radius: 4px;
	color: #222222;
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.afv-product-editor-cart-edit__button:hover,
.afv-product-editor-cart-edit__button:focus {
	color: #ffffff;
	background: #222222;
	text-decoration: none;
}

.afv-product-editor-account-designs {
	display: grid;
	gap: 18px;
}

.afv-product-editor-account-designs h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.25;
}

.afv-product-editor-account-designs__list {
	display: grid;
	gap: 12px;
}

.afv-product-editor-account-design {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 14px;
	align-items: stretch;
	padding: 12px;
	border: 1px solid #e0e0e0;
	background: #ffffff;
}

.afv-product-editor-account-design__preview {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	border: 1px solid #ededed;
	background: #fafafa;
	color: #666666;
	text-decoration: none;
}

.afv-product-editor-account-design__preview img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 116px;
	object-fit: contain;
	background: #ffffff;
}

.afv-product-editor-account-design__preview-placeholder {
	padding: 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.afv-product-editor-account-design__body {
	display: grid;
	gap: 8px;
	align-content: start;
	min-width: 0;
}

.afv-product-editor-account-design__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.afv-product-editor-account-design__title a {
	color: inherit;
	text-decoration: none;
}

.afv-product-editor-account-design__title a:hover,
.afv-product-editor-account-design__title a:focus {
	text-decoration: underline;
}

.afv-product-editor-account-design__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
	color: #555555;
	font-size: 13px;
	line-height: 1.35;
}

.afv-product-editor-account-design__size {
	color: #222222;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.afv-product-editor-account-design__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 2px;
}

.afv-product-editor-account-design__delete-form {
	margin: 0;
}

.afv-product-editor-account-design__delete.button {
	border-color: #a61b2b;
	background: #ffffff;
	color: #a61b2b;
}

.afv-product-editor-account-design__delete.button:hover,
.afv-product-editor-account-design__delete.button:focus {
	border-color: #a61b2b;
	background: #a61b2b;
	color: #ffffff;
}

@media (max-width: 640px) {
	.afv-product-editor__group {
		padding: 12px;
	}

	.afv-product-editor__launcher {
		gap: 8px;
	}

	.afv-product-editor-preview-gallery__tools .afv-product-editor__launcher {
		padding: 6px;
	}

	.afv-product-editor-preview-gallery__tools .afv-product-editor__starter-button {
		width: 68px;
		min-height: 54px;
	}

	.afv-product-editor-preview-gallery.is-fullscreen {
		--afv-editor-fullscreen-canvas-height: min(86vh, calc(100vh - 62px));
		grid-template-columns: minmax(62px, 70px) minmax(0, 1fr);
		gap: 8px;
		padding: 10px;
	}

	.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__image {
		width: auto;
		height: 100%;
	}

	.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor-preview-gallery__tools {
		width: 68px;
		max-height: calc(100vh - 20px);
	}

	.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor__starter-button {
		min-height: 50px;
	}

	.afv-product-editor-preview-gallery.is-fullscreen .afv-product-editor__starter-text {
		font-size: 9.5px;
	}

	.afv-product-editor__group-head,
	.afv-product-editor__section-head {
		flex-direction: column;
		align-items: stretch;
	}

	.afv-product-editor__panel-stack--compact {
		grid-template-columns: 1fr;
	}

	.afv-product-editor__grid {
		grid-template-columns: 1fr;
	}

	.afv-product-editor__image-modal-dialog {
		width: min(100vw - 20px, 680px);
		max-height: calc(100vh - 20px);
		margin: 10px auto;
		padding: 0 8px 10px;
	}

	.afv-product-editor__image-modal-grid {
		--afv-image-modal-item-height: 136px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.afv-product-editor__image-modal-category-tile {
		flex: 1 1 calc(50% - 5px);
	}

	.afv-product-editor__image-modal-grid .afv-product-editor__picker-thumb {
		min-height: 76px;
	}

	.afv-product-editor-account-design {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 10px;
		padding: 10px;
	}

	.afv-product-editor-account-design__preview {
		min-height: 78px;
	}

	.afv-product-editor-account-design__title {
		font-size: 15px;
	}

	.afv-product-editor-account-design__actions {
		align-items: stretch;
	}
}
