/**
 * Gur Biponi Theme — WooCommerce My Account Dedicated Stylesheet
 * Complete Redesign & Ultra Mobile-Responsive System
 * 
 * 1. Global Reset & Root Variables
 * 2. WooCommerce Core Float Neutralization
 * 3. Hero Profile Card
 * 4. Two-Column Layout & Sidebar Navigation
 * 5. Mobile Horizontal Scrollable Tab Bar
 * 6. Content Area & Card Wrappers
 * 7. Customer Dashboard (Greeting, Promo, Stats Grid, Quick Actions, Support)
 * 8. Orders List Table, Badges & Pagination
 * 9. Order View & 3-Step Responsive Delivery Tracker
 * 10. Address Cards & Address Edit Form
 * 11. Account Details & Password Security Form
 * 12. Digital Downloads Table & Empty States
 * 13. Auth Portal (Login, Sign-Up Tabs, Password Toggles, Trust Badges)
 * 14. Lost Password & Password Reset Pages
 * 15. Responsive Breakpoints (Tablet & Mobile)
 */

/* ── 1. Global Reset & Root Variables ─────────────────────────────────────── */
:root {
  --gb-acc-primary: #562915;
  --gb-acc-primary-hover: #73381e;
  --gb-acc-primary-dark: #2b1105;
  --gb-acc-accent: #c8771a;
  --gb-acc-accent-hover: #b06512;
  --gb-acc-accent-light: #fff5e6;
  --gb-acc-bg: #fdfaf6;
  --gb-acc-card-bg: #ffffff;
  --gb-acc-border: #e8ded4;
  --gb-acc-border-light: #f2ece4;
  --gb-acc-text-dark: #2b1105;
  --gb-acc-text-body: #4a3b32;
  --gb-acc-text-muted: #8c7a6e;
  --gb-acc-radius-sm: 8px;
  --gb-acc-radius-md: 14px;
  --gb-acc-radius-lg: 18px;
  --gb-acc-radius-xl: 22px;
  --gb-acc-shadow-xs: 0 1px 3px rgba(86, 41, 21, 0.04);
  --gb-acc-shadow-sm: 0 4px 14px rgba(86, 41, 21, 0.06);
  --gb-acc-shadow-md: 0 8px 24px rgba(86, 41, 21, 0.08);
  --gb-acc-shadow-lg: 0 14px 36px rgba(86, 41, 21, 0.12);
  --gb-acc-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.woocommerce-account {
  background-color: var(--gb-acc-bg) !important;
}

/* Hide default page hero banner on My Account page (account has its own hero card) */
.woocommerce-account .gb-shop-hero {
  display: none !important;
}

.woocommerce-account .site-main {
  padding-top: 20px;
  padding-bottom: 60px;
}

/* ── 2. WooCommerce Core Float Neutralization ─────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation::after,
.woocommerce-account .woocommerce-MyAccount-content::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* ── 3. Page Container & Hero Card ────────────────────────────────────────── */
.gb-account-page-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: 'Anek Bangla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--gb-acc-text-body);
  box-sizing: border-box;
}

/* Hero Profile Card */
.gb-account-hero-card {
  position: relative;
  background: linear-gradient(135deg, #2b1105 0%, #461f0e 45%, #562915 80%, #6e351b 100%);
  border-radius: var(--gb-acc-radius-xl);
  padding: 28px 34px;
  margin-bottom: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 32px rgba(43, 17, 5, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.gb-account-hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(200, 119, 26, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gb-account-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.gb-account-avatar {
  position: relative;
  flex-shrink: 0;
}

.gb-account-avatar .gb-avatar-img,
.gb-account-avatar img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  display: block;
}

.gb-avatar-badge {
  position: absolute;
  bottom: 0;
  right: -2px;
  background: #22c55e;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #331508;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.gb-account-user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gb-account-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 119, 26, 0.25);
  border: 1px solid rgba(200, 119, 26, 0.45);
  color: #fed7aa;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  width: fit-content;
}

.gb-account-user-name {
  font-size: 24px;
  font-weight: 700;
  margin: 2px 0 0 0;
  line-height: 1.25;
  color: #ffffff;
}

.gb-account-user-details {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  flex-wrap: wrap;
}

.gb-account-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gb-account-detail-item svg {
  stroke: rgba(255, 255, 255, 0.65);
}

.gb-account-hero-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.gb-hero-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 8px 18px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.gb-hero-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #fed7aa;
  line-height: 1.1;
}

.gb-hero-stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.gb-hero-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d88320 0%, #b86912 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(200, 119, 26, 0.35);
  transition: var(--gb-acc-transition);
  border: none;
  cursor: pointer;
}

.gb-hero-shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 119, 26, 0.45);
}

