/**
 * Aureum Peptides - My Account Styles
 * ═══════════════════════════════════════════════════════════════
 * Version: 2.0.0
 * Last Updated: 2026-02-16
 * 
 * TABLE OF CONTENTS
 * ─────────────────
 * 1. CSS Variables / Design Tokens
 * 2. Account Layout (wrapper, sidebar, main)
 * 3. Sidebar - User Profile
 * 4. Sidebar - Navigation
 * 5. Dashboard - Welcome Banner
 * 6. Dashboard - Stat Cards
 * 7. Dashboard - Cards & Quick Actions
 * 8. Orders - Filters & Table
 * 9. Addresses
 * 10. Account Details / Forms
 * 11. Points & Rewards
 * 12. Referral Program
 * 13. Wishlist
 * 14. Subscriptions
 * 15. Downloads
 * 16. Payment Methods
 * 17. Status Badges
 * 18. Buttons
 * 19. Empty States
 * 20. Notices / Alerts
 * 21. Responsive
 * ═══════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════
   1. CSS VARIABLES / DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Gold palette */
  --au-gold-light: #D4B64D;
  --au-gold-lighter: #D4B64D;
  --au-gold-dark: #8F6E1F;
  --au-gold-bg: rgba(201, 162, 39, 0.06);
  --au-gold-bg-md: rgba(201, 162, 39, 0.10);
  --au-gold-bg-strong: rgba(201, 162, 39, 0.15);
  --au-gold-border: rgba(201, 162, 39, 0.18);
  --au-gold-border-hover: rgba(201, 162, 39, 0.35);

  /* Neutrals */
  --au-white: #FFFFFF;
  --au-cream: #F4EFE7;
  --au-cream-warm: #FAF8F4;
  --au-gray-50: #F9F8F6;
  --au-gray-100: #F3F1ED;
  --au-gray-200: #E8E5DF;
  --au-gray-300: #D4D0C8;
  --au-gray-400: #B0AAA0;
  --au-gray-500: #8A847A;
  --au-gray-600: #6B665D;
  --au-gray-700: #4A4640;
  --au-gray-800: #2D2A26;
  --au-gray-900: var(--au-ink);

  /* Text */
  --au-text: #2D2A26;
  --au-text-secondary: #6B665D;
  --au-text-muted: #8A847A;
  --au-text-light: #B0AAA0;

  /* Semantic */
  --au-success: #4A8C5C;
  --au-success-bg: rgba(74, 140, 92, 0.08);
  --au-warning: #C48A1A;
  --au-warning-bg: rgba(196, 138, 26, 0.08);
  --au-info: #4A7FB5;
  --au-info-bg: rgba(74, 127, 181, 0.08);
  --au-danger: #B54A4A;
  --au-danger-bg: rgba(181, 74, 74, 0.08);

  /* Shadows */
  --au-shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --au-shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
  --au-shadow-lg: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  --au-shadow-gold: 0 4px 16px rgba(201, 162, 39, 0.12);

  /* Radii */
  --au-radius: 12px;
  --au-radius-sm: 8px;
  --au-radius-lg: 16px;

  /* Border */
  --au-border: #EDEBE6;
  --au-border-hover: #D4D0C8;

  /* Transition */
  --au-ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════
   2. ACCOUNT LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.woocommerce-account .entry-header,
.woocommerce-account .page-title {
  display: none !important;
}

/* ── Force account page full-width layout ── */
.woocommerce-account .aureum-main,
.woocommerce-account .aureum-main > .entry-content,
.woocommerce-account .aureum-main > .entry-content > .woocommerce,
.woocommerce-account #main,
.woocommerce-account #main > .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Also handle Elementor's potential wrappers */
.woocommerce-account .elementor-widget-container,
.woocommerce-account .e-con-inner,
.woocommerce-account .e-con {
  max-width: none !important;
  padding: 0 !important;
}

/* Login page specific - don't force full width */
.woocommerce-account .au-auth-page {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 60px 40px 80px !important;
}

.aureum-account-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  max-width: 100%;
  width: 100%;
  margin: 0;
  min-height: calc(100dvh - 200px);
  border-top: 1px solid var(--au-border);
}

/* Login page (not logged in) - centered standalone form */
.woocommerce-account .au-login-wrapper {
  max-width: 520px;
  margin: 60px auto;
  padding: 0 20px;
}

.aureum-account-sidebar {
  background: var(--au-white);
  border-right: 1px solid var(--au-border);
  padding: 36px 0;
  position: sticky;
  top: 80px;
  height: calc(100dvh - 80px);
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: thin;
}

.aureum-account-sidebar::-webkit-scrollbar {
  width: 4px;
}
.aureum-account-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.aureum-account-sidebar::-webkit-scrollbar-thumb {
  background: var(--au-gray-200);
  border-radius: 10px;
}

.aureum-account-content {
  padding: 48px 56px 70px;
  background: var(--au-cream);
  min-height: 100%;
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Page section animations */
.aureum-account-content .woocommerce-MyAccount-content {
  animation: auFadeUp 0.45s ease;
}

@keyframes auFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   3. SIDEBAR - USER PROFILE
   ═══════════════════════════════════════════════════════════════ */
.au-user-profile {
  padding: 0 28px 28px;
  border-bottom: 1px solid var(--au-border);
  margin-bottom: 20px;
}

.au-user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--au-gold-bg-strong);
  border: 2px solid var(--au-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Fraunces, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--au-gold);
  margin-bottom: 14px;
  overflow: hidden;
}

