/*
 * FYNDA PREMIUM UI — MILESTONE 2.7B
 *
 * Scoped presentation changes only.
 *
 * Preserve:
 * - Live Leaflet map
 * - Sponsored visibility/map expansion
 * - Navigation destinations
 * - Chat and commercial workflows
 * - Android system safe areas
 */

/* 1. Remove decorative dot beneath FYNDA logo */

#app .fynda-header .fynda-brand::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
}

/* 2. Remove unwanted rounded header corners */

#app .fynda-header {
    border-radius: 0 !important;
}

/* 3. Refine marketplace search panel */

#app .discovery-page .discovery-search-panel {
    padding: 10px 12px 12px !important;
    gap: 9px !important;
}

#app .discovery-page .discovery-search-row {
    gap: 8px !important;
    align-items: stretch;
}

/* Compact search without sacrificing input usability */

#app .discovery-page .premium-search {
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    border-radius: 22px !important;
    box-sizing: border-box;
}

#app .discovery-page .premium-search input {
    height: 44px !important;
    min-height: 44px !important;
    max-width: 100%;
    box-sizing: border-box;
}

/* Keep filter button aligned with the search field */

#app .discovery-page .filter-toggle {
    height: 54px !important;
    min-height: 54px !important;
    width: 54px !important;
    flex: 0 0 54px !important;
    border-radius: 18px !important;
    box-sizing: border-box;
}

/* 4. Refine category button spacing */

#app .discovery-page .discovery-tabs {
    gap: 6px !important;
}

#app .discovery-page .discovery-tabs button {
    min-height: 46px !important;
    min-width: 0;
    padding-inline: clamp(2px, 1.7vw, 9px) !important;
    box-sizing: border-box;
}

/* 5. Improve bottom-navigation icon centering */

#app .fynda-bottom-nav.premium-navigation
.fynda-nav-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

/* 6. Narrow mobile devices */

@media (max-width: 280px) {

    #app .discovery-page .discovery-search-panel {
        padding-inline: 8px !important;
    }

    #app .discovery-page .premium-search {
        height: 48px !important;
        min-height: 48px !important;
        padding-inline: 8px !important;
    }

    #app .discovery-page .filter-toggle {
        height: 48px !important;
        min-height: 48px !important;
        width: 46px !important;
        flex-basis: 46px !important;
    }

    #app .discovery-page .discovery-tabs {
        gap: 3px !important;
    }

    #app .discovery-page .discovery-tabs button {
        padding-inline: 2px !important;
        font-size: clamp(8px, 3vw, 10px);
    }
}