.gb-hero-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--gb-acc-transition);
}

.gb-hero-logout-btn:hover {
  background: rgba(220, 38, 38, 0.35);
  border-color: rgba(220, 38, 38, 0.5);
  transform: translateY(-2px);
}

/* ── 4. Two-Column Layout & Sidebar Navigation ────────────────────────────── */
.gb-account-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.gb-account-sidebar {
  position: sticky;
  top: 90px;
  width: 100%;
}

.gb-account-nav-wrap {
  width: 100%;
}

.gb-nav-card {
  background: var(--gb-acc-card-bg);
  border-radius: var(--gb-acc-radius-xl);
  border: 1px solid var(--gb-acc-border);
  box-shadow: 0 4px 20px rgba(86, 41, 21, 0.05);
  padding: 16px 12px 14px 12px;
}

.gb-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 14px 8px;
  border-bottom: 1px solid var(--gb-acc-border-light);
  margin-bottom: 8px;
}

.gb-nav-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gb-nav-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(86, 41, 21, 0.07);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-nav-header-text {
  display: flex;
  flex-direction: column;
}

.gb-nav-header-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0;
  line-height: 1.2;
}

.gb-nav-header-sub {
  font-size: 11px;
  color: var(--gb-acc-text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.gb-nav-header-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gb-acc-accent);
  background: var(--gb-acc-accent-light);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(200, 119, 26, 0.25);
}

.gb-account-nav-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gb-nav-item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gb-nav-link {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--gb-acc-radius-md);
  color: var(--gb-acc-text-body);
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.gb-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(86, 41, 21, 0.05);
  color: var(--gb-acc-primary);
  flex-shrink: 0;
  margin-right: 12px;
  transition: var(--gb-acc-transition);
}

.gb-nav-text-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.gb-nav-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gb-acc-text-dark);
}

.gb-nav-subtext {
  font-size: 11.5px;
  color: var(--gb-acc-text-muted);
  margin-top: 1px;
  font-weight: 400;
}

.gb-nav-badge {
  background: var(--gb-acc-accent);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  line-height: 1;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(200, 119, 26, 0.35);
}

.gb-nav-arrow {
  color: var(--gb-acc-text-muted);
  opacity: 0.4;
  margin-left: 8px;
  transition: var(--gb-acc-transition);
  display: flex;
  align-items: center;
}

/* Nav Item Hover & Active States */
.gb-nav-link:hover {
  background: #fdf7f0;
  transform: translateX(3px);
}

.gb-nav-link:hover .gb-nav-title {
  color: var(--gb-acc-primary);
}

.gb-nav-link:hover .gb-nav-icon {
  background: rgba(86, 41, 21, 0.12);
  color: var(--gb-acc-primary);
}

.gb-nav-link:hover .gb-nav-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--gb-acc-primary);
}

.gb-nav-item.is-active .gb-nav-link {
  background: linear-gradient(135deg, #562915 0%, #3a1608 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(86, 41, 21, 0.28);
  transform: none;
}

.gb-nav-item.is-active .gb-nav-link .gb-nav-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.gb-nav-item.is-active .gb-nav-link .gb-nav-title {
  color: #ffffff !important;
}

.gb-nav-item.is-active .gb-nav-link .gb-nav-subtext {
  color: rgba(255, 255, 255, 0.78) !important;
}

.gb-nav-item.is-active .gb-nav-link .gb-nav-badge {
  background: #ffffff;
  color: var(--gb-acc-primary);
}

.gb-nav-item.is-active .gb-nav-link .gb-nav-arrow {
  color: #ffffff;
  opacity: 0.9;
}

/* Divider & Footer Hint */
.gb-nav-divider {
  height: 1px;
  background: var(--gb-acc-border-light);
  margin: 6px 4px;
  list-style: none !important;
}

.gb-nav-footer-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 4px 8px;
  margin-top: 8px;
  border-top: 1px solid var(--gb-acc-border-light);
  font-size: 11.5px;
  color: var(--gb-acc-text-muted);
  line-height: 1.35;
}

