/* Peluditos CSS layout (después de Leaflet) — extraído de index.html */
header{position:fixed!important;top:0;left:0;right:0;z-index:80;background:#fff}
footer{position:fixed!important;bottom:0;left:0;right:0;z-index:80;height:auto!important;max-height:none!important;overflow:visible;background:#fff;border-top:1px solid #eee;padding:0!important}
footer>div{display:flex!important;align-items:center;justify-content:center;gap:8px;padding:6px 12px!important;margin:0!important;max-width:none!important}
footer{display:flex!important;align-items:center;justify-content:center;gap:10px;padding:10px 12px!important}
#peluPerdidosBtn{background:#FFD600;color:#111;border-radius:999px;padding:8px 15px;font:700 12px Inter,system-ui;text-decoration:none}
#peluContactoBtn{background:#fff;color:#111;border:1px solid #ddd;border-radius:999px;padding:8px 15px;font:700 12px Inter,system-ui;text-decoration:none}
#peluFichasBtn{background:#00A859;color:#fff;border-radius:999px;padding:8px 15px;font:700 12px Inter,system-ui;text-decoration:none}
#peluAdopcionBtn{background:#7C3AED;color:#fff;border-radius:999px;padding:8px 15px;font:700 12px Inter,system-ui;text-decoration:none}
#peluPerdidosBtn,#peluAdopcionBtn,#peluFichasBtn,#peluContactoBtn{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:54px;line-height:1.05;text-align:center;flex-shrink:0}
.peluBtnI{display:flex;align-items:center;justify-content:center;line-height:0}
.peluBtnI svg{width:22px;height:22px;display:block}
#peluContactoBtn .peluBtnI svg{width:32px;height:32px}
#peluAdopcionBtn .peluHogar{width:50px;height:24px}
#peluPerdidosBtn .peluHuella{width:44px;height:22px}
#peluFilterRow #pwaInstallBtn{order:97;width:36px;height:36px;min-width:36px;min-height:36px;max-height:36px;padding:0;border-radius:6px;background:transparent;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden}
#peluFilterRow #peluBuy{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;justify-content:center}
#peluBuy svg{width:22px;height:22px}
#peluFilterRow #peluPlayBtn{order:96;width:44px;height:44px;min-width:44px;min-height:44px;max-height:44px;padding:0;justify-content:center;border-radius:999px}
#peluPlayBtn svg{width:22px;height:22px}
#peluPlayBtn span{display:none}
#peluSearchBar{display:none}
#peluFilterRow button[data-cat],#peluFilterRow #peluPerdidoBtn,#peluFilterRow #peluRefugioBtn{display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center;text-align:center;box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:none!important;width:70px!important;min-width:70px!important;max-width:70px!important;padding:2px 4px 2px!important;gap:1px!important;line-height:1;border-radius:14px}
.peluCatL{display:block;font:700 10px/1.1 Inter,system-ui,sans-serif;letter-spacing:0;white-space:nowrap}
#peluFilterRow button[data-cat="vet"] .peluCatL{color:#fff}
#peluFilterRow button[data-cat="grooming"] .peluCatL,#peluFilterRow button[data-cat="store"] .peluCatL{color:#27272a}
#peluFilterRow #peluPerdidoBtn{background:#F3E8FF;border-color:transparent}
#peluFilterRow #peluPerdidoBtn .peluCatL,#peluFilterRow #peluPerdidoBtn.mion .peluCatL{color:#27272a}
#peluFilterRow #peluRefugioBtn{background:#FDE7D4;border-color:transparent}
#peluFilterRow #peluRefugioBtn .peluCatL,#peluFilterRow #peluRefugioBtn.mion .peluCatL{color:#27272a}
#peluFilterRow #peluRefugioBtn>span:first-child{margin:0 auto;border-radius:999px;background:#fff}
#peluFilterRow #peluRefugioBtn .peluAnfora{width:24px!important;height:24px!important;display:block}
#peluFilterRow button[data-cat]>div:first-child{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:18px!important}
#peluFilterRow #peluPerdidoBtn>span:first-child,#peluFilterRow #peluRefugioBtn>span:first-child{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;display:flex!important;align-items:center;justify-content:center;font-size:20px!important;line-height:1!important}
#peluFilterRow #peluPerdidoBtn>span:first-child{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:0 auto;border-radius:999px;background:#fff}
#peluFilterRow #peluPerdidoBtn .peluCasita{width:24px!important;height:24px!important;display:block}
#peluFilterRow button[data-cat],#peluFilterRow #peluPerdidoBtn,#peluFilterRow #peluRefugioBtn{border-width:2px!important}
#peluFilterRow #pwaInstallBtn svg{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;display:block}
.peluBtnK{display:block;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;white-space:nowrap}
.peluBtnM{display:block;font-size:11px;font-weight:800;white-space:nowrap}
footer img{height:22px!important;margin:0!important}
footer p{font-size:11px!important;margin:0!important;color:#a1a1aa}
footer p+p{display:none}
#peluShell{position:fixed;top:72px;bottom:52px;left:0;right:0;display:flex;z-index:10}
#peluMapCol{flex:1;min-width:0;position:relative;height:100%}
#peluMapCol [style*="70vh"]{height:100%!important;min-height:100%!important}
#realMapOverlay{position:absolute;inset:0;z-index:5}
.grid-bg{display:none!important}
#peluSide{width:420px;max-width:42%;background:#f7f7f5;border-left:1px solid #e4e4e7;display:flex;flex-direction:column;min-height:0}
#peluListado{flex:1;overflow-y:auto;padding:32px 20px 28px;font-family:Inter,system-ui,sans-serif}
#peluListado h2{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#71717a}
#peluListado .sub{font-size:12px;color:#a1a1aa;margin:0 0 14px}
#peluListado .item{font-size:13px;padding:11px 0;border-bottom:1px solid #ececec;cursor:pointer;color:#3f3f46}
#peluListado .item small{display:block;font-size:11px;color:#a1a1aa;margin-top:3px}
#peluListado .item:hover{color:#00A859}
#peluHeaderFilters{position:absolute;left:340px;right:16px;top:0;bottom:0;display:flex;align-items:center;z-index:6}
#peluFilterRow{display:flex;align-items:center;gap:8px;width:100%;overflow-x:auto;scrollbar-width:none}
#peluFilterRow::-webkit-scrollbar{display:none}
#peluFilterRow>*{flex:0 0 auto}
#peluFilterRow input{flex:1 1 160px;min-width:140px;height:44px;border-radius:999px;border:1px solid #e4e4e7;padding:0 14px;font-size:13px}
.leaflet-container{z-index:2}
.realmap-pin{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;border:3px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.25);font-size:18px;position:relative}
.realmap-pin.open{background:#00A859}
.realmap-pin.refugio{background:#7C3AED}
.realmap-pin.perdido{background:#F97316}.realmap-pin.pulse{animation:pulseStrong 1.1s infinite}
.realmap-pin.af-stock{box-shadow:0 0 0 3px #00A859,0 6px 18px rgba(0,0,0,.25)}
.realmap-af{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);background:#fff;color:#00A859;border:1.5px solid #00A859;font:900 8px Inter,system-ui,sans-serif;padding:1px 4px;border-radius:999px;letter-spacing:.04em;white-space:nowrap;z-index:2}
.realmap-label{margin-top:4px;background:rgba(255,255,255,.95);border:1px solid #ddd;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:700;white-space:nowrap;color:#00A859}
#peluDrawer{display:none;position:absolute;top:0;right:0;height:100%;width:min(390px,100%);background:#fff;border-left:1px solid #e4e4e7;z-index:40;overflow:auto;font-family:Inter,system-ui,sans-serif}
#peluDrawer.open{display:block}
#peluDrawer .pad{padding:36px 20px 20px}
#peluDrawer h3{margin:0;font-size:18px;font-weight:800}
#peluDrawer .addr{color:#52525b;font-size:12px;margin-top:6px}
#peluDrawer .btn{display:block;width:100%;text-align:center;border-radius:999px;padding:12px;font-size:13px;font-weight:800;margin-top:10px;text-decoration:none;border:0;cursor:pointer}
#peluDrawer .wa{background:#25D366;color:#fff}
#peluDrawer .reservar{background:#111;color:#FFD600;border:2px solid #111}
#peluDrawer .reservar.off{background:#e4e4e7;color:#a1a1aa;border-color:#e4e4e7;cursor:not-allowed}
#peluDrawer .reservar-off{margin:6px 0 0;font-size:12px;font-weight:700;color:#71717a;text-align:center}
#peluDrawer .verif-sello{display:inline-block;background:#FFD600;color:#111;font-size:11px;font-weight:800;border-radius:999px;padding:2px 8px;margin-top:6px}
#peluDrawer .resenas-box{margin-top:10px;padding:10px 12px;border:1px solid #e4e4e7;border-radius:12px;font-size:12px}
#peluDrawer .servicios-box{margin-top:10px;padding:10px 12px;border:1px solid #e4e4e7;border-radius:12px;font-size:13px;line-height:1.45}
#peluDrawer .dir{background:#fff;color:#111;border:2px solid #111}
#peluDrawer .x{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:999px;background:#f4f4f5;cursor:pointer;font-size:18px}
#slotHud{position:absolute;left:12px;right:12px;top:12px;z-index:25;display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;background:none;border:0;padding:0}
#slotHud a{border-radius:999px;padding:8px 14px;font:700 12px Inter,system-ui;text-decoration:none;box-shadow:0 6px 16px rgba(0,0,0,.25)}
#slotHud a.peluTopA{background:#111;color:#FFD600;font-weight:800;text-transform:uppercase}
#slotHud a.peluTopB{background:#fff;color:#111;border:1px solid #ddd}




.peluShareMob{display:none}
@media (max-width:1280px){
  #peluFilterRow{flex-wrap:nowrap;overflow-x:auto;row-gap:6px}
  #peluFilterRow input{flex:1 1 120px;min-width:100px}
  #peluFilterRow button{height:34px!important;min-height:34px!important;max-height:34px!important;font-size:12px!important;padding:0 10px 0 4px!important;gap:6px!important}
  #peluFilterRow button img,#peluFilterRow button svg{width:auto!important;height:22px!important;min-width:0!important;min-height:0!important;object-fit:contain}
}
@media (max-width:768px){
  header{height:auto!important}
  header>div:first-child{height:58px!important;min-height:58px!important;padding-left:8px!important;padding-right:126px!important;gap:0!important}
  header>div:first-child>div:first-child{min-width:0;flex:1 1 auto;overflow:hidden;gap:6px!important}
  header>div:first-child>div:nth-child(2){display:none!important}
  header .leading-tight{min-width:0;overflow:hidden;max-width:100%;width:auto;flex:1 1 auto}
  header .leading-tight>div:first-child{min-width:0;max-width:100%;overflow:hidden}
  header img{height:32px!important;width:auto!important;max-width:40px!important}
  header span[style*="37px"]{font-size:26px!important;letter-spacing:-0.03em;display:block;line-height:1;overflow:hidden;text-overflow:clip;white-space:nowrap;max-width:100%}
  header .leading-tight>div:nth-child(2){font-size:11px!important;white-space:nowrap;letter-spacing:-0.02em;overflow:hidden;text-overflow:clip}
  header .leading-tight>div:nth-child(3){display:none}
  #peluHeaderFilters{position:static!important;left:0!important;right:0!important;top:auto!important;bottom:auto!important;height:auto!important;padding:0 12px 6px;background:#fff;border-bottom:1px solid #f4f4f5;box-sizing:border-box}
  #peluFilterRow{flex-wrap:nowrap;gap:4px;align-items:flex-end;justify-content:stretch;overflow:hidden;width:100%;box-sizing:border-box}
  #peluFilterRow button[data-cat],#peluFilterRow #peluPerdidoBtn,#peluFilterRow #peluRefugioBtn{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;padding:2px 0 2px!important;overflow:hidden}
  #peluFilterRow .peluCatL{font-size:9px!important;letter-spacing:-0.04em;max-width:100%;overflow:hidden}
  #peluFilterRow>*{flex:0 0 auto}
  #peluFilterRow input{flex:1 1 90px;min-width:0;height:28px;font-size:12px;padding:0 10px}
  #peluFilterRow button{height:48px!important;min-height:48px!important;max-height:48px!important;min-width:48px;padding:0 10px!important;font-size:10px!important;line-height:1.1!important;gap:4px!important;overflow:visible}
  #peluFilterRow button>div:first-child{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:20px!important}
  #peluFilterRow button[data-cat]>div:first-child{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:14px!important}
  #peluFilterRow button img,#peluFilterRow button svg,#peluFilterRow button>span:first-child{width:auto!important;height:22px!important;min-width:0!important;min-height:0!important;object-fit:contain}
  #peluFilterRow #peluPerdidoBtn>span:first-child{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto;border-radius:999px;background:#fff}
  #peluFilterRow #peluPerdidoBtn .peluCasita{width:18px!important;height:18px!important}
  #peluFilterRow #peluRefugioBtn>span:first-child{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto;border-radius:999px;background:#fff}
  #peluFilterRow #peluRefugioBtn .peluAnfora{width:18px!important;height:18px!important}
  #peluFilterRow #pwaInstallBtn{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
  #peluFilterRow #pwaInstallBtn svg{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
  #peluFilterRow #peluShare{position:absolute;top:13px;right:128px;z-index:9;height:32px!important;min-height:32px!important;max-height:32px!important;width:32px!important;min-width:32px!important;padding:0!important;justify-content:center;gap:0;overflow:visible;font-size:12px!important}
  #peluShare .peluShareDesk{display:none}
  #peluShare .peluShareMob{display:inline;font-size:12px;font-weight:800}
  #peluShare svg{width:14px;height:14px;flex-shrink:0}
  #peluFilterRow #peluBuy{position:absolute;top:12px;right:48px;z-index:11;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border-radius:999px;justify-content:center}
  #peluBuy svg{width:22px!important;height:22px!important;flex-shrink:0}
  #peluFilterRow #peluPlayBtn{position:absolute;top:12px;right:88px;z-index:12;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0!important;border-radius:999px;justify-content:center}
  #peluPlayBtn svg{width:22px!important;height:22px!important;flex-shrink:0}
  #peluPlayBtn span{display:none}
  #peluSearchBar{display:flex;align-items:center;padding:8px 10px;background:#fff;border-top:1px solid #e4e4e7;flex:0 0 auto;box-sizing:border-box}
  #peluSearchBar input{width:100%;height:40px;border-radius:999px;border:1px solid #d4d4d8;padding:0 14px;font:400 14px Inter,system-ui,sans-serif;box-sizing:border-box;min-width:0}
  #peluShell{flex-direction:column;top:104px;bottom:64px}
  #peluMapCol{flex:1 1 auto;width:100%;height:auto;min-height:40dvh}
  #peluSide{width:100%!important;max-width:100%!important;flex:0 0 42%;min-height:160px;border-left:0;border-top:1px solid #e4e4e7}
  #peluListado{padding:14px 16px 22px}
  #peluListado .item{padding:10px 0}
  footer{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;justify-items:stretch;gap:6px;width:100%;max-width:100%;box-sizing:border-box;padding:8px max(20px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left))!important;left:0;right:0;overflow:hidden}
  footer>div:first-child{display:none!important}
  footer>div{gap:4px!important;padding:0 2px!important}
  footer img{height:20px!important}
  #peluPerdidosBtn,#peluAdopcionBtn,#peluFichasBtn,#peluContactoBtn{min-height:54px!important;min-width:0!important;padding:4px 2px!important;width:100%;max-width:100%;margin:0;box-sizing:border-box;overflow:hidden}
  #peluFilterRow #pwaInstallBtn{position:absolute;top:13px;z-index:9;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;border-radius:6px!important;background:transparent!important;color:#fff}
  #peluFichasBtn{order:1!important}
  #peluContactoBtn{order:2!important}
  #peluAdopcionBtn{order:3!important}
  #peluPerdidosBtn{order:4!important}
  .peluBtnI svg{width:22px;height:22px}
  #peluContactoBtn .peluBtnI svg{width:32px!important;height:32px!important}
  #peluAdopcionBtn .peluHogar{width:50px!important;height:24px!important}
  #peluPerdidosBtn .peluHuella{width:44px!important;height:22px!important}
  .peluBtnM{font-size:11px!important;line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  #peluB2BWrap{position:absolute!important;top:13px;right:8px;z-index:13;transform:none!important}
  #peluFilterRow #peluB2BWrap button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;font-size:0!important;gap:0!important;display:inline-flex!important;align-items:center;justify-content:center}
  #peluB2BWrap button svg{width:18px;height:18px;display:block}
  footer p,footer img{display:none!important}
  
  
  
  
  #peluDrawer{width:100%;height:auto;max-height:72%;top:auto;bottom:0;border-left:0;border-top:1px solid #e4e4e7;border-radius:16px 16px 0 0}
}
