/**
 * Nacify WoodMart Account Dashboard V3.3
 * Mobile-First Card-Driven Layout
 * Brand red: rgb(248, 2, 32)
 * CRITICAL: No position:fixed, position:sticky, z-index, or transform used
 * to avoid interfering with theme mobile bottom navigation.
 */

/* ============================================
   HIDE THEME TITLE & BREADCRUMB ON ACCOUNT
   ============================================ */
body.nwma-account-active .page-title,
body.nwma-account-active .woocommerce-breadcrumb,
body.nwma-account-active .wd-page-title,
body.nwma-account-active .title-wrapper,
body.nwma-account-active .entry-header {
	display: none !important;
}

/* ============================================
   RESET WOODMART MY ACCOUNT CONTENT WRAPPER
   ============================================ */
body.nwma-account-active .woocommerce-MyAccount-content {
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
}

body.nwma-account-active .woocommerce-account .woocommerce {
	padding: 0 !important;
	margin: 0 !important;
}

/* ============================================
   Base & Variables
   ============================================ */
body.nwma-account-active {
	background-color: #f5f6f8;
}

.nwma-account-shell,
.nwma-account-shell * {
	box-sizing: border-box;
}

.nwma-account-shell {
	--nwma-accent: rgb(248, 2, 32);
	--nwma-accent-dark: rgb(200, 0, 24);
	--nwma-accent-soft: #fff1f3;
	--nwma-ink: #111827;
	--nwma-muted: #6b7280;
	--nwma-line: #e7eaf0;
	--nwma-bg: #f5f6f8;
	--nwma-card: #ffffff;
	--nwma-radius-sm: 12px;
	--nwma-radius-md: 14px;
	--nwma-radius-lg: 16px;
	--nwma-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	--nwma-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
	--nwma-transition: 0.2s ease;

	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px;
	font-family: inherit;
	color: var(--nwma-ink);
}

.nwma-account-shell a {
	text-decoration: none;
	color: inherit;
}

.nwma-account-shell img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ============================================
   BUTTONS — FORCED COLORS TO OVERRIDE WOODMART
   ============================================ */
.nwma-account-shell .nwma-btn,
.nwma-account-shell .nwma-btn-primary,
.nwma-account-shell .nwma-btn-soft,
.nwma-account-shell .button,
.nwma-account-shell button.button,
.nwma-account-shell input.button,
.nwma-account-shell a.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	min-height: 36px !important;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	border: 1px solid transparent !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	transition: var(--nwma-transition) !important;
}

/* Primary button — red background, white text */
.nwma-account-shell .nwma-btn-primary,
.nwma-account-shell .nwma-btn-primary.button,
.nwma-account-shell button.nwma-btn-primary,
.nwma-account-shell input.nwma-btn-primary,
.nwma-account-shell a.nwma-btn-primary {
	background: var(--nwma-accent) !important;
	border-color: var(--nwma-accent) !important;
	color: #fff !important;
	background-color: var(--nwma-accent) !important;
}

.nwma-account-shell .nwma-btn-primary:hover,
.nwma-account-shell .nwma-btn-primary.button:hover,
.nwma-account-shell button.nwma-btn-primary:hover,
.nwma-account-shell input.nwma-btn-primary:hover,
.nwma-account-shell a.nwma-btn-primary:hover {
	background: var(--nwma-accent-dark) !important;
	border-color: var(--nwma-accent-dark) !important;
	color: #fff !important;
	background-color: var(--nwma-accent-dark) !important;
}

/* Soft button — pink background, red text */
.nwma-account-shell .nwma-btn-soft,
.nwma-account-shell .nwma-btn-soft.button,
.nwma-account-shell button.nwma-btn-soft,
.nwma-account-shell input.nwma-btn-soft,
.nwma-account-shell a.nwma-btn-soft {
	background: var(--nwma-accent-soft) !important;
	border-color: rgba(248, 2, 32, 0.2) !important;
	color: var(--nwma-accent) !important;
	background-color: var(--nwma-accent-soft) !important;
}

