ul {
	margin: 0;
	padding: 0;
	list-style: none;

}

.cits-dashbord-area a {
	text-decoration: none;
	display: inline-block;
	box-sizing: border-box;
}

.cits-my-account h1,
.cits-my-account h2,
.cits-my-account h3,
.cits-my-account h4,
.cits-my-account h5,
.cits-my-account h6,
.cits-my-account p {
	margin: 0;
}


.wc-block-components-totals-coupon-link,
.content-body a {
	color: #332C2C !important;
}

/* .cits-my-account .woocommerce-MyAccount-navigation ul li {
	padding: 0 !important;
} */

.cits-my-account .woocommerce-MyAccount-navigation ul li a {
	padding: 8px 12px;
	width: 100%;
	box-sizing: border-box;
	text-decoration: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
}

.cits-my-account .woocommerce-MyAccount-navigation ul li a .dashicons {
	margin-left: 0;
	margin-right: 0;
	font-size: 20px;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.cits-nav-label {
	display: inline-block;
}

/* .cits-my-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: #DDDDDD52 !important;
} */

/* .cits-my-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: #DDDDDD52 !important;
	font-weight: 700;
} */

.cits-my-account .woocommerce-MyAccount-navigation ul li:last-child a {
	border: none !important;
}


.cits-dashbord-area h2 {
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #DDD;
}

.cits-dashbord-single-item {
	text-decoration: none !important;
	color: #2c3e50;
}

.cits-dashbord-single-item span {
	display: block;
}

.cits-dashbord-single-item span img {
	width: 30px;
	height: 30px;
	object-fit: contain;
	display: inline-block;
	margin: 0 0 12px;
}

.cits-dashbord-single-item span>.dashicons {
	display: inline-block;
	margin: 0 0 12px;
	font-size: 28px !important;
	width: 28px !important;
	height: 28px !important;
	line-height: 1 !important;
}

.cits-my-account fieldset {
	padding: 0;
	border: none;
}

.dashboard-dark-design {
	display: grid;
	grid-template-columns: 31% 31% 31%;
	gap: 25px;
}

.cits-my-account .woocommerce-Button {
	/* background-image: linear-gradient(#0dccea, #0d70ea) !important; */
	color: white !important;
	font-weight: 500 !important;
	box-shadow: 0 10px 20px rgba(147, 106, 113, 0.2) !important;
	transition: opacity 0.2s !important;
}

/* .woocommerce-button.wp-element-button.button.view,
.woocommerce-address-fields .button.wp-element-button,
.woocommerce-Button.button.wp-element-button {
	margin-top: 20px;
	background: linear-gradient(120deg, #354060, #262D47) !important;
	border: 1px solid #DDDDDD3B;
} */
.woocommerce-button.wp-element-button.button.view:hover,
.woocommerce-address-fields .button.wp-element-button:hover,
.woocommerce-Button.button.wp-element-button:hover {
	background: linear-gradient(120deg, #262D47, #354060) !important;
}

.woocommerce-address-fields .button.wp-element-button {
	margin-top: 0;
}

.cits-my-account .col2-set .col-2,
.woocommerce-page .col2-set .col-2,
.cits-my-account .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
	width: 100% !important;
	padding-top: 30px;
}

.woocommerce-Address-title.title {
	margin-bottom: 10px;
}

.woocommerce-button.wp-element-button.button.view,
.wc-block-components-notice-banner__content .woocommerce-Button.button.wp-element-button {
	margin: 0;
}




.woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr td {
	border-top: 1px solid rgba(0, 0, 0, .1) !important;
}

.woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr:last-child td {
	border-bottom: 1px solid rgba(0, 0, 0, .1) !important;
}

.cits-my-account .woocommerce-MyAccount-navigation {
	min-height: 380px;
	height: fit-content;
	position: sticky;
	top: 0;
}

.cits-dashbord-single-item span img.white-image {
	display: none !important;
}

.cits-dashbord-single-item span img.dark-image {
	display: inline-block !important;
}

.cits-my-account .woocommerce-MyAccount-navigation fieldset {
	margin-bottom: 20px;
}


/*Responsive*/

@media all and (max-width: 991px) {
	.dashboard-dark-design {
		grid-template-columns: 48% 48%;
	}

	.cits-my-account .woocommerce-MyAccount-navigation {
		overflow-x: auto;
	}
}

@media all and (max-width: 767px) {

	.cits-my-account .woocommerce-MyAccount-navigation,
	.cits-my-account .woocommerce-MyAccount-content {
		width: 100% !important;
		box-sizing: border-box;
	}

	.cits-my-account .woocommerce-MyAccount-navigation ul li a {
		padding: 12px 15px !important;
	}

	.woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr td:last-child::before {
		display: none !important;
	}

	.woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr:last-child td {
		border-bottom: none !important;
	}

	.woocommerce-orders-table.woocommerce-MyAccount-orders tbody tr td:first-child {
		border: none !important;
	}

	.cits-my-account .woocommerce-MyAccount-navigation {
		min-height: auto;
		position: static;
	}

}

@media all and (max-width: 575px) {
	.dashboard-dark-design {
		gap: 10px;
	}

	.button.wc-forward.wp-element-button {
		float: left;
		margin-top: 10px;
	}
}

@media all and (max-width: 480px) {
	.dashboard-dark-design {
		grid-template-columns: 100%;
	}
}

/* User Avatar Styles */
.cits-user-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 10px;
}