.gb-nav-footer-hint svg {
  color: var(--gb-acc-accent);
  flex-shrink: 0;
}

/* Logout Item */
.gb-nav-item.woocommerce-MyAccount-navigation-link--customer-logout .gb-nav-link .gb-nav-title {
  color: #dc2626;
}

.gb-nav-item.woocommerce-MyAccount-navigation-link--customer-logout .gb-nav-link .gb-nav-icon {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}

.gb-nav-item.woocommerce-MyAccount-navigation-link--customer-logout .gb-nav-link:hover {
  background: rgba(220, 38, 38, 0.06) !important;
}

/* ── 5. Main Content Panel ────────────────────────────────────────────────── */
.gb-account-content-card {
  min-width: 0;
  width: 100%;
}

.woocommerce-MyAccount-content {
  width: 100% !important;
}

/* Common Page Inner Header */
.gb-page-inner-header {
  background: var(--gb-acc-card-bg);
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 22px 26px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--gb-acc-shadow-xs);
  flex-wrap: wrap;
}

.gb-page-inner-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gb-page-inner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(86, 41, 21, 0.07);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-page-inner-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 2px 0;
}

.gb-page-inner-desc {
  font-size: 13.5px;
  color: var(--gb-acc-text-muted);
  margin: 0;
}

.gb-orders-shop-btn,
.gb-back-orders-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.gb-orders-shop-btn:hover,
.gb-back-orders-btn:hover {
  background: var(--gb-acc-primary-hover);
  transform: translateY(-2px);
}

/* ── 6. Customer Dashboard ────────────────────────────────────────────────── */
.gb-dashboard-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Welcome Card */
.gb-dash-welcome-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--gb-acc-shadow-xs);
  flex-wrap: wrap;
}

.gb-dash-welcome-text h1,
.gb-dash-welcome-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 4px 0;
}

.gb-dash-welcome-desc {
  font-size: 14px;
  color: var(--gb-acc-text-muted);
  margin: 0;
}

.gb-dash-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
  white-space: nowrap;
}

.gb-dash-primary-btn:hover {
  background: var(--gb-acc-primary-hover);
  transform: translateY(-2px);
}

/* Promo Announcement Banner */
.gb-dash-promo-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--gb-acc-radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--gb-acc-shadow-xs);
  flex-wrap: wrap;
}

.gb-dash-promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ea580c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.28);
}

.gb-dash-promo-content {
  flex: 1;
  min-width: 220px;
}

.gb-dash-promo-title {
  font-size: 16px;
  font-weight: 700;
  color: #7c2d12;
  margin: 0 0 2px 0;
}

.gb-dash-promo-text {
  font-size: 13.5px;
  color: #9a3412;
  margin: 0;
}

.gb-dash-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c8771a;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(200, 119, 26, 0.28);
  transition: var(--gb-acc-transition);
  white-space: nowrap;
}

.gb-dash-promo-btn:hover {
  background: #b06512;
  transform: translateY(-2px);
}

/* 4-Column Stats Grid */
.gb-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gb-stat-card {
  background: var(--gb-acc-card-bg);
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 18px;
  box-shadow: var(--gb-acc-shadow-xs);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--gb-acc-transition);
}

.gb-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gb-acc-shadow-md);
  border-color: rgba(86, 41, 21, 0.25);
}

.gb-stat-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-stat-orders .gb-stat-icon-wrap {
  background: #e0f2fe;
  color: #0284c7;
}

.gb-stat-processing .gb-stat-icon-wrap {
  background: #fef3c7;
  color: #d97706;
}

.gb-stat-completed .gb-stat-icon-wrap {
  background: #dcfce7;
  color: #16a34a;
}

.gb-stat-spent .gb-stat-icon-wrap {
  background: #fae8ff;
  color: #a855f7;
}

.gb-stat-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gb-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gb-acc-text-dark);
  line-height: 1.15;
}

.gb-stat-label {
  font-size: 13px;
  color: var(--gb-acc-text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.gb-stat-arrow {
  color: var(--gb-acc-text-muted);
  opacity: 0.5;
  transition: var(--gb-acc-transition);
}

.gb-stat-card:hover .gb-stat-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--gb-acc-primary);
}

/* Quick Actions Section */
.gb-dash-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gb-dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gb-dash-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gb-dash-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gb-action-card {
  background: var(--gb-acc-card-bg);
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 20px 18px;
  text-decoration: none !important;
  color: var(--gb-acc-text-body) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--gb-acc-shadow-xs);
  transition: var(--gb-acc-transition);
}