.nwma-account-shell .nwma-btn-soft:hover,
.nwma-account-shell .nwma-btn-soft.button:hover,
.nwma-account-shell button.nwma-btn-soft:hover,
.nwma-account-shell input.nwma-btn-soft:hover,
.nwma-account-shell a.nwma-btn-soft:hover {
	background: #ffe4e8 !important;
	color: var(--nwma-accent-dark) !important;
	background-color: #ffe4e8 !important;
}

/* ============================================
   CARDS
   ============================================ */
.nwma-card {
	background: var(--nwma-card);
	border-radius: var(--nwma-radius-md);
	box-shadow: var(--nwma-shadow);
	padding: 14px;
	margin-bottom: 10px;
	transition: var(--nwma-transition);
}

/* ============================================
   TOPBAR
   ============================================ */
.nwma-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding: 0 2px;
}

.nwma-back-home {
	font-size: 13px;
	font-weight: 700;
	color: var(--nwma-muted) !important;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nwma-back-home:hover {
	color: var(--nwma-ink) !important;
}

.nwma-topbar-actions {
	display: flex;
	gap: 8px;
}

.nwma-topbar-actions a,
.nwma-topbar-actions button {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--nwma-card);
	border: 1px solid var(--nwma-line);
	color: var(--nwma-ink);
	cursor: pointer;
	transition: var(--nwma-transition);
	padding: 0;
}

.nwma-topbar-actions a:hover,
.nwma-topbar-actions button:hover {
	border-color: var(--nwma-accent);
	color: var(--nwma-accent);
}

.nwma-topbar-actions svg {
	width: 16px;
	height: 16px;
}

/* ============================================
   PROFILE CARD — REDESIGNED V3.3
   ============================================ */
.nwma-profile-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 14px;
}

.nwma-profile-main {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.nwma-profile-avatar,
.nwma-sidebar-avatar {
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.nwma-profile-avatar {
	width: 52px;
	height: 52px;
}

.nwma-profile-info {
	min-width: 0;
}

.nwma-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nwma-accent);
}

.nwma-eyebrow::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

/* Full name display — 2 lines, no truncation */
.nwma-profile-info h1 {
	margin: 3px 0 0;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--nwma-ink);
	word-break: break-word;
}

/* Stats: Wallet + Points only, compact, top-right */
.nwma-profile-stats {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.nwma-stat-pill {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	min-width: 52px;
	padding: 8px 8px;
	border-radius: var(--nwma-radius-sm);
	background: var(--nwma-accent-soft);
	color: var(--nwma-ink);
	transition: var(--nwma-transition);
}

.nwma-stat-pill:hover {
	background: #ffe4e8;
}

.nwma-stat-pill strong {
	font-size: 14px;
	font-weight: 900;
	color: var(--nwma-accent);
	line-height: 1;
}

.nwma-stat-pill span {
	font-size: 10px;
	font-weight: 700;
	color: var(--nwma-muted);
}

.nwma-stat-divider {
	width: 1px;
	height: 28px;
	background: var(--nwma-line);
}

/* ============================================
   CARD HEADERS
   ============================================ */
.nwma-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.nwma-card-header h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nwma-card-header a {
	font-size: 11px;
	font-weight: 700;
	color: var(--nwma-muted) !important;
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.nwma-card-header a:hover {
	color: var(--nwma-accent) !important;
}

/* ============================================
   ORDER ACTIONS — 5 COLUMNS FIT
   ============================================ */
.nwma-order-actions {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 4px;
}

.nwma-action-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 2px;
	border-radius: var(--nwma-radius-sm);
	color: var(--nwma-ink) !important;
	transition: var(--nwma-transition);
	position: relative;
	min-width: 0;
}

.nwma-action-item:hover {
	background: var(--nwma-accent-soft);
}

.nwma-action-icon {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	position: relative;
}

.nwma-action-icon svg {
	width: 22px;
	height: 22px;
	color: var(--nwma-ink);
	flex-shrink: 0;
}

.nwma-badge {
	position: absolute;
	top: -3px;
	right: -5px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--nwma-accent);
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: 2px solid #fff;
	box-shadow: 0 2px 4px rgba(248, 2, 32, 0.3);
}

