
/* VOICE: the AvisPets app itself, on the web
   IDEA: the app's Explorer list and place sheet, as a website
   PICTURE: community dog photos in the header, photo cards in the results
   COLOUR and TYPE: app tokens, ecru ground, white cards, orange #FF7519, maroon #682F2A, navy titles; Avenir Next / Nunito Sans
   LAYOUT: header with logo, title and photo mosaic, search, filters, photo cards, place sheet on tap */
:root{color-scheme:light;--bg:#f7f3ee;--ora:#ff7519;--ora2:#ee7e3a;--oral:#fff0e3;--mar:#682f2a;--nav:#273043;--txt:#4a4a4a;--sub:#7a7a7a;--line:#ece4da}
*{box-sizing:border-box;min-width:0}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.5 "Avenir Next","Nunito Sans",system-ui,sans-serif;overflow-x:clip}
.wrap{max-width:1080px;margin:0 auto;padding:0 max(4vw,16px)}
button,select,input{font-family:inherit}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}


header{padding:20px 0 8px}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.logo img{width:46px;height:46px;object-fit:contain}
.logo span{font-weight:800;font-size:24px;color:var(--mar);letter-spacing:-.3px}
.dl{background:var(--ora2);color:#fff;text-decoration:none;font-weight:700;border-radius:14px;padding:0 18px;min-height:44px;display:inline-flex;align-items:center;font-size:15px;white-space:nowrap}
.hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:center;margin-top:26px}
h1{font-weight:800;font-size:clamp(32px,5vw,50px);line-height:1.06;color:var(--nav);margin:0 0 10px;text-wrap:balance}
.lead{margin:0 0 20px;color:var(--sub);font-size:17px;max-width:46ch}
.stats{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 20px;color:var(--nav);font-weight:700;font-size:15px}
.stats b{color:var(--ora)}
.bar{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:6px 6px 6px 16px;box-shadow:0 6px 20px rgba(104,47,42,.07)}
.bar:focus-within{border-color:var(--ora)}
.bar svg{flex:none;width:22px;height:22px;color:var(--sub)}
.bar input{flex:1;border:0;background:transparent;font-weight:600;font-size:17px;color:var(--nav);padding:12px 0;outline:none}
.bar button{flex:none;border:0;border-radius:14px;background:var(--ora);color:#fff;font-weight:700;font-size:16px;padding:0 20px;min-height:46px;cursor:pointer}
.ex{margin:12px 0 0;font-size:15px;color:var(--sub)}
.ex a{color:var(--ora);font-weight:700;margin-right:12px;cursor:pointer;text-decoration:none;white-space:nowrap}
.mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;aspect-ratio:3/2.2}
.mosaic img{width:100%;height:100%;object-fit:cover;border-radius:20px;background:var(--oral)}
.mosaic img:first-child{grid-row:span 2}
@media(max-width:760px){.bar button{padding:0 14px}.hero{grid-template-columns:1fr}.mosaic{order:-1;aspect-ratio:3/1.6}.lead{margin-bottom:14px}}