.gb-action-card:hover {
  border-color: var(--gb-acc-primary);
  transform: translateY(-3px);
  box-shadow: var(--gb-acc-shadow-md);
}

.gb-action-card .gb-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(86, 41, 21, 0.06);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gb-acc-transition);
}

.gb-action-card:hover .gb-action-icon {
  background: var(--gb-acc-primary);
  color: #ffffff;
}

.gb-action-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 4px 0;
}

.gb-action-desc {
  font-size: 12.5px;
  color: var(--gb-acc-text-muted);
  margin: 0;
  line-height: 1.45;
}

.gb-action-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gb-acc-primary);
  margin-top: 4px;
}

.gb-action-card:hover .gb-action-link-text {
  color: var(--gb-acc-accent);
}

.gb-action-card:hover .gb-action-link-text svg {
  transform: translateX(4px);
}

/* Recent Orders Table inside Dashboard */
.gb-recent-orders-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  box-shadow: var(--gb-acc-shadow-xs);
  overflow: hidden;
}

.gb-dash-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gb-acc-primary);
  text-decoration: none !important;
}

.gb-dash-see-all:hover {
  color: var(--gb-acc-accent);
}

/* Customer Support & Helpline Card */
.gb-dash-support-card {
  background: linear-gradient(135deg, #fdf8f4 0%, #f9f1ea 100%);
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--gb-acc-shadow-xs);
  flex-wrap: wrap;
}

.gb-support-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gb-acc-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gb-support-body {
  flex: 1;
  min-width: 220px;
}

.gb-support-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 3px 0;
}

.gb-support-desc {
  font-size: 13px;
  color: var(--gb-acc-text-muted);
  margin: 0;
}

.gb-support-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gb-support-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  color: var(--gb-acc-text-dark) !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
}

.gb-support-call-btn:hover {
  border-color: var(--gb-acc-primary);
  color: var(--gb-acc-primary) !important;
  transform: translateY(-2px);
}

.gb-support-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  transition: var(--gb-acc-transition);
}

.gb-support-wa-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

/* ── 7. Orders List Table & Badges ────────────────────────────────────────── */
.gb-orders-table-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  box-shadow: var(--gb-acc-shadow-xs);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gb-modern-orders-table,
.gb-recent-orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #ffffff;
  margin: 0 !important;
  min-width: 580px;
}

.gb-modern-orders-table thead th,
.gb-recent-orders-table thead th {
  background: #faf6f0;
  color: var(--gb-acc-text-dark);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gb-acc-border);
  white-space: nowrap;
}

.gb-modern-orders-table tbody td,
.gb-recent-orders-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gb-acc-border-light);
  color: var(--gb-acc-text-body);
  vertical-align: middle;
}

.gb-modern-orders-table tbody tr:last-child td,
.gb-recent-orders-table tbody tr:last-child td {
  border-bottom: none;
}

.gb-modern-orders-table tbody tr:hover td,
.gb-recent-orders-table tbody tr:hover td {
  background-color: #fdfaf6;
}

.gb-order-badge-id,
.gb-order-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--gb-acc-primary);
  background: rgba(86, 41, 21, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none !important;
}

.gb-order-badge-id:hover,
.gb-order-link:hover {
  background: var(--gb-acc-primary);
  color: #ffffff;
}

.gb-order-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gb-acc-text-muted);
  font-size: 13.5px;
}

