/*
Theme Name: Grabbit4.me Blueprint Rescue 3.2.1.9
Theme URI: https://grabbit4.me
Author: Dorato Media Group
Description: Mobile-first visual shell for Grabbit4.me. Platform functions are handled by the Grabbit4.me Platform plugin.
Version: 3.2.1.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: grabbit4me
*/

@import url('assets/css/grabbit.css');


/* v2.6.0 — Driver dashboard/control panel theme tie-in
   Theme-side overrides so the existing plugin dashboard feels like a premium work console.
   No markup or platform logic required. */
body .g4p-availability-console,
body .g4p-driver-control-console{
  position:relative!important;
  overflow:hidden!important;
  border-radius:34px!important;
  border:1px solid #dce8fb!important;
  background:
    radial-gradient(circle at 88% 5%, rgba(18,88,255,.16) 0 22%, transparent 23%),
    linear-gradient(145deg,#ffffff 0%,#f7fbff 54%,#eef6ff 100%)!important;
  box-shadow:0 24px 70px rgba(6,19,41,.10)!important;
  padding:30px!important;
}
body .g4p-availability-console:before,
body .g4p-driver-control-console:before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:24px!important;
  bottom:24px!important;
  width:8px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#1258ff,#00a8ff)!important;
  box-shadow:0 0 30px rgba(18,88,255,.30)!important;
}
body .g4p-availability-console .g4p-eyebrow,
body .g4p-driver-control-console .g4p-eyebrow,
body .g4p-driver-earnings-live strong,
body .g4p-scheduled-awareness strong{
  display:inline-flex!important;
  width:max-content!important;
  max-width:100%!important;
  align-items:center!important;
  padding:9px 14px!important;
  border-radius:999px!important;
  background:#eef5ff!important;
  border:1px solid #d7e7ff!important;
  color:#1258ff!important;
  font-size:13px!important;
  font-weight:1000!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}
body .g4p-availability-console h2,
body .g4p-driver-control-console h2{
  margin:14px 0 8px!important;
  color:#061329!important;
  font-size:clamp(34px,7.2vw,56px)!important;
  line-height:.94!important;
  letter-spacing:-.07em!important;
  font-weight:1000!important;
}
body .g4p-availability-console p.g4p-muted,
body .g4p-driver-control-console p.g4p-muted{
  color:#526480!important;
  font-size:clamp(17px,4.2vw,22px)!important;
  line-height:1.28!important;
  font-weight:850!important;
  max-width:650px!important;
}
body .g4p-status-buttons{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin-top:24px!important;
}
body .g4p-status-buttons .g4p-btn{
  min-height:68px!important;
  border-radius:24px!important;
  font-size:20px!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
  font-weight:1000!important;
  box-shadow:0 14px 34px rgba(18,88,255,.10)!important;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}