.au-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.au-user-name {
  font-family: Fraunces, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 3px;
}

.au-user-email {
  font-size: 12px;
  color: var(--au-text-muted);
  margin-bottom: 14px;
  word-break: break-all;
}

.au-user-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--au-gold-bg-md), var(--au-gold-bg));
  border: 1px solid var(--au-gold-border);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--au-gold-dark);
}

.au-user-tier svg {
  width: 12px;
  height: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   4. SIDEBAR - NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.aureum-account-sidebar .woocommerce-MyAccount-navigation {
  /* Reset WooCommerce defaults */
}

.aureum-account-sidebar .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.au-nav-section {
  padding: 0 14px;
  margin-bottom: 6px;
}

.au-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--au-text-light);
  padding: 8px 14px 6px;
  display: block;
}

.au-nav-item {
  list-style: none;
}

.au-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--au-radius-sm);
  cursor: pointer;
  transition: var(--au-ease);
  color: var(--au-text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  position: relative;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.au-nav-item a:hover {
  background: var(--au-gold-bg);
  color: var(--au-text);
  text-decoration: none !important;
}

.au-nav-item.is-active a {
  background: var(--au-gold-bg-md);
  color: var(--au-gold-dark);
  font-weight: 600;
  border-color: var(--au-gold-border);
}

.au-nav-item.is-active a::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--au-gold);
  border-radius: 0 4px 4px 0;
}

.au-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
}

.au-nav-item.is-active .au-nav-icon,
.au-nav-item a:hover .au-nav-icon {
  opacity: 1;
}

.au-nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-nav-badge {
  margin-left: auto;
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.au-nav-badge--gold {
  background: var(--au-gold-bg-md);
  color: var(--au-gold-dark);
}

.au-nav-badge--green {
  background: var(--au-success-bg);
  color: var(--au-success);
}

/* Logout special styling */
.au-nav-item--logout a {
  color: var(--au-text-muted);
  margin-top: 8px;
}

.au-nav-item--logout a:hover {
  color: var(--au-danger);
  background: var(--au-danger-bg);
}

/* ═══════════════════════════════════════════════════════════════
   5. SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.au-section-header {
  margin-bottom: 32px;
}

.au-section-title {
  font-family: Fraunces, serif;
  font-size: 34px;
  font-weight: 500;
  color: var(--au-text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.au-section-subtitle {
  font-size: 14px;
  color: var(--au-text-muted);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   5b. DASHBOARD - WELCOME BANNER
   ═══════════════════════════════════════════════════════════════ */
.au-welcome-banner {
  background: linear-gradient(135deg, var(--au-white) 0%, var(--au-cream-warm) 100%);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  padding: 44px 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--au-shadow-md);
}

.au-welcome-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--au-gold-border);
  opacity: 0.5;
  pointer-events: none;
}

.au-welcome-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--au-gold-border);
  opacity: 0.3;
  pointer-events: none;
}

.au-welcome-greeting {
  font-family: Fraunces, serif;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 8px;
  position: relative;
  color: var(--au-text);
}

.au-welcome-greeting span {
  color: var(--au-gold);
  font-style: italic;
}

.au-welcome-text {
  font-size: 14px;
  color: var(--au-text-secondary);
  line-height: 1.7;
  position: relative;
  max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════════
   6. DASHBOARD - STAT CARDS
   ═══════════════════════════════════════════════════════════════ */
.au-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.au-stat-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 28px;
  transition: var(--au-ease);
  box-shadow: var(--au-shadow-sm);
  position: relative;
  overflow: hidden;
}

.au-stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--au-gold), var(--au-gold-light));
  opacity: 0;
  transition: var(--au-ease);
}

.au-stat-card:hover {
  box-shadow: var(--au-shadow-md);
  border-color: var(--au-border-hover);
  transform: translateY(-3px);
}

.au-stat-card:hover::after {
  opacity: 1;
}

.au-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--au-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.au-stat-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-stat-icon--gold   { background: var(--au-gold-bg-md); color: var(--au-gold); }
.au-stat-icon--green  { background: var(--au-gold-bg-md); color: var(--au-gold); }
.au-stat-icon--orange { background: var(--au-warning-bg);  color: var(--au-warning); }
.au-stat-icon--blue   { background: var(--au-gold-bg-md); color: var(--au-gold); }
.au-stat-icon--purple { background: var(--au-gold-bg-md); color: var(--au-gold); }

.au-stat-value {
  font-family: Fraunces, serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 2px;
  line-height: 1;
}

.au-stat-label {
  font-size: 11px;
  color: var(--au-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   7. DASHBOARD - CARDS & QUICK ACTIONS
   ═══════════════════════════════════════════════════════════════ */
.au-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.au-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  box-shadow: var(--au-shadow-sm);
  overflow: hidden;
  transition: var(--au-ease);
}

.au-card:hover {
  box-shadow: var(--au-shadow-md);
  border-color: var(--au-border-hover);
}

.au-card--full {
  grid-column: 1 / -1;
}

.au-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--au-border);
}

