/* Desktop actions only: the accepted mobile hero stays unchanged. */
.mapeczka-profile-gallery-button{display:none}
/* Profile typography only; preserve card typography and accepted geometry. */
html.mapeczka-redesign body #c27-single-listing .profile-name h1 {
 font-family:Arial,Helvetica,sans-serif!important;
 font-weight:600!important;
 letter-spacing:normal!important;
 text-shadow:none!important;
 -webkit-text-stroke:0!important;
}
html.mapeczka-redesign body #c27-single-listing .profile-name h2 {
 font-family:Arial,Helvetica,sans-serif!important;
 font-weight:400!important;
 letter-spacing:normal!important;
 text-shadow:none!important;
 -webkit-text-stroke:0!important;
}
@media(max-width:767px){
 html.mapeczka-redesign body #c27-single-listing .profile-menu .cts-carousel{justify-content:center!important}
 html.mapeczka-redesign body #c27-single-listing .profile-cover .mapeczka-profile-back{display:inline-flex!important;position:absolute!important;top:64px!important;left:12px!important;right:auto!important;z-index:60!important;align-items:center;gap:5px;padding:9px 14px!important;border-radius:999px;background:#fff;color:#142048;font:600 12px Arial,sans-serif;text-decoration:none;box-shadow:0 3px 12px #0002}
}
@media(min-width:768px){
 #c27-single-listing .mapeczka-profile-gallery-button{display:block;position:absolute;right:20px;top:18px;z-index:25;padding:12px 20px;border:1px solid #e3e9f3;border-radius:999px;background:#fff;color:#142653;font:inherit;font-weight:700;box-shadow:0 5px 18px #17345718;cursor:pointer}
 #c27-single-listing .mapeczka-profile-gallery-button:focus-visible{outline:3px solid #075bff;outline-offset:3px}
 #c27-single-listing .listing-main-buttons li.mapeczka-desktop-feature-action--benefit{display:none!important}
 #c27-single-listing .listing-main-buttons .no-list-style{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;overflow:visible!important;flex-wrap:wrap!important}
 #c27-single-listing .listing-main-buttons .no-list-style>li{flex:0 0 auto!important;max-width:100%!important}
 #c27-single-listing .listing-main-buttons a>svg{width:20px!important;height:20px!important;flex:0 0 20px!important;fill:none;stroke:currentColor;stroke-width:1.8}
 #c27-single-listing .mapeczka-desktop-feature-action--booking>button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:11px 18px;border:1px solid #8644a1;border-radius:13px;background:linear-gradient(135deg,#703184,#391d49);color:#fff;font:inherit;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 4px 12px #391d4920}
 #c27-single-listing .mapeczka-desktop-feature-action--booking>button i{font-size:20px;color:inherit}
 #c27-single-listing .mapeczka-desktop-feature-action--booking>button:focus-visible{outline:3px solid #075bff;outline-offset:3px}
}
/* The cover stays wide; only the lower content uses the MyListing measure. */
@media(min-width:1201px){
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-body>.container{padding-top:25px!important;background:transparent!important}
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-body{background:transparent!important}
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .listing-main-info .profile-name{position:relative!important;box-sizing:border-box!important;padding-left:150px!important;min-width:0!important}
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .listing-main-info .profile-name .profile-avatar{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important}
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .listing-main-info .profile-name h1,
 html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .listing-main-info .profile-name h2{position:relative!important;left:auto!important;right:auto!important;max-width:100%!important}
}

/* PC: wyraźniejsza krawędź kart treści MyListing bez zmiany ich geometrii. */
@media (min-width:768px) {
 #c27-single-listing.mpv2-mounted>.tab-content.mpv2-stable-native-tabs {
  overflow:visible!important;
 }
 #c27-single-listing.mpv2-mounted>.tab-content.mpv2-stable-native-tabs .profile-body .element {
  position:relative;
  z-index:1;
 }
 html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-single-listing .profile-body .element {
  box-shadow:0 7px 13px -3px rgba(26,41,61,.27),0 2px 5px rgba(26,41,61,.13),inset 0 0 0 1px rgba(26,41,61,.07)!important;
 }
 html.mapeczka-redesign.mapeczka-dark-mode body #c27-single-listing .profile-body .element {
  box-shadow:0 7px 13px -3px rgba(0,0,0,.55),0 2px 5px rgba(0,0,0,.30),inset 0 0 0 1px rgba(255,255,255,.08)!important;
 }
}
/* Mapeczka 1.8.76 — przycisk należy do galerii, a nie do karty pod nią. */
@media (min-width:1201px) {
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover {
    height:640px !important;
  }
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .header-gallery-carousel,
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .owl-stage-outer,
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .owl-stage,
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .owl-item,
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover a.photoswipe-item {
    height:470px !important;
  }
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .header-gallery-carousel {
    position:relative !important;
  }
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .main-info-desktop {
    top:450px !important;
    height:190px !important;
  }
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .main-info-desktop .listing-main-info {
    height:190px !important;
    min-height:190px !important;
  }
  html.mapeczka-redesign body #c27-single-listing.mapeczka-profile-redesign .profile-cover .header-gallery-carousel > .mapeczka-profile-back {
    position:absolute !important;
    top:16px !important;
    right:auto !important;
    bottom:auto !important;
    left:24px !important;
    z-index:80 !important;
    margin:0 !important;
    transform:none !important;
  }
}


