/* ========================================
   Orders Section (List View)
   ======================================== */

.rw-orders-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rw-orders-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rw-order-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 1px solid #e1e7ed;
	border-radius: 2px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.04);
}

.rw-order-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rw-order-product-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rw-order-thumb {
	width: 56px;
	height: 40px;
	border-radius: 2px;
	overflow: clip;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rw-order-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rw-order-product-text {
	display: flex;
	flex-direction: column;
}

.rw-order-product-name {
	color: #111739;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.36;
	letter-spacing: -0.16px;
	margin: 0;
}

.rw-order-more-items {
	color: #354261;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -0.12px;
	margin: 0;
}

.rw-order-more-items a {
	color: #0064c8;
	text-decoration: underline;
	font-weight: 500;
}

.rw-order-status {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	background: #eaeef3;
	border-radius: 9999px;
	color: #111739;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -0.12px;
	white-space: nowrap;
	flex-shrink: 0;
}

.rw-order-status--processing {
	background-color: #e6f4ea;
	color: #137333;
}

.rw-order-status--completed {
	background-color: #e6f4ea;
	color: #137333;
}

.rw-order-status--on-hold {
	background-color: #eaeef3;
	color: #111739;
}

.rw-order-status--cancelled,
.rw-order-status--failed {
	background-color: #fce8e6;
	color: #c5221f;
}

.rw-order-status--pending {
	background-color: #fef7e0;
	color: #b05a00;
}

.rw-order-status--refunded {
	background-color: #f3e8fd;
	color: #7627bb;
}

.rw-order-divider {
	height: 1px;
	background: #e1e7ed;
}

.rw-order-details {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rw-order-detail-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rw-order-detail-label {
	color: #656b89;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.36;
	letter-spacing: -0.14px;
}

.rw-order-detail-value {
	color: #111739;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.36;
	letter-spacing: -0.14px;
}

.rw-order-footer {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 36px;
}

.rw-order-total-label {
	flex: 1;
	color: #111739;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.36;
	letter-spacing: -0.14px;
}

.rw-order-total-value {
	color: #111739;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.14px;
	text-transform: uppercase;
}

.rw-orders-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
}
