/* stylelint-disable selector-class-pattern */

:root {
	--tcgap: 15px;
}

.tm-order-line-option .edit {
	display: none;
}

.woocommerce-tmcp-attributes.wc-metabox-content {
	background: #fdfdfd;
}

.woocommerce-tmcp-attributes.wc-metabox-content .data {
	padding: 10px 20px;
}

.form-row .tm-hide-price label,
.form-row .tm-required label,
.form-row .tm-enabled label {
	display: inline;
}

.form-row .tm-hide-price,
.form-row .tm-required,
.form-row .tm-enabled {
	display: inline-block;
	line-height: 28px;
	padding: 2px;
}

.missing h3,
.missing .tm-att-value {
	color: #e74c3c;
}

.tm-50 {
	float: left;
	width: 50%;
	min-height: 1px;
	overflow: auto;
	word-break: break-word;
}

.tm-50 p {
	white-space: pre-wrap;
}

.tm-50 input {
	max-width: calc(99% - 2px);
}

.rtl .tm-50 {
	float: right;
}

.tm-header .tm-50 {
	font-size: 0.9em;
	font-weight: 700;
}

.tm-c input.value {
	width: 100%;
}

.tm-c.name {
	border-left: 0 none !important;
}

.tm-order-line-option.item {
	background: #fafafa none repeat scroll 0 0;
	color: #2c3e50;
}

.tm-order-line {
	background: #95a5a6 none repeat scroll 0 0;
	color: #fff;
}


.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity {
	text-align: center;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .edit,
.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .view {
	min-width: 100px;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .edit input {
	float: left;
	width: 70%;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .edit small {
	float: right;
	width: 20%;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.tm-order-line-option td {
	border-bottom-style: dashed;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.tm-order-line-option:last-child td {
	border-bottom-style: none;
}

.woocommerce_order_items_wrapper table.woocommerce_order_items td.tm-epo-order-data {
	padding: 0;
}

#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.tm-order-line-option td {
	border-color: #ebebeb;
}

#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.tm-order-line td {
	cursor: default;
	font-size: 0.9em;
	font-weight: 700;
	vertical-align: bottom;
	border-color: #7f8c8d;
}


.tm-order-header {
	background: #fff none repeat scroll 0 0;
	color: #7f8c8d;
	display: inline-block;
	margin-bottom: 1em;
	padding: 0 0.5em;
}

#woocommerce-order-items .wc-order-edit-line-item-actions .tm-delete-order-item::before {
	content: "\f158";
	font-family: dashicons, Arial, Helvetica, sans-serif;
	font-variant: normal;
	font-weight: 400;
	height: 100%;
	left: 0;
	line-height: 1;
	margin: 0;
	position: relative;
	text-align: center;
	text-indent: 0;
	text-transform: none;
	top: 0;
	width: 100%;
}

#woocommerce-order-items .wc-order-edit-line-item-actions .tm-delete-order-item:hover::before {
	color: #a00;
}

.cpf-data-on-cart {
	border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
	margin-bottom: 0.5em;
	display: block;
}

.cpf-img-on-order {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: calc(100% - var(--tcgap));
	gap: var(--tcgap);
}

.cpf-img-on-order img {
	-o-object-fit: cover;
	object-fit: cover;
	display: block;
	width: 100%;
	height: auto;
}

.cpf-img-on-order > * {
	max-width: calc(50% - var(--tcgap)) !important;
	max-height: none !important;
	display: block;
	-webkit-box-flex: 0 !important;
	-ms-flex: 0 0 calc(50% - var(--tcgap)) !important;
	flex: 0 0 calc(50% - var(--tcgap)) !important;
}

.dynamic-price-warning {
	padding: 1em;
	background: #ea4c97;
	color: #fff;
	font-weight: 700;
}
