

        *, *::before, *::after {
            box-sizing: border-box;
        }

        html, body {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }


        /* =========================================================
           HEADER / LOGO
        ========================================================= */

        .site-header {
            width: 100%;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
    top: 0;
    z-index: 1000;
        }


        .site-header .container {
            max-width: 1150px;
            margin: 0 auto;
            padding: 16px 20px;
        }


        .site-header .logo img {
            display: block;
            max-width: 220px;
            max-height: 48px;
            width: auto;
            height: auto;
            object-fit: contain;
        }

        .site-header .logo {
            display: inline-block;
            text-decoration: none;
            font-size: 28px;
            font-weight: 800;
            color: #0f172a;
            letter-spacing: -1px;
            line-height: 1;
        }


        .site-header .logo span {
            color: #35c759;
        }


        /* =========================================================
           LOCATION PAGE
        ========================================================= */

        .location-page {
            max-width: 1150px;
            margin: 0 auto;
            padding: 30px 20px 60px;
        }


        /* =========================================================
           BACK LINK
        ========================================================= */

        .back-link {
            display: inline-block;
            margin-bottom: 22px;
            color: #2563eb;
            text-decoration: none;
            font-weight: 600;
        }


        .back-link:hover {
            text-decoration: underline;
        }


        /* =========================================================
           LOCATION HERO
        ========================================================= */

        .location-hero {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 18px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
        }


        .location-label {
            color: #2563eb;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 8px;
        }


        .location-title {
            margin: 0 0 10px;
            font-size: 38px;
            line-height: 1.15;
            color: #0f172a;
        }


        .location-description {
            margin: 0;
            color: #475569;
            font-size: 17px;
            line-height: 1.6;
        }


        .location-count {
            display: inline-block;
            margin-top: 18px;
            padding: 7px 13px;
            border-radius: 999px;
            background: #eff6ff;
            color: #1d4ed8;
            font-size: 14px;
            font-weight: 700;
        }


        /* =========================================================
           BUSINESS GRID
        ========================================================= */

        .business-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }


        /* =========================================================
           BUSINESS CARD
        ========================================================= */

        .business-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease;
        }


        .business-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
        }


        /* =========================================================
           BUSINESS IMAGE
        ========================================================= */

        .business-card-image {
            position: relative;
            width: 100%;
            height: 210px;
            background: #f1f5f9;
            overflow: hidden;
        }


        .business-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }


        .business-card-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 15px;
            font-weight: 600;
        }


        /* =========================================================
           FEATURED BADGE
        ========================================================= */

        .featured-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #f5c542;
            color: #111827;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }


        /* =========================================================
           CARD CONTENT
        ========================================================= */

        .business-card-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }


        .business-category {
            color: #2563eb;
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 7px;
        }


        .business-name {
            margin: 0 0 8px;
            font-size: 21px;
            line-height: 1.25;
            color: #0f172a;
        }


        .business-name a {
            color: inherit;
            text-decoration: none;
        }


        .business-name a:hover {
            color: #2563eb;
        }


        .business-tagline {
            margin: 0 0 15px;
            color: #64748b;
            font-size: 14px;
            line-height: 1.5;
        }


        /* =========================================================
           CARD DETAILS
        ========================================================= */

        .business-details {
            display: flex;
            flex-direction: column;
            gap: 7px;
            margin-bottom: 18px;
        }


        .business-detail {
            color: #475569;
            font-size: 14px;
            line-height: 1.4;
        }


        .business-price {
            color: #15803d;
            font-weight: 700;
        }


        /* =========================================================
           CARD ACTIONS
        ========================================================= */

        .business-actions {
            display: flex;
            gap: 9px;
            margin-top: auto;
        }


        .business-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 0 15px;
            border-radius: 9px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            border: 1px solid #dbeafe;
            background: #eff6ff;
            color: #1d4ed8;
            flex: 1;
            transition: opacity 0.2s ease;
        }


        .business-button:hover {
            opacity: 0.88;
        }


        .business-button.primary {
            background: #2563eb;
            color: #ffffff;
            border-color: #2563eb;
        }


        /* =========================================================
           LOCATION CATEGORY FILTER
        ========================================================= */

        .location-filter {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 22px;
            margin-bottom: 25px;
            box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
        }

        .location-filter-header h2 {
            margin: 0 0 6px;
            color: #0f172a;
            font-size: 20px;
        }

        .location-filter-header p {
            margin: 0 0 18px;
            color: #64748b;
            font-size: 14px;
            line-height: 1.5;
        }

        .location-filter-form {
            display: flex;
            align-items: flex-end;
            gap: 12px;
        }

        .location-filter-field {
            flex: 1;
            min-width: 0;
        }

        .location-filter-field label {
            display: block;
            margin-bottom: 7px;
            color: #334155;
            font-size: 13px;
            font-weight: 700;
        }

        .location-filter-field select {
            width: 100%;
            min-height: 44px;
            padding: 0 12px;
            border: 1px solid #d1d5db;
            border-radius: 9px;
            background: #ffffff;
            color: #0f172a;
            font-size: 14px;
        }

        .location-filter-actions {
            display: flex;
            gap: 8px;
            flex: 0 0 auto;
        }

        .location-filter-button,
        .location-clear-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 0 16px;
            border-radius: 9px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
        }

        .location-filter-button {
            border: 1px solid #2563eb;
            background: #2563eb;
            color: #ffffff;
        }

        .location-clear-button {
            border: 1px solid #e5e7eb;
            background: #ffffff;
            color: #475569;
        }

        .location-filter-button:hover {
            opacity: 0.9;
        }

        .location-clear-button:hover {
            background: #f8fafc;
        }


        /* =========================================================
           PAGINATION
        ========================================================= */

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 35px;
            flex-wrap: wrap;
        }

        .pagination-pages {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .pagination a,
        .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 12px;
            border: 1px solid #d8dee6;
            border-radius: 8px;
            background: #ffffff;
            color: #17202a;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
        }

        .pagination a:hover {
            border-color: #35c759;
            color: #35a853;
        }

        .pagination .current {
            background: #102a43;
            color: #ffffff;
            border-color: #102a43;
        }

        .pagination .disabled {
            color: #5b6675;
            background: #f5f7fa;
        }

        /* =========================================================
           NO BUSINESSES
        ========================================================= */

        .no-businesses {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 40px 25px;
            text-align: center;
            color: #64748b;
        }


        .no-businesses h2 {
            margin: 0 0 8px;
            color: #0f172a;
            font-size: 22px;
        }


        .no-businesses p {
            margin: 0;
            line-height: 1.6;
        }


        /* =========================================================
           TABLET
        ========================================================= */

        @media (max-width: 900px) {

            .business-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

        }
        
        /* Desktop navigation */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    margin-right: 0;
}

