/* Final responsive safeguards. Kept separate so legacy media rules cannot override them. */
@media (max-width: 991px) {
	.pw-header-inner {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.pw-logo {
		min-width: 0;
		flex: 1 1 auto;
		overflow: hidden;
	}

	.pw-logo img,
	.pw-logo .custom-logo {
		display: block;
		max-width: 100%;
	}

	.pw-menu-toggle {
		flex: 0 0 48px !important;
		width: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
		height: 48px !important;
		min-height: 48px !important;
		padding: 0 !important;
		justify-self: end;
	}

	.pw-menu-toggle span {
		display: block !important;
		width: 22px !important;
		min-width: 22px;
		max-width: 22px;
		height: 2px;
		flex: 0 0 2px;
	}
}

@media (max-width: 575px) {
	.pw-topbar-inner {
		gap: 6px;
		padding: 8px 0;
	}

	.pw-topbar-contacts {
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		width: 100%;
		gap: 8px;
	}

	.pw-topbar a {
		min-height: 32px;
		padding: 0;
		font-size: 10px;
	}

	.pw-topbar svg {
		width: 16px;
		height: 16px;
	}

	.pw-topbar-socials {
		min-height: 32px;
	}

	.pw-header-inner {
		min-height: 72px;
	}

	.pw-logo img,
	.pw-logo .custom-logo {
		height: 44px;
		max-width: 220px;
	}

	.pw-footer-menu {
		gap: 4px;
	}

	.pw-footer-menu a,
	.pw-footer-legal a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 4px 0;
	}

	.pw-service-price-card,
	.pw-testimonials-feature-card,
	.pw-testimonials-card,
	.pw-article-expert-card {
		max-width: 100%;
		min-width: 0;
	}

	.pw-service-price-card .pw-btn {
		min-width: 0;
		white-space: normal;
		text-align: center;
	}
}
