/* NEW PROPERTIES COMPONENT CSS - Extracted from partials/home/new-properties.blade.php (~741 lines) */

    /* Simple Variables */
    :root {
        --primary-color: #001f49;
        --accent-color: #00aeef;
        --success-color: #25d366;
        --text-primary: #1a1a1a;
        --text-secondary: #6b7280;
        --bg-white: #ffffff;
        --border-color: #e5e7eb;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
        --radius-md: 4px;
    }

    /* Section Header */
    .section-title {
        font-size: 1.875rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: var(--text-secondary);
        margin: 0;
    }

    .view-all-properties-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary-color);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .view-all-properties-link:hover {
        color: var(--accent-color);
        text-decoration: none;
        transform: translateX(4px);
    }

    .view-all-properties-link i {
        transition: transform 0.2s ease;
        font-size: 0.875rem;
    }

    .view-all-properties-link:hover i {
        transform: translateX(4px);
    }

    /* Section Wrapper */
    .new-properties-section {
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }

    /* Mobile: Remove top margin/padding and prevent page scroll */
    @media (max-width: 768px) {
        .new-properties-section {
            margin-top: 0 !important;
            padding-top: 0 !important;
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
        }
    }

    /* Scroll Wrapper */
    .featured-properties-scroll-wrapper {
        position: relative;
        width: 100%;
        overflow: visible;
    }

    /* Mobile: Enable horizontal scroll on wrapper */
    @media (max-width: 767.98px) {
        .featured-properties-scroll-wrapper {
            overflow-x: auto !important;
            overflow-y: hidden !important;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .featured-properties-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }
    }

    /* Arrow Buttons */
    .scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        width: 48px;
        height: 48px;
        background: var(--accent-color);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
        pointer-events: auto;
        /* Ensure button is above all content */
        isolation: isolate;
    }

    .scroll-arrow:hover {
        background: var(--primary-color);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
    }

    .scroll-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

    .scroll-arrow-left {
        left: 1rem;
    }

    .scroll-arrow-right {
        right: 1rem;
    }

    /* Hide arrows on mobile - override inline styles */
    @media (max-width: 768px) {
        .scroll-arrow {
            display: none !important;
            visibility: hidden !important;
        }
    }

    /* Grid Container - Display 4 Cards */
    .featured-properties-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }

    /* Mobile: Force horizontal scroll */
    @media (max-width: 767.98px) {
        .featured-properties-scroll-wrapper .featured-properties-grid {
            display: flex !important;
            grid-template-columns: none !important;
            grid-auto-flow: unset !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: 1rem;
            width: max-content !important;
            min-width: max-content !important;
            padding: 0.5rem 0.75rem 0.5rem 1.5rem;
            margin: 0 !important;
            padding-left: 1.5rem !important;
        }

        .featured-properties-scroll-wrapper .property-card-wrapper {
            min-width: 280px !important;
            max-width: 280px !important;
            width: 280px !important;
            flex-shrink: 0 !important;
            flex-grow: 0 !important;
            display: block !important;
            margin: 0 !important;
        }
    }

    /* Enhanced scrollbar untuk desktop */
    .featured-properties-grid::-webkit-scrollbar {
        height: 16px !important;
        display: block !important;
    }

    .featured-properties-grid::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 0;
    }

    .featured-properties-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg,
                rgba(0, 174, 239, 0.3) 0%,
                rgba(0, 174, 239, 0.6) 50%,
                rgba(0, 174, 239, 0.3) 100%);
        border-radius: 10px;
        border: 3px solid rgba(0, 174, 239, 0.1);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .featured-properties-grid::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg,
                rgba(0, 174, 239, 0.5) 0%,
                rgba(0, 174, 239, 0.8) 50%,
                rgba(0, 174, 239, 0.5) 100%);
        border-color: rgba(0, 174, 239, 0.2);
        transform: scaleY(1.2);
    }

    .featured-properties-grid::-webkit-scrollbar-thumb:active {
        background: var(--accent-color);
        transform: scaleY(1.1);
    }

    /* Firefox scrollbar */
    .featured-properties-grid {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 174, 239, 0.6) transparent;
    }

    /* Card Wrapper */
    .property-card-wrapper {
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Desktop: Ensure grid layout is maintained */
    @media (min-width: 768px) {
        .new-properties-section .featured-properties-scroll-wrapper {
            overflow: visible !important;
            margin: 0 auto !important;
            padding: 0 !important;
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
        }

        .new-properties-section .featured-properties-scroll-wrapper .featured-properties-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
            grid-auto-flow: row !important;
            justify-items: center !important;
            justify-content: center !important;
            flex-direction: unset !important;
            flex-wrap: unset !important;
            width: 100% !important;
            max-width: 1200px !important;
            min-width: auto !important;
            padding: 0 !important;
            margin: 0 auto !important;
            gap: 1.5rem !important;
        }

        .new-properties-section .featured-properties-scroll-wrapper .property-card-wrapper {
            min-width: auto !important;
            max-width: none !important;
            width: 100% !important;
            flex-shrink: unset !important;
            flex-grow: unset !important;
            height: 380px !important;
            display: flex !important;
            flex-direction: column !important;
        }
    }

    /* Property Card - Redesigned */
    .property-card {
        background: var(--bg-white);
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        height: 100%;
        border: none;
    }

    .property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 40px rgba(0, 31, 73, 0.15);
    }

    .property-card:hover .property-image {
        transform: scale(1.05);
    }

    /* Image Container */
    .property-image-container {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .property-image-container::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60%;
        background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
        pointer-events: none;
    }

    .property-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    /* Status Badge - Full Circle Style like Harcourts NZ */
    .property-status {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 3;
    }

    .status-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        line-height: 1.2;
        text-align: center;
        background: var(--accent-color);
        color: white;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    /* Content Section */
    .property-content {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    /* Property Type Badge */
    .badge-type {
        display: inline-block;
        background: var(--primary-color);
        color: white;
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        border-radius: 3px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        width: fit-content;
    }

    /* Title */
    .property-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1.35;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Price */
    .property-price {
        margin: 0;
    }

    .price-amount {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--accent-color);
        letter-spacing: -0.02em;
    }

    /* Location */
    .property-location {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--text-secondary);
        font-size: 0.8rem;
        margin: 0;
    }

    .property-location i {
        color: var(--accent-color);
        font-size: 0.8rem;
    }

    /* Specifications */
    .property-specs {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.3rem;
        margin-top: auto;
        padding-top: 0.6rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .property-specs::-webkit-scrollbar {
        display: none;
    }

    .spec-item {
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--text-secondary);
        background: #f8fafc;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .spec-item i {
        color: var(--accent-color);
        font-size: 0.6rem;
    }

    /* Link Styling */
    .property-link {
        text-decoration: none;
        color: inherit;
        display: block;
        height: 100%;
    }

    .property-link:hover {
        text-decoration: none;
        color: inherit;
    }

    /* No Data State */
    .no-data {
        padding: 3rem;
        text-align: center;
        color: var(--text-secondary);
    }

    .no-data i {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
    }

    .no-data h5 {
        margin-bottom: 0.5rem;
    }

    .no-data p {
        margin: 0;
        font-size: 0.875rem;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .new-properties-section .container {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
            padding-top: 0.5rem !important;
            padding-bottom: 1.5rem !important;
            overflow-x: visible !important;
        }

        .section-header {
            margin-bottom: 1rem;
            margin-top: 0 !important;
        }

        .section-title {
            font-size: 1.375rem;
            margin-bottom: 0.375rem;
        }

        .section-subtitle {
            font-size: 0.875rem;
        }

        .view-all-properties-link {
            font-size: 0.875rem;
            margin-top: 0.75rem;
        }

        .featured-properties-scroll-wrapper {
            margin: 0;
            padding: 0;
            overflow-x: auto !important;
            overflow-y: hidden !important;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            scrollbar-width: none;
            -ms-overflow-style: none;
            width: 100%;
            max-width: 100vw;
            display: block !important;
            position: relative;
        }

        /* Hide scrollbar */
        .featured-properties-scroll-wrapper::-webkit-scrollbar {
            display: none !important;
        }

        .featured-properties-scroll-wrapper .featured-properties-grid {
            display: flex !important;
            grid-template-columns: none !important;
            grid-auto-flow: unset !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: 1rem;
            width: max-content !important;
            min-width: max-content !important;
            padding: 0.5rem 0.75rem;
            margin: 0 !important;
            padding-left: 0.75rem !important;
            padding-right: 0.75rem !important;
        }

        .featured-properties-scroll-wrapper .property-card-wrapper {
            min-width: 280px !important;
            max-width: 280px !important;
            width: 280px !important;
            height: auto;
            flex-shrink: 0 !important;
            flex-grow: 0 !important;
            display: block !important;
        }

        .property-card {
            height: 100%;
            min-height: 340px;
            width: 100%;
        }

        .property-image-container {
            height: 180px;
        }

        .property-status {
            top: 10px;
            left: 10px;
        }

        .status-badge {
            width: 48px;
            height: 48px;
            font-size: 0.5rem;
        }

        .property-content {
            padding: 0.75rem;
            gap: 0.2rem;
        }

        .badge-type {
            font-size: 0.65rem;
            padding: 0.25rem 0.6rem;
        }

        .property-title {
            font-size: 0.9rem;
            line-height: 1.4;
            -webkit-line-clamp: 2;
        }

        .price-amount {
            font-size: 1rem;
        }

        .property-location {
            font-size: 0.8rem;
            gap: 0.375rem;
        }

        .property-location i {
            font-size: 0.8rem;
        }

        .property-specs {
            gap: 0.375rem;
            margin-top: 0.25rem;
        }

        .spec-item {
            font-size: 0.75rem;
            padding: 0.2rem 0.45rem;
            gap: 0.2rem;
        }

        .spec-item i {
            font-size: 0.6rem;
        }
    }

    @media (max-width: 480px) {
        .new-properties-section .container {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            padding-top: 0.5rem !important;
            padding-bottom: 1.5rem !important;
            overflow-x: visible !important;
        }

        .section-title {
            font-size: 1.25rem;
        }

        .section-subtitle {
            font-size: 0.8rem;
        }

        .view-all-properties-link {
            font-size: 0.8rem;
            margin-top: 0.625rem;
        }

        .featured-properties-scroll-wrapper {
            margin: 0;
            padding: 0;
            width: 100%;
            max-width: 100vw;
            overflow-x: auto !important;
            overflow-y: hidden !important;
        }

        .featured-properties-scroll-wrapper .featured-properties-grid {
            gap: 0.875rem;
            padding: 0.5rem 0.5rem;
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
        }

        .featured-properties-scroll-wrapper .property-card-wrapper {
            min-width: 260px !important;
            max-width: 260px !important;
            width: 260px !important;
        }

        .property-card {
            min-height: 320px;
            width: 100%;
        }

        .property-image-container {
            height: 170px;
        }

        .property-status {
            top: 8px;
            left: 8px;
        }

        .status-badge {
            width: 44px;
            height: 44px;
            font-size: 0.45rem;
        }

        .property-content {
            padding: 0.625rem;
            gap: 0.15rem;
        }

        .badge-type {
            font-size: 0.6rem;
            padding: 0.2rem 0.5rem;
        }

        .property-title {
            font-size: 0.85rem;
            -webkit-line-clamp: 2;
        }

        .price-amount {
            font-size: 0.95rem;
        }

        .property-location {
            font-size: 0.75rem;
        }

        .property-specs {
            gap: 0.3rem;
        }

        .spec-item {
            font-size: 0.7rem;
            padding: 0.175rem 0.4rem;
        }
    }

    @media (max-width: 360px) {
        .featured-properties-scroll-wrapper .featured-properties-grid {
            display: flex !important;
            grid-template-columns: none !important;
            grid-auto-flow: unset !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            width: max-content !important;
            min-width: max-content !important;
            gap: 0.75rem;
            margin: 0 !important;
            padding: 0.5rem 0.5rem 0.5rem 1.5rem;
            padding-left: 1.5rem !important;
        }

        .featured-properties-scroll-wrapper .property-card-wrapper {
            min-width: 240px !important;
            max-width: 240px !important;
            width: 240px !important;
            flex-shrink: 0 !important;
            flex-grow: 0 !important;
            display: block !important;
        }

        .property-card {
            min-height: 300px;
            width: 100%;
        }

        .property-image-container {
            height: 160px;
        }

        .property-content {
            padding: 0.625rem;
        }

        .property-title {
            font-size: 0.8rem;
        }

        .price-amount {
            font-size: 0.9rem;
        }
    }
</style>

        }
    }
</style>

            display: block !important;
        }

        .property-card {
            min-height: 300px;
            width: 100%;
        }

        .property-image-container {
            height: 160px;
        }

        .property-content {
            padding: 0.625rem;
        }

        .property-title {
            font-size: 0.8rem;
        }

        .price-amount {
            font-size: 0.9rem;
        }
    }
</style>
