/* diyodar.com · the business profile (each business's mini-website). Loaded only on profile pages. */
/* ---------- business profile ---------- */
.cover{position:relative;height:190px;background:var(--brand);overflow:hidden}
.prof-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding-top:0}
.prof-head .logo-xl{margin-top:-44px}
.prof-head .logo-xl{position:relative;z-index:2}
.prof-cat{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);font-weight:700}
.prof-id h1{font-weight:var(--dw);font-size:clamp(30px,8vw,52px);line-height:1.08;letter-spacing:var(--dtrack);margin:4px 0;text-wrap:balance}
.prof-tag{font-size:16px;color:var(--muted)}
.prof-meta{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-top:10px}
.prof-url{font-family:var(--mono);font-size:12px;color:var(--muted)}
.prof-acts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;border-radius:var(--r);background:var(--surface2);color:var(--ink);text-decoration:none;font-size:12px;font-weight:800;border:0;cursor:pointer;padding:6px 2px}
.act .ic{width:22px;height:22px}
.act-call{background:var(--brand);color:var(--on-brand)}
.act-wa{background:#128c4a;color:#fff}
.act.act-off{background:var(--surface2)!important;color:var(--muted)!important;border:1px dashed var(--line);cursor:not-allowed;box-shadow:none}
.act-save[aria-pressed=true]{color:var(--bad)}
.act-save[aria-pressed=true] .ic{fill:currentColor}
.prof-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:8px}
.psec{padding:20px 0;border-bottom:1px solid var(--line)}
.psec h2{font-weight:var(--dw);font-size:22px;letter-spacing:var(--dtrack);margin-bottom:12px}
.cgroup+.cgroup{margin-top:16px}
.cgroup h3{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.citems li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.citems li:first-child{border-top:0}
.ci-n{display:flex;flex-direction:column;gap:2px;font-weight:700;min-width:0}
.ci-n .muted{font-weight:400;font-size:13px}
.ci-p{text-align:right;white-space:nowrap}.ci-p b{font-size:17px}.ci-p .muted{font-size:12px;display:block}
.ci-add{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;border:1.5px solid var(--brand);background:var(--surface);color:var(--brand);cursor:pointer}
.ci-add[aria-pressed=true]{background:var(--brand);color:var(--on-brand)}
.veg{display:inline-block;width:12px;height:12px;border:1.5px solid var(--ok);border-radius:2px;position:relative;margin-right:4px;vertical-align:-1px}
.veg:after{content:"";position:absolute;inset:2.5px;border-radius:50%;background:var(--ok)}
.tb-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.spots,.people,.branches{display:grid;gap:8px}
.spots li,.people li{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:var(--r);background:var(--surface2)}
.spots li span,.people li span{display:flex;flex-direction:column}
.spots li span span,.people li span span{font-size:13px;color:var(--muted)}
.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);flex:none}
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shot{margin:0}
.shot-art{aspect-ratio:4/3;border-radius:var(--r);display:grid;place-items:center;background:var(--brand);background-image:linear-gradient(135deg,rgba(255,255,255,.18),rgba(0,0,0,.12)),repeating-linear-gradient(45deg,rgba(255,255,255,.08) 0 12px,transparent 12px 24px);color:#fff}
.shot-art svg{width:42%;height:42%;fill:none;stroke:currentColor;stroke-width:1.2;opacity:.9}
.shot figcaption{font-size:13px;margin-top:6px}.shot figcaption span{display:block;font-size:11px;color:var(--muted)}
.prof-side{display:grid;gap:14px;align-content:start}
.hours li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.hours li:first-child{border-top:0}
.hours li span:last-child{text-align:right;font-variant-numeric:tabular-nums}
.hours li[aria-current]{font-weight:800;color:var(--brand)}
.ladder li{display:flex;gap:10px;padding:8px 0;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.ladder li:first-child{border-top:0}
.ladder li span{display:flex;flex-direction:column}.ladder li b{color:var(--ink);font-size:14px}
.ladder li.done .ic{color:var(--ok)}
.card-share{text-align:center}
.card-share header{justify-content:center}
.qr{width:150px;height:150px;margin:0 auto 8px;background:var(--surface2);border-radius:var(--r-sm);display:grid;place-items:center}
.qr svg{width:100%;height:100%}
.card-share .btns{justify-content:center;margin-top:10px}
.side-links{display:grid;gap:8px;font-size:14px}
.side-links a{color:var(--muted)}
.madeon{margin-top:30px;background:var(--surface2);padding:22px 0}
.madeon .wrap{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.madeon p{font-weight:700}
.cartbar{position:fixed;left:var(--pad);right:var(--padr);bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:31;display:flex;align-items:center;gap:8px;padding:10px 10px 10px 16px;border-radius:var(--r-lg);background:var(--ink);color:var(--bg);box-shadow:0 10px 30px rgba(0,0,0,.3)}
.cartbar{flex-wrap:wrap}
.cartbar [data-cart-count]{flex:1 1 100%;min-width:0;font-weight:800;line-height:1.25}
.cartbar .btn{white-space:nowrap}.cartbar .btn-wa{flex:1;justify-content:center}
.cartbar .btn-ghost{color:var(--bg);border-color:rgba(255,255,255,.3)}
.prof-bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px var(--padr) calc(8px + env(safe-area-inset-bottom,0px)) var(--pad);background:var(--hd-bg);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line);transition:transform .2s}
.prof-bar.off{transform:translateY(110%)}
.prof-bar .act{min-height:52px}

.faq details{background:var(--surface);border-radius:var(--r);box-shadow:var(--shadow);border:1px solid var(--card-line);padding:14px 16px;margin-bottom:8px}
.faq summary{font-weight:800;cursor:pointer}
.faq details p{margin-top:8px;color:var(--muted)}

/* ---------- profile: hero, tabs, offers, catalogue, branches, reviews, FAQ, share sheet ---------- */
.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover svg{width:100%;height:100%}
.cover:after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(to top,rgba(0,0,0,.25),transparent);pointer-events:none}
.logo img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.logo-xl{box-shadow:0 8px 24px rgba(0,0,0,.18)}
.hol-banner{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 14px;border-radius:var(--r);background:var(--bad-bg);color:var(--bad)}
.hol-list{display:flex;gap:8px;margin-top:10px;padding:10px 12px;border-radius:var(--r-sm);background:var(--tint);color:var(--tint-ink);font-size:13px}
.hol-list span{display:grid}
.prof-tabs{position:sticky;top:60px;z-index:20;background:color-mix(in srgb,var(--bg) 92%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);margin-top:14px}
.prof-tabs .wrap{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-top:9px;padding-bottom:9px}
.prof-tabs .wrap::-webkit-scrollbar{display:none}
.prof-tabs a{flex:none;padding:8px 14px;border-radius:99px;text-decoration:none;font-size:14px;font-weight:700;color:var(--muted);transition:background-color .2s,color .2s}
.prof-tabs a[aria-current]{background:var(--tint);color:var(--tint-ink)}
.psec h2{position:relative}
.psec-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.psec-h h2{margin:0}
.car-btns{display:flex;gap:6px}.car-btns .icon-btn{width:38px;height:38px}
.offers{display:grid;gap:12px}
.offers-many{grid-auto-flow:column;grid-auto-columns:min(86%,360px);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 8px}
.offers-many::-webkit-scrollbar{display:none}
.offer{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px 18px 16px;border-radius:var(--r-lg);background:linear-gradient(140deg,var(--tint),var(--surface) 70%);border:1.5px dashed color-mix(in srgb,var(--brand) 55%,transparent);scroll-snap-align:start;overflow:hidden}
.offer:after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:var(--brand);opacity:.08}
.offer-ic{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--brand);color:var(--on-brand);margin-bottom:4px}
.offer b{font-family:var(--display);font-weight:var(--dw);font-size:20px;line-height:1.25}
.offer p{font-size:14px;color:var(--muted)}
.offer-left{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:6px}
.offer-cd{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:99px;background:var(--brand);color:var(--on-brand);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.offer-left>span:last-child{font-size:12px}
.cat-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin-bottom:6px}
.cat-q{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;border-radius:var(--r);background:var(--surface2);color:var(--muted);font-weight:400}
.cat-q input{flex:1;min-width:0;width:100%;border:0;background:transparent;font-size:16px;color:var(--ink);outline:0;height:100%}
.cat-q:focus-within{box-shadow:0 0 0 2.5px var(--focus)}
.cgroup[hidden],.citems li[hidden]{display:none}
.bsw{display:flex;gap:6px;padding:4px;border-radius:var(--r);background:var(--surface2);margin-bottom:10px}
.bsw button{flex:1 1 0;min-width:0;text-align:center;line-height:1.25;padding-top:6px;padding-bottom:6px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 14px;border:0;border-radius:11px;background:transparent;font-weight:700;font-size:14px;cursor:pointer;color:var(--muted)}
.bsw button[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}
.bpanel{display:grid;gap:6px;padding:14px;border-radius:var(--r);background:var(--surface2)}
.bpanel span{font-size:14px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.bpanel .btn{justify-self:start;margin-top:4px}
.rv-empty{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:16px;border-radius:var(--r-lg);background:var(--surface2)}
.rv-empty>.ic{width:34px;height:34px;color:var(--ok)}
.rv-empty p{font-size:14px;color:var(--muted);margin-top:2px}
.rv-empty .btn{grid-column:1/-1;justify-self:start}
.rv-sum{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;margin-bottom:12px}
.rv-avg{display:grid;justify-items:center}.rv-avg b{font-size:44px;line-height:1}.rv-avg span{font-size:12px;color:var(--muted);text-align:center;max-width:12ch}
.rv-bars li{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:8px;align-items:center;font-size:12px}
.rv-bars i{height:7px;border-radius:4px;background:linear-gradient(90deg,var(--brand) var(--w),var(--surface2) var(--w))}
.rv-list li{padding:12px 0;border-top:1px solid var(--line)}.rv-who{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted)}.rv-who b{color:var(--ink)}.rv-s{color:var(--warn);letter-spacing:1px}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{transition:transform .2s var(--ease);color:var(--brand)}
.faq details[open] summary .ic{transform:rotate(45deg)}
.mapart{display:block;width:100%;height:120px;border-radius:var(--r-sm);margin-bottom:10px}
.m-bg{fill:var(--surface2)}.m-blk rect{fill:var(--surface);stroke:var(--line)}.m-road{stroke:var(--line);stroke-width:10;fill:none}.m-rail{stroke:var(--muted);stroke-width:2;stroke-dasharray:6 5;fill:none;opacity:.5}
.act-save[aria-pressed=true] .ic{animation:pop .35s var(--ease)}
@keyframes pop{50%{transform:scale(1.3)}}
.sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:520px;max-height:92vh;border-radius:24px 24px 0 0;background:var(--bg);color:var(--ink);box-shadow:var(--shadow-lg)}
.sheet[open]{animation:up .28s var(--ease)}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.sheet::backdrop{background:rgba(10,8,6,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.sheet-in{padding:18px var(--padr) calc(20px + env(safe-area-inset-bottom,0px)) var(--pad);display:grid;gap:12px}
.sheet-in>header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sheet h2{font-family:var(--display);font-weight:var(--dw);font-size:22px}
.sheet-k{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.wa-chat{padding:14px;border-radius:var(--r);background:#efeae2;background-image:radial-gradient(rgba(0,0,0,.04) 1px,transparent 1px);background-size:14px 14px}
.wa-bubble{margin-left:auto;max-width:300px;padding:4px 4px 8px;border-radius:12px 2px 12px 12px;background:#d9fdd3;color:#111b21;box-shadow:0 1px 1px rgba(0,0,0,.12);font-size:14px}
.wa-card{border-radius:9px;overflow:hidden;background:#cdf0c6}
.wa-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:var(--brand)}
.wa-card div{display:grid;gap:1px;padding:8px 10px}
.wa-card b{font-size:14px;line-height:1.3}.wa-card span{font-size:12px;color:#54656f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.wa-card small{font-size:11px;color:#667781}
.wa-bubble>p{padding:6px 6px 0;color:#027eb5;overflow-wrap:anywhere}
.sheet-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sheet-acts .btn-wa{grid-column:1/-1}
@media (min-width:720px){
  .sheet{margin:auto;border-radius:24px}
  .offers-many{grid-auto-columns:minmax(0,calc(50% - 6px))}
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cover{height:260px}
}
@media (min-width:1000px){
  .prof-bar{display:none}
  .cartbar{bottom:24px;left:auto;right:24px;width:440px}
  .prof-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:20px;padding-top:18px}
  .prof-head .logo-xl{margin-top:-62px}
  .prof-acts{align-self:center}
  .prof-acts{grid-template-columns:repeat(5,76px)}
  .prof-grid{grid-template-columns:minmax(0,1fr) 340px;gap:36px}
  .prof-side{position:sticky;top:130px;padding-top:18px}
  .cover{height:300px}
}
.prof-meta .state{flex-basis:100%}

/* Accents the owner picks for the page, within the Kesudo look; the button colour stays the business colour. At night,
   text drawn in the business colour is lightened so it keeps AA contrast on dark cards. */
.prof[data-look=neem]{--tint:#e6f3ec;--tint-ink:#0f5a3f;--hero-bg:#eef7f1}
.prof[data-look=chandan]{--tint:#f8efd9;--tint-ink:#6b4a0c;--hero-bg:#fbf5e6}
.prof[data-look=jambu]{--tint:#f1e9f7;--tint-ink:#55207a;--hero-bg:#f6f0fa}
.prof .phero{background:linear-gradient(180deg,transparent 0,transparent 60%,var(--tint) 100%)}
.prof-acts .act:not(.act-call):not(.act-wa):not(.act-off){background:var(--surface);box-shadow:var(--shadow)}
:root[data-mode=dark] .prof[data-look=neem]{--tint:#13291f;--tint-ink:#9fe0bf}:root[data-mode=dark] .prof[data-look=chandan]{--tint:#2e2410;--tint-ink:#ecd29a}:root[data-mode=dark] .prof[data-look=jambu]{--tint:#28183a;--tint-ink:#dcc0f2}
:root[data-mode=dark] .prof{--brand-t:color-mix(in srgb,var(--brand) 45%,#fff)}
:root[data-mode=dark] .prof .hours li[aria-current],:root[data-mode=dark] .prof .faq summary .ic,:root[data-mode=dark] .prof .ci-add{color:var(--brand-t)}
:root[data-mode=dark] .prof .ci-add{border-color:var(--brand-t)}
:root[data-mode=dark] .prof .ci-add[aria-pressed=true]{background:var(--brand-t);color:#1a0e08}
.offer .wa-send{align-self:flex-start;margin-top:8px}
.story+.speak{margin-top:10px}
.owner-links{margin-top:12px}
.token{display:grid;gap:6px;justify-items:start;margin-bottom:12px}
.card-upi{text-align:center}.card-upi header{justify-content:center}.card-upi .btn{width:100%;margin:6px 0}
.act-share{color:var(--wa-ink)}

/* WhatsApp send and read aloud (also in town.02aef85478.css) */
.wa-send{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:99px;background:var(--wa-bg);color:var(--wa-ink);font-size:13px;font-weight:800;text-decoration:none}
.speak{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:700;cursor:pointer}
.speak[aria-pressed=true]{background:var(--ink);color:var(--bg)}
