/**
 * DAF Marketplace — Header Responsive
 * Location: /wp-content/plugins/daf-marketplace/assets/css/header/header-responsive.css
 *
 * Purpose:
 * - Control responsive behavior for the modular DAF Marketplace header.
 * - Switch desktop header to mobile/tablet header at the correct breakpoint.
 * - Keep off-canvas responsive styling isolated in header-offcanvas.css.
 * - Breadcrumb styling has been completely removed.
 */

.daf-mp-header__desktop {
	display: block;
}

.daf-mp-header__mobile {
	display: none;
}

@media (min-width: 1200px) {
	.daf-mp-header__desktop {
		display: block;
	}

	.daf-mp-header__mobile,
	.daf-mp-header__mobile-bar,
	.daf-mp-header__mobile-search {
		display: none;
	}
}

/* Desktop density tuning */
@media (max-width: 1399px) {
	.daf-mp-header__main-inner {
		column-gap: 16px;
	}

	.daf-mp-header__right {
		gap: 8px;
	}

	.daf-mp-header-actions {
		gap: 6px;
	}

	.daf-mp-header-action {
		width: 40px;
		height: 40px;
	}

	.daf-mp-header-cta {
		min-width: 114px;
		padding-inline: 16px;
	}

	.daf-mp-header-search-form__category {
		flex: 0 0 168px;
		min-width: 168px;
	}

	.daf-mp-header-search-form__button {
		min-width: 118px;
		padding-inline: 16px;
	}

	.daf-mp-header-nav__menu {
		gap: 6px;
	}

	.daf-mp-header-nav__link {
		padding-inline: 10px;
	}

	.daf-mp-header-quick-links__list {
		gap: 4px;
	}

	.daf-mp-header-quick-links__link {
		padding-inline: 8px;
	}
}

/* Tablet + mobile header mode */
@media (max-width: 1199px) {
	.daf-mp-header__desktop {
		display: none;
	}

	.daf-mp-header__mobile,
	.daf-mp-header__mobile-bar,
	.daf-mp-header__mobile-search {
		display: block;
	}
}

/* Tablet refinements */
@media (min-width: 768px) and (max-width: 1199px) {
	.daf-mp-header__mobile-bar-inner {
		min-height: 72px;
	}

	.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-search-form--mobile,
	.daf-mp-header-mobile-search-form {
		max-width: 100%;
	}
}

/* Mobile refinements */
@media (max-width: 767px) {
	.daf-mp-header__mobile-bar-inner {
		min-height: 62px;
	}

	.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: 19px;
	}

	.daf-mp-header__mobile-search {
		padding-bottom: 10px;
	}
}

/* Small phone refinements */
@media (max-width: 479px) {
	.daf-mp-header__mobile-bar-inner {
		min-height: 58px;
	}

	.daf-mp-header-logo--mobile .daf-mp-header-logo__image {
		max-height: 26px;
	}

	.daf-mp-header-logo--mobile .daf-mp-header-logo__text {
		font-size: 17px;
	}

	.daf-mp-search-form--mobile .search-field,
	.daf-mp-header-mobile-search-form__input {
		font-size: 13px;
	}
}
