/**
 * DAF Marketplace — Header Responsive
 * Location: /wp-content/plugins/daf-marketplace/assets/css/header/header-responsive.css
 *
 * Purpose:
 * - Control responsive behavior for the modular plugin marketplace header.
 * - Switch desktop rows to mobile header at the correct breakpoints.
 * - Fine-tune spacing, search width, nav density, and CTA sizing across devices.
 * - Breadcrumb styling has been completely removed.
 */

.daf-mp-header__desktop { display: block; }
.daf-mp-header__mobile { display: none; }

@media (max-width: 1399px) {
    .daf-mp-header__main-inner { column-gap: 16px; }
    .daf-mp-header__right { gap: 8px; }
    .daf-mp-header-search-form__category { flex: 0 0 168px; min-width: 168px; }
    .daf-mp-header-search-form__button { min-width: 118px; padding: 0 16px; }
    .daf-mp-header-actions { gap: 6px; }
    .daf-mp-header-action { width: 40px; height: 40px; }
    .daf-mp-header-cta { min-width: 114px; padding: 0 16px; }
    .daf-mp-header-nav__menu { gap: 6px; }
    .daf-mp-header-nav__link { padding: 0 10px; }
    .daf-mp-header-quick-links__list { gap: 4px; }
    .daf-mp-header-quick-links__link { padding: 0 8px; }
}

@media (max-width: 1199px) {
    .daf-mp-header__desktop { display: none; }
    .daf-mp-header__mobile { display: block; }
    .daf-mp-header__mobile-bar { display: block; }
    .daf-mp-header__mobile-search { display: block; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .daf-mp-header__mobile-bar-inner { min-height: 74px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__image { max-height: 36px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__text { font-size: 24px; }
    .daf-mp-header-mobile-search-form { max-width: 100%; }
    .daf-mp-header-mobile-search-form__inner { min-height: 52px; }
    .daf-mp-mobile-panel__dialog { width: min(76vw, 380px); }
}

@media (max-width: 767px) {
    .daf-mp-header__mobile-bar-inner { min-height: 64px; gap: 10px; }
    .daf-mp-mobile-toggle, .daf-mp-mobile-search-toggle { width: 42px; height: 42px; border-radius: 12px; }
    .daf-mp-mobile-toggle__icon, .daf-mp-mobile-search-toggle__icon { width: 18px; height: 18px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__image { max-height: 30px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__text { font-size: 20px; }
    .daf-mp-header__mobile-search { padding-bottom: 12px; }
    .daf-mp-header-mobile-search-form { padding-top: 12px; }
    .daf-mp-header-mobile-search-form__inner { min-height: 48px; }
    .daf-mp-header-mobile-search-form__input { height: 48px; padding: 0 16px; font-size: 14px; }
    .daf-mp-header-mobile-search-form__button { flex: 0 0 46px; width: 46px; height: 46px; }
    .daf-mp-mobile-panel__dialog { width: min(88vw, 340px); }
    .daf-mp-mobile-panel__header, .daf-mp-mobile-panel__search, .daf-mp-mobile-panel__nav, .daf-mp-mobile-panel__quick-links, .daf-mp-mobile-panel__footer { padding: 16px; }
    .daf-mp-mobile-panel__close { width: 38px; height: 38px; border-radius: 10px; }
}

@media (max-width: 479px) {
    .daf-mp-header__mobile-bar-inner { min-height: 60px; }
    .daf-mp-mobile-toggle, .daf-mp-mobile-search-toggle { width: 40px; height: 40px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__image { max-height: 28px; }
    .daf-mp-header-logo--mobile .daf-mp-header-logo__text { font-size: 18px; }
    .daf-mp-header-mobile-search-form__input { font-size: 13px; }
    .daf-mp-mobile-panel__dialog { width: min(92vw, 320px); }
    .daf-mp-mobile-panel__nav .daf-mp-header-nav__link, .daf-mp-mobile-panel__quick-links .daf-mp-header-quick-links__link { min-height: 44px; padding: 10px 0; font-size: 14px; }
    .daf-mp-mobile-panel__footer .daf-mp-topbar-links__item { padding: 10px 0; font-size: 13px; }
}