.nwma-action-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--nwma-muted);
	text-align: center;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	padding: 0 2px;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.nwma-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.nwma-service-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 2px;
	border-radius: var(--nwma-radius-sm);
	color: var(--nwma-ink) !important;
	transition: var(--nwma-transition);
	min-width: 0;
}

.nwma-service-item:hover {
	background: #f8fafc;
}

.nwma-service-icon {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
}

.nwma-service-icon svg {
	width: 20px;
	height: 20px;
	color: var(--nwma-ink);
	flex-shrink: 0;
}

.nwma-service-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--nwma-muted);
	text-align: center;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	padding: 0 2px;
}

/* ============================================
   RECENT ORDERS
   ============================================ */
.nwma-recent-orders-card {
	margin-bottom: 10px;
}

.nwma-recent-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nwma-order-card {
	display: block;
	padding: 12px;
	border: 1px solid var(--nwma-line);
	border-radius: var(--nwma-radius-sm);
	background: #fff;
	transition: var(--nwma-transition);
}

.nwma-order-card:hover {
	border-color: rgba(248, 2, 32, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nwma-order-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.nwma-order-card-top strong {
	font-size: 13px;
	font-weight: 800;
	color: var(--nwma-ink);
}

.nwma-order-card-top span {
	font-size: 10px;
	color: var(--nwma-muted);
}

.nwma-order-card-top em {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--nwma-accent-soft);
	color: var(--nwma-accent);
	font-size: 10px;
	font-style: normal;
	font-weight: 800;
	flex-shrink: 0;
}

.nwma-progress {
	height: 4px;
	border-radius: 999px;
	background: #e9edf3;
	overflow: hidden;
	margin-bottom: 8px;
}

.nwma-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--nwma-accent);
	transition: width 0.4s ease;
}

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

.nwma-order-card-bottom span {
	font-size: 11px;
	font-weight: 700;
	color: var(--nwma-ink);
}

.nwma-order-card-bottom a {
	font-size: 11px;
	font-weight: 800;
	color: var(--nwma-accent) !important;
}

/* ============================================
   MORE TO LOVE
   ============================================ */
.nwma-more-to-love {
	margin-top: 6px;
}

.nwma-products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.nwma-product-card {
	display: flex;
	flex-direction: column;
	background: var(--nwma-card);
	border-radius: var(--nwma-radius-md);
	box-shadow: var(--nwma-shadow);
	overflow: hidden;
	color: var(--nwma-ink) !important;
	transition: var(--nwma-transition);
	min-width: 0;
}

.nwma-product-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--nwma-shadow-md);
}

.nwma-product-image {
	aspect-ratio: 1 / 1;
	background: #f2f3f5;
	overflow: hidden;
	position: relative;
}

.nwma-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.nwma-product-card:hover .nwma-product-image img {
	transform: scale(1.03);
}

.nwma-product-card h3 {
	margin: 8px 8px 3px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--nwma-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 32px;
}

.nwma-product-rating {
	margin: 0 8px;
	min-height: 14px;
}

.nwma-product-rating .star-rating {
	font-size: 9px;
}

.nwma-product-price {
	margin: 3px 8px 10px;
	font-size: 12px;
	font-weight: 900;
	color: var(--nwma-accent);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.nwma-empty-state {
	text-align: center;
	padding: 24px 16px;
}

.nwma-empty-state h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 900;
}

.nwma-empty-state p {
	margin: 0 0 14px;
	font-size: 12px;
	color: var(--nwma-muted);
}

/* ============================================
   WOOCOMMERCE NOTICES
   ============================================ */