main{padding:22px 0 40px}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 14px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--line);background:#fff;color:var(--nav);border-radius:999px;padding:0 16px 0 10px;min-height:44px;font-weight:600;font-size:15px;cursor:pointer}
.chip img{width:24px;height:24px;object-fit:contain}
.chip.all{padding-left:16px}
.chip[aria-pressed=true]{background:var(--ora);border-color:var(--ora);color:#fff}
.filters{display:grid;grid-template-columns:repeat(2,minmax(0,220px)) auto;gap:10px;margin:2px 0 14px;align-items:end}
.filters label{display:grid;gap:4px;font-size:13px;font-weight:700;color:var(--nav)}
.filters select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7519' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/18px;border:1.5px solid var(--line);border-radius:14px;min-height:46px;padding:0 38px 0 14px;font-weight:600;font-size:16px;color:var(--nav);width:100%}
.filters select:focus{outline:none;border-color:var(--ora)}
.reset{border:0;background:transparent;color:var(--ora);font-weight:700;font-size:15px;min-height:46px;cursor:pointer;padding:0 6px;justify-self:start}
@media(max-width:520px){.filters{grid-template-columns:1fr 1fr}.reset{grid-column:span 2;min-height:34px}}
.where{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:10px 0 0}
.radius{margin:12px 0 0;display:grid;gap:6px;font-weight:700;color:var(--nav);font-size:15px}
.rseg{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.rseg button{min-height:46px}
.ou{position:relative;display:flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:0 6px 0 14px;min-height:52px}
.ou:focus-within{border-color:var(--ora)}
.ou>svg{flex:none;width:22px;height:22px;color:var(--ora)}
.ou input{flex:1;border:0;outline:none;background:transparent;font-size:17px;font-weight:600;color:var(--nav);padding:12px 0}
.x{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--oral);color:var(--nav);font-size:22px;cursor:pointer}
.sug{position:absolute;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(39,48,67,.18);z-index:5;max-height:330px;overflow:auto}
.sug li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 12px;min-height:48px;border-radius:12px;cursor:pointer;font-size:16px;color:var(--nav);font-weight:600}
.sug li small{color:var(--sub);font-weight:600;font-size:13px;white-space:nowrap}
.sug li[aria-selected=true],.sug li[role=option]:hover{background:var(--oral)}
.geo{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--ora);background:#fff;color:var(--ora);border-radius:16px;padding:0 16px;min-height:52px;font-weight:800;font-size:16px;cursor:pointer;white-space:nowrap}
.geo svg{width:22px;height:22px;flex:none}
.geo[aria-pressed=true]{background:var(--ora);color:#fff}
@media(max-width:560px){.where{grid-template-columns:1fr}.geo{justify-content:center}}
.tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:2px 0 10px}
.fbtn{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--line);background:#fff;color:var(--nav);border-radius:14px;padding:0 16px;min-height:48px;font-weight:800;font-size:16px;cursor:pointer}
.fbtn svg{width:22px;height:22px}
.nb{background:var(--ora);color:#fff;border-radius:999px;min-width:24px;height:24px;display:inline-grid;place-items:center;font-size:13px;padding:0 6px}
.tri{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--nav);font-size:15px}
.tri select,.fsel{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7519' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/18px;border:1.5px solid var(--line);border-radius:14px;min-height:48px;padding:0 38px 0 14px;font-weight:600;font-size:16px;color:var(--nav)}
.fsel{width:100%}
.actives{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.actives:empty{display:none}
.pill{display:inline-flex;align-items:center;gap:6px;background:var(--oral);color:var(--mar);border:0;border-radius:999px;padding:0 8px 0 14px;min-height:40px;font-weight:700;font-size:15px;cursor:pointer}
.pill b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:var(--mar);font-size:17px;line-height:1}
.msg{background:#fff;border-left:4px solid var(--ora);border-radius:12px;padding:12px 14px;margin:6px 0 10px;color:var(--nav);font-size:15px}
.dist{color:var(--ora);font-weight:800}
.fpanel{display:flex;flex-direction:column}
.fhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.fhead .close{position:static;float:none;margin:0;flex:none}
.fhead .fh{margin:0}
@media(max-width:560px){.tools{flex-wrap:nowrap}.tri>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.tri select{max-width:210px}}
@media(min-width:800px){.fpanel{inset:6vh 0 6vh 0;max-width:560px}}
.fh{margin:16px 0 4px;font-weight:800;font-size:24px;color:var(--nav)}
.fl{margin:18px 0 8px;font-weight:800;color:var(--nav);font-size:17px}
.fx{margin:-6px 0 10px;color:var(--sub);font-size:14px}
.seg{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.seg button{border:1.5px solid var(--line);background:#fff;border-radius:14px;min-height:50px;font-weight:700;font-size:15px;color:var(--nav);cursor:pointer;padding:0 4px}
.seg button[aria-pressed=true]{background:var(--ora);border-color:var(--ora);color:#fff}
@media(max-width:400px){.seg{grid-template-columns:1fr 1fr}}
.opts{display:grid;gap:8px}
.opt{display:flex;align-items:center;gap:12px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:0 14px;min-height:56px;cursor:pointer;font-size:16px;font-weight:700;color:var(--nav)}
.opt input{width:24px;height:24px;accent-color:var(--ora);flex:none;margin:0}
.opt span{flex:1}
.opt small{color:var(--sub);font-weight:600;font-size:14px}
.opt:has(input:checked){border-color:var(--ora);background:var(--oral)}
.fbar{position:sticky;bottom:0;display:flex;gap:10px;align-items:center;justify-content:space-between;padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);margin-top:20px}
.go{flex:1;max-width:320px;border:0;border-radius:16px;background:var(--ora);color:#fff;font-weight:800;font-size:17px;min-height:54px;cursor:pointer}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.tag{background:#fff;border-radius:999px;padding:6px 12px;font-weight:700;font-size:14px;color:var(--nav)}
.tag::before{content:"✓ ";color:var(--ora)}
.tags small{flex-basis:100%;color:var(--sub);font-size:13px}
.count{color:var(--nav);font-weight:800;font-size:17px;margin:6px 0 14px}
.list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}
.card{text-decoration:none;background:#fff;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 12px rgba(104,47,42,.07);cursor:pointer;text-align:left;border:0;padding:0;font:inherit;color:inherit}
.card:focus-visible{outline:3px solid var(--ora);outline-offset:2px}
.ph{position:relative;aspect-ratio:16/10;background:var(--oral);overflow:hidden;flex:none}
.ph img.cv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ph .noph{position:absolute;inset:0;display:grid;place-items:center}
.ph .noph img{width:64px;height:64px;opacity:.9}
.badge{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:4px 12px 4px 6px;font-weight:700;font-size:13px;color:var(--nav);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.badge img{width:22px;height:22px;object-fit:contain}
.note{position:absolute;right:12px;top:12px;background:#fff;border-radius:999px;padding:3px 10px;font-weight:800;font-size:14px;color:var(--nav);white-space:nowrap}
.note span{color:var(--ora)}
.body{padding:14px 16px 16px;display:grid;gap:4px}
.card h2{font-weight:800;font-size:18px;line-height:1.25;color:var(--nav);margin:0}
.meta{color:var(--sub);font-size:14px}
.quote{margin:4px 0 0;font-size:15px;color:var(--txt)}
.more{display:block;margin:22px auto 0;border:0;background:var(--ora);color:#fff;border-radius:14px;min-height:48px;padding:0 26px;font-weight:700;font-size:16px;cursor:pointer}
.empty{background:#fff;border-radius:22px;padding:28px;text-align:center;color:var(--sub);grid-column:1/-1}
.foot{color:var(--sub);font-size:13px;text-align:center;padding:0 16px 30px}


.sheet{position:fixed;inset:0;background:rgba(39,48,67,.45);display:none;z-index:10}
.sheet.on{display:block}
.panel{position:absolute;inset:auto 0 0 0;max-height:92vh;overflow:auto;background:var(--bg);border-radius:28px 28px 0 0;max-width:760px;margin:0 auto}
@media(min-width:800px){.panel{inset:4vh 0 4vh 0;border-radius:28px;max-height:none}}
.grab{width:56px;height:6px;border-radius:6px;background:#d8cfc4;margin:10px auto 0}
.close{position:sticky;top:10px;float:right;margin:10px 12px 0 0;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--nav);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.15);z-index:2}
.hd{padding:0 18px}
.big{margin:14px 18px 0;border-radius:22px;overflow:hidden;aspect-ratio:16/10;background:var(--oral);display:grid;place-items:center}
.big img{width:100%;height:100%;object-fit:cover}
.big img.ico{width:90px;height:90px;object-fit:contain}
.ttl{display:flex;align-items:center;gap:12px;margin:16px 0 6px}
.ttl .ic{flex:none;width:52px;height:52px;border-radius:50%;background:var(--oral);display:grid;place-items:center}
.ttl .ic img{width:30px;height:30px;object-fit:contain}
.ttl h3{margin:0;font-weight:800;font-size:24px;line-height:1.2;color:var(--nav)}
.sub{color:var(--sub);font-size:15px;margin:0 0 12px}
.kpis{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.kpi{background:#fff;border-radius:16px;padding:10px 14px;font-weight:800;color:var(--nav)}
.kpi small{display:block;font-weight:600;color:var(--sub);font-size:13px}
.kpi span{color:var(--ora)}
.cta{display:flex;justify-content:center;align-items:center;min-height:52px;border-radius:16px;background:var(--ora);color:#fff;font-weight:800;text-decoration:none;font-size:17px;margin:4px 0 18px}
.rh{font-weight:800;color:var(--nav);font-size:18px;margin:0 0 10px}
.rv{background:#fff;border-radius:20px;padding:14px;margin-bottom:12px;display:grid;gap:8px}
.rv img{width:100%;max-height:340px;object-fit:cover;border-radius:14px}
.rv .r1{display:flex;justify-content:space-between;color:var(--sub);font-size:14px}
.rv .st{color:var(--ora);font-weight:800;letter-spacing:1px}
.rv p{margin:0;font-size:15px}
.pad{height:20px}

.ttl h1{margin:0;font-weight:800;font-size:clamp(24px,4vw,32px);line-height:1.2;color:var(--nav)}
.cta{padding:0 16px;text-align:center}
.zoom{display:block;border:0;padding:0;margin:0;background:none;cursor:zoom-in;width:100%;height:100%}
.zoom img{display:block}
.mosaic2{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin:0 0 22px}
.mosaic2 .zoom{aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--oral)}
.mosaic2 img{width:100%;height:100%;object-fit:cover}
.mosaic2 .zoom{position:relative}
.more9{position:absolute;inset:0;display:grid;place-items:center;background:rgba(39,48,67,.55);color:#fff;font-weight:800;font-size:24px}
.rvb{display:flex;gap:12px;align-items:flex-start}
.rth{flex:none;width:88px;height:88px;border-radius:12px;overflow:hidden;background:var(--oral)}
.rth img{width:100%;height:100%;object-fit:cover}
.lb{position:fixed;inset:0;z-index:50;background:rgba(20,20,24,.94);display:flex;align-items:center;justify-content:center}
.lb[hidden]{display:none}
.lb img{max-width:94vw;max-height:84vh;object-fit:contain;border-radius:10px}
.lbx,.lbp,.lbn{position:absolute;border:0;background:rgba(255,255,255,.92);color:var(--nav);width:48px;height:48px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;display:grid;place-items:center}
.lbx{top:16px;right:16px}.lbp{left:12px;top:50%;transform:translateY(-50%)}.lbn{right:12px;top:50%;transform:translateY(-50%)}
.lbc{position:absolute;bottom:14px;left:0;right:0;text-align:center;color:#fff;font-weight:700;margin:0}
.appbox{background:#fff;border-radius:20px;padding:16px;margin:4px 0 20px;border:1.5px solid var(--oral)}
.appbox .cta{margin:10px 0 10px}
.apt{margin:0;color:var(--nav);font-weight:700;font-size:16px}
.cta2{display:flex;justify-content:center;align-items:center;text-align:center;min-height:52px;border-radius:16px;border:2px solid var(--ora);color:var(--ora);font-weight:800;text-decoration:none;font-size:16px;padding:0 16px}
.apn{margin:8px 0 0;color:var(--sub);font-size:14px;text-align:center}
.crumb{font-size:14px;color:var(--sub);margin:18px 0 0}.crumb a{color:var(--ora);text-decoration:none;font-weight:700}
.page{padding:8px 0 40px}.page h1{font-size:clamp(28px,4.4vw,42px);margin:16px 0 8px}
.place{max-width:760px}.place .big{margin:16px 0 0}.place .hd{padding:0}
.near{margin-top:34px}.near h2,.cities h2{font-weight:800;color:var(--nav);font-size:22px;margin:0 0 14px}
.cities{padding:10px 0 34px}.cities ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cities a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;border:1.5px solid var(--line);color:var(--nav);font-weight:700;text-decoration:none;font-size:15px}
.cities a small{color:var(--sub);font-weight:600;margin-left:6px}
.catnav{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 20px}
.catnav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 10px;border-radius:999px;background:#fff;border:1.5px solid var(--line);color:var(--nav);font-weight:700;text-decoration:none;font-size:15px}
.catnav img{width:24px;height:24px}
.catsec{scroll-margin-top:16px;margin-bottom:26px}.catsec>h2{font-weight:800;color:var(--nav);font-size:22px;margin:0 0 12px;display:flex;align-items:center;gap:10px}.catsec>h2 img{width:30px;height:30px}
.legal{max-width:760px}.legal h2{color:var(--nav);font-size:20px;margin:26px 0 6px}.legal p,.legal li{font-size:16px}
.sitefoot{border-top:1px solid var(--line);margin-top:10px;padding:24px 0 36px;color:var(--sub);font-size:14px}
.sitefoot .wrap{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;justify-content:space-between}
.sitefoot nav{display:flex;flex-wrap:wrap;gap:8px 18px}.sitefoot a{color:var(--nav);font-weight:700;text-decoration:none}
