:root{--hk-yellow:#f0b000;--hk-black:#000;--hk-white:#fff;--hk-radius:18px;--hk-shadow:0 14px 30px rgba(0,0,0,.18);}
/* Hinauskartta – perus */
.hk-map-wrap{width:100%; position:relative; z-index:0; background:var(--hk-white); border-radius:var(--hk-radius); box-shadow:var(--hk-shadow); padding:18px; box-sizing:border-box; overflow:hidden;}
.hk-map-toolbar{margin-bottom:14px; display:flex; gap:10px; flex-wrap:wrap; justify-content:center;}
.hk-map-locate-section{display:flex; flex-direction:column; align-items:center; gap:8px;}
.hk-map-locate-label{color:var(--hk-black); text-align:center;}
.hk-map-locate-btn{display:inline-flex; align-items:center; gap:8px; background:var(--hk-yellow); color:var(--hk-black); border:none; border-radius:var(--hk-radius); padding:10px 16px; cursor:pointer; font-family:inherit; font-size:inherit; font-weight:inherit; transition:transform .2s ease, filter .2s ease;}
.hk-map-locate-btn:hover{filter:brightness(0.95); transform:translateY(-2px);}
.hk-map-locate-btn:disabled{opacity:.6; cursor:default; transform:none;}
.hk-map-locate-btn .hk-locate-spinner{display:none; width:12px; height:12px; border:2px solid currentColor; border-top-color:transparent; border-radius:50%; animation:hkspin .8s linear infinite;}
.hk-map-locate-btn.is-loading .hk-locate-spinner{display:inline-block;}
.hk-map-locate-hint{color:var(--hk-black); text-align:center; max-width:300px;}
.hk-map{width:100%; border-radius:calc(var(--hk-radius) - 4px); overflow:hidden; position:relative; z-index:0; border:1px solid rgba(0,0,0,.12); background:#fff;}
.hk-map .leaflet-pane,.hk-map .leaflet-control-container,.hk-map .leaflet-top,.hk-map .leaflet-bottom{z-index:1;}
.hk-map .leaflet-container{background:#000;}
.hk-map .leaflet-control-zoom{display:none;}
.hk-map .leaflet-popup-content-wrapper,
.hk-map .leaflet-popup-tip,
.hk-map .leaflet-popup-close-button{
  background:var(--hk-black);
  color:var(--hk-white);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 30px rgba(0,0,0,.25);
}
.hk-map .leaflet-popup-content-wrapper{border-radius:16px;}
.hk-map .leaflet-popup-tip{filter:drop-shadow(0 1px 2px rgba(0,0,0,.2));}
.hk-map .leaflet-popup-content a{color:var(--hk-yellow); text-decoration:underline;}
.hk-map .leaflet-popup-content{margin:12px; font-family:inherit;}
.hk-map .hk-popup{color:var(--hk-white);}
.hk-map .hk-title{color:var(--hk-yellow);}
.hk-map .hk-row,
.hk-map .hk-address,
.hk-map .hk-add-row label{color:var(--hk-white);}

.hk-map .leaflet-control-zoom,
.hk-map .leaflet-control-attribution,
.hk-map .leaflet-control-layers,
.hk-map .leaflet-control-layers-list,
.hk-map .leaflet-control-layers-toggle{
  background:rgba(255,255,255,.95);
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 10px 24px rgba(0,0,0,.15);
  border-radius:0.75rem;
  color:var(--hk-black);
}
.hk-map .leaflet-control-zoom a{
  background:var(--hk-black);
  color:var(--hk-yellow);
  border:none;
  width:2.4rem;
  height:2.4rem;
  line-height:2.4rem;
  text-align:center;
  border-radius:999px;
  box-shadow:none;
}
.hk-map .leaflet-control-zoom a:hover{background:#111;}
.hk-map .leaflet-control-attribution,
.hk-map .leaflet-control-layers-list{font-size:0.8rem;}
.hk-map .leaflet-control-attribution a{color:var(--hk-black);}
.hk-map .leaflet-control-layers-toggle{padding:0.55rem 0.75rem;}

.hk-popup{font-family:inherit;}
.hk-title{font-weight:700;font-size:14px;margin-bottom:6px;}
.hk-address{font-size:13px;margin:6px 0;}
.hk-row{font-size:13px;margin:4px 0;}

.hk-list{font-family:inherit;color:inherit;max-width:100%;overflow:hidden;}
.hk-list-header{display:grid;grid-template-columns:minmax(0,1fr) 154px;align-items:center;gap:22px 12px;margin-bottom:20px;padding-bottom:0;border-bottom:0;}
.hk-list-count{grid-column:1;grid-row:2;font-weight:700;font-size:1rem;line-height:26px;color:var(--wp--preset--color--heading, var(--hk-black));}
.hk-filters{display:contents;}
.hk-filter-select,
.hk-filter-reset{font-family:inherit;font-size:var(--wp--preset--font-size--small);padding:calc(.667em + 2px) calc(1.333em + 2px);border:1px solid rgba(0,0,0,.12);border-radius:0.375em;background:var(--wp--preset--color--pure-white, #fff);color:var(--wp--preset--color--heading, var(--hk-black));}
.hk-filter-search-field{
  display:flex;
  grid-column:1;
  grid-row:1;
  min-width:0;
  position:relative;
}
.hk-filter-search-field::before{
  content:"";
  position:absolute;
  left:16px;
  top:50%;
  width:21px;
  height:21px;
  background:#5e636b;
  transform:translateY(-50%);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.74 13.32l4.22 4.22 1.41-1.41-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.74 13.32l4.22 4.22 1.41-1.41-4.22-4.22A7.5 7.5 0 0 0 10.5 3Zm0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-filter-search{
  width:100%;
  min-width:0;
  height:58px;
  font-family:"Karla", sans-serif !important;
  font-size:var(--wp--preset--font-size--small);
  padding:calc(.667em + 2px) calc(1.333em + 2px) calc(.667em + 2px) 48px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  color:var(--wp--preset--color--heading, var(--hk-black));
}
.hk-filter-search:focus{
  border-color:#f0aa00;
  outline:none;
  box-shadow:0 0 0 4px rgba(240,170,0,.16);
}
.hk-filter-select{flex:1 1 180px;min-width:0;}
.hk-filter-reset{display:none;}
.hk-filter-region{
  grid-column:2;
  grid-row:2;
  border:0;
  background:transparent;
  padding:0 24px 0 0;
  min-height:26px;
  max-width:176px;
  font-size:.92rem;
  font-weight:700;
}
.hk-list-map-button{
  grid-column:2;
  grid-row:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:58px;
  padding:0 12px;
  border:1px solid #dfdfdf;
  border-radius:9px;
  background:#fff;
  color:#17121c;
  font-family:"Karla", sans-serif !important;
  font-size:.9rem;
  font-weight:700;
  white-space:nowrap;
}
.hk-list-map-button-icon{
  width:23px;
  height:23px;
  flex:0 0 23px;
  background:#17121c;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='m9 3 6 3 6-3v16l-6 3-6-3-6 3V6l6-3Zm1 2.62v11.76l4 2V7.62l-4-2Zm6 2v11.76l3-1.5V6.62l-3 1.5ZM5 7.12v11.26l3-1.5V5.62l-3 1.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='m9 3 6 3 6-3v16l-6 3-6-3-6 3V6l6-3Zm1 2.62v11.76l4 2V7.62l-4-2Zm6 2v11.76l3-1.5V6.62l-3 1.5ZM5 7.12v11.26l3-1.5V5.62l-3 1.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-items{display:grid;gap:18px;max-width:100%;min-width:0;}
.hk-item{border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;background:rgba(255,255,255,.98);box-shadow:0 12px 30px rgba(0,0,0,.08);max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;}
.hk-item-main{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;}
.hk-item-title{width:100%;max-width:100%;font-weight:700;font-size:1rem;color:var(--wp--preset--color--heading, var(--hk-black));margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.hk-item-title a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;color:inherit;}
.hk-item-title a:hover{text-decoration:underline;}
.hk-item-meta{font-size:0.95rem;color:rgba(0,0,0,.65);margin-top:6px;line-height:1.5;}
.hk-item-franchise,
.hk-item-region,
.hk-item-address{display:flex;align-items:center;font-size:.95rem;color:rgba(0,0,0,.65);margin-top:6px;line-height:1.5;}
.hk-item-franchise,
.hk-item-region{gap:8px;}
.hk-item-address{padding-left:20px;}
.hk-franchise-icon{
  width:12px;
  height:14px;
  flex:0 0 12px;
  background:#fec800;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M2 7h12v10H2V7Zm2 2v2h2V9H4Zm4 0v2h2V9H8Zm-4 4v2h2v-2H4Zm4 0v2h2v-2H8Zm4-4v6h1V9h-1ZM1 5l7-5 7 5v1H1V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'%3E%3Cpath d='M2 7h12v10H2V7Zm2 2v2h2V9H4Zm4 0v2h2V9H8Zm-4 4v2h2v-2H4Zm4 0v2h2v-2H8Zm4-4v6h1V9h-1ZM1 5l7-5 7 5v1H1V5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-location-pin{
  width:12px;
  height:16px;
  flex:0 0 12px;
  background:#fec800;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 0a7 7 0 0 0-7 7c0 4.83 7 13 7 13s7-8.17 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 8 4a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 0a7 7 0 0 0-7 7c0 4.83 7 13 7 13s7-8.17 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 8 4a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-item-actions{display:flex;gap:10px;min-width:0;flex-wrap:wrap;justify-content:flex-end;align-items:center;}
.hk-pill{display:inline-flex;align-items:center;padding:calc(.667em + 2px) calc(1.333em + 2px);border-radius:999px;border:0;background:var(--wp--preset--color--pure-black);color:var(--wp--preset--color--luminous-vivid-amber);text-decoration:none;font-size:var(--wp--preset--font-size--small);font-weight:var(--wp--custom--font-weight--medium);cursor:pointer;transition:transform .2s ease, filter .2s ease;}
.hk-pill:hover{filter:brightness(1.05);transform:translateY(-1px);}
.hk-item-actions .hk-phone-link{
  min-width:78px;
  height:46px;
  padding:0 12px;
  border-radius:10px;
  gap:7px;
  justify-content:center;
  background:#61ad3f;
  color:#fff;
  font-family:"Karla", sans-serif !important;
  font-size:.9rem;
  font-weight:700;
  box-shadow:0 4px 10px rgba(36,92,26,.22);
}
.hk-item-actions .hk-phone-link:hover{
  color:#fff;
}
.hk-call-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-empty{padding:18px;border-radius:18px;background:rgba(255,255,255,.92);color:rgba(0,0,0,.7);}

.hk-list-map-overlay[hidden]{display:none;}
.hk-list-map-open{overflow:hidden;}
.hk-list-map-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  flex-direction:column;
  background:#fff;
  font-family:"Karla", sans-serif !important;
}
.hk-list-map-overlay-header{
  min-height:60px;
  box-sizing:border-box;
  padding:10px 8px 10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e6e6e6;
  background:#fff;
  color:#101010;
  font-size:1rem;
}
.hk-list-map-close{
  position:relative;
  width:42px;
  height:42px;
  padding:0;
  border:3px solid #fec800;
  border-radius:6px;
  background:#fff;
  color:#111;
}
.hk-list-map-close::before,
.hk-list-map-close::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  top:19px;
  height:2px;
  background:currentColor;
}
.hk-list-map-close::before{transform:rotate(45deg);}
.hk-list-map-close::after{transform:rotate(-45deg);}
.hk-list-map-canvas.hk-map{
  flex:1 1 auto;
  height:auto !important;
  min-height:0;
  border:0;
  border-radius:0;
}
.hk-list-map-nearest-cta{
  position:absolute;
  z-index:2;
  top:74px;
  left:14px;
  right:14px;
  min-height:58px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  border:2px solid #fec800;
  border-radius:9px;
  background:#fff;
  color:#17121c;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  font-size:.92rem;
  line-height:1.25;
}
.hk-list-map-nearest-cta span{
  width:25px;
  height:25px;
  flex:0 0 25px;
  background:#17121c;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a8 8 0 0 0-8 8c0 6.2 8 12 8 12s8-5.8 8-12a8 8 0 0 0-8-8Zm0 2a6 6 0 0 1 6 6c0 3.9-3.8 7.9-6 9.7C9.8 17.9 6 13.9 6 10a6 6 0 0 1 6-6Zm0 3.5a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a8 8 0 0 0-8 8c0 6.2 8 12 8 12s8-5.8 8-12a8 8 0 0 0-8-8Zm0 2a6 6 0 0 1 6 6c0 3.9-3.8 7.9-6 9.7C9.8 17.9 6 13.9 6 10a6 6 0 0 1 6-6Zm0 3.5a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-list-map-nearest-cta:hover,
.hk-list-map-nearest-cta:focus-visible{
  color:#17121c;
  background:#fffdf5;
}
@media (min-width:781px){
  .hk-list-map-nearest-cta{
    left:50%;
    right:auto;
    width:min(calc(100% - 28px), 460px);
    transform:translateX(-50%);
  }
}
.hk-list-map-locate{
  position:absolute;
  z-index:2;
  right:16px;
  bottom:18px;
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  padding:0;
  border:1px solid #e3e3e3;
  border-radius:999px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.17);
}
.hk-list-map-locate span{
  width:24px;
  height:24px;
  background:#333;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a1 1 0 0 1 1 1v1.08A8.01 8.01 0 0 1 19.92 11H21a1 1 0 1 1 0 2h-1.08A8.01 8.01 0 0 1 13 19.92V21a1 1 0 1 1-2 0v-1.08A8.01 8.01 0 0 1 4.08 13H3a1 1 0 1 1 0-2h1.08A8.01 8.01 0 0 1 11 4.08V3a1 1 0 0 1 1-1Zm0 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm0 3a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a1 1 0 0 1 1 1v1.08A8.01 8.01 0 0 1 19.92 11H21a1 1 0 1 1 0 2h-1.08A8.01 8.01 0 0 1 13 19.92V21a1 1 0 1 1-2 0v-1.08A8.01 8.01 0 0 1 4.08 13H3a1 1 0 1 1 0-2h1.08A8.01 8.01 0 0 1 11 4.08V3a1 1 0 0 1 1-1Zm0 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm0 3a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hk-list-map-location-error{
  position:absolute;
  z-index:2;
  right:16px;
  bottom:78px;
  max-width:min(calc(100% - 32px), 360px);
  box-sizing:border-box;
  margin:0;
  padding:12px 14px;
  border:1px solid #d94141;
  border-radius:9px;
  background:#fff;
  color:#571313;
  box-shadow:0 3px 12px rgba(0,0,0,.17);
  font-size:.9rem;
  line-height:1.4;
}
.hk-list-map-location-error[hidden]{
  display:none;
}
.hk-list-map-popup{display:flex;flex-direction:column;gap:7px;}
.hk-list-map-popup-phone{font-weight:700;}

@media (max-width:1050px){
  .hk-list-header{margin-bottom:18px;}
  .hk-filter-search{border-color:#dfdfdf;border-radius:9px;font-size:16px;}
  .hk-list-count{font-size:.92rem;}

  .hk-items{
    gap:14px;
  }

  .hk-item{
    grid-template-columns:minmax(0,1fr) 98px;
    gap:12px;
    min-height:112px;
    padding:18px 18px;
    border-color:#ededed;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
  }

  .hk-item-title{
    font-size:1.08rem;
    margin-bottom:9px;
  }

  .hk-item-franchise,
  .hk-item-region,
  .hk-item-address{
    font-size:.89rem;
    margin-top:6px;
  }

  .hk-item-address{
    padding-left:20px;
  }

  .hk-item-actions{
    justify-content:flex-end;
  }

  .hk-item-actions .hk-pill:not(.hk-phone-link){
    display:none;
  }

  .hk-item-actions .hk-phone-link{
    min-width:96px;
    height:45px;
    padding:0 12px;
    border-radius:7px;
    background:#08a83d;
    box-shadow:none;
    font-size:1rem;
  }
}

@media (max-width:430px){
  .hk-list-header{
    grid-template-columns:minmax(92px,1fr) 164px;
    column-gap:4px;
    row-gap:12px;
  }

  .hk-filter-search-field{
    grid-column:1 / -1;
    grid-row:1;
  }

  .hk-list-count{
    grid-row:3;
    font-size:.84rem;
  }

  .hk-filter-region{
    grid-row:3;
    width:164px;
    max-width:164px;
    padding-right:16px;
    font-size:.88rem;
  }

  .hk-list-map-button{
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    gap:6px;
    padding:0 7px;
    font-size:.82rem;
  }

  .hk-list-map-button-icon{
    width:20px;
    height:20px;
    flex-basis:20px;
  }
}

.hk-submit{font-family:inherit;}
.hk-submit-form{border:1px solid #e5e7eb;border-radius:16px;padding:14px;background:#fff;}
.hk-form-row{margin:10px 0;}
.hk-form-row label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;}
.hk-form-row input,.hk-form-row select,.hk-form-row textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d0d7de;border-radius:12px;background:#fff;}
.hk-form-grid{display:grid;grid-template-columns:1fr;gap:10px;}
@media (min-width:720px){.hk-form-grid{grid-template-columns:1fr 1fr;}}
.hk-coords{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;}
.hk-coords span{display:flex;gap:6px;align-items:center;}
.hk-coords input{max-width:180px;}
.hk-help{font-size:12px;color:#4b5563;margin-top:6px;}
.hk-form-actions{margin-top:10px;}
.hk-form-msg{margin-top:10px;font-size:13px;padding:10px 12px;border-radius:12px;}
.hk-form-msg.hk-ok{background:#ecfdf5;border:1px solid #34d399;}
.hk-form-msg.hk-err{background:#fff7ed;border:1px solid #fb923c;}

.hk-repeat{display:flex;flex-direction:column;gap:8px;}
.hk-repeat-row{display:flex;gap:8px;align-items:center;}
.hk-repeat-row input{flex:1;}
.hk-small{border:1px solid #d0d7de;border-radius:10px;background:#f6f8fa;padding:8px 10px;cursor:pointer;font-size:13px;}

.hk-add{font-family:inherit;}
.hk-add-title{font-weight:800;margin-bottom:8px;}
.hk-add-row{margin:8px 0;}
.hk-add-row label{display:block;font-size:12px;font-weight:700;margin-bottom:4px;}
.hk-add-row input,.hk-add-row select,.hk-add-row textarea{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #d0d7de;border-radius:10px;background:#fff;}
.hk-add-actions{display:flex;gap:8px;margin-top:10px;}
.hk-btn{padding:8px 10px;border-radius:10px;border:1px solid #d0d7de;background:#fff;cursor:pointer;font-size:13px;}
.hk-btn-primary{background:#2563eb;border-color:#2563eb;color:#fff;}
.hk-btn-ghost{background:#f6f8fa;}
.hk-add-msg{margin-top:10px;font-size:13px;padding:10px 12px;border-radius:12px;}
.hk-add-msg.hk-ok{background:#ecfdf5;border:1px solid #34d399;}
.hk-add-msg.hk-err{background:#fff7ed;border:1px solid #fb923c;}


/* Submit form: match the map/list card style */
.hk-submit{
  background:transparent;
  padding:0;
  font-family:"Karla", sans-serif !important;
  margin-left:calc(-1 * var(--wp--style--root--padding-left, 0px));
  margin-right:calc(-1 * var(--wp--style--root--padding-right, 0px));
}

.hk-submit .hk-submit-form{
  max-width:none;
  margin:0;
  background:#fff;
  border:0;
  border-radius:0;
  padding:22px 18px;
  box-shadow:none;
  font-family:"Karla", sans-serif !important;
}

.hk-submit-form .hk-form-row label{
  color:#17121c;
  font-family:"Karla", sans-serif !important;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}

.hk-submit-form .hk-form-row input,
.hk-submit-form .hk-form-row select,
.hk-submit-form .hk-form-row textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#17121c;
  border-radius:10px;
  padding:13px 14px;
  box-shadow:none;
  font-family:"Karla", sans-serif !important;
  font-size:1rem;
}

.hk-submit-form .hk-form-row textarea{min-height:110px;}
.hk-submit-form .hk-help{
  color:#6f6470;
  font-family:"Karla", sans-serif !important;
  font-size:.84rem;
  font-weight:400;
}

.hk-form-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:820px){.hk-form-grid{grid-template-columns:1fr 1fr;}}

.hk-form-actions{
  margin-top:22px;
  display:flex;
  justify-content:flex-start;
}

.hk-form-actions .hk-btn{width:100%;}

@media (min-width:720px){
  .hk-submit{
    padding:24px 18px;
    margin-left:0;
    margin-right:0;
  }

  .hk-submit .hk-submit-form{
    max-width:760px;
    margin:0 auto;
    border:1px solid rgba(0,0,0,.08);
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
  }

  .hk-form-actions .hk-btn{
    width:auto;
    min-width:240px;
  }
}

.hk-btn,
button.hk-btn,
button.hk-btn.hk-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:50px;
  border-radius:10px;
  border-width:0;
  background:#fec800 !important;
  color:#17121c !important;
  font-family:"Karla", sans-serif !important;
  font-size:1rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  padding:0 22px;
  text-decoration:none;
  text-transform:none;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
}

button.hk-btn:focus,
button.hk-btn.hk-btn-primary:focus{
  outline:2px solid rgba(240,170,0,.45);
  outline-offset:4px;
}

.hk-btn:hover,
button.hk-btn:hover,
button.hk-btn.hk-btn-primary:hover{
  filter:brightness(1.05);
}

.hk-btn:active,
button.hk-btn:active,
button.hk-btn.hk-btn-primary:active{transform:translateY(0);}

.hk-mini-map{
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  margin-top:12px;
}

.hk-coords{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px;}
.hk-coords span{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:700;color:#17121c;}
.hk-form-msg{margin-top:18px;font-size:14px;padding:14px 16px;border-radius:14px;}
.hk-form-msg.hk-ok{background:#f3fbef;border:1px solid rgba(97,173,63,.35);color:#23491d;}
.hk-form-msg.hk-err{background:#fff7e5;border:1px solid rgba(240,170,0,.4);color:#5f3a00;}
.hk-repeat-row .hk-small{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#17121c;
  font-family:"Karla", sans-serif !important;
}

.hk-submit-form .hk-form-row input:focus,
.hk-submit-form .hk-form-row select:focus,
.hk-submit-form .hk-form-row textarea:focus{
  border-color:#f0aa00;
  outline:none;
  box-shadow:0 0 0 4px rgba(240,170,0,.16);
}

.hk-locate-control{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #bbb;border-radius:6px;padding:8px 12px;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.25);font-size:14px;}
.hk-locate-control:disabled{opacity:.8;cursor:default;}
.hk-locate-spinner{display:none;width:14px;height:14px;border:2px solid #ccc;border-top-color:#333;border-radius:50%;animation:hkspin .8s linear infinite;}
.hk-locate-control.is-loading .hk-locate-spinner{display:inline-block;}
@keyframes hkspin{to{transform:rotate(360deg);}}

.hk-pagination{
  --hk-pagination-size:clamp(34px, 9vw, 42px);
  display:flex;
  gap:6px;
  width:100%;
  margin-top:20px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  overflow:visible;
}

.hk-pagination button{
  flex:0 0 auto;
  min-width:var(--hk-pagination-size);
  height:var(--hk-pagination-size);
  box-sizing:border-box;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  background:#fff;
  color:#17121c;
  padding:0 12px;
  font-family:"Karla", sans-serif !important;
  font-size:var(--wp--preset--font-size--small);
  font-weight:700;
  box-shadow:0 3px 8px rgba(0,0,0,.06);
  cursor:pointer;
  transition:transform .2s ease, filter .2s ease, background .2s ease;
}

.hk-pagination .hk-pagination-page{
  width:var(--hk-pagination-size);
  padding:0;
}

.hk-pagination .hk-pagination-nav{
  flex:0 0 var(--hk-pagination-size);
  width:var(--hk-pagination-size);
  min-width:var(--hk-pagination-size);
  padding:0;
  font-size:1.15rem;
}

.hk-pagination button:hover:not(:disabled),
.hk-pagination .hk-pagination-nav:hover:not(:disabled){
  filter:brightness(1.05);
  transform:translateY(-1px);
  border-color:#f0aa00;
  background:#f0aa00;
  color:#17121c;
}

.hk-pagination .hk-pagination-page.is-current{
  opacity:1;
  cursor:default;
  border-color:#ffc400;
  background:#ffc400;
  color:#17121c;
  box-shadow:0 4px 0 rgba(180,109,0,.18);
}

.hk-pagination .hk-pagination-nav:disabled{
  opacity:.45;
  cursor:default;
  border-color:rgba(0,0,0,.12);
  background:#fff;
  color:#17121c;
  box-shadow:0 3px 8px rgba(0,0,0,.06);
}

.hk-pagination-ellipsis{
  flex:0 0 var(--hk-pagination-size);
  width:var(--hk-pagination-size);
  text-align:center;
  color:#6f6470;
  font-family:"Karla", sans-serif !important;
  font-weight:700;
  padding:0;
}

@media (max-width:520px){
  .hk-pagination{
    gap:4px;
  }

  .hk-pagination button{
    font-size:.82rem;
  }

  .hk-pagination .hk-pagination-nav{
    font-size:1rem;
  }
}

/* Frontend map service-finder layout */
.hk-map-wrap{
  --hk-map-panel:#ffffff;
  --hk-map-muted:#6f6470;
  width:auto;
  max-width:none;
  margin-left:calc(-1 * var(--wp--style--root--padding-left, 0px));
  margin-right:calc(-1 * var(--wp--style--root--padding-right, 0px));
  padding:0;
  border-radius:0;
  background:var(--hk-map-panel);
  box-shadow: 2px 11px 14px rgba(40, 22, 35, .18);
  font-family:inherit;
  color:inherit;
}

.hk-map-wrap,
.hk-map-toolbar,
.hk-nearest-results,
.hk-map-wrap button,
.hk-map-wrap a{
  font-family:"Karla", sans-serif !important;
}

.hk-map-wrap .leaflet-container,
.hk-map-wrap .leaflet-container *{
  font-family:"Karla", sans-serif !important;
}

.hk-map-wrap .hk-map{
  height:280px !important;
  border:0;
  border-radius:0;
}

.hk-map-wrap .hk-map-toolbar{
  position:relative;
  z-index:2;
  margin:-28px 10px 0;
  padding:24px 18px 22px;
  border-radius:20px;
  background:var(--hk-map-panel);
  box-shadow:0 6px 20px rgba(40,22,35,.08);
  display:block;
}

.hk-map-locate-section{
  align-items:center;
  gap:7px;
}

.hk-map-locate-heading{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.hk-map-locate-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}

.hk-map-locate-label{
  font-size: 1.2rem;
  font-weight:700;
  letter-spacing:0;
  line-height:1.2;
  text-align:center;
  text-transform:none;
}

.hk-map-locate-badge{
  position:absolute;
  right:calc(100% + 12px);
  top:50%;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fec800;
  color:#120b12;
  font-size:1.15rem;
  line-height:1;
  transform:translateY(-50%) rotate(317deg);
}

.hk-map-locate-hint{
  font-size:.82rem;
  line-height:1.35;
  color:var(--hk-map-muted);
  max-width:330px;
  text-align:center;
}

.hk-map-locate-btn{
  order:2;
  width:min(100%, 310px);
  min-height:48px;
  align-self:center;
  margin-top:14px;
  justify-content:center;
  border-radius:9px;
  background:#fec800;
  color:#120b12;
  font-size:.95rem;
  font-weight:700;
  letter-spacing:0;
  text-transform: uppercase;
}

.hk-map-locate-btn:hover{
  transform:none;
}

.hk-locate-icon{
  font-size:1rem;
  line-height:1;
  transform:rotate(317deg);
}

@media (max-width:520px){
  .hk-map-wrap{
    box-shadow:none;
  }

  .hk-map-wrap .hk-map-toolbar{
    padding:20px 12px 18px;
  }

  .hk-map-locate-heading{
    width:100%;
    min-height:42px;
  }

  .hk-map-locate-copy{
    width:100%;
    padding-inline:42px;
    box-sizing:border-box;
    gap:5px;
  }

  .hk-map-locate-label{
    font-size:1rem;
    line-height:1.22;
  }

  .hk-map-locate-hint{
    font-size:.78rem;
  }

  .hk-map-locate-badge{
    left:0;
    right:auto;
    width:40px;
    height:40px;
    font-size:1rem;
  }

  .hk-map-locate-btn{
    width:min(100%, 290px);
    min-height:46px;
    margin-top:12px;
    font-size:.9rem;
  }
}

.hk-nearest-results{
  padding:22px 18px 0;
  background:var(--hk-map-panel);
}

.hk-nearest-results[hidden]{
  display:none;
}

.hk-nearest-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 20px;
  color:#17121c;
  font-size:1.15rem;
  font-weight:700;
  letter-spacing:0;
  line-height:1.2;
  text-transform: uppercase;
}

.hk-nearest-heading-icon{
  width:40px;
  height:36px;
  flex:0 0 40px;
  background:url("../img/tow-truck.png") center/contain no-repeat;
}

.hk-nearest-list{
  display:grid;
  gap:14px;
}

.hk-nearest-item{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:78px;
  border:0;
  border-radius:14px;
  padding:18px 16px;
  background:#fff;
  box-shadow:0 4px 18px rgba(40,22,35,.1);
}

.hk-nearest-rank{
  width:32px;
  height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#fec800;
  color:#000;
  font-weight:700;
  font-size:.95rem;
}

.hk-nearest-info{
  min-width:0;
}

.hk-nearest-title{
  color:#17121c;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.25;
}

.hk-nearest-meta{
  display:flex;
  align-items:center;
  gap:6px;
  color:#403941;
  font-size:.9rem;
  line-height:1.35;
  margin-top:6px;
}

.hk-nearest-pin{
  width:14px;
  height:16px;
  flex:0 0 14px;
  background:#fec800;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hk-nearest-address{
  color:#403941;
  font-size:.9rem;
  line-height:1.35;
  margin-top:7px;
}

.hk-nearest-call{
  min-width:94px;
  height:46px;
  padding:0 14px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  justify-self:end;
  background:#0da844;
  color:#fff !important;
  text-decoration:none;
  font-size:.9rem;
  font-weight:700;
  text-transform:uppercase;
  box-shadow:0 3px 8px rgba(15,135,52,.22);
}

.hk-nearest-call-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hk-nearest-call-disabled{
  opacity:.35;
}

.hk-map-assurance{
  margin-top: 22px;
  color: #302731;
  padding: 2.2em;
}

.hk-map-assurance-lead{
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 1em;
  background: #fefbf5;
  justify-content: center;
}

.hk-map-assurance-shield{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid #fec800;
  border-radius:999px;
}

.hk-map-assurance-shield::before{
  content:"";
  width:22px;
  height:25px;
  background:#fec800;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 0 22 4v9c0 6-4.3 10.7-10 15C6.3 23.7 2 19 2 13V4L12 0Zm0 4.2L5.5 6.8V13c0 4.2 2.7 7.6 6.5 10.8 3.8-3.2 6.5-6.6 6.5-10.8V6.8L12 4.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 0 22 4v9c0 6-4.3 10.7-10 15C6.3 23.7 2 19 2 13V4L12 0Zm0 4.2L5.5 6.8V13c0 4.2 2.7 7.6 6.5 10.8 3.8-3.2 6.5-6.6 6.5-10.8V6.8L12 4.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hk-map-assurance-details{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: #403941;
  font-size: .83rem;
  padding: 1em;
  background: #fefbf5;
  justify-content: center;
  font-weight: 400;
}

.hk-map-assurance-details > span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}

.hk-map-assurance-check,
.hk-map-assurance-phone{
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:#fec800;
}

.hk-map-assurance-check{
  border-radius:999px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-1.4 15.2-4-4L8 10.8l2.6 2.6L16.4 7.6 18 9.2l-7.4 7Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-1.4 15.2-4-4L8 10.8l2.6 2.6L16.4 7.6 18 9.2l-7.4 7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hk-map-assurance-phone{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.24.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hk-nearest-empty{
  padding:18px 0 6px;
  color:#6f6470;
  font-weight:700;
}

.hk-location-error{
  padding:15px 16px;
  border:1px solid #d94141;
  border-radius:10px;
  background:#fff4f4;
  color:#571313;
  font-weight:700;
  line-height:1.4;
}

@media (max-width:520px){
  .hk-nearest-results{
    padding:18px 12px 0;
  }

  .hk-nearest-heading{
    font-size:1rem;
    margin-bottom:16px;
  }

  .hk-nearest-heading-icon{
    width:34px;
    height:31px;
    flex-basis:34px;
  }

  .hk-nearest-item{
    grid-template-columns:28px minmax(0,1fr) auto;
    gap:10px;
    padding:14px 10px;
  }

  .hk-nearest-rank{
    width:28px;
    height:28px;
    font-size:.86rem;
  }

  .hk-nearest-title{
    font-size:.95rem;
  }

  .hk-nearest-meta,
  .hk-nearest-address{
    font-size:.8rem;
  }

  .hk-nearest-call{
    min-width:72px;
    height:42px;
    padding:0 9px;
    font-size:.82rem;
  }

  .hk-nearest-call-icon{
    width:16px;
    height:16px;
    flex-basis:16px;
  }

  .hk-map-assurance{
    margin-top:18px;
    padding:16px 12px;
  }

  .hk-map-assurance-details{
    margin-left:0;
  }
}

@media (max-width:360px){
  .hk-nearest-item{
    grid-template-columns:28px minmax(0,1fr);
  }

  .hk-nearest-call{
    grid-column:2;
    justify-self:start;
  }
}

@media (min-width:720px){
  .hk-map-wrap{
    width:100%;
    max-width:760px;
    margin-left:auto !important;
    margin-right:auto !important;
    border-radius:10px;
  }

  .hk-map-wrap .hk-map{
    height:420px !important;
    border-radius:10px 10px 0 0;
  }

  .hk-map-wrap .hk-map-toolbar{
    margin:-34px 24px 0;
    padding-inline:32px;
  }

  .hk-nearest-results{
    padding-inline:32px;
  }

  .hk-nearest-item{
    grid-template-columns:34px minmax(0,1fr) auto;
  }
}
