/* Nearby Points Grid Layout - Original structure with carousel for each category */
    .nearby-points-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 2rem;
        margin: 2rem 0;
        justify-content: center; /* center if fewer columns than available space */
    }

    /* Let columns resize inside container */
    .nearby-points-container {
        background: #fff;
        border-radius: 12px;
        border: 1px solid #e9ecef;
        padding: 2rem;
        margin: 2rem 0;
        --np-col-min: 200px; /* minimum column width target */
    }

    /* Responsive fixed-column-count with adaptive widths */
    @media (min-width: 576px) {
        .nearby-points-grid {
            grid-template-columns: repeat(2, minmax(var(--np-col-min), 1fr));
        }
    }

    @media (min-width: 768px) {
        .nearby-points-grid {
            grid-template-columns: repeat(3, minmax(var(--np-col-min), 1fr));
            gap: 2.5rem;
        }
    }

    @media (min-width: 992px) {
        .nearby-points-grid {
            grid-template-columns: repeat(4, minmax(var(--np-col-min), 1fr));
        }
    }

    @media (min-width: 1200px) {
        .nearby-points-grid {
            grid-template-columns: repeat(5, minmax(var(--np-col-min), 1fr)); /* 5 columns adapt within container */
            gap: 3rem;
        }
    }

    /* Main container - no shadow for minimal look */
    .nearby-category-column {
        background: #fff;
        border-radius: 12px;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }

    .nearby-category-column:hover {
        border-color: #dee2e6;
        transform: translateY(-1px);
    }

    .category-header {
        margin-bottom: 0.8rem;
        border-bottom: 1px solid #f1f3f4;
        padding-bottom: 1rem;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        padding: 1rem 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .category-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .category-title i {
        color: #0d6efd;
    }

    .points-count {
        font-size: 0.85rem;
        color: #666;
        font-weight: 500;
    }

    /* Category Carousel - 1 card display per category */
    .category-points-carousel-wrapper {
        position: relative;
    }

    .category-points-carousel {
        margin: 0 -4px; /* Negative margin to counteract cell padding on mobile */
    }

    /* Desktop: no negative margin needed */
    @media (min-width: 768px) {
        .category-points-carousel {
            margin: 0;
        }
    }

    .category-points-carousel .carousel-cell {
        width: 50%; /* Show 2 cards on mobile */
        padding: 0 4px; /* Small gap between cards */
    }

    /* Desktop: show 1 card per category like before */
    @media (min-width: 768px) {
        .category-points-carousel .carousel-cell {
            width: 100%; /* Always show 1 card per category on desktop */
            padding: 0;
        }
    }

    /* Category Navigation Buttons */
    .category-carousel-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 10;
        /* Hide on mobile when showing 2 cards unless more than 2 items */
        display: none;
    }

    /* Show navigation on desktop (1 card view) when more than 1 item */
    @media (min-width: 768px) {
        .category-carousel-nav {
            display: block;
        }
    }

    /* Show navigation on mobile only when more than 2 items */
    @media (max-width: 767px) {
        .nearby-category-column[data-points-count]:not([data-points-count="1"]):not([data-points-count="2"]) .category-carousel-nav {
            display: block;
        }
    }

    .cat-nav-btn {
        position: absolute;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        font-size: 14px;
        cursor: pointer;
        pointer-events: all;
        transition: all 0.3s ease;
    }

    .cat-nav-btn:hover {
        background: #fff;
        transform: scale(1.05);
    }

    .cat-prev {
        left: -16px;
    }

    .cat-next {
        right: -16px;
    }

    /* Carousel Indicators */
    .category-carousel-indicators {
        text-align: center;
        margin-top: 0.25rem;
        font-size: 0.8rem;
        color: #666;
        font-weight: 500;
    }

    /* Nearby Point Card - Original styling */
    .nearby-point-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

    .nearby-point-card:hover {
        transform: translateY(-2px);
        border-color: #0d6efd;
    }

    .point-image {
        position: relative;
        height: 180px;
        overflow: hidden;
    }

    .point-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .point-image:hover img {
        transform: scale(1.05);
    }

    .point-placeholder {
        width: 100%;
        height: 100%;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #adb5bd;
        font-size: 2rem;
    }

    .distance-badge {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 0.25rem 0.5rem;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .point-content {
        padding: 1rem;
    }

    .point-title {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .point-title a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .point-title a:hover {
        color: #0d6efd;
    }

    .point-address {
        font-size: 0.8rem;
        color: #666;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .point-meta {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        font-size: 0.75rem;
        color: #666;
    }

    .point-meta span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .point-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .point-actions .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
        text-align: center;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .nearby-category-column {
            padding: 1rem;
        }

        .point-image {
            height: 150px;
        }

        .cat-nav-btn {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }

        .cat-prev {
            left: -14px;
        }

        .cat-next {
            right: -14px;
        }
    }

    /* Spacing adjustments: reduce distance between carousels (tighter) */
    .nearby-points-grid {
        gap: 0.75rem;
    }

    @media (min-width: 768px) {
        .nearby-points-grid {
            gap: 1rem;
        }
    }

    @media (min-width: 1200px) {
        .nearby-points-grid {
            gap: 1.25rem;
        }
    }

    .category-header {
        margin-bottom: 0.5rem;
    }

    .category-carousel-indicators {
        margin-top: 0.25rem;
    }

    /* Final spacing: enforce constant gap across breakpoints */
    .nearby-points-grid { gap: 0.5rem !important; }