.cits-user-avatar {
	margin-bottom: 10px;
}

.cits-user-avatar img {
	border-radius: 50% !important;
	object-fit: cover;
}

.cits-user-name {
	margin-top: 5px;
	font-size: 16px;
	color: #333;
}

/* Upgrade to Flexbox for Equal Heights */
.cits-my-account .woocommerce {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
}

.cits-my-account .woocommerce::before,
.cits-my-account .woocommerce::after {
	display: none !important;
}

/* =========================================================
   TeraWallet Premium UI Design Overrides
   ========================================================= */
.woo-wallet-my-wallet-container {
	padding: 10px 0;
	font-family: 'Poppins', sans-serif !important;
}

/* Header */
.woo-wallet-header {
	margin-bottom: 25px;
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.woo-wallet-header h2 {
	font-size: 26px !important;
	font-weight: 700 !important;
	color: #0F172A !important;
	margin-bottom: 6px !important;
	letter-spacing: -0.02em;
	border: none !important;
	padding: 0 !important;
}

.woo-wallet-header p {
	font-size: 14.5px !important;
	color: #64748B !important;
}

/* Balance Card */
.woo-wallet-balance-card {
	background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
	border-radius: 16px !important;
	padding: 35px !important;
	box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3), 0 8px 10px -6px rgba(59, 130, 246, 0.3) !important;
	color: #ffffff !important;
	text-align: center !important;
	margin-bottom: 30px !important;
	border: none !important;
}

.woo-wallet-balance-card h3 {
	font-size: 13px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: rgba(255, 255, 255, 0.8) !important;
	margin-bottom: 12px !important;
}

.woo-wallet-balance-card .woo-wallet-price {
	font-size: 42px !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	margin: 0 !important;
	line-height: 1.1 !important;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation Tabs (Segmented Control style) */
.woo-wallet-nav-tabs {
	display: inline-flex !important;
	gap: 6px !important;
	background: #f1f5f9 !important;
	padding: 6px !important;
	border-radius: 12px !important;
	box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03) !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin-bottom: 30px !important;
	border: none !important;
}

.woo-wallet-nav-item-wrapper {
	flex: 1 !important;
	margin: 0 !important;
}

.woo-wallet-nav-tab {
	background: transparent !important;
	border: none !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	padding: 10px 15px !important;
	color: #64748B !important;
	border-radius: 8px !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	text-decoration: none !important;
	text-transform: none !important;
	box-shadow: none !important;
	line-height: 1.2 !important;
}

.woo-wallet-nav-tab:hover {
	color: #1E293B !important;
	background: rgba(255, 255, 255, 0.5) !important;
}

.woo-wallet-nav-tab.active,
.woo-wallet-nav-tab.active:hover {
	color: #2563eb !important;
	background: #ffffff !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.woo-wallet-nav-tab span.dashicons {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
}

