/* =====================================================================
   GetAll v7 — shared components (public site + every dashboard)
   Account menu, icon buttons, inline form panels, typography scale.
   Type: system UI stack (Segoe UI / SF / Roboto / Noto for Ethiopic) — 16px body on
   public pages, 14–15px in dashboards, 1.5 line-height, 4.5:1 text contrast.
   ===================================================================== */
:root { --ga-font: "Inter", "Segoe UI", system-ui, -apple-system, "Roboto", "Noto Sans", "Noto Sans Ethiopic", "Helvetica Neue", Arial, sans-serif; }

/* icon buttons (bell / messages) */
.ga-icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid #E5E7EB; background: #fff; color: #1E2A3B; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; font-size: 17px; }
.ga-icon-btn:hover, .ga-icon-btn[aria-expanded="true"] { background: var(--ga-primary-soft, #FFF4EC); color: var(--ga-primary, #C2410C); box-shadow: 0 2px 8px rgba(15,23,42,.08); text-decoration: none; }
.ga-icon-btn:focus-visible, .ga-acct-btn:focus-visible { outline: 3px solid var(--ga-primary-line, #FDBA8C); outline-offset: 2px; }
.ga-icon-btn .ga-dot, .ga-dot { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #B91C1C; color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }

/* account button + avatar */
.ga-acct-btn { display: inline-flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; color: #1F2937; cursor: pointer; font: inherit; line-height: 1.2; transition: background .15s, box-shadow .15s; }
.ga-acct-btn:hover, .ga-acct-btn[aria-expanded="true"] { background: #F8FAFC; box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.ga-acct-btn b { font-size: 14px; color: #1F2937; }
.ga-acct-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #1E2A3B, #334155); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; overflow: hidden; flex: 0 0 auto; letter-spacing: .02em; }
.ga-acct-av img { width: 100%; height: 100%; object-fit: cover; }
.ga-acct-av.lg { width: 48px; height: 48px; font-size: 17px; }
.ga-acct-av.xl { width: 84px; height: 84px; font-size: 28px; box-shadow: 0 0 0 4px var(--ga-primary-soft, #FFF4EC); }

/* account drop-down */
.ga-acct-menu { width: min(320px, 94vw); padding: 0 !important; border: 1px solid #E5E7EB !important; border-radius: 14px !important; box-shadow: 0 18px 44px rgba(15,23,42,.18) !important; overflow: hidden; background: #fff; }
.ga-acct-pop { position: absolute; right: 0; top: 52px; z-index: 1200; }
.ga-acct-li { position: relative; display: flex; align-items: center; }
.ga-acct-card { display: flex; gap: 12px; align-items: center; padding: 16px; background: linear-gradient(135deg, #FFF7F2, #fff); border-bottom: 1px solid #F1F5F9; }
.ga-acct-card b { display: block; font-size: 15px; color: #1F2937; }
.ga-acct-card small { display: block; font-size: 12px; color: #6B7280; overflow: hidden; text-overflow: ellipsis; max-width: 210px; white-space: nowrap; }
.ga-acct-g { padding: 6px 0; border-bottom: 1px solid #F1F5F9; }
.ga-acct-g:last-child { border-bottom: 0; }
.ga-acct-gh { padding: 6px 16px 2px; font-size: 11px; font-weight: 700; color: #9CA3AF; text-transform: uppercase; letter-spacing: .06em; }
.ga-acct-i { display: flex !important; align-items: center; gap: 12px; padding: 9px 16px; color: #1F2937 !important; text-decoration: none !important; font-size: 14px; min-height: 40px; }
.ga-acct-i:hover, .ga-acct-i:focus { background: var(--ga-primary-soft, #FFF4EC); color: var(--ga-primary, #C2410C) !important; outline: none; }
.ga-acct-i i { width: 18px; text-align: center; color: var(--ga-primary, #9A3412); opacity: .85; }
.ga-acct-i.out { color: #B91C1C !important; } .ga-acct-i.out i { color: #B91C1C; }
.ga-acct-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #B91C1C; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; }

/* inline form panels — same behaviour as "Add Personal Seller" */
.ga-trigger-open { background: #fff !important; color: #B91C1C !important; border: 1px solid #FCA5A5 !important; box-shadow: none !important; }
.ga-inline-x { margin-left: auto; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #6B7280; padding: 0 6px; cursor: pointer; border-radius: 6px; }
.ga-inline-x:hover { background: #FEE2E2; color: #B91C1C; }
.ga-form-panel { border-top: 4px solid var(--ga-primary, #D9480F) !important; border-radius: 12px !important; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06) !important; animation: gaDrop .22s ease-out; }
@keyframes gaDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* form fields (every page) */
.ga-field-req::after, label.required::after { content: " *"; color: #B91C1C; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=search], input[type=url], select, textarea { font-size: max(15px, 1em); }
input::placeholder, textarea::placeholder { color: #9CA3AF; opacity: 1; }
input:invalid:not(:placeholder-shown):not(:focus) { border-color: #FCA5A5 !important; }
fieldset { min-width: 0; }

/* skip link for keyboard users */
.ga-skip { position: absolute; left: -9999px; top: 8px; z-index: 3000; background: #1E2A3B; color: #fff; padding: 10px 16px; border-radius: 8px; }
.ga-skip:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* dashboard header icons use the same look everywhere */
.mb-bell, .ga-bell-btn { position: relative; width: 42px !important; height: 42px !important; border-radius: 50% !important; display: inline-grid !important; place-items: center; border: 1px solid #E5E7EB !important; background: #fff !important; color: #1E2A3B !important; font-size: 17px; transition: background .15s, color .15s, box-shadow .15s; }
.mb-bell:hover, .mb-bell[aria-expanded="true"], .ga-bell-btn:hover, .ga-bell-btn[aria-expanded="true"] { background: var(--ga-primary-soft, #FFF4EC) !important; color: var(--ga-primary, #C2410C) !important; box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.mb-badge { position: absolute; top: -4px !important; right: -4px !important; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #B91C1C !important; color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.mb-notif { width: min(380px, 94vw) !important; border-radius: 14px !important; border: 1px solid #E5E7EB !important; box-shadow: 0 18px 44px rgba(15,23,42,.18) !important; padding: 0 !important; overflow: hidden; }
.mb-notif .ga-bell-f { display: block; text-align: center; padding: 10px; font-weight: 600; color: var(--ga-primary, #C2410C); background: #F8FAFC; text-decoration: none; }
.mb-user.ga-acct-btn { border: 1px solid #E5E7EB; }

/* v10 — profile photo editor */
.ga-av-back { position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 14px; }
.ga-av-dlg { background: #fff; border-radius: 18px; width: min(440px, 100%); max-height: 96vh; overflow: auto; padding: 18px 20px; box-shadow: 0 30px 70px rgba(15,23,42,.35); font-family: var(--ga-font, inherit); }
.ga-av-h { display: flex; justify-content: space-between; align-items: center; } .ga-av-h h3 { margin: 0; font-size: 19px; }
.ga-av-x { border: 0; background: none; font-size: 28px; line-height: 1; color: #64748B; cursor: pointer; }
.ga-av-drop { margin: 12px auto 6px; width: min(320px, 100%); border-radius: 16px; outline: none; }
.ga-av-drop:focus-visible { box-shadow: 0 0 0 3px rgba(var(--ga-primary-rgb, 194,65,12), .35); }
.ga-av-drop.over .ga-av-stage { outline: 3px dashed var(--ga-primary, #C2410C); }
.ga-av-stage { position: relative; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #F1F5F9; }
.ga-av-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; } .ga-av-stage canvas:active { cursor: grabbing; }
.ga-av-ring { position: absolute; inset: 0; pointer-events: none; box-shadow: 0 0 0 999px rgba(15,23,42,.45); border-radius: 50%; }
.ga-av-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #64748B; background: #F8FAFC; text-align: center; }
.ga-av-empty i { font-size: 56px; color: #CBD5E1; } .ga-av-empty span { font-size: 13px; }
.ga-av-ctl { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 8px; }
.ga-av-ctl label { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 260px; color: #64748B; } .ga-av-ctl input { flex: 1; accent-color: var(--ga-primary, #C2410C); }
.ga-av-rot { border: 1px solid #CBD5E1; background: #fff; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }
.ga-av-tip { text-align: center; color: #64748B; font-size: 12.5px; margin: 6px 0 10px; }
.ga-av-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ga-av-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; border-top: 1px solid #F1F5F9; padding-top: 12px; }
.ga-av-b { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #CBD5E1; background: #fff; color: #0F172A; border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 14px; cursor: pointer; margin: 0; min-height: 42px; }
.ga-av-b:hover { border-color: var(--ga-primary, #C2410C); color: var(--ga-primary, #C2410C); }
.ga-av-b.pri { background: var(--ga-primary, #C2410C); border-color: var(--ga-primary, #C2410C); color: var(--ga-on-primary, #fff); } .ga-av-b.pri:disabled { opacity: .55; cursor: not-allowed; }
.ga-av-b.danger { color: #B91C1C; } .ga-av-b.danger:hover { border-color: #B91C1C; color: #B91C1C; }
.ga-spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: gaSpin .7s linear infinite; } @keyframes gaSpin { to { transform: rotate(360deg); } }
.ga-acct-av { position: relative; }
.ga-av-edit-btn { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--ga-primary, #C2410C); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; padding: 0; }

/* v10 — address search (ga-places.js) */
.gp-ac { position: relative; }
.gp-list { position: absolute; z-index: 1060; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.16); list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow: auto; }
.gp-list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.gp-list li i { color: var(--ga-primary, #C2410C); margin-top: 3px; }
.gp-list li span { display: flex; flex-direction: column; min-width: 0; } .gp-list li b { font-weight: 600; color: #0F172A; } .gp-list li small { color: #64748B; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-list li:hover, .gp-list li.on { background: var(--ga-primary-soft, #FFF7ED); }
.gp-list li.gp-none { color: #64748B; cursor: default; font-size: 13px; }
.gp-bar { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 6px; font-size: 12.5px; }
.gp-me { border: 1px solid #CBD5E1; background: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: #334155; cursor: pointer; }
.gp-me:hover { border-color: var(--ga-primary, #C2410C); color: var(--ga-primary, #C2410C); }
.gp-st { color: #64748B; } .gp-st.ok { color: #047857; font-weight: 600; } .gp-st.bad { color: #B45309; }
.gp-src { margin-left: auto; color: #94A3B8; font-size: 11.5px; }
.gp-map { height: 220px; border-radius: 12px; border: 1px solid #E2E8F0; margin-top: 8px; overflow: hidden; z-index: 0; grid-column: 1 / -1; }

/* v10 — ratings & reviews */
.rv-stars { color: #F59E0B; letter-spacing: 1px; white-space: nowrap; } .rv-stars.lg { font-size: 18px; }
.rv-sum { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 6px 0 16px; border-bottom: 1px solid #F1F5F9; }
@media (max-width: 640px) { .rv-sum { grid-template-columns: 1fr; } }
.rv-big { display: flex; flex-direction: column; align-items: center; min-width: 110px; } .rv-big > b { font-size: 40px; line-height: 1; color: #0F172A; } .rv-big small { color: #64748B; margin-top: 4px; }
.rv-bars { display: flex; flex-direction: column; gap: 4px; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 32px; gap: 8px; align-items: center; border: 0; background: none; padding: 2px 4px; border-radius: 6px; font-size: 13px; color: #334155; cursor: pointer; text-align: left; }
.rv-bar:disabled { cursor: default; opacity: .55; } .rv-bar:not(:disabled):hover, .rv-bar.on { background: var(--ga-primary-soft, #FFF7ED); }
.rv-bar span i { color: #F59E0B; font-size: 11px; } .rv-bar .tr { height: 8px; background: #E2E8F0; border-radius: 99px; overflow: hidden; display: block; } .rv-bar .tr i { display: block; height: 100%; background: #F59E0B; border-radius: 99px; }
.rv-bar em { font-style: normal; color: #64748B; text-align: right; }
.rv-seller { text-align: center; background: #F8FAFC; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; } .rv-seller b { font-size: 22px; } .rv-seller b i { color: #F59E0B; font-size: 16px; } .rv-seller small { color: #64748B; font-size: 12px; }
.rv-form, .rv-my, .rv-cta, .rv-note { margin: 16px 0; padding: 14px; border: 1px solid #E2E8F0; border-radius: 14px; background: #fff; }
.rv-form { display: flex; flex-direction: column; gap: 10px; } .rv-form h4 { margin: 0; font-size: 16px; }
.rv-form input[name=title], .rv-form textarea { border: 1px solid #CBD5E1; border-radius: 10px; padding: 9px 12px; font: inherit; width: 100%; }
.rv-form input:focus, .rv-form textarea:focus { outline: none; border-color: var(--ga-primary); box-shadow: 0 0 0 3px rgba(var(--ga-primary-rgb, 194,65,12), .15); }
.rv-pick { display: flex; align-items: center; gap: 4px; } .rv-pick label { cursor: pointer; font-size: 28px; color: #CBD5E1; line-height: 1; padding: 2px; border-radius: 6px; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; } .rv-pick label.on, .rv-pick label:has(~ label input:checked), .rv-pick label:has(input:checked) { color: #F59E0B; }
.rv-pick:hover label { color: #FCD34D; } .rv-pick label:hover ~ label { color: #CBD5E1; } .rv-pick label:focus-within { outline: 2px solid var(--ga-primary); outline-offset: 2px; }
.rv-word { margin-left: 8px; font-size: 14px; color: #475569; font-weight: 600; }
.rv-err { color: #B91C1C; font-size: 13px; } .rv-err:empty { display: none; }
.rv-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .rv-cta > i { font-size: 26px; color: #F59E0B; } .rv-cta div { flex: 1; min-width: 180px; display: flex; flex-direction: column; } .rv-cta small { color: #64748B; }
.rv-note { color: #475569; font-size: 14px; background: #F8FAFC; }
.rv-pend { background: #FFFBEB; color: #B45309; border-radius: 99px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
.rv-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 4px; font-size: 13.5px; } .rv-tools select { border: 1px solid #CBD5E1; border-radius: 8px; padding: 4px 8px; margin-left: 6px; }
.rv-item { padding: 14px 0; border-bottom: 1px solid #F1F5F9; } .rv-item:last-child { border-bottom: 0; }
.rv-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .rv-h b { font-size: 15px; color: #0F172A; }
.rv-by { color: #64748B; font-size: 12.5px; margin-top: 3px; } .rv-ver { color: #047857; font-weight: 600; }
.rv-body { margin: 8px 0 0; color: #334155; font-size: 14.5px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.rv-reply { margin-top: 10px; background: #F8FAFC; border-left: 3px solid var(--ga-primary, #C2410C); border-radius: 0 10px 10px 0; padding: 8px 12px; font-size: 14px; } .rv-reply small { color: #94A3B8; } .rv-reply p { margin: 4px 0 0; color: #334155; }
.rv-acts { display: flex; gap: 14px; margin-top: 8px; }
.rv-link { border: 0; background: none; padding: 0; color: #475569; font-size: 13px; font-weight: 600; cursor: pointer; } .rv-link:hover { color: var(--ga-primary); } .rv-link.on { color: var(--ga-primary); }
.rv-empty { color: #64748B; padding: 18px 0; text-align: center; }
.rv-rep { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; } .rv-rep label { display: flex; gap: 8px; align-items: center; font-size: 14px; } .rv-rep textarea { border: 1px solid #CBD5E1; border-radius: 10px; padding: 8px; font: inherit; }
.ld-rating { display: flex; gap: 8px; align-items: center; margin: 4px 0 2px; font-size: 14px; color: #334155; text-decoration: none; } .ld-rating:hover { color: var(--ga-primary); }
.ld-btn.sm { padding: 5px 12px; font-size: 13px; }
.rv-cta .ld-btn, .rv-my .ld-btn, .rv-form .ld-btn { width: auto !important; flex: 0 0 auto; display: inline-flex; margin: 0; }