body .g4p-status-buttons .g4p-btn:active{transform:scale(.97)!important;}
body .g4p-status-buttons .g4p-btn-primary{
  background:linear-gradient(135deg,#1258ff,#006dff)!important;
  color:#fff!important;
  border-color:#1258ff!important;
  box-shadow:0 18px 42px rgba(18,88,255,.28)!important;
}
body .g4p-status-buttons .g4p-btn-outline{
  background:#fff!important;
  color:#1258ff!important;
  border:2px solid #78a4ff!important;
}
body .g4p-driver-control-state,
body .g4p-scheduled-awareness,
body .g4p-driver-earnings-live{
  margin-top:18px!important;
  border-radius:28px!important;
  border:1px solid #dceaff!important;
  background:rgba(255,255,255,.78)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 18px 42px rgba(6,19,41,.07)!important;
  backdrop-filter:blur(12px)!important;
}
body .g4p-driver-control-state{
  padding:20px 22px!important;
}
body .g4p-driver-control-state strong{
  display:block!important;
  color:#061329!important;
  font-size:clamp(25px,5.4vw,34px)!important;
  line-height:1.02!important;
  font-weight:1000!important;
  letter-spacing:-.055em!important;
}
body .g4p-driver-control-state span{
  display:block!important;
  margin-top:6px!important;
  color:#526480!important;
  font-weight:850!important;
  font-size:16px!important;
  line-height:1.35!important;
}
body .g4p-driver-control-state small{
  margin-top:12px!important;
  display:inline-flex!important;
  border-radius:999px!important;
  padding:8px 12px!important;
  background:#eef5ff!important;
  color:#1258ff!important;
  border:1px solid #d8e7ff!important;
  font-size:12px!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:1000!important;
}
body .g4p-driver-control-available{background:linear-gradient(135deg,#ecfff5,#f7fbff)!important;border-color:#bbf2d4!important;}
body .g4p-driver-control-busy{background:linear-gradient(135deg,#fff7e7,#ffffff)!important;border-color:#ffdea0!important;}
body .g4p-driver-control-offline{background:linear-gradient(135deg,#f6f8fc,#ffffff)!important;border-color:#dfe6f2!important;}
body .g4p-scheduled-awareness{padding:18px!important;display:grid!important;gap:10px!important;}
body .g4p-scheduled-awareness span{
  display:block!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  background:#f2f7ff!important;
  color:#34435f!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:900!important;
}
body .g4p-scheduled-awareness .g4p-slot-warning{background:#fff7e8!important;color:#8a5300!important;border:1px solid #ffe0a8!important;}
body .g4p-payout-setup,
body .g4p-driver-payout-card,
body .g4p-earnings-card,
body .g4p-earnings-evolved{
  border-radius:34px!important;
  border:1px solid #dce8fb!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 24px 70px rgba(6,19,41,.10)!important;
}
body .g4p-payout-meter,
body .g4p-earnings-evolved .g4p-payout-meter{
  height:20px!important;
  border-radius:999px!important;
  background:#dce9fb!important;
  box-shadow:inset 0 2px 7px rgba(6,19,41,.08)!important;
  overflow:hidden!important;
}
body .g4p-payout-meter > div,
body .g4p-earnings-evolved .g4p-payout-meter > div{
  min-height:20px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#00b7ff,#1258ff)!important;
  animation:g4ThemePayoutFill 1s cubic-bezier(.2,.9,.2,1) both!important;
}
body .g4p-earnings-number,
body .g4p-earnings-evolved strong,
body .g4p-earnings-evolved b{
  animation:g4ThemeEarningsPop .6s cubic-bezier(.2,1,.2,1) both!important;
}
@keyframes g4ThemePayoutFill{from{transform:scaleX(.12);transform-origin:left;opacity:.45}to{transform:scaleX(1);transform-origin:left;opacity:1}}
@keyframes g4ThemeEarningsPop{0%{transform:translateY(9px) scale(.97);opacity:.25}100%{transform:translateY(0) scale(1);opacity:1}}
@media(max-width:720px){
  body .g4p-availability-console,
  body .g4p-driver-control-console{padding:24px 22px!important;border-radius:30px!important;}
  body .g4p-status-buttons{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
  body .g4p-status-buttons .g4p-btn{min-height:58px!important;padding:0 10px!important;font-size:18px!important;border-radius:22px!important;}
}

/* v2.7.0 — Premium driver availability buttons
   Stronger mobile-safe controls for Available / Busy / Offline. */
body .g4p-driver-control-console .g4p-status-buttons,
body .g4p-availability-console .g4p-status-buttons{
  width:100%!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  padding:8px!important;
  margin-top:26px!important;
  border-radius:32px!important;
  border:1px solid rgba(120,164,255,.35)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.78),rgba(238,246,255,.72))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 18px 44px rgba(6,19,41,.07)!important;
  box-sizing:border-box!important;
}
body .g4p-driver-control-console .g4p-status-buttons .g4p-btn,
body .g4p-availability-console .g4p-status-buttons .g4p-btn,
body .g4p-driver-control-console form.g4p-status-buttons button,
body .g4p-availability-console form.g4p-status-buttons button{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:70px!important;
  height:auto!important;
  padding:0 10px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:24px!important;
  box-sizing:border-box!important;
  font-size:clamp(17px,4.6vw,23px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  font-weight:1000!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
body .g4p-driver-control-console .g4p-status-buttons .g4p-btn-outline,
body .g4p-availability-console .g4p-status-buttons .g4p-btn-outline{
  color:#1258ff!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:2px solid #7da8ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 22px rgba(18,88,255,.08)!important;
}
body .g4p-driver-control-console .g4p-status-buttons .g4p-btn-primary,
body .g4p-availability-console .g4p-status-buttons .g4p-btn-primary{
  position:relative!important;
  color:#fff!important;
  background:linear-gradient(135deg,#1258ff 0%,#006dff 58%,#00a8ff 100%)!important;
  border:2px solid rgba(255,255,255,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 18px 42px rgba(18,88,255,.34)!important;
  text-shadow:0 1px 0 rgba(0,0,0,.12)!important;
}
body .g4p-driver-control-console .g4p-status-buttons .g4p-btn-primary:after,
body .g4p-availability-console .g4p-status-buttons .g4p-btn-primary:after{
  content:""!important;
  position:absolute!important;
  inset:-35% auto -35% -55%!important;
  width:52%!important;
  transform:skewX(-18deg)!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent)!important;
  animation:g4ThemeAvailabilitySweep 3.6s ease-in-out infinite!important;
  pointer-events:none!important;
}
body .g4p-driver-control-console .g4p-status-buttons .g4p-btn:active,
body .g4p-availability-console .g4p-status-buttons .g4p-btn:active{
  transform:scale(.975)!important;
}
@keyframes g4ThemeAvailabilitySweep{
  0%,46%{left:-60%;opacity:0}
  55%{opacity:.65}
  82%,100%{left:112%;opacity:0}
}
@media(max-width:420px){
  body .g4p-driver-control-console .g4p-status-buttons,
  body .g4p-availability-console .g4p-status-buttons{gap:8px!important;padding:7px!important;border-radius:28px!important;}
  body .g4p-driver-control-console .g4p-status-buttons .g4p-btn,
  body .g4p-availability-console .g4p-status-buttons .g4p-btn,
  body .g4p-driver-control-console form.g4p-status-buttons button,
  body .g4p-availability-console form.g4p-status-buttons button{min-height:62px!important;border-radius:22px!important;font-size:clamp(13px,3.7vw,16px)!important;padding:0 4px!important;letter-spacing:-.065em!important;}
}


/* v2.8.0 — Mobile availability label fit
   Keeps Available / Busy / Offline inside their buttons on narrow phones. */
@media(max-width:480px){
  body .g4p-driver-control-console .g4p-status-buttons .g4p-btn,
  body .g4p-availability-console .g4p-status-buttons .g4p-btn,
  body .g4p-driver-control-console form.g4p-status-buttons button,
  body .g4p-availability-console form.g4p-status-buttons button{
    font-size:clamp(13px,3.7vw,16px)!important;
    letter-spacing:-.065em!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
}

/* v2.9.0 — Android scheduled slot containment fix
   Hardens the driver schedule panel so headings and date rows cannot overflow narrow Android WebViews. */
html body .g4p-driver-control-console .g4p-scheduled-awareness,
html body .g4p-availability-console .g4p-scheduled-awareness,
html body .g4p-scheduled-awareness{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  padding:14px!important;
  border-radius:24px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
}
html body .g4p-driver-control-console .g4p-scheduled-awareness strong,
html body .g4p-availability-console .g4p-scheduled-awareness strong,
html body .g4p-scheduled-awareness strong{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  padding:10px 12px!important;
  font-size:clamp(12px,3.35vw,15px)!important;
  line-height:1.08!important;
  letter-spacing:.075em!important;
}
html body .g4p-driver-control-console .g4p-scheduled-awareness span,
html body .g4p-availability-console .g4p-scheduled-awareness span,
html body .g4p-scheduled-awareness span,
html body .g4p-scheduled-awareness .g4p-slot-warning{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:block!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  padding:13px 14px!important;
  font-size:clamp(13px,3.8vw,16px)!important;
  line-height:1.18!important;
  letter-spacing:-.025em!important;
  text-align:left!important;
}
@media(max-width:430px){
  html body .g4p-driver-control-console .g4p-scheduled-awareness,
  html body .g4p-availability-console .g4p-scheduled-awareness,
  html body .g4p-scheduled-awareness{padding:12px!important;border-radius:22px!important;}
  html body .g4p-driver-control-console .g4p-scheduled-awareness strong,
  html body .g4p-availability-console .g4p-scheduled-awareness strong,
  html body .g4p-scheduled-awareness strong{
    font-size:clamp(11px,3.15vw,13px)!important;
    letter-spacing:.055em!important;
    padding:9px 10px!important;
  }
  html body .g4p-driver-control-console .g4p-scheduled-awareness span,
  html body .g4p-availability-console .g4p-scheduled-awareness span,
  html body .g4p-scheduled-awareness span,
  html body .g4p-scheduled-awareness .g4p-slot-warning{
    font-size:clamp(12px,3.45vw,14px)!important;
    line-height:1.18!important;
    padding:12px!important;
  }
}


/* v3.1.0 — public trust cleanup */
.g4p-driver-empty-state{display:grid!important;gap:18px!important;overflow:hidden!important;}
.g4p-empty-driver-preview{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #dbe8ff;border-radius:20px;background:linear-gradient(135deg,#f7fbff,#ffffff);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.g4p-empty-avatar{width:58px;height:58px;min-width:58px;border-radius:50%;background:radial-gradient(circle at 50% 32%,#f4c7a5 0 22%,transparent 23%),linear-gradient(135deg,#14213d,#dbe8ff);box-shadow:0 10px 24px rgba(18,88,255,.15)}
.g4p-empty-driver-preview strong{display:block;color:#0f1b33;font-size:16px;line-height:1.2;margin-bottom:4px}.g4p-empty-driver-preview span{display:block;color:#5c6b82;font-size:13px;line-height:1.35}.g4-honeypot{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
@media(max-width:520px){.g4p-empty-driver-preview{align-items:flex-start}.g4p-empty-avatar{width:48px;height:48px;min-width:48px}.g4p-driver-empty-state .g4p-actions{display:grid!important;grid-template-columns:1fr!important}}


/* ═══════════════════════════════════════════════════════════════════════════
   v3.1.1  Mobile footer hide — app/inner pages
   ───────────────────────────────────────────────────────────────────────────
   On mobile the Grabbit app bottom-nav tab bar (.g4p-app-tabbar, rendered
   by the plugin) serves as the primary navigation on every app/account page.
   The traditional website footer adds visual noise and unnecessary vertical
   scroll on these pages.

   Rule: hide .g4-footer on all mobile pages except the front/home page,
   where footer branding and marketing links are appropriate.

   WordPress adds .home and .front-page body classes on the front page and
   .page-template-front-page on pages using the front-page template.

   Protected — these Grabbit UI elements are never affected:
     .g4p-app-tabbar        ← sticky bottom nav tab bar
     .g4p-live-banner       ← live order notification banner
     .g4p-live-order-banner ← order status banner
     .g4p-bottom-nav        ← any other plugin bottom nav variant
     .g4p-sticky-bottom-nav
     .g4p-footer-nav

   Desktop: no change — the @media (max-width: 782px) wrapper keeps desktop
   footer fully visible on all pages.
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 782px) {
  /* Hide the theme website footer on all non-home mobile pages. */
  body:not(.home):not(.front-page):not(.page-template-front-page) .g4-footer {
    display: none !important;
  }
}
/* ── End v3.1.1 mobile footer hide ── */


/* v3.1.2: desktop profile action guard.
   This mirrors the platform v2.1.99 compact profile action reset so the theme
   cannot accidentally let global button styles stretch driver profile buttons.
   Mobile remains untouched. */
@media (min-width:783px){
  body .g4p-social-profile .g4p-profile-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:292px!important;
    max-width:292px!important;
    min-width:292px!important;
    padding:10px 0 0!important;
    margin:0!important;
    justify-self:end!important;
  }
  body .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-social-profile .g4p-profile-actions form{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    box-sizing:border-box!important;
  }
  body .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-video-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn,
  body .g4p-social-profile .g4p-profile-actions button,
  body .g4p-social-profile .g4p-profile-actions a{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    margin:0!important;
    padding:0 10px!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    box-sizing:border-box!important;
    font-size:13px!important;
    font-weight:850!important;
    line-height:1!important;
    letter-spacing:-.01em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-decoration:none!important;
    text-transform:none!important;
    transform:none!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  body .g4p-social-profile .g4p-profile-actions .g4p-btn::before,
  body .g4p-social-profile .g4p-profile-actions .g4p-btn::after,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn::before,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn::after,
  body .g4p-social-profile .g4p-profile-actions .g4p-video-btn::before,
  body .g4p-social-profile .g4p-profile-actions .g4p-video-btn::after,
  body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn::before,
  body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn::after{content:none!important;display:none!important;}
  body .g4p-social-profile .g4p-profile-actions .g4p-profile-action-main,
  body .g4p-social-profile .g4p-profile-actions .g4p-profile-action-chat,
  body .g4p-social-profile .g4p-profile-actions .g4p-video-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn{color:#fff!important;background:#1262ff!important;border:1px solid #0f55df!important;text-shadow:none!important;}
  body .g4p-social-profile .g4p-profile-actions .g4p-profile-action-small,
  body .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn{color:#1258ff!important;background:#fff!important;border:1px solid #c7d9ff!important;text-shadow:none!important;}
}
@media (min-width:783px) and (max-width:1120px){
  body .g4p-social-profile .g4p-profile-actions{width:268px!important;min-width:268px!important;max-width:268px!important;gap:7px!important;}
  body .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-social-profile .g4p-profile-actions form,
  body .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-video-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn,
  body .g4p-social-profile .g4p-profile-actions button,
  body .g4p-social-profile .g4p-profile-actions a{height:36px!important;min-height:36px!important;max-height:36px!important;border-radius:11px!important;font-size:12px!important;padding-left:7px!important;padding-right:7px!important;}
}

/* v3.1.6 — Single app-wrapper flattening source of truth.
   Full app shortcode pages should own their own cards/layout and not inherit
   the theme page card. The plugin adds g4p-full-app-page; :has() selectors
   are fallback only for cached/older plugin markup. Mobile chat is intentionally
   left alone unless the plugin/body class explicitly opts into full app layout. */
body.g4p-full-app-page .g4-page-wrap.g4-card,
body.g4p-app-page .g4-page-wrap.g4-card,
body.g4p-app-profile-page .g4-page-wrap.g4-card,
body:has(.g4p-social-profile) .g4-page-wrap.g4-card{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.g4p-full-app-page .g4-page-wrap.g4-card > .g4p-shell,
body.g4p-app-profile-page .g4-page-wrap.g4-card > .g4p-shell,
body:has(.g4p-social-profile) .g4-page-wrap.g4-card > .g4p-shell{
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media (min-width: 769px){
  body.g4p-app-chat-page .g4-page-wrap.g4-card,
  body:has(.g4p-chat-shell) .g4-page-wrap.g4-card{
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
}
/* ── End v3.1.6 app wrapper flattening cleanup ── */

/* ═══════════════════════════════════════════════════════════════════════════
   v3.1.7 — FINAL PROFILE LAYOUT OVERRIDE
   Theme-side source of truth for profile card spacing.
   Purpose: force Driver Profile, My Driver Profile, and Customer Account to
   use the same premium grid even when older plugin CSS or theme action guards
   are still loaded/cached.
   Scope: layout/CSS only. No header personalization. No payment/order/chat/push.
   ═══════════════════════════════════════════════════════════════════════════ */
body .g4p-app-flat-profile .g4p-social-profile,
body .g4p-driver-profile-shell .g4p-social-profile,
body .g4p-driver-account-shell .g4p-social-profile,
body .g4p-customer-account-shell .g4p-social-profile{
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:hidden!important;
}
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main,
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main > *,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main > *,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main > *,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main > *{
  box-sizing:border-box!important;
}
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-mobile-name,
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-subtitle,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-mobile-name,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-subtitle,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-mobile-name,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-subtitle,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-mobile-name,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-subtitle{
  display:none!important;
}
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-action-disabled,
body .g4p-app-flat-profile .g4p-social-profile .g4p-video-coming-soon,
body .g4p-app-flat-profile .g4p-social-profile button[disabled],
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-action-disabled,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-video-coming-soon,
body .g4p-driver-profile-shell .g4p-social-profile button[disabled],
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-action-disabled,
body .g4p-driver-account-shell .g4p-social-profile .g4p-video-coming-soon,
body .g4p-driver-account-shell .g4p-social-profile button[disabled],
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-action-disabled,
body .g4p-customer-account-shell .g4p-social-profile .g4p-video-coming-soon,
body .g4p-customer-account-shell .g4p-social-profile button[disabled]{
  display:none!important;
}
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-stats,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-stats,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-stats,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-stats{
  margin-top:0!important;
}
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-bio,
body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-bio,
body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-bio,
body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-bio{
  margin-top:0!important;
}

@media (min-width:1025px){
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-cover{
    height:154px!important;
    min-height:154px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main{
    display:grid!important;
    grid-template-columns:150px 380px 320px!important;
    grid-template-rows:218px!important;
    gap:0 28px!important;
    justify-content:center!important;
    align-items:start!important;
    width:100%!important;
    max-width:934px!important;
    margin:0 auto -2px!important;
    padding:0 18px 8px!important;
    transform:translateY(-28px)!important;
    text-align:left!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:120px!important;
    height:120px!important;
    border-radius:26px!important;
    justify-self:center!important;
    align-self:start!important;
    margin:0!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy{
    grid-column:1!important;
    grid-row:1!important;
    width:150px!important;
    max-width:150px!important;
    margin:128px 0 0!important;
    padding:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row{
    display:block!important;
    width:150px!important;
    margin:0 0 8px!important;
    padding:0!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill{
    width:150px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{
    width:150px!important;
    max-width:150px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{
    height:46px!important;
    min-height:46px!important;
    padding:6px 10px!important;
    border-radius:17px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-card{
    grid-column:2!important;
    grid-row:1!important;
    width:380px!important;
    max-width:380px!important;
    height:218px!important;
    min-height:218px!important;
    padding:14px!important;
    margin:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-map{height:88px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:320px!important;
    max-width:320px!important;
    margin:76px 0 0!important;
    padding:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 10px!important;
    border-radius:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:13.5px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-stats,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-stats,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-stats,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-stats{padding:0 24px 18px!important;}
}

/* Landscape phones and small tablets. This intentionally covers iPhone landscape
   widths above 900px, which were escaping the old plugin media query. */
@media (orientation:landscape) and (max-width:1024px){
  body .g4p-app-flat-profile .g4p-social-profile,
  body .g4p-driver-profile-shell .g4p-social-profile,
  body .g4p-driver-account-shell .g4p-social-profile,
  body .g4p-customer-account-shell .g4p-social-profile{
    width:min(100%,calc(100vw - 18px))!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-cover{
    height:112px!important;
    min-height:112px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main{
    display:grid!important;
    grid-template-columns:116px 286px 250px!important;
    grid-template-rows:180px!important;
    gap:0 12px!important;
    justify-content:center!important;
    align-items:start!important;
    width:100%!important;
    max-width:700px!important;
    padding:0 10px 6px!important;
    transform:translateY(-22px)!important;
    margin:0 auto -6px!important;
    text-align:left!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:98px!important;
    height:98px!important;
    border-radius:22px!important;
    margin:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy{
    grid-column:1!important;
    grid-row:1!important;
    width:116px!important;
    max-width:116px!important;
    margin:106px 0 0!important;
    padding:0!important;
    justify-self:center!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row{display:block!important;width:116px!important;margin:0 0 6px!important;padding:0!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill{
    width:116px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
    line-height:1!important;
    border-radius:999px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{width:116px!important;max-width:116px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{
    height:38px!important;
    min-height:38px!important;
    padding:5px 7px!important;
    border-radius:15px!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-sound-toggle-copy strong,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-sound-toggle-copy strong,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-sound-toggle-copy strong,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-sound-toggle-copy strong{font-size:8.5px!important;letter-spacing:.1em!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-sound-toggle-copy small,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-sound-toggle-copy small,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-sound-toggle-copy small,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-sound-toggle-copy small{font-size:12px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-card{
    grid-column:2!important;
    grid-row:1!important;
    width:286px!important;
    max-width:286px!important;
    height:180px!important;
    min-height:180px!important;
    padding:10px!important;
    margin:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-map{height:62px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-place,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-place,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-place,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-place{margin:9px 0 6px!important;font-size:14px!important;line-height:1.05!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:250px!important;
    max-width:250px!important;
    min-width:0!important;
    margin:48px 0 0!important;
    padding:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    padding:0 7px!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media (max-width:767px) and (orientation:portrait){
  body .g4p-app-flat-profile .g4p-social-profile,
  body .g4p-driver-profile-shell .g4p-social-profile,
  body .g4p-driver-account-shell .g4p-social-profile,
  body .g4p-customer-account-shell .g4p-social-profile{width:min(100%,calc(100vw - 16px))!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-cover,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-cover{height:160px!important;min-height:160px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main{
    display:grid!important;
    grid-template-columns:136px minmax(0,1fr)!important;
    grid-template-rows:230px auto!important;
    gap:12px!important;
    align-items:start!important;
    padding:0 14px 12px!important;
    transform:translateY(-42px)!important;
    margin:0 auto -28px!important;
    text-align:left!important;
  }
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-avatar,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-avatar{grid-column:1!important;grid-row:1!important;width:126px!important;height:126px!important;border-radius:28px!important;margin:0!important;justify-self:center!important;align-self:start!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy{grid-column:1!important;grid-row:1!important;width:136px!important;max-width:136px!important;margin:136px 0 0!important;padding:0!important;justify-self:center!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row{display:block!important;width:136px!important;margin:0 0 8px!important;padding:0!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-copy .g4p-pill{width:136px!important;height:38px!important;min-height:38px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;font-size:15px!important;line-height:1!important;white-space:nowrap!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{width:136px!important;max-width:136px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-sound-toggle,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-sound-toggle{height:48px!important;min-height:48px!important;padding:6px 9px!important;border-radius:18px!important;display:flex!important;align-items:center!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-card{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:100%!important;height:230px!important;min-height:230px!important;padding:12px!important;margin:0!important;align-self:start!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-map,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-map{height:86px!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions{grid-column:1 / -1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;}
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn{width:100%!important;height:56px!important;min-height:56px!important;padding:0 10px!important;border-radius:18px!important;font-size:15.5px!important;line-height:1.05!important;letter-spacing:-.02em!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
}
/* ── End v3.1.7 final profile layout override ── */

/* ─────────────────────────────────────────────
   v3.1.8 — Launch profile final alignment
   - Keep the clean branded header.
   - Hide any leftover video-coming-soon/profile disabled video CTA.
   - Align public driver profile map/action bottoms in desktop + phone landscape.
   - Preserve the profile map/status layout already working from v3.1.7.
   ───────────────────────────────────────────── */
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-video-coming-soon,
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn,
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-profile-action-disabled,
body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions button[disabled],
body .g4p-social-profile .g4p-profile-actions .g4p-video-coming-soon,
body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

@media (min-width:768px), (orientation:landscape) and (max-width:1024px){
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions{
    /* Public driver profile has 5 visible actions after video is hidden.
       3 rows × 36px + 2 gaps × 8px = 124px. 56px top offset makes the
       button block bottom land on the 180px service-area card bottom. */
    margin-top:56px!important;
  }
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-card{
    height:180px!important;
    min-height:180px!important;
  }
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
  }
}

@media (orientation:landscape) and (max-width:1024px){
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main{
    grid-template-columns:116px 286px 250px!important;
    grid-template-rows:180px!important;
    align-items:start!important;
  }
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions{
    margin-top:56px!important;
  }
}
/* ── End v3.1.8 launch profile final alignment ── */


/* ─────────────────────────────────────────────
   v3.1.9 — Profile consistency hard override
   - Broadens profile selectors so public driver/customer/driver account profiles share one layout.
   - Catches mobile landscape separately so phones do not fall into the cramped desktop profile grid.
   - Hides leftover video/coming-soon profile buttons without touching order, payment, push, or chat logic.
   ───────────────────────────────────────────── */
body .g4p-social-profile .g4p-profile-actions .g4p-video-coming-soon,
body .g4p-social-profile .g4p-profile-actions .g4p-network-video-btn,
body .g4p-social-profile .g4p-profile-actions .g4p-profile-action-disabled,
body .g4p-social-profile .g4p-profile-actions button[disabled],
body .g4p-social-profile .g4p-profile-actions [aria-disabled="true"],
body .g4p-social-profile .g4p-video-coming-soon,
body .g4p-social-profile .g4p-video-coming-soon-card,
body .g4p-social-profile [class*="video-coming-soon"],
body .g4p-social-profile [class*="network-video"]{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}

@media (min-width:1025px){
  body .g4p-social-profile{
    overflow:hidden!important;
  }
  body .g4p-social-profile .g4p-profile-main{
    display:grid!important;
    grid-template-columns:144px 300px 264px!important;
    grid-template-rows:184px!important;
    column-gap:22px!important;
    row-gap:0!important;
    align-items:start!important;
    justify-content:center!important;
    text-align:left!important;
  }
  body .g4p-social-profile .g4p-profile-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:126px!important;
    height:126px!important;
    margin:0 auto!important;
    align-self:start!important;
    justify-self:center!important;
  }
  body .g4p-social-profile .g4p-profile-copy{
    grid-column:1!important;
    grid-row:1!important;
    width:144px!important;
    max-width:144px!important;
    margin:136px 0 0!important;
    padding:0!important;
    align-self:start!important;
    justify-self:center!important;
  }
  body .g4p-social-profile .g4p-profile-area-card{
    grid-column:2!important;
    grid-row:1!important;
    width:300px!important;
    max-width:300px!important;
    height:184px!important;
    min-height:184px!important;
    margin:0!important;
    padding:12px!important;
    align-self:start!important;
    justify-self:center!important;
  }
  body .g4p-social-profile .g4p-profile-area-map{
    height:66px!important;
  }
  body .g4p-social-profile .g4p-profile-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:264px!important;
    max-width:264px!important;
    margin:52px 0 0!important;
    padding:0!important;
    align-self:start!important;
    justify-self:center!important;
  }
  body .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-social-profile .g4p-profile-actions form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    padding:0 8px!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media (orientation:landscape) and (max-height:560px){
  body .g4p-social-profile{
    width:min(100%,calc(100vw - 16px))!important;
    max-width:760px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body .g4p-social-profile .g4p-profile-cover{
    height:132px!important;
    min-height:132px!important;
  }
  body .g4p-social-profile .g4p-profile-main{
    display:grid!important;
    grid-template-columns:136px minmax(0,1fr)!important;
    grid-template-rows:224px auto!important;
    gap:12px!important;
    align-items:start!important;
    justify-content:stretch!important;
    padding:0 14px 12px!important;
    transform:translateY(-38px)!important;
    margin:0 auto -24px!important;
    text-align:left!important;
  }
  body .g4p-social-profile .g4p-profile-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:122px!important;
    height:122px!important;
    border-radius:28px!important;
    margin:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-social-profile .g4p-profile-copy{
    grid-column:1!important;
    grid-row:1!important;
    width:136px!important;
    max-width:136px!important;
    margin:132px 0 0!important;
    padding:0!important;
    justify-self:center!important;
    align-self:start!important;
  }
  body .g4p-social-profile .g4p-profile-trust-row,
  body .g4p-social-profile .g4p-profile-sound-slot,
  body .g4p-social-profile .g4p-profile-sound-toggle{
    width:136px!important;
    max-width:136px!important;
  }
  body .g4p-social-profile .g4p-profile-trust-row .g4p-pill,
  body .g4p-social-profile .g4p-profile-copy .g4p-pill{
    width:136px!important;
    height:38px!important;
    min-height:38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
  body .g4p-social-profile .g4p-profile-sound-toggle{
    height:48px!important;
    min-height:48px!important;
    padding:6px 9px!important;
    border-radius:18px!important;
  }
  body .g4p-social-profile .g4p-profile-area-card{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    max-width:100%!important;
    height:224px!important;
    min-height:224px!important;
    margin:0!important;
    padding:12px!important;
    justify-self:stretch!important;
    align-self:start!important;
  }
  body .g4p-social-profile .g4p-profile-area-map{
    height:84px!important;
  }
  body .g4p-social-profile .g4p-profile-actions{
    grid-column:1 / -1!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body .g4p-social-profile .g4p-profile-actions > *,
  body .g4p-social-profile .g4p-profile-actions form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    width:100%!important;
    height:52px!important;
    min-height:52px!important;
    padding:0 10px!important;
    border-radius:18px!important;
    font-size:15px!important;
    line-height:1.05!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}
/* ── End v3.1.9 profile consistency hard override ── */


/* ─────────────────────────────────────────────
   v3.2.1 — Profile finish-line alignment
   - App/profile pages no longer receive the oversized theme page hero (see page.php).
   - Profile map card and action button stack share the same bottom edge on desktop.
   - Uses the existing stable v3.1.9 profile geometry; no order, push, Stripe, service worker, or routing changes.
   ───────────────────────────────────────────── */
@media (min-width:1025px){
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-main,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-main{
    grid-template-rows:184px!important;
    align-items:start!important;
  }

  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-area-card,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-area-card{
    height:184px!important;
    min-height:184px!important;
    max-height:184px!important;
    align-self:start!important;
  }

  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions{
    height:184px!important;
    min-height:184px!important;
    max-height:184px!important;
    margin-top:0!important;
    align-self:start!important;
    align-content:end!important;
    justify-content:stretch!important;
  }

  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-profile-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-driver-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-customer-account-shell .g4p-social-profile .g4p-profile-actions form .g4p-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions .g4p-call-btn,
  body .g4p-app-flat-profile .g4p-social-profile .g4p-profile-actions form .g4p-btn{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
  }
}
/* ── End v3.2.1 profile finish-line alignment ── */


/* v3.2.1.2 — Launch legal footer links
   Adds always-clickable policy/legal links without touching platform logic. */
.g4-footer-legal{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px 18px!important;
  border-top:1px solid var(--line,#e7ecf5)!important;
  margin-top:22px!important;
  padding-top:15px!important;
  text-align:center!important;
}
.g4-footer-legal a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  min-height:34px!important;
  padding:0 2px!important;
  color:var(--blue,#1258ff)!important;
  font-size:13px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.g4-footer-legal a:hover{
  text-decoration:underline!important;
}
@media(max-width:760px){
  .g4-footer-legal{
    gap:6px 12px!important;
    margin-top:16px!important;
    padding-top:12px!important;
  }
  .g4-footer-legal a{
    min-height:36px!important;
    font-size:12px!important;
  }
  /* Keep a compact legal strip reachable on app pages where the full marketing footer is hidden. */
  body:not(.home):not(.front-page):not(.page-template-front-page) .g4-footer{
    display:block!important;
    padding:12px 14px calc(88px + env(safe-area-inset-bottom,0px))!important;
    border-top:1px solid var(--line,#e7ecf5)!important;
    background:#fff!important;
  }
  body:not(.home):not(.front-page):not(.page-template-front-page) .g4-footer .g4-footer-grid{
    display:none!important;
  }
  body:not(.home):not(.front-page):not(.page-template-front-page) .g4-footer .g4-footer-legal{
    border-top:0!important;
    margin-top:0!important;
    padding-top:0!important;
  }
  body:not(.home):not(.front-page):not(.page-template-front-page) .g4-footer .g4-copyright{
    border-top:0!important;
    margin-top:6px!important;
    padding-top:0!important;
    font-size:11px!important;
  }
}
/* ── End v3.2.1.2 launch legal footer links ── */


/* v3.2.1.3 — Network-first homepage How It Works restore
   Restores the Grabbit-specific relationship/reorder/driver-network messaging.
   No plugin logic, payment logic, push logic, profile layout, or footer link behavior changed. */


/* ═══════════════════════════════════════════════════════════════════════════
   v3.2.1.9 — Sticky header / bottom app menu stability lock
   ───────────────────────────────────────────────────────────────────────────
   Keeps the mobile app header and plugin bottom tab bar anchored during iOS
   Safari scroll/repaint passes. Business Accounts CTA from v3.2.1.8 remains.
   No plugin, order, Stripe, payout, push, or profile logic changed.
   ═══════════════════════════════════════════════════════════════════════════ */
html,
body{
  overflow-x:hidden!important;
}
body .g4-header{
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:100%!important;
  transform:none!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  will-change:auto!important;
  z-index:9990!important;
}
@media(max-width:782px){
  body .g4-header{
    position:sticky!important;
    position:-webkit-sticky!important;
    top:0!important;
    min-height:74px!important;
    height:74px!important;
    flex:0 0 74px!important;
  }
  body .g4-nav{
    position:absolute!important;
    top:64px!important;
    left:18px!important;
    right:18px!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
  }
  body .g4p-app-tabbar,
  body .g4p-bottom-nav,
  body .g4p-sticky-bottom-nav,
  body .g4p-footer-nav{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:translate3d(0,0,0)!important;
    -webkit-transform:translate3d(0,0,0)!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    z-index:9999!important;
  }
  body{
    padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  }
}
@media(min-width:783px){
  body .g4-header{
    position:sticky!important;
    position:-webkit-sticky!important;
  }
}
/* ── End v3.2.1.9 sticky stability lock ── */