.au-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--au-text);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.au-card__title svg {
  color: var(--au-gold);
  flex-shrink: 0;
}

.au-card__action {
  font-size: 12px;
  color: var(--au-gold);
  text-decoration: none !important;
  font-weight: 600;
  cursor: pointer;
  transition: var(--au-ease);
  letter-spacing: 0.5px;
}

.au-card__action:hover {
  color: var(--au-gold-dark);
}

.au-card__body {
  padding: 24px;
}

/* Mini order rows */
.au-mini-order {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--au-gray-100);
}

.au-mini-order:last-child {
  border-bottom: none;
}

.au-mini-order__id {
  font-size: 13px;
  font-weight: 600;
  color: var(--au-gold-dark);
  width: 90px;
}

.au-mini-order__date {
  font-size: 12px;
  color: var(--au-text-muted);
  flex: 1;
}

.au-mini-order__total {
  font-size: 13px;
  font-weight: 600;
  color: var(--au-text);
  width: 80px;
  text-align: right;
}

.au-mini-order__status {
  margin-left: 16px;
}

/* Quick actions */
.au-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.au-quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--au-cream);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-sm);
  cursor: pointer;
  transition: var(--au-ease);
  text-decoration: none !important;
  color: var(--au-text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.au-quick-action__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--au-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-gold);
  flex-shrink: 0;
  transition: var(--au-ease);
}
.au-quick-action:hover .au-quick-action__icon {
  background: var(--au-gold-bg-md);
}

.au-quick-action:hover {
  border-color: var(--au-gold-border);
  color: var(--au-gold-dark);
  background: var(--au-gold-bg);
  text-decoration: none !important;
}

.au-quick-action__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--au-radius-sm);
  background: var(--au-gold-bg-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-gold);
  flex-shrink: 0;
}

.au-quick-action__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════════
   8. ORDERS - FILTERS & TABLE
   ═══════════════════════════════════════════════════════════════ */
.au-orders-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.au-filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1px solid var(--au-border);
  background: var(--au-white);
  color: var(--au-text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--au-ease);
}

.au-filter-btn:hover {
  border-color: var(--au-gold-border);
  color: var(--au-text);
}

.au-filter-btn.active {
  background: var(--au-gold);
  border-color: var(--au-gold);
  color: white;
}

/* Orders table - wraps WooCommerce default table */
.au-orders-table-wrap {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  box-shadow: var(--au-shadow-sm);
  overflow: hidden;
}

.woocommerce-orders-table,
.au-orders-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-orders-table thead th,
.au-orders-table-wrap table thead th {
  text-align: left;
  padding: 14px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--au-text-muted);
  border-bottom: 1px solid var(--au-border);
  background: var(--au-gray-50);
}

.woocommerce-orders-table tbody tr,
.au-orders-table-wrap table tbody tr {
  border-bottom: 1px solid var(--au-gray-100);
  transition: var(--au-ease);
}

.woocommerce-orders-table tbody tr:hover,
.au-orders-table-wrap table tbody tr:hover {
  background: var(--au-gold-bg);
}

.woocommerce-orders-table tbody tr:last-child,
.au-orders-table-wrap table tbody tr:last-child {
  border-bottom: none;
}

.woocommerce-orders-table tbody td,
.au-orders-table-wrap table tbody td {
  padding: 18px 20px;
  font-size: 14px;
  color: var(--au-text);
  vertical-align: middle;
}

.au-order-id-link {
  color: var(--au-gold-dark);
  text-decoration: none !important;
  font-weight: 600;
}

.au-order-id-link:hover {
  color: var(--au-gold);
}

.au-order-items-preview {
  font-size: 12px;
  color: var(--au-text-muted);
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   9. ADDRESSES
   ═══════════════════════════════════════════════════════════════ */
.au-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.au-address-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 28px;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
}

.au-address-card:hover {
  box-shadow: var(--au-shadow-md);
  border-color: var(--au-border-hover);
}

.au-address-type {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.au-address-type__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--au-radius-sm);
  background: var(--au-gold-bg-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-gold);
}

.au-address-type__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-address-type__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--au-text);
}

.au-address-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--au-text-secondary);
  margin-bottom: 20px;
}

.au-address-content address {
  font-style: normal;
}

/* WooCommerce address form styling */
.woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}

.woocommerce-address-fields label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--au-text-muted);
  margin-bottom: 6px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   10. ACCOUNT DETAILS / FORMS
   ═══════════════════════════════════════════════════════════════ */

/* Override all WooCommerce form inputs inside account area */
.aureum-account-content input[type="text"],
.aureum-account-content input[type="email"],
.aureum-account-content input[type="password"],
.aureum-account-content input[type="tel"],
.aureum-account-content input[type="number"],
.aureum-account-content input[type="url"],
.aureum-account-content select,
.aureum-account-content textarea {
  padding: 13px 16px;
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-sm);
  color: var(--au-text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--au-ease);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.aureum-account-content input:focus,
.aureum-account-content select:focus,
.aureum-account-content textarea:focus {
  border-color: var(--au-gold);
  box-shadow: 0 0 0 3px var(--au-gold-bg-md);
}

.aureum-account-content input::placeholder,
.aureum-account-content textarea::placeholder {
  color: var(--au-text-light);
}

