*,*::before,*::after{box-sizing:border-box}*{margin:0}body{-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}img{height:auto}p:last-child{margin-bottom:0}

body{
	background: #f1f1f1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica,Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 14px;
	font-weight: 400;
	color: #212b36;
}

.loading{
	pointer-events: none;
	animation: pulsing 2s ease-in-out 0s infinite;
	opacity: 0.8;
}

@keyframes pulsing{
	from{
		opacity: 0.8;
	}
	50%{
		opacity: 0.5;
	}
	to{
		opacity: 0.8;
	}
}

input:not([type=radio],[type=checkbox]), select, textarea{
	appearance: none;
	width: 100%;
	padding: 6px 12px;
	background: #fdfdfd;
	border: 1px solid #8a8a8a;
	border-radius: 1px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5385;
	color: #303030;
}
input:not([type=radio],[type=checkbox]):focus, select:focus, textarea:focus{
	outline: none;
	border-color: #212b36;
}
textarea{
	margin: 0 0 18px;
	height: 146px;
}
select{
	background: #fdfdfd url(images/select.svg) right 10px center no-repeat;
	padding: 6px 34px 6px 12px;
}
label{
	position: relative;
	display: block;
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5385;
	color: #303030;
}
label:has( + textarea ){
	margin: 0 0 7px;
}
label:last-child{
	margin: 0;
}
label :is( input:not([type=radio],[type=checkbox]), select ){
	margin: 7px 0 0;
}

[hidden]{
	display: none !important;
}
.d-flex{
	display: flex;
}
.align-items-center{
	align-items: center;
}
.justify-content-between{
	justify-content: space-between;
}
.g-12{
	gap: 12px;
}

.btn{
	cursor: pointer;
	appearance: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	padding: 6px 12px;
	background: #000;
	border: 0;
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.10) inset, 0px 0.5px 0px 1.5px #FFF inset;
	border-radius: 1px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5385;
	color: #fff;
	text-decoration: none;
}
.btn[disabled]{
	opacity: 0.17;
}
.btn-sm{
	padding: 4px 8px;
	font-size: 12px;
	line-height: 1.3333;
}
.btn-text{
	background: none;
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
	color: #616161;
	text-decoration: underline;
}
.btn-ai{
	background: linear-gradient(102deg, #DC3497 0%, #003578 100%);
	box-shadow: none;
}
.btn-ai:not(:hover){
	filter: grayscale(1);
}
.btn-ai[disabled]{
	opacity: 1;
	background: #ccc;
}
.btn-ai::before{
	content: '';
	width: 1.1667em;
	aspect-ratio: 1;
	-webkit-mask: url(images/ai.svg) no-repeat center/contain;
	mask: url(images/ai.svg) no-repeat center/contain;
	background: #fff;
}
.btn-ghost{
	background-color: #fff;
	border-color: #e6e6e6;
	color: #303030;
}
.btn-icon{
	padding: 6px;
	background: none;
	box-shadow: none;
}

header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #fff;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.03),0px 3px 3px rgba(0,0,0,0.02),0px 2px 2px rgba(0,0,0,0.02),0px 1px 1px rgba(0,0,0,0.03),0px 0.5px 0.5px rgba(0,0,0,0.04),0px 0px 0px rgba(0,0,0,0.06);
	font-size: 15px;
	color: #303030;
}
header .steps{
	font-size: 12px;
	color: #616161;
}
header .buttons{
	display: flex;
	align-items: center;
	gap: 12px;
}

.panels{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	padding: 30px;
}
.panel-main,
.panel-aside{
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 100%;
}
.panel-main{
	width: 623px;
}
.panel-aside{
	width: 311px;
}
.box{
	padding: 16px;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.03),0px 3px 3px rgba(0,0,0,0.02),0px 2px 2px rgba(0,0,0,0.02),0px 1px 1px rgba(0,0,0,0.03),0px 0.5px 0.5px rgba(0,0,0,0.04),0px 0px 0px rgba(0,0,0,0.06);
}
.box .title{
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5385;
	color: #303030;
}
.box .title:last-child{
	margin-bottom: 0;
}