/* Forms and Fields */
.woo-wallet-form-wrapper {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	border-radius: 16px !important;
	padding: 30px !important;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03), 0 8px 10px -6px rgba(15, 23, 42, 0.03) !important;
}

.woo-wallet-section-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1E293B !important;
	margin-bottom: 20px !important;
}

.woo-wallet-field-container label {
	display: block !important;
	font-weight: 600 !important;
	font-size: 11px !important;
	color: #475569 !important;
	margin-bottom: 8px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
}

/* Input Styles */
.woo-wallet-form-wrapper input[type="text"],
.woo-wallet-form-wrapper input[type="number"],
.woo-wallet-form-wrapper textarea,
.woo-wallet-form-wrapper select {
	width: 100% !important;
	padding: 12px 16px !important;
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	line-height: 20px !important;
	background: #F8FAFC !important;
	color: #0F172A !important;
	transition: all 0.2s ease !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
	box-sizing: border-box !important;
}

.woo-wallet-form-wrapper input:focus,
.woo-wallet-form-wrapper textarea:focus,
.woo-wallet-form-wrapper select:focus {
	border-color: #3b82f6 !important;
	background: #ffffff !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

/* Select2 Custom Styles (since TeraWallet uses select2) */
.woo-wallet-form-wrapper .select2-container--default .select2-selection--single {
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 8px !important;
	height: 46px !important;
	background: #F8FAFC !important;
	display: flex !important;
	align-items: center !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
}

.woo-wallet-form-wrapper .select2-container--default .select2-selection--single:focus,
.woo-wallet-form-wrapper .select2-container--default.select2-container--focus .select2-selection--single {
	border-color: #3b82f6 !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
	outline: none !important;
}

.woo-wallet-form-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #0F172A !important;
	font-size: 14px !important;
	padding-left: 16px !important;
}

.woo-wallet-form-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px !important;
	right: 12px !important;
}

/* Button */
.woo-wallet-form-wrapper input[type="submit"].button {
	display: inline-block !important;
	width: auto !important;
	text-decoration: none !important;
	font-size: 14px !important;
	min-height: 44px !important;
	margin: 10px 0 0 0 !important;
	padding: 10px 24px !important;
	cursor: pointer !important;
	border: none !important;
	appearance: none !important;
	border-radius: 8px !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
	color: #fff !important;
	font-weight: 600 !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.15), 0 2px 4px -1px rgba(37, 99, 235, 0.1) !important;
}

.woo-wallet-form-wrapper input[type="submit"].button:hover {
	background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -2px rgba(37, 99, 235, 0.1) !important;
}

.woo-wallet-form-wrapper input[type="submit"].button:active {
	transform: translateY(1px) !important;
	box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1) !important;
}

.woo-wallet-form-wrapper input[type="submit"].button:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4) !important;
}

/* ============================================================
   Greeting Message — base & theme variants
   ============================================================ */
.macfw-greeting {
	margin-bottom: 24px;
}

.macfw-greeting-text {
	font-size: 22px !important;
	font-weight: 700 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: none !important;
	line-height: 1.3 !important;
}

.macfw-greeting-sub {
	font-size: 14px !important;
	margin: 0 !important;
	opacity: 0.75;
	line-height: 1.5 !important;
}

/* Default design */
.macfw-greeting--default .macfw-greeting-text {
	color: #111827;
}
.macfw-greeting--default .macfw-greeting-sub {
	color: #6b7280;
}

/* Simple design — subtle card style */
.macfw-greeting--simple {
	background: #fff;
	border-radius: 10px;
	padding: 20px 22px 24px;
	box-shadow: rgba(14,63,126,0.04) 0 0 0 1px, rgba(42,51,70,0.04) 0 3px 8px -2px;
	margin-bottom: 24px;
}
.macfw-greeting--simple .macfw-greeting-text {
	color: #1e293b;
}
.macfw-greeting--simple .macfw-greeting-sub {
	color: #64748b;
	margin-top: 6px !important;
}