.aureum-account-content label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--au-text-muted);
  display: block;
  margin-bottom: 6px;
}

.aureum-account-content .form-row {
  margin-bottom: 18px;
}

.aureum-account-content fieldset {
  border: none;
  padding: 0;
  margin: 24px 0 0;
}

.aureum-account-content fieldset legend {
  font-family: Fraunces, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--au-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--au-border);
  width: 100%;
}

.au-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 700px;
}

.au-form-grid .form-row-wide,
.au-form-grid .au-form-full {
  grid-column: 1 / -1;
}

.au-form-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--au-border);
  margin: 8px 0;
}

/* ═══════════════════════════════════════════════════════════════
   11. POINTS & REWARDS
   ═══════════════════════════════════════════════════════════════ */
.au-points-hero {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  padding: 44px 40px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: var(--au-shadow-sm);
  position: relative;
  overflow: hidden;
}

.au-points-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid var(--au-gold-border);
  opacity: 0.3;
  pointer-events: none;
}

.au-points-value {
  font-family: Fraunces, serif;
  font-size: 72px;
  font-weight: 600;
  color: var(--au-gold);
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
}

.au-points-label {
  font-size: 13px;
  color: var(--au-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 28px;
  position: relative;
}

.au-progress-container {
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}

.au-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--au-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.au-progress-bar {
  height: 8px;
  background: var(--au-gray-100);
  border-radius: 100px;
  overflow: hidden;
}

.au-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--au-gold-dark), var(--au-gold), var(--au-gold-light));
  border-radius: 100px;
  transition: width 1.5s ease;
}

.au-progress-hint {
  font-size: 12px;
  color: var(--au-text-muted);
  margin-top: 12px;
  position: relative;
}

.au-progress-hint strong {
  color: var(--au-gold-dark);
  font-weight: 600;
}

.au-rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.au-reward-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
}

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

.au-reward-cost {
  font-family: Fraunces, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--au-gold);
}

.au-reward-cost-label {
  font-size: 10px;
  color: var(--au-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 14px;
}

.au-reward-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 4px;
}

.au-reward-desc {
  font-size: 12px;
  color: var(--au-text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   12. REFERRAL PROGRAM
   ═══════════════════════════════════════════════════════════════ */
.au-referral-hero {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg);
  padding: 44px 40px;
  text-align: center;
  margin-bottom: 28px;
  box-shadow: var(--au-shadow-sm);
  position: relative;
  overflow: hidden;
}

.au-referral-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--au-gold-border);
  opacity: 0.3;
  pointer-events: none;
}

.au-referral-title {
  font-family: Fraunces, serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--au-text);
  margin-bottom: 10px;
  position: relative;
}

.au-referral-title em {
  color: var(--au-gold);
  font-style: italic;
}

.au-referral-subtitle {
  font-size: 14px;
  color: var(--au-text-secondary);
  margin-bottom: 28px;
  position: relative;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.au-referral-link-box {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.au-referral-link-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--au-cream);
  border: 1px solid var(--au-border);
  border-right: none;
  border-radius: var(--au-radius-sm) 0 0 var(--au-radius-sm);
  color: var(--au-gold-dark);
  font-size: 13px;
  font-family: 'Inter', monospace;
  font-weight: 500;
  outline: none;
}

.au-referral-copy-btn {
  padding: 14px 28px;
  background: var(--au-gold);
  border: 1px solid var(--au-gold);
  border-radius: 0 var(--au-radius-sm) var(--au-radius-sm) 0;
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--au-ease);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.au-referral-copy-btn:hover {
  background: var(--au-gold-dark);
}

/* ═══════════════════════════════════════════════════════════════
   13. WISHLIST
   ═══════════════════════════════════════════════════════════════ */
.au-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.au-wishlist-item {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  overflow: hidden;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
}

.au-wishlist-item:hover {
  box-shadow: var(--au-shadow-md);
  transform: translateY(-3px);
}

.au-wishlist-img {
  height: 190px;
  background: var(--au-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--au-border);
}

.au-wishlist-img img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.au-wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--au-white);
  border: 1px solid var(--au-border);
  color: var(--au-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--au-ease);
  font-size: 12px;
}

.au-wishlist-remove:hover {
  color: var(--au-danger);
  border-color: var(--au-danger);
  background: var(--au-danger-bg);
}

.au-wishlist-info {
  padding: 20px;
}

.au-wishlist-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 2px;
}

.au-wishlist-meta {
  font-size: 11px;
  color: var(--au-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.au-wishlist-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--au-text);
  font-family: Fraunces, serif;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   14. SUBSCRIPTIONS
   ═══════════════════════════════════════════════════════════════ */
.au-subscription-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
}

.au-subscription-card:hover {
  box-shadow: var(--au-shadow-md);
}

.au-subscription-card--paused {
  opacity: 0.55;
}

.au-subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.au-subscription-product {
  font-size: 16px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 3px;
}

.au-subscription-id {
  font-size: 12px;
  color: var(--au-text-muted);
}

