html, body {
    margin: 0;
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #222;
}

.plf-header {
    background: #7C2030;
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.plf-header a.plf-back {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}
.plf-header h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.plf-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}
.plf-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 48px;
    align-items: center;
}
.plf-nav-list li {
    display: inline-flex;
}
.plf-nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s;
}
.plf-nav-list a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}
.plf-nav-list li.current-menu-item > a,
.plf-nav-list li.current_page_item > a,
.plf-nav-list li.plf-current > a {
    border-bottom-color: #fff;
}

@media (max-width: 768px) {
    .plf-nav-list {
        gap: 20px;
    }
    .plf-nav-list a {
        font-size: 13px;
    }
}

.plf-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.plf-sidebar {
    width: 380px;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #eee;
    flex: 0 0 auto;
}

.plf-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.plf-card:hover,
.plf-card.is-active {
    background: #fbe9ec;
}
.plf-card.is-active {
    box-shadow: inset 3px 0 0 #7C2030;
}
.plf-card img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex: 0 0 auto;
    background: #f0f0f0;
}
.plf-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.plf-card h3 {
    margin: 0 0 4px;
    color: #7C2030;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}
.plf-card p {
    margin: 0;
    color: #666;
    font-size: 13px;
}
.plf-card p.plf-card-address {
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.plf-empty {
    padding: 24px;
    color: #888;
    text-align: center;
    font-size: 14px;
}

.plf-map {
    flex: 1 1 auto;
}

.plf-map .leaflet-control-attribution svg {
    display: none !important;
}

@media (max-width: 768px) {
    .plf-body {
        flex-direction: column;
    }
    .plf-sidebar {
        width: 100%;
        height: 40%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .plf-map {
        height: 60%;
    }
}

@keyframes plf-bounce {
    0%   { translate: 0 0; }
    30%  { translate: 0 -12px; }
    55%  { translate: 0 0; }
    75%  { translate: 0 -6px; }
    90%  { translate: 0 0; }
    100% { translate: 0 0; }
}

.plf-bounce {
    animation: plf-bounce 0.5s ease-out;
}