/* Modern design — gradient accent bar on left */
.macfw-greeting--modern {
	background: #fff;
	border-radius: 14px;
	padding: 20px 24px 24px;
	border-left: 4px solid #2563eb;
	box-shadow: 0 2px 12px rgba(37,99,235,0.08);
	margin-bottom: 24px;
}
.macfw-greeting--modern .macfw-greeting-text {
	color: #1e293b;
}
.macfw-greeting--modern .macfw-greeting-sub {
	color: #64748b;
	margin-top: 6px !important;
}

/* Dark design — dark card with glow */
.macfw-greeting--dark {
	background: #1e2337;
	border-radius: 12px;
	padding: 20px 24px 24px;
	border-left: 4px solid #3b82f6;
	box-shadow: 0 4px 20px rgba(59,130,246,0.12);
	margin-bottom: 24px;
}
.macfw-greeting--dark .macfw-greeting-text {
	color: #f1f5f9;
}
.macfw-greeting--dark .macfw-greeting-sub {
	color: #94a3b8;
	margin-top: 6px !important;
}

/* ============================================================
   Sidebar Nav Count Badge
   ============================================================ */
.macfw-nav-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #475569;
	margin-left: auto;
	flex-shrink: 0;
}

/* ============================================================
   Order / Download Count Badges (dashboard icon)
   ============================================================ */
.macfw-icon-wrap {
	position: relative;
	display: inline-block;
	/* override display:block so wrap hugs the icon */
}

.macfw-count-badge {
	position: absolute;
	top: -15px;
	right: 15%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 10px;
	background: #000;
	color: #fff;
	border: 2px solid #fff;
	letter-spacing: 0;
	z-index: 1;
	color: #FFF !important;
}

/* Count stat row — used on the default (text) dashboard template */
.macfw-count-stats {
	display: flex;
	gap: 14px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.macfw-count-stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px 28px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none !important;
	color: #1e293b !important;
	transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
	min-width: 96px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.macfw-count-stat-item:hover {
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.macfw-count-stat-number {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.macfw-count-stat-label {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
	margin-top: 5px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}
/* ── Downloads card grid ─────────────────────────────────────── */
.macfw-downloads-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 20px;
	margin-top: 4px;
}

.macfw-download-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 28px 20px 20px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s, box-shadow 0.2s;
}

.macfw-download-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.macfw-download-icon-wrap {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #f0f4ff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	flex-shrink: 0;
}

.macfw-download-icon-wrap svg {
	color: #2563eb;
}

.macfw-download-body {
	flex: 1;
	width: 100%;
	margin-bottom: 18px;
}

.macfw-download-product {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 6px !important;
	line-height: 1.35 !important;
}

.macfw-download-product a {
	color: inherit !important;
	text-decoration: none !important;
}

.macfw-download-product a:hover {
	text-decoration: underline !important;
}

.macfw-download-filename {
	font-size: 11px !important;
	color: #6b7280 !important;
	margin: 0 0 10px !important;
	word-break: break-all;
	line-height: 1.4 !important;
}

.macfw-download-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: #9ca3af;
	font-weight: 500;
}

.macfw-dl-sep {
	opacity: 0.5;
}

.macfw-download-btn {
	display: block;
	width: 100%;
	background: #111827;
	color: #fff !important;
	text-align: center;
	padding: 11px 16px;
	border-radius: 9px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: background 0.18s, transform 0.15s;
}

.macfw-download-btn:hover {
	background: #1f2937;
	color: #fff !important;
	transform: none;
}

/* ── Orders card list ────────────────────────────────────────── */
.macfw-orders-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.macfw-order-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px 22px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
	transition: box-shadow 0.2s, transform 0.2s;
}

.macfw-order-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.09);
	transform: translateY(-1px);
}

/* Header: order number + status */
.macfw-order-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.macfw-order-number {
	display: flex;
	align-items: center;
	gap: 6px;
}

.macfw-order-hash {
	font-size: 12px;
	color: #9ca3af;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.macfw-order-num-link {
	font-size: 18px;
	font-weight: 700;
	color: #111827 !important;
	text-decoration: none !important;
}

