@media screen and (max-width: 1180px) and (pointer: coarse) {

    html,
    body {
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #eef7f4;
    }

    header,
    footer,
    .pr-header,
    .pr-footer,
    .mobile-header-menu,
    .pr-chip,
    .pr-sort,
    .desktop-only-site,
    .desktop-home {
        display: none !important;
    }

    .mobile-home-map {
        display: block !important;
    }

    .pr-search-page {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        overflow: hidden;
        background: #eef7f4;
    }

    .pr-main,
    .pr-main.view-split,
    .pr-main.view-list,
    .pr-main.view-map,
    .pr-main.view-places {
        display: block;
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    /* MAP */

    .pr-map-wrap {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        display: block;
        z-index: 1;
        background: #dbeafe;
    }

    #map {
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        display: block;
    }

    /* TOP SEARCH */

    .pr-filterbar {
        position: fixed;
        top: calc(env(safe-area-inset-top, 0px) + 10px);
        left: 12px;
        right: 12px;
        z-index: 999;

        display: flex;
        align-items: center;
        gap: 10px;

        height: 54px;
        min-height: 0;

        padding: 0;
        margin: 0;

        background: transparent;
        border: 0;

        overflow: visible;
    }

    .pr-searchbox {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;

        height: 54px;

        margin: 0;

        border-radius: 20px;

        background: rgba(255, 255, 255, 0.96);

        border: 1px solid rgba(255, 255, 255, 0.9);

        box-shadow:
            0 12px 34px rgba(15, 23, 42, 0.14);

        backdrop-filter: blur(14px);
    }

    .pr-searchbox input {
        height: 54px;

        font-size: 15px;
        font-weight: 800;

        color: #0f172a;
    }

    /* LIST BUTTON */

    .mobile-view-toggle,
    .mobile-list-toggle {
        flex: 0 0 112px !important;

        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;

        height: 54px !important;
        min-height: 54px !important;

        border: 0 !important;

        border-radius: 20px !important;

        background: linear-gradient(
            135deg,
            #10b981,
            #059669
        ) !important;

        color: #ffffff !important;

        font-size: 14px !important;
        font-weight: 900 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 7px !important;

        box-shadow:
            0 12px 30px rgba(5,150,105,.22) !important;

        opacity: 1 !important;
        visibility: visible !important;

        position: relative !important;
        z-index: 1001 !important;

        appearance: none !important;
        -webkit-appearance: none !important;
    }

    .mobile-view-toggle::before,
    .mobile-list-toggle::before {
        content: "📋";
        font-size: 16px;
    }

    body.mobile-list-open .mobile-view-toggle::before,
    body.mobile-list-open .mobile-list-toggle::before {
        content: "🗺️";
    }

    /* RESULTS */

    .pr-results {
        display: none;
    }

    body.mobile-list-open .pr-results {
        display: block;

        position: fixed;

        top: 78px;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 998;

        overflow-y: auto;

        background: #f8fafc;

        border-radius: 28px 28px 0 0;

        padding: 18px 14px 120px;

        box-shadow:
            0 -18px 50px rgba(15,23,42,.16);

        animation: mobileSheetUp .22s ease;
    }

    body.mobile-list-open .pr-map-wrap {
        display: none;
    }

    body.mobile-list-open .pr-results::before {
        content: "";

        width: 56px;
        height: 6px;

        border-radius: 999px;

        background: #d1d5db;

        display: block;

        margin: 0 auto 18px;
    }

    @keyframes mobileSheetUp {
        from {
            transform: translateY(40px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .pr-results-head {
        display: none !important;
    }

    /* CARD GRID */

    .pr-card-grid,
    .pr-main.view-list .pr-card-grid,
    .pr-main.view-places .pr-card-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    /* CARD */

    .place-card {
        position: relative;

        background: #ffffff;

        border-radius: 26px;

        overflow: hidden;

        border: 1px solid rgba(226,232,240,.7);

        box-shadow:
            0 10px 30px rgba(15,23,42,.08);

        transition:
            transform .16s ease,
            box-shadow .16s ease;
    }

    .place-card:active {
        transform: scale(.985);
    }

    /* IMAGE */

    .place-img {
        position: relative;

        height: 190px;

        border-radius: 26px 26px 0 0;

        overflow: hidden;

        background: #e5e7eb;
    }

    .place-img img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        display: block;
    }

    /* CARD BODY */

    .place-body {
        padding: 16px 16px 18px;
    }

    .place-title {
        font-size: 19px;
        line-height: 1.2;
        font-weight: 950;

        color: #0f172a;

        margin-bottom: 6px;

        letter-spacing: -0.02em;
    }

    .place-city {
        display: flex;
        align-items: center;
        gap: 6px;

        color: #64748b;

        font-size: 13px;
        line-height: 1.4;
        font-weight: 700;

        margin-bottom: 12px;
    }

    /* META */

    .place-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 10px;

        margin-top: 14px;
    }

    .rating {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-width: 52px;
        height: 34px;

        padding: 0 12px;

        border-radius: 999px;

        background: linear-gradient(
            135deg,
            #10b981,
            #059669
        );

        color: #ffffff;

        font-size: 13px;
        line-height: 1;
        font-weight: 900;

        box-shadow:
            0 10px 24px rgba(5,150,105,.18);
    }

    .price {
        color: #0f172a;

        font-size: 17px;
        line-height: 1;
        font-weight: 950;
    }

    .category {
        color: #64748b;

        font-size: 13px;
        font-weight: 700;
    }

    /* LABELS */

    .place-label-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        margin-top: 12px;
    }

    .place-label {
        min-height: 32px;

        padding: 0 12px;

        border-radius: 999px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        font-size: 11px;
        line-height: 1;
        font-weight: 900;
    }

    .place-label-top {
        background: #fef3c7;
        color: #b45309;
    }

    .place-label-open {
        background: #dcfce7;
        color: #166534;
    }

    .place-label-closed {
        background: #fee2e2;
        color: #991b1b;
    }

    /* BADGES */

    .book-badge {
        position: absolute;

        top: 14px;
        left: 14px;

        z-index: 5;

        height: 34px;

        padding: 0 13px;

        border-radius: 999px;

        background: rgba(5,150,105,.96);

        color: #ffffff;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        font-size: 11px;
        line-height: 1;
        font-weight: 900;

        backdrop-filter: blur(10px);

        box-shadow:
            0 10px 24px rgba(5,150,105,.24);
    }

    .heart {
        position: absolute;

        top: 14px;
        right: 14px;

        width: 42px;
        height: 42px;

        border-radius: 999px;

        background: rgba(255,255,255,.96);

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 19px;

        color: #ef4444;

        backdrop-filter: blur(10px);

        box-shadow:
            0 10px 24px rgba(15,23,42,.14);
    }

    /* FLOATING MAP BUTTONS */

    .map-fab {
        position: fixed;

        right: 12px;
        bottom: 94px;

        top: auto;

        z-index: 500;
    }

    /* BOTTOM NAV */

    .mobile-bottom-nav {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 1200;

        min-height: 86px;

        padding:
            10px
            12px
            calc(10px + env(safe-area-inset-bottom, 0px));

        background: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(18px);

        border-top: 1px solid #e5e7eb;

        display: grid !important;
        grid-template-columns: repeat(5, 1fr);

        gap: 8px;

        box-shadow:
            0 -10px 30px rgba(15, 23, 42, 0.10);
    }

    .mobile-bottom-link {
        min-height: 58px;

        border-radius: 20px;

        background: #f8fafc;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        color: #6b7280;

        text-decoration: none;

        font-size: 11px;
        line-height: 1;
        font-weight: 900;

        transition:
            background .16s ease,
            color .16s ease,
            transform .16s ease;
    }

    .mobile-bottom-link.active {
        background: linear-gradient(
            135deg,
            #10b981,
            #059669
        );

        color: #ffffff;

        box-shadow:
            0 10px 24px rgba(5,150,105,.22);
    }

    .mobile-bottom-link:active {
        transform: scale(.96);
    }

    .mobile-bottom-icon {
        font-size: 22px;
        line-height: 1;
    }
}