.au-subscription-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.au-subscription-detail__label {
  font-size: 10px;
  color: var(--au-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 4px;
}

.au-subscription-detail__value {
  font-size: 14px;
  color: var(--au-text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   15. DOWNLOADS
   ═══════════════════════════════════════════════════════════════ */
.au-download-item {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  margin-bottom: 12px;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
}

.au-download-item:hover {
  box-shadow: var(--au-shadow-md);
}

.au-download-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--au-radius-sm);
  background: var(--au-gold-bg-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--au-gold);
  margin-right: 20px;
  flex-shrink: 0;
}

.au-download-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-download-info {
  flex: 1;
}

.au-download-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--au-text);
  margin-bottom: 3px;
}

.au-download-meta {
  font-size: 12px;
  color: var(--au-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   16. PAYMENT METHODS
   ═══════════════════════════════════════════════════════════════ */
.au-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 700px;
}

.au-payment-card {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 24px;
  box-shadow: var(--au-shadow-sm);
  transition: var(--au-ease);
  position: relative;
}

.au-payment-card:hover {
  box-shadow: var(--au-shadow-md);
}

.au-payment-card--default {
  border-color: var(--au-gold-border);
}

.au-payment-default-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--au-gold-dark);
  background: var(--au-gold-bg-md);
  padding: 3px 10px;
  border-radius: 100px;
}

.au-payment-brand {
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--au-text-muted);
}

.au-payment-number {
  font-size: 16px;
  font-weight: 500;
  color: var(--au-text);
  letter-spacing: 2px;
  font-family: 'Inter', monospace;
  margin-bottom: 8px;
}

.au-payment-expiry {
  font-size: 12px;
  color: var(--au-text-muted);
}

.au-payment-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.au-payment-action {
  font-size: 12px;
  color: var(--au-text-muted);
  cursor: pointer;
  transition: var(--au-ease);
  text-decoration: none !important;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.au-payment-action:hover {
  color: var(--au-gold);
}

.au-payment-action--delete:hover {
  color: var(--au-danger);
}

.au-add-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  border: 2px dashed var(--au-gray-200);
  border-radius: var(--au-radius);
  background: transparent;
  color: var(--au-text-light);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: var(--au-ease);
  text-decoration: none !important;
}

.au-add-card-btn:hover {
  border-color: var(--au-gold);
  color: var(--au-gold-dark);
  background: var(--au-gold-bg);
}

.au-add-card-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════════
   17. STATUS BADGES
   ═══════════════════════════════════════════════════════════════ */
.au-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.au-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.au-badge--completed,
.au-badge--active  { background: var(--au-success-bg); color: var(--au-success); }
.au-badge--completed .au-badge__dot,
.au-badge--active .au-badge__dot  { background: var(--au-success); }

.au-badge--processing,
.au-badge--on-hold { background: var(--au-info-bg); color: var(--au-info); }
.au-badge--processing .au-badge__dot,
.au-badge--on-hold .au-badge__dot { background: var(--au-info); }

.au-badge--shipped,
.au-badge--pending { background: var(--au-warning-bg); color: var(--au-warning); }
.au-badge--shipped .au-badge__dot,
.au-badge--pending .au-badge__dot { background: var(--au-warning); }

.au-badge--cancelled,
.au-badge--refunded,
.au-badge--failed  { background: var(--au-danger-bg); color: var(--au-danger); }
.au-badge--cancelled .au-badge__dot,
.au-badge--refunded .au-badge__dot,
.au-badge--failed .au-badge__dot  { background: var(--au-danger); }

.au-badge--paused  { background: var(--au-gray-100); color: var(--au-text-muted); }
.au-badge--paused .au-badge__dot  { background: var(--au-text-light); }

/* ═══════════════════════════════════════════════════════════════
   18. BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.au-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: var(--au-ease);
  text-decoration: none !important;
  border: none;
  letter-spacing: 0.5px;
  line-height: 1;
}

.au-btn--primary {
  padding: 14px 36px;
  background: var(--au-gold);
  border-radius: var(--au-radius-sm);
  color: white;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.au-btn--primary:hover {
  background: var(--au-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--au-shadow-gold);
  color: white;
}

.au-btn--outline {
  padding: 8px 20px;
  border-radius: var(--au-radius-sm);
  border: 1px solid var(--au-border);
  background: var(--au-white);
  color: var(--au-text-secondary);
  font-size: 12px;
}

.au-btn--outline:hover {
  border-color: var(--au-gold);
  color: var(--au-gold-dark);
  background: var(--au-gold-bg);
}

.au-btn--gold-outline {
  padding: 9px 24px;
  border-radius: var(--au-radius-sm);
  border: 1px solid var(--au-gold);
  background: transparent;
  color: var(--au-gold-dark);
  font-size: 12px;
}

.au-btn--gold-outline:hover {
  background: var(--au-gold);
  color: white;
}

.au-btn--sm {
  padding: 7px 18px;
  font-size: 12px;
}

.au-btn--block {
  width: 100%;
  justify-content: center;
}

/* Override WooCommerce buttons in account */
.aureum-account-content .woocommerce-Button,
.aureum-account-content .button,
.aureum-account-content button[type="submit"],
.aureum-account-content input[type="submit"] {
  padding: 14px 36px;
  background: var(--au-gold) !important;
  border: none !important;
  border-radius: var(--au-radius-sm) !important;
  color: white !important;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--au-ease);
  display: inline-flex;
  align-items: center;
}

