.status-panel {
	position:relative;	box-sizing:border-box;
	text-align:left;
	margin:24px 24px;
	padding:24px 12px;
	border-radius:24px;
	background-color:#CCEEEE;
	box-shadow:0px 0px 4px #336699;
	height:1px;
	user-select:none;
	visibility:hidden;
	transition:0.4s;
}

.status-panel:has(li) {	height:auto;
	visibility:visible;
}

.status-panel > ul {
	position:relative;
	list-style-type:none;
	box-sizing:border-box;
	text-align:left;
	margin:0px -12px;
	padding:0px;
	white-space:nowrap;
	overflow-x:auto;
	scrollbar-color: #336699 #CCEEEE;
	scrollbar-width: 12px;
}

.status-panel > ul > li {    --stat-bg:#FFFFFF;
    --stat-fg:#336699;
    --cat-image:none;
	display:inline-block;
	position:relative;
	text-align:center;
	margin:12px;
	border-radius:12px;
/*	background-color:var(--stat-bg);*/
	background-color:#FFFFFF;
	white-space:normal;
	color:var(--stat-fg);
	width:max(120px, min(180px,25vw));
	aspect-ratio:1;
	overflow:hidden;
	transition:0.2s;
}

.status-panel > ul > li[data-id] {	cursor:pointer;
}

.status-panel > ul > li[data-id]:hover {	box-shadow:0px 0px 10px #336666;
	transform:scale(1.05);
}

.status-panel > ul > li > .status-shield {
	position:absolute;
	z-index:+12;
	left:8px;right:8px;top:8px;bottom:8px;
/*	background-color:var(--stat-bg);*/
	background-image:var(--cat-image);
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
	opacity:0.1;
}

.status-panel > ul > li > .status-data {	position:absolute;
	z-index:+16;
	max-width:100%;
	max-height:100%;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);}

.categsel > div {	box-sizing:border-box;	user-select:none;
	margin:24px 24px;
	padding:24px;
	border-radius:24px;
	box-shadow:0px 0px 4px #336699;
}

.status-panel > div,
.categsel > div > div {
	text-align:center;
	text-transform:uppercase;
	margin:12px 0px;
	padding:0px;
}

.categsel > div > ul {
	display:flex;
	list-style-type:none;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:center;
	align-items:flex-start;
	margin:0px;
	padding:0px;
}

.categsel > div > ul > li {	border-radius:12px;
	text-align:center;
	width:max(120px, min(200px, 25vw));
	aspect-ratio:1;
	background-color:#CCEEEE;
	margin:12px;
	padding:12px;
	cursor:pointer;
	transition:0.3s;
}

.categsel > div > ul > li:hover {	box-shadow:0px 0px 10px #336699;
	transform:scale(1.05);
}

.categsel > div > ul > li img {	width:100%;
}

.order-form {	position:fixed;
	z-index:64;
	left:50%;
	top:-150%;
	width:min(640px, calc(100vw - 48px));
	max-height:90vh;
	background-color:#FFFFFF;
	padding:48px 24px 12px 24px;
	border-radius:24px;
	transition:0.4s;
	transform:translate(-50%,-50%);
	overflow:hidden;
	overflow-y:auto;
	scrollbar-color: #336699 #F8F8F8;
	scrollbar-width: 12px;
	visibility:hidden;
}

.order-form.is-loading::after {
	position:absolute;
	content:'';
	left:48px;right:48px;
	top:48px;bottom:96px;
	z-index:+8;
	opacity:0.4;
	background:transparent url('/inc/css/icons/loading.gif') no-repeat center center;
	background-size:contain;
}

.order-form .btn-cancel {	position:absolute;
	z-index:+36;
	width:42px;
	height:42px;
	background-color:#CC0033;
	border-radius:0px 24px 0px 24px;
	color:#FFFFFF;
	top:0px;
	right:0px;
	cursor:pointer;
	transition:0.4s;
}

.order-form .btn-cancel:hover {	box-shadow:0px 0px 10px #990033;
}

.order-form .btn-cancel::after{	display:block;
	position:absolute;
	z-index:+40;
	left:50%;top:50%;
	transform:translate(-50%,-50%);
	font-size:1.8em;
	font-weight:bold;
	content:"\00D7";
}

.order-shield {
	position:fixed;
	z-index:-2;
	left:0px;
	top:0px;
	right:0px;
	bottom:0px;
	background-color:#333333;
	opacity:0.0;
	transition:0.4s;
}

body.with-create .order-shield,
body.with-view .order-shield {
	opacity:0.7;
	z-index:50;
}

body.with-create .order-create,
body.with-view .order-view {
	top:50%;
	visibility:visible;
}

.order-form .comfield {	height:6em !important;
}

.ord-dat,
.ord-mod {white-space:nowrap;font-size:90%;margin-bottom:12px;}

.ord-num {font-size:120%;line-height:125%;font-weight:bold;}

@media screen and (max-width:719px) {

	.categsel > div {margin:12px 12px;padding:12px;border-radius:12px;}
	.categsel > div > ul > li {font-size:75%;}
	.order-form {font-size:90%;}
    .status-panel {margin:12px 12px;border-radius:12px;}
    .status-panel > ul {font-size:90%;--fs-sm:13px;}
	.order-form {padding:24px 12px 12px 12px;}

}

}
