/* Shared customer and public member UI. Scoped to avoid changing admin screens. */
.gx-portal { --gx-ink:#173e37; --gx-muted:#65796f; --gx-line:#e0e9e3; --gx-accent:#38b09d; font-family:'Manrope',sans-serif; color:var(--gx-ink); padding:30px 24px 64px; background:radial-gradient(ellipse at 0 0,#e3f1e9,transparent 48%),#f3f7f5; }
.gx-portal *, .gx-portal *::before, .gx-portal *::after { box-sizing:border-box; }
.gx-portal [hidden] { display:none !important; }
.gx-portal h1, .gx-portal h2, .gx-portal h3, .gx-portal p { margin:0; }
.gx-portal h1, .gx-portal h2, .gx-portal h3 { font-family:'Outfit',sans-serif; font-weight:600; letter-spacing:-.025em; }
.gx-portal a { color:#216e57; text-decoration:none; }
.gx-portal a:hover { color:#153e36; }
.gx-portal button, .gx-portal input, .gx-portal select, .gx-portal textarea { font:inherit; }
.gx-portal button { cursor:pointer; }
.gx-portal :is(a,button,input,select,textarea,summary):focus-visible, .gx-account-nav a:focus-visible { outline:3px solid #319781; outline-offset:4px; }
.gx-portal-wrap { width:min(100%,1320px); margin:auto; }
.gx-portal-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:12px; color:var(--gx-muted); margin-bottom:24px; }
.gx-portal-breadcrumb a { font-weight:800; }
.gx-account-nav { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:7px; margin:0 0 24px; border:1px solid #e0e9e3; border-radius:14px; background:#fff; font:700 12px 'Manrope',sans-serif; }
.gx-account-nav a { display:inline-flex; gap:9px; align-items:center; min-height:44px; padding:10px 14px; border-radius:9px; color:#65796f; text-decoration:none; }
.gx-account-nav a:hover { background:#f3f7f5; color:#173e37; }
.gx-account-nav a[aria-current] { background:#e4f2e8; color:#17624e; }
.gx-account-nav i { font-size:15px; }
.gx-account-nav-shop { margin-left:auto; }
.gx-portal-eyebrow { font-size:10px; font-weight:800; letter-spacing:.14em; line-height:1.6; color:#63816f; }
.gx-portal-hero { position:relative; display:flex; align-items:center; justify-content:space-between; gap:28px; padding:34px 38px; border-radius:24px; background:linear-gradient(116deg,#153e36,#1f6151 70%,#33846b); color:#fff; overflow:hidden; }
.gx-portal-hero::after { content:''; position:absolute; right:-90px; top:-175px; width:460px; height:460px; border:1px solid #cee6c72b; border-radius:50%; box-shadow:0 0 0 48px #cee6c709,0 0 0 96px #cee6c709; pointer-events:none; }
.gx-portal-hero>div, .gx-portal-hero>a { position:relative; z-index:1; }
.gx-portal-hero .gx-portal-eyebrow { color:#c2e7d4; }
.gx-portal-hero h1 { font-size:clamp(29px,3vw,40px); margin:10px 0; line-height:1.2; }
.gx-portal-hero p:not(.gx-portal-eyebrow) { font-size:13px; line-height:1.8; color:#d4e5dc; max-width:600px; }
.gx-portal .gx-portal-hero a { color:#fff; }
.gx-portal-hero-icon { display:grid; place-items:center; flex:none; width:66px; height:66px; border:1px solid #c8e7d23b; border-radius:19px; color:#e1f3ce; background:#143e3680; font-size:28px; }
.gx-portal-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; align-items:start; gap:24px; margin-top:24px; }
.gx-portal-grid>* { min-width:0; }
.gx-portal-panel { padding:28px; background:#fff; border:1px solid var(--gx-line); border-radius:20px; box-shadow:0 5px 18px #12362a03; }
.gx-portal-panel h2 { font-size:24px; }
.gx-portal-panel h3 { font-size:19px; }
.gx-portal-panel>p, .gx-portal-panel-head p { font-size:12px; color:var(--gx-muted); line-height:1.8; margin-top:7px; }
.gx-portal-panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.gx-portal-aside { display:grid; gap:18px; }
.gx-portal-aside p { line-height:1.8; font-size:12px; color:var(--gx-muted); margin:12px 0; }
.gx-portal-aside .gx-portal-panel { padding:24px; }
.gx-portal-aside-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#e9f3e8; color:#297257; font-size:20px; margin-bottom:18px; }
.gx-portal-notice { display:flex; gap:12px; align-items:flex-start; padding:16px 18px; border:1px solid #d8e7dc; border-radius:13px; margin-bottom:20px; font-size:12px; line-height:1.7; background:#eff6ef; color:#2b6048; overflow-wrap:anywhere; }
.gx-portal-notice-success { background:#e0f3e7; border-color:#bfddc9; color:#20593e; }
.gx-portal-notice-error { background:#fff1ed; border-color:#ebc7bf; color:#8c352b; }
.gx-portal-form { display:grid; gap:21px; }
.gx-portal-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.gx-portal-field { min-width:0; }
.gx-portal-field label, .gx-portal-search label { display:block; font-size:12px; font-weight:800; margin-bottom:9px; }
.gx-portal-field :is(input:not([type=checkbox]),select,textarea), .gx-portal-search input, .gx-portal-search select { display:block; width:100%; min-height:48px; padding:12px 14px; border:1px solid #d2dfd6; border-radius:10px; background:#fbfdfb; color:var(--gx-ink); font-size:13px; line-height:1.6; transition:border-color .15s,box-shadow .15s; }
.gx-portal-field input::placeholder, .gx-portal-field textarea::placeholder { color:#82948a; }
.gx-portal-field :is(input,select,textarea):focus { border-color:#38b09d; box-shadow:0 0 0 3px #38b09d18; background:#fff; }
.gx-portal-field input[readonly] { background:#f0f4f1; color:#526f60; }
.gx-portal-field small, .gx-portal-hint { display:block; font-size:11px; color:var(--gx-muted); line-height:1.7; margin-top:8px; }
.gx-portal-field textarea { resize:vertical; }
.gx-portal-password { position:relative; }
.gx-portal-password input { padding-right:73px !important; }
.gx-portal-password button { position:absolute; right:6px; top:4px; bottom:4px; min-width:55px; border:0; border-radius:7px; background:transparent; color:#216e57; font-size:11px; font-weight:800; }
.gx-portal-password button:hover { background:#e5f2e9; }
.gx-portal-check { display:flex; align-items:center; gap:10px; padding:14px; border:1px solid var(--gx-line); border-radius:10px; background:#f7faf6; }
.gx-portal-check input { width:18px; height:18px; accent-color:#176b58; flex:none; }
.gx-portal-check label { margin:0; font-size:12px; cursor:pointer; }
.gx-portal-divider { border:0; border-top:1px solid var(--gx-line); margin:4px 0; }
.gx-portal-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding-top:8px; }
.gx-portal .gx-portal-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 18px; border:1px solid #176b58; border-radius:10px; background:#176b58; color:#fff; font-size:12px; line-height:1.5; font-weight:800; transition:background .18s,transform .18s; }
.gx-portal .gx-portal-button:hover { color:#fff; background:#0d5141; transform:translateY(-1px); }
.gx-portal .gx-portal-button-outline { background:#fff; border-color:#b9cec1; color:#245d4c; }
.gx-portal .gx-portal-button-outline:hover { background:#eaf2e9; color:#173e37; }
.gx-portal .gx-portal-button:disabled { opacity:.65; cursor:wait; transform:none; }
.gx-portal-button-full { width:100%; }
.gx-portal-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:12px; font-weight:800; }
.gx-portal-link:hover { text-decoration:underline; text-underline-offset:4px; }
.gx-portal-badge { display:inline-flex; gap:7px; align-items:center; padding:6px 10px; border:1px solid #d6e6d5; border-radius:8px; background:#edf5e8; color:#326342; font-size:10px; font-weight:800; }
.gx-portal-definition { margin:0; }
.gx-portal-definition dt { font-size:10px; color:var(--gx-muted); margin:15px 0 5px; }
.gx-portal-definition dd { margin:0; font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.gx-auth-wrap { width:min(100%,1080px); margin:auto; }
.gx-auth-shell { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); overflow:hidden; border:1px solid var(--gx-line); border-radius:26px; background:#fff; box-shadow:0 15px 55px #153e3610; }
.gx-auth-brand { position:relative; isolation:isolate; display:flex; flex-direction:column; padding:40px; background:linear-gradient(150deg,#153e36,#1f6151 80%,#33846b); color:#fff; overflow:hidden; }
.gx-auth-brand::after { content:''; position:absolute; z-index:-1; right:-170px; bottom:-230px; width:570px; height:570px; border:1px solid #a5e7ba30; border-radius:50%; box-shadow:0 0 0 45px #a5e7ba09,0 0 0 90px #a5e7ba09; }
.gx-portal .gx-auth-logo { display:inline-flex; align-items:center; gap:15px; width:fit-content; color:#fff; font:600 23px 'Outfit',sans-serif; letter-spacing:.12em; }
.gx-auth-logo img { object-fit:contain; background:#edf7ef; border-radius:9px; padding:5px; }
.gx-auth-copy { margin:64px 0 54px; }
.gx-auth-copy .gx-portal-eyebrow { color:#c2e7d4; }
.gx-auth-copy h2 { margin:16px 0 18px; font-size:clamp(34px,3.8vw,48px); line-height:1.12; color:#e1f3ce; }
.gx-auth-copy>p:last-of-type { color:#d4e5dc; font-size:13px; line-height:1.9; }
.gx-auth-features { display:grid; gap:16px; margin-top:32px; font-size:12px; }
.gx-auth-features span { display:flex; align-items:center; gap:13px; }
.gx-auth-features i { display:grid; place-items:center; width:31px; height:31px; background:#ffffff0f; border:1px solid #ffffff24; border-radius:9px; color:#dff2d1; }
.gx-auth-footer { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; align-items:center; margin-top:auto; padding-top:25px; border-top:1px solid #cfe5d425; }
.gx-auth-footer span { font-size:8px; letter-spacing:.14em; }
.gx-portal .gx-auth-footer a { color:#e1f3ce; font-size:11px; min-height:40px; display:inline-flex; gap:8px; align-items:center; }
.gx-auth-content { padding:40px; align-self:center; min-width:0; }
.gx-auth-content h1 { margin:12px 0; font-size:32px; line-height:1.2; }
.gx-auth-intro { margin-bottom:26px; }
.gx-auth-intro>p:last-child { color:var(--gx-muted); font-size:12px; line-height:1.8; }
.gx-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; padding:5px; margin-bottom:26px; background:#f1f5ef; border:1px solid var(--gx-line); border-radius:12px; }
.gx-auth-tabs a { display:flex; justify-content:center; gap:8px; align-items:center; min-height:44px; border-radius:8px; color:var(--gx-muted); font-size:12px; font-weight:800; }
.gx-auth-tabs a[aria-current] { background:#fff; box-shadow:0 2px 6px #163c2b0a; color:#17624e; }
.gx-auth-help { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; font-size:11px; color:var(--gx-muted); margin-top:18px; }
.gx-auth-help a { font-weight:800; min-height:44px; display:inline-flex; align-items:center; }
.gx-auth-email { padding:12px 14px; border:1px solid var(--gx-line); border-radius:10px; background:#f6faf4; margin-bottom:22px; }
.gx-auth-email small { font-size:9px; color:var(--gx-muted); }
.gx-auth-email p { font-size:12px; font-weight:700; overflow-wrap:anywhere; margin-top:5px; }
.gx-portal-file { padding:18px; border:1px dashed #a2bdaa; border-radius:12px; background:#f6faf4; }
.gx-portal-file input { background:#fff !important; }
.gx-portal-file input::file-selector-button { border:0; background:#e5f2e9; color:#17624e; padding:8px 12px; margin-right:12px; border-radius:6px; font-size:11px; font-weight:700; cursor:pointer; }
.gx-portal-steps { display:grid; gap:22px; margin:18px 0 0; padding-left:22px; }
.gx-portal-steps li { padding-left:5px; font-size:12px; line-height:1.7; }
.gx-portal-steps p { margin:5px 0 0; font-size:11px; }
.gx-portal-history { margin-top:24px; }
.gx-portal-toolbar { display:flex; align-items:flex-end; gap:16px; flex-wrap:wrap; margin:22px 0; }
.gx-portal-search { flex:1; min-width:160px; }
.gx-portal-filter { flex:none; min-width:180px; }
.gx-portal-search input { padding-left:14px; }
.gx-portal-results { font-size:11px; color:var(--gx-muted); margin-top:15px; }
.gx-portal-payments { display:grid; gap:12px; }
.gx-portal-payment { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; border:1px solid var(--gx-line); border-radius:13px; padding:20px; }
.gx-portal-payment h3 { font-size:17px; margin:5px 0; }
.gx-portal-payment p { font-size:11px; color:var(--gx-muted); line-height:1.8; margin:6px 0; overflow-wrap:anywhere; }
.gx-portal-payment-total { text-align:right; }
.gx-portal-payment-total strong { display:block; font-family:'Outfit',sans-serif; font-size:22px; margin:9px 0; }
.gx-portal-payment .gx-portal-badge[data-status=Pending] { background:#fff4dc; border-color:#eddfb9; color:#886114; }
.gx-portal-payment .gx-portal-badge[data-status=Rejected] { background:#fff1ed; border-color:#ebc7bf; color:#8c352b; }
.gx-portal-empty { padding:36px 22px; text-align:center; border:1px dashed #cfdfd1; border-radius:14px; background:#f8fbf6; }
.gx-portal-empty>i { display:block; font-size:26px; color:#619f82; margin-bottom:15px; }
.gx-portal-empty h2, .gx-portal-empty h3 { font-size:22px; }
.gx-portal-empty p { font-size:12px; line-height:1.8; color:var(--gx-muted); margin:9px 0 18px; }
@media(max-width:1000px) { .gx-portal-grid { grid-template-columns:minmax(0,1fr) 250px; } .gx-auth-brand, .gx-auth-content { padding:30px; } }
@media(max-width:760px) { .gx-portal-grid { grid-template-columns:1fr; } .gx-portal-aside { grid-template-columns:repeat(2,minmax(0,1fr)); } .gx-auth-shell { grid-template-columns:1fr; } .gx-auth-brand { padding:25px; } .gx-auth-copy { margin:28px 0 22px; } .gx-auth-copy h2 { font-size:32px; } .gx-auth-features { display:none; } .gx-auth-copy>p:last-of-type br { display:none; } .gx-auth-footer { padding-top:12px; } .gx-account-nav-shop { margin-left:0; } }
@media(max-width:480px) { .gx-portal { padding:22px 14px 42px; } .gx-portal-breadcrumb { margin-bottom:18px; font-size:11px; } .gx-account-nav { gap:3px; padding:5px; margin-bottom:18px; } .gx-account-nav a { padding:10px 11px; font-size:11px; } .gx-portal-hero { padding:25px; border-radius:20px; gap:12px; } .gx-portal-hero-icon { width:44px; height:44px; border-radius:12px; font-size:20px; } .gx-portal-hero h1 { font-size:29px; } .gx-portal-panel { padding:22px; } .gx-portal-panel-head { align-items:flex-start; flex-direction:column; gap:9px; } .gx-portal-aside, .gx-portal-fields { grid-template-columns:1fr; } .gx-auth-content { padding:27px 22px; } .gx-auth-content h1 { font-size:29px; } .gx-portal-payment { padding:16px; gap:10px; } .gx-portal-payment-total strong { font-size:19px; } .gx-portal-filter { min-width:140px; } }
@media(prefers-reduced-motion:reduce) { .gx-portal *, .gx-portal *::before, .gx-portal *::after { scroll-behavior:auto !important; transition:none !important; } }

/* Private account navigation: thumb reach and the device's safe area. */
.gx-mobile-nav { display:none; }
@media(max-width:767px) {
  body.gx-mobile-account { padding-bottom:calc(82px + env(safe-area-inset-bottom,0px)); }
  .gx-mobile-nav { position:fixed; z-index:1040; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding:8px max(10px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px)); border-top:1px solid #d6e7df; background:#f9fcf8f5; backdrop-filter:blur(18px); box-shadow:0 -8px 30px #123e3610; }
  .gx-mobile-nav a { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; min-height:55px; padding:5px 1px; border-radius:12px; color:#5c726c; text-decoration:none; font:700 10px/1.3 'Manrope',sans-serif; }
  .gx-mobile-nav i { display:grid; place-items:center; width:40px; height:25px; border-radius:8px; font-size:20px; }
  .gx-mobile-nav a[aria-current] { color:#123e36; background:#e4f3ec; }
  .gx-mobile-nav a[aria-current]::before { content:''; position:absolute; top:1px; width:18px; height:3px; border-radius:4px; background:#38b09d; }
  .gx-mobile-nav a:hover { background:#edf5ef; }
  .gx-mobile-nav a:focus-visible { outline:3px solid #38b09d; outline-offset:-3px; }
  body.gx-mobile-account .scroll-top-btn { bottom:calc(76px + env(safe-area-inset-bottom,0px)) !important; }
  body.gx-member-card-open .gx-mobile-nav { visibility:hidden; }
  #myMemberCard, #ordersArea { scroll-margin-top:105px; }
}
@media print { .gx-mobile-nav { display:none !important; } body.gx-mobile-account { padding-bottom:0; } }
