/* ================================================
   POULTRY GEAR — MY ACCOUNT PAGE
   ================================================ */

/* Page */
.woocommerce-account { background:#f7faf8; min-height:100vh }
.woocommerce-account h1.entry-title,.woocommerce-account .entry-title { display:none!important }

/* ====== HERO ====== */
.pg-acct-hero {
  background:linear-gradient(135deg,#052e16,#0e2d1a,#14532d);
  padding:40px 20px;
  position:relative;overflow:hidden;
}
.pg-acct-hero::before {
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:40px 40px;pointer-events:none;
}
.pg-acct-hero::after {
  content:"";position:absolute;
  bottom:-60px;right:-60px;width:240px;height:240px;
  background:radial-gradient(circle,rgba(74,222,128,.08),transparent 70%);
  pointer-events:none;
}
.pg-acct-inner {
  max-width:1180px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;position:relative;z-index:1;
}
[dir=rtl] .pg-acct-inner { flex-direction:row-reverse }
.pg-acct-text { flex:1 }
[dir=rtl] .pg-acct-text { text-align:right;direction:rtl }
.pg-acct-badge {
  display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:700;color:#4ade80;
  background:rgba(74,222,128,.12);border:1px solid rgba(74,222,128,.2);
  padding:4px 12px;border-radius:99px;margin-bottom:10px;letter-spacing:.3px;
}
[dir=rtl] .pg-acct-badge { letter-spacing:0;font-family:"Cairo",sans-serif }
.pg-acct-hero h1 { font-size:clamp(22px,3vw,36px);font-weight:900;color:#fff;letter-spacing:-.3px;margin:0 0 6px }
.pg-acct-hero h1 em { font-style:normal;color:#4ade80 }
[dir=rtl] .pg-acct-hero h1 { letter-spacing:0;font-family:"Cairo",sans-serif }
.pg-acct-sub { font-size:13px;color:rgba(255,255,255,.55);margin-top:4px }
[dir=rtl] .pg-acct-sub { font-family:"Cairo",sans-serif }
.pg-acct-stat {
  text-align:center;
  background:rgba(255,255,255,.07);border:1.5px solid rgba(255,255,255,.12);
  border-radius:16px;padding:14px 22px;min-width:88px;flex-shrink:0;
}
.pg-acct-stat .sv { font-size:24px;font-weight:900;color:#f6c343;line-height:1;display:block }
.pg-acct-stat .sl { font-size:11px;color:rgba(255,255,255,.5);margin-top:4px;display:block }
[dir=rtl] .pg-acct-stat .sl { font-family:"Cairo",sans-serif }

/* ====== OUTER WRAPPER ====== */
.woocommerce-account .woocommerce {
  max-width:1100px!important;
  margin:0 auto!important;
  padding:40px 24px 80px!important;
  background:transparent!important;
  float:none!important;width:auto!important;
}

/* ====== LOGIN/REGISTER GRID ====== */
.woocommerce-account .col2-set,
.woocommerce-account .u-columns {
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:28px!important;
  float:none!important;width:100%!important;
  overflow:visible!important;clear:both!important;
}
.woocommerce-account .col2-set::after,.woocommerce-account .u-columns::after { display:none!important }

/* ====== CARDS ====== */
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  float:none!important;width:100%!important;
  padding:36px!important;margin:0!important;
  background:#fff!important;
  border-radius:24px!important;
  border:1px solid rgba(0,0,0,.07)!important;
  box-shadow:0 4px 24px rgba(0,0,0,.05)!important;
  position:relative!important;overflow:hidden!important;
  box-sizing:border-box!important;
}
.woocommerce-account .u-column1::before,.woocommerce-account .u-column2::before {
  content:""!important;position:absolute!important;
  top:0!important;left:0!important;right:0!important;height:4px!important;
  border-radius:24px 24px 0 0!important;
}
.woocommerce-account .u-column1::before { background:linear-gradient(90deg,#052e16,#22c55e)!important }
.woocommerce-account .u-column2::before { background:linear-gradient(90deg,#d97706,#f6c343)!important }
.woocommerce-account .u-column1 h2,.woocommerce-account .u-column2 h2 {
  font-size:20px!important;font-weight:900!important;color:#0a1f10!important;
  margin:0 0 28px!important;padding-bottom:16px!important;
  border-bottom:1.5px solid #f0fdf4!important;
}
[dir=rtl] .woocommerce-account .u-column1 h2,[dir=rtl] .woocommerce-account .u-column2 h2 {
  font-family:"Cairo",sans-serif!important;text-align:right!important;
}

/* ====== FORM ROWS ====== */
.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
  float:none!important;width:100%!important;
  margin:0 0 20px!important;padding:0!important;
  clear:both!important;box-sizing:border-box!important;
}

/* ====== LABELS ====== */
.woocommerce-account .woocommerce-form-row label,
.woocommerce-account .form-row label:not(.woocommerce-form__label-for-checkbox) {
  display:block!important;
  font-size:12px!important;font-weight:700!important;
  color:#6b7280!important;
  letter-spacing:.3px!important;text-transform:uppercase!important;
  margin-bottom:8px!important;
  float:none!important;width:auto!important;text-align:left!important;
}
[dir=rtl] .woocommerce-account .woocommerce-form-row label,
[dir=rtl] .woocommerce-account .form-row label:not(.woocommerce-form__label-for-checkbox) {
  text-align:right!important;letter-spacing:0!important;text-transform:none!important;
  font-family:"Cairo",sans-serif!important;font-size:13px!important;
}

/* ====== INPUTS ====== */
.woocommerce-account input.input-text,
.woocommerce-account input.woocommerce-Input,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"] {
  display:block!important;width:100%!important;
  height:52px!important;
  border:1.5px solid #e5e7eb!important;
  border-radius:14px!important;
  padding:0 18px!important;
  font-size:15px!important;color:#111827!important;
  outline:none!important;background:#fafdfb!important;
  box-shadow:none!important;margin:0!important;
  box-sizing:border-box!important;
  transition:border-color .2s,box-shadow .2s!important;
  -webkit-appearance:none!important;
}
.woocommerce-account input.input-text:focus,
.woocommerce-account input.woocommerce-Input:focus,
.woocommerce-account input[type="text"]:focus,
.woocommerce-account input[type="email"]:focus,
.woocommerce-account input[type="password"]:focus {
  border-color:#15803d!important;
  box-shadow:0 0 0 3px rgba(21,128,61,.1)!important;
  background:#fff!important;
}
[dir=rtl] .woocommerce-account input.input-text,
[dir=rtl] .woocommerce-account input[type="text"],
[dir=rtl] .woocommerce-account input[type="email"],
[dir=rtl] .woocommerce-account input[type="password"] { text-align:right!important;direction:rtl!important }

/* ====== CHECKBOX ====== */
.woocommerce-account .woocommerce-form__label-for-checkbox {
  display:flex!important;align-items:center!important;gap:10px!important;
  font-size:13.5px!important;color:#6b7280!important;font-weight:500!important;
  cursor:pointer!important;text-transform:none!important;letter-spacing:0!important;
}
.woocommerce-account .woocommerce-form__input-checkbox { width:18px!important;height:18px!important;accent-color:#15803d!important }

/* ====== BUTTONS ====== */
.woocommerce-account button.button,
.woocommerce-account input[type="submit"].button,
.woocommerce-account .woocommerce-button {
  display:block!important;width:100%!important;
  padding:15px 20px!important;
  background:linear-gradient(135deg,#052e16,#15803d,#16a34a)!important;
  color:#fff!important;border:none!important;
  border-radius:16px!important;
  font-size:15px!important;font-weight:800!important;
  cursor:pointer!important;transition:all .3s!important;
  box-shadow:0 6px 20px rgba(21,128,61,.3)!important;
  margin-top:16px!important;
  font-family:"Cairo",sans-serif!important;
  text-align:center!important;float:none!important;
}
.woocommerce-account button.button:hover { transform:translateY(-2px)!important;box-shadow:0 10px 30px rgba(21,128,61,.45)!important;color:#fff!important }
/* Table buttons smaller */
.woocommerce-account table .button,.woocommerce-account .woocommerce-MyAccount-content .button {
  width:auto!important;display:inline-block!important;
  padding:8px 18px!important;font-size:13px!important;
  margin-top:0!important;border-radius:10px!important;box-shadow:none!important;
}

/* ====== LOST PASSWORD ====== */
.woocommerce-account .woocommerce-LostPassword { text-align:center!important;margin-top:20px!important }
.woocommerce-account .woocommerce-LostPassword a { font-size:13px!important;color:#15803d!important;font-weight:600!important;text-decoration:none!important }
.woocommerce-account .woocommerce-privacy-policy-text { font-size:12px!important;color:#9ca3af!important;margin-top:16px!important;line-height:1.6!important;text-align:center!important }

/* ====== NOTICES ====== */
.woocommerce-account .woocommerce-error { background:#fef2f2!important;border:1px solid #fecaca!important;color:#dc2626!important;border-radius:12px!important;padding:12px 16px!important;list-style:none!important;margin:0 0 20px!important }
.woocommerce-account .woocommerce-message { background:#f0fdf4!important;border:1px solid #bbf7d0!important;color:#15803d!important;border-radius:12px!important;padding:12px 16px!important;list-style:none!important;margin:0 0 20px!important }

/* ====== DASHBOARD NAV ====== */
.woocommerce-MyAccount-navigation { background:#fff!important;border-radius:20px!important;border:1px solid rgba(0,0,0,.07)!important;box-shadow:0 4px 16px rgba(0,0,0,.04)!important;padding:12px!important }
.woocommerce-MyAccount-navigation ul { list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:3px!important }
.woocommerce-MyAccount-navigation ul li a { display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;border-radius:12px!important;font-size:14px!important;font-weight:600!important;color:#374151!important;text-decoration:none!important;transition:all .2s!important }
[dir=rtl] .woocommerce-MyAccount-navigation ul li a { flex-direction:row-reverse!important;font-family:"Cairo",sans-serif!important }
.woocommerce-MyAccount-navigation ul li a:hover { background:#f0fdf4!important;color:#15803d!important }
.woocommerce-MyAccount-navigation ul li.is-active a { background:linear-gradient(135deg,#052e16,#15803d)!important;color:#fff!important;box-shadow:0 4px 12px rgba(21,128,61,.2)!important }
.nav-icon { font-size:18px;width:26px;text-align:center;flex-shrink:0 }
.nav-label { flex:1 }
.nav-badge { background:#ef4444;color:#fff;font-size:10px;font-weight:800;padding:2px 8px;border-radius:99px }

/* ====== CONTENT AREA ====== */
.woocommerce-account .woocommerce-MyAccount-content { background:#fff!important;border-radius:24px!important;border:1px solid rgba(0,0,0,.07)!important;box-shadow:0 4px 24px rgba(0,0,0,.04)!important;padding:36px!important;min-height:400px!important }
[dir=rtl] .woocommerce-account .woocommerce-MyAccount-content { direction:rtl!important;font-family:"Cairo",sans-serif!important }
.woocommerce-account .woocommerce-MyAccount-content p { color:#374151;line-height:1.75;font-size:14px }
.woocommerce-account .woocommerce-MyAccount-content h2 { font-size:18px;font-weight:900;color:#0a1f10;margin-bottom:20px }
.woocommerce-account .woocommerce-MyAccount-content a { color:#15803d;font-weight:600;text-decoration:none }
.woocommerce-account table.shop_table { width:100%;border-collapse:collapse;font-size:14px }
.woocommerce-account table.shop_table th { font-size:11px;font-weight:700;color:#9ca3af;text-transform:uppercase;padding:0 0 12px;border-bottom:2px solid #f0fdf4;text-align:left }
[dir=rtl] .woocommerce-account table.shop_table th { text-align:right;text-transform:none }
.woocommerce-account table.shop_table td { padding:14px 0;border-bottom:1px solid #f7faf8;color:#374151 }

/* ====== RESPONSIVE ====== */
/* Tablet: 768px */
@media(max-width:900px){
  .pg-acct-inner { gap:14px }
  .pg-acct-hero h1 { font-size:clamp(20px,4vw,28px) }
  .woocommerce-account .woocommerce { padding:28px 20px 60px!important }
  .woocommerce-account .col2-set,.woocommerce-account .u-columns { gap:20px!important }
}
/* Mobile: 700px - stack cards */
@media(max-width:700px){
  .woocommerce-account .col2-set,
  .woocommerce-account .u-columns { grid-template-columns:1fr!important;gap:20px!important }
  .woocommerce-MyAccount-navigation { margin-bottom:20px }
}
/* Mobile: 600px */
@media(max-width:600px){
  .pg-acct-hero { padding:28px 16px 24px }
  .pg-acct-hero h1 { font-size:clamp(18px,6vw,26px) }
  .pg-acct-badge { font-size:10px;padding:3px 10px }
  .pg-acct-sub { font-size:12px }
  .pg-acct-stat { display:none }
  .woocommerce-account .woocommerce { padding:16px 14px 60px!important }
  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2,
  .woocommerce-account .woocommerce-MyAccount-content { padding:24px!important }
  .woocommerce-account .u-column1 h2,
  .woocommerce-account .u-column2 h2 { font-size:18px!important;margin-bottom:20px!important }
  .woocommerce-account input.input-text,
  .woocommerce-account input[type="text"],
  .woocommerce-account input[type="email"],
  .woocommerce-account input[type="password"] { height:48px!important;font-size:14px!important }
  .woocommerce-account button.button { padding:14px!important;font-size:14px!important }
}

/* ====== SINGLE AUTH CARD ====== */
.pg-auth-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  overflow: hidden;
  position: relative;
}
.pg-auth-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #052e16, #22c55e, #f6c343);
}

/* Tabs */
.pg-auth-tabs {
  display: flex;
  background: #f8faf9;
  border-bottom: 1px solid #f0fdf4;
  padding: 6px;
  gap: 4px;
}
.pg-auth-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: all .22s;
  font-family: "Cairo", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pg-auth-tab:hover { background: #fff; color: #374151; }
.pg-auth-tab.active {
  background: #fff;
  color: #15803d;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Panels */
.pg-auth-panel {
  display: none;
  padding: 32px;
}
.pg-auth-panel.active { display: block; }

/* Field groups */
.pg-field-group {
  margin-bottom: 20px;
}
.pg-field-group label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #6b7280 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  float: none !important;
}
[dir=rtl] .pg-field-group label {
  text-align: right !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-family: "Cairo", sans-serif !important;
  font-size: 13px !important;
}
.pg-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
[dir=rtl] .pg-field-label-row { flex-direction: row-reverse; }
.pg-field-label-row label { margin-bottom: 0 !important; }
.pg-forgot {
  font-size: 12px;
  color: #15803d;
  font-weight: 600;
  text-decoration: none;
}
.pg-forgot:hover { text-decoration: underline; }

/* Inputs */
.pg-auth-panel input.input-text,
.pg-auth-panel input[type="text"],
.pg-auth-panel input[type="email"],
.pg-auth-panel input[type="password"] {
  display: block !important;
  width: 100% !important;
  height: 52px !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  color: #111827 !important;
  outline: none !important;
  background: #fafdfb !important;
  box-shadow: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  transition: border-color .2s, box-shadow .2s !important;
  -webkit-appearance: none !important;
}
.pg-auth-panel input.input-text:focus,
.pg-auth-panel input[type="text"]:focus,
.pg-auth-panel input[type="email"]:focus,
.pg-auth-panel input[type="password"]:focus {
  border-color: #15803d !important;
  box-shadow: 0 0 0 3px rgba(21,128,61,.1) !important;
  background: #fff !important;
}
[dir=rtl] .pg-auth-panel input { text-align: right !important; direction: rtl !important; }
.req { color: #ef4444; font-size: 13px; }

/* Remember me */
.pg-remember {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #6b7280;
  cursor: pointer;
  margin-bottom: 20px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}
[dir=rtl] .pg-remember { flex-direction: row-reverse; }
.pg-remember input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #15803d;
  flex-shrink: 0;
}

/* Submit button */
.pg-auth-btn {
  display: block !important;
  width: 100% !important;
  padding: 15px !important;
  background: linear-gradient(135deg, #052e16, #15803d, #16a34a) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all .3s !important;
  box-shadow: 0 6px 20px rgba(21,128,61,.3) !important;
  font-family: "Cairo", sans-serif !important;
  letter-spacing: .1px;
  margin-bottom: 20px !important;
}
.pg-auth-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(21,128,61,.45) !important;
}

/* Switch link */
.pg-switch-text {
  text-align: center;
  font-size: 13.5px;
  color: #9ca3af;
  margin: 0;
  font-family: "Cairo", sans-serif;
}
.pg-switch-link {
  color: #15803d;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
[dir=rtl] .pg-switch-link { margin-left: 0; margin-right: 4px; }
.pg-switch-link:hover { text-decoration: underline; }

/* Password note */
.pg-pass-note {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  font-family: "Cairo", sans-serif;
}

/* Privacy policy */
.pg-auth-panel .woocommerce-privacy-policy-text {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 16px;
  line-height: 1.6;
  text-align: center;
  font-family: "Cairo", sans-serif;
}

/* Hide old WC column wrappers */
.woocommerce-account .col2-set,
.woocommerce-account .u-columns {
  display: block !important;
  grid-template-columns: unset !important;
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  display: none !important;
}

/* Notices inside card */
.pg-auth-wrap .woocommerce-error,
.pg-auth-wrap .woocommerce-message {
  margin: 0 0 16px !important;
  border-radius: 10px !important;
}

/* Mobile */
@media(max-width: 520px) {
  .pg-auth-panel { padding: 24px 20px; }
  .pg-auth-tab { font-size: 13px; padding: 9px 10px; }
}

/* ====================================================
   LOGGED-IN DASHBOARD
   ==================================================== */

/* Two-column layout: sidebar + content */
.pg-dash-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
@media(max-width: 860px) { .pg-dash-wrap { grid-template-columns: 1fr; } }
@media(max-width: 600px) { .pg-dash-wrap { padding: 20px 14px 60px; gap: 16px; } }

/* ---- Sidebar nav ---- */
.pg-myaccount-nav {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  padding: 12px;
  position: sticky;
  top: 90px;
}
.pg-myaccount-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.pg-myaccount-nav ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all .2s;
}
[dir=rtl] .pg-myaccount-nav ul li a { flex-direction: row-reverse; font-family: "Cairo",sans-serif; }
.pg-myaccount-nav ul li a:hover { background: #f0fdf4; color: #15803d; }
.pg-myaccount-nav ul li.is-active a,
.pg-myaccount-nav ul li.active a {
  background: linear-gradient(135deg,#052e16,#15803d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(21,128,61,.2);
}
.pg-myaccount-nav ul li.is-active a:hover { color: #fff; }
.nav-icon { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; }
.nav-label { flex: 1; }
.nav-badge { background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }

/* ---- Content card ---- */
.pg-dash-content {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  padding: 36px;
  min-height: 400px;
}
[dir=rtl] .pg-dash-content { direction: rtl; font-family: "Cairo",sans-serif; }
.pg-dash-content p { color: #374151; line-height: 1.75; font-size: 14px; }
.pg-dash-content h2 { font-size: 18px; font-weight: 900; color: #0a1f10; margin-bottom: 20px; }
.pg-dash-content a { color: #15803d; font-weight: 600; text-decoration: none; }
@media(max-width: 600px) { .pg-dash-content { padding: 22px; } }

/* ---- Override WC default woocommerce wrapper inside dashboard ---- */
.pg-dash-content .woocommerce { max-width: unset !important; padding: 0 !important; margin: 0 !important; }

/* ====================================================
   DASHBOARD HOME
   ==================================================== */
.pg-dash-home { display: flex; flex-direction: column; gap: 28px; }

/* Welcome row */
.pg-dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid #f0fdf4;
}
[dir=rtl] .pg-dash-welcome { flex-direction: row-reverse; }
.pg-dash-welcome-text h2 {
  font-size: 22px;
  font-weight: 900;
  color: #0a1f10;
  margin: 0 0 4px;
}
[dir=rtl] .pg-dash-welcome-text h2 { font-family: "Cairo",sans-serif; }
.pg-dash-welcome-text p {
  font-size: 13.5px;
  color: #9ca3af;
  margin: 0;
}
.pg-dash-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,#052e16,#16a34a);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21,128,61,.3);
}

/* Stat cards */
.pg-dash-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
@media(max-width: 500px) { .pg-dash-stats { grid-template-columns: 1fr 1fr; } }
.pg-dash-stat {
  background: #f8faf9;
  border: 1.5px solid #e9f5ec;
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  transition: all .2s;
}
.pg-dash-stat:hover { background: #f0fdf4; border-color: #86efac; transform: translateY(-2px); }
.pds-icon { font-size: 28px; margin-bottom: 8px; }
.pds-val {
  font-size: 26px;
  font-weight: 900;
  color: #0a1f10;
  line-height: 1;
  margin-bottom: 4px;
}
.pds-lbl {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  font-family: "Cairo",sans-serif;
}
.pds-lbl small { font-size: 10px; }

/* Quick links */
.pg-dash-links h3 {
  font-size: 14px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 0 0 12px;
}
[dir=rtl] .pg-dash-links h3 { text-transform: none; letter-spacing: 0; font-family: "Cairo",sans-serif; text-align: right; }
.pg-dash-link-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}
.pg-dash-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8faf9;
  border: 1.5px solid #e9f5ec;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  transition: all .22s;
  font-family: "Cairo",sans-serif;
}
[dir=rtl] .pg-dash-link { flex-direction: row-reverse; }
.pg-dash-link span { font-size: 20px; }
.pg-dash-link:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21,128,61,.1);
}

/* ====================================================
   ORDERS TABLE
   ==================================================== */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.woocommerce-orders-table th {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 0 0 14px;
  border-bottom: 2px solid #f0fdf4;
  text-align: left;
}
[dir=rtl] .woocommerce-orders-table th { text-align: right; text-transform: none; letter-spacing: 0; }
.woocommerce-orders-table td {
  padding: 14px 0;
  border-bottom: 1px solid #f7faf8;
  color: #374151;
  vertical-align: middle;
}
.woocommerce-orders-table .woocommerce-button {
  width: auto !important;
  padding: 7px 14px !important;
  font-size: 12px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  display: inline-block !important;
}
/* Order status badges */
.woocommerce-order-status { font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 99px; display: inline-block; }
 mark.order-status { background: transparent; font-size: 12px; font-weight: 700; }
mark.order-status.status-completed { color: #15803d; background: #f0fdf4; padding: 3px 10px; border-radius: 99px; }
mark.order-status.status-processing { color: #2563eb; background: #eff6ff; padding: 3px 10px; border-radius: 99px; }
mark.order-status.status-on-hold { color: #d97706; background: #fffbeb; padding: 3px 10px; border-radius: 99px; }
mark.order-status.status-cancelled { color: #dc2626; background: #fef2f2; padding: 3px 10px; border-radius: 99px; }

/* ====================================================
   EDIT ACCOUNT FORM
   ==================================================== */
.pg-dash-content .woocommerce-EditAccountForm .form-row {
  margin-bottom: 18px !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}
.pg-dash-content .woocommerce-EditAccountForm input,
.pg-dash-content .woocommerce-EditAccountForm fieldset input {
  height: 50px !important;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  font-size: 14.5px !important;
  width: 100% !important;
  background: #fafdfb !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
}
.pg-dash-content .woocommerce-EditAccountForm input:focus {
  border-color: #15803d !important;
  box-shadow: 0 0 0 3px rgba(21,128,61,.1) !important;
  outline: none !important;
  background: #fff !important;
}
.pg-dash-content .woocommerce-EditAccountForm fieldset {
  border: 1.5px solid #e9f5ec !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin: 20px 0 !important;
}
.pg-dash-content .woocommerce-EditAccountForm legend {
  font-size: 13px; font-weight: 700; color: #6b7280;
  padding: 0 8px;
}

@media (prefers-color-scheme: dark) {
  .woocommerce-account { background: #0d1f14 !important; }
  /* Auth card */
  .pg-auth-wrap { background: #132b1a !important; border-color: rgba(255,255,255,.08) !important; }
  .pg-auth-tabs { background: #0d1f14 !important; border-bottom-color: rgba(255,255,255,.08) !important; }
  .pg-auth-tab { color: #9ab0a0 !important; }
  .pg-auth-tab:hover { background: #1a3d24 !important; color: #e2e8e4 !important; }
  .pg-auth-tab.active { background: #132b1a !important; color: #4ade80 !important; box-shadow: 0 2px 8px rgba(0,0,0,.4) !important; }
  .pg-auth-panel input.input-text,
  .pg-auth-panel input[type="text"],
  .pg-auth-panel input[type="email"],
  .pg-auth-panel input[type="password"] {
    background: #0d1f14 !important; border-color: rgba(255,255,255,.15) !important; color: #e2e8e4 !important;
  }
  .pg-auth-panel input:focus { border-color: #22c55e !important; background: #0a1a0f !important; }
  .pg-field-group label { color: #9ab0a0 !important; }
  .pg-remember { color: #9ab0a0 !important; }
  .pg-switch-text { color: #6b9e7a !important; }
  .pg-pass-note { background: #0d2d18 !important; border-color: rgba(74,222,128,.2) !important; }
  /* Cards */
  .woocommerce-account .u-column1, .woocommerce-account .u-column2 {
    background: #132b1a !important; border-color: rgba(255,255,255,.08) !important;
  }
  .woocommerce-account .u-column1 h2, .woocommerce-account .u-column2 h2 {
    color: #e2e8e4 !important; border-bottom-color: rgba(255,255,255,.08) !important;
  }
  .woocommerce-account .woocommerce-form__label { color: #9ab0a0 !important; }
  .woocommerce-account .woocommerce-Input { background: #0d1f14 !important; border-color: rgba(255,255,255,.15) !important; color: #e2e8e4 !important; }
  .woocommerce-account .woocommerce-Input:focus { border-color: #22c55e !important; background: #0a1a0f !important; }
  /* Dashboard */
  .pg-myaccount-nav { background: #132b1a !important; border-color: rgba(255,255,255,.08) !important; }
  .pg-myaccount-nav ul li a { color: #9ab0a0 !important; }
  .pg-myaccount-nav ul li a:hover { background: #1a3d24 !important; color: #4ade80 !important; }
  .pg-dash-content, .woocommerce-account .woocommerce-MyAccount-content {
    background: #132b1a !important; border-color: rgba(255,255,255,.08) !important;
  }
  .pg-dash-content p, .woocommerce-account .woocommerce-MyAccount-content p { color: #9ab0a0 !important; }
  .pg-dash-content h2, .woocommerce-account .woocommerce-MyAccount-content h2 { color: #e2e8e4 !important; }
  .pg-dash-welcome { border-bottom-color: rgba(255,255,255,.08) !important; }
  .pg-dash-welcome-text h2 { color: #e2e8e4 !important; }
  .pg-dash-welcome-text p { color: #6b9e7a !important; }
  .pg-dash-stat { background: #0d1f14 !important; border-color: rgba(255,255,255,.08) !important; }
  .pg-dash-stat:hover { background: #1a3d24 !important; }
  .pds-val { color: #e2e8e4 !important; }
  .pds-lbl { color: #6b9e7a !important; }
  .pg-dash-links h3 { color: #6b9e7a !important; }
  .pg-dash-link { background: #0d1f14 !important; border-color: rgba(255,255,255,.08) !important; color: #9ab0a0 !important; }
  .pg-dash-link:hover { background: #1a3d24 !important; color: #4ade80 !important; }
  .woocommerce-orders-table th { color: #6b9e7a !important; border-bottom-color: rgba(255,255,255,.1) !important; }
  .woocommerce-orders-table td { border-bottom-color: rgba(255,255,255,.07) !important; color: #9ab0a0 !important; }
  /* Edit account form */
  .pg-dash-content .woocommerce-EditAccountForm input {
    background: #0d1f14 !important; border-color: rgba(255,255,255,.15) !important; color: #e2e8e4 !important;
  }
  .pg-dash-content .woocommerce-EditAccountForm fieldset {
    border-color: rgba(255,255,255,.1) !important;
  }
}
