@charset "utf-8";

.cm-product-card .cm-card-state {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	padding: 0 7px;
	background: rgba(17, 17, 17, .82);
	color: #fff;
	font-size: 10px;
	line-height: 1;
}

.cm-prd__name,
.cm-product-card .name {
	display: -webkit-box;
	min-height: 3.1em;
	overflow: hidden;
	line-height: 1.55;
	white-space: normal;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.cm-import-notice {
	text-align: left;
}

.cm-actions--disabled button[disabled] {
	border-color: #d8d8d8;
	background: #f4f4f4;
	color: #999;
	cursor: not-allowed;
}

.cm-import-options {
	margin: 0;
	border-bottom: 1px solid #eee;
}

.cm-import-option-row {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	margin: 0;
	padding: 4px 0;
	font-size: 12px;
	line-height: 1.5;
}

.cm-import-option-row dt {
	color: #999;
	font-weight: 400;
}

.cm-import-option-row dd {
	margin: 0;
}

.cm-import-option-row select {
	width: 100%;
	height: 30px;
	border: 1px solid #ddd;
	background: #fff;
	color: #111;
	font-size: 12px;
}

.cm-import-option-row select:disabled {
	background: #f7f7f7;
	color: #aaa;
}

.cm-import-total {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: baseline;
	margin: 12px 0 0;
	padding: 16px 0;
	border-top: 1px solid #111;
	color: #111;
	font-size: 12px;
}

.cm-import-total strong {
	font-size: 18px;
	font-weight: 600;
}

.cm-import-total em {
	grid-column: 2;
	color: #888;
	font-style: normal;
}

.cm-import-selected-options {
	margin-top: 12px;
}

.cm-import-selected-option .op_vi_txt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.cm-import-stock {
	color: #888;
	font-size: 12px;
}

.cm-free-inputs {
	display: grid;
	gap: 8px;
	padding: 14px 0;
	border-top: 1px solid #eee;
	font-size: 12px;
}

.cm-free-inputs strong {
	font-weight: 500;
}

.cm-free-inputs label {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: #777;
}

.cm-free-inputs input {
	width: 100%;
	height: 34px;
	border: 1px solid #ddd;
	background: #f7f7f7;
	color: #999;
}

.cm-search-result {
	margin: 10px 0 0;
	color: #777;
	font-size: 13px;
	line-height: 1.5;
}

.cm-search-result strong {
	color: #111;
	font-weight: 500;
}

@media (max-width: 900px) {
	.cm-import-option-row,
	.cm-import-total,
	.cm-free-inputs label {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 10px;
	}
}