.nwma-account-shell .woocommerce-message,
.nwma-account-shell .woocommerce-info,
.nwma-account-shell .woocommerce-error {
	border-radius: var(--nwma-radius-md);
	border: 1px solid var(--nwma-line);
	background: #fff;
	box-shadow: var(--nwma-shadow);
	margin-bottom: 10px;
}

/* ============================================
   ENDPOINT LAYOUT (Sidebar + Content)
   ============================================ */
.nwma-endpoint-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.nwma-account-sidebar {
	background: var(--nwma-card);
	border-radius: var(--nwma-radius-md);
	box-shadow: var(--nwma-shadow);
	padding: 14px;
}

.nwma-sidebar-user {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	margin-bottom: 10px;
	border-radius: var(--nwma-radius-sm);
	background: #f8fafc;
}

.nwma-sidebar-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.nwma-sidebar-user strong {
	font-size: 13px;
	font-weight: 800;
	display: block;
	line-height: 1.2;
}

.nwma-sidebar-user span {
	font-size: 10px;
	color: var(--nwma-muted);
	font-weight: 700;
}

.nwma-mobile-nav-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border: 1px solid var(--nwma-line);
	border-radius: var(--nwma-radius-sm);
	background: #fff;
	font-weight: 800;
	color: var(--nwma-ink);
	cursor: pointer;
}

.nwma-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.nwma-navigation a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 10px;
	border-radius: var(--nwma-radius-sm);
	color: var(--nwma-ink) !important;
	font-size: 12px;
	font-weight: 700;
	transition: var(--nwma-transition);
}

.nwma-navigation a:hover,
.nwma-navigation .is-active a,
.nwma-navigation .woocommerce-MyAccount-navigation-link.is-active a {
	background: var(--nwma-accent-soft);
	color: var(--nwma-accent) !important;
}

.nwma-nav-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #d4d9e2;
	flex-shrink: 0;
}

.nwma-navigation .is-active .nwma-nav-dot,
.nwma-navigation .woocommerce-MyAccount-navigation-link.is-active .nwma-nav-dot {
	background: var(--nwma-accent);
}

.nwma-nav-arrow {
	margin-left: auto;
	color: #a3aab7;
	font-size: 13px;
}

.nwma-account-main {
	background: var(--nwma-card);
	border-radius: var(--nwma-radius-md);
	box-shadow: var(--nwma-shadow);
	padding: 14px;
	min-width: 0;
}

.nwma-endpoint-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px;
	margin-bottom: 14px;
	border-radius: var(--nwma-radius-md);
	background: linear-gradient(135deg, #fff, #fff5f6);
	border: 1px solid #ffd6dc;
}