/* Order Status Badges */
.gb-order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.gb-order-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.gb-order-badge.gb-badge-completed,
.gb-order-badge.status-completed {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.gb-order-badge.gb-badge-processing,
.gb-order-badge.status-processing {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.gb-order-badge.gb-badge-on-hold,
.gb-order-badge.status-on-hold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.gb-order-badge.gb-badge-pending,
.gb-order-badge.status-pending {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.gb-order-badge.gb-badge-cancelled,
.gb-order-badge.gb-badge-failed,
.gb-order-badge.status-cancelled,
.gb-order-badge.status-failed {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.gb-order-badge.gb-badge-refunded,
.gb-order-badge.status-refunded {
  background: #f3e8ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.gb-order-total-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gb-order-total-amount {
  font-weight: 700;
  color: var(--gb-acc-text-dark);
}

.gb-order-items-badge {
  font-size: 12px;
  color: var(--gb-acc-text-muted);
}

.gb-order-action-btn,
.gb-view-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  color: var(--gb-acc-primary) !important;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
  white-space: nowrap;
}

.gb-order-action-btn:hover,
.gb-view-order-btn:hover {
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  border-color: var(--gb-acc-primary);
}

/* Orders Pagination */
.gb-orders-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.gb-orders-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--gb-acc-border);
  color: var(--gb-acc-text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: #ffffff;
  transition: var(--gb-acc-transition);
}

.gb-orders-pagination .page-numbers:hover {
  border-color: var(--gb-acc-primary);
  color: var(--gb-acc-primary);
}

.gb-orders-pagination .page-numbers.current {
  background: var(--gb-acc-primary);
  color: #ffffff;
  border-color: var(--gb-acc-primary);
}

/* Empty State */
.gb-orders-empty-state {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  text-align: center;
  padding: 48px 20px;
}

.gb-orders-empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(86, 41, 21, 0.05);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.gb-orders-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 6px 0;
}

.gb-orders-empty-desc {
  font-size: 14px;
  color: var(--gb-acc-text-muted);
  max-width: 400px;
  margin: 0 auto 20px auto;
}

.gb-empty-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
}

.gb-empty-shop-btn:hover {
  background: var(--gb-acc-primary-hover);
  transform: translateY(-2px);
}

/* ── 8. Single Order View & 3-Step Delivery Tracker ───────────────────────── */
.gb-view-order-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gb-order-tracker-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: var(--gb-acc-shadow-xs);
}

.gb-tracker-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 24px 0;
}

.gb-tracker-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gb-tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.gb-tracker-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e8ded4;
  color: var(--gb-acc-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  transition: var(--gb-acc-transition);
}

.gb-tracker-step.is-done .gb-tracker-dot {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.gb-tracker-step.is-current .gb-tracker-dot {
  background: #ffffff;
  border-color: var(--gb-acc-primary);
  color: var(--gb-acc-primary);
  box-shadow: 0 0 0 4px rgba(86, 41, 21, 0.15);
}

.gb-tracker-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin-bottom: 2px;
  display: block;
}

.gb-tracker-step-desc {
  font-size: 12px;
  color: var(--gb-acc-text-muted);
  display: block;
  line-height: 1.35;
}

.gb-tracker-line {
  flex: 1;
  height: 3px;
  background: #e8ded4;
  margin: -24px 4px 0 4px;
}

.gb-tracker-line.is-done {
  background: #16a34a;
}

/* Order details table override */
.woocommerce-table--order-details {
  border: 1px solid var(--gb-acc-border) !important;
  border-radius: var(--gb-acc-radius-md) !important;
  overflow: hidden;
  margin: 20px 0 !important;
  background: #ffffff !important;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  padding: 12px 18px !important;
  border-color: var(--gb-acc-border-light) !important;
}

/* Customer notes */
.gb-order-notes-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 22px 26px;
  margin-top: 20px;
}

.gb-order-notes-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 14px 0;
}

.gb-order-notes-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gb-order-note-item {
  background: #faf6f0;
  border-left: 4px solid var(--gb-acc-accent);
  padding: 12px 16px;
  border-radius: 4px 8px 8px 4px;
}

.gb-order-note-meta {
  font-size: 12px;
  color: var(--gb-acc-text-muted);
  margin-bottom: 3px;
}

.gb-order-note-content {
  font-size: 13.5px;
  color: var(--gb-acc-text-dark);
  margin: 0;
}

/* ── 9. Addresses Grid & Edit Forms ───────────────────────────────────────── */
.gb-addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gb-address-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--gb-acc-shadow-xs);
  transition: var(--gb-acc-transition);
}

.gb-address-card:hover {
  border-color: rgba(86, 41, 21, 0.3);
  box-shadow: var(--gb-acc-shadow-sm);
}

.gb-address-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gb-acc-border-light);
}

.gb-address-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gb-address-type-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(86, 41, 21, 0.06);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-address-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0;
}

.gb-edit-address-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  color: var(--gb-acc-primary) !important;
  text-decoration: none !important;
  transition: var(--gb-acc-transition);
}

.gb-edit-address-btn:hover {
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  border-color: var(--gb-acc-primary);
}

.gb-address-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gb-acc-text-body);
}

.gb-formatted-address {
  font-style: normal;
  margin: 0;
}