.aureum-account-content .woocommerce-Button:hover,
.aureum-account-content .button:hover,
.aureum-account-content button[type="submit"]:hover,
.aureum-account-content input[type="submit"]:hover {
  background: var(--au-gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--au-shadow-gold);
}

/* View Order button */
.woocommerce-orders-table .woocommerce-button {
  padding: 7px 18px !important;
  font-size: 12px !important;
  background: var(--au-white) !important;
  border: 1px solid var(--au-border) !important;
  color: var(--au-text-secondary) !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
}

.woocommerce-orders-table .woocommerce-button:hover {
  border-color: var(--au-gold) !important;
  color: var(--au-gold-dark) !important;
  background: var(--au-gold-bg) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   19. EMPTY STATES
   ═══════════════════════════════════════════════════════════════ */
.au-empty-state {
  text-align: center;
  padding: 60px 40px;
  max-width: 400px;
  margin: 0 auto;
}

.au-empty-state__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--au-gold-bg-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--au-gold);
}

.au-empty-state__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.au-empty-state__title {
  font-family: Fraunces, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--au-text);
}

.au-empty-state__text {
  font-size: 14px;
  color: var(--au-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   20. NOTICES / ALERTS
   ═══════════════════════════════════════════════════════════════ */
.aureum-account-content .woocommerce-message,
.aureum-account-content .woocommerce-info,
.aureum-account-content .woocommerce-error {
  padding: 16px 24px;
  border-radius: var(--au-radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  border-left: 4px solid;
}

.aureum-account-content .woocommerce-message {
  background: var(--au-success-bg);
  border-color: var(--au-success);
  color: var(--au-success);
}

.aureum-account-content .woocommerce-info {
  background: var(--au-info-bg);
  border-color: var(--au-info);
  color: var(--au-info);
}

.aureum-account-content .woocommerce-error {
  background: var(--au-danger-bg);
  border-color: var(--au-danger);
  color: var(--au-danger);
}

.aureum-account-content .woocommerce-error li {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════════
   21. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .au-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .au-rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .au-wishlist-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .aureum-account-wrapper {
    grid-template-columns: 1fr;
  }

  .aureum-account-sidebar {
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--au-border);
    padding: 20px 0;
  }

  .aureum-account-content {
    padding: 24px 20px 40px;
  }

  .au-stats-grid { grid-template-columns: 1fr 1fr; }
  .au-dashboard-grid { grid-template-columns: 1fr; }
  .au-address-grid { grid-template-columns: 1fr; }
  .au-form-grid { grid-template-columns: 1fr; }
  .au-payment-grid { grid-template-columns: 1fr; }
  .au-rewards-grid { grid-template-columns: 1fr; }
  .au-wishlist-grid { grid-template-columns: 1fr 1fr; }
  .au-subscription-details { grid-template-columns: 1fr 1fr; }
  .au-quick-actions { grid-template-columns: 1fr; }

  .au-section-title { font-size: 28px; }
  .au-welcome-banner { padding: 24px; }
  .au-points-hero { padding: 28px 20px; }
  .au-points-value { font-size: 52px; }
  .au-referral-hero { padding: 28px 20px; }
  .au-referral-link-box { flex-direction: column; }
  .au-referral-link-input { border-right: 1px solid var(--au-border); border-radius: var(--au-radius-sm); }
  .au-referral-copy-btn { border-radius: var(--au-radius-sm); margin-top: 8px; }

  /* Mobile: hide some table columns */
  .woocommerce-orders-table .woocommerce-orders-table__cell-order-date {
    display: none;
  }
}

@media (max-width: 480px) {
  .au-stats-grid { grid-template-columns: 1fr; }
  .au-wishlist-grid { grid-template-columns: 1fr; }
  .au-subscription-details { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   22. PREMIUM ENHANCEMENTS - Wow Factor
   ═══════════════════════════════════════════════════════════════ */

/* Sidebar hover glow on nav items */
.au-nav-item a:hover {
  background: linear-gradient(135deg, var(--au-gold-bg) 0%, rgba(201,162,39,0.02) 100%);
}

/* Active nav item gold bar glow */
.au-nav-item.is-active a {
  box-shadow: inset 0 0 0 1px var(--au-gold-border);
}

/* Sidebar user avatar shimmer ring */
.au-user-avatar {
  box-shadow: 0 0 0 4px rgba(201,162,39,0.08);
}

/* Orders table row gold highlight on hover */
.woocommerce-orders-table tbody tr:hover td:first-child {
  border-left: 3px solid var(--au-gold);
}

/* Order ID links with underline effect */
.woocommerce-orders-table a {
  color: var(--au-gold-dark);
  text-decoration: none;
  position: relative;
}
.woocommerce-orders-table a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--au-gold);
  transition: width 0.3s ease;
}
.woocommerce-orders-table a:hover::after { width: 100%; }

/* WooCommerce action buttons in orders table */
.woocommerce-orders-table .woocommerce-button,
.woocommerce-orders-table .button {
  padding: 8px 18px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  background: var(--au-gold) !important;
  color: white !important;
  border: none !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}
.woocommerce-orders-table .woocommerce-button:hover,
.woocommerce-orders-table .button:hover {
  background: var(--au-gold-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(201,162,39,0.25) !important;
}

/* Address cards - gold top accent on hover */
.au-address-card {
  position: relative;
  overflow: hidden;
}
.au-address-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--au-gold), var(--au-gold-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.au-address-card:hover::before { opacity: 1; }

/* Address edit link styling */
.au-address-card a.edit,
.woocommerce-address-fields + a,
.aureum-account-content a[href*="edit-address"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--au-gold);
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}
.au-address-card a.edit:hover { color: var(--au-gold-dark); }

/* Form fields - subtle inset shadow for depth */
.aureum-account-content input[type="text"],
.aureum-account-content input[type="email"],
.aureum-account-content input[type="password"],
.aureum-account-content select {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}
.aureum-account-content input:focus,
.aureum-account-content select:focus {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02), 0 0 0 3px var(--au-gold-bg-md);
}

/* Account details form - wider layout */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
  max-width: 680px;
}