.nwma-endpoint-titlebar h1 {
	margin: 5px 0 0;
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.nwma-endpoint-content {
	min-width: 0;
}

/* ============================================
   TABLES
   ============================================ */
.nwma-account-shell table.shop_table,
.nwma-account-shell .woocommerce-orders-table,
.nwma-account-shell .woocommerce-table {
	width: 100%;
	border: 1px solid var(--nwma-line) !important;
	border-radius: var(--nwma-radius-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}

.nwma-account-shell table.shop_table th,
.nwma-account-shell table.shop_table td,
.nwma-account-shell .woocommerce-orders-table th,
.nwma-account-shell .woocommerce-orders-table td {
	padding: 12px !important;
	border-bottom: 1px solid #eef1f5 !important;
	font-size: 12px;
	vertical-align: middle;
}

.nwma-account-shell table.shop_table th,
.nwma-account-shell .woocommerce-orders-table th {
	background: #f8fafc;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nwma-muted);
}

.nwma-account-shell table.shop_table tr:last-child td,
.nwma-account-shell .woocommerce-orders-table tr:last-child td {
	border-bottom: 0 !important;
}

/* ============================================
   FORMS
   ============================================ */
.nwma-account-shell input.input-text,
.nwma-account-shell input[type="text"],
.nwma-account-shell input[type="email"],
.nwma-account-shell input[type="password"],
.nwma-account-shell input[type="tel"],
.nwma-account-shell select,
.nwma-account-shell textarea {
	width: 100%;
	min-height: 42px;
	border: 1px solid #dfe4ec;
	border-radius: var(--nwma-radius-sm);
	background: #fff;
	padding: 9px 11px;
	font-size: 13px;
	outline: none;
	transition: var(--nwma-transition);
}

.nwma-account-shell textarea {
	min-height: 120px;
	resize: vertical;
}

.nwma-account-shell input:focus,
.nwma-account-shell select:focus,
.nwma-account-shell textarea:focus {
	border-color: rgba(248, 2, 32, 0.5);
	box-shadow: 0 0 0 3px rgba(248, 2, 32, 0.08);
}

/* ============================================
   ENDPOINT PANELS
   ============================================ */
.nwma-endpoint-panel {
	min-width: 0;
}

.nwma-endpoint-hero {
	padding: 18px;
	margin-bottom: 14px;
	border-radius: var(--nwma-radius-md);
	background: #fff5f6;
	border: 1px solid #ffd6dc;
}

.nwma-endpoint-hero h2 {
	margin: 6px 0;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.nwma-endpoint-hero p,
.nwma-empty-state p,
.nwma-info-card p {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--nwma-muted);
}

.nwma-empty-state {
	padding: 24px;
	border: 1px dashed #d7dde7;
	border-radius: var(--nwma-radius-md);
	background: #fbfcfe;
	text-align: center;
}

.nwma-empty-state h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 900;
}

.nwma-info-grid,
.nwma-coupon-grid,
.nwma-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.nwma-info-card {
	display: flex;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--nwma-line);
	border-radius: var(--nwma-radius-md);
	background: #fff;
}

.nwma-card-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--nwma-accent-soft);
	flex-shrink: 0;
}

.nwma-info-card h3 {
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 900;
}

.nwma-action-line {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.nwma-order-mini {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--nwma-line);
	border-radius: var(--nwma-radius-sm);
	color: var(--nwma-ink) !important;
	transition: var(--nwma-transition);
}

.nwma-order-mini:hover {
	border-color: rgba(248, 2, 32, 0.2);
}

.nwma-order-mini strong {
	font-size: 13px;
}

.nwma-order-mini span,
.nwma-order-mini em {
	font-size: 11px;
	color: var(--nwma-muted);
}

.nwma-order-mini em {
	font-style: normal;
	font-weight: 700;
	color: var(--nwma-accent);
}

.nwma-coupon-card {
	padding: 16px;
	border: 1px solid #ffc7d0;
	border-radius: var(--nwma-radius-md);
	background: linear-gradient(135deg, #fff, #fff1f3);
}

.nwma-coupon-card span,
.nwma-coupon-card strong,
.nwma-coupon-card small {
	display: block;
}

.nwma-coupon-card span {
	font-size: 22px;
	font-weight: 900;
	color: var(--nwma-accent);
}

.nwma-coupon-card strong {
	margin: 6px 0 3px;
	font-size: 14px;
	letter-spacing: 0.02em;
}

.nwma-coupon-card small {
	font-size: 11px;
	color: var(--nwma-muted);
}

.nwma-review-card {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--nwma-line);
	border-radius: var(--nwma-radius-md);
	color: var(--nwma-ink) !important;
	transition: var(--nwma-transition);
}

.nwma-review-card:hover {
	border-color: rgba(248, 2, 32, 0.2);
}

.nwma-review-card img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
	background: #f4f5f7;
	grid-row: span 2;
}

.nwma-review-card strong {
	font-size: 12px;
	line-height: 1.3;
	font-weight: 800;
}

.nwma-review-card span {
	font-size: 11px;
	font-weight: 800;
	color: var(--nwma-accent);
}

.nwma-suggestion-form {
	max-width: 680px;
}

.nwma-suggestion-form label {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 12px;
}

.nwma-suggestion-form span {
	font-size: 11px;
	font-weight: 800;
	color: var(--nwma-ink);
}

