/* Visit Kamień — repair of dining and accommodation cards, desktop and mobile.
   Loaded AFTER premium-catalog-22272.css, scoped to catalog pages only. */
body[data-portal-section="food"] main.portal-main,
body[data-portal-section="stays"] main.portal-main{
  overflow-x:clip;
}
body[data-portal-section="food"] main.portal-main .vk-catalog-hero.shell,
body[data-portal-section="stays"] main.portal-main .vk-catalog-hero.shell{
  width:min(1220px,calc(100% - 32px))!important;
  max-width:1220px!important;
  margin:12px auto 18px!important;
  padding:30px 38px 23px!important;
  border-radius:25px!important;
  min-height:345px!important;
  background-position:center!important;
}
body[data-portal-section] .vk-catalog-hero-inner{
  grid-template-columns:minmax(0,1fr) minmax(220px,260px)!important;
  align-items:end!important;gap:22px!important;
}
body[data-portal-section] main.portal-main .vk-catalog-hero h1{
  font-size:clamp(2.05rem,3.55vw,3.55rem)!important;
  line-height:1.07!important;
  letter-spacing:-.047em!important;
  margin:8px 0 12px!important;
  overflow-wrap:normal;
}
body[data-portal-section] .vk-catalog-hero-copy{
  min-width:0;max-width:780px;
}
body[data-portal-section] .vk-catalog-hero-copy>p{
  font-size:15px!important;max-width:625px;line-height:1.52!important;
}
body[data-portal-section] .vk-catalog-side{
  min-width:0!important;max-width:100%;border-radius:19px!important;
}
body[data-portal-section] .vk-catalog-breadcrumb{
  margin-bottom:23px!important;padding:0!important;
}
body[data-portal-section] .vk-catalog-search{
  width:min(100%,645px)!important;min-width:0!important;
}
body[data-portal-section] .vk-catalog-search input{
  flex:1!important;width:0!important;min-width:0!important;
}
body[data-portal-section] .vk-catalog-search button{flex:none!important}
body[data-portal-section] .vk-catalog-directory.shell{
  width:min(1220px,calc(100% - 32px));margin:0 auto!important;
  padding:0 0 30px!important;
}
body[data-portal-section] .vk-catalog-filters{
  gap:9px!important;margin:0 0 20px!important;padding:0 0 6px!important;
  align-items:center;
}
body[data-portal-section] .vk-catalog-filters button{
  min-height:43px;padding:9px 14px!important;
  font-size:12px!important;line-height:1.25!important;
}
body[data-portal-section] .vk-catalog-directory-head{
  margin:0 0 16px!important;gap:14px!important;
}
body[data-portal-section] .vk-catalog-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:17px!important;
  align-items:stretch!important;
}
body[data-portal-section] .vk-catalog-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;width:100%!important;height:auto!important;
  overflow:hidden!important;
  background:#fffdfb!important;
  border:1px solid #e1e8df!important;
  border-radius:20px!important;
  box-shadow:0 8px 25px rgba(18,61,52,.055)!important;
}
body[data-portal-section] .vk-catalog-card:hover{
  box-shadow:0 14px 32px rgba(18,61,52,.10)!important;
}
body[data-portal-section] .vk-catalog-photo{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16 / 9!important;
  flex:none!important;overflow:hidden!important;
  background:#dfece5!important;
}
body[data-portal-section] .vk-catalog-photo img{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  border:0!important;
  font-size:0!important;
}
body[data-portal-section] .vk-catalog-image-credit{
  left:10px!important;right:auto!important;bottom:10px!important;
  width:auto!important;max-width:calc(100% - 20px)!important;
  background:rgba(10,47,37,.88)!important;
  padding:5px 9px!important;
  border-radius:8px!important;
  font-size:10px!important;line-height:1.3!important;
  white-space:normal!important;
}
body[data-portal-section] .vk-catalog-card-content{
  display:flex!important;flex:1!important;flex-direction:column!important;
  min-width:0!important;
  padding:19px 22px 21px!important;
  gap:0!important;
}
body[data-portal-section] .vk-catalog-card-content h3{
  font-size:clamp(1.13rem,1.75vw,1.4rem)!important;
  line-height:1.22!important;margin:3px 0 9px!important;
  letter-spacing:-.015em;
}
body[data-portal-section] .vk-catalog-address{
  font-size:12px!important;margin:0 0 10px!important;line-height:1.45!important;
}
body[data-portal-section] .vk-catalog-excerpt{
  font-size:13px!important;line-height:1.55!important;
  display:-webkit-box!important;-webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;overflow:hidden!important;
  margin:0 0 16px!important;color:#5a7167!important;
}
body[data-portal-section] .vk-catalog-card-badges{
  margin:0 0 9px!important;gap:7px!important;
}
body[data-portal-section] .vk-catalog-card-badges span{
  padding:5px 9px!important;font-size:10px!important;
}
body[data-portal-section] .vk-catalog-details{margin-top:auto!important}
body[data-portal-section] .vk-catalog-details summary{
  padding:12px 15px!important;
  min-height:44px!important;
  background:#eef5ef!important;
  color:#154839!important;
  border:1px solid #dce7de!important;
  border-radius:11px!important;
  font-size:13px!important;
}
body[data-portal-section] .vk-catalog-actions a{
  min-height:40px;display:inline-flex;align-items:center;
  padding:9px 13px!important;
}
body[data-portal-section] .vk-catalog-bottom.shell{
  width:min(1220px,calc(100% - 32px));
  margin:0 auto!important;
}
/* Tablet: one generous card per line, without squashed 125px images. */
@media (max-width:900px){
  body[data-portal-section] .vk-catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body[data-portal-section] .vk-catalog-card-content{
    padding:15px 16px 17px!important;
  }
  body[data-portal-section] .vk-catalog-hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(185px,220px)!important;
  }
}
/* Phones: no side-by-side squashing, no horizontal overflow, working search and tabs. */
@media (max-width:760px){
  body[data-portal-section="food"] main.portal-main .vk-catalog-hero.shell,
  body[data-portal-section="stays"] main.portal-main .vk-catalog-hero.shell{
    width:calc(100% - 20px)!important;
    min-height:0!important;
    padding:18px 16px 17px!important;
    margin:8px auto 14px!important;
    border-radius:19px!important;
    background-position:center!important;
  }
  body[data-portal-section] .vk-catalog-breadcrumb{
    font-size:11px!important;margin-bottom:17px!important;
    gap:7px!important;flex-wrap:wrap!important;
  }
  body[data-portal-section] .vk-catalog-hero-inner{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:16px!important;
  }
  body[data-portal-section] .vk-catalog-hero-copy{
    max-width:100%!important;width:100%!important;
  }
  body[data-portal-section] main.portal-main .vk-catalog-hero h1{
    font-size:clamp(1.92rem,8.3vw,2.75rem)!important;
    line-height:1.08!important;
    overflow-wrap:break-word!important;
    margin:7px 0 12px!important;
  }
  body[data-portal-section] .vk-catalog-hero-copy>p{
    font-size:13px!important;line-height:1.5!important;
    margin:0 0 17px!important;
  }
  body[data-portal-section] .vk-catalog-search{
    max-width:100%!important;
    padding:5px!important;gap:4px!important;
    border-radius:13px!important;
  }
  body[data-portal-section] .vk-catalog-search input{
    min-width:0!important;width:0!important;
    font-size:12px!important;height:42px!important;
    padding:0 2px!important;
  }
  body[data-portal-section] .vk-catalog-search button{
    font-size:12px!important;
    padding:9px 12px!important;
    min-height:41px!important;
  }
  body[data-portal-section] .vk-catalog-side{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    padding:13px!important;
    gap:8px!important;
    border-radius:14px!important;
    width:100%!important;
  }
  body[data-portal-section] .vk-catalog-side>b,
  body[data-portal-section] .vk-catalog-side>p{
    grid-column:1/-1!important;margin:0!important;
  }
  body[data-portal-section] .vk-catalog-side a{
    text-align:center!important;min-width:0!important;
    overflow-wrap:anywhere!important;
    padding:10px 7px!important;
    font-size:11px!important;
  }
  body[data-portal-section] .vk-catalog-hero-credit{
    font-size:9px!important;line-height:1.4!important;
    margin-top:14px!important;
  }
  body[data-portal-section] .vk-catalog-directory.shell,
  body[data-portal-section] .vk-catalog-bottom.shell{
    width:calc(100% - 20px)!important;max-width:100%!important;
  }
  body[data-portal-section] .vk-catalog-filters{
    flex-wrap:nowrap!important;display:flex!important;
    overflow-x:auto!important;
    max-width:100%!important;
    scrollbar-width:thin;
    overscroll-behavior-x:contain;
    padding:3px 0 10px!important;
    gap:8px!important;
    margin:0 0 11px!important;
  }
  body[data-portal-section] .vk-catalog-filters button{
    flex:none!important;
    font-size:11px!important;
    padding:9px 12px!important;
    min-height:42px!important;
    white-space:nowrap!important;
  }
  body[data-portal-section] .vk-catalog-directory-head{
    flex-wrap:wrap!important;
    gap:9px!important;margin:0 0 13px!important;
  }
  body[data-portal-section] .vk-catalog-directory-head h2{
    font-size:1.55rem!important;
  }
  body[data-portal-section] .vk-catalog-directory-head label{
    font-size:11px!important;
    margin-left:auto!important;
  }
  body[data-portal-section] .vk-catalog-directory-head select{
    max-width:145px!important;font-size:11px!important;
  }
  body[data-portal-section] .vk-catalog-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:13px!important;
    width:100%!important;
  }
  body[data-portal-section] .vk-catalog-card{
    display:flex!important;
    flex-direction:column!important;
    max-width:100%!important;
    min-width:0!important;
    border-radius:17px!important;
  }
  body[data-portal-section] .vk-catalog-photo{
    width:100%!important;
    aspect-ratio:16 / 10!important;
    height:auto!important;
    min-height:0!important;
  }
  body[data-portal-section] .vk-catalog-card-content{
    padding:15px 16px 17px!important;
  }
  body[data-portal-section] .vk-catalog-card-content h3{
    font-size:1.16rem!important;
  }
  body[data-portal-section] .vk-catalog-excerpt{
    font-size:12px!important;line-height:1.5!important;
    -webkit-line-clamp:3!important;
  }
  body[data-portal-section] .vk-catalog-details summary{
    min-height:46px!important;
  }
  body[data-portal-section] .vk-catalog-actions{
    flex-wrap:wrap!important;gap:7px!important;
  }
  body[data-portal-section] .vk-catalog-actions a{
    flex:1 1 120px!important;justify-content:center!important;
  }
  body[data-portal-section] .vk-catalog-bottom{display:grid!important;gap:8px!important}
  body[data-portal-section] .vk-catalog-bottom a{min-width:0!important}
}
@media (max-width:380px){
  body[data-portal-section] .vk-catalog-directory-head{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  }
  body[data-portal-section] .vk-catalog-directory-head label{
    margin-left:0!important;
  }
  body[data-portal-section] .vk-catalog-side{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body[data-portal-section] .vk-catalog-side a{grid-column:1/-1!important}
}

/* Photo provenance labels are compact overlays, not full-image panels. */
body[data-portal-section] .vk-catalog-image-credit[hidden],
body[data-portal-section] .vk-catalog-hero-credit[hidden]{display:none!important}
body[data-portal-section] .vk-catalog-photo > .vk-catalog-image-credit,
body[data-portal-section] .vk-catalog-hero > .vk-catalog-hero-credit{
  position:absolute!important;z-index:3!important;
  inset:7px 7px auto auto!important;
  display:inline-block!important;
  width:max-content!important;height:auto!important;
  min-width:0!important;min-height:0!important;
  max-width:calc(100% - 14px)!important;max-height:none!important;
  margin:0!important;padding:2px 5px!important;
  border:0!important;border-radius:4px!important;
  box-shadow:none!important;backdrop-filter:none!important;
  background:rgba(15,28,46,.78)!important;color:#fff!important;
  font:600 10px/1.3 system-ui,sans-serif!important;
  letter-spacing:.04em!important;opacity:1!important;
  text-align:right!important;white-space:normal!important;
  pointer-events:auto!important;
}
body[data-portal-section] .vk-catalog-photo > .vk-catalog-image-credit[hidden],
body[data-portal-section] .vk-catalog-hero > .vk-catalog-hero-credit[hidden]{display:none!important}
