.container-fluid.account-orders-container,
.container.account-page-container,
.account-orders-container,
.account-page-container {
	width: 90%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
.account-orders-container .account-nav-col + [class*="col-"],
.account-page-container .account-nav-col + [class*="col-"] {
	min-width: 0;
}
.account-orders-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	float: none;
	margin: 0 0 24px;
	padding: 0;
	border-bottom: 1px solid #ddd;
	text-align: center;
}
.account-orders-tabs > li {
	float: none;
	margin: 0 0 -1px;
}
.account-orders-tabs > li > a {
	display: block;
	margin-right: 2px;
	padding: 10px 22px;
	border: 1px solid transparent;
	border-radius: 0;
	color: #555;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	background: transparent;
}
.account-orders-tabs > li > a:hover,
.account-orders-tabs > li > a:focus {
	background: #f7f7f7;
	border-color: #eee #eee #ddd;
	border-radius: 0;
	color: #008bd2;
	text-decoration: none;
}
.account-orders-tabs > li.active > a,
.account-orders-tabs > li.active > a:hover,
.account-orders-tabs > li.active > a:focus {
	background: #fff;
	border-color: #ddd #ddd #fff;
	border-radius: 0;
	color: #008bd2;
	cursor: default;
}
.account-orders-section {
	margin-bottom: 36px;
	overflow: visible;
}
.account-orders-section h3 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 600;
}
.account-orders-cards {
	display: grid;
	gap: 12px;
	margin: 0 0 12px;
}
.account-order-card {
	background: #fff;
	border: 1px solid #e8edf2;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	padding: 14px 16px 12px;
	min-width: 0;
}
.account-order-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}
.account-order-card-id {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #1d2433;
}
.account-order-card-status {
	font-size: 14px;
	color: #667085;
}
.account-order-card-total {
	margin-left: auto;
	font-size: 16px;
	font-weight: 700;
	color: #1d2433;
	white-space: nowrap;
}
.account-order-card-view {
	flex: 0 0 auto;
}
.account-order-card-customer {
	margin: 10px 0 0;
	min-width: 0;
}
.account-order-card-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	margin: 12px 0 0;
	padding-top: 10px;
	border-top: 1px solid #eef2f6;
}
.account-order-card-field {
	min-width: 0;
	margin: 0;
}
.account-order-card-field--wide {
	grid-column: 1 / -1;
}
.account-order-card-field dt {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 600;
	color: #667085;
	line-height: 1.3;
}
.account-order-card-field dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #1d2433;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.account-orders-table {
	display: none;
	margin-bottom: 12px;
	min-width: 0;
	width: 100%;
	border: 0;
}
.account-orders-table > thead > tr > td,
.account-orders-table > tbody > tr > td {
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid #eef2f6;
	padding: 12px 10px;
}
.account-orders-table > thead > tr > td {
	white-space: nowrap;
	background: #f7f8fa;
	font-size: 12px;
	font-weight: 600;
	color: #667085;
	border-bottom-color: #e8edf2;
}
.account-orders-table > tbody > tr:last-child > td {
	border-bottom: 0;
}
.account-orders-table > tbody > tr:hover > td {
	background: #fafbfc;
}
.account-orders-table .col-id,
.account-orders-table .col-total,
.account-orders-table .order-date,
.account-orders-table .col-products {
	white-space: nowrap;
}
.account-orders-table .col-products {
	text-align: center;
}
.account-orders-sort {
	white-space: nowrap;
}
.account-orders-sort .fa {
	margin-left: 4px;
}
.order-customer-name {
	font-weight: 600;
	line-height: 1.3;
}
.order-customer-email {
	color: #888;
	font-size: 12px;
	line-height: 1.35;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 240px;
}
.order-row-meta {
	display: none;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #555;
}
.order-row-meta .meta-label {
	color: #888;
	margin-right: 4px;
}
.order-row-meta-compact {
	display: none;
	margin-bottom: 6px;
}
.order-row-meta-actions {
	display: none;
	margin-top: 10px;
}
.order-row-meta-actions .order-invoice-block {
	margin-bottom: 8px;
}
.order-row-meta-actions .btn {
	margin-right: 6px;
}
.order-shipping-detail {
	font-size: 12px;
	color: #555;
	white-space: nowrap;
}
.order-invoice-block {
	line-height: 1.35;
}
.order-invoice-head {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 6px;
	margin-bottom: 4px;
}
.order-invoice-pdf {
	color: #c0392b;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
}
.order-invoice-pdf:hover,
.order-invoice-pdf:focus {
	color: #922b21;
	text-decoration: none;
}
.order-invoice-number {
	font-weight: 600;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
}
a.order-invoice-number:hover,
a.order-invoice-number:focus {
	color: #008bd2;
	text-decoration: underline;
}
.order-invoice-due {
	font-size: 12px;
	color: #555;
	margin-top: 4px;
	white-space: nowrap;
}
.invoice-badge {
	display: inline-block;
	margin-top: 2px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	border: 1px solid transparent;
	border-radius: 0;
	white-space: nowrap;
}
.invoice-badge-paid {
	background: #3c9d4f;
	border-color: #3c9d4f;
	color: #fff;
}
.invoice-badge-unpaid {
	background: transparent;
	border-color: #e67e22;
	color: #e67e22;
}
.invoice-badge-unpaid-overdue {
	background: #d9534f;
	border-color: #d9534f;
	color: #fff;
}

@media (min-width: 768px) {
	.account-orders-container .account-nav-col,
	.account-page-container .account-nav-col {
		flex: 0 0 288px;
		max-width: 288px;
		width: 288px;
	}
	.account-orders-container .account-nav-col + [class*="col-"],
	.account-page-container .account-nav-col + [class*="col-"] {
		flex: 1 1 0;
		max-width: none;
	}
}

@media (min-width: 1680px) {
	.account-orders-cards {
		display: none;
	}
	.account-orders-table {
		display: table;
	}
	.account-orders-table > thead > tr > td,
	.account-orders-table > tbody > tr > td {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 767px) {
	.container-fluid.account-orders-container,
	.container.account-page-container,
	.account-orders-container,
	.account-page-container {
		width: 100%;
		padding-left: 12px;
		padding-right: 12px;
	}
	.order-customer-name {
		font-size: 16px;
	}
	.order-customer-email {
		max-width: none;
		font-size: 14px;
		white-space: normal;
	}
	.order-shipping-detail {
		white-space: normal;
		font-size: 14px;
	}
	.invoice-badge {
		white-space: normal;
		font-size: 12px;
	}
}

@media (max-width: 479px) {
	.account-order-card-fields {
		grid-template-columns: 1fr;
	}
	.account-order-card-total {
		margin-left: 0;
		width: 100%;
		order: 3;
	}
	.account-order-card-view {
		margin-left: auto;
	}
}

@media (max-width: 399px) {
	.account-orders-container,
	.account-page-container {
		padding-left: 8px;
		padding-right: 8px;
	}
	.account-order-card {
		padding: 12px;
	}
}