/* LANDSCAPE */

@media screen and (max-width: 1180px) and (pointer: coarse) and (orientation: landscape) {

    .pr-filterbar {
        top: calc(env(safe-area-inset-top, 0px) + 8px);
        height: 46px;
    }

    .pr-searchbox,
    .pr-searchbox input,
    .mobile-view-toggle,
    .mobile-list-toggle {
        height: 46px !important;
        min-height: 46px !important;
    }

    body.mobile-list-open .pr-results {
        top: 62px;
        padding-bottom: 90px;
    }

    .place-img {
        height: 150px;
    }

    .mobile-bottom-nav {
        min-height: 64px;
    }

    .mobile-bottom-link {
        min-height: 48px;
        font-size: 10px;
    }

    .mobile-bottom-icon {
        font-size: 18px;
    }
}

/* DESKTOP */

@media screen and (min-width: 1181px) and (hover: hover) and (pointer: fine) {

    .mobile-view-toggle,
    .mobile-list-toggle,
    .mobile-bottom-nav,
    .mobile-home-map {
        display: none !important;
    }

    .desktop-only-site,
    .desktop-home {
        display: block !important;
    }
}

.place-label-category {
    background: #dcfce7;
    color: #166534;
}

.place-card {
    position: relative;
}

.place-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.favorite-form {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 30;
    margin: 0;
}

.favorite-form .heart {
    position: static;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(15,23,42,.14);
}

.place-label-category {
    background: #dcfce7;
    color: #166534;
}