/* =========================================================
   Gali Bazar theme – mobile-first styles
   ========================================================= */
:root {
	--gb-green: #1c7c44;
	--gb-green-2: #23994f;
	--gb-green-d: #145a31;
	--gb-dark: #10241a;
	--gb-dark-2: #17321f;
	--gb-mint: #f0faf4;
	--gb-line: #cfe9d9;
	--gb-ink: #101418;
	--gb-text: #2b3238;
	--gb-muted: #5f6b75;
	--gb-bg: #ffffff;
	--gb-tg: #229ed9;
	--gb-wa: #25d366;
	--gb-radius: 18px;
	--gb-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--gb-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gb-sticky-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gb-sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--gb-text);
	background: var(--gb-bg);
	padding-bottom: var(--gb-sticky-h);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gb-green); }
a:hover { color: var(--gb-green-d); }
h1, h2, h3, h4 { color: var(--gb-ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.screen-reader-text, .skip-link {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 14px; z-index: 1000; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gb-green-2); outline-offset: 2px; }

.gb-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.gb-narrow { max-width: 780px; }
.gb-center { text-align: center; }
.gb-small { font-size: 13px; color: var(--gb-muted); }

/* ---------- Buttons ---------- */
.gb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
	border-radius: 999px; padding: 12px 22px; line-height: 1.2; font-size: 16px;
	transition: transform .15s ease, filter .15s ease;
}
.gb-btn:active { transform: translateY(2px); }
.gb-btn--download {
	color: #fff; background: linear-gradient(180deg, var(--gb-green-2), var(--gb-green));
	box-shadow: 0 5px 0 var(--gb-green-d), 0 10px 24px rgba(28,124,68,.25);
	border-radius: 16px;
}
.gb-btn--download:hover { color: #fff; filter: brightness(1.06); }
.gb-btn--lg { font-size: 20px; padding: 18px 34px; min-width: min(100%, 340px); }
.gb-btn--sm { font-size: 15px; padding: 12px 18px; border-radius: 999px; box-shadow: 0 3px 0 var(--gb-green-d); }
.gb-btn--block { width: 100%; }
.gb-btn--tg { background: var(--gb-tg); color: #fff; font-size: 14px; padding: 9px 16px; white-space: nowrap; }
.gb-btn--tg:hover { color: #fff; filter: brightness(1.08); }
.gb-btn--wa { background: var(--gb-wa); color: #fff; font-size: 18px; padding: 14px 28px; border-radius: 14px; box-shadow: 0 8px 20px rgba(37,211,102,.3); }
.gb-btn--wa:hover { color: #fff; filter: brightness(1.05); }

/* ---------- Top bar ---------- */
.gb-topbar { background: var(--gb-dark); color: #e9f3ec; position: sticky; top: 0; z-index: 60; }
.gb-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.gb-topbar p { margin: 0; font-size: 13.5px; line-height: 1.35; }

/* ---------- Header ---------- */
.gb-header { background: #fff; border-bottom: 1px solid var(--gb-line); }
.gb-header__in { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.gb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1; }
.gb-brand__logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.12); flex: none; }
.gb-brand__txt { display: flex; flex-direction: column; min-width: 0; }
.gb-brand__name { font-family: var(--gb-serif); font-weight: 800; font-size: 25px; color: var(--gb-green); line-height: 1.1; }
.gb-brand__tag { font-size: 12.5px; color: var(--gb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-age { flex: none; font-weight: 800; font-size: 13px; color: #b42318; border: 2px solid #f3b4ae; background: #fff3f2; border-radius: 999px; padding: 3px 9px; }
.gb-menu-btn { flex: none; background: var(--gb-mint); color: var(--gb-green-d); border: 1px solid var(--gb-line); border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }

.gb-nav { display: none; border-top: 1px solid var(--gb-line); background: #fff; }
.gb-nav.is-open { display: block; }
.gb-menu { list-style: none; margin: 0; padding: 6px 0; }
.gb-menu a { display: block; padding: 12px 4px; text-decoration: none; color: var(--gb-ink); font-weight: 600; border-bottom: 1px solid #eef3f0; }
.gb-menu li:last-child a { border-bottom: 0; }
.gb-menu .current-menu-item > a { color: var(--gb-green); }

.gb-strip { background: var(--gb-mint); border-top: 1px solid var(--gb-line); }
.gb-strip__in { display: flex; justify-content: space-between; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
.gb-strip__in span { flex: 1; text-align: center; font-weight: 700; font-size: 13px; color: var(--gb-green-d); white-space: nowrap; }
.gb-strip__in span + span { border-left: 2px solid var(--gb-line); }

/* ---------- Sections ---------- */
.gb-sec { padding: 40px 0; }
.gb-sec--mint { background: var(--gb-mint); }
.gb-sec--dark { background: var(--gb-dark-2); color: #dfeee4; }
.gb-h2 { font-family: var(--gb-serif); font-weight: 900; font-size: clamp(28px, 7vw, 42px); }
.gb-lead { color: var(--gb-muted); font-size: 17px; margin-top: -4px; margin-bottom: 24px; }

/* Hero */
.gb-hero { padding-top: 32px; }
.gb-hero__title { font-family: var(--gb-serif); font-weight: 900; font-size: clamp(34px, 9.5vw, 60px); letter-spacing: -.5px; margin-bottom: 14px; }
.gb-hero__title .hl, .hl { color: var(--gb-green); }
.gb-hero__sub { font-size: 17.5px; color: var(--gb-muted); max-width: 640px; margin: 0 auto 22px; }
.gb-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 auto 22px; max-width: 640px; }
.gb-mini__item { border-radius: 16px; border: 2px solid; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gb-mini__item span { font-size: 30px; line-height: 1; }
.gb-mini__item strong { font-size: 13.5px; color: var(--gb-ink); line-height: 1.25; }
.is-green { background: #eefbf2; border-color: #bfe8cf; }
.is-blue { background: #eef5ff; border-color: #c4d9f6; }
.is-pink { background: #fdf2fb; border-color: #efcdea; }
.is-yellow { background: #fffaeb; border-color: #f4e1a4; }
.is-purple { background: #f5f2ff; border-color: #d8cff6; }
.is-teal { background: #ecfbf8; border-color: #b6e8dd; }
.gb-cta-line { color: var(--gb-muted); font-size: 17px; margin-bottom: 18px; }

/* Markets */
.gb-live { display: inline-flex; align-items: center; gap: 10px; background: var(--gb-green); color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 999px; font-size: 17px; margin-bottom: 18px; }
.gb-live__dot { width: 11px; height: 11px; border-radius: 50%; background: #6ef59a; box-shadow: 0 0 0 0 rgba(110,245,154,.7); animation: gbPulse 1.6s infinite; }
@keyframes gbPulse { 0% { box-shadow: 0 0 0 0 rgba(110,245,154,.7); } 70% { box-shadow: 0 0 0 10px rgba(110,245,154,0); } 100% { box-shadow: 0 0 0 0 rgba(110,245,154,0); } }
.gb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.gb-chips li { border: 2px solid var(--gb-line); background: #fff; color: var(--gb-green-d); font-weight: 600; padding: 6px 16px; border-radius: 999px; font-size: 15px; }
.gb-chips li.is-more { background: var(--gb-green); border-color: var(--gb-green); color: #fff; font-weight: 700; }

/* Screenshots */
.gb-shots { padding: 32px 0 28px; }
.gb-shots__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 760px; margin: 0 auto; }
.gb-phone { margin: 0; text-align: center; }
.gb-phone__frame { background: #0b0f0d; border-radius: 22px; padding: 6px; box-shadow: 0 0 0 2px #2d3a32, 0 14px 30px rgba(0,0,0,.4); }
.gb-phone__frame img { border-radius: 16px; width: 100%; }
.gb-phone figcaption { margin-top: 10px; font-weight: 600; color: #cfe1d5; font-size: 14px; }

/* Features */
.gb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb-feature { border: 2px solid; border-radius: var(--gb-radius); padding: 20px 12px; text-align: center; }
.gb-feature__ic { font-size: 36px; display: block; margin-bottom: 8px; line-height: 1; }
.gb-feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.gb-feature p { font-size: 14px; color: var(--gb-muted); margin: 0; line-height: 1.45; }

/* Steps */
.gb-two { display: grid; gap: 22px; align-items: start; }
.gb-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.gb-steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--gb-line); border-radius: 16px; padding: 14px 14px 14px 64px; }
.gb-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--gb-green); color: #fff; font-weight: 800; display: grid; place-items: center; }
.gb-steps strong { display: block; color: var(--gb-ink); }
.gb-steps span { font-size: 14.5px; color: var(--gb-muted); }

/* APK box */
.gb-apkbox { background: #fff; border: 2px solid var(--gb-line); border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px rgba(16,36,26,.08); margin: 24px 0; }
.gb-apkbox__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gb-apkbox__head img { width: 64px; height: 64px; border-radius: 16px; }
.gb-apkbox__title { font-family: var(--gb-serif); font-weight: 800; font-size: 22px; color: var(--gb-ink); line-height: 1.15; }
.gb-apkbox__sub { font-size: 13.5px; color: var(--gb-muted); }
.gb-apkbox__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.gb-apkbox__meta div { background: var(--gb-mint); border-radius: 12px; padding: 8px 10px; }
.gb-apkbox__meta dt { font-size: 11.5px; color: var(--gb-muted); text-transform: uppercase; letter-spacing: .5px; }
.gb-apkbox__meta dd { margin: 0; font-weight: 700; color: var(--gb-ink); font-size: 15px; }
.gb-apkbox__note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--gb-muted); margin: 16px 0 0; }
.gb-apkbox__note svg { color: var(--gb-green); flex: none; }
.gb-content .gb-apkbox a.gb-btn { color: #fff; text-decoration: none; }

/* Tables */
.gb-table-wrap { overflow-x: auto; border: 1px solid var(--gb-line); border-radius: 14px; margin-bottom: 10px; }
.gb-table, .gb-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gb-table th, .gb-table td, .gb-content th, .gb-content td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #e5f1ea; }
.gb-table th, .gb-content th { background: var(--gb-green); color: #fff; font-weight: 700; }
.gb-table tr:nth-child(even) td, .gb-content tr:nth-child(even) td { background: #f7fcf9; }
.gb-table tr:last-child td { border-bottom: 0; }

/* Referral */
.gb-refer { background: linear-gradient(160deg, var(--gb-green), var(--gb-green-d)); color: #fff; border-radius: 26px; padding: 26px 18px; }
.gb-refer h2 { color: #fff; font-family: var(--gb-serif); font-size: 30px; }
.gb-refer p { color: #d9f0e1; }
.gb-refer ol { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 10px; }
.gb-refer li { counter-increment: r; background: rgba(255,255,255,.1); border-radius: 16px; padding: 14px 14px 14px 62px; position: relative; font-size: 16px; font-weight: 500; }
.gb-refer li::before { content: counter(r); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--gb-green-d); font-weight: 800; display: grid; place-items: center; }

/* FAQ */
.gb-faq { display: grid; gap: 10px; }
.gb-faq__item { background: #fff; border: 1px solid var(--gb-line); border-radius: 14px; }
.gb-faq__item summary { list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 700; color: var(--gb-ink); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.gb-faq__item summary::-webkit-details-marker { display: none; }
.gb-faq__item summary svg { flex: none; color: var(--gb-green); transition: transform .2s; }
.gb-faq__item[open] summary svg { transform: rotate(180deg); }
.gb-faq__a { padding: 0 16px 6px; color: var(--gb-muted); }

/* Cards */
.gb-cards { display: grid; gap: 14px; }
.gb-card { background: #fff; border: 1px solid var(--gb-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.gb-card__img img, .gb-card__ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.gb-card__ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--gb-mint), #dff3e6); }
.gb-card__ph img { width: 72px; height: 72px; aspect-ratio: auto; }
.gb-card__body { padding: 14px 16px 16px; }
.gb-card__title { font-size: 18px; margin-bottom: 4px; }
.gb-card__title a { color: var(--gb-ink); text-decoration: none; }
.gb-card__title a:hover { color: var(--gb-green); }
.gb-card__meta { font-size: 12.5px; color: var(--gb-muted); margin-bottom: 6px; }
.gb-card__excerpt { font-size: 14.5px; color: var(--gb-text); margin: 0; }

/* Support */
.gb-support { border: 2px solid #e3e8ec; background: #f8fafb; border-radius: 22px; padding: 26px 18px; text-align: center; }
.gb-support__t { font-weight: 700; font-size: 19px; color: var(--gb-ink); }
.gb-support__n { margin: 12px 0 8px; color: var(--gb-muted); font-size: 17px; }

/* ---------- Inner pages / articles ---------- */
.gb-page { padding-top: 18px; padding-bottom: 40px; max-width: 820px; }
.gb-crumbs { font-size: 13px; color: var(--gb-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.gb-crumbs a { color: var(--gb-green); text-decoration: none; }
.gb-crumbs span[aria-current] { color: var(--gb-muted); }
.gb-page__title { font-family: var(--gb-serif); font-weight: 900; font-size: clamp(28px, 7.5vw, 44px); }
.gb-page__head { margin-bottom: 18px; }
.gb-article__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--gb-muted); }
.gb-article__img { margin: 0 0 20px; }
.gb-article__img img { border-radius: 16px; width: 100%; }

.gb-content { font-size: 17px; }
.gb-content h2 { font-family: var(--gb-serif); font-size: clamp(24px, 6vw, 32px); margin-top: 1.6em; padding-top: .2em; }
.gb-content h3 { font-size: 20px; margin-top: 1.3em; }
.gb-content ul, .gb-content ol { padding-left: 1.3em; }
.gb-content li { margin-bottom: .4em; }
.gb-content li::marker { color: var(--gb-green); font-weight: 700; }
.gb-content blockquote, .gb-note {
	margin: 1.4em 0; padding: 14px 16px; border-left: 4px solid var(--gb-green); background: var(--gb-mint); border-radius: 0 12px 12px 0;
}
.gb-content .gb-warn { margin: 1.4em 0; padding: 14px 16px; border-left: 4px solid #d92d20; background: #fff4f2; border-radius: 0 12px 12px 0; }
.gb-content table { display: block; overflow-x: auto; border: 1px solid var(--gb-line); border-radius: 12px; }
.gb-content .wp-block-table table { display: table; }
.gb-content img { border-radius: 12px; }
.gb-content .gb-toc { background: #f8fafb; border: 1px solid #e3e8ec; border-radius: 14px; padding: 14px 18px; }
.gb-content .gb-toc p { font-weight: 700; margin-bottom: 6px; color: var(--gb-ink); }
.gb-content .gb-toc ol { margin: 0; }
.gb-content .gb-toc a { text-decoration: none; }
.gb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gb-tags a { background: var(--gb-mint); border: 1px solid var(--gb-line); padding: 4px 12px; border-radius: 999px; font-size: 13px; text-decoration: none; }
.gb-related { margin-top: 36px; }
.gb-related .gb-h2 { font-size: 28px; }
.gb-pagination { margin-top: 24px; }
.gb-pagination .nav-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.gb-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--gb-line); border-radius: 10px; text-decoration: none; }
.gb-pagination .current { background: var(--gb-green); color: #fff; border-color: var(--gb-green); }

.gb-search { display: flex; gap: 8px; max-width: 460px; margin: 16px auto; }
.gb-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--gb-line); border-radius: 12px; font-size: 16px; }
.gb-search button { background: var(--gb-green); color: #fff; border: 0; border-radius: 12px; padding: 0 18px; font-weight: 700; }

.gb-comments { margin-top: 40px; }
.gb-comments input:not([type=submit]):not([type=checkbox]), .gb-comments textarea { width: 100%; padding: 12px; border: 1px solid var(--gb-line); border-radius: 12px; font: inherit; }
.gb-comments .submit { background: var(--gb-green); color: #fff; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
.gb-footer { background: #f6f8f9; border-top: 1px solid #e3e8ec; padding: 40px 0 24px; text-align: center; }
.gb-footer__brand img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; }
.gb-footer__name { font-family: var(--gb-serif); font-weight: 900; font-size: 34px; color: var(--gb-green); margin-bottom: 4px; }
.gb-footer__tag { color: var(--gb-muted); font-size: 16px; }
.gb-footer__cta { color: var(--gb-muted); font-size: 16px; margin-bottom: 16px; }
.gb-footer__menu { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.gb-footer__menu a { color: var(--gb-text); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.gb-footer__menu a:hover { color: var(--gb-green); }
.gb-disclaimer { margin: 24px auto 0; max-width: 760px; background: #fff; border: 1px solid #e3e8ec; border-radius: 14px; padding: 14px 16px; font-size: 13px; color: var(--gb-muted); text-align: left; }
.gb-disclaimer p:last-child { margin: 0; }
.gb-copy { margin: 18px 0 0; font-size: 13.5px; color: var(--gb-muted); }

/* ---------- Sticky bar + WhatsApp float ---------- */
.gb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--gb-dark); box-shadow: 0 -6px 24px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); }
.gb-sticky__in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: var(--gb-sticky-h); }
.gb-sticky p { margin: 0; color: #fff; font-size: 15px; line-height: 1.3; }
.gb-wa-float { position: fixed; right: 16px; bottom: calc(var(--gb-sticky-h) + 16px + env(safe-area-inset-bottom)); z-index: 71; width: 60px; height: 60px; border-radius: 50%; background: var(--gb-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.gb-wa-float svg { width: 32px; height: 32px; }
.gb-wa-float:hover { color: #fff; transform: scale(1.05); }

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
	.gb-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.gb-cards { grid-template-columns: repeat(2, 1fr); }
	.gb-shots__row { gap: 22px; }
	.gb-mini__item strong { font-size: 15px; }
	.gb-strip__in span { font-size: 15px; }
}
@media (min-width: 900px) {
	.gb-sec { padding: 64px 0; }
	.gb-menu-btn { display: none; }
	.gb-nav { display: block; border: 0; }
	.gb-header { position: relative; }
	.gb-nav .gb-menu { display: flex; justify-content: center; gap: 28px; padding: 0 0 8px; }
	.gb-menu a { border: 0; padding: 6px 0; }
	.gb-brand__logo { width: 64px; height: 64px; }
	.gb-brand__name { font-size: 32px; }
	.gb-two { grid-template-columns: 1.2fr 1fr; }
	.gb-two .gb-apkbox { margin: 0; }
	.gb-cards { grid-template-columns: repeat(4, 1fr); }
	.gb-related .gb-cards { grid-template-columns: repeat(3, 1fr); }
	.gb-sticky p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Small fixes */
.gb-sticky .gb-btn { flex: none; white-space: nowrap; }
.gb-content [id] { scroll-margin-top: 70px; }