/* Save button enhancement */
.aureum-account-content button[type="submit"],
.aureum-account-content input[type="submit"],
.aureum-account-content .woocommerce-Button {
  padding: 14px 36px !important;
  background: var(--au-gold) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(201,162,39,0.2) !important;
}
.aureum-account-content button[type="submit"]:hover,
.aureum-account-content input[type="submit"]:hover,
.aureum-account-content .woocommerce-Button:hover {
  background: var(--au-gold-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(201,162,39,0.3) !important;
}

/* Points hero - dark premium variant */
.au-points-hero {
  background: linear-gradient(135deg, var(--au-ink) 0%, #2D2A26 100%);
  border-color: rgba(201,162,39,0.2);
}
.au-points-value { color: var(--au-gold); }
.au-points-label { color: rgba(255,255,255,0.5); }
.au-progress-hint { color: rgba(255,255,255,0.5); }
.au-progress-hint strong { color: var(--au-gold); }
.au-progress-bar { background: rgba(255,255,255,0.1); }

/* Reward cards - gold border accent */
.au-reward-card {
  position: relative;
  border-left: 3px solid transparent;
}
.au-reward-card:hover {
  border-left-color: var(--au-gold);
}

/* Downloads section - file icon styling */
.woocommerce-table--order-downloads td:first-child {
  font-weight: 600;
  color: var(--au-gold-dark);
}

/* Section headers across all tabs */
.au-section-header {
  position: relative;
  padding-bottom: 20px;
}
.au-section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--au-gold), transparent);
}

/* Empty states - more inviting */
.au-empty-state {
  background: linear-gradient(135deg, var(--au-white) 0%, var(--au-cream-warm) 100%);
  border: 1px dashed var(--au-gold-border);
  border-radius: var(--au-radius-lg);
  padding: 60px 40px;
}
.au-empty-state__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--au-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--au-gold);
}

/* Smooth page transitions between tabs */
.aureum-account-content > .woocommerce-MyAccount-content > * {
  animation: auFadeUp 0.4s ease;
}