.macfw-order-num-link:hover {
	color: #2563eb !important;
}

/* Status badge */
.macfw-order-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	text-transform: capitalize;
}

.macfw-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Status colours */
.macfw-order-status--completed  { background: #f0fdf4; color: #16a34a; }
.macfw-order-status--completed  .macfw-status-dot { background: #16a34a; }
.macfw-order-status--processing { background: #eff6ff; color: #2563eb; }
.macfw-order-status--processing .macfw-status-dot { background: #2563eb; }
.macfw-order-status--pending    { background: #fffbeb; color: #d97706; }
.macfw-order-status--pending    .macfw-status-dot { background: #d97706; }
.macfw-order-status--on-hold    { background: #fff7ed; color: #ea580c; }
.macfw-order-status--on-hold    .macfw-status-dot { background: #ea580c; }
.macfw-order-status--cancelled  { background: #fef2f2; color: #dc2626; }
.macfw-order-status--cancelled  .macfw-status-dot { background: #dc2626; }
.macfw-order-status--refunded   { background: #f8fafc; color: #64748b; }
.macfw-order-status--refunded   .macfw-status-dot { background: #94a3b8; }
.macfw-order-status--failed     { background: #fef2f2; color: #dc2626; }
.macfw-order-status--failed     .macfw-status-dot { background: #dc2626; }

/* Body: meta + total */
.macfw-order-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 14px;
	gap: 12px;
	flex-wrap: wrap;
}

.macfw-order-meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.macfw-order-date,
.macfw-order-items {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #6b7280;
}

.macfw-order-date svg,
.macfw-order-items svg {
	flex-shrink: 0;
	opacity: 0.7;
}

.macfw-order-total {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
}

/* Footer: action buttons */
.macfw-order-card__footer {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.macfw-order-action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.18s, color 0.18s;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: #374151 !important;
}

.macfw-order-action:hover {
	background: #f3f4f6;
	color: #111827 !important;
}

.macfw-order-action--primary {
	background: #111827;
	color: #fff !important;
	border-color: #111827;
}

.macfw-order-action--primary:hover {
	background: #1f2937;
	color: #fff !important;
}

/* Pagination */
.macfw-orders-pagination {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.macfw-page-btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #f9fafb;
	color: #374151 !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.18s;
}

.macfw-page-btn:hover {
	background: #f3f4f6;
	color: #111827 !important;
}

/* ── Orders table ────────────────────────────────────────────── */
.macfw-orders-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.macfw-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.macfw-orders-table thead tr {
	background: #f9fafb;
	border-bottom: 2px solid #e5e7eb;
}

.macfw-orders-table thead th {
	padding: 13px 20px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	white-space: nowrap;
}

.macfw-orders-table tbody tr {
	border-bottom: 1px solid #f3f4f6;
	transition: background 0.15s;
}

.macfw-orders-table tbody tr:last-child {
	border-bottom: none;
}

.macfw-orders-table tbody tr:hover {
	background: #fafafa;
}

.macfw-orders-table td {
	padding: 16px 20px;
	vertical-align: middle;
}

.macfw-col-order .macfw-order-num-link {
	font-size: 15px;
	font-weight: 700;
	color: #111827 !important;
	text-decoration: none !important;
}

.macfw-col-order .macfw-order-num-link:hover {
	color: #2563eb !important;
}

.macfw-col-date {
	color: #6b7280;
	font-size: 13px;
}

.macfw-col-total {
	font-size: 14px;
	color: #374151;
	font-weight: 500;
}

.macfw-col-actions {
	white-space: nowrap;
}

.macfw-order-action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 14px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.18s, color 0.18s;
	border: 1px solid #e5e7eb;
	background: #f3f4f6;
	color: #374151 !important;
	margin-right: 4px;
}

.macfw-order-action:hover {
	background: #e5e7eb;
	color: #111827 !important;
}

.macfw-order-action--primary {
	background: #111827;
	color: #fff !important;
	border-color: #111827;
}

.macfw-order-action--primary:hover {
	background: #1f2937;
	color: #fff !important;
}

/* ── View Order page ─────────────────────────────────────────── */
.macfw-order-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px 24px;
	margin-bottom: 22px;
}

.macfw-order-header__number {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.macfw-order-header__number span {
	font-size: 11px;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.macfw-order-header__number strong {
	font-size: 22px;
	font-weight: 800;
	color: #111827;
}

.macfw-order-header__meta {
	margin-top: 5px;
}

.macfw-oh-date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #6b7280;
}

/* Order details section */
.macfw-view-order .woocommerce-order-details {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 22px 24px;
	margin-bottom: 16px !important;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.macfw-view-order .woocommerce-order-details__title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 18px !important;
	padding-bottom: 14px !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

.macfw-view-order .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
}

.macfw-view-order .woocommerce-table--order-details thead th {
	padding: 0 0 10px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #9ca3af !important;
	font-weight: 700 !important;
	border-bottom: 1px solid #f3f4f6;
}

.macfw-view-order .woocommerce-table--order-details tbody tr {
	border-bottom: 1px solid #f9fafb;
}

.macfw-view-order .woocommerce-table--order-details tbody td,
.macfw-view-order .woocommerce-table--order-details tbody th {
	padding: 12px 0;
	font-size: 14px;
	color: #374151;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr th,
.macfw-view-order .woocommerce-table--order-details tfoot tr td {
	padding: 10px 0;
	font-size: 13px;
	border-top: 1px solid #f3f4f6;
	color: #6b7280;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order .woocommerce-table--order-details tfoot tr:last-child td {
	font-weight: 700;
	color: #111827;
	font-size: 15px;
	border-top: 2px solid #e5e7eb;
}

/* "Order again" and other action buttons in order details */
.macfw-view-order .woocommerce-order-details .order-actions-button,
.macfw-view-order .wc-item-meta-label { color: #6b7280; }

.macfw-view-order .woocommerce-order-details tfoot .order-actions-button {
	display: inline-flex;
	align-items: center;
	background: #111827 !important;
	color: #fff !important;
	border: none !important;
	padding: 9px 18px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: background 0.18s;
}

.macfw-view-order .woocommerce-order-details tfoot .order-actions-button:hover {
	background: #1f2937 !important;
}

/* Standalone order-again button (below table) */
.macfw-view-order .woocommerce-order-again .button,
.macfw-view-order .order-again .button {
	background: #111827 !important;
	color: #fff !important;
	border: none !important;
	padding: 10px 22px !important;
	border-radius: 9px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
}

/* Billing address */
.macfw-view-order .woocommerce-customer-details {
	margin-top: 6px;
}

.macfw-view-order .woocommerce-column__title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 10px !important;
}

.macfw-view-order .woocommerce-customer-details address {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px 20px;
	font-style: normal;
	line-height: 1.8;
	font-size: 13px;
	color: #4b5563;
}

.macfw-view-order .woocommerce-customer-details--phone,
.macfw-view-order .woocommerce-customer-details--email {
	margin: 4px 0 0 !important;
	font-size: 13px;
	color: #6b7280;
}

/* Notes */
.macfw-order-notes {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 20px 24px;
	margin-bottom: 16px;
}

.macfw-section-title {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 14px !important;
}

.macfw-notes-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.macfw-note {
	padding: 10px 0;
	border-bottom: 1px solid #f3f4f6;
}

.macfw-note:last-child { border-bottom: none; }

.macfw-note__date {
	font-size: 11px;
	color: #9ca3af;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: block;
	margin-bottom: 4px;
}

.macfw-note__text p { font-size: 13px; color: #374151; margin: 0; }

/* ── Fix order-details table borders ────────────────────────── */
.macfw-view-order .woocommerce-table--order-details,
.macfw-view-order .woocommerce-table--order-details thead,
.macfw-view-order .woocommerce-table--order-details tbody,
.macfw-view-order .woocommerce-table--order-details tfoot,
.macfw-view-order .woocommerce-table--order-details tr,
.macfw-view-order .woocommerce-table--order-details th,
.macfw-view-order .woocommerce-table--order-details td {
	border: none !important;
	box-shadow: none !important;
}

/* Re-add only row separators */
.macfw-view-order .woocommerce-table--order-details thead tr {
	border-bottom: 1px solid #f3f4f6 !important;
}

.macfw-view-order .woocommerce-table--order-details tbody tr {
	border-bottom: 1px solid #f5f6f7 !important;
}

.macfw-view-order .woocommerce-table--order-details tbody tr:last-child {
	border-bottom: none !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr {
	border-top: 1px solid #f0f1f2 !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr:first-child {
	border-top: 1px solid #e5e7eb !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr:last-child {
	border-top: 2px solid #e5e7eb !important;
}

/* ── Orders table: full border reset + clean rows ─────────────── */
.macfw-orders-table-wrap {
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.macfw-orders-table,
.macfw-orders-table thead,
.macfw-orders-table tbody,
.macfw-orders-table tr,
.macfw-orders-table th,
.macfw-orders-table td {
	border: none !important;
	border-collapse: collapse !important;
	outline: none !important;
	box-shadow: none !important;
}

.macfw-orders-table {
	width: 100%;
	border-collapse: collapse !important;
}

.macfw-orders-table thead {
	background: #f9fafb;
}

.macfw-orders-table thead th {
	padding: 12px 20px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	white-space: nowrap;
	border-bottom: 1px solid #e9eaec !important;
}

.macfw-orders-table tbody tr {
	border-bottom: 1px solid #f3f4f6 !important;
	transition: background 0.12s;
}

.macfw-orders-table tbody tr:last-child {
	border-bottom: none !important;
}

.macfw-orders-table tbody tr:hover {
	background: #fafafa;
}

.macfw-orders-table td {
	padding: 15px 20px;
	vertical-align: middle;
}

/* ── Order-details table: full border reset + clean rows ─────── */
.macfw-view-order .woocommerce-order-details {
	background: #fff;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px;
	padding: 22px 24px;
	margin-bottom: 14px !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.macfw-view-order .woocommerce-table--order-details,
.macfw-view-order .woocommerce-table--order-details thead,
.macfw-view-order .woocommerce-table--order-details tbody,
.macfw-view-order .woocommerce-table--order-details tfoot,
.macfw-view-order .woocommerce-table--order-details tr,
.macfw-view-order .woocommerce-table--order-details th,
.macfw-view-order .woocommerce-table--order-details td {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

.macfw-view-order .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse !important;
}

.macfw-view-order .woocommerce-table--order-details thead th {
	padding: 0 0 12px !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	color: #9ca3af !important;
	font-weight: 700 !important;
	border-bottom: 1px solid #e9eaec !important;
}

.macfw-view-order .woocommerce-table--order-details tbody tr {
	border-bottom: 1px solid #f3f4f6 !important;
}

.macfw-view-order .woocommerce-table--order-details tbody tr:last-child {
	border-bottom: none !important;
}

.macfw-view-order .woocommerce-table--order-details tbody td,
.macfw-view-order .woocommerce-table--order-details tbody th {
	padding: 13px 0 !important;
	font-size: 14px !important;
	color: #374151 !important;
	vertical-align: middle !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr {
	border-top: none !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot th,
.macfw-view-order .woocommerce-table--order-details tfoot td {
	padding: 10px 0 !important;
	font-size: 13px !important;
	color: #6b7280 !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr:first-child th,
.macfw-view-order .woocommerce-table--order-details tfoot tr:first-child td {
	border-top: 1px solid #e9eaec !important;
	padding-top: 14px !important;
}

.macfw-view-order .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order .woocommerce-table--order-details tfoot tr:last-child td {
	font-weight: 700 !important;
	color: #111827 !important;
	font-size: 15px !important;
}

/* Billing address */
.macfw-view-order .woocommerce-customer-details {
	margin-top: 0 !important;
}

.macfw-view-order .woocommerce-customer-details address {
	background: #f9fafb !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	padding: 16px 20px !important;
	font-style: normal !important;
	line-height: 1.8 !important;
	font-size: 13px !important;
	color: #4b5563 !important;
	box-shadow: none !important;
}

.macfw-view-order .woocommerce-column__title {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 10px !important;
}
