/* ApnaShehar website — plain CSS, mobile first. Same look as the Android app. */
@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url(fonts/PlusJakartaSans-400.ttf) format("truetype"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url(fonts/PlusJakartaSans-600.ttf) format("truetype"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url(fonts/PlusJakartaSans-700.ttf) format("truetype"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url(fonts/PlusJakartaSans-800.ttf) format("truetype"); }
@font-face { font-family: "Naskh"; font-weight: 400; font-display: swap; src: url(fonts/NotoNaskhArabic-400.ttf) format("truetype"); }
@font-face { font-family: "Naskh"; font-weight: 700; font-display: swap; src: url(fonts/NotoNaskhArabic-700.ttf) format("truetype"); }

:root {
  --navy: #102C3A; --navy-2: #1C4558; --navy-3: #16394B; --green: #35B58B; --act: #1B7F5E; --act-h: #156A4E; --ink: #146247; --tint: #E8F7F1;
  --bg: #F4F6F8; --paper: #fff; --line: #E3E8EC; --line-2: #D5DDE3; --muted: #5B6B76; --muted-2: #74858F; --amber: #F5A623; --call: #E7EEF2;
  --r-card: 16px; --r-tile: 18px; --r-ctl: 14px; --gut: 16px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--navy); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.ur { font-family: "Naskh", var(--font); line-height: 1.75; }
a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -.015em; line-height: 1.2; }
body.ur h1, body.ur h2 { letter-spacing: 0; line-height: 1.6; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.d { display: none !important; }
.sp { flex: 1; }
svg { flex: none; }

/* header */
.top { background: var(--bg); position: relative; z-index: 5; }
.toprow { display: flex; align-items: center; gap: 8px; padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--navy); }
.brand-txt { display: flex; flex-direction: column; min-width: 0; }
.word { font: 800 18px/1.2 var(--font); letter-spacing: -.02em; color: var(--navy); }
.word span { color: var(--act); }
.arealine { display: flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; }
.arealine span { overflow: hidden; text-overflow: ellipsis; }
.round { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); flex: none; }
.round.lang { font-weight: 700; font-size: 13px; width: auto; min-width: 44px; padding: 0 10px; border-radius: 22px; }
.round.lang [lang=ur] { font-family: "Naskh", serif; font-size: 14px; }
.dnav { display: none; }
.cta { background: var(--navy); color: #fff; border-radius: var(--r-ctl); padding: 12px 18px; font-weight: 800; white-space: nowrap; }

/* search */
.search { position: relative; flex: 1; min-width: 0; height: 50px; border-radius: var(--r-ctl); background: var(--paper); border: 1px solid var(--line-2); display: flex; align-items: center; gap: 10px; padding: 0 14px; box-shadow: 0 1px 2px rgba(16,44,58,.05); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 15px; height: 100%; }
.search input::placeholder { color: var(--muted); }
.search:focus-within { border-color: var(--act); box-shadow: 0 0 0 3px rgba(53,181,139,.18); }
.msearch { display: flex; gap: 10px; padding-top: 10px; padding-bottom: 4px; }
.filter { width: 50px; height: 50px; flex: none; border-radius: var(--r-ctl); background: var(--tint); display: flex; align-items: center; justify-content: center; }
.sugg { position: absolute; top: calc(100% + 6px); inset-inline: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-ctl); box-shadow: 0 12px 30px rgba(16,44,58,.14); overflow: hidden; z-index: 30; color: var(--navy); }
.sugg a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: var(--navy); }
.sugg a + a { border-top: 1px solid #EEF2F4; }
.sugg a:hover, .sugg a.on { background: var(--tint); }
.sugg small { margin-inline-start: auto; color: var(--muted-2); font-size: 12px; }

/* sections */
main { padding-bottom: 120px; min-height: 60vh; }
main > section, main > .wrap > section { margin-top: 26px; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.shead h2 { font-size: 18px; font-weight: 800; }
.shead p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.shead > a { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 13.5px; white-space: nowrap; min-height: 44px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; color: var(--navy); font-size: 12px; font-weight: 700; line-height: 1.25; }
.tic { width: 60px; height: 60px; border-radius: var(--r-tile); background: var(--bg, #ECEFF2); background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .15s; }
.tic { background: var(--bg); }
.tile .tic, .catcard .tic { background: var(--bg); }
.tile:hover .tic { transform: translateY(-2px); }
.tic.sm { width: 44px; height: 44px; border-radius: 13px; }
[style*="--bg"] .tic, .tic[style*="--bg"] { background: var(--bg); }

/* cards (same as the app's BizCard) */
.cards { list-style: none; margin: 0; padding: 0; }
.cards.row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; }
.cards.row::-webkit-scrollbar { display: none; }
.cards.row > .card { flex: 0 0 186px; scroll-snap-align: start; }
.cards.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.cl { display: block; color: var(--navy); }
.band { position: relative; display: block; height: 100px; overflow: hidden; background: var(--bg); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .mark { position: absolute; inset-inline-end: -18px; top: -8px; opacity: .17; }
.band .ic { position: absolute; inset-inline-start: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(16,44,58,.12); }
.ver { position: absolute; inset-inline-start: 50px; bottom: 16px; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 2px 8px 2px 3px; font-size: 11px; font-weight: 700; }
.ver svg { background: var(--act); border-radius: 50%; padding: 2px; width: 15px; height: 15px; }
.cb { display: block; padding: 10px 12px 0; min-width: 0; }
.nm { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.rate { display: inline-flex; align-items: center; gap: 3px; }
.rate b { color: var(--navy); }
.new { font-size: 11px; font-weight: 700; background: #EEF2F5; color: var(--navy); border-radius: 6px; padding: 1px 7px; }
.km::before { content: "·"; margin-inline-end: 6px; }
.fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 3px rgba(16,44,58,.15); }
.fav[aria-pressed="true"] svg { fill: #D93F44; stroke: #D93F44; }
.acts { display: flex; gap: 8px; padding: 10px 12px 12px; margin-top: auto; }
.call { width: 44px; height: 40px; border-radius: 12px; background: var(--call); display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--navy); font-weight: 700; flex: none; }
.wa { flex: 1; height: 40px; border-radius: 12px; background: var(--act); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13.5px; }
.wa:hover { background: var(--act-h); }

/* near me, request */
.nearbox { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.nearbox b { font-size: 15.5px; }
.nearbox p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.nic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex: none; }
.nearbox > div { flex: 1 1 200px; min-width: 0; }
.nearbox .btn { margin-inline-start: auto; }
@media (max-width: 599px) { .nearbox .btn { width: 100%; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; background: var(--act); color: #fff; font-weight: 800; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--act-h); }
.btn.ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
.btn.full { width: 100%; }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13px; }
.reqcta { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 22px; padding: 22px; }
.reqcta h2 { font-size: 21px; font-weight: 800; }
.reqcta p { color: #D5E1E7; margin: 8px 0 16px; max-width: 420px; font-size: 14px; }
.reqic { position: absolute; inset-inline-end: 18px; top: 18px; }
.reqcta::before { content: ""; position: absolute; inset-inline-end: -28px; top: -28px; width: 120px; height: 120px; border-radius: 50%; background: var(--navy-2); }
.reqcta > * { position: relative; }
.reqcta > .reqic { position: absolute; }

/* offers */
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offers.row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 6px; }
.offers.row::-webkit-scrollbar { display: none; }
.offers.row > li { flex: 0 0 300px; scroll-snap-align: start; }
.offers.grid { grid-template-columns: 1fr; }
.offer a { display: flex; min-height: 104px; background: #FEF4E2; border-radius: var(--r-card); overflow: hidden; color: var(--navy); }
.deal { flex: 0 0 96px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 800; font-size: 17px; line-height: 1.15; border-inline-end: 2px dashed rgba(255,255,255,.35); }
.ob { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-width: 0; }
.ob .shop { font-size: 12px; font-weight: 700; color: #8A5A00; }
.ob b { font-size: 15px; line-height: 1.3; }
.ob .price { font-weight: 800; color: var(--ink); }
.ob s { color: var(--muted-2); font-weight: 400; }
.till { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); margin-top: auto; }

/* titles, crumbs, chips */
.ptitle { padding: 18px 0 8px; }
.ptitle h1 { font-size: 26px; font-weight: 800; }
.ptitle p { margin: 4px 0 0; color: var(--muted); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin: 14px 0 8px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.lhead { display: flex; align-items: center; gap: 14px; background: var(--bg); background: color-mix(in srgb, var(--bg) 70%, #fff); border-radius: 20px; padding: 16px; }
.lhead h1 { font-size: 22px; font-weight: 800; }
.lhead p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.lhead .cic { width: 54px; height: 54px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.subchips, .chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px calc(var(--gut) * -1) 0; padding: 2px var(--gut); }
.subchips::-webkit-scrollbar, .chiprow::-webkit-scrollbar { display: none; }
.chiprow { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
.subchips a, .chiprow a { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.subchips a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px calc(var(--gut) * -1) 14px; padding: 2px var(--gut); align-items: center; }
.filters::-webkit-scrollbar { display: none; }
.chip { position: relative; height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; cursor: pointer; color: var(--navy); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.on { background: var(--tint); border-color: var(--act); color: var(--ink); }
.sel { height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); flex: none; }
.sel select { border: 0; background: transparent; height: 36px; font-weight: 600; font-size: 13.5px; max-width: 160px; cursor: pointer; }
.note { color: var(--muted); font-size: 13.5px; margin: 10px 0; }
.mini { font-size: 15px; margin: 22px 0 10px; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-weight: 700; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 44px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty b { font-size: 17px; }
.empty p { margin: 0 0 10px; color: var(--muted); max-width: 380px; }
.hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 26px; }

/* categories page */
.filterbox { display: flex; align-items: center; gap: 10px; height: 50px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-ctl); padding: 0 14px; margin: 8px 0 14px; }
.filterbox input { flex: 1; border: 0; outline: 0; background: transparent; height: 100%; }
.lead { position: relative; display: flex; align-items: flex-end; gap: 12px; min-height: 140px; background: var(--bg); border-radius: 22px; padding: 18px; overflow: hidden; color: var(--navy); margin-bottom: 12px; }
.lead .lmark { position: absolute; inset-inline-end: -22px; bottom: -30px; opacity: .13; }
.lt { flex: 1; display: flex; flex-direction: column; gap: 2px; position: relative; }
.lt .badge { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; margin-bottom: auto; }
.lt b { font-size: 21px; font-weight: 800; margin-top: 18px; }
.lt span:last-child { color: var(--ink); font-size: 13px; font-weight: 600; }
.ln { position: relative; display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
.ln b { font-size: 30px; font-weight: 800; line-height: 1; }
.ln i { margin-top: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.catgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cgcard { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 176px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px; overflow: hidden; color: var(--navy); }
.cgcard .wash { position: absolute; inset: 0 0 auto; height: 70px; background: var(--bg); opacity: .55; }
.cgcard .cmark { position: absolute; inset-inline-end: -16px; top: -14px; opacity: .12; }
.cgcard .cic { position: relative; width: 46px; height: 46px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.cgcard b { position: relative; font-size: 15px; font-weight: 800; margin-top: 16px; line-height: 1.25; }
.cgcard .tg { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: none; }
.cnt { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.nomatch { text-align: center; color: var(--muted); padding: 30px 0; }

/* business profile */
.biz > .wrap:first-child .crumb { margin: 10px 0; }
.biz .cover { height: 210px; background: var(--bg); position: relative; overflow: hidden; }
.biz .cover .cimg { width: 100%; height: 100%; object-fit: cover; }
.biz .cover .cmark { position: absolute; inset-inline-end: -30px; top: -30px; opacity: .14; }
.bizwrap { display: grid; gap: 18px; }
.bizmain { min-width: 0; }
.bhead { display: flex; align-items: flex-start; gap: 14px; margin-top: -46px; position: relative; }
.blogo { width: 84px; height: 84px; border-radius: 22px; background: var(--bg); border: 4px solid #fff; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; box-shadow: 0 2px 10px rgba(16,44,58,.12); }
.blogo img { width: 100%; height: 100%; object-fit: cover; }
.bhead > div { flex: 1; min-width: 0; padding-top: 50px; }
.bhead h1 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vbadge { width: 22px; height: 22px; border-radius: 50%; background: var(--act); display: inline-flex; align-items: center; justify-content: center; }
.bmeta { margin: 2px 0 0; color: var(--muted); }
.bstat { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 6px 0 0; font-size: 13.5px; }
.bstat .rate b { font-size: 14px; }
.open { font-weight: 700; }
.open.yes { color: var(--ink); }
.open.no { color: #B42318; }
.open small { color: var(--muted); font-weight: 400; margin-inline-start: 4px; font-size: 13px; }
.dist:empty { display: none; }
.fav.big { position: static; margin-top: 54px; width: 44px; height: 44px; border: 1px solid var(--line); box-shadow: none; }
.bacts { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.bacts > * { height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13.5px; }
.bacts .call, .bacts .dirs, .bacts .share { width: auto; background: var(--call); color: var(--navy); border: 0; cursor: pointer; }
.bsec { margin-top: 26px; }
.bsec h2, .box h2 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.bsec h2 small { color: var(--muted); font-weight: 600; font-size: 13px; }
.about { margin: 0; color: #34495A; }
.svc { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.svc li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.svc li + li { border-top: 1px solid #EEF2F4; }
.svc b { color: var(--ink); white-space: nowrap; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gal a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--line); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.revs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.revs li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.rh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: var(--amber); letter-spacing: 1px; }
.stars i { color: #D5DDE3; font-style: normal; }
.rh time { margin-inline-start: auto; color: var(--muted-2); font-size: 12px; }
.revs p { margin: 6px 0 0; }
.bside { display: grid; gap: 14px; align-content: start; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.box.small p { margin: 0; color: var(--muted); font-size: 13.5px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours th { text-align: start; font-weight: 600; padding: 7px 0; color: #34495A; vertical-align: top; }
.hours td { text-align: end; padding: 7px 0; }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 800; }
.addr { margin: 0 0 12px; color: #34495A; }
.mapprev { position: relative; display: block; height: 180px; border-radius: 14px; overflow: hidden; background: #E3EBE6 linear-gradient(135deg, #E8F0EA 25%, #DCE7E0 25%, #DCE7E0 50%, #E8F0EA 50%, #E8F0EA 75%, #DCE7E0 75%) 0 0 / 24px 24px; margin-bottom: 10px; }
.mapprev img { width: 100%; height: 100%; object-fit: cover; }
.mapph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); }
.mapprev .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); }
.stickybar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 20; display: flex; gap: 8px; padding: 8px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 24px rgba(16,44,58,.16); }
.stickybar .call { flex: 1; width: auto; height: 48px; }
.stickybar .wa { flex: 1.4; height: 48px; }
.biz ~ .bnav, body:has(.stickybar) .bnav { display: none; }

/* footer + phone menu */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 120px; color: var(--muted); font-size: 13.5px; }
.footrow { display: grid; gap: 16px; }
.foot p { margin: 8px 0 0; max-width: 360px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { color: var(--navy); font-weight: 600; }
.bnav { position: fixed; inset-inline: 14px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; height: 64px; background: var(--navy); border-radius: 24px; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; box-shadow: 0 6px 18px rgba(16,44,58,.28); z-index: 20; }
.bnav a { height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: #A9C0CC; }
.bnav a.on { background: var(--green); padding: 0 14px; color: var(--navy); font-weight: 700; font-size: 13.5px; }

/* desktop hero */
.hero { background: var(--navy); color: #fff; padding: 56px 0 64px; margin-top: 0 !important; }
.herogrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.loc { display: flex; align-items: center; gap: 6px; color: #8FD9BF; font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.hero h1 { font-size: 50px; line-height: 1.08; font-weight: 800; letter-spacing: -.035em; max-width: 580px; }
body.ur .hero h1 { font-size: 42px; line-height: 1.5; letter-spacing: 0; }

.herolead { color: #E2ECF1; font-size: 17px; margin: 14px 0 26px; }
.search.hero-s { height: 62px; border: 0; padding: 0 8px 0 16px; border-radius: 18px; }
.go { height: 46px; border: 0; border-radius: 12px; background: var(--act); color: #fff; font-weight: 800; padding: 0 22px; cursor: pointer; }
.pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; color: #D5E1E7; font-size: 14px; }
.pop a { background: var(--navy-2); color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; }
.pop a:hover { background: #24566c; }
.htiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.htiles .tile { background: #fff; border-radius: 18px; padding: 16px 8px; font-size: 14px; font-weight: 600; }
.htiles .tic { width: 46px; height: 46px; border-radius: 13px; }
.catlist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.catcard { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; color: var(--navy); min-width: 0; }
.catcard:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgba(16,44,58,.06); }
.cc { min-width: 0; }
.cc b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc span { font-size: 13px; color: var(--muted); }

@media (min-width: 600px) {
  .cards.grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .catgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .offers.grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; position: relative; }
  .chips span { background: var(--bg); background: #F1F4F6; border-radius: 999px; padding: 2px 8px; font-size: 11.5px; color: #34495A; }
  .gal { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  :root { --gut: 24px; }
  .m { display: none !important; }
  .d { display: flex !important; }
  section.d { display: block !important; }
  .round.d, .cta.d { display: inline-flex !important; }
  .top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; }
  .toprow { padding-top: 12px; padding-bottom: 12px; }
  .arealine { display: none; }
  .dnav { display: flex; gap: 26px; margin-inline-start: 28px; font-weight: 600; }
  .dnav a { color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; }
  .dnav a[aria-current] { border-color: var(--green); }
  .round { border: 0; background: transparent; }
  .round:hover { background: var(--bg); }
  .round.lang { border: 1px solid var(--line); }
  .bnav, .stickybar { display: none !important; }
  main { padding-bottom: 40px; }
  main > section, main > .wrap > section { margin-top: 48px; }
  .shead h2 { font-size: 26px; }
  .cards.row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .cards.row > .card:nth-child(n+11) { display: none; }
  .cards.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .band { height: 116px; }
  .offers.row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .ptitle h1 { font-size: 34px; }
  .foot { padding-bottom: 28px; }
  .footrow { grid-template-columns: 1fr auto; align-items: center; }
  .footrow small { grid-column: 1 / -1; }
  .biz .cover { height: 300px; border-radius: 0; }
  .bizwrap { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .bside { position: sticky; top: 90px; margin-top: 24px; }
  .bhead h1 { font-size: 32px; }
  .lhead { padding: 22px; }
  .lhead h1 { font-size: 30px; }
  .subchips, .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
  .catgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .lead { min-height: 170px; padding: 24px; }
}
@media (max-width: 359px) {
  :root { --gut: 12px; }
  .tic { width: 52px; height: 52px; }
  .tile { font-size: 11px; }
  .cards.row > .card { flex-basis: 168px; }
  .bacts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------------------------------------------------------------- personal pages */
.wrap.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: #34495A; }
.field > span small { font-weight: 400; color: var(--muted-2); }
.field em { font-style: normal; font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea, .inrow input { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); padding: 12px 14px; font-size: 15px; outline: 0; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5B6B76 50%), linear-gradient(135deg, #5B6B76 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 36px; }
[dir=rtl] .field select { background-position: 20px 22px, 15px 22px; }
.field input:focus, .field select:focus, .field textarea:focus, .inrow input:focus { border-color: var(--act); box-shadow: 0 0 0 3px rgba(53,181,139,.18); }
.field input.code { font-size: 26px; letter-spacing: 10px; text-align: center; font-weight: 700; }
.pw { position: relative; display: block; }
.pw .eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.err { margin: 0; color: #B42318; font-size: 13.5px; font-weight: 600; }
.err.ok { color: var(--ink); }
.linkbtn { background: none; border: 0; color: var(--ink); font-weight: 700; cursor: pointer; padding: 8px; min-height: 44px; }
.linkbtn.end { align-self: flex-end; margin-top: -8px; padding: 4px; }
.btn.big { height: 54px; font-size: 16px; }
.btn.danger { background: #B42318; }
.authcard, .card-form { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin-top: 18px; }
.authcard h1 { font-size: 28px; font-weight: 800; margin: 14px 0 6px; }
.authcard > .muted { margin: 0 0 18px; }
.authic { width: 60px; height: 60px; border-radius: 18px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.gbtn { min-height: 44px; display: flex; justify-content: center; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.profile { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-top: 6px; }
.profile h1 { font-size: 20px; font-weight: 800; }
.profile p { margin: 2px 0 8px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--ink); font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tagpill { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--tint); border-radius: 999px; padding: 3px 10px; }
.inrow { display: flex; gap: 8px; align-items: center; }
.card-form .inrow input { flex: 1; }
.lrows { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lrow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--navy); min-height: 60px; }
.lrow + .lrow { border-top: 1px solid #EEF2F4; }
.lrow:hover { background: #FAFBFC; }
.lrow > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.lrow small { color: var(--muted); font-size: 12.5px; }
.lic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; flex: none; }
.acctfoot { display: grid; gap: 12px; margin-top: 18px; }
details.more { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
details.more summary { cursor: pointer; font-weight: 700; }
details.more[open] summary { margin-bottom: 12px; }
details.danger summary { color: #B42318; }
.grid2 { display: grid; gap: 14px; }
.row2 { display: flex; gap: 8px; flex-wrap: wrap; }
.reqhead { margin: 10px 0 0; }
.reqhead h1 { font-size: 26px; font-weight: 800; }
.reqhead p { margin: 6px 0 0; }
.done { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px 20px; margin-top: 18px; }
.doneic { width: 64px; height: 64px; border-radius: 50%; background: var(--act); display: inline-flex; align-items: center; justify-content: center; }
.done h2 { margin: 14px 0 4px; font-size: 22px; }
.done .btn { margin-top: 14px; }
.reqlist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.reqlist > li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.rq { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.st { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: #FEF4E2; color: #8A5A00; }
.st-connected { background: var(--tint); color: var(--ink); }
.reqlist p { margin: 4px 0 12px; font-size: 13px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; font-size: 11.5px; color: var(--muted); }
.steps li { border-top: 4px solid var(--line); padding-top: 6px; }
.steps.s-sent li:nth-child(1), .steps.s-progress li:nth-child(-n+2), .steps.s-connected li { border-color: var(--act); color: var(--ink); font-weight: 700; }
.inbox { list-style: none; margin: 10px 0 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.inbox li + li { border-top: 1px solid #EEF2F4; }
.inbox a, .inbox li > div { display: flex; gap: 12px; padding: 14px 16px; color: var(--navy); }
.inbox .nb { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inbox .nb span { color: #34495A; font-size: 14px; }
.inbox time { color: var(--muted-2); font-size: 12px; }
.inbox li.unread { background: #F6FBF9; }
.inbox li.unread b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--act); margin-inline-start: 8px; vertical-align: middle; }
.inbox .nic { width: 42px; height: 42px; }
.stars-in { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.stars-in input { position: absolute; opacity: 0; pointer-events: none; }
.stars-in label { font-size: 40px; color: #D5DDE3; cursor: pointer; line-height: 1; }
.stars-in label:hover, .stars-in label:hover ~ label, .stars-in input:checked ~ label { color: var(--amber); }
.stars-in input:focus-visible + label { outline: 3px solid rgba(53,181,139,.5); border-radius: 6px; }
.faq { display: grid; gap: 10px; margin-bottom: 16px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: #34495A; }
.skel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.skel-grid span { height: 230px; border-radius: var(--r-card); background: linear-gradient(90deg, #ECEFF2, #F4F6F8, #ECEFF2); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } .skel-grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .skel-grid span { animation: none; } }
/* ---------------------------------------------------------------- Near Me map */
body.mapmode { overflow: hidden; }
body.mapmode .foot, body.mapmode .bnav { display: none !important; }
body.mapmode main { padding: 0; min-height: 0; }
.nm { position: relative; height: calc(100dvh - 62px); overflow: hidden; background: #E8EEF1; }
.nm .nm-map, .nm .nm-map.maplibregl-map { position: absolute; inset: 0; }
.nm-top { position: absolute; inset-inline: 0; top: 0; z-index: 3; display: flex; gap: 8px; padding: 10px 12px; align-items: center; pointer-events: none; }
.nm-top > * { pointer-events: auto; }
.nm-round { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(16,44,58,.18); display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; color: var(--navy); font-weight: 800; font-size: 13px; }
.nm-round[aria-pressed="true"], .nm-round[aria-expanded="true"] { background: var(--navy); color: #fff; }
.nm-round[aria-expanded="true"] svg { stroke: #fff; }
.nm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.nm-chips::-webkit-scrollbar { display: none; }
.nm-chip { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; border-radius: 999px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(16,44,58,.14); font-weight: 600; font-size: 13.5px; white-space: nowrap; cursor: pointer; color: var(--navy); }
.nm-chip[aria-pressed="true"], .nm-chip.on { background: var(--navy); color: #fff; }
.nm-chip.sel { padding-inline-end: 6px; }
.nm-chip select { border: 0; background: transparent; color: inherit; font-weight: 600; font-size: 13.5px; height: 38px; max-width: 140px; cursor: pointer; }
.nm-chip.on select option { color: var(--navy); }
.nm-area { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); z-index: 3; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--navy); color: #fff; border: 0; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 14px rgba(16,44,58,.3); cursor: pointer; }
.nm-ctrls { position: absolute; inset-inline-end: 12px; bottom: 150px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.nm-sheet { position: absolute; inset-inline: 0; bottom: 0; z-index: 4; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(16,44,58,.16); max-height: 72%; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.nm-handle { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 18px 16px 14px; cursor: pointer; text-align: start; position: relative; color: var(--navy); }
.nm-handle > span:first-child { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; border-radius: 4px; background: #D5DDE3; }
.nm-handle b { flex: 1; font-size: 14.5px; }
.nm-view { display: inline-flex; align-items: center; gap: 4px; background: var(--tint); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.nm-view i { font-style: normal; }
.nm-preview { padding: 0 14px 14px; }
.nm-list { list-style: none; margin: 0; padding: 0 12px 14px; overflow-y: auto; display: grid; gap: 8px; }
.nm-list li { cursor: pointer; }
.nm-empty { text-align: center; color: var(--muted); padding: 20px; }
.nm-card { border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: #fff; }
.nm-cl { display: flex; gap: 12px; color: var(--navy); align-items: center; }
.nm-ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.nm-card.big .nm-ic { width: 52px; height: 52px; border-radius: 15px; }
.nm-cb { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nm-cb b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-v { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--act); color: #fff; font-size: 10px; font-style: normal; align-items: center; justify-content: center; vertical-align: 2px; }
.nm-mt { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-row { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 2px; flex-wrap: wrap; }
.nm-r { color: var(--amber); }
.nm-r b { color: var(--navy); }
.nm-new { font-size: 11px; font-weight: 700; background: #EEF2F5; color: var(--navy); border-radius: 6px; padding: 0 6px; }
.nm-st.yes { color: var(--ink); font-weight: 700; }
.nm-st.no { color: #B42318; font-weight: 700; }
.nm-acts { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 8px; margin-top: 12px; }
.nm-acts a { height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; }
.nm-acts .call { width: auto; background: var(--call); color: var(--navy); }
.nm-acts .wa { background: var(--act); color: #fff; }
.nm-acts .go { background: var(--navy); color: #fff; }
.nm-me { width: 20px; height: 20px; border-radius: 50%; background: #2A78D6; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(42,120,214,.22), 0 2px 6px rgba(0,0,0,.25); }
.nm.nomap .nm-sheet { max-height: none; top: 64px; border-radius: 22px 22px 0 0; }
.nm-nojs { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--bg); z-index: 9; }
.nm .maplibregl-ctrl-top-right, .nm .maplibregl-ctrl-top-left { top: 60px; }
.nm .maplibregl-ctrl-group { border-radius: 14px; box-shadow: 0 2px 10px rgba(16,44,58,.18); }
.dnav a[href$="/near-me"]::before { content: none; }
@media (min-width: 1024px) {
  .nm { height: calc(100dvh - 69px); }
  .nm-sheet { inset-inline-start: 16px; inset-inline-end: auto; bottom: 16px; top: 76px; width: 380px; max-height: none; border-radius: 22px; }
  .nm-ctrls { bottom: 24px; }
  .nm-top { padding-inline-start: 412px; }
  .nm-area { left: calc(50% + 200px); }
}

.nearbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }
@media (max-width: 599px) { .nearbtns { width: 100%; } .nearbtns .btn { flex: 1; } }
.nm.pv .nm-ctrls { bottom: 250px; }

/* Near Me: graphics menu, notes, loading */
.nm-gfx { position: relative; }
.nm-gfxmenu { position: absolute; bottom: 0; inset-inline-end: 54px; width: 240px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(16,44,58,.22); padding: 8px; display: grid; gap: 2px; z-index: 6; }
.nm-gfxmenu label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; cursor: pointer; }
.nm-gfxmenu label:hover { background: var(--bg); }
.nm-gfxmenu input { margin-top: 4px; accent-color: #102C3A; }
.nm-gfxmenu b { display: block; font-size: 14px; }
.nm-gfxmenu small { color: var(--muted); font-size: 12px; }
.nm-gfxnote { margin: 4px 10px 6px; font-size: 12px; color: var(--ink); font-weight: 600; }
.nm-gfxnote:empty { display: none; }
.nm-note { position: absolute; top: 64px; inset-inline: 12px; margin: 0 auto; max-width: 520px; z-index: 5; background: #102C3A; color: #fff; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; box-shadow: 0 6px 18px rgba(16,44,58,.3); }
.nm-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; z-index: 1; background: repeating-linear-gradient(135deg, #EEF2F4 0 18px, #E8EEF1 18px 36px); }
@media (min-width: 1024px) { .nm-note { inset-inline-start: 412px; } }
