.order-cols {
	display: flex;
	gap: 30px;
}

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

/* table */

.order-table {
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 5px;
	align-self: flex-start;
}

@media (min-width: 1025px) {
	.order-cols>.order-table {
		max-width: calc(100% - 300px);
	}
}

.order-row {
	width: 100%;
	display: flex;
	gap: 10px;
	padding: 18px 15px;
	border-bottom: rgba(170, 170, 170, 0.2) 1px solid;
}

.order-row.order-head {
	font-weight: 600;
	background: #f2f5f7;
	color: #516274;
	border-bottom: none;
	border-radius: 5px 5px 0px 0px;
}

.order-row:last-child {
	border-bottom: none;
}

.order-row-small {
	padding: 10px 15px;
	color: #555;
	font-size: 11px;
	font-weight: 400;
}

.order-row.order-row-small.order-head {
	background: #fff;
}

.order-cell-group {
	flex: 1;
	display: flex;
	gap: 10px;
}

.order-cell {
	align-self: center;
}

.order-cell small {
	display: block;
	text-align: end;
}

.order-image {
	min-width: 42px;
	width: 42px;
	height: 42px;
	object-fit: contain;
	background-color: #fff;
	border-radius: 5px;
}

.points-wrapper .pagination,
.order-wrapper .pagination,
.admin-offers .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.points-wrapper .pagination .page-numbers,
.order-wrapper .pagination .page-numbers,
.admin-offers .pagination .page-numbers {
	min-width: 40px;
	height: 32px;
	padding: 0 15px;
	border-radius: 5px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.points-wrapper .pagination .page-numbers:not(.dots),
.order-wrapper .pagination .page-numbers:not(.dots),
.admin-offers .pagination .page-numbers:not(.dots) {
	background-color: rgb(240, 240, 240);
}

.points-wrapper .pagination .page-numbers:not(.dots, .current):hover,
.order-wrapper .pagination .page-numbers:not(.dots, .current):hover,
.admin-offers .pagination .page-numbers:not(.dots, .current):hover {
	background-color: rgb(225, 225, 225);
}

.points-wrapper .pagination .page-numbers.current,
.order-wrapper .pagination .page-numbers.current,
.admin-offers .pagination .page-numbers.current {
	background-color: #353535;
	color: #fff;
	font-weight: 500;
}

.order-wrapper .post-count {
	color: #999;
}

.admin-offers .post-count {
	text-align: center;
	margin-top: 20px;
}

/* item */
.order-item-container {
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.order-item {
	width: 100%;
	display: flex;
	gap: 10px;
}

.order-toggle-item {
	cursor: pointer;
}

.order-product-sku {
	color: #aaa;
	font-size: 10px;
	font-weight: 400;

	display: flex;
	gap: 10px;
	align-items: center;
}

.order-chevron {
	color: var(--primary-color);
	height: 10px;
	width: 10px;
	padding: 5px;
	box-sizing: content-box;
	transition: 0.5s ease;
}

.order-chevron-rotate {
	transform: rotate(0.5turn);
}

.order-item-expandable {
	margin-top: 15px;
	margin-right: 110px;
	display: none;
}

.order-item-expandable .order-row-small {
	padding: 10px 0;
}

.order-item-sku {
	flex: 1;
	color: #aaa;
}

@media (max-width: 768px) {
	.order-item-expandable {
		margin-right: 0;
	}

	.order-item-expandable .order-row {
		flex-wrap: wrap;
	}

	.order-item-expandable .order-row:not(:last-child) span:first-of-type {
		flex-basis: 100%;
	}
}

.order-line-header {
	width: 100px;
}

.order-coupon {
	opacity: 0.5;
}

a.order-row,
.order-row a {
	text-decoration: none;
}

/* sidebar */

.order-sidebar {
	width: 300px;
	display: flex;
	flex-direction: column;
}

.order-sidebar h3 {
	background: #f2f5f7;
	color: #516274;
	padding: 18px 20px;
	border-radius: 5px 5px 0px 0px;
	font-weight: 600;
	font-size: 14px;
}

.order-card {
	background-color: #fff;
	border-radius: 0px 0px 5px 5px;
	padding: 20px;
	margin-bottom: 20px;
}

.order-card h4 {
	font-weight: 600;
	margin-bottom: 10px;
}

.order-card h2 {
	font-weight: 600;
	margin-bottom: 14px;
}

.order-card p {
	padding: 0;
}

.order-card hr {
	border: 0;
	height: 1px;
	background-color: #707070;
	opacity: 0.2;
	margin: 20px -20px 15px;
}

#order-note {
	display: none;
	margin-top: 25px;
}

.order-textarea {
	width: 100%;
	min-height: 100px;
	max-height: 300px;
	resize: vertical;

	padding: 10px;
	margin-bottom: 10px;

	border: 1px solid #ddd;
	border-radius: 5px;
	outline: 0;
}

.order-textarea:focus {
	border-color: #4d90fe;
}

.order-buttons {
	display: flex;
	justify-content: space-evenly;
	gap: 15px;
}

.order-btn {
	width: 100%;
}

.track-btn {
	font-size: 12px;
	color: #fff;
	background: #83a3e2;
	font-weight: 600;
	padding: 3px 12px;
	border-radius: 4px;
}

.order-note {
	display: flex;
	flex-flow: row wrap;
	gap: 5px 10px;
	justify-content: space-between;
}

.order-note-content {
	flex-basis: 100%;
}

.order-note-content::before,
.order-note-content::after {
	content: '"';
	font-weight: 700;
	opacity: 0.5;
}

.order-note-date,
.order-note-author {
	opacity: 0.5;
	font-size: 12px;
}

.order-nonotes {
	opacity: 0.5;
}

@media (max-width: 1024px) {
	.order-cols {
		flex-direction: column;
	}

	.order-table {
		width: 100%;
	}

	.order-sidebar {
		width: 100%;
	}
}

/* single order */

.order-w-product {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.order-w-size {
	min-width: 80px;
}

.order-w-amount {
	min-width: 80px;
}

.order-w-price {
	text-align: end;
	min-width: 100px;
}

.order-w-totals {
	text-align: end;
	min-width: 100px;
}

@media (max-width: 768px) {
	.order-item {
		flex-wrap: wrap;
	}

	.order-hide-small {
		display: none;
	}

	.order-w-product {
		flex-basis: 100%;
		white-space: unset;
	}

	.order-w-size {
		flex: 4;
		min-width: 50px;
	}

	.order-size::before {
		content: "Size ";
	}

	.order-w-amount {
		flex: 1;
		min-width: 50px;
	}

	.order-w-price {
		flex: 1;
		min-width: fit-content;
	}

	.order-w-totals {
		width: 100%;
		min-width: fit-content;
	}
}

/* order list */

.order-w-date {
	min-width: 75px;
}

.order-w-number {
	min-width: 75px;
}

.order-w-user {
	flex: 3;
}

.order-w-manager {
	flex: 3;
}

.order-w-branch {
	flex: 5;
}

.order-w-status {
	min-width: 100px;
}

.order-w-total {
	min-width: 120px;
	text-align: end;
}

@media (max-width: 768px) {
	.order-row-groups {
		flex-flow: row wrap;
	}

	.order-w-date {
		text-align: left;
		order: 1;
	}

	.order-w-number {
		order: 2;
		flex: 1;
	}

	.order-w-status {
		order: 3;
		min-width: unset;
	}

	.order-table .order-w-break {
		order: 4;
		flex-basis: 100%;
	}

	.order-cell-group {
		order: 5;
		width: 100%;
		flex-basis: 100%;
		flex-direction: column;
		gap: 5px;
	}

	.order-cell-group span {
		width: 100%;
		display: flex;
		gap: 10px;
	}

	.order-w-total {
		order: 6;
		flex-basis: 100%;
	}

	.order-w-number::before {
		content: "#";
	}

	.order-w-user::before,
	.order-w-manager::before,
	.order-w-branch::before {
		display: inline-block;
		min-width: 75px;
		text-align: right;
		font-size: 12px;
		opacity: 0.3;
	}

	.order-w-user::before {
		content: "Ordered by:";
		text-align: left;
	}

	.order-w-manager::before {
		content: "Manager:";
		text-align: left;
	}

	.order-w-branch::before {
		content: "Venue:";
		text-align: left;
	}

	.order-label {
		width: 100% !important;
	}
}

/* header background */

.order-bg-grey {
	background-color: #fbf7dd;
	border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.order-bg-grey .header-page-banner-heading,
.order-bg-grey .header-page-banner-sub-heading {
	color: #433d08;
}

.order-bg-green {
	background-color: var(--primary-color);
	border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.order-bg-green .header-page-banner-heading,
.order-bg-green .header-page-banner-sub-heading {}

.order-bg-red {
	background-color: #ffdddd;
	border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

.order-bg-red .header-page-banner-heading,
.order-bg-red .header-page-banner-sub-heading {
	color: #db5b5b;
}