.cut-list__header {
	display: flex;
	justify-content: space-between;
	background: rgba(241, 215, 204, 1);
	padding: 10px 18px;
	border-left: 4px solid rgba(222, 90, 97, 1);
	margin-bottom: 40px;
}

.cut-list__header * {
	margin: 0;
}

.cut-list__header h3 {
	font-family: 'DM Sans';
	text-transform: uppercase;
	font-weight: 500;
	font-size: 18px;
}

.cut-list__header h5 {
	font-family: 'DM Sans';
	text-transform: uppercase;
	font-weight: 500;
	font-size: 14px;
}

.cut-list__print-btn {
	display: none;
	background: rgba(222, 90, 97, 1);
	color: #fff;
	border-radius: 4px;
	border: 2px solid rgba(222, 90, 97, 1);
}

.cut-list__print-btn:hover,
.cut-list__print-btn:focus {
	background: rgba(154, 63, 68, 1);
	border-color: rgba(154, 63, 68, 1);
}

.cut-list__container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.cut-list__card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 250px 1fr;
	gap: 10px;
	padding: 10px;
	border: 1px solid #005e5c;
	background-color: #fff;
	height: 100%;
}

.cut-list__card .cut-list__title {
	font-family: DM Sans;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 22px;
	text-transform: uppercase;
	margin: 0;
	grid-column: 1 / -1;
}

.cut-list__card .cut-list__img {
	height: 100%;
}

.cut-list__card .cut-list__img img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.cut-list__detail {
	text-transform: uppercase;
	color: #686868;
}

.cut-list__detail span {
	font-weight: 700;
	color: rgba(35, 50, 53, 1);
}

.cut-list__details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.cut-list__card .cut-list__detail {
	font-size: 0.9rem;
}

.cut-list__detail span {
	font-size: 0.9rem;
}

.cut-list__total {
	display: flex;
	justify-content: center;
	padding: 10px 5px;
	background: rgba(251, 245, 242, 1);
	color: rgba(0, 125, 122, 1);
	box-shadow: inset 0 0 0 1px rgba(35, 50, 53, 1);
	grid-column: 1 / -1;
}

.cut-list__total span {
	font-weight: 700;
	font-size: 1.1rem;
}

.cut-list__total br {
	display: none;
}

@media screen and (min-width: 768px) {
	.cut-list__card .cut-list__detail {
		display: flex;
		gap: 5px;
	}
}

@media screen and (min-width: 1024px) {
	.cut-list__print-btn {
		display: inline-block;
	}

	.cut-list__card {
		grid-template-columns: 80px 150px 1fr 175px;
		grid-template-rows: 1fr;
	}

	.cut-list__card .cut-list__title {
		margin: 0;
		grid-column: 2 / 3;
		grid-row-start: 1;
	}

	.cut-list__card .cut-list__img {
		height: 75px;
		width: 75px;
		grid-column: 1 / 2;
		grid-row-start: 1;
		justify-self: center;
		align-self: center;
	}

	.cut-list__product {
		display: grid;
		gap: 10px;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}

	.cut-list__details {
		grid-column: 3/4;
		grid-row-start: 1;
	}

	.cut-list__detail {
		flex-direction: column;
	}

	.cut-list__total {
		height: 55px;
		width: 163px;
		grid-column: 4 / -1;
		grid-row-start: 1;
		justify-self: center;
		align-self: center;
		padding: 0;
	}

	.cut-list__total br {
		display: inline;
	}
}

@media only print {
	div[data-elementor-type='header'],
	div[data-elementor-type='footer'],
	.e-con-inner:has(a[href='/dashboard/']) {
		display: none !important;
	}

	.cut-list__header {
		border-bottom: 4px solid rgba(222, 90, 97, 1);
		border-left: none;
	}

	.cut-list__print-btn {
		display: none;
	}

	.cut-list__card {
		grid-template-rows: 1fr 150px 1fr;
	}
}

@media print and (min-width: 640px) {
	.cut-list__card {
		grid-template-columns: 65px 1fr 110px;
		grid-template-rows: 20px 65px;
	}

	.cut-list__title {
		grid-column: 1 / 3;
		grid-row: 1 / 2;
	}

	.farmer-inventory-management__product-img.cut-list__img {
		grid-column: 1 / 2;
		grid-row: 2 / -1;
	}

	.cut-list__details {
		grid-collumn: 2 / 3;
		grid-row: 2 / -1;
	}

	.cut-list__product {
		display: grid;
		gap: 10px;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}

	.product-sales--total.cut-list__total {
		grid-column: 3 / -1;
		grid-row: 1 / -1;
		align-items: center;
	}

	.cut-list__product p {
		margin: 0;
	}
}
