/* Mapeczka: koncowa warstwa zgodnosci menu mobilnego. */
@media (max-width: 767px) {
    html.mapeczka-redesign body .mapeczka-mobile-city-reset[hidden] {
        display: none !important;
    }
    html.mapeczka-redesign body #c27-explore-listings .finder-map,
    html.mapeczka-redesign body #c27-explore-listings .finder-map #finderMap,
    html.mapeczka-redesign body #c27-explore-listings .finder-map .c27-map,
    html.mapeczka-redesign body #c27-explore-listings .finder-map .leaflet-container {
        touch-action: none !important;
        -ms-touch-action: none !important;
    }

    html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-badge-row,
    html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-rating,
    html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-review-count {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: none !important;
    }

    html.mapeczka-redesign body #finderMap .leaflet-popup-pane {
        z-index: 1200 !important;
        pointer-events: none !important;
    }

    html.mapeczka-redesign body #finderMap .leaflet-popup-pane .leaflet-popup,
    html.mapeczka-redesign body #finderMap .leaflet-popup-pane .leaflet-popup-content-wrapper,
    html.mapeczka-redesign body #finderMap .leaflet-popup-pane .leaflet-popup-content {
        z-index: 1201 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html.mapeczka-redesign body #finderMap .marker-icon .mapeczka-marker-rating {
        z-index: 20 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html.mapeczka-redesign body #finderMap .leaflet-popup-pane .leaflet-popup-content-wrapper,
    html.mapeczka-redesign body #finderMap .leaflet-popup-pane .leaflet-popup-content,
    html.mapeczka-redesign body #finderMap .leaflet-popup-pane a,
    html.mapeczka-redesign body #finderMap .leaflet-popup-pane button {
        pointer-events: auto !important;
    }
    html.mapeczka-redesign body #c27-explore-listings .finder-search.visible-lg.mapeczka-mobile-filter-open,
    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open {
        position: fixed !important;
        z-index: 1000010 !important;
        inset: 56px 0 calc(var(--mapeczka-app-nav-height, 66px) + env(safe-area-inset-bottom, 0px)) !important;
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open *,
    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open input,
    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open button,
    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open a,
    html.mapeczka-redesign body #c27-explore-listings .finder-search.mapeczka-mobile-filter-open label {
        pointer-events: auto !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-filter-actions {
        position: fixed !important;
        z-index: 1000020 !important;
        right: 10px !important;
        bottom: calc(var(--mapeczka-app-nav-height, 66px) + env(safe-area-inset-bottom, 0px) + 8px) !important;
        left: 10px !important;
        display: grid !important;
        grid-template-columns: minmax(84px,.75fr) minmax(150px,1.5fr) 42px !important;
        gap: 8px !important;
        padding: 9px !important;
        border: 1px solid rgba(18,58,120,.16) !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,.97) !important;
        box-shadow: 0 10px 30px rgba(15,23,42,.2) !important;
        backdrop-filter: blur(16px) !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-filter-actions button {
        display: grid !important;
        place-items: center !important;
        min-height: 42px !important;
        padding: 0 12px !important;
        border: 1px solid #cdd9eb !important;
        border-radius: 12px !important;
        background: #fff !important;
        color: #102146 !important;
        font-size: 12px !important;
        font-weight: 750 !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-filter-actions__apply {
        border-color: #0866d7 !important;
        background: #0866d7 !important;
        color: #fff !important;
    }

    html.mapeczka-dark-mode.mapeczka-redesign body .mapeczka-mobile-filter-actions {
        border-color: #34445a !important;
        background: rgba(15,23,34,.97) !important;
    }

    html.mapeczka-dark-mode.mapeczka-redesign body .mapeczka-mobile-filter-actions button {
        border-color: #405169 !important;
        background: #222222 !important;
        color: #f4f7fb !important;
    }

    html.mapeczka-dark-mode.mapeczka-redesign body .mapeczka-mobile-filter-actions__apply {
        border-color: #2a82ef !important;
        background: #176fd8 !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail.mapeczka-primary-submenu-hidden {
        display: none !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top .mapeczka-mobile-search-row {
        grid-template-columns: minmax(154px, 42%) minmax(92px, 1fr) 40px !important;
        gap: 6px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile,
    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile.is-visible {
        position: absolute !important;
        top: -42px !important;
        right: 46px !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-city-search .explore-head-search {
        padding-right: 35px !important;
        padding-left: 12px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-city-search .explore-head-search > .geocode-location {
        display: none !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .explore-types,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-home-shortcuts,
    html.mapeczka-redesign body #c27-explore-listings .mvd-tabs {
        pointer-events: auto !important;
        touch-action: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .explore-head,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .explore-types {
        touch-action: auto !important;
        overscroll-behavior-x: contain !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > a,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .explore-types > .item,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .explore-types button,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-home-shortcuts button,
    html.mapeczka-redesign body #c27-explore-listings .mvd-tabs button {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > a,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .explore-types > .item > a,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .mapeczka-taxonomy-chip,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-home-shortcut,
    html.mapeczka-redesign body #c27-explore-listings .mvd-tab,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .type-info,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .type-info {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .explore-head .type-info,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .type-info {
        width: 100% !important;
        height: 100% !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail.mapeczka-secondary-category-controls .explore-types > .item.active > a,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail.mapeczka-secondary-category-controls a[aria-pressed="true"] {
        border-color: #3291ff !important;
        background: linear-gradient(145deg,#173d72,#0d2b55) !important;
        color: #fff !important;
        box-shadow: 0 0 0 2px rgba(50,145,255,.18),0 7px 18px rgba(19,102,210,.32) !important;
    }

    html.mapeczka-redesign body #c27-explore-listings .mapeczka-taxonomy-chip--empty {
        min-width: 180px !important;
        opacity: .72 !important;
        cursor: default !important;
    }

    /* MyListing zostawia niewidoczne kontrolki karuzeli nad pierwszym i
       ostatnim przyciskiem. W Chromium/Brave przechwytuja one tapniecia. */
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .cts-prev,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .cts-next,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .cts-prev,
    html.mapeczka-redesign body #c27-explore-listings > .mapeczka-secondary-category-rail .cts-next {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

@media (max-width: 767px) {
    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top .mapeczka-mobile-city-search.has-selected-city .explore-head-search > .mi.search {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
    }
}
/* 1.8.81 — rails use their actual content, independent of Elementor item count.
 * The old 18–20% inset combined with min-width:100% moved the whole row right.
 * A max-content track centres short rows; long rows scroll from their first item. */
html.mapeczka-redesign body #c27-explore-listings > .explore-head,
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-behavior: auto !important;
    touch-action: auto !important;
}
html.mapeczka-redesign body #c27-explore-listings > .explore-head::-webkit-scrollbar { display: none; }
html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types,
html.mapeczka-redesign body #c27-explore-listings > .explore-head.codicts-category-explorer .explore-types,
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail .explore-types {
    box-sizing: border-box !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-inline: 0 !important;
    transform: none !important;
    overflow: visible !important;
    gap: 10px !important;
}
html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item {
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
}
/* Carousel controls and the hidden finder title must not occupy flex space. */
html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .finder-title,
html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .cts-prev,
html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .cts-next {
    display: none !important;
    pointer-events: none !important;
}
/* Instant feedback: avoid decorative travel/fades while preserving loading state. */
html.mapeczka-redesign body #finderListings .listing-preview,
html.mapeczka-redesign body #finderListings .listing-preview:hover,
html.mapeczka-redesign body #finderListings .listing-preview .overlay,
html.mapeczka-redesign body #finderListings .listing-preview .lf-item-info-2,
html.mapeczka-redesign body #finderListings .listing-preview .lf-avatar,
html.mapeczka-redesign body #finderListings .listing-preview .lf-contact,
html.mapeczka-redesign body #c27-explore-listings > .explore-head .item > a,
html.mapeczka-redesign body #c27-explore-listings .mvd-tab,
html body .mapeczka-listing-app,
html body .mapeczka-listing-app__frame {
    transition: none !important;
    animation: none !important;
}
html.mapeczka-redesign body #finderListings .listing-preview:hover { transform: none !important; }
@media(max-width:767px) {
    html.mapeczka-redesign body #c27-explore-listings > .explore-head { padding-inline: 10px !important; }
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types { gap: 7px !important; }
}
/* Native controls use DIV.type-info, not the SPAN used by AJAX chips.
 * Parent tablet styles stack its block icon before H4 despite a short button.
 * Keep both real variants in one centered row without replacing their nodes. */
@media(min-width:768px) {
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > a > .type-info,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > button > .type-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-width: 0 !important;
        height: auto !important;
    }
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item .type-info > i,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item .type-info > .mapeczka-taxonomy-chip__icon {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        height: auto !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item .type-info > h4,
    html.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item .type-info > strong {
        min-width: 0 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
}
/* Desktop rails are fixed-height. Legacy 4px track padding must not add
 * eight pixels around the full-height primary items and clip their bottoms. */
@media(min-width:1201px) {
    html.mapeczka-redesign body #c27-explore-listings > .explore-head:not(.codicts-category-explorer) .explore-types {
        height: 48px !important;
        min-height: 48px !important;
        padding-block: 0 !important;
    }
}
/* A service-choice CTA is not one of the compact 76px time-slot buttons. */
html body .mpv2-app .mpv2-slot-buttons.mpv2-booking-choice > button[data-open-booking] {
    box-sizing: border-box !important;
    flex: 0 1 auto !important;
    min-width: min(180px,100%) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
}
/* Retry feedback sits outside the fixed-height category rail. */
html.mapeczka-redesign body #c27-explore-listings > .mapeczka-taxonomy-status {
    box-sizing: border-box;
    position: relative !important;
    inset: auto !important;
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    margin: 6px 16px;
    padding: 8px 12px;
    border: 1px solid var(--map-border,#dbe5f4);
    border-radius: 10px;
    background: var(--map-surface,#fff);
    color: var(--map-text,#142048);
    font-size: 12px;
    line-height: 1.4;
}
html.mapeczka-redesign body #c27-explore-listings > .mapeczka-taxonomy-status[hidden] { display: none !important; }
html.mapeczka-redesign body #c27-explore-listings > .mapeczka-taxonomy-status > button {
    padding: 5px 10px;
    border: 1px solid var(--map-border,#dbe5f4);
    border-radius: 7px;
    background: var(--map-surface,#fff);
    color: var(--map-text,#142048);
    font-size: inherit;
    cursor: pointer;
}

/* 1.9.67 — one compact mobile search row: city, phrase, reset and filters. */
@media (max-width: 767px) {
    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top {
        flex-basis: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top .mapeczka-mobile-search-row {
        grid-template-columns: minmax(104px,.85fr) minmax(112px,1.2fr) 34px 38px !important;
        gap: 5px !important;
        height: 42px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-city-search .explore-head-search,
    html.mapeczka-redesign body .mapeczka-mobile-city-search .explore-head-search input,
    html.mapeczka-redesign body .mapeczka-mobile-purio-search,
    html.mapeczka-redesign body .mapeczka-mobile-purio-search-host,
    html.mapeczka-redesign body .mapeczka-mobile-purio-search-host .custom-shortcode-search-wrapper,
    html.mapeczka-redesign body .mapeczka-mobile-purio-search-host .ai-chat-search-container {
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile,
    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile.is-visible {
        position: relative !important;
        inset: auto !important;
        align-self: center !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-search-row > .explore-head-top-filters,
    html.mapeczka-redesign body .mapeczka-mobile-search-row > .explore-head-top-filters > a {
        width: 38px !important;
        min-width: 38px !important;
        height: 42px !important;
        min-height: 42px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-city-search .explore-head-search input,
    html.mapeczka-redesign body .mapeczka-mobile-purio-search-host input {
        font-size: 12px !important;
    }

    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open[data-mapeczka-mobile-panel="categories"] .search-filters,
    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open[data-mapeczka-mobile-panel="occasions"] .search-filters {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open[data-mapeczka-mobile-panel="search-form"] .search-filters {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open .tab-content {
        scroll-margin-top: 54px;
    }
}

/* 1.9.72 — jeden kontrast ocen i liczby opinii na kafelkach, mapie i profilu. */
html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(
    .mapeczka-card-rating,
    .mapeczka-marker-rating,
    .mapeczka-single-rating,
    .mpv2-rating-pills > b
) {
    background: #fff !important;
    border-color: #d6dde7 !important;
    color: #05070a !important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(
    .mapeczka-card-rating,
    .mapeczka-marker-rating,
    .mapeczka-single-rating,
    .mpv2-rating-pills > b
) :is(i,span) {
    color: #05070a !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body :is(
    .mapeczka-card-rating,
    .mapeczka-marker-rating,
    .mapeczka-single-rating,
    .mpv2-rating-pills > b
) {
    background: #070707 !important;
    border-color: #3c4655 !important;
    color: #fff !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body :is(
    .mapeczka-card-rating,
    .mapeczka-marker-rating,
    .mapeczka-single-rating,
    .mpv2-rating-pills > b
) :is(i,span) {
    color: #fff !important;
}

html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(
    .mapeczka-card-review-count,
    .mapeczka-single-review-count,
    .mpv2-review-count
) {
    color: #05070a !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body :is(
    .mapeczka-card-review-count,
    .mapeczka-single-review-count,
    .mpv2-review-count
) {
    color: #fff !important;
}

/* 1.9.70 — końcowe poprawki profilu, filtrów, ulubionych i warstw nagłówka. */
@media (min-width: 768px) {
    #c27-single-listing,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-content {
        overflow: visible !important;
    }
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-actions,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-content:not(:has(.mpv2-availability:not([hidden]))) > .mpv2-facts,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout:has(> .mpv2-content > .mpv2-availability:not([hidden])) > .mpv2-tabs {
        box-shadow: -16px 7px 24px -12px rgba(20,37,60,.42), 16px 7px 24px -12px rgba(20,37,60,.42), 0 10px 18px -8px rgba(20,37,60,.30), inset 0 0 0 1px rgba(26,41,61,.08) !important;
    }
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-actions button,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-actions a {
        box-shadow: 0 7px 17px rgba(22,42,68,.20), 0 2px 5px rgba(22,42,68,.13), inset 0 0 0 1px rgba(22,42,68,.05) !important;
    }
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-actions .is-booking {
        box-shadow: 0 8px 19px rgba(12,28,47,.30), 0 2px 5px rgba(12,28,47,.18) !important;
    }
}

/* Pasek trzech zakładek jest wycentrowany również w widoku komputerowym. */
html.mapeczka-redesign body #finderSearch .finder-tabs-wrapper,
html.mapeczka-redesign body #finderSearch .finder-tabs {
    width: 100% !important;
}
html.mapeczka-redesign body #finderSearch .finder-tabs .sidebar-tabs {
    justify-content: center !important;
    width: calc(100% - 28px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
}
html.mapeczka-redesign body #finderSearch .finder-tabs .sidebar-tabs > li {
    float: none !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
}
html.mapeczka-redesign body #finderSearch .finder-tabs .sidebar-tabs > li > a,
html.mapeczka-redesign body #finderSearch .finder-tabs .sidebar-tabs > li > .tab-switch {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Stan zapisany przez MyListing ma być jednoznacznie czerwony. */
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button.bookmarked,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button.active,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button[data-bookmarked="true"] {
    border-color: #ff6b80 !important;
    background: #e82d4f !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(232,45,79,.20), 0 6px 16px rgba(154,17,43,.34) !important;
}
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button.bookmarked :is(i,svg,path),
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button.active :is(i,svg,path),
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .c27-bookmark-button[data-bookmarked="true"] :is(i,svg,path) {
    color: #fff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* Rozwinięte menu użytkownika pozostaje nad powłoką wizytówki i sliderem. */
html body .c27-main-header,
html body .c27-main-header .header-skin,
html body .c27-main-header .header-container,
html body .c27-main-header .header-top,
html body .c27-main-header .header-right,
html body .c27-main-header .user-area,
html body .c27-main-header .user-profile-dropdown {
    overflow: visible !important;
}
html body .c27-main-header {
    z-index: 100500 !important;
}
html body .c27-main-header .user-area,
html body .c27-main-header .user-profile-dropdown {
    position: relative !important;
    z-index: 100510 !important;
}
html body .c27-main-header .user-profile-dropdown:not(.mapeczka-user-menu-open) > .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
html body .c27-main-header .user-profile-dropdown.mapeczka-user-menu-open > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 100520 !important;
    pointer-events: auto !important;
}

/* Ciemny motyw: czytelne aktywne wybory oraz białe ikony kategorii. */
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item.active > :is(a,button),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item[aria-selected="true"] > :is(a,button),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > :is(a,button)[aria-pressed="true"] {
    color: #f7fbff !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item.active > :is(a,button) :is(h4,strong,i,span),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item[aria-selected="true"] > :is(a,button) :is(h4,strong,i,span),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings > .explore-head .explore-types > .item > :is(a,button)[aria-pressed="true"] :is(h4,strong,i,span) {
    color: #f7fbff !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .mapeczka-taxonomy-chip__icon,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .mapeczka-taxonomy-chip__icon :is(.term-icon,i,svg,path),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-details .cat-icon,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-details .cat-icon :is(.term-icon,i,svg,path) {
    color: #fff !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .mapeczka-taxonomy-chip__icon img,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-details .cat-icon img {
    filter: grayscale(1) brightness(0) invert(1) contrast(1.15) !important;
    opacity: 1 !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-details .cat-icon {
    background: #3c3c3c !important;
    border-color: #46566a !important;
}

/* Przyciski zachowują zwykły kursor; uchwyt przeciągania pozostaje na pustym tle szyny. */
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail .explore-types > .item > :is(a,button),
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail.is-dragging .explore-types > .item > :is(a,button) {
    cursor: pointer !important;
}

@media (max-width: 359px) {
    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top .mapeczka-mobile-search-row {
        grid-template-columns: minmax(92px,.9fr) minmax(82px,1.1fr) 32px 36px !important;
        gap: 4px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile,
    html.mapeczka-redesign body .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile.is-visible {
        width: 32px !important;
        min-width: 32px !important;
    }

    html.mapeczka-redesign body .mapeczka-mobile-search-row > .explore-head-top-filters,
    html.mapeczka-redesign body .mapeczka-mobile-search-row > .explore-head-top-filters > a {
        width: 36px !important;
        min-width: 36px !important;
    }
}

/* 1.9.67 — MyListing reserves 132px above Explore on wide desktops although
 * the customised header is 82px high. The Explore root already moves up by
 * 20px, so a 102px spacer places its category rail exactly below the header. */
@media (min-width: 1201px) {
    html.mapeczka-redesign body.home #c27-site-wrapper > .c27-top-content-margin {
        height: 102px !important;
        min-height: 102px !important;
        max-height: 102px !important;
    }
}

/* 1.9.68 — swobodne przeciaganie dlugich szyn kategorii kursorem. */
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail {
    cursor: grab !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail.is-dragging { cursor: grabbing !important; }
html.mapeczka-redesign body #c27-explore-listings > .explore-head.mapeczka-draggable-subcategory-rail .explore-types > .item > a { cursor: inherit !important; }

/* Licznik wynikow nie zajmuje juz miejsca w naglowku listy. */
html.mapeczka-redesign body #c27-explore-listings .explore-desktop-head .fl-results-no { display: none !important; }

/* Przycisk pelnej mapy znajduje sie bezposrednio na mapie. */
html.mapeczka-redesign body #c27-explore-listings .finder-map .mapeczka-map-fullscreen-toggle {
    position: absolute !important;
    z-index: 1201 !important;
    top: 86px !important;
    right: 12px !important;
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(22,42,70,.18) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.96) !important;
    color: #14213d !important;
    box-shadow: 0 4px 14px rgba(13,32,58,.18) !important;
    font-size: 23px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}
html.mapeczka-redesign body #c27-explore-listings .finder-map .mapeczka-map-fullscreen-toggle:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 7px 18px rgba(13,32,58,.24) !important;
}
html.mapeczka-redesign body #c27-explore-listings.map-expanded .finder-map .mapeczka-map-fullscreen-toggle { background: #14213d !important; color: #fff !important; }
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .finder-map .mapeczka-map-fullscreen-toggle {
    border-color: #3b4655 !important;
    background: rgba(26,32,42,.96) !important;
    color: #f4f7fb !important;
}
@media (min-width: 1201px) {
    html.mapeczka-redesign body #c27-explore-listings.map-expanded .finder-map { left: 0 !important; width: 100% !important; }
}
@media (max-width: 1200px) {
    html.mapeczka-redesign body #c27-explore-listings .finder-map .mapeczka-map-fullscreen-toggle { display: none !important; }
}

/* Zwarty, czytelny podglad miejsca na mapie. */
html.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .lf-item-info-2 h4,
html.mapeczka-redesign body #finderMap .cts-map-popup .lf-item-info-2 h4 {
    display: inline-block !important;
    max-width: calc(100% - 16px) !important;
    margin: 0 0 3px !important;
    padding: 3px 7px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: rgba(8,18,31,.62) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.9) !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
html.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .lf-item-info-2 h4 a,
html.mapeczka-redesign body #finderMap .cts-map-popup .lf-item-info-2 h4 a { color: inherit !important; }
html.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .lf-item-info-2 > ul.lf-contact,
html.mapeczka-redesign body #finderMap .cts-map-popup .lf-item-info-2 > ul.lf-contact {
    display: flex !important;
    align-items: center !important;
    flex-flow: row nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}
html.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .lf-item-info-2 > ul.lf-contact > li,
html.mapeczka-redesign body #finderMap .cts-map-popup .lf-item-info-2 > ul.lf-contact > li {
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: 42% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 9px !important;
    line-height: 13px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
html.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .lf-item-info-2 > ul.lf-contact > li i,
html.mapeczka-redesign body #finderMap .cts-map-popup .lf-item-info-2 > ul.lf-contact > li i {
    flex: 0 0 auto !important;
    margin-right: 2px !important;
    font-size: 10px !important;
}

/* Neutralne kategorie na desktopie i zgodne kolory obu motywow. */
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .category-name {
    background: #e9edf2 !important;
    color: #364152 !important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon i { color: #364152 !important; }
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .category-name {
    background: #363636 !important;
    color: #f2f5f8 !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon i { color: #f2f5f8 !important; }

/* 1.9.69 — neutralna ikona kategorii, lacznie z ikonami SVG i fontowymi. */
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon {
    filter: grayscale(1) saturate(0) !important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon :is(i,svg,path),
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon i:before {
    color: #364152 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon :is(i,svg,path),
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon i:before {
    color: #f2f5f8 !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}

/* 1.9.73 — docelowy kontrast ocen; selektory wygrywaja z geometrią kart i profilu. */
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-rating,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #finderMap .infoBox.c27-listing-preview .mapeczka-card-rating,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #finderMap .cts-map-popup .mapeczka-card-rating,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #finderMap .marker-icon .mapeczka-marker-rating,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-single-listing .profile-name .mapeczka-single-rating,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > b {
    background: #fff !important;
    border-color: #d6dde7 !important;
    color: #05070a !important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > b i {
    color: #05070a !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-rating,
html.mapeczka-dark-mode.mapeczka-redesign body #finderMap .infoBox.c27-listing-preview .mapeczka-card-rating,
html.mapeczka-dark-mode.mapeczka-redesign body #finderMap .cts-map-popup .mapeczka-card-rating,
html.mapeczka-dark-mode.mapeczka-redesign body #finderMap .marker-icon .mapeczka-marker-rating,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-single-listing .profile-name .mapeczka-single-rating,
html.mapeczka-dark-mode.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > b {
    background: #070707 !important;
    border-color: #3c4655 !important;
    color: #fff !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > b i {
    color: #fff !important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-review-count,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #finderMap :is(.infoBox.c27-listing-preview,.cts-map-popup) .mapeczka-card-review-count,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-single-listing .profile-name .mapeczka-single-review-count,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > .mpv2-review-count {
    color: #05070a !important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body #finderMap :is(.infoBox.c27-listing-preview,.cts-map-popup) .mapeczka-card-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-single-listing .profile-name .mapeczka-single-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > .mpv2-review-count {
    color: #fff !important;
}

/* Powłoka wizytówki jest rodzeństwem #c27-site-wrapper. Usunięcie jego starego
 * kontekstu z-index pozwala nagłówkowi i rozwijanemu menu wejść nad iframe. */
html.mapeczka-redesign body.mapeczka-listing-app-open #c27-site-wrapper {
    z-index: auto !important;
}
body.mapeczka-listing-app-open #c27-site-wrapper > .c27-main-header {
    z-index: 100500 !important;
}

/* Stara ikonka mapy w naglowku jest zbedna po dodaniu sterowania na mapie. */
@media (min-width: 1201px) {
    html.mapeczka-redesign body #c27-explore-listings .explore-desktop-head .expand-map-btn { display: none !important; }
}

/* Wyrazny, symetryczny cien calego gornego panelu wizytowki. */
@media (min-width: 768px) {
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-actions,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout > .mpv2-content:not(:has(.mpv2-availability:not([hidden]))) > .mpv2-facts,
    #c27-single-listing #mapeczka-profile-v2-app.mpv2-layout:has(> .mpv2-content > .mpv2-availability:not([hidden])) > .mpv2-tabs {
        box-shadow: -16px 7px 24px -12px rgba(20,37,60,.42), 16px 7px 24px -12px rgba(20,37,60,.42), 0 10px 18px -8px rgba(20,37,60,.30), inset 0 0 0 1px rgba(26,41,61,.08) !important;
    }
}

/* Trzy zakladki filtrow zajmuja i centruja cala szerokosc paska. */
@media (max-width: 767px) {
    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open .sidebar-tabs {
        justify-content: center !important;
        text-align: center !important;
    }
    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open .sidebar-tabs > li {
        display: flex !important;
        align-items: stretch !important;
        justify-content: center !important;
        flex: 1 1 0 !important;
        width: 33.333% !important;
        min-width: 0 !important;
    }
    html.mapeczka-redesign body .finder-search.mapeczka-mobile-filter-open .sidebar-tabs > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

/* 1.9.74 — kompletne kolory metadanych, ulubionych i obu nawigacji mobilnych. */
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .category-name {
    background:#323232!important;color:#fff!important;
}
html.mapeczka-dark-mode.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body #finderMap .mapeczka-card-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body #c27-single-listing .profile-name .mapeczka-single-review-count,
html.mapeczka-dark-mode.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-rating-pills > .mpv2-review-count {
    background:#2a2a2a!important;color:#fff!important;border-color:#3b4b63!important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .mapeczka-card-review-count {
    background:#fff!important;color:#05070a!important;border-color:#d9dde3!important;
}
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.bookmarked,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.active,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button[data-bookmarked="true"] {
    background:#e82d4f!important;border-color:#ff6b80!important;color:#fff!important;
    box-shadow:0 0 0 2px rgba(232,45,79,.25)!important;
}
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.bookmarked i,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.bookmarked i:before,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.active i,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button.active i:before,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button[data-bookmarked="true"] i,
html.mapeczka-redesign body #c27-explore-listings .listing-preview.mapeczka-place-card .ld-info .c27-bookmark-button[data-bookmarked="true"] i:before {
    color:#fff!important;opacity:1!important;visibility:visible!important;
}
@media(max-width:767px){
    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top {
        height:36px!important;min-height:36px!important;flex-basis:36px!important;margin-top:5px!important;margin-bottom:5px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings > .mobile-explore-head-top .mapeczka-mobile-search-row {
        height:36px!important;grid-template-columns:minmax(90px,.85fr) minmax(80px,1.2fr) 30px 34px!important;gap:4px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-city-search,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .explore-head-search,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .explore-head-search input,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-purio-search,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-purio-search-host,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .custom-shortcode-search-wrapper,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .ai-chat-search-container,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .search-input-wrapper,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .ai-search-input {
        height:36px!important;min-height:36px!important;max-height:36px!important;min-width:0!important;border-radius:11px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row > .mapeczka-reset-all-filters--mobile {
        width:30px!important;min-width:30px!important;height:36px!important;min-height:36px!important;border-radius:10px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row > .explore-head-top-filters,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row > .explore-head-top-filters > a {
        width:34px!important;min-width:34px!important;height:36px!important;min-height:36px!important;border-radius:10px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .ai-search-submit-btn,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-use-location {
        width:28px!important;height:28px!important;min-height:28px!important;
    }
    html.mapeczka-dark-mode body .mapeczka-mobile-nav,
    html.mapeczka-dark-mode body .mapeczka-app-nav {
        background:#111111!important;background-image:none!important;border-color:#33435a!important;
        color:#fff!important;box-shadow:0 -5px 20px rgba(0,0,0,.3)!important;
    }
    html.mapeczka-dark-mode body .mapeczka-mobile-nav .mapeczka-mobile-nav__item,
    html.mapeczka-dark-mode body .mapeczka-app-nav .mapeczka-app-nav__item,
    html.mapeczka-dark-mode body .mapeczka-mobile-nav .mapeczka-mobile-nav__item span,
    html.mapeczka-dark-mode body .mapeczka-app-nav .mapeczka-app-nav__item span {
        color:#fff!important;
    }
    html.mapeczka-dark-mode body .mapeczka-mobile-nav .mapeczka-mobile-nav__item svg,
    html.mapeczka-dark-mode body .mapeczka-app-nav .mapeczka-app-nav__item svg {
        color:#fff!important;stroke:currentColor!important;
    }
    html.mapeczka-dark-mode body .mapeczka-mobile-nav .mapeczka-mobile-nav__item.is-active:before,
    html.mapeczka-dark-mode body .mapeczka-app-nav .mapeczka-app-nav__item.is-active:before {
        background:#fff!important;
    }
}

/* 1.9.75 — własne białe ikony zachowują kontrast w jasnym motywie. */
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon img,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon .term-icon,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .mapeczka-taxonomy-chip__icon img,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .mapeczka-taxonomy-chip__icon .term-icon {
    filter:brightness(0) saturate(0)!important;opacity:1!important;
}
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .listing-preview.mapeczka-place-card .listing-details .cat-icon svg,
html.mapeczka-redesign:not(.mapeczka-dark-mode) body #c27-explore-listings .mapeczka-taxonomy-chip__icon svg {
    color:#364152!important;filter:brightness(0) saturate(0)!important;opacity:1!important;
}
@media(max-width:767px){
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-city-search .explore-head-search input,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-purio-search-host .ai-search-input,
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row .mapeczka-mobile-purio-search__placeholder {
        font-size:10px!important;font-weight:500!important;line-height:34px!important;
    }
    html.mapeczka-redesign body #c27-explore-listings .mapeczka-mobile-search-row input::placeholder {
        font-size:10px!important;font-weight:500!important;
    }
}

/* 1.9.76 — rodzaj miejsca i koszt współdzielą pierwszy rząd na telefonie. */
@media(max-width:767px){
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts {
        grid-template-columns:minmax(0,1fr) minmax(90px,.65fr)!important;
        gap:0!important;padding:6px 16px!important;min-height:0!important;
    }
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts > div {
        min-height:50px!important;padding:8px 2px!important;gap:10px!important;border:0!important;
    }
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts > [data-fact-kind] {
        grid-column:1!important;grid-row:1!important;
    }
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts > [data-fact-cost] {
        grid-column:2!important;grid-row:1!important;padding-left:12px!important;
    }
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts > [data-fact-location] {
        grid-column:1 / -1!important;grid-row:2!important;border-top:1px solid var(--mpv2-line)!important;
    }
    html.mapeczka-redesign body :is(#c27-single-listing,#mapeczka-listing-preview) :is(#mapeczka-profile-v2-app,#mapeczka-profile-preview).mpv2-layout .mpv2-facts > [data-fact-kind]:only-child {
        grid-column:1 / -1!important;
    }
}
