/*
|--------------------------------------------------------------------------
| pocket
|--------------------------------------------------------------------------
*/
.fly{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
	width: 30px !important;
	line-height: 30px;
	border-radius: 15px;
	text-align: center;
	color: white;
	background: var(--IngBgO);
	display: none;
}

.pls{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
	color: white;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
	display: none;
}

:root{
	--pocket-color-red: #fe0f24;
	--pocket-color-dark: #1F2937;
	--pocket-color-medium: #4B5563;
	--pocket-color-light: #9CA3AF;
	--pocket-color-purple: #8c1aff;
	--pocket-border: #d1d5db;
	--pocket-border-light: #e7ebfa;
	--pocket-bg-pink: #ffebf1;
	--pocket-bg-purple: rgba(140,26,255,.08);
	--pocket-bg-light: #f7f8fc;
}

.pocket{
	position: absolute;
	z-index: 11;
	top: 0;
	right: 0;
	width: 720px;
	height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: white;
	box-shadow: -12px 0px 12px rgba(0, 0, 0, 0.2);
	display: none;
	opacity: 0;
	right: -720px;
}

.pocket > div{
	width: 100%;
	min-height: 0;
}

/*
|--------------------------------------------------------------------------
| pocket- HEAD
|--------------------------------------------------------------------------
*/

.pocket-head{
	flex: 0 0 50px;
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: linear-gradient(
		135deg,
		#fe0f24 0%, #fe0f24 40%,
		#ff3333 40%, #ff3333 42%,
		#fe0f24 42%, #fe0f24 44%,
		#ff3333 44%, #ff3333 46%,
		#fe0f24 46%, #fe0f24 48%,
		#ff3333 48%, #ff3333 50%,
		#fe0f24 50%, #fe0f24 52%,
		#ff3333 42%, #ff3333 100%
	);
}

.pocket-head * {
	color: white;
}

.pocket-head > i{
	flex: 0 0 auto;
	min-width: 0;
	font-size: 14px;
}

.pocket-head > i[name="title"]{
	flex-grow: 1;
	font-weight: bold;
	padding-left: 6px;
}

.pocket-head > i[name="exit"]{
	cursor: pointer;
}

.pocket-goods{
	flex: 0 0 auto;
	min-height: 350px !important;
	display: flex;
	padding: 12px;
	background: #f5f5f7;
	gap: 12px;
}

.pocket-goods > div{
	min-width: 0;
	height: 100%;
}

/*
|--------------------------------------------------------------------------
| pocket-GOODS-INFO
|--------------------------------------------------------------------------
*/