.main-nav a {
    text-decoration: none;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #35c759;
}

.desktop-search-toggle {
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    margin-left: 20px;
}

.mobile-header-actions {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-search-toggle {
    display: none;
}

.header-search {
    display: none;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 20px;
    top: 70px;
    width: 400px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
    z-index: 100;
}

.header-search.search-open {
    display: flex;
}

.header-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 14px;
}

.header-search button {
    border: none;
    background: #35c759;
    color: #fff;
    padding: 10px 15px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.site-footer {
    margin-top: 60px;
    background: #0f172a;
    color: #cbd5e1;
}

.site-footer .container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 31px;
    margin: 0 0 15px;
    text-decoration: none;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}

.footer-logo span {
    color: #35c759;
}

.footer-column p {
    max-width: 350px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.footer-column h3 {
    display: flex;
    align-items: center;
    height: 31px;
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
}

.footer-column a:not(.footer-logo) {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 14px;
}

.footer-column a:not(.footer-logo):hover {
    color: #35c759;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}


        /* =========================================================
           MOBILE
        ========================================================= */

        @media (max-width: 600px) {
            
                .site-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 16px;
        flex-wrap: wrap;
    }

    .site-header .logo {
        order: 1;
    }

    .mobile-header-actions {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: block;
        border: none;
        background: transparent;
        color: #0f172a;
        font-size: 22px;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-search-toggle {
        display: block;
        border: none;
        background: transparent;
        color: #0f172a;
        font-size: 20px;
        cursor: pointer;
        padding: 5px;
    }

    .desktop-search-toggle {
        display: none !important;
    }

    .main-nav {
        order: 3;
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 15px 0 0;
        padding: 10px 0;
        border-top: 1px solid #e5e7eb;
    }

    .main-nav.mobile-menu-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-search {
        order: 4;
        position: static;
        width: 100%;
        margin: 15px 0 0;
        box-sizing: border-box;
        flex-basis: 100%;
    }

    .header-search.mobile-search-open {
        display: flex;
    }

            .site-header .container {
                padding: 15px 16px;
            }


            .site-header .logo {
                font-size: 26px;
            }


            .location-page {
                padding: 25px 14px 45px;
            }


            .location-hero {
                padding: 22px;
            }


            .location-title {
                font-size: 30px;
            }


            .business-grid {
                grid-template-columns: 1fr;
            }


            .business-card-image {
                height: 220px;
            }


            .business-actions {
                flex-direction: column;
            }


            .location-filter {
                padding: 18px;
                margin-bottom: 20px;
            }

            .location-filter-form {
                flex-direction: column;
                align-items: stretch;
            }

            .location-filter-actions {
                width: 100%;
            }

            .location-filter-button,
            .location-clear-button {
                flex: 1;
            }


            .pagination {
                gap: 7px;
            }


            .pagination-button,
            .pagination-page {
                min-width: 40px;
                height: 40px;
                font-size: 13px;
            }
            
            .site-footer {
    margin-top: 40px;
}

.site-footer .container {
    padding: 35px 16px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
}
        }

    

        /* Requested enhancement: pin the existing header to the viewport. */
        .site-header {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            z-index: 1000 !important;
        }
        #nipeplace-header-spacer { display: block; width: 100%; }

        /* Requested enhancement: floating back-to-top control. */
        #nipeplace-back-to-top {
            position: fixed;
            right: 22px;
            bottom: 22px;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border: 0;
            border-radius: 50%;
            background: #2563eb;
            color: #ffffff;
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
        }
        #nipeplace-back-to-top:focus-visible {
            outline: 3px solid #93c5fd;
            outline-offset: 3px;
        }
        #nipeplace-back-to-top.is-visible { display: inline-flex; }
        @media (max-width: 600px) {
            #nipeplace-back-to-top { right: 16px; bottom: 16px; }
        }
        .np-crumbs { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:14px; color:#64748b; margin:0 0 14px; }
        .np-crumbs a { color:#1d4ed8; text-decoration:none; font-weight:600; padding:6px 0; }
        .np-crumbs a:hover { text-decoration:underline; }
        .np-crumbs span[aria-current] { color:#0f172a; font-weight:700; }
        .np-block { background:#fff; border:1px solid #e5e7eb; border-radius:18px; padding:24px; margin:30px 0 0; box-shadow:0 8px 30px rgba(15,23,42,.05); }
        .np-block h2 { margin:0 0 6px; font-size:22px; color:#0f172a; }
        .np-block p { margin:0 0 14px; color:#475569; }
        .np-chips { display:flex; flex-wrap:wrap; gap:10px; }
        .np-chips a { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid #d8dee6; border-radius:999px; background:#f8fafc; color:#0f172a; text-decoration:none; font-weight:600; font-size:14px; min-height:44px; }
        .np-chips a:hover { border-color:#15803d; background:#f0fdf4; }
        .np-chips b { background:#e2e8f0; border-radius:999px; padding:2px 8px; font-size:12px; color:#334155; }


/* shared simple-page styles */
.np-simple{max-width:820px;margin:0 auto;padding:24px 16px 48px}
.np-simple h1{margin:0 0 8px;font-size:30px;line-height:1.2;color:#0f172a}
.np-simple .lead{color:#475569;font-size:17px;line-height:1.6;margin:0 0 18px}
.np-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:22px;margin:0 0 18px;box-shadow:0 5px 20px rgba(15,23,42,.05)}
.np-card h2{margin:0 0 10px;font-size:20px;color:#0f172a}
.np-form label{display:block;font-weight:700;margin:14px 0 6px;color:#0f172a}
.np-form input[type=text],.np-form input[type=email],.np-form input[type=tel],.np-form input[type=url],.np-form textarea,.np-form select{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;font-size:16px;background:#fff}
.np-form textarea{min-height:110px}
.np-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:10px;border:0;background:#15803d;color:#fff;font-weight:800;font-size:16px;cursor:pointer;text-decoration:none}
.np-btn.sec{background:#fff;color:#0f172a;border:1px solid #d8dee6}
.np-msg{padding:12px 14px;border-radius:10px;margin:0 0 14px;font-weight:600}.np-msg.ok{background:#e8f7ee;color:#0f6b31}.np-msg.err{background:#fdeceb;color:#a11a14}
.np-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.np-muted{color:#64748b;font-size:14px}
