/*
Theme Name: GroupBuyAiTool
Theme URI: https://app.groupbuyaitool.in
Author: GroupBuyAiTool
Description: Membership shell for GroupBuy Access portal. Brand green (#00a858) with bundled logo.
Version: 2.3.0
Text Domain: groupbuyaitool
*/
body { margin: 0; background: #f3faf6; color: #0c1f18; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #0d834d; }
.gb-theme-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; }
.gb-theme-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 12px;
}
.gb-theme-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #063821; }
.gb-theme-brand img { width: 36px; height: 36px; border-radius: 10px; }
.gb-theme-brand .site-title { font-weight: 800; font-size: 18px; }
.gb-theme-top nav a { margin-left: 14px; text-decoration: none; color: #4d6b5d; font-weight: 600; font-size: 14px; }
.site-footer { margin-top: 28px; color: #4d6b5d; font-size: 12px; text-align: center; }
.gb-theme-wrap .entry-title { display: none; }
body:has(.gb-app) .site-footer { display: none; }
body:has(.gb-app) .gb-theme-wrap { max-width: none; padding: 0; }
body:has(.gb-app) { background: #f3faf6; }

/* Login page branding */
body.login { background: #f3faf6; }
body.login #login h1 a {
  background-image: url('assets/logo.png');
  background-size: 84px 84px;
  width: 84px; height: 84px;
  margin-bottom: 8px;
}
body.login #login::before {
  content: 'GroupBuyAITool';
  display: block; text-align: center; font-weight: 800; color: #063821;
  margin: -4px 0 16px; font-size: 18px;
}
body.login .button-primary {
  background: #00a858 !important; border-color: #00a858 !important;
  box-shadow: none !important; text-shadow: none !important;
}

.gb-theme-brand .custom-logo-link { display: inline-flex; }
.gb-theme-brand .custom-logo { width: 36px; height: 36px; border-radius: 10px; }

/* ===== 2.2.0 header + mobile drawer ===== */
.gbt-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #dcefe4;box-shadow:0 2px 10px rgba(0,80,40,.05)}
.gbt-header-inner{max-width:1200px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.gbt-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#063821;min-width:0}
.gbt-brand img{width:38px;height:38px;border-radius:10px;object-fit:contain;flex:0 0 auto}
.gbt-name{font-weight:800;font-size:18px;white-space:nowrap;letter-spacing:-.2px}
.gbt-name b{color:#00a858}
.gbt-nav{display:flex;align-items:center;gap:4px}
.gbt-nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:#35574a;font-weight:600;font-size:14px}
.gbt-nav a:hover,.gbt-nav a.is-active{background:#e6f7ee;color:#00a858}
a.gbt-cta{background:#00a858;color:#fff!important;padding:9px 16px;border-radius:9px;font-weight:700;text-decoration:none;margin-left:6px}
a.gbt-cta:hover{background:#008f4b}
a.gbt-cta-ghost{background:#fff;color:#00a858!important;border:1.5px solid #00a858}
.gbt-burger{display:none;width:42px;height:42px;border:1px solid #cfe9db;border-radius:10px;background:#f3faf6;cursor:pointer;padding:0;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.gbt-burger span{display:block;width:20px;height:2px;background:#00a858;border-radius:2px}
.gbt-overlay{position:fixed;inset:0;background:rgba(6,30,20,.45);z-index:1001}
.gbt-drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,320px);background:#fff;z-index:1002;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;box-shadow:-8px 0 30px rgba(0,0,0,.15)}
.gbt-drawer.is-open{transform:none}
.gbt-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e3f2ea;background:linear-gradient(135deg,#e9f9f0,#fff)}
.gbt-drawer-head .gbt-name{font-size:16px}
.gbt-close{border:0;background:#f0f7f3;width:36px;height:36px;border-radius:9px;font-size:24px;line-height:1;color:#063821;cursor:pointer}
.gbt-drawer-nav{display:flex;flex-direction:column;padding:10px;gap:2px;overflow:auto}
.gbt-drawer-nav a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:10px;text-decoration:none;color:#0c1f18;font-weight:600;font-size:15px}
.gbt-drawer-nav a:hover,.gbt-drawer-nav a.is-active{background:#e6f7ee;color:#00a858}
.gbt-ico{width:28px;text-align:center}
.gbt-drawer-foot{margin-top:auto;padding:16px;border-top:1px solid #e3f2ea}
a.gbt-cta-block{display:block;text-align:center;margin:0;padding:12px}
body.gbt-lock{overflow:hidden}
@media (max-width:860px){.gbt-nav{display:none}.gbt-burger{display:inline-flex}.gbt-name{font-size:16px}}
@media (max-width:340px){.gbt-name{font-size:14px}}
body.admin-bar .gbt-header{top:32px}
@media (max-width:782px){body.admin-bar .gbt-header{top:46px}}
@media (max-width:600px){body.admin-bar .gbt-header{top:0}}
@media (min-width:861px){body:has(.gb-app) .gbt-header{display:none}}
