﻿/* ============================================================
   AuraBricks Theme — WooCommerce CSS
   Section : 09. My Account
   Source  : assets/css/woocommerce.css (lines 2546–3516)
   ============================================================ */

/* ============================================================
   09. My Account
   (Populated in Part 9 — woocommerce/myaccount/*.php)
   ============================================================ */

/* ── My Account Core Float & Width Resets ── */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

/* ── My Account Layout (2-Column Grid) ── */
.abr-myaccount-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	margin-bottom: 3.5rem;
}

.abr-myaccount-layout__nav {
	min-width: 0;
	position: sticky;
	top: 96px;
}

.abr-myaccount-layout__content {
	min-width: 0;
	background: var(--abr-color-surface, #ffffff);
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 16px);
	padding: 32px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

/* ── Navigation Sidebar & User Profile Card ── */
body.woocommerce .abr-myaccount-nav,
body.woocommerce-page .abr-myaccount-nav {
	background: var(--abr-color-surface, #ffffff);
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 16px);
	padding: 22px 18px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.abr-myaccount-user-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--abr-color-border, #e2e8f0);
}

.abr-myaccount-user-card__avatar {
	flex-shrink: 0;
}

.abr-myaccount-user-card__avatar-ring {
	display: inline-flex;
	padding: 3px;
	background: linear-gradient(135deg, var(--abr-color-primary, #6366f1) 0%, #a855f7 100%);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.abr-myaccount-user-card__avatar img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #ffffff;
	border: 2px solid #ffffff;
}

.abr-myaccount-user-card__info {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
}

.abr-myaccount-user-card__name {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--abr-color-heading, #0f172a);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	line-height: 1.3;
}

.abr-myaccount-user-card__badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--abr-color-primary, #6366f1);
	background: rgba(99, 102, 241, 0.09);
	padding: 2px 8px;
	border-radius: 9999px;
	margin: 3px 0 4px 0;
	width: fit-content;
}

.abr-myaccount-user-card__email {
	font-size: 0.775rem;
	color: var(--abr-color-text-muted, #64748b);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	line-height: 1.2;
}

/* Nav Menu Items */
.abr-myaccount-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.abr-myaccount-nav__item {
	margin: 0;
	padding: 0;
}

.abr-myaccount-nav__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	font-weight: 500;
	font-size: 0.9rem;
	color: var(--abr-color-text, #475569);
	text-decoration: none;
	border-radius: var(--abr-woo-btn-radius, 10px);
	transition: var(--abr-woo-transition);
	position: relative;
}

.abr-myaccount-nav__icon {
	color: var(--abr-color-text-muted, #94a3b8);
	transition: var(--abr-woo-transition);
	flex-shrink: 0;
}

.abr-myaccount-nav__text {
	flex-grow: 1;
}

.abr-myaccount-nav__link:hover {
	color: var(--abr-color-primary, #6366f1);
	background: var(--abr-color-surface-hover, #f8fafc);
	transform: translateX(4px);
}

.abr-myaccount-nav__link:hover .abr-myaccount-nav__icon {
	color: var(--abr-color-primary, #6366f1);
}

/* Active Nav Item */
.abr-myaccount-nav__item.is-active .abr-myaccount-nav__link,
.abr-myaccount-nav__link[aria-current="page"] {
	color: var(--abr-color-primary, #6366f1);
	background: rgba(99, 102, 241, 0.08);
	font-weight: 600;
	box-shadow: inset 3px 0 0 var(--abr-color-primary, #6366f1);
}

.abr-myaccount-nav__item.is-active .abr-myaccount-nav__icon,
.abr-myaccount-nav__link[aria-current="page"] .abr-myaccount-nav__icon {
	color: var(--abr-color-primary, #6366f1);
}

/* Logout item separation */
.abr-myaccount-nav__item--logout {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--abr-color-border, #e2e8f0);
}

.abr-myaccount-nav__item--logout .abr-myaccount-nav__link:hover {
	color: #ef4444;
	background: rgba(239, 68, 68, 0.08);
}

.abr-myaccount-nav__item--logout .abr-myaccount-nav__link:hover .abr-myaccount-nav__icon {
	color: #ef4444;
}

/* ── Dashboard Welcome Hero Banner ── */
.abr-myaccount-welcome-hero {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.04) 100%);
	border: 1px solid rgba(99, 102, 241, 0.15);
	border-radius: var(--abr-woo-card-radius, 14px);
	padding: 24px 28px;
	margin-bottom: 2rem;
	gap: 24px;
}

.abr-myaccount-welcome-hero__content {
	flex: 1;
	min-width: 0;
}

.abr-myaccount-welcome-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--abr-color-primary, #6366f1);
	margin-bottom: 8px;
}

.abr-myaccount-welcome-hero__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--abr-color-primary, #6366f1);
	box-shadow: 0 0 8px var(--abr-color-primary, #6366f1);
}

.abr-myaccount-welcome-hero__title {
	font-size: clamp(1.2rem, 3vw, 1.45rem);
	font-weight: 600;
	color: var(--abr-color-heading, #0f172a);
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.abr-myaccount-welcome-hero__title span {
	background: linear-gradient(135deg, var(--abr-color-primary, #6366f1) 0%, #a855f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.abr-myaccount-welcome-hero__desc {
	color: var(--abr-color-text-muted, #64748b);
	font-size: 0.925rem;
	line-height: 1.6;
	margin: 0;
}

.abr-myaccount-welcome-hero__desc a {
	color: var(--abr-color-primary, #6366f1);
	font-weight: 600;
	text-decoration: none;
}

.abr-myaccount-welcome-hero__desc a:hover {
	text-decoration: underline;
}

.abr-myaccount-welcome-hero__actions {
	flex-shrink: 0;
}

.abr-btn-welcome-shop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--abr-color-surface, #ffffff);
	color: var(--abr-color-heading, #0f172a);
	border: 1px solid var(--abr-color-border, #e2e8f0);
	padding: 10px 18px;
	border-radius: var(--abr-woo-btn-radius, 10px);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: var(--abr-woo-transition);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.abr-btn-welcome-shop:hover {
	color: var(--abr-color-primary, #6366f1);
	border-color: var(--abr-color-primary, #6366f1);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
	transform: translateY(-2px);
}

/* ── Dashboard Shortcut Cards ── */
.abr-myaccount-shortcuts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.abr-shortcut-card {
	display: flex;
	flex-direction: column;
	padding: 22px;
	background: var(--abr-color-surface, #ffffff);
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 14px);
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	transition: var(--abr-woo-transition);
	position: relative;
	overflow: hidden;
}

.abr-shortcut-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--abr-woo-card-radius, 14px);
	border: 2px solid transparent;
	transition: var(--abr-woo-transition);
	pointer-events: none;
}

.abr-shortcut-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
	border-color: rgba(99, 102, 241, 0.3);
}

.abr-shortcut-card:hover::after {
	border-color: rgba(99, 102, 241, 0.15);
}

.abr-shortcut-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.abr-shortcut-card__icon-box {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--abr-woo-transition);
}

.abr-shortcut-card:hover .abr-shortcut-card__icon-box {
	transform: scale(1.08);
}

/* Icon box themes */
.abr-shortcut-card__icon-box--orders {
	background: #eff6ff;
	color: #3b82f6;
}

.abr-shortcut-card__icon-box--addresses {
	background: #ecfdf5;
	color: #10b981;
}

.abr-shortcut-card__icon-box--account {
	background: #f5f3ff;
	color: #8b5cf6;
}

.abr-shortcut-card__icon-box--downloads {
	background: #fffbeb;
	color: #f59e0b;
}

.abr-shortcut-card__arrow {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--abr-color-surface-hover, #f8fafc);
	color: var(--abr-color-text-muted, #94a3b8);
	transition: var(--abr-woo-transition);
}

.abr-shortcut-card:hover .abr-shortcut-card__arrow {
	background: var(--abr-color-primary, #6366f1);
	color: #ffffff;
	transform: translateX(4px);
}

.abr-shortcut-card__body {
	display: flex;
	flex-direction: column;
}

.abr-shortcut-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--abr-color-heading, #0f172a);
	margin-bottom: 6px;
	transition: var(--abr-woo-transition);
}

.abr-shortcut-card:hover .abr-shortcut-card__title {
	color: var(--abr-color-primary, #6366f1);
}

.abr-shortcut-card__desc {
	font-size: 0.825rem;
	color: var(--abr-color-text-muted, #64748b);
	line-height: 1.5;
}

/* ── Login & Register Auth Forms ── */
.abr-login-register-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	max-width: 940px;
	margin: 0 auto 3rem auto;
}

#customer_login:not(.col2-set) .abr-auth-card,
.abr-login-card:only-child .abr-auth-card {
	max-width: 460px;
	margin: 0 auto;
}

.abr-auth-card {
	background: var(--abr-color-surface, #ffffff);
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 16px);
	padding: 32px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.abr-auth-card__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--abr-color-heading, #0f172a);
	margin: 0 0 1.5rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--abr-color-border, #e2e8f0);
}

.abr-auth-card__extras {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 12px 0 20px 0;
	font-size: 0.875rem;
}

.abr-auth-card__extras a.lost_password {
	color: var(--abr-color-primary, #6366f1);
	text-decoration: none;
	font-weight: 500;
}

.abr-auth-card__extras a.lost_password:hover {
	text-decoration: underline;
}

.abr-auth-card button.button {
	width: 100%;
	height: 48px;
	border-radius: var(--abr-woo-btn-radius, 8px);
	font-weight: 700;
	font-size: 1rem;
	background: var(--abr-color-primary, #6366f1);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.abr-auth-card button.button:hover {
	background: var(--abr-color-primary-dark, #4f46e5);
}

.abr-auth-card__notice {
	font-size: 0.875rem;
	color: var(--abr-color-text-muted, #64748b);
	line-height: 1.5;
	margin: 12px 0 18px 0;
}

/* ══════════════════════════════════════════════════
   ── My Addresses Page (Custom Template Override) ──
   Template: woocommerce/myaccount/my-address.php
   Uses clean abr-address-* classes — no WooCommerce
   float conflicts, no !important needed.
   ══════════════════════════════════════════════════ */

/* Intro note */
.abr-address-intro {
	font-size: 0.875rem;
	color: var(--abr-color-text-muted, #64748b);
	margin: 0 0 1.5rem 0;
	padding: 11px 16px;
	background: var(--abr-color-surface-hover, #f8fafc);
	border-left: 3px solid var(--abr-color-primary, #6366f1);
	border-radius: 0 8px 8px 0;
	line-height: 1.5;
}

/* Two-column grid — no WooCommerce interference */
.abr-addresses-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

/* Each address card */
.abr-address-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 14px);
	padding: 22px 22px 70px 22px; /* bottom padding holds the button */
	position: relative;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
	min-height: 200px;
}

.abr-address-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
	border-color: rgba(99, 102, 241, 0.3);
}

/* Header row: icon + title */
.abr-address-card__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--abr-color-border, #e2e8f0);
}

/* Icon circle */
.abr-address-card__icon-wrap {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.abr-address-card__icon-wrap--billing {
	background: #eff6ff;
	color: #3b82f6;
}

.abr-address-card__icon-wrap--shipping {
	background: #ecfdf5;
	color: #10b981;
}

/* Card title */
.abr-address-card__title {
	font-size: 0.975rem;
	font-weight: 700;
	color: var(--abr-color-heading, #0f172a);
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

/* Address body text */
.abr-address-card__body {
	font-style: normal;
	font-size: 0.875rem;
	color: var(--abr-color-text, #475569);
	line-height: 1.75;
	flex: 1;
}

/* Empty state text */
.abr-address-card__empty {
	color: var(--abr-color-text-muted, #94a3b8);
	font-style: italic;
	font-size: 0.85rem;
}

/* Action button — pinned to card bottom */
.abr-address-card__btn {
	position: absolute;
	bottom: 18px;
	left: 22px;
	right: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 0.825rem;
	font-weight: 600;
	color: var(--abr-color-primary, #6366f1);
	text-decoration: none;
	padding: 10px 14px;
	border: 1.5px solid rgba(99, 102, 241, 0.3);
	border-radius: 10px;
	background: rgba(99, 102, 241, 0.04);
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	text-align: center;
}

.abr-address-card__btn:hover {
	background: var(--abr-color-primary, #6366f1);
	color: #ffffff;
	border-color: var(--abr-color-primary, #6366f1);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
	text-decoration: none;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
	.abr-addresses-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Customer Orders Table ── */
.abr-myaccount-orders__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--abr-color-heading, #0f172a);
	margin: 0 0 1.25rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--abr-color-border, #e2e8f0);
}

body.woocommerce table.woocommerce-orders-table,
body.woocommerce-page table.woocommerce-orders-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--abr-color-border, #e2e8f0);
	border-radius: var(--abr-woo-card-radius, 12px);
	overflow: hidden;
}

body.woocommerce table.woocommerce-orders-table th,
body.woocommerce-page table.woocommerce-orders-table th {
	background: var(--abr-color-surface-hover, #f8fafc);
	padding: 14px 18px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--abr-color-text-muted, #64748b);
	border: none;
	border-bottom: 1px solid var(--abr-color-border, #e2e8f0);
}

body.woocommerce table.woocommerce-orders-table td,
body.woocommerce-page table.woocommerce-orders-table td {
	padding: 16px 18px;
	font-size: 0.925rem;
	border: none;
	border-top: 1px solid var(--abr-color-border, #f1f5f9);
	vertical-align: middle;
}

.abr-order-number-link {
	font-weight: 700;
	color: var(--abr-color-primary, #6366f1);
	text-decoration: none;
}

.abr-order-number-link:hover {
	text-decoration: underline;
}

/* Status Badges */
.abr-order-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 9999px;
	font-size: 0.775rem;
	font-weight: 600;
	text-transform: capitalize;
	line-height: 1.3;
}

.abr-order-badge--completed {
	background-color: #ecfdf5;
	color: #065f46;
}

.abr-order-badge--processing {
	background-color: #eff6ff;
	color: #1e40af;
}

.abr-order-badge--on-hold,
.abr-order-badge--pending {
	background-color: #fefce8;
	color: #854d0e;
}

.abr-order-badge--cancelled,
.abr-order-badge--failed {
	background-color: #fef2f2;
	color: #991b1b;
}

body.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
	padding: 7px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 8px;
}

/* Empty Orders State */
.abr-no-orders-card {
	text-align: center;
	padding: 3rem 1.5rem;
}

.abr-no-orders__icon {
	color: var(--abr-color-muted, #94a3b8);
	margin-bottom: 1rem;
}

.abr-no-orders__text {
	color: var(--abr-color-text-muted, #64748b);
	font-size: 1rem;
	margin: 0 0 1.5rem 0;
}

/* ── Mobile Responsiveness for My Account ── */
@media (max-width: 991px) {
	.abr-myaccount-layout {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	body.woocommerce-account .abr-myaccount-layout__nav,
	body.woocommerce-account .abr-myaccount-layout__content {
		width: 100%;
	}

	.abr-myaccount-layout__nav {
		position: static;
	}

	.abr-login-register-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.abr-myaccount-layout__content,
	.abr-auth-card {
		padding: 22px 18px;
		border-radius: 14px;
	}

	body.woocommerce .abr-myaccount-nav,
	body.woocommerce-page .abr-myaccount-nav {
		padding: 16px;
		border-radius: 14px;
	}

	.abr-myaccount-user-card {
		padding-bottom: 14px;
		margin-bottom: 14px;
	}

	.abr-myaccount-user-card__avatar img {
		width: 44px;
		height: 44px;
	}

	.abr-myaccount-user-card__name {
		font-size: 0.95rem;
	}

	/* Horizontal Scrollable Tabs Bar for Mobile */
	.abr-myaccount-nav__list {
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		white-space: nowrap;
		gap: 8px;
		padding: 4px 2px 8px 2px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none; /* Firefox */
	}

	.abr-myaccount-nav__list::-webkit-scrollbar {
		display: none; /* Chrome, Safari */
	}

	.abr-myaccount-nav__item {
		flex-shrink: 0;
	}

	.abr-myaccount-nav__link {
		padding: 9px 14px;
		font-size: 0.85rem;
		border-radius: 9999px;
		background: var(--abr-color-surface-hover, #f8fafc);
		border: 1px solid var(--abr-color-border, #e2e8f0);
		gap: 8px;
	}

	.abr-myaccount-nav__link:hover {
		transform: none;
	}

	.abr-myaccount-nav__icon {
		width: 17px;
		height: 17px;
	}

	body.woocommerce-account .abr-myaccount-nav__item.is-active .abr-myaccount-nav__link,
	body.woocommerce-account .abr-myaccount-nav__link[aria-current="page"] {
		background: var(--abr-color-primary, #6366f1);
		color: #ffffff;
		border-color: var(--abr-color-primary, #6366f1);
		box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
	}

	body.woocommerce-account .abr-myaccount-nav__item.is-active .abr-myaccount-nav__icon,
	body.woocommerce-account .abr-myaccount-nav__link[aria-current="page"] .abr-myaccount-nav__icon {
		color: #ffffff;
	}

	.abr-myaccount-nav__item--logout {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
		border-left: 1px solid var(--abr-color-border, #e2e8f0);
		padding-left: 8px;
		margin-left: 4px;
	}

	/* Welcome Hero Mobile */
	.abr-myaccount-welcome-hero {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
		gap: 16px;
	}

	.abr-myaccount-welcome-hero__title {
		font-size: 1.25rem;
	}

	.abr-btn-welcome-shop {
		width: 100%;
		justify-content: center;
	}

	/* Shortcuts Mobile Grid */
	.abr-myaccount-shortcuts {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.abr-shortcut-card {
		padding: 16px;
	}

	.abr-shortcut-card__header {
		margin-bottom: 10px;
	}

	.abr-shortcut-card__icon-box {
		width: 42px;
		height: 42px;
		border-radius: 10px;
	}

	.abr-shortcut-card__icon-box svg {
		width: 20px;
		height: 20px;
	}

	/* Mobile Stacked Orders Table (Card view) */
	body.woocommerce table.woocommerce-orders-table,
	body.woocommerce-page table.woocommerce-orders-table {
		border: none;
		background: transparent;
		box-shadow: none;
	}

	body.woocommerce table.woocommerce-orders-table thead,
	body.woocommerce-page table.woocommerce-orders-table thead {
		display: none;
	}

	body.woocommerce table.woocommerce-orders-table tbody tr,
	body.woocommerce-page table.woocommerce-orders-table tbody tr {
		display: block;
		background: var(--abr-color-surface, #ffffff);
		border: 1px solid var(--abr-color-border, #e2e8f0);
		border-radius: 12px;
		margin-bottom: 14px;
		padding: 14px 16px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	}

	body.woocommerce table.woocommerce-orders-table td,
	body.woocommerce-page table.woocommerce-orders-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 0;
		border: none;
		border-top: 1px solid var(--abr-color-border, #f1f5f9);
		font-size: 0.875rem;
	}

	body.woocommerce table.woocommerce-orders-table td:first-child,
	body.woocommerce-page table.woocommerce-orders-table td:first-child {
		border-top: none;
		padding-top: 0;
	}

	body.woocommerce table.woocommerce-orders-table td::before,
	body.woocommerce-page table.woocommerce-orders-table td::before {
		content: attr(data-title);
		font-weight: 600;
		color: var(--abr-color-text-muted, #64748b);
		font-size: 0.8rem;
		text-transform: capitalize;
		padding-right: 12px;
	}

	body.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions,
	body.woocommerce-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
		padding-top: 12px;
		margin-top: 4px;
	}

	body.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before,
	body.woocommerce-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	body.woocommerce table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
	body.woocommerce-page table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
}

@media (min-width: 480px) and (max-width: 768px) {
	.abr-myaccount-shortcuts {
		grid-template-columns: repeat(2, 1fr);
	}
}