.gb-empty-address-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gb-acc-text-muted);
  font-size: 13.5px;
  padding: 12px 0;
}

/* Edit Address Card */
.gb-edit-address-card,
.gb-edit-account-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 28px;
  box-shadow: var(--gb-acc-shadow-xs);
}

.gb-address-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gb-address-fields-grid .form-row-wide {
  grid-column: 1 / -1;
}

.gb-address-submit-row,
.gb-form-submit-row {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--gb-acc-border-light);
  display: flex;
  align-items: center;
  gap: 14px;
}

.gb-save-address-btn,
.gb-save-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gb-acc-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(86, 41, 21, 0.22);
  transition: var(--gb-acc-transition);
}

.gb-save-address-btn:hover,
.gb-save-account-btn:hover {
  background: var(--gb-acc-primary-hover);
  transform: translateY(-2px);
}

/* ── 10. Account Details & Password Security Form ─────────────────────────── */
.gb-form-section {
  margin-bottom: 26px;
}

.gb-form-section-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gb-acc-text-dark);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gb-acc-border-light);
}

.gb-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gb-form-group {
  margin-bottom: 16px;
}

.gb-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gb-acc-text-dark);
  margin-bottom: 6px;
}

.gb-form-label .required {
  color: #dc2626;
  margin-left: 2px;
}

.gb-input-with-icon {
  position: relative;
  display: block; /* block so input fills 100% naturally */
}

.gb-input-with-icon .gb-input-field {
  display: block;
  width: 100% !important;
}

.gb-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gb-acc-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.gb-input-field {
  width: 100% !important;
  height: 46px !important;
  padding: 10px 44px 10px 42px !important; /* right: space for pwd toggle */
  background: #ffffff !important;
  border: 1px solid var(--gb-acc-border) !important;
  border-radius: 10px !important;
  font-size: 16px !important; /* 16px prevents iOS auto-zoom on input focus */
  color: var(--gb-acc-text-dark) !important;
  font-family: inherit !important;
  box-shadow: none !important;
  transition: var(--gb-acc-transition) !important;
  box-sizing: border-box !important;
}

.gb-input-field:focus {
  border-color: var(--gb-acc-primary) !important;
  box-shadow: 0 0 0 3px rgba(86, 41, 21, 0.12) !important;
  outline: none !important;
}

.gb-pwd-toggle-btn,
.gb-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 6px;
  color: var(--gb-acc-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: var(--gb-acc-transition);
}

.gb-pwd-toggle-btn:hover,
.gb-toggle-password:hover {
  color: var(--gb-acc-primary);
  background: rgba(86, 41, 21, 0.05);
}

/* ── 11. Auth Portal (Login, Sign-Up Tabs, Password Toggles) ──────────────── */
.gb-auth-page-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
  padding: 30px 16px;
  box-sizing: border-box;
}

.gb-auth-container {
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
}

.gb-auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.gb-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gb-acc-accent-light);
  color: var(--gb-acc-accent);
  border: 1px solid rgba(200, 119, 26, 0.3);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.gb-auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gb-acc-text-dark);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.gb-auth-subtitle {
  font-size: 13.5px;
  color: var(--gb-acc-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Segmented Control / Tabs */
.gb-auth-tabs-wrap {
  margin-bottom: 16px;
}

.gb-auth-tabs {
  display: flex;
  background: #ede3d7;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.gb-auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  border: none;
  background: none;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gb-acc-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: var(--gb-acc-transition);
}

.gb-auth-tab:hover {
  color: var(--gb-acc-text-dark);
}

.gb-auth-tab.is-active,
.gb-auth-tab.active {
  background: #ffffff;
  color: var(--gb-acc-primary);
  box-shadow: 0 2px 8px rgba(86, 41, 21, 0.12);
}

/* Auth Card */
.gb-auth-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-xl);
  padding: 30px 28px;
  box-shadow: var(--gb-acc-shadow-md);
  box-sizing: border-box;
}

.gb-auth-panel {
  display: none;
}

.gb-auth-panel.is-active,
.gb-auth-panel.active {
  display: block;
  animation: gbFadeIn 0.25s ease;
}

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

.gb-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 8px;
}

.gb-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gb-acc-text-body);
  cursor: pointer;
  user-select: none;
}