.upload-area .empty{
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 32px;
	background: #fdfdfd;
	border-radius: 2px;
	border: 1px dashed #8A8A8A;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3333;
	color: #616161;
	text-align: center;
}
.upload-area .empty .button{
	padding: 4px 8px;
	background: #fff;
	border-radius: 1px;
}
.upload-area.dragover .empty{
	background-color: #dfdfdf;
	border-color: #333;
}
.upload-area .images{
	display: grid;
	grid-template-columns: repeat( 6, 1fr );
	grid-auto-rows: 1fr;
	gap: 6px;
}
.upload-area .images img{
	pointer-events: none;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 1px solid #ccc;
	border-radius: 2px;
}
.upload-area .images a{
	position: relative;
	display: block;
}
.upload-area .images a::after{
	content: '';
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.2) url(images/delete.svg) center no-repeat;
	opacity: 0;
	transition: opacity .3s ease;
}
.upload-area .images a:hover::after{
	opacity: 1;
}
.upload-area .images a:first-child{
	grid-area: 1 / 1 / 3 / 3;
}
.upload-area .images .placeholder{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: url(images/plus.svg) center no-repeat;
	border: 1px dashed #ccc;
	border-radius: 2px;
	cursor: pointer;
}
/* .progress{ height: 5px; background: #4caf50; width: 0; transition: width 0.2s; } */

#categories .section{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: -16px;
	margin-right: -16px;
	padding: 16px;
}
#categories .section:not(:last-child){
	border-bottom: 1px solid #EBEBEB;
}
#categories .section h3{
	width: 100%;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5385;
	color: #303030;
}
#categories label{
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 4px 6px 4px 12px;
	background: #fff;
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.10) inset;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3333;
	color: #303030;
}
#categories label:has(input:checked){
	background-color: #4e4e4e;
	color: #fff;
}
#categories label::after{
	content: url(images/category.svg);
	font-size: 0;
}
#categories label:has(input:checked)::after{
	content: url(images/category-active.svg);
}
#categories label input{
	display: none;
}

#product-title{
	margin: 0;
}
#product-title input{
	position: relative;
	z-index: 2;
	height: 40px;
	padding: 6px 100px 6px 12px;
}
#product-title input:focus{
	border-color: #212b36;
}
#product-title button{
	position: absolute;
	z-index: 3;
	top: 35px;
	right: 8px;
}

#product-description{
	margin: 18px 0 0;
}
#product-description .tox-tinymce{
	margin: 7px 0 0;
}
#product-description > button{
	position: absolute;
	z-index: 3;
	top: 35px;
	right: 8px;
}

#title-translations > div{
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	margin: -1px 0 0;
	padding: 7px 8px 7px 12px;
	background: #fff;
	border: 1px solid #8a8a8a;
}
#title-translations > div:has([readonly]){
	z-index: 0;
	background-color: #f7f7f7;
	border-color: #ebebeb;
}
#title-translations > div .lang{
	width: 38px;
	padding: 4px 12px;
	background: #ebebeb;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.0909;
	color: #616161;
	text-align: center;
}
#title-translations > div:has([readonly]) .lang{
	background-color: #fff;
}
#title-translations input{
	padding: 0 12px;
	height: 20px;
	background: none;
	border: 0;
	font-size: 13px;
	font-weight: 500;
}
#title-translations input:focus{
	outline: none;
}
#title-translations input[readonly]{
	color: #616161;
}

body .tox-tinymce{
	margin-top: -1px;
	border-radius: 0;
	border-color: #8A8A8A;
}
body .tox-tinymce:has( .tox-editor-header[hidden] ){
	border-color: #EBEBEB;
}
body .tox-tinymce:not(:has( .tox-editor-header[hidden] )){
	position: relative;
	z-index: 1;
}
.tox-editor-header[hidden] + .tox-sidebar-wrap{
	padding: 0 28px 0 50px;
	background-color: #f7f7f7;
}
.tox-editor-header[hidden] + .tox-sidebar-wrap .tox-edit-area__iframe{
	background-color: #f7f7f7;
}
.tox-tinymce .lang-label{
	position: absolute;
	z-index: 1;
	top: 12px;
	left: 12px;
	padding: 4px 12px;
	background: #fff;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.0909;
	color: #616161;
}
.tox-tinymce button.btn.edit{
	cursor: pointer;
	position: absolute;
	z-index: 1;
	top: 12px;
	right: 12px;
}
.tox-tinymce button.btn.reset{
	cursor: pointer;
	position: absolute;
	z-index: 1;
	top: 6px;
	right: 8px;
	padding: 4px 8px;
	background: #fff;
	border-radius: 1px;
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.10) inset, 0px 0.5px 0px 1.5px #FFF inset;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3333;
	color: #303030;
}
.tox-tinymce:has( .tox-editor-header[hidden] ) button.btn.reset,
.tox-tinymce:not(:has( .tox-editor-header[hidden] )) :is( .lang-label, button.btn.edit ){
	display: none;
}
.tox-tinymce button[data-mce-name="lang"]{
	display: block !important;
	margin: 0 6px 0 0 !important;
	padding: 4px 12px !important;
	background: #EBEBEB !important;
	border-radius: 99px !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1.0909 !important;
	color: #616161 !important;
}
