@media (max-width: 900px) {
    body.bg-light .navbar {
        height: auto !important;
        min-height: 92px;
        padding: 10px 0 14px;
    }

    body.bg-light .nav-container {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    body.bg-light .nav-links {
        display: none !important;
    }

    body.bg-light .nav-actions.c2p-public-nav-actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin-top: 6px;
    }

    .c2p-footer-grid {
        grid-template-columns: 1fr;
        text-align: left !important;
    }

    .c2p-footer-grid ul,
    .c2p-footer-grid li,
    .c2p-footer-note {
        text-align: left !important;
    }

    .footer-legal,
    .footer-legal p {
        text-align: center !important;
    }

    .c2p-public-nav-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .c2p-public-nav-actions .btn {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 10px 8px;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }

    .public-nav-logo img {
        height: 52px;
    }

    .property-header {
        padding: 16px 0 16px;
    }

    .c2p-detail-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .c2p-detail-loader {
        padding: 110px 0;
    }

    .catalog-page-title,
    .detail-page-title {
        font-size: clamp(2rem, 8vw, 2.45rem);
    }

    .c2p-detail-section {
        padding: 16px 0;
    }

    .c2p-gallery-container {
        margin-bottom: 28px;
    }

    .c2p-detail-hero-pills {
        gap: 8px;
    }

    .c2p-detail-hero-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .c2p-hero-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================================================
   BATCH 2 ITEM 4: MOBILE LIGHTBOX ADJUSTMENTS
   ========================================================================== */
@media (max-width: 900px) {
    .esr-lightbox-content {
        padding: 0 10px;
        gap: 10px;
    }

    .esr-lightbox-arrow {
        width: 44px;
        height: 44px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .esr-lightbox-counter {
        top: 20px;
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .esr-lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .esr-lightbox-controls {
        bottom: 25px;
        gap: 10px;
        padding: 8px 16px;
    }
}