/* WPLoyalty page - ensure it inherits our premium styles */
.wlr-myaccount-page {
  animation: auFadeUp 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════
   23. WPLOYALTY POINTS & REWARDS - Premium Override
   ═══════════════════════════════════════════════════════════════ */

/* Force our fonts on WPLoyalty content */
.wlr-myaccount-page,
.wlr-myaccount-page * {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif !important;
}

.wlr-myaccount-page h2,
.wlr-myaccount-page h3,
.wlr-myaccount-page h4,
.wlr-myaccount-page .wlr-heading {
  font-family: Fraunces, Georgia, serif !important;
}

/* Points balance - dark premium card */
.wlr-myaccount-page [class*="point-balance"],
.wlr-myaccount-page [class*="available-point"],
.wlr-myaccount-page .wlr-point-content,
.wlr-myaccount-page > div:first-child {
  background: linear-gradient(135deg, var(--au-ink) 0%, #2D2A26 100%) !important;
  border-radius: 16px !important;
  padding: 36px !important;
  margin-bottom: 32px !important;
  border: 1px solid rgba(201,162,39,0.2) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  position: relative;
  overflow: hidden;
}

/* Gold accent line at top */
.wlr-myaccount-page [class*="point-balance"]::before,
.wlr-myaccount-page .wlr-point-content::before {
  content: '' !important;
  position: absolute !important;
  top: 0; left: 0; right: 0;
  height: 3px !important;
  background: linear-gradient(90deg, var(--au-gold), #D4B64D, var(--au-gold)) !important;
}

/* Points number */
.wlr-myaccount-page [class*="point-value"],
.wlr-myaccount-page .wlr-point-value {
  font-family: Fraunces, Georgia, serif !important;
  font-size: 56px !important;
  font-weight: 500 !important;
  color: var(--au-gold) !important;
  line-height: 1 !important;
}

/* Points label */
.wlr-myaccount-page [class*="point-label"],
.wlr-myaccount-page .wlr-point-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
}

/* All WPLoyalty buttons */
.wlr-myaccount-page button,
.wlr-myaccount-page .wlr-button,
.wlr-myaccount-page [class*="wlr-btn"],
.wlr-myaccount-page a.wlr-button {
  background: var(--au-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}
.wlr-myaccount-page button:hover,
.wlr-myaccount-page .wlr-button:hover {
  background: #A68B1F !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3) !important;
}

/* WPLoyalty reward cards */
.wlr-myaccount-page [class*="reward-card"],
.wlr-myaccount-page [class*="reward-item"] {
  background: #fff !important;
  border: 1px solid #EDEBE6 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
.wlr-myaccount-page [class*="reward-card"]:hover,
.wlr-myaccount-page [class*="reward-item"]:hover {
  border-color: rgba(201,162,39,0.3) !important;
  box-shadow: 0 8px 24px rgba(201,162,39,0.1) !important;
  transform: translateY(-2px) !important;
}

/* WPLoyalty tabs */
.wlr-myaccount-page [class*="nav"] a,
.wlr-myaccount-page [class*="tab"] a,
.wlr-myaccount-page [class*="tab"] button {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 12px 20px !important;
  transition: all 0.25s ease !important;
  border-radius: 8px !important;
}
.wlr-myaccount-page [class*="nav"] a.active,
.wlr-myaccount-page [class*="tab"] a.active,
.wlr-myaccount-page [class*="tab"] button.active {
  background: var(--au-gold-bg-md, rgba(201,162,39,0.1)) !important;
  color: var(--au-gold) !important;
}

/* WPLoyalty tables */
.wlr-myaccount-page table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
.wlr-myaccount-page table thead th {
  background: #FAF8F5 !important;
  padding: 14px 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #8A847A !important;
  border-bottom: 1px solid #EDEBE6 !important;
}
.wlr-myaccount-page table tbody td {
  padding: 14px 20px !important;
  font-size: 13px !important;
  border-bottom: 1px solid #F3F1ED !important;
  color: #4A4640 !important;
}
.wlr-myaccount-page table tbody tr:hover {
  background: rgba(201,162,39,0.03) !important;
}

/* ═══════════════════════════════════════════════════════════════
   24. WOOCOMMERCE DEFAULT OVERRIDES - Catch-All Fixes
   ═══════════════════════════════════════════════════════════════ */

/* Ensure all WooCommerce notices look good in account area */
.aureum-account-content .woocommerce-message a,
.aureum-account-content .woocommerce-info a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* View order page improvements */
.aureum-account-content .woocommerce-order-details {
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--au-shadow-sm);
}

.aureum-account-content .woocommerce-order-details h2 {
  font-family: Fraunces, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--au-text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--au-border);
}

/* Order details table */
.aureum-account-content .woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
}
.aureum-account-content .woocommerce-table--order-details th {
  text-align: left;
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--au-text-muted);
  background: var(--au-gray-50);
  border-bottom: 1px solid var(--au-border);
}
.aureum-account-content .woocommerce-table--order-details td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--au-gray-100);
}

/* Order total row */
.aureum-account-content .woocommerce-table--order-details tfoot tr:last-child td,
.aureum-account-content .woocommerce-table--order-details tfoot tr:last-child th {
  font-weight: 700;
  font-size: 16px;
  color: var(--au-text);
  border-top: 2px solid var(--au-gold);
  padding-top: 16px;
}

/* Payment methods page */
.aureum-account-content .woocommerce-PaymentMethods {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Downloads table */
.aureum-account-content .woocommerce-table--order-downloads {
  width: 100%;
  border-collapse: collapse;
  background: var(--au-white);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius);
  overflow: hidden;
  box-shadow: var(--au-shadow-sm);
}
.aureum-account-content .woocommerce-table--order-downloads th {
  text-align: left;
  padding: 14px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--au-text-muted);
  background: var(--au-gray-50);
  border-bottom: 1px solid var(--au-border);
}
.aureum-account-content .woocommerce-table--order-downloads td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--au-gray-100);
}
.aureum-account-content .woocommerce-table--order-downloads a {
  color: var(--au-gold-dark);
  font-weight: 600;
  text-decoration: none;
}
.aureum-account-content .woocommerce-table--order-downloads a:hover {
  color: var(--au-gold);
}

/* ============================================================================
   ACCOUNT — corrections 2026-09-11
   ----------------------------------------------------------------------------
   1. `a[href*="edit-address"]` (above) was written for the Edit link on an
      address card but also matched the sidebar's "Addresses" nav link, which is
      why that one item rendered 12px uppercase while its six siblings did not.
      It is now scoped to .aureum-account-content.
   2. Every endpoint now carries a real <h1> (there was none on any account
      page). The visual title styles below were written for h2/div, so reset the
      UA h1 defaults to keep the exact same appearance.
   3. Tablet: the sidebar stacked above the content at ≤768px, so on an iPad the
      whole first screen was navigation. Two columns hold comfortably down to
      640px with a compact sidebar.
   ============================================================================ */
h1.au-section-title,
h1.au-welcome-greeting {
    margin-top: 0;
    font-weight: inherit;
}
h1.au-welcome-greeting {
    margin-bottom: 0;
}

@media (min-width: 641px) and (max-width: 768px) {
    .aureum-account-wrapper {
        grid-template-columns: 220px 1fr !important;
    }
    .aureum-account-sidebar {
        position: sticky !important;
        top: 100px !important;
        height: auto !important;
        border-right: 1px solid var(--au-border) !important;
        border-bottom: none !important;
        padding: 20px 0 !important;
    }
    .aureum-account-content {
        padding: 24px 22px 40px !important;
    }
}