.pocket-goods-info{
	flex: 0 0 220px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pocket-goods-info > div{
	width: 100%;
	min-height: 0;
}

.pocket-goods-info-image{
	width: 100%;
	flex: 0 0 220px;
	overflow: hidden;
}

.pocket-goods-info-image > img{
	float: left;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pocket-goods-info-data{
	width: 100%;
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
}

.pocket-goods-info-data > div{
	min-width: 0;
	flex: 1;
	height: auto;
	padding: 0 12px;
}

.pocket-goods-info-data-item{
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	border-bottom: 1px dashed var(--pocket-border-light);
	font-size: 11px;
	line-height: 22px;
}

.pocket-goods-info-data-item:last-child{
	border: none;
}

.pocket-goods-info-data-item > b{
	flex: 0 0 32px;
	color: var(--pocket-color-light);
	font-size: inherit;
}

.pocket-goods-info-data-item > p{
	min-width: 0;
	flex-grow: 1;
	color: var(--pocket-color-medium);
	text-align: right;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: inherit;
}

/*
|--------------------------------------------------------------------------
| pocket-CHOOSE
|--------------------------------------------------------------------------
*/

.pocket-choose{
	flex-grow: 1;
	overflow: hidden;
	position: relative;
	background: white;
	display: flex;
	flex-direction: column;
	padding: 12px;
}

.pocket-choose > div{
	width: 100%;
	min-height: 0;
}

/*
|--------------------------------------------------------------------------
| pocket-CHOOSE-TITLE
|--------------------------------------------------------------------------
*/

.pocket-choose-title{
	flex: 0 0 45px;
	display: flex;
	align-items: center;
}

.pocket-choose-title > i{
	flex: 0 0 auto;
	padding-top: 1px;
	font-size: 15px;
	color: green;
}

.pocket-choose-title > b{
	flex-grow: 1;
	font-size: 15px;
	padding-left: 6px;
	color: var(--pocket-color-dark);
}

.pocket-choose-title > p{
	flex: 0 0 auto;
}

/*
|--------------------------------------------------------------------------
| CREATE - DATA - PRICE
|--------------------------------------------------------------------------
*/

.pocket-choose-price-list{
	flex: 0 0 auto;
	max-height: 150px;
	padding: 12px 12px;
	border-radius: 8px;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 6px;
	border: 1px solid var(--pocket-border-light);
	background: var(--pocket-bg-light);
	overflow-y: overlay;
}

.pocket-choose-price-list::-webkit-scrollbar {
	width: 5px;
}

.pocket-choose-price-list::-webkit-scrollbar-thumb:vertical{
	background: #d1d5db;
	border-radius: 8px;
}

.pocket-choose-price-list::-webkit-scrollbar-thumb:vertical:hover{
	background: #d1d5db;
}

.pocket-choose-price-list > a{
	width: auto;
	height: 36.53px;
	text-align: center;
	font-size: 13px;
	color: var(--pocket-color-medium);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid var(--pocket-border-light);
	background: #FFF;
	transition: .5s;
}

.pocket-choose-price-list > a:hover,
.pocket-choose-price-list > a[state="1"]{
	color: white;
	border-color: var(--pocket-color-red);
	background: var(--pocket-color-red);
}

.pocket-choose-price-list > a > i{
	font-size: 10px;
	padding-top: 1.5px;
}

/*
|--------------------------------------------------------------------------
| pocket-CHOOSE-INFO
|--------------------------------------------------------------------------
*/

.pocket-choose-info{
	flex: 0 0 45px;
	background: var(--pocket-bg-pink);
	display: flex;
	align-items: center;
	margin-top: 12px;
	border-radius: 8px;
	border-left: 4px solid var(--pocket-color-red);
	padding: 0 12px;
}

.pocket-choose-info > p{
	min-width: 0;
	line-height: 100%;
	color: var(--pocket-color-medium);
	display: -webkit-box;
	overflow: hidden;
	word-break: break-all;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical; 
}

.pocket-choose-info > p[name="state"]{
	flex: 0 0 60px;
}

.pocket-choose-info > p[name="price"]{
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: bold;
	color: var(--pocket-color-red);
}

.pocket-choose-info > p[name="notes"]{
	flex-grow: 1;
	margin-left: 6px;
}

/*
|--------------------------------------------------------------------------
| pocket-CHOOSE-STOCK-NOTES
|--------------------------------------------------------------------------
*/

.pocket-choose-stock-notes{
	flex: 0 0 12px;
	align-items: center;
	margin-top: 16px;
}

.pocket-choose-stock-notes > i{
	float: left;
	width: 12px;
	height: 12px;
	border-radius: 6px;
	margin-left: 6px;
}

.pocket-choose-stock-notes > p{
	float: left;
	width: auto;
	padding: 0 6px;
	line-height: 12px;
	color: var(--pocket-color-light);
}

/*
|--------------------------------------------------------------------------
| CREATE - DATA - SIZE
|--------------------------------------------------------------------------
*/

.pocket-choose-size-list{
	flex-grow: 1;
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-auto-rows: min-content;
	gap: 6px;
}

.pocket-choose-size-list > a{
	width: auto;
	height: 39.76px;
	font-size: 13px;
	color: var(--pocket-color-medium);
	border: 1px solid transparent;
	border-left: 4px solid transparent;
	border-radius: 8px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .5s;
}

.pocket-choose-size-list > a:hover{
	color: var(--pocket-color-red);
	border-color: var(--pocket-color-red);
	background: var(--pocket-bg-pink);
}

.pocket-choose-size-list > a[stock="none"]{
	color: grey;
	text-decoration: line-through;
	text-decoration-color: grey;
	text-decoration-thickness: 2px;
}

/*
|--------------------------------------------------------------------------
| CREATE-ORDERS-TITLE
|--------------------------------------------------------------------------
*/

.pocket-orders-title{
	flex: 0 0 50px;
	display: flex;
	align-items: center;
	background: var(--pocket-bg-purple);
	padding: 0 12px;
}

.pocket-orders-title > i{
	color: var(--pocket-color-purple);
}

.pocket-orders-title > i[name="icon"]{
	flex: 0 0 auto;
	padding-bottom: 1px;
	background: linear-gradient(135deg, #00ffff, #ff00ff);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-size: 15px;
}

.pocket-orders-title > i[name="name"]{
	flex: 0 0 auto;
	padding-left: 6px;
	font-size: 13.5px;
}

.pocket-orders-title > i[name="count"]{
	flex-grow: 1;
	padding-left: 12px;
	font-weight: bold;
	color: var(--pocket-color-red);
}

.pocket-orders-title > i[name="count"] > span{
	padding: 0 2px;
}

.pocket-orders-title > i[name="notes"]{
	color: var(--pocket-color-purple);
	flex: 0 0 auto;
	margin-right: 12px;
}

.pocket-orders-title > i[name="make"]{
	flex: 0 0 auto;
	cursor: pointer;
	font-weight: 500;
	color: white;
	background: var(--pocket-color-purple);
	padding: 6px 9px;
	padding-top: 7px;
	border-radius: 5px;
}

.pocket-orders-title > i[name="make"]:active{
	background: color-mix(in srgb, var(--pocket-color-purple) 80%, white);
}

/*
|--------------------------------------------------------------------------
| CREATE-ORDERS
|--------------------------------------------------------------------------
*/

.pocket-orders-tbmain{
	width: 100%;
	flex-grow: 1;
	position: relative;
	padding-bottom: 36px;
}

.pocket-orders-item{
	float: left;
	width: 100%;
	height: auto;
	border-bottom: 1px solid var(--pocket-border-light);
	padding: 12px;
	display: flex;
	align-items: center;
}

.pocket-orders-item *{
	color: #3d485d;
}

.pocket-orders-item > div{
	min-width: 0;
	text-align: center;
}

.pocket-orders-item > div > img{
	float: left;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 3px 3px 6px 0 rgba(55,99,170,.1), -3px -3px 6px 0 rgba(55,99,170,.05);
}

.pocket-orders-item > div > a{
	float: left;
	width: 100%;
	height: 24px;
	line-height: 24px;
	border-radius: 12px;
	background: white;
	box-shadow: 3px 3px 6px 0 rgba(55,99,170,.1), -3px -3px 6px 0 rgba(55,99,170,.05);
}

.pocket-orders-item > div > a:active{
	background: #ebebf0;
	box-shadow: none;
}

.pocket-orders-item > div[name="image"]{
	flex: 0 0 50px;
	height: 50px;
}

.pocket-orders-item > div[name="info"]{
	flex-grow: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding-left: 24px;
}

.pocket-orders-item > div[name="info"] > p{
	width: 100%;
	line-height: 150%;
	text-align: left;
	color: var(--pocket-color-medium);
}

.pocket-orders-item > div[name="info"] > p:last-child{
	color: var(--pocket-color-light);
}

.pocket-orders-item > div[name="notes"]{
	flex: 0 0 120px;
	display: flex;
	align-items: center;
	color: var(--pocket-color-light);
}

.pocket-orders-item > div[name="notes"] > b{
	flex: 0 0 auto;
	color: inherit;
}

.pocket-orders-item > div[name="notes"] > input{
	flex-grow: 1;
	min-width: 0;
	color: inherit;
}

.pocket-orders-item > div[name="notes"] > input:focus{
	color: var(--pocket-color-medium);
}

.pocket-orders-item > div[name="price"]{
	flex: 0 0 120px;
	color: var(--pocket-color-red);
	font-size: 13px;
	font-weight: bold;
}

.pocket-orders-item > div[name="count"]{
	flex: 0 0 36px;
	color: var(--pocket-color-dark);
}

.pocket-orders-item > div[name="add"],
.pocket-orders-item > div[name="sub"]{
	flex: 0 0 36px;
	color: var(--pocket-color-dark);
}


/*
|--------------------------------------------------------------------------
| pocket-SHARE
|--------------------------------------------------------------------------
*/

.pocket-share{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f3f5f8;
	z-index: 9;
}

.orders-main{
	float: left;
	width: 100%;
	height: auto;
	background: white;
	border-top: none;
}

.orders-bar{
	float: left;
	width: 100%;
	height: 24px;
	display: flex;
	align-items: center;
	font-family: inherit;
	grid-gap: 4px;
	padding: 0 24px;
	background: linear-gradient(
		135deg,
		#fe0f24 0%, #fe0f24 40%,
		#ff3333 40%, #ff3333 42%,
		#fe0f24 42%, #fe0f24 44%,
		#ff3333 44%, #ff3333 46%,
		#fe0f24 46%, #fe0f24 48%,
		#ff3333 48%, #ff3333 50%,
		#fe0f24 50%, #fe0f24 52%,
		#ff3333 42%, #ff3333 100%
	);
}

.orders-bar > i{
	flex: 0 0 auto;
	color: white;
}

.orders-bar > i[name="text"]{
	flex-grow: 1;
	letter-spacing: 1px;
	font-family: inherit;
}

.orders-bar > i[name="logo"]{
	letter-spacing: 6px;
	font-family: inherit;
	margin-right: -6px;
}

.orders-head,
.orders-info,
.orders-list,
.orders-foot,
.orders-head *,
.orders-info *,
.orders-list *,
.orders-foot *{
	color: #2d3544;;
	font-family: inherit;
}

.orders-head{
	float: left;
	width: 100%;
	height: 168px;
	padding: 0 24px;
	display: flex;
	align-items: center;
}

.orders-head > div{
	min-width: 0;
}

.orders-head > div[name="qrcode"]{
	flex: 0 0 60px;
	height: 60px;
}

#orders-qrcode > canvas{
	float: left;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.orders-head > div[name="store"]{
	flex-grow: 1;
	height: auto;
	margin-left: 12px;
}

.orders-head > div[name="store"] > b{
	float: left;
	width: 100%;
	height: auto;
	line-height: 100%;
	color: var(--pocket-color-dark);
	margin-bottom: 3px;
}

.orders-head > div[name="store"] > b[name="id"]{
	font-size: 24px;
}

.orders-head > div[name="store"] > b[name="name"]{
	font-size: 15px;
}

.orders-head > div[name="store"] > p{
	float: left;
	width: 100%;
	height: auto;
	line-height: 100%;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--pocket-color-medium);
	font-size: 10px;
	margin-top: 2px;
}

.orders-head > div[name="item"]{
	flex: 0 0 auto;
	margin-left: 24px;
}

.orders-head > div[name="item"] > b,
.orders-head > div[name="item"] > p{
	width: auto;
}

.orders-list{
	float: left;
	width: 100%;
	height: auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
}

.orders-item{
	width: auto;
	height: auto;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	display: flex;
	align-items: center;
	padding: 2px;
	border: 1px dashed var(--pocket-border-light);
}

.orders-item-image{
	flex: 0 0 60px;
	height: 60px;
}

.orders-item-image > img{
	float: left;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: none;
	border-radius: 10px;
}

.orders-item-price{
	flex: 0 0 60px;
	line-height: 100%;
	font-size: 13px;
	font-family: 微软雅黑;
	color: var(--pocket-color-red);
	text-align: center;
}

.orders-item-size{
	flex-grow: 1;
	height: auto;
	padding-right: 6px;
}

.size-main{
	width: 100%;
	height: auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	gap: 3px;
}

.size-item{
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	background: var(--pocket-bg-light);
	padding: 6px 11px;
	border-radius: 5px;
}

.size-item > p{
	min-width: 0;
	line-height: 100%;
	font-size: 11px;
}

.size-item > p:nth-child(1){
	flex-grow: 1;
}


.size-item > p:nth-child(2){
	flex: 0 0 auto;
	color: green;
}

.orders-foot{
	float: left;
	width: 100%;
	height: auto;
	text-align: right;
	padding: 24px;
	position: relative;
	font-family: inherit;
	color: var(--pocket-color-medium);
}

.orders-foot:before{
	content: "PANDASOFT POCKET";
	position: absolute;
	top: 0;
	left: 24px;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 3px;
	color: var(--pocket-bg-light);
}