.gb-lost-pwd-link {
  color: var(--gb-acc-accent) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.gb-lost-pwd-link:hover {
  color: var(--gb-acc-accent-hover) !important;
  text-decoration: underline !important;
}

.gb-auth-submit-btn {
  width: 100% !important;
  height: 48px !important;
  background: var(--gb-acc-primary) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(86, 41, 21, 0.25) !important;
  transition: var(--gb-acc-transition) !important;
}

.gb-auth-submit-btn:hover {
  background: var(--gb-acc-primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(86, 41, 21, 0.35) !important;
}

.gb-auth-privacy-notice {
  font-size: 12px;
  color: var(--gb-acc-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.gb-auth-privacy-notice a {
  color: var(--gb-acc-primary);
  text-decoration: underline;
}

/* Trust Bar */
.gb-auth-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gb-acc-border-light);
  gap: 8px;
}

.gb-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gb-acc-text-muted);
  font-weight: 600;
}

.gb-trust-item svg {
  color: #16a34a;
  flex-shrink: 0;
}




/* ── Hide WooCommerce native password-reveal button (we use our own) ─────── */
.gb-auth-page-wrap .show-password-input,
.gb-auth-card .show-password-input,
.gb-auth-form .show-password-input {
  display: none !important;
}/* ── Auth Form Helpers (form-label-row, forgot pwd, remember me) ─────────── */
.gb-form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.gb-form-label-row .gb-form-label {
  margin-bottom: 0;
}

.gb-forgot-pwd-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gb-acc-accent) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: var(--gb-acc-transition);
}

.gb-forgot-pwd-link:hover {
  color: var(--gb-acc-accent-hover) !important;
  text-decoration: underline !important;
}

.gb-form-row-remember {
  margin-bottom: 20px;
}

.gb-custom-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--gb-acc-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.gb-reg-pwd-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(86, 41, 21, 0.05);
  border: 1px solid rgba(86, 41, 21, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--gb-acc-text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.gb-reg-pwd-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gb-acc-accent);
}
/* ── 12. Lost Password & Confirmation Cards ───────────────────────────────── */
.gb-lost-pwd-container {
  max-width: 460px;
}

.gb-lost-pwd-card {
  padding: 32px 28px;
}

.gb-lost-pwd-header {
  text-align: center;
  margin-bottom: 22px;
}

.gb-lost-pwd-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(86, 41, 21, 0.07);
  color: var(--gb-acc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.gb-confirmation-card {
  text-align: center;
  padding: 38px 28px;
}

.gb-confirmation-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.gb-confirmation-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gb-acc-text-body);
  margin-bottom: 24px;
}

.gb-confirmation-actions {
  display: flex;
  justify-content: center;
}

.gb-lost-pwd-footer {
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--gb-acc-border-light);
}

.gb-back-login-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gb-acc-primary) !important;
  text-decoration: none !important;
}

.gb-back-login-link:hover {
  color: var(--gb-acc-accent) !important;
}

/* ── 13. Digital Downloads Table ──────────────────────────────────────────── */
.gb-downloads-card {
  background: #ffffff;
  border: 1px solid var(--gb-acc-border);
  border-radius: var(--gb-acc-radius-lg);
  padding: 26px;
}

.gb-downloads-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gb-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--gb-acc-accent-light);
  color: var(--gb-acc-accent) !important;
  border: 1px solid rgba(200, 119, 26, 0.3);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
}

.gb-btn-download:hover {
  background: var(--gb-acc-accent);
  color: #ffffff !important;
}

/* ── 14. Responsive Breakpoints (Tablet & Mobile) ─────────────────────────── */

