/* GREEHABANDHU — home page (shops) in the site's usual look:
   shared header + banner slider + greeha.css sections. Only the parts the
   shared styles do not have are here. */
.gh-noscroll{overflow:hidden}
.gh-page .gh-sec-first{margin-top:30px}
.gh-page .section-head{gap:12px}
.gh-page .section-head p{margin:4px 0 0}
.gh-linkbtn,.gh-linkbtn-plain{border:0;background:none;padding:0;color:var(--g);font-weight:850;font-size:13px;cursor:pointer;font-family:inherit}
.gh-linkbtn{text-decoration:underline;text-underline-offset:2px}
.gh-linkbtn-plain[hidden]{display:none}
.gh-note{font-size:13px;color:var(--muted);margin:0 0 6px}
.gh-h3{font-size:16px;margin:22px 0 12px;color:var(--ink)}
.gh-empty{background:#fff;border:1px dashed #cfdcd2;border-radius:16px;padding:28px 18px;text-align:center;color:var(--muted);font-size:14px}
.gh-empty[hidden]{display:none}
.gh-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px!important;font-size:13px;cursor:pointer;border:1px solid transparent}
.gh-btn:disabled{opacity:.55;cursor:not-allowed}
.gh-btn-block{width:100%}

/* ---------- categories (shop types) — like the old "Shop by Category" cards ---------- */
.gh-cats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.gh-cat{background:#fff;border:1px solid #edf1ed;border-radius:16px;padding:11px;box-shadow:0 4px 15px rgba(20,40,25,.035);transition:.18s;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--ink);font-family:inherit;text-align:center}
.gh-cat:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.gh-cat.on{border-color:var(--g);box-shadow:0 0 0 2px rgba(22,132,59,.18)}
.gh-cat.on b{color:var(--g)}
.gh-cat-ic{width:100%;height:120px;border-radius:12px;display:grid;place-items:center;overflow:hidden;margin-bottom:8px}
.gh-cat-ic img{width:100%;height:100%;object-fit:cover}
.gh-cat-ic span{font-size:52px;line-height:1}
.gh-cat b{font-size:13px;font-weight:800;line-height:1.3}
.gh-cat small{font-size:11px;color:var(--muted);font-weight:700;line-height:1.3}

/* ---------- location prompt ---------- */
.gh-locate{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;box-shadow:0 4px 15px rgba(20,40,25,.035)}
.gh-locate-ic{width:52px;height:52px;border-radius:14px;background:var(--gs);color:var(--g);display:grid;place-items:center;font-size:22px;flex:none}
.gh-locate-tx{flex:1;display:flex;flex-direction:column;gap:3px}
.gh-locate-tx b{font-size:15px}
.gh-locate-tx span{font-size:13px;color:var(--muted)}
.gh-locate-act{display:flex;gap:10px;flex-wrap:wrap}

/* ---------- shops ---------- */
.gh-shops{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.gh-shop{display:flex;flex-direction:column;background:#fff;border:1px solid #edf1ed;border-radius:16px;overflow:hidden;color:var(--ink);box-shadow:0 4px 15px rgba(20,40,25,.035);transition:.18s;min-width:0}
.gh-shop[hidden]{display:none}
.gh-shop:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.gh-shop.busy{opacity:.6;pointer-events:none}
.gh-shop-img{position:relative;display:grid;place-items:center;aspect-ratio:16/10;background:#f7f9f7 center/cover no-repeat;margin:10px 10px 0;border-radius:12px;overflow:hidden}
.gh-shop-img.plain img{width:42%;aspect-ratio:1;object-fit:cover;border-radius:16px;box-shadow:0 6px 16px rgba(0,0,0,.08)}
.gh-shop-emoji{font-size:48px}
.gh-shop.closed .gh-shop-img{filter:grayscale(.55)}
.gh-badge{position:absolute;top:8px;left:8px;padding:4px 9px;border-radius:7px;background:#eef8f0;color:var(--gd);font:850 10px/1.4 Inter,system-ui,sans-serif;font-style:normal;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.gh-badge.off{background:#fdecec;color:#b42318}
.gh-rate{position:absolute;right:8px;bottom:8px;padding:3px 8px;border-radius:7px;background:#fff;color:var(--ink);font:850 11px/1.4 Inter,system-ui,sans-serif;font-style:normal;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.gh-rate::first-letter{color:#f5a623}
.gh-shop-bd{display:flex;flex-direction:column;gap:3px;padding:11px 13px 13px;flex:1}
.gh-shop-bd>*:nth-last-child(2){margin-bottom:10px}
.gh-shop-name{display:flex;align-items:center;gap:7px;min-width:0}
.gh-shop-name img{width:24px;height:24px;border-radius:7px;object-fit:cover;flex:none}
.gh-shop-name b{font-size:14px;line-height:1.35;font-weight:850;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gh-shop-type{font-size:11px;color:#879088;font-weight:650}
.gh-shop-when{font-size:11px;color:#2b9550;font-weight:700}
.gh-shop.closed .gh-shop-when{color:#c62828}
.gh-order{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #cce1d2;background:#f2faf4;color:var(--gd);border-radius:9px;min-height:36px;font-weight:850;font-size:12px;transition:.15s}
.gh-order i{font-size:10px}
.gh-shop:hover .gh-order{background:var(--g);border-color:var(--g);color:#fff}

/* ---------- search: items ---------- */
.gh-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.gh-item{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #edf1ed;border-radius:14px;padding:10px;color:var(--ink);box-shadow:0 4px 15px rgba(20,40,25,.035)}
.gh-item:hover{border-color:#bcd8c3}
.gh-item-img{width:64px;height:64px;border-radius:10px;background:#f7f9f7 center/contain no-repeat;flex:none}
.gh-item-bd{display:flex;flex-direction:column;gap:2px;min-width:0}
.gh-item-bd b{font-size:13px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gh-item-pr{font-weight:900;color:var(--gd);font-size:14px}
.gh-item-bd small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- location modal ---------- */
.gh-modal{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:16px}
.gh-modal[hidden]{display:none}
.gh-modal-bg{position:absolute;inset:0;background:rgba(12,24,16,.45)}
.gh-modal-card{position:relative;width:100%;max-width:420px;background:#fff;border-radius:18px;padding:24px 22px 22px;box-shadow:0 20px 60px rgba(0,0,0,.25);color:var(--ink);max-height:calc(100dvh - 32px);overflow:auto}
.gh-modal-card h3{margin:0 0 4px;font-size:19px}
.gh-modal-sub{margin:0 0 16px;font-size:13px;color:var(--muted)}
.gh-modal-x{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4f1;font-size:22px;line-height:1;cursor:pointer;color:#4b564e}
.gh-gps-msg{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff7e6;color:#7a4b00;font-size:12.5px;line-height:1.45}
.gh-gps-msg[hidden]{display:none}
.gh-or{display:flex;align-items:center;gap:10px;margin:18px 0 12px;color:#8a948d;font-size:12px;font-weight:700}
.gh-or::before,.gh-or::after{content:"";flex:1;height:1px;background:var(--line)}
.gh-field{display:block;font-size:12px;font-weight:800;color:#4b564e;margin-bottom:12px}
.gh-field select{display:block;width:100%;height:46px;margin-top:6px;padding:0 12px;border:1px solid #d6e0d8;border-radius:11px;background:#fff;font-size:15px;color:var(--ink)}
.gh-field select:disabled{background:#f4f6f4;color:#9aa49d}

/* ---------- toast ---------- */
.gh-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:10060;max-width:min(92vw,460px);padding:12px 18px;border-radius:12px;background:#17241b;color:#fff;font-size:13px;font-weight:650;box-shadow:0 10px 30px rgba(0,0,0,.25);text-align:center}
.gh-toast[hidden]{display:none}

@media(max-width:1080px){.gh-cats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){
  .gh-page .gh-sec-first{margin-top:22px}
  .gh-cats{display:flex;overflow-x:auto;gap:10px;scrollbar-width:none;padding-bottom:4px}
  .gh-cats::-webkit-scrollbar{display:none}
  .gh-cat{flex:0 0 112px;padding:8px}
  .gh-cat-ic{height:84px}
  .gh-cat-ic span{font-size:38px}
  .gh-cat b{font-size:11px}
  .gh-cat small{font-size:10px}
  .gh-locate{flex-direction:column;align-items:stretch;text-align:center;padding:20px 16px}
  .gh-locate-ic{margin:0 auto}
  .gh-locate-act{flex-direction:column}
  .gh-shops{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .gh-shop{border-radius:12px}
  .gh-shop-img{margin:8px 8px 0;border-radius:10px}
  .gh-shop-bd{padding:9px 10px 11px}
  .gh-shop-name b{font-size:12.5px}
  .gh-shop-type,.gh-shop-when{font-size:10px}
  .gh-order{font-size:11px;min-height:32px}
  .gh-items{grid-template-columns:1fr}
  .gh-modal{align-items:flex-end;padding:0}
  .gh-modal-card{max-width:none;border-radius:20px 20px 0 0;padding:22px 16px calc(20px + env(safe-area-inset-bottom))}
  .gh-toast{bottom:calc(80px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.gh-shop,.gh-cat{transition:none!important}}