/* ============================================
   TRACKING BOX
   ============================================ */
.nwma-tracking-box {
	margin: 14px 0;
	padding: 18px;
	border: 1px solid #ffc7d0;
	border-radius: var(--nwma-radius-md);
	background: linear-gradient(135deg, #fff, #fff5f6);
}

.nwma-tracking-box h2 {
	margin: 6px 0 12px;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.nwma-tracking-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.nwma-tracking-grid div {
	padding: 10px;
	border: 1px solid #ffd6dc;
	border-radius: var(--nwma-radius-sm);
	background: #fff;
}

.nwma-tracking-grid span,
.nwma-tracking-grid strong {
	display: block;
}

.nwma-tracking-grid span {
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--nwma-muted);
}

.nwma-tracking-grid strong {
	margin-top: 3px;
	font-size: 13px;
	color: var(--nwma-ink);
	word-break: break-word;
}

/* ============================================
   ANCESTOR UNLOCK
   ============================================ */
.nwma-unlocked-parent {
	max-width: none !important;
	overflow: visible !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (min-width: 480px) {
	.nwma-action-icon { width: 40px; height: 40px; }
	.nwma-action-icon svg { width: 24px; height: 24px; }
	.nwma-action-label { font-size: 11px; }
	.nwma-service-icon { width: 36px; height: 36px; }
	.nwma-service-icon svg { width: 22px; height: 22px; }
	.nwma-service-label { font-size: 11px; }
	.nwma-profile-avatar { width: 56px; height: 56px; }
	.nwma-profile-info h1 { font-size: 20px; }
	.nwma-stat-pill { min-width: 58px; padding: 9px 10px; }
}

@media (min-width: 640px) {
	.nwma-account-shell {
		padding: 14px;
		max-width: 640px;
	}
	.nwma-products-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	.nwma-profile-info h1 {
		font-size: 22px;
	}
	.nwma-profile-avatar {
		width: 60px;
		height: 60px;
	}
}

@media (min-width: 768px) {
	.nwma-account-shell {
		max-width: 760px;
	}
	.nwma-products-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1024px) {
	.nwma-account-shell {
		max-width: 1000px;
	}
	.nwma-products-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 12px;
	}
	.nwma-profile-card {
		padding: 20px;
	}
}

@media (min-width: 1280px) {
	.nwma-account-shell {
		max-width: 1200px;
	}
	.nwma-products-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* Endpoint mobile */
@media (max-width: 900px) {
	.nwma-endpoint-layout {
		grid-template-columns: 1fr;
	}
	.nwma-account-sidebar {
		position: relative;
		top: auto;
	}
	.nwma-mobile-nav-toggle {
		display: flex;
	}
	.nwma-navigation {
		display: none;
		margin-top: 8px;
	}
	.nwma-navigation.is-open {
		display: block;
	}
	.nwma-account-shell .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

/* Small mobile tweaks */
@media (max-width: 380px) {
	.nwma-order-actions {
		gap: 2px;
	}
	.nwma-action-icon {
		width: 32px;
		height: 32px;
	}
	.nwma-action-icon svg {
		width: 20px;
		height: 20px;
	}
	.nwma-action-label {
		font-size: 9px;
	}
	.nwma-services-grid {
		gap: 2px;
	}
	.nwma-service-icon {
		width: 28px;
		height: 28px;
	}
	.nwma-service-icon svg {
		width: 18px;
		height: 18px;
	}
	.nwma-service-label {
		font-size: 9px;
	}
	.nwma-tracking-grid {
		grid-template-columns: 1fr;
	}
	.nwma-endpoint-titlebar {
		flex-direction: column;
		align-items: flex-start;
	}
	.nwma-endpoint-titlebar .nwma-btn {
		width: 100%;
	}
	.nwma-account-shell table.shop_table,
	.nwma-account-shell .woocommerce-orders-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.nwma-info-grid,
	.nwma-coupon-grid,
	.nwma-review-grid {
		grid-template-columns: 1fr;
	}
}