/* Tablet Landscape / Medium Screens (<= 1024px) */
@media (max-width: 1024px) {
  .gb-account-layout-grid {
    grid-template-columns: 240px 1fr;
    gap: 18px;
  }

  .gb-dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gb-dash-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait & Mobile Screens (<= 900px) */
@media (max-width: 900px) {
  /* Stack 2 columns to 1 column */
  .gb-account-layout-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .gb-account-sidebar {
    position: static;
    top: auto;
    width: 100%;
  }

  /* Horizontal Scrolling Pill Menu on Mobile */
  .gb-nav-card {
    padding: 6px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--gb-acc-border);
  }

  .gb-nav-header,
  .gb-nav-footer-hint,
  .gb-nav-divider,
  .gb-nav-subtext,
  .gb-nav-arrow {
    display: none !important;
  }

  .gb-account-nav-list {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 2px !important;
  }

  .gb-account-nav-list::-webkit-scrollbar {
    display: none;
  }

  .gb-nav-item {
    flex-shrink: 0;
  }

  .gb-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 10px;
    background: #fdfaf6;
    border: 1px solid var(--gb-acc-border-light);
    color: var(--gb-acc-text-body);
  }

  .gb-nav-link:hover {
    transform: none;
    background: #f7ede2;
  }

  .gb-nav-item.is-active .gb-nav-link {
    background: var(--gb-acc-primary) !important;
    border-color: var(--gb-acc-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(86, 41, 21, 0.25);
  }

  .gb-nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
    border-radius: 6px;
  }

  .gb-nav-icon svg {
    width: 14px;
    height: 14px;
  }

  /* Hero Card Stacking */
  .gb-account-hero-card {
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .gb-account-hero-left {
    width: 100%;
  }

  .gb-account-hero-right {
    width: 100%;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .gb-hero-stat-pill {
    padding: 6px 14px;
  }

  .gb-hero-shop-btn,
  .gb-hero-logout-btn {
    padding: 9px 14px;
    font-size: 13.5px;
  }

  /* Addresses & Form Grids */
  .gb-addresses-grid {
    grid-template-columns: 1fr;
  }

  .gb-form-grid-2,
  .gb-address-fields-grid {
    grid-template-columns: 1fr;
  }

  /* 3-Step Delivery Tracker switches to Vertical on Tablet/Mobile */
  .gb-tracker-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    padding-left: 6px;
  }

  .gb-tracker-line {
    display: none;
  }

  .gb-tracker-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    width: 100%;
    gap: 14px;
    position: relative;
  }

  .gb-tracker-step::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 42px;
    bottom: -18px;
    width: 2px;
    background: #e8ded4;
  }

  .gb-tracker-step:last-child::after {
    display: none;
  }

  .gb-tracker-step.is-done::after {
    background: #16a34a;
  }

  .gb-tracker-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* Mobile Screens (<= 576px) */
@media (max-width: 576px) {
  .gb-account-page-wrap {
    padding: 0 12px;
  }

  .gb-account-hero-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .gb-account-avatar .gb-avatar-img,
  .gb-account-avatar img {
    width: 62px;
    height: 62px;
  }

  .gb-account-user-name {
    font-size: 20px;
  }

  .gb-account-user-details {
    font-size: 12.5px;
    gap: 10px;
  }

  .gb-account-hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gb-hero-stat-pill {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
  }

  .gb-hero-shop-btn,
  .gb-hero-logout-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Dashboard Welcome & Promo */
  .gb-dash-welcome-card,
  .gb-dash-promo-banner,
  .gb-dash-support-card,
  .gb-page-inner-header,
  .gb-edit-address-card,
  .gb-edit-account-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .gb-dash-welcome-text h1,
  .gb-dash-welcome-title,
  .gb-page-inner-title {
    font-size: 19px;
  }

  .gb-dash-welcome-action,
  .gb-orders-shop-btn,
  .gb-back-orders-btn {
    width: 100%;
  }

  .gb-dash-primary-btn,
  .gb-orders-shop-btn,
  .gb-back-orders-btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats Grid: Keep clean 2x2 on small mobile */
  .gb-dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gb-stat-card {
    padding: 12px 10px;
    gap: 10px;
    border-radius: 12px;
  }

  .gb-stat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .gb-stat-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .gb-stat-num {
    font-size: 18px;
  }

  .gb-stat-label {
    font-size: 11.5px;
  }

  .gb-stat-arrow {
    display: none;
  }

  /* Quick Actions: 2 columns on mobile */
  .gb-dash-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gb-action-card {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .gb-action-card .gb-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .gb-action-card .gb-action-icon svg {
    width: 20px;
    height: 20px;
  }

  .gb-action-title {
    font-size: 14px;
  }

  .gb-action-desc {
    display: none; /* Hide long description on mobile for compact card look */
  }

  .gb-action-link-text {
    font-size: 12px;
  }

  /* Support card buttons */
  .gb-support-actions,
  .gb-support-call-btn,
  .gb-support-wa-btn {
    width: 100%;
  }

  .gb-support-call-btn,
  .gb-support-wa-btn {
    justify-content: center;
  }

  /* Auth Card */
  .gb-auth-page-wrap {
    padding: 16px 8px;
  }

  .gb-auth-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .gb-auth-title {
    font-size: 21px;
  }

  .gb-auth-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
